summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07Virtual Media, change Save image label to Load imageMichalX Szopinski1-1/+1
"Save image in a web browser" should be "Load image in a web browser", this page is unable to "save" any file or data. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I96d38708ecd9f9170334808738c58b1219b8ba76
2021-05-25Add dividers between table batch action buttonsSneha Patel1-0/+20
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I54ddce13b1fc02138f42141c636453f499d35b96
2021-05-18Replace use of the term host with serverDerick Montague14-95/+95
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
2021-05-18Resolve bug in date and time settings pageSukanya Pandey1-31/+25
-Issue was while selecting manual setting -While clicking the radio button for manual setting, the button was not getting selected. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I2f855dc1ea6a92e5325c7657be18613143a60eaf
2021-05-13Update label for country to country / regionDerick Montague1-1/+1
The label on the generate certificates form for country is not correct as it contains both contries and regions. Hong Kong, Macao, and Taiwan are regions within China. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I1d78a49d5b4fa6f712ca5c5ff6f66b9ce665f0e2
2021-05-13Add check for allowableActions in firmware storeDerick Montague1-1/+1
Using optional chaining to test that TFTP is included in the allowaableActions property to prevent an error being thrown if that property is not present. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If0009810aaf3b9abd23fcdc41606fbdbcf17a347
2021-05-12Remove trailing forward slash from api endpointDerick Montague1-1/+1
For consistency, I have removed the trailing / on the get boot settings request. This keeps the file value listed in the browser developer tool's network interface consistent in naming and makes debugging a better experience. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I8f2e5b58e12bba1c17c8a483f638e1d727883c6a
2021-05-11Hide and show boot settings override fieldSukanya Pandey2-7/+13
-Hide and show boot settings override field as this field will be available in few systems. -Visibility of this field is dependent on API value which is "BootSourceOverrideTarget@Redfish.AllowableValues" from API "/redfish/v1/Systems/system/" Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ibfd5d6b1f08e23ddc8d7deb0f6943ab6dd5b3756
2021-05-11Resolve bug while selecting the checkboxesSukanya Pandey1-3/+3
-While selecting the checkbox in the table, user have to click twice to select the data. -The issue occured after upgrading vue-bootstrap. -vue-bootstrap community improved the code for checkbox toggling which causes the issue, openBmc code is been updated to support the new changes. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0e3c3e2248c22bcf805eb6f0b73378bcf4e8ea61
2021-05-06Fix toast message for VM Legacy successful mountAlicja Rybak2-1/+2
Add new toast message string serverConnectionEstablished for succesfully mounted image in Legacy mode. Previously serverClosedSuccessfully toast was showed. Tested: Verified that Server connection established toast message shows in webui after mounting image in legacy mode. Signed-off-by: Alicja Rybak <alicja.rybak@intel.com> Change-Id: I79b8bc3243ecc1a29a28f2441d499454747676c2
2021-05-06Replace the use of the term host with serverDerick Montague1-13/+13
This patchset will replace the term host with the term server on the factory reset page. The terms host and server have been used interchangeably throughout the application. The purpose is to standardize the terminology used in the web interface. It was also discussed on Discord with agreement that server and host are interchangeable and replacing host with server was an acceptable solution. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I14a031d190914f43a9f94c555c57950884abb491
2021-04-09RW checkbox in "Load image from external server" works opposite wayMichalX Szopinski1-1/+1
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I1670aa0775a2276963f72ea8a7e8bb0b15c27ee0
2021-04-06Fix network setting validations bugDixsie1-21/+16
Removed regex vuelidate validation helpers for IP address and MAC address and used builtin vuelidate validators for each. Using builtin validators reduces human error when using custom validators. The regex helpers were incorrect and causing validation errors. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4c8a21bbb9fec696c91a5cf3d2a7bf2e389cd566
2021-03-23Add event log detailsSukanya Pandey3-1/+63
- Add ability to expand and collapse table rows to show event log entry details - Add the following properties to display in the UI, Name, Modified date Change-Id: I3c90ce301878947e402eb87ca135dba0c47e84d5 Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com>
2021-03-18Increase SOL console columnsSukanya Pandey1-33/+2
- Terminal window will occupy the full space of its container. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib739b0dc492c7bbd946e49b21815fc8038179163
2021-03-16Show Security settings tab on Intel environmentMichalX Szopinski2-0/+14
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-09Update factory reset modal contentDerick Montague1-1/+1
Replace the word erased with removed based on feedback from GUI Design Work Group and need to keep the user from expecting any data removed during a reset meets the criteria of a secure deletion of data. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id2fa3b4c175541dd8c6364871eb1c653b3ed324d
2021-03-09Add factory reset pageDerick Montague10-7/+341
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 Szopinski2-0/+14
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I69d251d9cf7b140ee16612598e3781bf666890a8
2021-03-01Move Dumps page components to main view and store directoriesYoshie Muranaka7-2/+2
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 Muranaka18-1092/+297
- 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-25Update single file firmware card layoutYoshie Muranaka10-462/+712
Updates will enable a more dynamic firmware page layout by inspecting all firmware images for host images. GETs all firmware inventory at Redfish endpoint '/redfish/v1/UpdateService/FirmwareInventory' then checks if any image includes RelatedItem '/redfish/v1/Systems/system/Bios' to determine whether the UI should show combined or separate firmware cards for BMC and Host. This is part of an effort to make the firmware page more dynamic. These changes are only visisble with ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8542a27c6ff421bcb24c8b2570dbe150d5c1ce6c
2021-02-25Update toast layout to align header elementsDerick Montague1-6/+15
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I2bedab786dc10ee3eb7366a20c6c7e4fb2157e3e
2021-02-25Added test hook for SSL certificates page.Sandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1647adcf2499cafe749b91e444c1fc97401cd7a
2021-02-23Reduce amount of calls for the KVM window 'resize' functionKonstantin Aladyshev1-2/+8
-Use 'beforeDestroy' hook to stop listening on the route change, -Use lodash to throttle the calls. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I08781417e3e789dcf3532fbe697efb1403f81fda
2021-02-23Refit SoL terminal on window resizeKonstantin Aladyshev1-0/+14
'xterm' addon used in the "Serial over LAN (SOL) console" page doesn't resize terminal screen on window size change. If the initial window is small after its increase in size there would be gaps in the terminal screen workspace. To solve this use fit addon when window size is changed. For optimization add throttle for the event function and remove listener on page destroy. See https://github.com/openbmc/webui-vue/issues/53 for details. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id3895d43012e8c711a182026cb40aaa64234f9bf
2021-02-23Added test hook for event logs pageSandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6464c2108d50364dbc068fa361e582d11d4a9a13
2021-02-23Add test hooks to Power server operations pageSurenNeware1-3/+12
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I541bbf5d75bd1316f1ba3182c6fb37b24894430a
2021-02-17Fix skip link 404 error on refresh bugDerick Montague4-15/+37
Problem: When a user uses the skip link anchor to skip the navigation, the route was being changed to /#main-content. This route does not exist. If a user were to manually refresh the page, it would return a 404. This link is critical to meet accessibility guidelines and is needed by users that navigate with a keyboard. The challenge is that we need to mirror a full page refresh on all route changes, so we set focus on the app-header element on each route change. When we click the skip to navigation link, there should not be a route change. All we need is to set focus on the <main> element so that the user can tab to the first tabbable element in the main content section. Solution: - Use a native <a> element with an attached click event handler - Prevent the default action of adding the hash to the URL - Create a global mixin to reuse for route changes and skip link activation - Emit an event that can be listened for to call the global mixin Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4c2301b02f608eeb376ed2d1bd809f3d5c1bf545
2021-02-17Hide SNMP Settings tab on Intel environmentMichalX Szopinski1-5/+0
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I05b61caa8c7a543c17577ff4a0c95b9c9020e3d2
2021-02-17Update single file firmware TFTP upload optionYoshie Muranaka2-3/+17
Adds API check for the UpdateService allowable values to determine whether or not a TFTP upload option is available in UI. This is part of an effort to make the firmware page more dynamic. These changes are only visisble with ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ied8ac5fa9f0441b1a0762c7a5267e298294eea32
2021-02-17Update single file firmware page alertsYoshie Muranaka1-3/+8
Create a dotenv variable to determine whether or not the firmware update is disabled when server is powered on. This is part of an effort to make the firmware page more dynamic. These changes are only visible with the ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I006e7500855b0acfd0db918e80fffd79a1ec6986
2021-02-16Add enhancements to BVToastMixinYoshie Muranaka6-126/+151
Adds ability to create toasts with multi-lined body content and options to include a timestamp and application refresh action. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I30b1da04a0e0b5f29a419950462d1ca35e207552
2021-02-16Update single file firmware upload pageYoshie Muranaka8-334/+392
These updates are visible with IBM dotenv variables. Updates include changes to layout and verbiage. - Added a global application refresh listener, so app refresh can be called from components outside of the application header Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5ebe6452a0360b6cced5597b648cde33e97c5a1f
2021-02-16Add test hooks to security settings pageSurenNeware1-2/+2
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib1bfd5f34324d6189d03745c7b92d81bbd58faf2
2021-02-11Remove i18n module import from Profile settingsYoshie Muranaka1-2/+1
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
2021-02-11Added test hook for client session pageSandeepa Singh1-3/+4
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I5ba8243fcc0ba561bfab18503c2c1ba5aebd47c0
2021-02-11Added a test hook for sensors pageSandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I4a560f0c960290ada4cd4148011ae40d3129a7c6
2021-02-10Update FormFile component button styleYoshie Muranaka1-1/+23
Default file upload button will be secondary, with the ability to optionally pass 'primary' variant as a prop. Added correct disabled button styles to the SFC scoped styles. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Idacb84a9298db0d5bce727f20842d2a1a15b7448
2021-02-10Correct client sessions displayed dataSurenNeware1-2/+2
- Used ClientID data property for client ID and ClientOriginIPAddress for IP address. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib39f5cafe407cb9abc2aec802935bf2dab62486a
2021-02-08Add DHCP enable to Network Settings pageDixsie Wolmers3-24/+153
- Adds ability to disable or enable DHCP from UI. - Displays DHCP addresses in table. - Displays only Static addresses in Static table Note for testing: - If BMC does not have a DHCP server on the network when enabling DHCP then system will go down (no IP addresses will be available) Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4a9e6e13a80bcac8233e4382c0f4accc59c8adb8
2021-02-08Add test hook for overview pageSandeepa Singh1-1/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I76f8abe6e28714a9c5e8af85e6f4d854146db7b2
2021-02-04Add property check on Server power operations pageYoshie Muranaka1-2/+4
Check for LastResetTime value before attempting to create a Date object. The error causes the page to hang when attempting different actions from the page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2d754e430d1d3ad69f04d3c350c68ca35fa5375
2021-02-04Change system indicatorLED propertySurenNeware2-2/+8
- Changed system IndicatorLED property to use LocationIndicatorActive and updated SystemStore for same. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0083034b7a8993074262a1e2b60c5829f8519dbe
2021-02-02Add power restore policy pageSukanya Pandey9-0/+200
- 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-02-02Remove account type assignments from privilege role tableDixsie Wolmers2-41/+1
The removed information will be displayed in the user table when it is available in Redfish. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I867a7792f2b2335456baf9934e8ef593a52b11e5
2021-01-27Fixed icon or text only button accessibilitySurenNeware14-17/+25
- Add sr-only element to icon only buttons - Removed title from text only buttons Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ica57dec70401c04a9d7506306a406fe394e52113
2021-01-26Update security settings textSurenNeware2-3/+3
- Updated BMC shell title and description. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I4485a9f2f6b4ee065a9902b7a3facd942a1feb45
2021-01-23Add disabled class to FormFile componentYoshie Muranaka1-2/+6
Passing disabled prop to button and span so file upload button can visually reflect a disabled form control state. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I78f2db521c4f4016e7e2aa92e5a56bc4f9170fe0
2021-01-22Remove unused property from firmware pageYoshie Muranaka1-3/+0
Removed isPageDisabled because it is not used Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0b3f604a0bae0d5e001911553ecb8727e7a78801