summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-04Re-modeled Power restore radio buttonsKenneth Fullbright3-20/+36
When a user selects a radio button and saves, the selected setting should be patched. - Computed properties on generated bootstrap-vue radio buttons causes errors. - Re-modeled radio buttons to take Redfish api data on component render. - Mapped selected radio button value to patch the Redfish api property. - Added translations. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I22ce75d9ef840d7f0c2659bba855093e5b4559f4
2022-02-04Set table busy state on loadKenneth Fullbright16-22/+73
- Add busy prop to tables Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195
2022-02-04Missing Overview informationNikhil Ashoka1-1/+1
Added 'BMC date and time' which was displaying as 'BMC time' Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: Ie5b63d942b08c52a2b78a91c95624874c299d3da
2022-02-04Filtered the IP address to IPv4 on sessions pageSandeepa Singh1-1/+5
The IP address on sessions page is comming IPv6. It should be shown IPv4 address. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I4d5d492b161c09a09f616849ad9d0e6eb32e9fd8
2022-02-04Add Key clear page under Operations sectionSandeepa Singh11-29/+258
This page will allow privileged user to clear encrypted keys. - Only admin and CE login user will be able to see the page - The UI will be different for both, admin and CE login user(service) - This page is IBM only Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ic6fe3454de815629a6b2250daa99ab21f2b316c3
2022-02-04Security Panel add additional featuresNikhil Ashoka3-60/+218
Added RTAD under Network interfaces Added VirtualTPM under Network services Removed the sub-headings in Policies page Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I6290362cecdfe7f8cd7bfde20fcaca88b6bc2c09
2022-01-28Add values to system inventory tableNikhil Ashoka3-1/+11
TotalSystemMemoryGiB and CoreCount field is not present. Added TotalSystemMemoryGiB under Memory summary Added CoreCount under Processor summary Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I598abc7c05dd5113db0071ecd71bbcc32ad696c4
2022-01-28Add ability to view all the dumpsSukanya Pandey3-34/+86
The story is integration of these two API responses for their respective dumps: 1.Resource and Hostboot dumps: redfish/v1/Systems/system/LogServices/Dump/Entries 2.BMC Dumps: /redfish/v1/Managers/bmc/LogServices/Dump/Entries Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I24ded733e682d21904e92e2e8be1951e46d33b09
2022-01-28Update russian translations for the timezone toast messagesKonstantin Aladyshev1-1/+1
Add russian translations that were missed in a commit 77e64901f7334773d85fefab5e5623fa0e6ec499 ("Fix invalid password validation"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I818c6918ee9a7c862a37335f43acccf57b486828
2022-01-28Russian translations for the new properties to Dimms tableKonstantin Aladyshev1-0/+6
Add russian translations that were missed in a commit 61fdd942fc17a63713a82917b185d1ae16b49e4f ("Add missing properties to Dimms table"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id9a18b82a12f135d46d59d0417892b6dc1d08bdd
2022-01-24Fixed DHCP UseNTPServers Property PatchKenneth Fullbright1-1/+1
DHCP property UseNTPServers is not working and its value is not getting reflected in backend. It always remains enabled irrespective on enable or disable on GUI. - Fixed the incorrect patch on the saveNtpState action. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Id0b7240e38f68bea8e98694bdcbe4e36e723bbcb
2022-01-14Hack webpack to not use MD4Gunnar Mills1-0/+5
No longer have support for MD4, the default hashFunction. Mess with webpack to use sha256. This solution is from: https://github.com/webpack/webpack/issues/13572#issuecomment-923736472 And was added to phosphor-webui here: https://github.com/openbmc/phosphor-webui/commit/85884002164aacfeac8ca40e6fd169b0a2de43f0 Ideally --openssl-legacy-provider would work as https://github.com/webpack/webpack/issues/14532 describes but Node 16 supports linking with SSL 3.0 but doesn't support openssl-legacy-provider. See https://github.com/nodejs/node/issues/40948. This should enable the new Yocto bump to pass. Tested: Build Witherspoon Tacoma with https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/48473 and the 3 and this change. The webui looked good. Change-Id: I66f2cc45af85096f9abe935d269838c6a680bc9b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2022-01-07Fixed Assembly table Identify LED switchesKenneth Fullbright2-1/+8
Identify LED should toggle on/off successfully Rewrote the patch code to work with the Redfish schema Set LocationIndicatorActive to true: curl -k -H "X-Auth-Token: $token" -X PATCH -d ' { "Assemblies":[ {"MemberId" : "0", "LocationIndicatorActive":true}, {"MemberId": "1", "LocationIndicatorActive":true} ] }' https://${bmc}/redfish/v1/Chassis/chassis/Assembly MemberId is required to reference which assembly LED to toggle Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Id0a3cf4dc533f6a0205be9fd037b13f92647cc00
2022-01-07Fixed vuex dumps errorsKenneth3-9/+11
Refactored getters and dispatch names were not matching the getters and actions strings, which made dumps not work. Made the getters and dispatch names match the vuex getters and actions strings to the refactored codebase. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I414a7f85ef70c270785b825b3b14f9dfb27a33a7
2022-01-07Fix invalid password validationSandeepa Singh2-2/+2
Bug: Success toast message appeared on invalid value of new password on profile settings page. Solution: Fixed the toast message for password change and timezone change respectively. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I71b53dd02e4fdda040248c3ed9408be8d220454d
2022-01-07Add missing properties to Dimms tableSandeepa Singh3-6/+61
- Added the following properties: Base module type, Bus width bits, Capacity MiB, Data width bits, Enabled, Operating speed Mhz - Design has been updated for Dimms table Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ifd77071abd9544120c1904065275ccc00dd8d862
2021-12-28Remove hardcoded chassis in Manage power usageMichalX Szopinski2-7/+30
Simmilar modification to https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/42988 which removes the hardcoded chassis name from url on Manage power usage tab. With this modification we are displaying only informations about first power device. This change also fixes the overwriting existing power cap value on load. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: Ia164db9f2c50d98bc767c0f4729e9572a2d01da1
2021-12-23Fixed routerKey prop eslint warningKenneth Fullbright1-1/+4
Eslint throws a warning to props that don't have a default value - Added a default value to the routerKey prop. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I2d9d4abd0512eeadf27f8941a0f391979eb9a80a
2021-12-23Fixed empty string in NTP server arrayKenneth1-1/+13
The UI should not patch an empty string to the NTP server array as this is not valid per redfish spec. Filtered out empty strings from the array. After that, re-render the ui and re-set ntp values. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I0086086dec5f49f7cb4305813b3c5ce0348368b5
2021-12-21Add assembly table component name to tableKenneth Fullbright1-1/+1
Replaced id key with name key Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I7ce8798aac108841a13f24799cc35e7b5b261933
2021-12-20Correct values for deleteDns/deleteIpv4 keys in translationKonstantin Aladyshev1-2/+2
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I6335db232a6b61990e16f70222dbc67ccd48d044
2021-12-20Russian translations for the deleteDns/deleteIpv4 fixesKonstantin Aladyshev1-2/+2
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I023e4ce64800cb4d464df7084e73d738721f85ed
2021-12-20Russian translations for the hostname/MAC address settingsKonstantin Aladyshev1-1/+4
Add russian translations that were missed in a commit 12dc20c3701fe58b7d827ed44d65ac67cee8a4a6 ("Network settings: Edit hostname and MAC address"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ib025c223ca61636b7020cc3ce93e19afe2dddae8
2021-12-20Russian translations for the IPv4/DNS network settingsKonstantin Aladyshev1-0/+2
Add russian translations that were missed in a commit b34349d4139230fb4ca99bf89a6b0e1f707e58e2 ("Network Settings: Add and Delete IPV4 and DNS address"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I5ba7588848c5451efe2e0ef8edb2ff9b4a71b207
2021-12-20Russian translations for the new Network settings designKonstantin Aladyshev1-23/+28
Add russian translations that were missed in a commit c4b8757ed88ecea369e6044548d2fbe072d5bd4a ("Network settings redesign - interface settings"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ie115667593f6d45b0833fa45c652238bbc223327
2021-12-20[POC] login: Fix waiting in login page after loginLei YU1-2/+2
When the user enter the correct username/password and click the "Log in" button, sometimes the page stays at the login page. The user will have to reload the page, enter the username/password, and click the "Log in" button again to actually login the WebUI. From the browser's debug control, we could see it's waiting for the response of https://$bmc/redfish/v1/AccountService/Accounts/root and it does not get any response. From the BMC side, we could see the first login is successful. Somehow if we remove the async keyword of function checkPasswordChangeRequired(), the issue is not reproduced anymore. So this is a POC patch to fix the issue, but the root cause is unknown. Tested: Clear the browser's cookie, successful login multiple times. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I01e3ab5ca63baed18045915500fa8ca2e6b247ea
2021-12-20Fixed refresh system info on headerkennyneedsmilky2-2/+10
The refresh button in the App header previously only re-rendered the main mage section, this change also refreshes the app header and main content. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Iff7f3f14bca8ddfd815ccb1b87dd182c4bfd79ba
2021-12-03Network settings: Edit hostname and MAC addressDixsie Wolmers7-11/+305
Adds modals to edit hostname and mac address per interface. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I45d265c198afd1d9de9bb519a15a74e724f50f55
2021-12-03Network Settings: Add and Delete IPV4 and DNS addressDixsie Wolmers7-22/+484
Adds ability to add or delete static ipv4 and dns addesses per interface. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie143ded2f173dd48f137471a684ba0d35ab0bf69
2021-12-03Network settings redesign - interface settingsDixsie Wolmers8-706/+705
First commit of the network settings redesign: - Adds the global network settings section for DHCP settings - Adds read only hostname, FQDN and MAC address, modal to edit each will be done seperately - Removes interface specific sections to refactor in next commit - Adds tab component to display ethernet data by interface - Ability to edit, delete and add ipv4 addresses and DNS will be done in separate commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ibb1db6894ee697fec9e6ea1b8312d041c61faaad
2021-12-01Correct Dump file extensionGunnar Mills1-1/+1
BMC Dump which is implemented in phosphor-debug-collector uses ".tar.xz" https://github.com/openbmc/phosphor-debug-collector/search?q=.tar.xz The Dump page was incorrectly exporting as tar.gz. Fix this. Change-Id: Id0b64a6e0ae92254484170a77e28a01f78c8d368 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2021-12-01Fix DHCPv4 displayKonstantin Aladyshev1-1/+3
Currently UI DHCPv4 element shows list of DHCP address dictionaries. Instead of showing the whole object as it is, display only the address of the first element in the list. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ifc1d8a2400f5eafba435355c3884c35392f73d74
2021-11-19Fix error in russian translations for the overview pageKonstantin Aladyshev1-1/+1
Add russian translations that were missed in a commit 182b3f1ff44b7319767dcc4c50fe54515602b9fa ("Fix overview error"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I2e9fae49496a5c5f483cd0b8b1e0b635ba78ac8c
2021-11-19Russian translations for the Dimms tableKonstantin Aladyshev1-2/+4
Add russian translations that were missed in a commit 8187678816dee0342b46e6f095324097ea734fea ("Add Dimms table missing properties"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Idf16117c69e05dcd6272a531f95a8ba5152d92f3
2021-11-19Russian translations for the LED pageKonstantin Aladyshev1-1/+1
Add russian translations that were missed in a commit 6225f6492f49313f2cc507f41675d322b739e062 ("Fix server led page title and LED indicator label"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I1958ec0f4f8723081d662e612135e37d1b8b18ad
2021-11-10Show Post Code logs tab on Intel environmentMichalX Szopinski2-0/+14
Add "POST code logs" button to the Intel navigation panel and enable routing to this page. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I707fe51c7c9625697a4b2bfa7398edf07dbf33e5
2021-11-09Fix overview errorDixsie Wolmers4-41/+35
Console errors were related to the power and network card components from https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/46511 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib967229b74462ed8d5c28cbac24c2a2fbfc834c2
2021-11-04Remove Derick from OWNERSDixsie Wolmers1-4/+0
Derick is removed as a maintainer in https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/47315 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ae0ef63d2ee8532e9e7b226e8ee855b7dc45bcd
2021-11-04Remove Derick from the maintainer listDerick Montague1-1/+0
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5ee3ca582e5140ae0af326cdb6eae31d64ed450c
2021-11-04Add GUI Name on Intel environmentMichalX Szopinski1-0/+1
Add VUE_APP_GUI_NAME variable with name to .env.intel. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I0cf56f3f4eb60508a3325b86e52f84711e0757ee
2021-11-04Fix wrong System Manufacturer in Hardware InventoryThang Q. Nguyen1-1/+1
System Manufacturer inside HardwareStatus -> Inventory mistakenly uses assetTag instead of manufacturer. Fix the issue by using item.manufacturer for Manufacturer. Tested: 1. Login to WebUI and check if System Manufacturer shows correctly. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ib856e8b66c49dbb71506f45c4c01dbcb79bea52c
2021-11-04Russian translations for the new overview layoutKonstantin Aladyshev1-24/+22
Add russian translations that were missed in a commit 6a192d526c9efebf7a614a9aa473eee62e555fc5 ("Update overview layout"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id4076918db5a3f28f2444ac735d834cdf18c3e02
2021-11-04Russian translations for the Assemblies schemaKonstantin Aladyshev1-0/+1
Add russian translations that were missed in a commit a02c6f94bd541b07067ac30bab609896b3f6f988 ("Add Assemblies schema to Hardware Status - Inventory and LEDs"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ibcce97ae00b9fdecfadbd69e2b1de681c30e35a4
2021-11-04Remove tableFormatter and use dataFormatter on assemblies tableDixsie Wolmers1-8/+8
tableFormatter was replaced with dataFormatter in a previous commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8d804a635d6773c55e09cb61014f51b74ff9ad5
2021-11-04Add keep-alive option in webpack devServerDixsie Wolmers1-0/+3
When running the UI locally we were running into the issue of getting logged off after logging in because of this change: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/45175 Adding the keep-alive option in the webpack config prevents this. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic82b4aa1a272d8ea900c240fbe5f527ebe2e608d
2021-10-28Add Dimms table missing propertiesSandeepa Singh3-15/+106
- Added the following properties: Model, Description, Spare part number, Location Number, Memory type, Memory size, Identify led - Design has been updated for Dimms table on inventory page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ife61396bd70c29df1b5ea55091adc8c6813b5cdc
2021-10-23Add OWNERS fileManojkiran Eda1-0/+52
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I1b489c5cee509b23d42c8487b2c7354ffee7a84a
2021-10-19Fix server led page title and LED indicator labelMichalX Szopinski2-2/+2
Correcting the page title to fix the header name. Change "System attention Indicator" to "LED light control" Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I212ae368de647b3c716df28674ecba61cfc69db4
2021-10-19Remove extra link in inventory quicklinksDixsie Wolmers1-6/+0
Extra system quicklink was added during the IA update. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9ec10f853e71e7c287392d5462abe25115855f22
2021-10-12Undo the unrelated package changes from the axios updateJason M. Bills1-36/+26
When I pushed the update to axios, the npm commands changed other packages as well. I assumed this was expected but have since been seeing issues with nlf able to get license information. This reverts the non-axios changes from the previous update. Tested: Built and logged into the web UI successfully. Also successfully ran nlf a few times to get node license info. Change-Id: Idc03c1154861ccd493322e226814b20cc988bb00 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>