summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2021-01-22Update vue cli node modulesSurenNeware2-78/+296
- Updated babel, eslint, router, unit-jest, vuex plugins to the latest release. - Updated latest release is 4.5.10 Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ie9c69bab10542ae9242f2a190dec1b3919a67ede
2021-01-20Add unit test cases for search componentSukanya Pandey2-0/+94
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I9721a9bc8b1fce850b824a2f9d7a6d199c5e0236
2021-01-20Add ability to downlad dumpYoshie Muranaka2-0/+25
- Adds download row action in bmc dumps table - Adds new rowAction download type to support <a> tag with download attribute Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I97fd70e6a6783d4336ca1a8486cf1cd3062ebb5d
2021-01-20Add unit test cases for loading bar componentSurenNeware2-0/+52
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ifcb488df080bd64ce9e9865befd4c044a73589e1
2021-01-20Run test script as part of the pre-commit hookDerick Montague3-1/+4
Now that we have added more unit testing, it will be beneficial to run the unit test script prior to check in. Eventually, we will want this to be part of the CI build process since Git pre-hooks can be avoided. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I59aad81a470176d2f6a5afeb130661c642f4d259
2021-01-13Define SNMP page route in IBM navigationYoshie Muranaka1-1/+1
Add route definition for SNMP settings page so route can be caught in 404 Page not found. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iccbed7a2fccd962a5ff0d6b78fb557949b586837
2021-01-13Update axios to remove vulnerabilitiesDerick Montague2-2072/+3211
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I145192b4fc6f72c8ed4742c4d3c019c35da0ce6f
2021-01-12Fix broken TableToolbar snapshot testDerick Montague2-0/+7
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I37054cd6aabc619a001ced0d928aacd22f46ed3d
2021-01-12Fix broken info-tooltip spec and snapshotDerick Montague2-14/+25
- Two of the test are not needed since they are testing the vue internal functionality of rendering a title attribute value correctly and importing the right carbon icon. For this test the only tests needed is the snapshot. It could be debated that this component does not require a spec at all. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icca107b185cd579d47877d50ec5763c5ffffc06a
2021-01-11Removed truncated style from overview pageSurenNeware2-16/+7
- Removed truncated style from network information section. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I11339a1c6099a733b07979dd26b13a0b400de19a
2021-01-09Add unit test cases for table cell count componentSukanya Pandey2-0/+41
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Id948347cd38a9e58d21aaf4180afe8ab5c2f2ed7
2021-01-09Add translated cancel title to all modalsSukanya Pandey14-0/+23
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I24ea692467077eddc7a74b86a9ba56d49818404b
2021-01-08Fix input icon being hidden on input focusDerick Montague2-2/+2
Both the datepicker and password fields have an assoicated icon. When the input element receives focus the associated icons are hidden. This is caused by a z-index issue and was a bug created when fixing another bug that caused the datepicker icon from rendering above the table batch actions toolbar. Both bugs have been resolved with this patchset. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If923cd5bc6a076b01efa44492f717b78fb6584ca
2021-01-08Fix lint warningDerick Montague1-3/+1
The template was removed because it did not meet the vue/no-lone-template rule. It is not clear the reason this template element was added. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I26b0f5f6eab94afdeee52e142d2507994c3849b4
2021-01-08Resolve issue of page not found when opening new tabSukanya Pandey3-320/+171
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id46f9f663c456a7d09b55d6d322b00785df4cbe7
2021-01-08Add unit test cases for status icon componentSukanya Pandey2-0/+65
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I58bb3e5f5fa9c02276b2031322ac01affeb17ca3
2021-01-07Update PageContainer snapshot testDerick Montague1-5/+4
The UI is rendering differently than the snapshot saved. I reviewed the difference and it is simply a difference with how the formatting of the class and id values. I did not see this issue when testing the PageContainer snapshot test. It is not clear why there is a difference, but if it were to fail again for a different user, we can remove the snapshot since the main test we want to pass is that the HTML element being rendered is the <main> element. To update the snapshot for an individual spec file, use the following command in the cli: npm run test:update -- -u tests/unit/Global/PageContainer.spec.js Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ieac495f893ba2025d2d6f4d3b7b49506bdf0ecae
2021-01-07Update IBM router and navigationYoshie Muranaka2-0/+28
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-07Fix issue related to profile settings pageSukanya Pandey1-12/+2
- On change of state of the timezone display preferences. - Toast notification will be displayed to the user. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie846638077f75cb21123ec347d3e9f38724a51e8
2021-01-07Add unit test cases for info tooltip componentSurenNeware2-0/+41
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ic89aed1f8244073eab82cdc6f79dba9520585374
2021-01-07Add unit test cases for table toolbar componentSukanya Pandey2-0/+58
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I2e93244fcd8bbde7c9398cf0db56d5125614aa69
2021-01-07Add test case for input password toggle componentSukanya Pandey3-1/+66
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I00e3fc12a58d644d0aad3c0caf4a94d2ed435109
2021-01-05Correct name for IBM custom nav Access ControlSurenNeware1-1/+1
- Corrected name for Access Control when env is changing for IBM custom nav. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I8c804a3c8630ea9f6045c2973a985f44efed5273
2021-01-05Add unit test cases for page container componentSurenNeware2-0/+31
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ia7895156d1a4551bd70f95cc0207bf72522fba0e
2021-01-05Add DumpsStore API callsYoshie Muranaka6-18/+259
Ties in API requests to the Dumps page and adds ability to: - Create new System or BMC dump - Delete single or multiple BMC dumps. Uses ClearLog service to delete all and DELETE request for single dump deletion Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iae928fa3b8fab00e549c33c0ab914a4b04de0f40
2021-01-05Add dumps page to IBM envYoshie Muranaka8-0/+427
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
2021-01-05Add updated spec file for AppNavigation and AppHeader componentSukanya Pandey2-0/+59
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I529fab5463692e70dea23536b7b0ca1ce52c67a7
2021-01-05Update class name and improve transitionDerick Montague1-4/+7
The class name showBtn uses a camelCase naming convention and CSS selector names use the kebab-case naming convention. The z-index solution is not needed if we hide the element with visibility. Using both opacity and visibility allows the transition to be elegant. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie555f958daaadd2bc3a3777b6c2bc7d5e83a0cc5
2021-01-05Fix table date filter calendar icon issueSukanya Pandey1-1/+0
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I3cbb66c56cd7824707107771b034317d95f96014
2021-01-05MAINTAINERS: update email addresses to match GerritPatrick Williams1-1/+1
Yoshie's email address did not match that registered in Gerrit. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2cb76630e667725a5f63987fde95282305484b50
2021-01-05Fixed Back to top button appearance issueSurenNeware1-1/+2
- Changed back to top button style when its getting disappear. - So that button should not come over the page contents. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0a013c2bcdd291edd9f52566130882360451a280
2021-01-05lint: update format-code scriptPatrick Williams1-1/+9
Due to openbmc/openbmc-build-scripts@55448ad, format-code scripts are now required to have a #!. Add one here. Format-code scripts are also ran from an arbitrary directory but the path to the root of the repository is passed as the first argument. Switch to that directory so `npm` does the right thing. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic15ef0af7d7ebd224762e9eaba41d3b92ce5e5bd
2020-12-16Add form file documentationSukanya Pandey3-0/+29
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I578ead17e5870ae0981aba775c258b49d697a208
2020-12-16Show asset name in the app headerSukanya Pandey3-10/+43
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: If5394604d6c91b3604eaadb33178376fe6da672c
2020-12-16Update component documentationDerick Montague11-75/+42
The component structure was not consistent. We determined how we wanted to save image examples within the component directory, but not all of the components were updated. The result was that some images were not displaying on the component pages. This patchset resolves that issue, along with removing the page component since it is not an actual component within the application. - Add directory for each component, move example images to the directory, and update the image path - Create a page-title and page-section directory and index.md for each - Move content for page-title and page-section from the page.md file into the index.md within the respective component directory - Delete the page.md from the component directory as it is not a component - Update links to page.md in the page-anatomy.md file. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I1e554adf71abb4c84f423a30d3c3b598f678ade0
2020-12-16Add client sessions pageSukanya Pandey7-0/+411
- 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 Wolmers7-0/+267
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 Muranaka5-5/+16
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-07Add documentation for table paginationYoshie Muranaka2-1/+96
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic40d7b4580417590b2d465fe359198c92354c242
2020-12-05Add documentation for table batch actionsYoshie Muranaka3-1/+94
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id450f9f461c40c5ff7e1c9510b082e88abd1a3ef
2020-12-04Add documentation for table filterYoshie Muranaka3-1/+73
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I3ab86678e2cc4f9771a07026a417298d716de649
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-03Add info tooltip documentationSukanya Pandey3-0/+16
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Id19854ed326eb55f6443a7015579ea6375193d1f
2020-12-02Add unit testing for page title componentSukanya Pandey2-0/+48
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I1fc54f54bd8e9a7d132eab0edaed94a4032143c8
2020-12-02Fix server LED switch value on errorYoshie Muranaka3-7/+4
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 Montague3-28/+34
- Make name consistent between both Overview and Server LED views Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I36601b603bfeb4e9f2b782641dd2813882466c21
2020-12-02Update application navigation component snapshotDerick Montague1-2/+2
- Ran npm test:update to update snapshot test to fix a broken test caused by the change to the snmp route update in https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/38207 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I3777026f9c61ed2009b7c36493c7ff7df8ecd629