Commit graph

158 commits

Author SHA1 Message Date
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
0a85319c5e Added search testing
Added test `testSearch`
2020-06-16 22:42:46 -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
11fd640fe5 Fixed download error in testSessionRecordingConf 2020-06-09 13:03:54 -04:00
Benjamin Graham
7592ce8ab0 Adding a semaphore workflow to run CI 2020-06-09 13:03:54 -04:00
Benjamin Graham
fe02babb2f Simplified testing functions
Added helper functions to make tests smaller and less repetative
2020-06-03 12:30:28 -04:00
Benjamin Graham
95c92fd984 Added test for cockpit session display drag
Created testDisplayDrag to test the initialization and effect of
enabling display drag
2020-06-03 10:20:33 -04:00
Benjamin Graham
c4d2ec525b Added test for pause button and config file saving
Added the tests `testPlaybackPause` and `testSessionRecordingConf`
2020-06-03 10:00:11 -04:00
Benjamin Graham
de0b26f1e4 Removed unnecessary calls to wait_timeout 2020-06-03 10:00:11 -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
019f61fda1 Bump cockpit test version from 199 to 219
Calls to `allow_authorize_journal_messages` are no longer needed
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
179fb8c5e6 Use --all journalctl option
journalctl encodes fields with "non-printable" characters,
like unicode control characters, as an array.

This ensures that the tlog MESSAGE field is shown in full using
the journalctl API.
2020-05-28 11:05:46 -04:00
Justin Stephenson
4abce7ae8d Fix Downstream gating test issues 2020-05-26 14:51:37 -04:00
Justin Stephenson
395cbdc2c9 Move code out of deprecated componentWillUpdate()
> warning: Warning: componentWillUpdate has been renamed, and is not
recommended for use. See https://fb.me/react-unsafe-component-lifecycles
for details.

* Move data fetching code or side effects to componentDidUpdate.
2020-04-27 16:49:36 -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
5a6e0beb53 Don't clobber cockpit bots directory 2020-04-21 13:57:27 -04:00
Justin Stephenson
198e49cfff Handle byte-array encoded journal data
Journalctl json output formats field values as JSON strings with the
exception:

  Fields containing non-printable or non-UTF8 bytes are encoded as arrays
  containing the raw bytes individually formatted as unsigned numbers.
2020-04-21 13:53:48 -04:00
Justin Stephenson
564c9c25f7 Fix rpmmacro to resolve correct path on CentOS7 2020-04-21 13:24:20 -04:00
Matej Marusak
ca14ae94ec manifest: Define documentation url 2020-02-03 11:38:06 -05:00
Matej Marusak
4bdbec47fb manifest: Define keywords 2020-02-03 11:38:06 -05:00
Matej Marusak
bd2e75f7ee manifest2po: Parse also docs from manifest 2020-02-03 11:38:06 -05:00
Matej Marusak
adc5913b76 manifest2po: Parse also keywords from manifest 2020-02-03 11:38:06 -05:00
Matej Marusak
7032a2e74f Remove unused 'manifest.json.in' 2020-02-03 11:38:06 -05:00
Justin Stephenson
d2a9be4564 Update parent id in metainfo file 2020-01-13 10:00:41 -05:00
Justin Stephenson
f2e5bc2903 Reset Logs View on Player Rewind 2019-11-07 14:37:57 -05:00
Justin Stephenson
046a1d4cb1 Expand configuration form table width 2019-11-07 14:37:36 -05:00
Martin Pitt
45c8d762a2 Makefile: Update bots target for moved GitHub project
Cockpit bots are in their own project now.

Make the target phony so that `make bots` updates an existing checkout.

Closes #228
2019-09-25 09:15:42 -04:00
Justin Stephenson
e02df0759c Minor spec file fixes
Use @VERSION@ substitution replaced from Makefile.

Remove cockpit-starter-kit example spec file.
2019-09-11 11:15:17 -04:00
Justin Stephenson
7c15858444 Optimize Performance of Slider component 2019-09-11 09:29:45 -04: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
228645236a Update Player CSS for PatternFly 4 2019-08-26 13:17:13 -04:00
Justin Stephenson
cddcb1f40a Replace term.js with xterm.js 2019-08-26 13:17:13 -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
a77896f1c2 Bump Cockpit test API version 2019-08-02 10:09:15 -04:00
Justin Stephenson
3d308cd75d Fix Automated Tests 2019-08-02 09:36:58 -04:00
Justin Stephenson
fa691ce201 Tests: Avoid failure in attempting to add existing tlog user 2019-07-24 15:31:35 -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
e904113eff Fixed spec file 2019-05-30 14:08:11 +02:00
Kyrylo Gliebov
ffeec0bd36 Add playback time 2019-03-07 15:18:02 +01: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
6f6c6b7714 Add error service 2019-03-07 15:18:02 +01:00
Kyrylo Gliebov
0ad6b11ebf Add cockpit dependency 2019-03-07 15:18:02 +01:00
Kyrylo Gliebov
5d51c45aa5 Update README.md 2019-02-18 14:44:41 +01:00