494c6edb | 18-Mar-2020 |
Tim Lee <timlee660101@gmail.com> |
Fix "Clear Oem Logs" functionality in System Logs
Issue Symptom: 1. "Clear Oem Logs" button didn't show on webui when type select to "Oem". 2. "Clear Oem Logs" button was showed on then pressed with
Fix "Clear Oem Logs" functionality in System Logs
Issue Symptom: 1. "Clear Oem Logs" button didn't show on webui when type select to "Oem". 2. "Clear Oem Logs" button was showed on then pressed with fix, but the function didn't work correctly. Event logs were deleted instead of Oem logs.
Root cause: 1. getSystemLogs() always get Event logs by default no matter type be selected to "Oem". 2. clearSystemLogs() always clear Event logs by default no matter type be selected to "Oem".
Solution: 1. According "recordType" to get Oem logs from uri: '/redfish/v1/Systems/' + DataService.systemName + '/LogServices/Crashdump/Entries' 2. According "selectedRecordType" to clear Oem logs by action: uri = '/redfish/v1/Systems/' + DataService.systemName + '/LogServices/Crashdump/Actions/LogService.ClearLog'
Modified files: webui/app/common/services/api-utils.js webui/app/server-health/controllers/syslog-controller.html webui/app/server-health/controllers/syslog-controller.js
Tested by: 1. In WebUI/Server health/System Logs, select system log type as "Oem", then click "Clear Oem Logs" button. The Oem logs (CPU Crashdump log) all were deleted. 2. Select system log type as "Event", then click "Clear Event Logs" button. The System Event Log all were deleted.
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2a3d42a61f53df84b88585cf7c65a10688eaef05
show more ...
|
86c0b94b | 08-Oct-2019 |
Derick Montague <derick.montague@ibm.com> |
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Si
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib25c28c72285fa214f75258b0b09790d52bb6cc1
show more ...
|
ee78862d | 02-Oct-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add searchable properties to event log filter
The current event log search doesn't match inputs like the event id, severity or priority. This commit will add additional searchable log properties to
Add searchable properties to event log filter
The current event log search doesn't match inputs like the event id, severity or priority. This commit will add additional searchable log properties to the search filter so users can enter search terms like 'High' or 'Error' or other visible keywords.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I569112468a9f97034449799f407137f1651cec16
show more ...
|
4b366b5a | 24-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
show more ...
|
db1e89ed | 09-Sep-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Fix filter bar clear filter button
Makes filter button screen reader friendly and accessible.
- Adds icon directive for close icon - Adds button type - Icon is aria-hidden and uses an aria-label at
Fix filter bar clear filter button
Makes filter button screen reader friendly and accessible.
- Adds icon directive for close icon - Adds button type - Icon is aria-hidden and uses an aria-label attribute with the value set to clear filter
Tested: - Filter inputs clear on close button click
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ifcbe603c2771156fe7a03359b144e0a0acd5e3f1
show more ...
|
30d7c637 | 31-Jul-2019 |
Derick Montague <derick.montague@ibm.com> |
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC infor
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available
Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@ibm.com>
show more ...
|
1f690f3e | 23-Jun-2019 |
Derick Montague <derick.montague@ibm.com> |
Fix sensors table header and body alignment
- Update markup to use semenatic table - Update table to flex based layout to support responsive table design
Tested: Small screen and large screen lay
Fix sensors table header and body alignment
- Update markup to use semenatic table - Update table to flex based layout to support responsive table design
Tested: Small screen and large screen layout in Chrome, Firefox, and Safari. Safari has issues with the sticky header, which is an acceptable trade off and meets cross-browser standards.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I8ea323e45a2659562f229d4fd6d4e53887664cad
show more ...
|
c86ce3c9 | 05-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive.
- All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
show more ...
|
e4194ce0 | 24-May-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add remote logging server
Remote logging enables the user to configure a remote server to stream out local logs. This feature will be available on the Event Log page. The user can add a remote serve
Add remote logging server
Remote logging enables the user to configure a remote server to stream out local logs. This feature will be available on the Event Log page. The user can add a remote server, edit/change an existing server configuration and remove/disable the remote server.
Resolves openbmc/phosphor-webui#68
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8284cbdbdaaf85f5c95f237efc72290c66904b40
show more ...
|
615a2f89 | 17-Apr-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Revert "WebUI: Sensors page modifications"
This reverts commit 2f481e4cb83f0c72a9f3aad11431e4abcf5d632c.
"/xyz/openbmc_project/sensors/power/" sensors (e.g. p0_vcs_power) and "/xyz/openbmc_project/
Revert "WebUI: Sensors page modifications"
This reverts commit 2f481e4cb83f0c72a9f3aad11431e4abcf5d632c.
"/xyz/openbmc_project/sensors/power/" sensors (e.g. p0_vcs_power) and "/xyz/openbmc_project/sensors/current/" sensors (e.g. p0_vcs_current) are no longer on the GUI Sensors Page.
Since all sensors do not map to Thermal or Power, the SensorCollection, /redfish/v1/Chassis/{ChassisId}/Sensors, needs to be implemented before we move the GUI sensors page over to Redfish.
The SensorCollection contains all sensors not covered elsewhere in the model.
The SensorCollection will contain all sensors under /current and all non-powersupply sensors under /power.
IBM is planning on working on the SensorCollection, it will be sometime before the code is in because of this, reverting moving the GUI sensor page over to Redfish.
Apologies on not catching this in the review.
For more information see: https://redfishforum.com/thread/190/sensorcollection-contain-all-sensors-chassis https://redfish.dmtf.org/schemas/SensorCollection.json
Tested: The current and power sensors are back on the Sensor page. Change-Id: Ia818fc05b49a8181b71f8756a6066c27e94dc46e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
1ffa209e | 01-Apr-2019 |
Derick Montague <derick.montague@ibm.com> |
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definiti
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers
Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes.
Resolves openbmc/phosphor-webui#76
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
show more ...
|
2f481e4c | 29-Jan-2019 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI: Sensors page modifications
Modified sensors page to use Redfish as backend. Also added threshold sensor values in page view.
Tested By: Loaded webui page and tested all operations. - Sens
WebUI: Sensors page modifications
Modified sensors page to use Redfish as backend. Also added threshold sensor values in page view.
Tested By: Loaded webui page and tested all operations. - Sensors page load and layout. - Search Filter and Severity filters. - Export functionality.
Change-Id: Ic799453ffcd17e9a69e073a12173b4e97a928458 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
a2e36e0f | 31-Dec-2018 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI: Adding Filters support to system logs
Adding Filter support to system logs page - Severity filter. - Date filter with start and end date. - Filter by Sensort Type.
Tested By: Loaded Sys
WebUI: Adding Filters support to system logs
Adding Filter support to system logs page - Severity filter. - Date filter with start and end date. - Filter by Sensort Type.
Tested By: Loaded System logs page with type selection 'Event' and check all filters.
Change-Id: I41eba4cd59c0f3c2933637bf0e207a3eca3214f1 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
b1289ec9 | 14-Nov-2018 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI system logs implementation
This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log
WebUI system logs implementation
This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log services. - View logs with pagination. - Search filter for logs view. - Sort option with Type, Id, Severity, Date. - Clear logs. - Export logs.
UnitTest: - Existing bmcweb send the system logs of EntryType "Event". So Loaded UI, selected Type "Event" and validated all the above mentioned operations.
Change-Id: I0384e475f7913ca66b6db5d64831583fb382f8d5 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
dde251d5 | 13-Mar-2019 |
beccabroek <beccabroek@gmail.com> |
Checkbox disabled when 0 event logs
The 'select all' box on event log page should be disabled when there are no event logs presented to the user. Also adds a message to the user when there are no lo
Checkbox disabled when 0 event logs
The 'select all' box on event log page should be disabled when there are no event logs presented to the user. Also adds a message to the user when there are no logs or there are no logs with their selected filters applied.
Resolves openbmc/phosphor-webui#44
Tested: Checked that correct user message appears when there are no logs and when the logs are all filtered out. Also that when there are no logs presented to the user, the select all box is disabled.
Change-Id: I3106426a72d2148a323ceed978bcdd5515096e2b Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
129779dd | 14-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Fix inventory dropdown
Dropdown on hardware page was cutting off text. Changes styling so that table is in line and all information is displayed as expected. If information exceeds dropdown size, a
Fix inventory dropdown
Dropdown on hardware page was cutting off text. Changes styling so that table is in line and all information is displayed as expected. If information exceeds dropdown size, a scroll bar appears.
Tested: Appears to be displaying correctly using Chrome, Firefox and Safari.
Change-Id: Ib1531c59865a7d7bf4ea1ded7277702e9cd53b8b Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
edf1ab46 | 15-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being a
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being applied. For example, <h2 class="h4">
Tested: Ran GUI locally and verified that headers look consistent and have the appropriate sizing while using Chrome, Firefox and Safari.
Change-Id: I187136298ed2bfd36c40c2b80d5a4f20947cbe56 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
97280b3e | 16-Nov-2018 |
Iftekharul Islam <iffy.ryan@ibm.com> |
Fix table header
Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button.
Resolves openbmc/phosphor-webui#28
Change-Id: If9b8b0848169b5924b811e67588
Fix table header
Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button.
Resolves openbmc/phosphor-webui#28
Change-Id: If9b8b0848169b5924b811e67588ff57c8dae7c5c Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
show more ...
|
7e48d081 | 23-Jan-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Fix error log resolve
logging/entry/<entryId>/attr/Resolved is a boolean as such send true when resolving.
Before the function was always returning successful, fixed this and log to the console whe
Fix error log resolve
logging/entry/<entryId>/attr/Resolved is a boolean as such send true when resolving.
Before the function was always returning successful, fixed this and log to the console when it fails.
Tested: Resolved multiple error logs and see the fail in the console on a fail. Change-Id: I60496f30f9241ffb6b6b73cf87b7481bea10b24f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
0b0e26de | 15-Nov-2018 |
Iftekharul Islam <iffy.ryan@ibm.com> |
Make actions visible in a disabled state
In event log page, main actions are made visible all the time in a disabled state. Once select a log item is selected, the corresponding actions become activ
Make actions visible in a disabled state
In event log page, main actions are made visible all the time in a disabled state. Once select a log item is selected, the corresponding actions become active.
Resolves openbmc/phosphor-webui#26
Change-Id: Idd7dced5984b7d103a706abc12c1e4889710d420 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
show more ...
|
dbf04811 | 16-Nov-2018 |
Alexander Filippov <a.filippov@yadro.com> |
fix date/time representation in national locales
Added "localeDate" filter to present date and time in preferred format: - the date will be displayed as: 'Dec 3, 2018' - the time will be displayed
fix date/time representation in national locales
Added "localeDate" filter to present date and time in preferred format: - the date will be displayed as: 'Dec 3, 2018' - the time will be displayed in locale preferred format. - the timezone will be displayed as abbrev or GMT+/-offset.
At the 'Date and Time setting' the time zone name will displayed in long format if it is possible.
All text parts of date/time representation will be in English.
Resolves: openbmc/phosphor-webui#42
Change-Id: I2fdbb47c62dfc5000039b0c00a20f64a9a389fc6 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
show more ...
|
ce1e9f99 | 15-Nov-2018 |
Iftekharul Islam <iffy.ryan@ibm.com> |
Present number of sensors available
- Following the same pattern as event logs where number count of items are visible all the time
Resolves openbmc/phosphor-webui#29
Change-Id: I1c79c72f9a
Present number of sensors available
- Following the same pattern as event logs where number count of items are visible all the time
Resolves openbmc/phosphor-webui#29
Change-Id: I1c79c72f9afa98eb834a4504543ed88e3973f034 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
show more ...
|
84e114a4 | 14-Nov-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Move to Bootstrap 4
Bootstrap < 4.1.2 has the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-14041
Removed bootstrap-theme.css due to "Replaced the separate optional theme with configurab
Move to Bootstrap 4
Bootstrap < 4.1.2 has the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-14041
Removed bootstrap-theme.css due to "Replaced the separate optional theme with configurable options via SCSS variables (e.g., $enable-gradients: true)."
Added "width: 100%" to a few places where width 100% was no longer getting inherited. Moved a few elements and adjusted styles to get the same look as before.
See https://getbootstrap.com/docs/4.0/migration/ for more information.
Tested: Manually on a Witherspoon. Change-Id: I0a72665ac1ca6eacd0b553a585b1fb15e14ae62c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
569ccf66 | 29-Oct-2018 |
beccabroek <beccabroek@gmail.com> |
Display log events in user time
Allows user to display events in their timezone or in UTC. Previously allowed either ETC or UTC, but listed ETC as 'user timezone'. Updates date time page from GMT o
Display log events in user time
Allows user to display events in their timezone or in UTC. Previously allowed either ETC or UTC, but listed ETC as 'user timezone'. Updates date time page from GMT offset to UTC offset for overall consistency. Also updates overview page to list critical events in user timezone
Resolves openbmc/phosphor-webui#36
Tested: changed timezone settings locally and validated that correct timezone and UTC offset was presented in the UI.
Change-Id: I89ca5045eeb789527aa07f5b1baebaa3fbd6b1fa Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
5f0b7767 | 25-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Remove tabs from HTML files
From https://google.github.io/styleguide/htmlcssguide.html "Indentation Indent by 2 spaces at a time.
Don't use tabs or mix tabs and spaces for indentation."
Tested: Ma
Remove tabs from HTML files
From https://google.github.io/styleguide/htmlcssguide.html "Indentation Indent by 2 spaces at a time.
Don't use tabs or mix tabs and spaces for indentation."
Tested: Manual regression testing on a Witherspoon. Change-Id: Ief7137dabc869b73b73f9947337fbb0abb5ca497 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|