#
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 ...
|
#
515f4656 |
| 05-Apr-2024 |
Ed Tanous <ed@tanous.net> |
Remove /subscribe websocket handler
Having this code is causing crashes for implementations that don't have dbus-rest enabled in bmcweb, which is deprecated. This commit is intended to start a disc
Remove /subscribe websocket handler
Having this code is causing crashes for implementations that don't have dbus-rest enabled in bmcweb, which is deprecated. This commit is intended to start a discussion around this issue, and propose simply removing it.
33a8c5369e0253a93dba2e70647bda1c7697b73b (checked in July 2020) points this crash out, and adds a way to disable the feature. While we could just make VUE_APP_SUBSCRIBE_SOCKET_DISABLED the default, this seems ill advised, given the dbus-rest options deprecated status.
Change-Id: I6244f5e2ce895199d5d47cfca9eef36584e8f524 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
#
7c1cfe7e |
| 16-May-2023 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Add SNMP alerts page and test hooks
This page will be included in Configuration section of the primary navigation. The user will be able to delete and add alert destination.
Change-Id: I396d19a54ea
Add SNMP alerts page and test hooks
This page will be included in Configuration section of the primary navigation. The user will be able to delete and add alert destination.
Change-Id: I396d19a54ea11724f2c5aec67e20ba9abff947d3 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
#
da53c067 |
| 06-Feb-2023 |
Konstantin <sulwirld@gmail.com> |
Fix bug in Overview endless loading
Bug description: Before this commit there was an endless loading on blue bar when user entering to the Overview. Problem was missing `if` statement
Fix bug in Overview endless loading
Bug description: Before this commit there was an endless loading on blue bar when user entering to the Overview. Problem was missing `if` statement after what that promise wasn't be able to finish.
Test: Step1. Launch webui on browser and see Overview page. Step2. Wait a while. Blue loading bar finished pulsing.
Change-Id: I2ea3b6f125ca24fcefeea8020c4a903ea018f4f7 Signed-off-by: Konstantin Maskov <sulwirld@gmail.com>
show more ...
|
#
05887b50 |
| 10-Jan-2022 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
Add Key clear page under Operations section
This page will allow privileged user to clear encrypted keys. - Only admin and CE login user will be able to see the page - The UI will be different for b
Add Key clear page under Operations section
This page will allow privileged user to clear encrypted keys. - Only admin and CE login user will be able to see the page - The UI will be different for both, admin and CE login user(service) - This page is IBM only
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ic6fe3454de815629a6b2250daa99ab21f2b316c3
show more ...
|
#
a02c6f94 |
| 09-Sep-2021 |
Sneha Patel <Snehaben.Patel@ibm.com> |
Add Assemblies schema to Hardware Status - Inventory and LEDs
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I1a4edae664d008a4f618d03d62e2319d8157ed6d
|
#
3145d4d9 |
| 18-Aug-2021 |
Dixsie Wolmers <dixsie@ibm.com> |
Move PowerControlStore to ResourceManagement folder
Store module structure should match the view folder structure The Power page is under the Resource management section, so the store should also be
Move PowerControlStore to ResourceManagement folder
Store module structure should match the view folder structure The Power page is under the Resource management section, so the store should also be in a similarly named folder. This makes it easier to find when looking for the correct store.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Iada30056eb738b91f35dc4c6b9b42b6b2be8d55c
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 ...
|
#
f67f769f |
| 19-Jul-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
IA update: Update configuration to settings
This is the fourth update to information architecture changes and has the following changes:
- The configuration section is updated to settings - The dat
IA update: Update configuration to settings
This is the fourth update to information architecture changes and has the following changes:
- The configuration section is updated to settings - The date and time settings page is updated to date and time - The network settings page is updated to network - The power restore policy page in operations section is moved to settings section
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6f5ab25f5227530be430bd39a4d9629b3bf09d8b
show more ...
|
#
68cbbe90 |
| 14-Jul-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
IA update: Update control section to operations
This is the third update to the information architecture changes and has the following changes:
- The control section has been updated to operations
IA update: Update control section to operations
This is the third update to the information architecture changes and has the following changes:
- The control section has been updated to operations - The server led page has been removed - The firmware page is moved to operations section
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I2e23da447890d7bee51892e1f782d5f2db6dded4
show more ...
|
#
7affc529 |
| 06-Jul-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
IA update: Update health section
This is the second update to information architecture changes and has the following changes:
- Health section is updated to hardware status section - Hardware statu
IA update: Update health section
This is the second update to information architecture changes and has the following changes:
- Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999
show more ...
|
#
828dda9b |
| 28-Jun-2021 |
Derick Montague <derick.montague@ibm.com> |
IA update: Add logs and update overview icon
This is the first patchset of the information architecture changes. These changes are the result of several months of design research with users to impro
IA update: Add logs and update overview icon
This is the first patchset of the information architecture changes. These changes are the result of several months of design research with users to improve the existing information architecture (IA). More information can we found in the Github story.
This patchset will add a Logs section and move event logs and dumps from the Health section to the new Logs section. It will also update the icon used for the Overview page.
Github story: https://github.com/openbmc/webui-vue/issues/56
Testing: 1. IBM build: - Logs contained Event logs and dumps - Both pages rendered when clicking link 2. Intel build - Logs contained Event logs only - Logs page rendered when clicking link 3. Tested default build - Logs contained Event logs only - Logs page rendered when clicking link
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4621837202cf5ad3469d6ea460d9a5bdc79c8816
show more ...
|
#
06d53863 |
| 24-May-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
Add POST code logs page
This page will be included in the Health section of the primary navigation. The user will be able to export and download POST code logs.
Signed-off-by: Sandeepa Singh <sande
Add POST code logs page
This page will be included in the Health section of the primary navigation. The user will be able to export and download POST code logs.
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I26cf1e01bfdfcf298f24f2c7dd9633ab7d31f1b5
show more ...
|
#
71114feb |
| 06-May-2021 |
Derick Montague <derick.montague@ibm.com> |
Replace use of the term host with server
This patchset focuses on the global store use for server power operations and impacts several pages in the interface.
For consistency, both in the UI and th
Replace use of the term host with server
This patchset focuses on the global store use for server power operations and impacts several pages in the interface.
For consistency, both in the UI and the code base, we are replacing the term host with server. This change impacts both the user and the developer experience. Maintaining consistency in naming allows both developers and users to form a mental model of the overall system and will help remove confusion when interacting with the UI and editing the interface.
Testing: 1. Tested shutdown, power on, and reboot and verified the icons and page sections in the site header and the server power operations page update as expected during power operations. 2. Verified the one-time boot operations alert is displayed to the user when changing the boot settings on the server power operations page 3 Tested factory reset and validated the correct information message is displayed to the user with the server power off and on when performing the factory reset functions. 4. Verified the SOL Console status icon updates correctly during power operations. 5. Verified the alert message is displayed on the firmware update page when the server is powered on.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I88499a746364ab80f16a8b350d550407d094e95d
show more ...
|
#
da9f0a6e |
| 14-Feb-2021 |
Derick Montague <derick.montague@ibm.com> |
Add factory reset page
This new page will be included in the Control section of the primary navigation. The user will be able to choose between two different reset actions.
The user can make the
Add factory reset page
This new page will be included in the Control section of the primary navigation. The user will be able to choose between two different reset actions.
The user can make the following calls: - /redfish/v1/Systems/system/Bios/Actions/Bios.ResetBios - /redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I32a10dbce27a03fb84e24d7eae7c44eef9cffea5
show more ...
|
#
be6858c0 |
| 16-Dec-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Add power restore policy page
- This page will show how the system boots once power is restored after a power disturbance.
- API used to fetch the JSON: /redfish/v1/JsonSchemas/ComputerSystem/C
Add power restore policy page
- This page will show how the system boots once power is restored after a power disturbance.
- API used to fetch the JSON: /redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json - API used to fetch the current policy and to save updated policy: /redfish/v1/Systems/system/
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I203bd3c5d26071b882cce6b9950cdb3fb1deb212
show more ...
|
#
34efde29 |
| 02-Dec-2020 |
Sukanya Pandey <sukapan1@in.ibm.com> |
Add client sessions page
- This page will show the list of sessions that are currently connected to the BMC.
APIs used: - To get all the sessions API used is `/redfish/v1/SessionService/Sessions`
Add client sessions page
- This page will show the list of sessions that are currently connected to the BMC.
APIs used: - To get all the sessions API used is `/redfish/v1/SessionService/Sessions` - To delete the sessions API used is `/redfish/v1/SessionService/Sessions/<session id>`
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ia81f62cbbea749809b9b7f7e62356cfe2db7fc18
show more ...
|
#
8f030bac |
| 07-Dec-2020 |
Dixsie Wolmers <dixsie@ibm.com> |
Add security settings page
Adds ability to enable/disable: - SSH protocol - IPMI protocol
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I2430a46343dd8756ef75fcc3cb068df8d51dd415
|
#
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 ...
|
#
75100469 |
| 30-Jul-2020 |
Mateusz Gapski <mateuszx.gapski@intel.com> |
Add VirtualMedia page
More info: https://github.com/openbmc/webui-vue/issues/7
Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I68f2074e77301c68c425f1e661988c751224b713
|
#
dc3fa2e0 |
| 04-Aug-2020 |
SurenNeware <sneware9@in.ibm.com> |
Add processors to hardware status page
-Add processors status from given API. -Created seperate table with all available details.
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae434
Add processors to hardware status page
-Add processors status from given API. -Created seperate table with all available details.
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae4346cd0555a9a7d8ec35c0f56f8bce6c4ab653
show more ...
|
#
739e4596 |
| 05-Jun-2020 |
Dixsie Wolmers <dixsie@ibm.com> |
Add date and time settings
Adds ablity to change date and time manually, or configure using NTP servers.
- If NTP is selected, user is required to enter at least one NTP address - Date and time a
Add date and time settings
Adds ablity to change date and time manually, or configure using NTP servers.
- If NTP is selected, user is required to enter at least one NTP address - Date and time are ISO formatted
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I0d67c80487fdd815eacc3539ccd702b23618260e
show more ...
|
#
54c6bfc2 |
| 12-Jun-2020 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add BMC manager table to hardware status page
Add properties at /redfish/v1/Managers/bmc endpoint in a table with expandable row to view details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmai
Add BMC manager table to hardware status page
Add properties at /redfish/v1/Managers/bmc endpoint in a table with expandable row to view details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieb32a9b2a535ddd7d24edcb68761c51eace2e5a8
show more ...
|
#
09e8b5d4 |
| 08-Jun-2020 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add Chassis table to hardware status page
Add each chassis at /redfish/v1/Chassis endpoint to a table with an expansion row to view property details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@
Add Chassis table to hardware status page
Add each chassis at /redfish/v1/Chassis endpoint to a table with an expansion row to view property details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8d4c64fecac3857e0d4ece9fad81d9035e236c92
show more ...
|
#
b89a53c8 |
| 15-Jun-2020 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add Fans table to hardware status page
Add Fan items at /redfish/v1/Chassis/chassis/Thermal endpoint to table with expansion row to view details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmai
Add Fans table to hardware status page
Add Fan items at /redfish/v1/Chassis/chassis/Thermal endpoint to table with expansion row to view details.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1f69e30748f8dec62647468c4fd2e5b3947716d9
show more ...
|