Commit graph

48 commits

Author SHA1 Message Date
Justin Stephenson
7623d95e11 Minor Eslint fixes 2023-07-18 15:07:57 -04:00
Justin Stephenson
4426f62000 Bump PF5 react-{table, tokens} not in starter kit 2023-05-24 10:45:14 -04:00
Justin Stephenson
12ab19bb67 Upgrade to PatternFly 5 Alpha 2023-05-17 11:08:46 -04:00
Justin Stephenson
0089d35bef ESLint error and warning fixes 2023-04-27 14:47:24 -04:00
Justin Stephenson
39a359bffb Remove unneeded tlog UID code
The tlog UID was being set explicitly to ensure journalctl matches
used during tests would find pre-recorded journals. This is no longer
needed as we removed the TLOG_UID filter from the journalctl match
string.
2022-06-09 10:36:25 -04:00
Justin Stephenson
6f5ec24e16 Drop moment.js dependency
Addresses CVE-2022-24785
2022-05-19 14:17:07 -04:00
Justin Stephenson
da32f4f344 Avoid crash in unmount if journal is null 2021-11-17 13:55:10 -05:00
Katerina Koukiou
3244a4c37d Use Page/PageSection/Breadcrumb patternfly components to make the app aligned with the PF design guidelines 2021-11-17 13:05:47 -05:00
Katerina Koukiou
e13c9d1bf3 Fetch pkg/lib automatically from cockpit instead of keeping a local copy
* remove mustache module as it's not used anymore.
* port alert component to react-core as the current code creates a
broken UI
2021-11-17 13:05:47 -05:00
Justin Stephenson
d038d2bd55 Throttle journalctl restarts
This addresses an issue with typeahead search generating a significant
load on the system, a single filter test run can make ~100 calls to
journalctl restart if not throttled.
2021-07-14 23:22:19 -04:00
Justin Stephenson
e504489ab0 Use journalctl --utc for Logs view to handle DST 2020-11-05 09:32:48 -05:00
Benjamin Graham
aa63c3871c Updated UI to use patternfly
* Removed unused css files
* Converted all UI elements to patternfly 4
* Implemented config page under same app
* Replaced slider with patternfly `Progress` component
2020-07-24 12:53:46 -04:00
Benjamin Graham
7d9391da3f Added testing for username and time filtering
Gave search box ids for ease of access, fixed date input bug, and added tests
`testFilterUsername`, `testFilterSince`, and `testFilterUntil`
2020-06-18 10:57:29 -04:00
Benjamin Graham
36173c8b9c Added test for zooming while playing at 16x
Added test `testZoomSpeedControls`
2020-06-16 22:42:46 -04:00
Benjamin Graham
8275cca551 Added log correlation testing
Added `testLogCorrelation`
2020-06-16 22:42:46 -04:00
Benjamin Graham
5283e234a1 Fixed and simplified tests
Gave buttons IDs for ease of access, fixed `fit-to` testing to
better reflect purpose, and fixed occasional timing error in
`testSkipFrame` caused by call overlap
2020-06-03 10:00:11 -04:00
Benjamin Graham
78c850acf3 Fixed timezone issue by searching in client time 2020-06-01 15:15:56 -04:00
Justin Stephenson
6a7f6805d9 Move code out of deprecated componentWillMount()
> warning: Warning: componentWillMount has been renamed, and is not
recommended for use. See https://fb.me/react-unsafe-component-lifecycles
for details.

* Move code with side effects to componentDidMount, and set initial
state in the constructor
2020-04-27 16:49:36 -04:00
Justin Stephenson
f2e5bc2903 Reset Logs View on Player Rewind 2019-11-07 14:37:57 -05:00
Justin Stephenson
feed483646 Make Logs view optional 2019-09-11 09:29:45 -04:00
Justin Stephenson
811b80fa27 Make Logs component a child of Recording component 2019-09-11 09:29:45 -04:00
Justin Stephenson
5348d111c4 Fix journal matching
This allows for retrieving all tlog recordings and fixes
the broken username/hostname filtering.
2019-09-04 14:30:57 -04:00
Justin Stephenson
ac612470bd Fix Recording List Column sorting in Google chrome 2019-08-30 14:36:02 -04:00
Justin Stephenson
849fcd2d49 Fix Content header CSS for PatternFly 4 2019-08-28 12:08:25 -04:00
Justin Stephenson
229671f485 Journal fixes
Handle journal entries that may not contain the _EXE field.
2019-08-14 09:37:42 -04:00
Justin Stephenson
142dd4fb6a Fix hostname and username filters
Modify the default journalctl matches allowing correct behavior(logical AND)
of the appended _HOSTNAME and TLOG_USER filters.
2019-07-19 10:04:47 -04:00
Kyrylo Gliebov
66998cafa8 Add Search 2019-03-07 15:18:02 +01:00
Kyrylo Gliebov
09039778c2 LogsView bugfix 2019-03-07 15:18:02 +01:00
Kyrylo Gliebov
1b32b0c0ce Add missing localization strings 2019-01-14 13:06:58 +01:00
Kyrylo Gliebov
20138d3e83 Timezone bugfix 2019-01-14 13:06:58 +01:00
Kyrylo Gliebov
91877b0570 systemd-journal-remote use case update 2019-01-14 13:06:58 +01:00
Kyrylo Gliebov
0f37e525d7 Fix Logs view 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
75e3f0f4d3 Change to React.Fragment 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
e2a6b5ee81 Switch to Slider instead of ProgressBar 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
1feb78fab7 Recording page refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
f69b9c1887 Config page refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
460b044720 Simplify Hostname 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
c51610e22e Datetimepicker refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
adc8159def Add Hostname filter conditional rendering 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
300a896483 Datetimepicker refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
39778968b3 Hostname and Username filters refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
2118f9e212 Refactoring 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
1abe64fe0c Rebase and migration to full React instead of react-lite 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
0ce08a4420 Fix Config path 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
0852de4222 Fix InputPlayer 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
ea3eb80c07 Add correlated Logs view 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
b1a44e337a Add Hostname filter and column 2018-10-10 17:59:55 +02:00
Kyrylo Gliebov
a20e3c5a81 Session recording module for Cockpit initial commit 2018-10-10 17:59:55 +02:00