summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Add client sessions pageSukanya Pandey2-0/+294
- 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
2020-12-16Add security settings pageDixsie Wolmers2-0/+127
Adds ability to enable/disable: - SSH protocol - IPMI protocol Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I2430a46343dd8756ef75fcc3cb068df8d51dd415
2020-12-09Fix loading property importYoshie Muranaka1-4/+2
Imported loading from wrong mixin with commit https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/38917 This will fix warning: "export 'loading' was not found in '@/components/Mixins/LocalTimezoneLabelMixin' Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I10869d605f70bde0b4cdcb970c96357f9a5da87a
2020-12-09Fix loading hangYoshie Muranaka4-4/+14
Import and add loading property to pages that are disabling forms based on LoadingBarMixin loading property. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1669bff2572422327566a3afe023633eb0b729f4
2020-12-07Fix no-lone-template warning on Firmware pageYoshie Muranaka1-3/+1
Fixes https://eslint.vuejs.org/rules/no-lone-template.html Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Icc92d8349f063d756b92f6b2f751f7804267effb
2020-12-03Remove page not found error in LDAPSukanya Pandey1-3/+3
- When adding role groups, the URL was being modified resulting in a 404 response Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0cf2653e83e85bc3bd6eca4a86bb065f8f8dd179
2020-12-02Fix server LED switch value on errorYoshie Muranaka2-6/+2
Add error state handling in the ServerLed store to make sure the UI accurately reflects the state if there is an error. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7f3647df9f5a32e241005eb7058a7cda1e0ba36a
2020-12-02Refactor server LED indicator variable namingDerick Montague2-20/+23
- Make name consistent between both Overview and Server LED views Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I36601b603bfeb4e9f2b782641dd2813882466c21
2020-12-02Add alignment on Event Logs pageSurenNeware6-14/+14
- Align table search, count and date components on Event Logs page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Id681d50f57a6fca86b8d8ba57f8e3420c1a0e56e
2020-12-01Update indicator LED switch using another propertySurenNeware2-9/+5
- Update indicator LED redfish endpoint based on 'LocationIndicatorActive' property. - Updated both ServerLED and Overview page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Id47133e4834b658d49911be87d93f7985519a6d2
2020-12-01Update data option for components using Mixin dataSurenNeware12-19/+94
- Removed all the data options from all the mixins. - Updated component data property relying on data property defined in mixin. - Export data property from mixin file itself. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I4aeffcb333bbaf5b78bcadd711b3169b0b4cb10e
2020-12-01Add label to table checkboxesDixsie Wolmers4-8/+24
- Span with class sr-only added to table checkboxes - Verified passed DAP Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: If6dff636762e6cc70c2f5b345827aa1385a31c97
2020-11-28Fix LDAP accessibility violationsYoshie Muranaka1-203/+201
- Fixed "<fieldset> element does not have a <legend>" by removing a label-for prop - Fixed "Form control has more than one label" by removing a wrapper <b-form-group> that disabled controls while the page was loading - Existing table violations to be addressed separately Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7c90f361cc982b54ddd2b7893ba65b2e5489f5cd
2020-11-25Add datepicker labelDixsie Wolmers1-1/+3
Span with sr-only class added to date picker button to implicity add label. The bootstrap vue datepicker component does not have an accessibility prop for the button inside the datepicker wrapper. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I6fd3e55b865343769d6c0a179ae4c5d8c1038ffb
2020-11-23Add new style for form file componentSurenNeware3-39/+50
- Now only add file button will be visible. - And selected file name will come down to the button. - Changed form file component from custom type to plain. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib59135691495c4dddfdbbae0e4228b55cdfda2a8
2020-11-13Align button iconsDixsie Wolmers14-42/+36
- Fixes button icon and text alignment - App header buttons to be addressed separately - Button documentation will be addressed in separate commit - Aligns form input buttons: datepicker, clear search, and password toggle - Moves title from icon to button for icon only buttons - Aligns validation icon with form input buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie28d7d7dd7303ab6bf1897d1fa569e1580cc2f9d
2020-11-12Resolve custom-event-name-casing lint warningsSukanya Pandey20-49/+49
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I9eea4eac3b8cacc216fc9ad1011e51622622e75f
2020-11-12Delete all selected event logsSukanya Pandey1-1/+13
-Earlier all the event logs were deleted ID wise. -Now when all logs are selected then below API will be called to delete all the logs. -API : '/redfish/v1/Systems/system/LogServices/EventLog/Actions/LogService.ClearLog'. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib7026a4fe3c324e6a998be747325f379a944f1c8
2020-11-06Resolve vue/no-unused-vars lint warningsSukanya Pandey2-2/+2
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I25ca1e451af5e793cd864d484572049e04cf09bc
2020-11-04Fix Safari default dropdown on Local user management pageYoshie Muranaka1-2/+7
Currently when creating a new user on the Local user management page, the 'Administrator' privilege appears to be selected by default but in Safari causes inline validations errors if attempting to submit the form without manually choosing an option from the dropdown. This commit will add a default "Select an option" item from the dropdown to avoid inconsistent default select behavior in Safari. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I779fd62a516faf7dc88fe4992ec36c0c23a44cce
2020-11-04Resolve vue/no-lone-template lint warning messageSukanya Pandey1-25/+23
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib2a7bdff5b4075f56f5beda5eb5861645ffa211b
2020-11-03Resolve firmware accessibility violationDerick Montague1-5/+4
The Bootstrap-vue b-form-group component has two different HTML blocks that are generated depending on what props are present on the component. Neiter of these are correct for wrapping a button since it is not semantically correct to wrap one button alone in a fieldset or to associate a <label> element with a button. - Remove the b-form-group comonent that contains the submit button Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I41d05883f4ca133f44188cb03cb2a44917361709
2020-11-03Fix eslint no-prototype-builtins errorsYoshie Muranaka2-3/+4
Made updates to TableToolbar, ModalAddRoleGroup, and ModalUploadCertificate components. https://eslint.org/docs/rules/no-prototype-builtins Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic143cd244b288bc089a9416699d7c3d4349a500c
2020-11-03Update linting packages to use latestDerick Montague44-794/+783
- 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-11-02Update local user management role tableYoshie Muranaka1-2/+2
Updated role table to indicate Operator and Readonly roles are able to "Update password for current user account". Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I38638f007dce3a4077e66e99a2e8b0dd3bc52637
2020-10-30Add two file firmware updateYoshie Muranaka4-146/+133
Adds the ability to upload separate Host and BMC firmware images through the GUI. By default, the two file firmware update page will be shown. Changes to the .env configurations will enable the single file upload page. The IBM env is configured to allow single file firmware update. Two file upload features: - File upload through local workstation or tftp server - Reboot from backup BMC image - Does not have ability to reboot from backup host image - Does not implement checks in GUI for host status, which is the same as what we have in phosphor-webui Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ibf2a2d9ffc3952dd5a5454c723350c61d9f91c3e
2020-10-27Fix table row alignment and table head borderDixsie Wolmers9-11/+19
- Aligns content in table rows with expand and action buttons - Adds border to table head Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I403575bedc78d71ad05edcae2f59f7df994d3630
2020-10-26Make copy of single file firmware uploadYoshie Muranaka1-1/+1
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-10-23Fixed event logs pagination on small screenSurenNeware1-1/+3
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ifb3963d416a7e2663af24c3c7b1d2c1876af6788
2020-10-23Add support for mutual TLSYoshie Muranaka1-1/+1
Adding check for 'IsAuthenticated' cookie in AuthenticationStore and adding a check in created hook for AppHeader component because it is visible on all authenticated pages. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic558c9c45fd3f5874c8c516cb6bc005cba4946e2
2020-10-21Show error toast notification on unauthorized accessSukanya Pandey2-14/+0
-When 403 status code which is an unauthorized access occured -show error toast notification. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I55fa7052073f87f28c3584b68fd4e84247a4237e
2020-10-19Update relative path imports to use '@' aliasSurenNeware10-19/+19
- Add '@/' instead of '../../../' Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ida1dc26f2bd62f38914a74b729ee8fd143c360ac
2020-10-14Add consistent save button pattern to LDAPDixsie Wolmers1-1/+0
As a pattern, save buttons should not be disabled Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: If1d327db6d688d54e3068fb9807a49d401d57af0
2020-10-12Add TFTP input label and helper textSurenNeware1-1/+5
- Add TFTP input label and helper text for firmware page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0f1d9f6fda9bf375449da7f8d814953628575775
2020-10-07Add new style guide to global button styleSurenNeware1-2/+1
- Updated new style guide for Primary, Secondary and Link button variants - Changed box-shadow style from outer to inside on focus and active state - Updated font weight from bold to regular for normal buttons and font weight bold for link button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
2020-10-07Add updated table stylesSukanya Pandey15-1/+16
- Refer below link for styles: https://ibm.invisionapp.com/share/D8O06PPE32B#/screens Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6dcc3b8d0fb7ef19388b5bfeaf87fce78725b638
2020-10-06Add stacked table style for small screenSurenNeware2-1/+2
- Add style to the stacked table type for small screen only. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I79fb44b20c8436df5734f89e60c98966c9c6a591
2020-10-05Fix hardware status expand button accessiblityDixsie Wolmers7-22/+59
- Aria label added to provide screen readers context for button action - Title added to chevron icon to display label on hover Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8c0cef36d7aa61e0b4b0ac7fdabffb7e8a0a17a
2020-10-05Add changes related to SOL pageSukanya Pandey2-43/+111
-Changes incorporated can be referred through below link: -https://github.com/openbmc/webui-vue/issues/25 Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I39d79259e0470d11c15e596908eefee7a799262a
2020-09-30Update name of sensors export fileSurenNeware1-1/+17
- Now the name of exported sensors file will be combination of date and sensors as prefix. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ie30a1b5e61ad47bc2e78f173945b54ed73a873a5
2020-09-30Remove searchFilter property from Sensors pageYoshie Muranaka1-1/+0
The searchFilter data prop is included in the SearchFilterMixin, so can be removed from the Sensors component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iba40439de0aa01458cf95157f25124e0b08669f1
2020-09-29Fix responsiveness of KVMMateusz Gapski2-48/+113
More info: https://github.com/openbmc/webui-vue/issues/24 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I150e7816ea08f462300566276ddbfc117e9f2e0c
2020-09-24Add table search filter clear buttonDixsie Wolmers6-33/+32
- Adds ability to quickly clear a table input search field - Uses similar styling to password toggle icon and datepicker - Button style to be addressed in separate commit to match style guide Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I18f2e01c28c00c7e7b2ad1af924070241caf36a5
2020-09-24Add optional fields to LDAP and CSR formDixsie Wolmers2-40/+52
- Optional fields are indicated on the form field label - Asterisks indicating required were removed Verified with design. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I998485f8928c2c976aa49790c19c9ac247d5ed24
2020-09-22Show total and filtered number of items in a tableSukanya Pandey6-19/+119
-The total number of items and the filtered items will be shown in the EventLogs, Sensors and HardwareStatus table. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0ee6410bf675038a350a71a02ec076f9e8baf004
2020-09-17Auto fill date and time input fields in DateTimeSetting pageSukanya Pandey1-0/+8
-Under manual date and time input field will be auto populated with defalut date and time. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I62dcfe9ad37193d2ab6dfab1aea14eefb595ff37
2020-09-16Add loading image from external serverMateusz Gapski2-10/+213
Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Ie9793b25fdee0f438d64aafe0978d75025800cb8
2020-09-16Update name of file of exported log filesSurenNeware1-2/+15
- The name of exported event log file would be combination of event logs prefix and current date and time. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaaf46fed5df1942e9cc2e4157dafa8e3e755ecf8
2020-09-16Remove not needed scroll on sensor pageMateusz Gapski1-0/+1
Details: https://github.com/openbmc/webui-vue/issues/17 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I5c76219db954470dc72231e51ea0f202016d6816
2020-09-11Change overview page critical event sort orderDerick Montague1-1/+1
- Set the table to sort by id rather than date to resolve confusion if date stamps are identical. In this use case, the id column will not be sorted correctly based on limitations in the framework. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I51ad712d34aea7da2a4152dfb695c16b5f94b453