summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-09Update docs theme section to customizationDerick Montague5-106/+153
The themes section of the webui style guide contained a section named theme. This section also included information about the environmental builds. The name was misleading and confusing, so we determined in the GUI Design Work Group to update the section name. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Iad245199048f65f346e6c033a766605f303b0ade
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 Montague15-98/+98
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-18Add run-ci shell scriptDerick Montague1-0/+15
The GUI has a set of unit tests that are currrently only being run using a pre-comit hook. This hook can be overridden and we would like to have the unit tests run during the CI build to assure that the GUI unit tests are passing. Adding this shell script so that we can run any GUI unit tests during the CI build. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I1b62f47fb05d4f36796c5cdb4e7529b1f3afd0d5
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-11Replace IRC with DiscordBruce Mitchell2-5/+5
Discord has more users. IRC traffic has ground to a halt. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: I588beca497e0a87663821b1e12539bf7a071aebf
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-14enable shellcheckPatrick Williams1-0/+0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibec912a3f79ab162325b4a79911ed30c21285ab0
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-06Add form quick start documentationDixsie2-0/+127
Form quick start documentation contains info on using the form and form group components, and the Vuelidate plugin. This doc also provides a template for creating a new form. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5d05141ff05cd069e55853a8b2cb4adecb3c848a
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-30Update all minor and patch releasesDixsie4-1120/+2874
Updated NPM packages with minor and patch releases only. Tested the UI locally and by building copying to the BMC and running in an overlay and did not observe breaking changes. Major releases are not updated in this commit as they require additional testing and code updates to address breaking changes and will be updated separately once those updates are stable. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I73c952a75a1148c5852a18d73b9065083fd8e94c
2021-03-24Remove Yoshie from maintainers listYoshie Muranaka1-1/+0
No longer working actively on this project Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I94cc45d26f8388af0a331b98e14f73a93c6f30bf
2021-03-23Add internationalization documentationSandeepa Singh2-0/+58
- Explains how internationalization makes the OpenBMC Web UI multilingual - Explains the use of vue-i18n Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ica273814a857f37502b9bb71800de7660d4fa49b
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-22Update text wrapping in documentationDerick Montague21-205/+580
To meet best practices and standards for markdown, this commit updates all markdown files used for the VuePress documentation so that each line is limited to 80 characters. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0cadb33343ce1bc331dfefd096d8137a04c33604
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 Montague11-7/+359
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-09Add .gitattributes fileDerick Montague1-0/+1
This file has a setting that assures that our end of line defaults to lf for all developers when cloning or checking out a branch. This is important for windows users. When they checkout, the eol is being set to CRLF which slows down the build and requires they run the lint command and stage every file in the application to keep linting from slowing down the build process. https://prettier.io/docs/en/options.html#end-of-line Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I700e5f1591437c60868ac7e81bd29d613ad868e9
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-02Update button documentation for icon only buttonSurenNeware1-10/+29
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I93aa1082880985fef316424a9cf400a9d0a8c2b3
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-26Update coding standards documentationDerick Montague4-6/+2
- Remove pages without content - Update overview page name Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icf26e65d72d2900ddbe216be974930bcc9c0e196
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 Montague5-16/+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 Muranaka2-4/+10
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-17Unit testing docs typo fixDixsie Wolmers1-2/+2
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id75c6e923682f199440ca8d3fd986f034a8f332b
2021-02-16Add documentation for BVToastMixin enhancementsYoshie Muranaka2-0/+24
Includes documentation for multi-lined toast body, refresh app link, and timestamp. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id95e1858a703cc0be44f1f6de51fd6daab24876d
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