69be824a | 23-Sep-2024 |
Surya Venkatesan <suryav@ami.com> |
Invalid feedback if condition change
For required, invalid format, minlength, maxlength, date, pattern validation if condition change in the few components
Change-Id: Id8eebc140301e48dde833a604ca92
Invalid feedback if condition change
For required, invalid format, minlength, maxlength, date, pattern validation if condition change in the few components
Change-Id: Id8eebc140301e48dde833a604ca92426ebf77c9c Signed-off-by: Surya Venkatesan <suryav@ami.com>
show more ...
|
de23ea23 | 11-Jul-2024 |
Surya V <suryav@ami.com> |
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter glo
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter global function for date and time format implemented in the main.js file and those files which as called the filter functions.
Change-Id: If1a2ee22d47750faef1c35ef2c263299067d9a20 Signed-off-by: Surya Venkatesan <suryav@ami.com>
show more ...
|
7d6b44cb | 23-Mar-2024 |
Ed Tanous <ed@tanous.net> |
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, logi
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, login works, webui loads.
This was primarily done using the linked documents below. It makes the following design decisions: 1. Vue is put in compat 2 mode, which allows most of the components to work as-is. 2. Bootstrap v4 is used along with bootstrap-vue to keep our components working. 3. Minor changes are made to load the latest versions of vue-router, vuex, and vue-i18n.
I suspect this patchset is good enough to start with, and we can clean up the broken things one patchset at a time. The things that need to happen are:
1. Get remaining features working again. This primiarily is vue-i18n for mixins, and non vue components. This likely needs to be done by not pulling in i18n into the non vue components, then using the .Vue files to do the internationalization in the component context, NOT in the mixin context. Alternatively, we could drop MixIns alltogether. 2. Get custom styles working again. Previously, we used some path hackery in vue.config.js to optionally pre-load styles. This stops working now that we're required to @import our modules. Likely we need some rearangement of the paths such that custom styles are a complete replacement (possibly importing the original) rather than additive with overrides. That's a guess, but I don't really see anyone else doing customization the way we've defined it here. 3. Bootstrap 5 no longer requires ANY custom vue modules, as it has dropped the jquery dependency. We won't be able to pull in bootstrap 5 all at once, so pull in bootstrap 5 under an alias, like "bootstrap5" that we can optionally import 5 or 4. 4. One at a time, start porting components over to Vue3 syntax and bootstrap 5. This will be the bulk of the manual work and review.
The only thing I think left is getting unit tests passing, which I commented out the pre-commit hook to make this PR.
Tested: Code builds. Needs better testing.
[1] https://router.vuejs.org/guide/migration/ [2] https://vue-i18n.intlify.dev/guide/migration/vue3 [3] https://vuelidate-next.netlify.app/migration_guide.html#package-name-and-imports
Change-Id: I5bb3187b9efbf2e4ff63e57994bc528756e2a981 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
8132399c | 27-Feb-2024 |
Ed Tanous <ed@tanous.net> |
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.ne
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
bcb0ab4f | 22-Aug-2022 |
Damian Celico <damianx.celico@intel.com> |
Old password input in change password screen
When the user changed their password in profile settings, to prevent XSS attacks, I added the current password input field to authenticate the user.
Onc
Old password input in change password screen
When the user changed their password in profile settings, to prevent XSS attacks, I added the current password input field to authenticate the user.
Once the authentication had success with the current password, then allowing the update was possible. After the password is changed successfully, all the sessions of the user who changed the password will be disconnected, including the current session. and the current session will navigate to the login page.
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com> Change-Id: Idb8bc9d6ada420329c38407da76a08dc83fddd61
show more ...
|
77e64901 | 29-Dec-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
Fix invalid password validation
Bug: Success toast message appeared on invalid value of new password on profile settings page.
Solution: Fixed the toast message for password change and timezone cha
Fix invalid password validation
Bug: Success toast message appeared on invalid value of new password on profile settings page.
Solution: Fixed the toast message for password change and timezone change respectively.
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I71b53dd02e4fdda040248c3ed9408be8d220454d
show more ...
|
b440616c | 26-Jul-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
IA update: Update access and control section
This is the fifth commit of the information architecture changes and has the following changes:
- The icon for access and control has been updated - Acc
IA update: Update access and control section
This is the fifth commit of the information architecture changes and has the following changes:
- The icon for access and control has been updated - Access and control section has been updated to security and access section - Security settings page has been updated to policies page and moved to security and access section - Client sessions page has been updated to sessions page - Local user management page has been updated to user management page - SSL certificates page has been updated to certificates page
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ie93cee9002742ecf7d33615636f4f159f4395fc4
show more ...
|
0736d2af | 09-Feb-2021 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Remove i18n module import from Profile settings
Update translation to use the global $t component method provided by the i18n plugin.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Chang
Remove i18n module import from Profile settings
Update translation to use the global $t component method provided by the i18n plugin.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0f1de15b19820e3235187fb4c4c51befa67005e4
show more ...
|
570a74f6 | 21-Dec-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Fix issue related to profile settings page
- On change of state of the timezone display preferences. - Toast notification will be displayed to the user.
Signed-off-by: Sukanya Pandey <sukapan1@in.i
Fix issue related to profile settings page
- On change of state of the timezone display preferences. - Toast notification will be displayed to the user.
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie846638077f75cb21123ec347d3e9f38724a51e8
show more ...
|
602e98aa | 21-Oct-2020 |
Derick Montague <derick.montague@ibm.com> |
Update linting packages to use latest
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order pattern
Update linting packages to use latest
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order patterns established as part of the vue:recommended guidelines.
There are rules that were set from errors to warnings and new stories are being opened to address those issues.
Testing: - Successfully ran npm run serve - Successfully ran npm run lint - Verified functionality works as expected, e.g. success and failure use cases - Resolved any JavaScript errors thrown to the console
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
show more ...
|
5ea16782 | 27-Jul-2020 |
Dixsie Wolmers <dixsie@ibm.com> |
Add form input field validation icons
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form
Add form input field validation icons
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form validation icon is hidden - Adds carbon icons and enables validation icons in IBM environment
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7edff1e9527ad2c2cfec236daacb83ad4864d785
show more ...
|
fcda2001 | 29-Jul-2020 |
Dixsie Wolmers <dixsie@ibm.com> |
Update Date and Time Settings to include UTC/offset label
Label updates allow the user to easily understand the expectation for entering time by using specific label text for "24 hour time" and remo
Update Date and Time Settings to include UTC/offset label
Label updates allow the user to easily understand the expectation for entering time by using specific label text for "24 hour time" and removing parenthesis from the helper text as parenthesis are not needed to in the input field.
UTC/offset is displayed based on user preference.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I41f98d9d16f0a4a81af39ce9b25768a1c0b89f08
show more ...
|
4334d260 | 29-Jul-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Add test hooks to profile settings page
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I99d6fbb97de18ca74f520f3ab2ea2fc7374fa5e6 |
fc16f3c2 | 23-Jun-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Add timezone to profile settings page
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is
Add timezone to profile settings page
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload.
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
show more ...
|
9422e1a6 | 13-Jul-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Clear password fields when changed successfully
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Iaf3e420bd48597c34c1588855ed69dcb1dbf7523 |
b93608db | 10-Jul-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Add min and max password range in profile settings
-Api used to get the min and max value is redfish/v1/AccountService.
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0f211496bef
Add min and max password range in profile settings
-Api used to get the min and max value is redfish/v1/AccountService.
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0f211496bef85aefe843052a6b6ba72156d2e4c7
show more ...
|
b1f559f0 | 28-Apr-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Profile settings page
-To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user
Profile settings page
-To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone.
The API called to change the user's password is '/redfish/v1/AccountService/Accounts/<userName>'
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44
show more ...
|