Makefile: Update Cockpit lib to 6d478ad51585d9d7f8c4567c155bd641 #102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allison Karlitskaya (94):
test/static-code: quiet superfluous ruff messages
test/static-code: add support for typescript
pkg/lib: rename hooks.js to hooks.ts
test: lcov: add coverage for ts/x files
base1: add cockpit.assert()
pyproject: enable 'preview' ruff rules
test/static-code: drop flake8
test: support typescript on qunit tests
base1: drop cockpit.get_byte_units() API
test: add f`` tagged template string helper
cockpit.js: add new number formatting API style
test: port test-format to typescript
test/static-code: speed up JSON validation
pywrap: simplify bots python path
tools: rename vulture(- → _)suppressions
tap-cdp: fix a case of module shadowing
test/common/init.py: drop this file
testlib: drop todoPybridge decorator
various: many typing-related fixups
test/static-code: copy mypy setup from bots/
pkg/lib: change API of upload helper to Blob
testlib: fix Pillow type annotations
pkg/lib: port form-helper component to typescript
cockpit.js: make access to Gid field conditional
pkg/lib: allow null messages on form-helper component
pkg/lib: port context-menu component to Typescript
typescript: enable --exactOptionalPropertyTypes
test/static-code: make mypy deps configurable
pkg/lib: make the upload-helper WebKit-compatible
pkg/lib: add 'fsinfo' client library
pkg/lib: fix context menu component popdown
pkg/lib: Port various components to TypeScript
cockpit.d.ts: advertise cockpit.transport
pkg/lib: port WithDialogs/useDialogs to TypeScript
pkg/lib: add
Dialogs.run()
pkg/lib: remove wasOutside check from context menu
cockpit.js: move is_negative() closer to its one user
cockpit.js: split helper functions to new file
pkg/lib/_internal/common.js: remove some old compat code
pkg/lib/_internal/common.js: simplify iterate_data()
pkg/lib: rename common.js → common.ts
pkg/lib/_internal/common.ts: add some utility types
cockpit.js: split event_mixin to a separate file
cockpit.js: depend on `window.location.origin`
cockpit.js: make url_root a constant
cockpit.js: split location helpers to their own file
pkg/lib: move location.js → location.ts
cockpit.js: split ParentWebSocket into its own file
cockpit.js: combine many transport-related globals
cockpit.js: remove an unused variable
cockpit.js: split base64 helpers to their own file
cockpit.js: split Transport code into its own file
cockpit.js: avoid calling cockpit.defer()
cockpit.js: split Deferred out to a separate file
cockpit.js: split Channel into its own file
cockpit.js: move a function closer to its one user
cockpit.js: tweak "factory" setup.
fsinfo: use `new Channel` directly
cockpit.d.ts: fix some `cockpit.file()` annotations
test/static-code: tweak Typescript config again
pkg/lib: clean up node imports
pkg/lib: add reference from cockpit.d.ts to cockpit.js
.eslintrc.json: setup some TypeScript rules
pkg/lib: move event/fsinfo/_internal into cockpit/
pkg/lib: transport: simplify binary frame pasting
pkg/lib: un-"export" Transport API
pkg/lib: transport: Convert function to a class
pkg/lib: use EventEmitter on Transport API
pkg/lib: use arrows in Transport.constructor()
pkg/lib: drop `self` in Transport.constructor
pkg/lib: convert Transport.constructor locals to privates
pkg/lib: move methods out of Transport.constructor
pkg/lib: avoid `arguments` in transport.js
pkg/lib: simplify WebSocket setup code
pkg/lib: convert ParentWebSocket to class
pkg/lib: port ParentWebSocket to TypeScript
pkg/lib: remove public_transport hook
pkg/lib: eliminate "out" filtering
pkg/lib: eliminate parse_channel in transport.js
pkg/lib: simplify incoming filter logic
pkg/lib: step up type checking in Transport
pkg/lib: convert transport_globals to a class
pkg/lib: port Transport to TypeScript
pkg/lib: add new public "Channel" API
webdriver_bidi: very minor cleanups
webdriver: improve cleanup of reader task
webdriver: make the logging interface more complicated
test_browser: move from CDP to Webdriver BiDi
test/common: drop cdp vestiges
test/common: fix TEST_SHOW_BROWSER=0
webdriver_bidi: get rid of context manager nominal typing
test_browser: collect coverage for qunit tests
cockpit.js: fix cockpit.file().replace('')
qunit: add support for precise coverage reporting
Garrett LeSage (4):
pf: Fix split button double spacing issue
pf: Fix double-spacing issue for other dropdowns as well
pf: Fix menu items cropping their content
css: Shuffle some code around to make SASS happy
Jan Ščotka (1):
test: packagelib - robustify disabling of services
Jelle van der Waa (49):
lib: drop unused titleSize from EmptyStatePanel
lib: correct EmptyState propTypes
test: drop unsafe inline warnings
test: switch rtl in set_layout as well
lib: port deprecated Dropdown menu's with a KebabToggle
lib: support setting an id for the toggle button
test: don't wait_visible when we click
lib: keep validationFailed in sync with the list state
test: move select_pf5 from cockpit-files to Cockpit
lib: all browsers now support visibilitychange
lib: useLoggedInUser for obtaining user information
lib: port cockpit.user to use standard promises
shell: lib: handle cockpit.user() failures
lib: the channel superuser option takes "try" or "require"
lib: introduce an upload() helper for fsreplace1
lib: type all format related functions
lib: add typing for dbus related variant and bytearray functions
lib: superuser option is a string not a bool
lib: initial typing for cockpit.spawn
lib: allow awaiting Dialogs.show()
test: disable popup blocking for Cockpit-files
lib: cockpit.spawn.input() also accepts null | undefined
lib: deps are optional for useInit
test: systemctl stop user@*.service now also kills the root session
test: don't fail tests on DNF5
lib: add cockpit.hidden to cockpit typescript defs
lib: add gid field to UserInfo
lib: import Flex from the Flex directory
lib: follow patternfly issue redirect
node_modules: switch from deep_equal to dequal
test: don't type check pkg/lib outside of cockpit
Use fsinfo for cockpit.file.watch()
test: introduce
run-tests --amplify
for debugginglib: FormGroup has no
validated
fieldlib: allow configuring the action variant of an EmptyStatePanel
lib: type cockpit.logout
lib: make loading explicitly default false in EmptyStatePanel
lib: isInline, type and isLiveRegion are wrongly typed
package.json: replace single lodash user to a simple string replace
pkg: fix typos found by codespell
test: support Arch Linux's chromium binary name in BiDi
test: fix enabling low-level protocol debugging comment
test: bidi: log unpacking raw result before the actual unpacking
lib: drop override for wrongly colored select in dark theme
lib: drop pf-v5-u-font-weight-light declaration
lib: cockpit: log channel instead of control
cockpit: Implement PCP metrics channel in the Python bridge
lib: drop nested table PatternFly workaround
test: drop cockpit-pcp journal whitelist
Katerina Koukiou (1):
lib: table: when using colSpan > 1 adjust the indexes when calculating data labels
Marius Vollmer (20):
test: Don't create a empty pacman repo
test: Disable debugging with Arch makepkg
lib: Avoid infinite layout measurements in plots
test: Also allow modern "mount" error message
lib: Close Dropdown after selection instead of toggling it
pkg/lib: Give empty "Th" elements a aria-label attribute
test: Handle "\n" specially with set_input_text and input_text
lib: Add onlyDirectories option to FileAutoComplete
shell: Enable host switcher also on Fedora 40
hosts: Use a cockpit.conf option to disable the host switcher
build: Switch to @xterm/xterm and @xterm/addon-canvas
test: Ensure /var/cache/libdnf5 exists before cleaning it
storage: Never install packages on-demand in Anaconda mode
storage: Expose Stratis virtual filesystem sizes
lib: Add path functions
lib: Rename "path" to "cockpit-path"
test: Prepare for Shell rewrite
Revert "lib: Port cockpit-components-file-autocomplete.jsx to fsinfo"
lib: Pass along errors when starting systemd units
lib: Also apply scrolling fixes to grouped Select components
Martin Pitt (100):
test: Convert .format() to f-strings
test: Adjust encrypt_root() for separate /var mount
test: Use proper ssh service unit on Debian/Ubuntu
lib: Add optional external open state to KebabDropdown
test: Fix race condition with waiting for page load
test: Make encrypt_root()'s old root fs destruction less aggressive
base1: Fix format_bytes() kB unit
base1: Fix format_bytes() B unit
test: Drop obsolete compat test cases for RHEL/CentOS 7
test: Fix unexpected "truncated data in external channel" messages
storaged: Use kernelopt.sh to set rd.neednet=1
lib: Fix shellcheck complaint about
test -o
test: Fix handling of "closing" sessions in TestSession.testBasic
test: Drop CentOS 8 special cases
test: Terminate sessions before restoring files/directories
test: Drop redundant dnf-automatic cleanup in check-packagekit
test: Adjust dnf5 condition for fedora-rawhide
test: Fix DNF5 automatic timer name
test: Split "dnf" PackageCase backend into dnf4/5
packagekit: Support dnf5-plugin-automatic
test: Drop skipDistroPackage decorator
lib: Generalize manifest config reading
Replace cockpit.utf8_{de,en}coder with standard JS API
base1: Drop cockpit.utf8_{de,en}coder()
lib: Accept
false
values in manifest configurationlib: Fix ShutdownModal error type on
shutdown
errorstest: Introduce testlib API for pressing/releasing a single key
test: Add "repeat" argument to Browser.key()
test: Port non-text Browser.key_press() to Browser.key()
test: Drop Browser.key_press(), replace with Browser.input_text()
test: Ignore lastlog 2 PAM module message
test: Drop is_pybridge()
cockpit.js: Fix exception reporting for cockpit.http() errors
all: Drop UTF-8 argument from .decode()/.encode()
Revert "test: Ignore "invalid non-UTF8 @DaTa passed" message"
pkg: Drop extension in timeformat imports
lib: Type-annotate timeformat
lib: Fix timeformat.parseShortDate()
test: Tolerate absent /home
test: Fix type of MachineCase.machine_class
lib: Always use ISO format for date picker manual input
lib: Drop timeformat.{dateShortFormat,parseShortDate}()
Revert "test: packagelib - robustify disabling of services"
lib: Reimplement timeformat.distanceToNow() with standard browser API
package.json: Drop date-fns
cockpit.js: Add fsinfo fallback to fswatch1
lib: Fix server time
lib: Add cockpit.script() type annotations
lib: Fix and extend channel option types
lib: Declare cockpit.translate()
lib: Fix {Channel,Spawn}.close() annotation
lib: Fix race condition in credentials.js
lib: Drop
two_pass
argument from credentials methodslib: credentials.js code cleanups
test: Allow other "external channel failed" errors on restarts
test: Add MachineCase.login_and_go()
password
argumentlib: Convert cockpit-components-inline-notification to TypeScript and functional
test: Move add_machine() and start_machine_troubleshoot() from MachineCase to Browser
test: Drop obsolete expected tracer crash in RHEL 8
test: Generalize tracer failure message on logout
test: Clean up Browser.select_PF45
test: Avoid :contains() in testlib.py
lib, doc: Annotate Firefox specific CSS rules
test: Re-relax the
{become,drop}_superuser()
checkstest/static-code: Ignore pkg/lib for non-Cockpit projects
test: Ignore
machine.image_file
type check failurelib: Provide reduced SSH host dialogs API as library
shell: Deprecate host switcher in current OS releases
test: Put test-functions.js helpers on window object
test: Robustify Browser.assert_no_oops
test: Make ignore_ssl_certificate_errors() implicit
test: Fix error reporting in ph_select()
test: Drop redundant _wait_present() calls
test: Port from CDP to BiDi browser automation
test: Eliminiate Browser.inject_js()
test: Introduce context manager for temporarily switching browser context
test: Drop Firefox CDP support
test: Make Browser.switch_to_frames() work from frames
test: Fix Browser.wait_js_cond() failures with custom error descriptions
lib: Fix race condition in Terminal size calculation
test: Fix --trace logging for CDP commands
test: Use non-deprecated CDP setDownloadBehavior() method
all: Move gnu.org/license URLs to https://
test: Drop rhel4edge special cases
test: Re-teach Browser.input_text() about \n
test: Don't change context in WebdriverBidi.restore_context()
test: Use real mouse events in tests on Firefox
lib: Fix cockpit.file().modify() annotation
test: Implement "contextmenu" mouse event for BiDi
test: Copy ubuntu-stable special cases as ubuntu-2404
test: Temporarily make self.multihost_enabled dynamic for ubuntu-stable
lib: Update old systemd bug reference
webdriver_bidi: Recursively unpack raw values
ws: Use cockpit-beiboot for direct remote connections
lib: Port cockpit-components-file-autocomplete.jsx to fsinfo
systemd: Hide "limited access mode" banner without superuser bridges
test: Drop obsolete todoPybridgeRHEL8
test: Fix cockpit/ws ostree_image special cases
test: Skip host switching tests with beiboot mode
users: Get lastlog2 info through SQLite
Miika Alikirri (1):
test: Use root as a superuser on SUSE images
dependabot[bot] (2):
Bump the react group across 1 directory with 4 updates
Bump glob from 7.2.3 to 11.0.0
tomasmatus (2):
lib/plot: port Dropdown to PF5
testlib: add F2 key