summaryrefslogtreecommitdiff
path: root/src/env/router
AgeCommit message (Collapse)AuthorFilesLines
2023-03-27Added route restrictions based on user privilegeDamian Celico1-0/+9
This commit allows us to add 'exclusiveToRoles' field to route config files, with the list of roles that can access this resource, if needed. In this case, only Administrator can access Virtual-Media page and SOL console, and it is blocked for other users. Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com> Change-Id: Ibcee18bd92d97c34414ecaf2caf6af28070c5538
2022-02-04Add Key clear page under Operations sectionSandeepa Singh1-0/+9
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
2021-11-10Show Post Code logs tab on Intel environmentMichalX Szopinski1-0/+9
Add "POST code logs" button to the Intel navigation panel and enable routing to this page. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I707fe51c7c9625697a4b2bfa7398edf07dbf33e5
2021-10-19Fix server led page title and LED indicator labelMichalX Szopinski1-1/+1
Correcting the page title to fix the header name. Change "System attention Indicator" to "LED light control" Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I212ae368de647b3c716df28674ecba61cfc69db4
2021-08-10IA update: Add resource management sectionSandeepa Singh2-18/+18
This is the sixth commit for information architecture changes and has the following changes: - Resource management section has been added - Carbon icon used for resource management section is data--base--alt - Manage power usage page from operations has been moved to resource management - Manage power usage page has been updated to power page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If3feb994dbad19dd6cfb1507d976d09643c8e4d6
2021-08-10IA update: Update access and control sectionSandeepa Singh2-50/+50
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
2021-08-10IA update: Update configuration to settingsSandeepa Singh2-29/+29
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
2021-08-10IA update: Update control section to operationsSandeepa Singh2-55/+37
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
2021-08-10IA update: Update health sectionSandeepa Singh2-19/+19
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
2021-08-10IA update: Add logs and update overview iconDerick Montague2-6/+6
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
2021-07-21Add POST code logs pageSandeepa Singh1-0/+9
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
2021-03-16Show Security settings tab on Intel environmentMichalX Szopinski1-0/+9
According to Intel requirements we should add tab which allows user to enable and disable IPMI and SSH. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I60cb6009665861258aa70d5061f5bae042d95abc
2021-03-09Add factory reset pageDerick Montague1-0/+9
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
2021-03-03Show Client Sessions tab on Intel environmentMichalX Szopinski1-0/+9
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I69d251d9cf7b140ee16612598e3781bf666890a8
2021-03-01Move Dumps page components to main view and store directoriesYoshie Muranaka1-1/+1
This commit will move away from storing env specific component views and store modules in the env directory. This will help simplify the file structure for dotenv customizations. The env directory will only store modifications to the main store register, router definitions, and app navigation. Pages that are "hidden" by default, like dumps, would still need to be imported and registered in the specific environments. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia5ad76235e00127281f3fa564cb89ec2ca2e0f25
2021-03-01Update the default firmware pageYoshie Muranaka1-2/+2
- Minor updates made to the general layout and styles - Changes to some page copy - Moves update firmware form to bottom of page - Adds dynamic TFTP upload option - Adds dynamic card layout for BMC and host firmwre - 2 cards for combined - 4 cards for separate - Removes FirmwareSingleImage components that were used for IBM builds Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib5465ecc30dd1505824bf41c82d33b7655d5e598
2021-02-02Add power restore policy pageSukanya Pandey1-0/+9
- 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
2021-01-07Update IBM router and navigationYoshie Muranaka1-0/+18
Updates to include Security settings and Client sessions pages in IBM dotenv build Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1c73b069b0cf734e312e60c15811afcc45824ca3
2021-01-05Add dumps page to IBM envYoshie Muranaka1-0/+9
Adds a non-functional dumps page with majority of layout and user flows in place. Page visible with IBM dotenv configurations. Includes: - Initial GET for BMC dumps - Table search, sort, filter, batch and row action flows - New dump form, validations, and toast notification Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id59ec4327744f4e10cc99e4e3c0b2db5b0476f9c
2020-12-01Hide LDAP tab on Intel environmentMichalX Szopinski1-1/+230
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I18c5df56a857733adebec57f0fba68590dcb11f8
2020-11-03Update linting packages to use latestDerick Montague1-49/+49
- 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
2020-10-30Remove Virtual Media from IBM buildYoshie Muranaka1-9/+0
Removes Virtual Media from app navigation, router definition, and unregisters the store module. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0e3ab2a6cb28b9923efbeb6b2c212b0a09d263a9
2020-10-26Make copy of single file firmware uploadYoshie Muranaka1-12/+222
Make a copy of single file firmware upload component and store in env directory. Update IBM router to use copied single file firmware components. Update IBM store module to use copied single file firmware store. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I046ce6c69a02b90400058866295b84c5435f5a4b
2020-09-25Make customizations to IBM routerYoshie Muranaka1-1/+13
Removes KVM definition from default router. Before this change, the IBM environment build would remove KVM from the app navigation, but users could still access the page by typing in url directly for the KVM page. With this change, the route should no longer be accessible and will redirect to our 404 page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I75439bc9443f9cbabbedf80b1142dd97209f5456
2020-09-25Create separate file for Vue Router routesYoshie Muranaka2-10/+4
Separating routes into its own JS file to allow for easier env customizations. Update store resolve path to make sure right env stores modules are imported in every file. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5c646c81fab54085198b2e179be80c954258f51c
2020-07-31Change openpower env files to ibmYoshie Muranaka1-0/+0
- Adds VUE_APP_COMPANY_NAME value that is used for logo alt text - Update VUE_APP_ENV_NAME to ibm since this will need to match the env filenames Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie5b9fc3bedacb493939900a1de77a3a8a1f181c5
2020-07-22Intel environmentMateusz Gapski1-0/+6
add environment for Intel add logo as a placeholder Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Iad1ef66ef73e7f9e0857122cc29729543cbf6682
2020-04-25Add webpack config for env specific buildsYoshie Muranaka1-0/+6
Add documentation and example files to make environment specific build modifications. - Store any env specific router and store modules in separate env directory Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I06ff3cb0928707354266dd25b399710847e7fa18