You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/07/08 19:21:29 UTC

[airavata-django-portal] branch develop updated (3de3e969 -> fb5dc00c)

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


    from 3de3e969 In docs, clarify that Yarn 1 is required to build JS
     add 8ce0bb66 AIRAVATA-3562 Mocked up UI for admins to edit extended user profile fields
     add 4e87cde7 AIRAVATA-3563 DB and REST API for extended user profile fields
     add afd7a099 AIRAVATA-3569 REST API and DB model for storing extended user profile values
     add e02b4256 AIRAVATA-3565 Switch user profile editor to vuex store
     add 493ed1a5 AIRAVATA-3565 WIP: Ext User Profile UI with load/saving text and single_choice values
     add 308744c4 AIRAVATA-3565 Ext User Profile UI with load/saving multi_choice values
     add 9f9760ea AIRAVATA-3565 Ext User Profile UI with load/saving user_agreement values
     add 0999c030 AIRAVATA-3565 Integrated link display for extended user profile fields
     add bdd614dc AIRAVATA-3565 Fix saving updates to extended user profile fields
     add 793b8f39 AIRAVATA-3565 Other field for single and multi choice fields
     add 6d761044 AIRAVATA-3565 Add validation to extended user profile editor
     add 9a68c808 AIRAVATA-3565 Adding required column to ExtendedUserProfileField
     add 49ebb76c AIRAVATA-3565 Support for optional extended user profile fields
     add 5c2aed33 AIRAVATA-3565 Combining both forms into one
     add 71774e3a AIRAVATA-3565 Better handling of extended user profile validation
     add fef0a18f AIRAVATA-3565 Fixes to how other options are validated
     add 1759716e AIRAVATA-3565 Fix updating field choice
     add 2057fb03 AIRAVATA-3564 Hook up admin UI to store/REST API
     add 5b7b9b71 AIRAVATA-3564 Save common extended user profile fields
     add ff79032b AIRAVATA-3564 Add new fields and save
     add 141421a1 AIRAVATA-3564 Add, remove and reorder choices
     add aaf2f2c6 AIRAVATA-3564 Control whether an "Other" option is available
     add 7d5bd315 AIRAVATA-3564 Allow adding and removing Links
     add 70a657a1 AIRAVATA-3564 UI for reordering and deleting fields
     add 0f94300e AIRAVATA-3564 Adding validation to extended user profile fields
     add 64387832 AIRAVATA-3564 Some styling and layout improvements
     add 75ccc89c AIRAVATA-3564 Add button to get to extended user profile editor
     add e0aecfa9 AIRAVATA-3566 Display text and user agreement ext. user profile values in Manage Users
     add f3675511 AIRAVATA-3566 Single and multichoice display of ext. user profile values in Manage Users
     add 09582cf3 AIRAVATA-3566 Refactor code, pushing logic into model
     add bd823913 AIRAVATA-3567 Add UserProfile.is_ext_user_profile_valid
     add feb1d8c3 AIRAVATA-3567 Support saving all ext user profile values in one REST call
     add 87fe6cd6 AIRAVATA-3567 email template for user profile complete admin email
     add 56a8fbc3 AIRAVATA-3568 Redirect to user profile editor and require completing ext user profile fields
     add 8a516305 AIRAVATA-3568 Unit tests for user profile completeness check
     new fb5dc00c Merge branch 'AIRAVATA-3562' into develop

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 django_airavata/apps/admin/apps.py                 |   2 +-
 .../users/ExtendedUserProfileContainer.vue         | 120 +++++++
 .../components/users/ExtendedUserProfilePanel.vue  |  82 +++++
 .../src/components/users/UserDetailsContainer.vue  |   3 +
 .../components/users/UserManagementContainer.vue   |   5 +
 .../ExtendedUserProfileFieldEditor.vue             | 366 ++++++++++++++++++++
 .../admin/static/django_airavata_admin/src/main.js |   4 +
 .../static/django_airavata_admin/src/router.js     |   6 +
 .../django_airavata_admin/src}/store/index.js      |   4 +-
 .../src/store/modules/extendedUserProfile.js       | 190 ++++++++++
 django_airavata/apps/admin/urls.py                 |   1 +
 django_airavata/apps/admin/views.py                |   6 +
 .../api/static/django_airavata_api/js/index.js     |  12 +
 .../js/models/ExtendedUserProfileField.js          |  76 ++++
 .../js/models/ExtendedUserProfileFieldChoice.js    |  24 ++
 .../js/models/ExtendedUserProfileFieldLink.js      |  31 ++
 .../js/models/ExtendedUserProfileValue.js          |  46 +++
 .../static/django_airavata_api/js/models/User.js   |   3 +-
 .../django_airavata_api/js/service_config.js       |  23 ++
 .../js/services/ServiceFactory.js                  |   3 +
 django_airavata/apps/api/view_utils.py             |   5 +
 django_airavata/apps/auth/middleware.py            |  10 +-
 ...ld_extendeduserprofilefieldlink_extendeduser.py | 107 ++++++
 .../auth/migrations/0015_auto_20220329_1708.py     |  72 ++++
 .../0016_extendeduserprofilefield_required.py      |  18 +
 .../auth/migrations/0017_auto_20220616_1831.py     |  55 +++
 django_airavata/apps/auth/models.py                | 242 +++++++++++++
 django_airavata/apps/auth/package.json             |   3 +-
 django_airavata/apps/auth/serializers.py           | 271 ++++++++++++++-
 .../js/components/ExtendedUserProfileEditor.vue    |  57 +++
 .../ExtendedUserProfileMultiChoiceValueEditor.vue  | 157 +++++++++
 .../ExtendedUserProfileSingleChoiceValueEditor.vue | 159 +++++++++
 .../ExtendedUserProfileTextValueEditor.vue         |  63 ++++
 ...ExtendedUserProfileUserAgreementValueEditor.vue |  81 +++++
 .../components/ExtendedUserProfileValueEditor.vue  |  47 +++
 .../js/components/UserProfileEditor.vue            | 104 +++---
 .../js/containers/UserProfileContainer.vue         | 138 ++++----
 .../django_airavata_auth/js/entry-user-profile.js  |  11 +-
 .../static/django_airavata_auth}/js/store/index.js |   6 +-
 .../js/store/modules/extendedUserProfile.js        | 188 ++++++++++
 .../js/store/modules/userProfile.js                |  64 ++++
 django_airavata/apps/auth/tests/test_middleware.py | 123 +++++++
 django_airavata/apps/auth/tests/test_models.py     | 383 +++++++++++++++++++++
 django_airavata/apps/auth/urls.py                  |   2 +
 django_airavata/apps/auth/utils.py                 |  36 +-
 django_airavata/apps/auth/views.py                 |  70 +++-
 django_airavata/apps/auth/yarn.lock                |   5 +
 .../static/common/js/errors/vuelidateHelpers.js    |  14 +
 django_airavata/static/common/js/index.js          |   2 +
 .../static/common/js/mixins/ValidationParent.js    |  30 ++
 django_airavata/static/common/scss/main.scss       |   5 +
 51 files changed, 3408 insertions(+), 127 deletions(-)
 create mode 100644 django_airavata/apps/admin/static/django_airavata_admin/src/components/users/ExtendedUserProfileContainer.vue
 create mode 100644 django_airavata/apps/admin/static/django_airavata_admin/src/components/users/ExtendedUserProfilePanel.vue
 create mode 100644 django_airavata/apps/admin/static/django_airavata_admin/src/components/users/field-editors/ExtendedUserProfileFieldEditor.vue
 copy django_airavata/apps/{workspace/static/django_airavata_workspace/js => admin/static/django_airavata_admin/src}/store/index.js (71%)
 create mode 100644 django_airavata/apps/admin/static/django_airavata_admin/src/store/modules/extendedUserProfile.js
 create mode 100644 django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileField.js
 create mode 100644 django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileFieldChoice.js
 create mode 100644 django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileFieldLink.js
 create mode 100644 django_airavata/apps/api/static/django_airavata_api/js/models/ExtendedUserProfileValue.js
 create mode 100644 django_airavata/apps/auth/migrations/0014_extendeduserprofileagreementfield_extendeduserprofilefield_extendeduserprofilefieldlink_extendeduser.py
 create mode 100644 django_airavata/apps/auth/migrations/0015_auto_20220329_1708.py
 create mode 100644 django_airavata/apps/auth/migrations/0016_extendeduserprofilefield_required.py
 create mode 100644 django_airavata/apps/auth/migrations/0017_auto_20220616_1831.py
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileEditor.vue
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileMultiChoiceValueEditor.vue
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileSingleChoiceValueEditor.vue
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileTextValueEditor.vue
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileUserAgreementValueEditor.vue
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/components/ExtendedUserProfileValueEditor.vue
 copy django_airavata/apps/{workspace/static/django_airavata_workspace => auth/static/django_airavata_auth}/js/store/index.js (58%)
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/store/modules/extendedUserProfile.js
 create mode 100644 django_airavata/apps/auth/static/django_airavata_auth/js/store/modules/userProfile.js
 create mode 100644 django_airavata/apps/auth/tests/test_middleware.py
 create mode 100644 django_airavata/apps/auth/tests/test_models.py
 create mode 100644 django_airavata/static/common/js/mixins/ValidationParent.js


[airavata-django-portal] 01/01: Merge branch 'AIRAVATA-3562' into develop

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit fb5dc00cf113399c7a820020618ce76e9a0e26a5
Merge: 3de3e969 8a516305
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jul 8 15:20:51 2022 -0400

    Merge branch 'AIRAVATA-3562' into develop

 django_airavata/apps/admin/apps.py                 |   2 +-
 .../users/ExtendedUserProfileContainer.vue         | 120 +++++++
 .../components/users/ExtendedUserProfilePanel.vue  |  82 +++++
 .../src/components/users/UserDetailsContainer.vue  |   3 +
 .../components/users/UserManagementContainer.vue   |   5 +
 .../ExtendedUserProfileFieldEditor.vue             | 366 ++++++++++++++++++++
 .../admin/static/django_airavata_admin/src/main.js |   4 +
 .../static/django_airavata_admin/src/router.js     |   6 +
 .../django_airavata_admin/src/store/index.js       |  16 +
 .../src/store/modules/extendedUserProfile.js       | 190 ++++++++++
 django_airavata/apps/admin/urls.py                 |   1 +
 django_airavata/apps/admin/views.py                |   6 +
 .../api/static/django_airavata_api/js/index.js     |  12 +
 .../js/models/ExtendedUserProfileField.js          |  76 ++++
 .../js/models/ExtendedUserProfileFieldChoice.js    |  24 ++
 .../js/models/ExtendedUserProfileFieldLink.js      |  31 ++
 .../js/models/ExtendedUserProfileValue.js          |  46 +++
 .../static/django_airavata_api/js/models/User.js   |   3 +-
 .../django_airavata_api/js/service_config.js       |  23 ++
 .../js/services/ServiceFactory.js                  |   3 +
 django_airavata/apps/api/view_utils.py             |   5 +
 django_airavata/apps/auth/middleware.py            |  10 +-
 ...ld_extendeduserprofilefieldlink_extendeduser.py | 107 ++++++
 .../auth/migrations/0015_auto_20220329_1708.py     |  72 ++++
 .../0016_extendeduserprofilefield_required.py      |  18 +
 .../auth/migrations/0017_auto_20220616_1831.py     |  55 +++
 django_airavata/apps/auth/models.py                | 242 +++++++++++++
 django_airavata/apps/auth/package.json             |   3 +-
 django_airavata/apps/auth/serializers.py           | 271 ++++++++++++++-
 .../js/components/ExtendedUserProfileEditor.vue    |  57 +++
 .../ExtendedUserProfileMultiChoiceValueEditor.vue  | 157 +++++++++
 .../ExtendedUserProfileSingleChoiceValueEditor.vue | 159 +++++++++
 .../ExtendedUserProfileTextValueEditor.vue         |  63 ++++
 ...ExtendedUserProfileUserAgreementValueEditor.vue |  81 +++++
 .../components/ExtendedUserProfileValueEditor.vue  |  47 +++
 .../js/components/UserProfileEditor.vue            | 104 +++---
 .../js/containers/UserProfileContainer.vue         | 138 ++++----
 .../django_airavata_auth/js/entry-user-profile.js  |  11 +-
 .../static/django_airavata_auth/js/store/index.js  |  18 +
 .../js/store/modules/extendedUserProfile.js        | 188 ++++++++++
 .../js/store/modules/userProfile.js                |  64 ++++
 django_airavata/apps/auth/tests/test_middleware.py | 123 +++++++
 django_airavata/apps/auth/tests/test_models.py     | 383 +++++++++++++++++++++
 django_airavata/apps/auth/urls.py                  |   2 +
 django_airavata/apps/auth/utils.py                 |  36 +-
 django_airavata/apps/auth/views.py                 |  70 +++-
 django_airavata/apps/auth/yarn.lock                |   5 +
 .../static/common/js/errors/vuelidateHelpers.js    |  14 +
 django_airavata/static/common/js/index.js          |   2 +
 .../static/common/js/mixins/ValidationParent.js    |  30 ++
 django_airavata/static/common/scss/main.scss       |   5 +
 51 files changed, 3436 insertions(+), 123 deletions(-)