Age | Commit message (Collapse) | Author | Files | Lines |
|
If the user switches pages between the KVM and Virtual Media pages
after the session has expired, it won't redirect to the login page.
So I have added the system redfish API call in the create method to
check the session timeout status. If the session is expired, the API
call will get a 401 status, and WEBUI will be redirected to the
login page.
Change-Id: I069768ee0cef41afb4e6aa770bb8bec6565a16bd
Signed-off-by: Kirankumarb07 Ballapalli <kirankumarb@ami.com>
|
|
Nikhil has contributed to webui-vue and continues to give review
feedback.
https://gerrit.openbmc.org/q/owner:a.nikhil%2540ibm.com
Change-Id: Id0bcbf82e17fcf8204a13468572fa21b40ba6ad1
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
There is no validation handle before checking the page title name
from the router. Which causes the pre-commit script to through error.
This patch set will handle this scenario and fix the break.
Change-Id: I5aed3bfeba643c2eb2b2753bf8f6d984b5100361
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
Problem : "handleSubmit" called on clicking Ok button implicitly as
well by the form
(<b-form id="generate-csr-form" novalidate @submit.prevent=
"handleSubmit"), due to this,
redfish API POST /redfish/v1/CertificateService/Actions/Certificate
Servi
ce.GenerateCSR
sent two times when "Generate CSR" button clicked,ideally redfish API
needs to be sent only once
This leads to failure of the second redfish API.
Steps to Reproduce Issue:
1. Go to 'Login->Security and access->Certificate->Generate CSR fill
the form
2. Click on 'Generate CSR.'
3. Scroll down to 'More Tools->Web Developer Tools->Network tab'
4. Two POST /redfish/v1/CertificateService/Actions/CertificateService.
GenerateCSR are sent
Solution: The issue can be fixed either by deleting the Ok button click
event listener or deleting
the (@submit.prevent="handleSubmit"). I have used later one, which is
small change as well does not
alter the code much
Tested : I did manual testing and observed that two POST requests
are no longer sent
Reference : https://softauthor.com/vuejs-prevent-form-submission/
Signed-off-by: Chandra Harkude <chandramohan.harkude@gmail.com>
Change-Id: I8736e597d2fe70aef438779667475426837d2c67
|
|
When the SOL console is opened in a new window, the status of the SOL
connection is displayed as "disconnected." And the error message is
displaying, "The system must be powered on to connect."
I have added this patch to get the systems API call to get the server
status when SOL is opened in a new window.
Change-Id: I971947fea0980605d400d46bb1e18b2d20164602
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
Utilize '#LogService.ClearLog' action to provide a possibility for the
user to clear POST code logs.
Change-Id: Iadd94b9ebc93bc81b13ee979962103587c939fc7
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
|
|
Description:
When KVM is opened in new window, after WEB UI is logged out,
opened KVM window is not getting closed. It remains opened and
accessible.
Root Cause:
There is not handle to close the KVM new window after the WEB UI
logged out.
Fix:
Added the KVM window opened information in store, and checked that
information to close the window.
Tested:
Step 1: Login to WEB UI
Step 2: Navigate to Operations -> KVM
Step 3: Open KVM in new window
Step 4: Click Logout in WEB UI
Result:
After successful log out, KVM new window is closed as expected.
Change-Id: Iab8e54d3088a08fb0ae9b581b2647fc0ab5460bd
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
- DHCP toggle for enablement was not present, It is now added in
the Networks page.
- DHCP when enabled, if there is no address, it picks up an address on its own.When it is disabled, we need to manually configure it.
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com>
Change-Id: I32a9e0df28e6609945f3757a6bd69dc66a86f480
|
|
I use this patch to convert all values into the
format <Description>:<Value><Unit of Measure>.
I put the units of measure in a separate
localization area in order to use them in
the sensor page in the future.
Change-Id: Ic6554860c4185bc4d681a97205051799c6637b5c
Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
|
|
Showing error message if uploaded certificate is incorrect
Signed-off-by: Damian Celico <damianx.celico@intel.com>
Change-Id: Ifa034e663329e4841ff5c68f6171ce71739a6d13
|
|
On the sensor page and user management page, some of the strings are
not getting translated to the selected language.
I have added this patch to add the multiple language strings to the
missing strings.
Change-Id: I03ca43bb81708f85e913e39c6dfa24ab7f3de876
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
Log in and log out of the application, change the language, and login
to the application. The heading and title are in the previous language
translation is handled in the router, and the languages are selected
after the router has rendered.The page title and heading translation
are handled after the language is selected.
Change-Id: Iba42fe3a535fe0b402f551c3f43e19d5ff12181d
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
Bug description:
Before this commit there was an endless loading
on blue bar when user entering to the Overview.
Problem was missing `if` statement
after what that promise wasn't be able to finish.
Test:
Step1. Launch webui on browser and see Overview page.
Step2. Wait a while. Blue loading bar finished pulsing.
Change-Id: I2ea3b6f125ca24fcefeea8020c4a903ea018f4f7
Signed-off-by: Konstantin Maskov <sulwirld@gmail.com>
|
|
Add myself to the reviewer list so I can become a maintainer one day.
Change-Id: I00ed700c35ba9771a368ea6528e0f74942f028fe
Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Change-Id: Id9bbacb752c142f712e4e5e752b74c5bac848d81
Signed-off-by: wangqi02 <wangqi02@inspur.com>
|
|
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
|
|
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
|
|
Dixsie is moving to another project.
Thank you Dixsie for all your work on the project!
Change-Id: I0d0a0127d83247a5b25c0f75a19e0b01462dd4e5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
Sandeepa has made many contributions to webui-vue.
https://gerrit.openbmc.org/q/owner:sandeepa.singh%2540ibm.com+status:merged
If others are interested in maintaining or being a reviewer and feel
they have the experience please push a commit.
Change-Id: I2a31b33d79aae3d9fc43d37756ee16d115df7f7c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
The OWNERS file has replaced the function of the MAINTAINERS file.
Tested: Documentation only.
The same change to bmcweb here:
https://github.com/openbmc/bmcweb/commit/3862cb1ddae1d44e41331c896d53d6852f545286
Change-Id: I5d995075f1d521170e37e9be09f5d5747dad7b1b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have the correct field.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic540dac119b1b09b5f075c4623afb5adc39b1bde
|
|
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
|
|
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>
|
|
Add missing "model" mapping on "Hardware status" tab in chassis
section.
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com>
Change-Id: I9a6bd4a7e4fbaaac72aa8d59cc065ba0bea040bd
|
|
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
|
|
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
|
|
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: If7632ef07a91424e684bdba847855ef441f7483b
|
|
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
|
|
- 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
|
|
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
|
|
Add russian translations that were missed in a commit
b86f4152ba832ba92a2607c30037d5f818058120
("Missing Overview information").
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I93166e94881b8b6db8fbf046df9e0eb331cf977a
|
|
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
|
|
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
|
|
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
|
|
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
|
|
- Add busy prop to tables
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com>
Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195
|
|
Added 'BMC date and time' which was displaying as 'BMC time'
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com>
Change-Id: Ie5b63d942b08c52a2b78a91c95624874c299d3da
|
|
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
|