/*/po.js is deprecated in the Cockpit bridge, po.js is how one normally
loads translations. Cockpit-bridge will figure out the correct
translations to return.
Fedora 37's rpmspec changed behaviour: `-q` now shows the source RPM
name instead of the binary one. `--srpm` and `--rpms` don't influence
this behaviour any more. So get along with both variants.
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.
Fixes these `npm install` warnings:
> deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
> deprecated eslint-loader@4.0.2: This loader has been deprecated. Please use eslint-webpack-plugin
Cherry-picked from starter-kit commit 0e608d562a
For consistency with the already xz'ed node tarball.
Rename the oddly named `dist-gzip` target to the standard `dist`.
Cherry-picked from starter-kit commit 4ca75f143c
npm 7 changed how it resolves dependencies, and cockpit-machines fails
to build with lots of unresolved peer dependencies of PatternFly.
With an absolute path, `resolve.modules` will only look in that
directory; the default is a relative path "node_modules" that just
works [1]. We need to keep the `$SRCDIR` support, but convert the path
to a relative one to keep the old recursive search behaviour.
This magically fixes the label alignment in dialogs, update the pixel
test references accordingly.
[1] https://webpack.js.org/configuration/resolve/#resolvemodules
See also a117600dff
node-sass is a compiled ELF module, which is problematic for
distributions that want to rebuild everything from source. The sassc CLI
program is packaged everywhere, and both use the same libsass library.
So drop node-sass and replace it with sass which is also what cockpit
and other external plugins are using.
Port alerts in PF-react-core and fix missing icons in alerts
Add configuration functionality to allow sssd exclude_users, and
exclude_groups configuration options. These options are only
applicable when scope=all. Refer to man sssd-session-recording(5)
Cockpit can have multiple pages opened at the same time. This is
handled through iframes. When switching between pages we need to tell
tests that we will be now working with different iframe.
Before this test was checking `b.wait_present("#app")` in `/apps` page
and not in `/session-recording` page.
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.
testAppMenu navigates to the Applications menu before connecting to the
Session Recording page.
Update to semaphone job config to add cockpit-packagekit for Fedora 32
and Centos 8
* Removed unused css files
* Converted all UI elements to patternfly 4
* Implemented config page under same app
* Replaced slider with patternfly `Progress` component