summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-07-22Add download additional data functionalityDixsie Wolmers3-2/+16
Adds ability to download event log additional data data by row. The download attribute is not used to rename the file because it causes the download to fail in Chrome (Chromium bug for base64 files). Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I92164adc0a8ccf1bd6ed23cc5891a04fac47685b
2021-07-21Fix inconsistent power statusLei YU1-8/+5
The webui was using a websocket to subscribe the events from BMC for server status and logging. It uses a debouncer of 2.5 to limit the events, however, it causes the loss of the events, so the power change status event could be missed by the webui, causing the `Power` status is not really consistent. There was an issue in the property change handler as well that it assumes the `CurrentHostState` is there. However, certain event could be fired without `CurrentHostState` change, e.g. the "ForceWarmReboot" will get an host event of `RequestedHostTransition` without `CurrentHostState`'s change, the code will get an undefined `CurrentHostState` and the `Power` status becomes undetermined. Remove the 2.5 debouncer, and only set the power status when `CurrentHostState` is really received to fix the issue. Tested: Verify the `Power` status is consistent with the server status. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I732069fff954a2b8b1de4848115641903a8bc904
2021-07-21Add POST code logs pageSandeepa Singh10-0/+452
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-07-20Hide "Switch to running" button on Intel environmentMichalX Szopinski1-0/+3
Add environment variable to control visibility of "Switch to running" button. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: If1d118ffd8c1e425f2f33eb0a54fff579bf8b6b4
2021-07-20Add full russian translationPavel Zhukov2-0/+817
This localisation was performed by a native speaker well familiar with server administration and passed internal reviews by other GAGAR>IN administrators. Signed-off-by: Pavel Zhukov <p.zhukov@gagar-in.com> Signed-off-by: Andrei Tutolmin <a.tutolmin@gagar-in.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: Iea6a22351dcd999bd094e530229c7aee7e8e9629
2021-07-15Update user privilege table for the operator roleDerick Montague1-1/+1
The operator role has the ability to configure components, but that was missing from the privilege table. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie0d19df93a2b84553d1664ce019115b423721327
2021-07-15Fix cross-browser time formatting bugDerick Montague1-1/+1
To format the BMC time as 24 hour time, we used the `hour12` property. In Chrome, the time between 12:00 AM and 1:00 AM is displaye as 24:xx, instead of 00:xx. The cross-browser solution is to replace the `hour12` property with the `hourCycle` property so that all the time is formatted as 00:xx. Reference for Intl.DateTimeFormat constructor https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I68539d9602499dcb1bde9a4b01dd7a66fbc69d1a
2021-07-13Firmware: Remove redundant label handlingMaciej Magdziarz1-3/+0
In https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/42455 we decieded not to set a file type to upload. We have removed label but not label handling. Signed-off-by: Maciej Magdziarz <maciejx.magdziarz@intel.com> Change-Id: Ide0558a3df4c1d3c7eb3fe9872eb8914c80f11a7
2021-07-08Add system table missing propertiesSukanya Pandey3-30/+134
- Design is updated for system table. - Missing properties are added, added properties are: Hardware type, Location number, Memory summary data, Processor summary data and submodel. - Also adding functionality of toggling identify led switch Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0e5143638ce2254f9b4fd2c8c520544c1db8d342
2021-07-01Add chassis table missing propertiesSandeepa Singh3-23/+122
- Added the following properties: Name, Location number, Identify led, Manufacturer, Chassis type, Asset tag, Max power watts, Min power watts - Design has been updated for chassis table Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Id2ef82573a4d17059dc9f4929155aa05cabef2aa
2021-07-01Add BMC table missing propertiesSandeepa Singh3-57/+146
- Added the following properties: Name, Spare part number, Manufacturer type, Manager type, BMC date and time, Last reset time, Identify led Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6d84f867f3c272f3989f76c86f054f143b8b1bbd
2021-06-29Add processors table missing propertiesSandeepa Singh6-25/+154
- Add following missing properties: Name, Spare part number, Model, Processor type, Processor architechure, Version, Health rollup, Asset tag, Min speed MHz, Max speed MHz, Total cores, Total threads, Instruction set, Identify Led - Design of the table has been updated - Waiting for the following to be merged to test the Identify Led: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/37045 Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If6eeb3b0afea6510f7ea53e2d66cbf1d123b3217
2021-06-29Increase the filter menu marginsSandeepa Singh2-2/+5
This will increase readability of filter menu options, by preventing the wrapping up of long options/labels. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I75199b7608b5aeed067530e374e45750e26bb6eb
2021-06-29Reorder VPD QuicklinksDixsie Wolmers1-6/+6
Reordered hardware status quicklinks in order of appearance on the page. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9cb9742f4a21704d3ec856cbe423868b34a572a2
2021-06-28Add fans hardware status missing propertiesDixsie Wolmers3-6/+53
Adds identify LED, name - hardware type, health rollup, fan speed, and location number properties to table. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5f209b853ab70becf4c4289e871da1ce279d1ac3
2021-06-28Remove <br /> from hardware status tablesDixsie Wolmers6-39/+9
Break tags are not semantic for definition lists. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ecbd7100044da4aa7749888faab962e115e2564
2021-06-28Resolve a bug in LDAP pageSandeepa Singh2-13/+29
-Issue was, while the Enable checkbox is disabled, click on the save settings button, and then the page is getting disabled. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ib7cab16d99dab5296e7bafff1cdb936a4a535c6b
2021-06-23kvm: Disconnect on page unload/refreshLei YU1-0/+5
Disconnect the VNC when page is unloaded. Otherwise, it creates a new VNC connection on every page load/refresh, and it causes the KVM failure when it reaches the max connections. Tested: Refresh the KVM page, go to other pages and go back to KVM page, verify the KVM works fine and the connection is closed and re-connected, and verify there is no extra connections. obmc-ikvm[233]: 18/06/2021 10:46:26 Got connection from client 127.0.0.1 obmc-ikvm[233]: 18/06/2021 10:46:26 0 other clients Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Iffb3cf34a357e247d4b2aabe8dc17080b50c8da4
2021-06-22Firmware: Remove .tar referencesMaciej Magdziarz2-2/+0
Remove the accept prop in the file upload component on the firmware page. Remove the helper text that indicates to the user to upload a .tar file. Signed-off-by: Maciej Magdziarz <maciejx.magdziarz@intel.com> Change-Id: I781bd316ce591809b35ae5990d0f7b02af288e41
2021-06-09Dump download file nameSneha Patel1-1/+6
Change the pattern of the download file name Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: If1e7cf609c4a278e3fb7b98d19d7071ddbb534fd
2021-06-09Add quicklinks to hardware status pageDixsie Wolmers6-24/+119
- Renames SetFocusMixin to JumpLinkMixin to better describe what the mixin is for: jump links like quick links and skip to main content - Adds scrollToOffset method to JumpLinkMixin methods to scroll to selected page elements - Scroll offset is required to show table header below the nav header - Setting focus is required for accessibility Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I500a2d70727c5a78aeae4a6193ba22a38e4f0b6f
2021-06-09Add event log resolve and unresolve log functionalityDixsie Wolmers5-10/+185
Displays resolved or unresolved status, adds ability to filter by resolved or unresolved, and adds ability to resolve or unresolve one or more logs. Move event type table field to expanded row. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie5761753a7660a714f98c238d8d89aa018719dcf
2021-06-09Remove hardcoded chassis in power suppliesMichalX Szopinski2-5/+25
According to our conversation on community meeting we want to remove all hardcoded chassis names in request URL. This change corrects the "Power supplies" table in "Hardware Status" view. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I5219c68b71477adee5f6785c58808eeaa5d35986
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