summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-02-08Enhanced User Management page error messageSivaprabu Ganesan5-5/+38
Description 1: When WebUI creates the user with an already existing username the error message will display the exact failure reason. Tested: Step 1: Login to webUI and navigate to user management page Step 2: Create new user with username "testUser1" Step 3: Create another user with same username "testUser1" Step 4: WEB UI will through the error message as "Username 'testuser1' already exists." Description 2: User can able to disable and change the root user via WebUI Now restricted to disable the root user and changing the root user privilege. Tested: Step 1: Login to Web UI with root user Step 2: Navigate to User management page Step 3: Try to modify the root user's details Step 4: WebUI won't allow to disable the user, username change and privilege change Step 5: Login Web UI with non-root user Step 6: Web UI won't allow to modify or delete the root user's details Change-Id: I0e38215b51fb058984664ec38ae9613e18043ed7 Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
2023-02-02Fixed sensor mismatch issue with IPMI and redfishkirankumarb071-17/+18
Description: The sensor count in WebUI is mismatched when compared to IPMI and REDFISH responses. When Web UI is iterating the sensor response property, the iteration is stopped when the key value is undefined. As a result, the sensor details in the web UI are incorrect. So added the code changes to check the property value in every iteration, whether the value is present or not. Tested: Step 1: Login to WEB UI Step 2: Navigate to Hardware Status and Sensors Step 3: Check the sensor details with IPMI and redfish response Step 4: All the sensors and those details in the IPMI and redfish response are listing in Web UI Change-Id: Icf5098b3dd2413851e755d9ede17a8501cbb7411 Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
2023-01-25Added encodeURIComponent to CSR certificateSivaprabu Ganesan1-2/+5
Description 1: Downloading the CSR certificate data value without encodeURIComponent function is not supported in Firefox So added the encodeURIComponent function to download the csr certificate Tested: Step 1: Launch WEBUI on firefox Step 2: Navigate to Security and access, Certificates Page Step 3: Generate and Download CSR certificate (KeyPair Algorithm - EC and Key curve id - secp521r1) Step 4: After CSR Downloaded, copy the downloaded file to any of the linux machine Step 5: Try to create an https/ldap certificate via openssl on linux machine Result: Able to download the CSR certificate successfully and able to create https/ldap certificate via openssl Description 2: While downloading the generated csr via Web UI, the csr file is getting downloaded as ".txt" file but it should download as ".csr" file So changed the extension to ".csr" Tested: Step 1: Login to Web UI. Step 2: Navigate to Security and access, Certificates Page Step 3: Click Generate CSR Button and fill the required details Step 4: Click Generate CSR from the popup modal. Step 5: After CSR Generated an prompt will open and it will show download and copy option. In that select download, the csr certificate will download with ".csr" extension Change-Id: Ice176006a95afd53845d7696ce0eac88f02b1096 Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
2022-12-19Fix SOL statusglukhov.mikhail1-8/+11
Only when the host is turned off should the status be "Disconnected". For other host states, the SOL status should be Connected. Test: enabled my host in DiagnosticMode. Now SOL status is "Connected", before the patch it was "Disconnected Signed-off-by: glukhov.mikhail <mikl@greenfil.ru> Change-Id: I000b181f71d7ee5bd243a3c6a6d03ea7a9ea0ef7
2022-12-19Removed the MemorySizeGlukhov Mikhail4-12/+3
Removed the MemorySize field for DIMMs, because it is missing in Redfish ``` https://www.dmtf.org/sites/default/files/standards/documents/DSP8010.zip ``` Change-Id: I12f37a601e429060765960f3c66b5249b84eabe7 Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
2022-12-08prettier: re-formatPatrick Williams3-2331/+2331
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository. Change-Id: I2804ee3ab5ff6bcbf986b028db2fafec8e616779 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2022-11-11Display DIMM identify LED element only if LED is presentKonstantin Aladyshev1-0/+5
If identify LED for the DIMM module is not present, don't display control element for it. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I30f7e3ad9333874bbeb2050c421baf509bb833fc
2022-11-10Fix In-page "Refresh" button doesn't update sensor readingswangqi021-1/+1
The reason for this problem is uniqBy always keep the first one when removing repetition Resolves: https://github.com/openbmc/webui-vue/issues/60 Change-Id: Iec87d7845e694b0f2a14de4061ae113eac492fc0 Signed-off-by: wangqi02 <wangqi02@inspur.com>
2022-11-08Added correct diagnostic mode displayglukhov.mikhail3-0/+8
Before the patch, the diagnostic mode was displayed as "Not available", after the patch "Diagnostic mode". Test: in the console run the command "busctl set-property xyz.openbmc_project.State.Host \ /xyz/openbmc_project/state/host0 \ xyz.openbmc_project.State.Host CurrentHostState \ s "xyz.openbmc_project.State.Host.HostState.DiagnosticMode". open the "Server power operations" page, check the Server status Signed-off-by: glukhov.mikhail <mikl@greenfil.ru> Change-Id: I90d04e05188eb92c4c4b38fe578ae36db0424b5c
2022-10-24Add env variable toggle event logs delete buttonDamian Celico1-16/+28
Delete button in event logs page is shown or hidden based on the enviroment variable VUE_APP_EVENT_LOGS_DELETE_BUTTON_ENABLED Signed-off-by: Damian Celico <damianx.celico@intel.com> Change-Id: I10a46f5ef147865f954e6f94bcefec5c280ad3ea
2022-10-19RU: Server manufacturer and Firmware version on Overview tabKonstantin Aladyshev1-0/+2
Add russian translations that were missed in a commit 112dbb266e659e252e42f2230ddb4a80a467da20 ("Server manufacturer and Firmware version on Overview tab"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I17994d86f10a3bd860d493af7045214aa3c66800
2022-10-19RU: Check certificate file extensionKonstantin Aladyshev1-1/+2
Add russian translations that were missed in a commit 31fb2b96a58492c3214197685787f42f305a42ad ("Check certificate file extension"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I99facf93497cc62326638db79bdd6a4930b857d7
2022-09-26Server manufacturer and Firmware version on Overview tabMichalX Szopinski3-14/+38
Add "Server manufacturer" and "Firmware version" to "Server information" card in Overview tab. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: If02516b1b721920f83c5fe42a7c5e79fbb1825ca
2022-09-26Check certificate file extensionDamian Celico2-8/+25
Checking the file extension type of uploaded certificates to redfish. Sends the file only if the file type is correct, otherwise shows error. Signed-off-by: Damian Celico <damianx.celico@intel.com> Change-Id: Idfc790bc8967333aed66c5c128334af4231dbea3
2022-06-10RU: Update SOL console page alert messageKonstantin Aladyshev1-0/+3
Add russian translations that were missed in a commit 1d9257e5a355bbc0540b70ab2b2d9a17dea6d986 ("Update SOL console page alert message"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I71219d8d9ac4cc7cd86ef8911863a216f2bbbee9
2022-05-11Revert "Filtered the IP address to IPv4 on sessions page"Jiaqing Zhao1-5/+1
In bmcweb/41d61c8 ("Convert IPv4-mapped IPv6 ClientIP back to IPv4"), bmcweb automatically converts IPv4 addresses to IPv4 format, workaround in webui-vue is no longer needed. The original patch also brings issue with displaying IPv6 addresses in Sessions tab. This reverts commit d902aa7b4f98b49d2a20ad8253bc15afd77e9349. Tested: Both IPv4 and IPv6 addresses are displayed correctly in Sessions. Change-Id: Ib56398de51526ee72168b5bf8427278bcb6f9c17 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
2022-05-03Add missing Model mapping to Chassis StoreMichalX Szopinski1-0/+2
Add missing "model" mapping on "Hardware status" tab in chassis section. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I9a6bd4a7e4fbaaac72aa8d59cc065ba0bea040bd
2022-03-09SOL: fix socket close exceptionXiaochao Ma1-9/+17
When the sol page is opened, a socket is opened; when the sol page is closed, the socket is not closed (console print is also exception). It only closes when you log out. Fix this condition to 'close socket when SOL page is exited'. test: Enter the SOL page-->console print'websocket console0/ opened' -->close the SOL page -->console print'websocket console0/ closed. code: 1000 reason: ' Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I0f406c2085aec303d6e5139d57b31ed6f244a155
2022-02-22Removed alert message from Update firmware componentKenneth Fullbright1-14/+1
There shouldn't be an alert message in the update firmware component. - Took away the alert from the Update firmware component. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I1ab97fbba39fb2d7639707cceaf75b71531fa971
2022-02-14en-US: Fix typos in translation for Key clear pageKonstantin Aladyshev1-8/+7
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: If7632ef07a91424e684bdba847855ef441f7483b
2022-02-14Unable to Delete dumps and incorrect toast messageNikhil Ashoka1-1/+5
Unable to delete all dumps and displaying incorrect event log delete message Able to delete all the Dumps Approriate message is displayed in toast after deleting Event logs Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I1169bcd8e6308d50baf5c7ddcab5c511edcbc875
2022-02-12Update SOL console page alert messageNikhil Ashoka2-0/+19
- if the status of the SOL console is disconnected, an alert message will be displays that System must be powered on to connect Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I4cdf99954f3a4e129404facf2992dadf63e62f70
2022-02-08RU: Re-modeled Power restore radio buttonsKonstantin Aladyshev1-0/+5
Add russian translations that were missed in a commit 2b33ec2cd523cc48c40977b31a13c2ce925f58c5 ("Re-modeled Power restore radio buttons"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I77a2be270df4401748eab14be6468964530ac560
2022-02-08RU: Missing Overview informationKonstantin Aladyshev1-1/+1
Add russian translations that were missed in a commit b86f4152ba832ba92a2607c30037d5f818058120 ("Missing Overview information"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I93166e94881b8b6db8fbf046df9e0eb331cf977a
2022-02-08RU: Add Key clear page under Operations sectionKonstantin Aladyshev1-2/+36
Add russian translations that were missed in a commit 2b33ec2cd523cc48c40977b31a13c2ce925f58c5 ("Add Key clear page under Operations section"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ib2b144524aa5cc497b1597103816981da41210b3
2022-02-08RU: Security Panel add additional featuresKonstantin Aladyshev1-3/+14
Add russian translations that were missed in a commit aee27141f4c002306e9a4bf44dc4f9618a5fae62 ("Security Panel add additional features"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I4d84c8d41ce6c7cf6c68b4c6987f433f10b9f75a
2022-02-07RU: Add values to system inventory tableKonstantin Aladyshev1-1/+3
Add russian translations that were missed in a commit 18cde3ce0c1b2f99e94f5cef66661adcb22ba8f7 ("Add values to system inventory table"). Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I8d15317dd3d7acefbd0a0905643476c480e24c76
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 Singh10-29/+240
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-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