summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Pandey10-0/+218
- 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-29Update failing unit testsYoshie Muranaka2-2/+12
Accessibility updates for icon only buttons required updates to snapshot unit tests. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2bb1576f53d3f38c4c68879b5273edd3d33b92d
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-26Update linting and code formatting node packagesSurenNeware2-146/+87
- Updated eslint, eslint-plugin-prettier, eslint-plugin-vue, lint-staged and prettier packages. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaf80c39a90506a820957c5531054ea96d4a3f458
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
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