summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-18Fix test on QtWebKitFlorian Bruhin
2023-08-17Fix tests for new navigation request log outputFlorian Bruhin
2023-08-17Work around back/forward navigation from qute://bookmarkFlorian Bruhin
With Qt 6.3+, user interaction is required to navigate outside of qute:// from a qute:// page. Follow-up to 8defe1ae44c1c524e937ae08ed16052ee0724e0f. Also see 216a9f9a9b7386823decf3c2c8a6124a86e2cad8 Fixes #7815 See #7220 - should be revisited once we have a qute-bookmarks:// instead where we can adjust permissions when registering the URL handler.
2023-08-17Merge pull request #7828 from pylbrecht/corrupt-sessionFlorian Bruhin
Don't include "dead" tabs when saving sessions
2023-08-17Merge pull request #7832 from qutebrowser/auto-releasesFlorian Bruhin
Releases on CI
2023-08-17Fixup OpenSSL warning hintFlorian Bruhin
2023-08-17Add hint to OpenSSL warningFlorian Bruhin
See https://www.reddit.com/r/qutebrowser/comments/15tilax/troubleshooting_cannot_download_after_update_tls/
2023-08-17ci: Fix JS style issuesauto-releasesFlorian Bruhin
2023-08-17Remove old download_release.shFlorian Bruhin
Releases aren't hosted on qutebrowser.org anymore
2023-08-17ci: Switch from experimental to real releasesFlorian Bruhin
2023-08-17Update releasing docsFlorian Bruhin
2023-08-17ci: Check for open milestone before releaseFlorian Bruhin
2023-08-17ci: Add IRC notification for main channelFlorian Bruhin
Releases are probably important enough
2023-08-17ci: Use -x for cherry picksFlorian Bruhin
2023-08-17ci: Use earlier release IDFlorian Bruhin
2023-08-17ci: Use github script to update releaseFlorian Bruhin
See https://github.com/softprops/action-gh-release/issues/163
2023-08-17scripts: Fix name for Windows installerFlorian Bruhin
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0: The current NSIS installer still adds the suffix. Let's keep it there for now until we switch to the rewritten one. See #6050
2023-08-17scripts: Don't upload PGP signature to PyPIFlorian Bruhin
See https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-08-17scripts: Fix artifact list on WindowsFlorian Bruhin
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0: We don't want to return a list of lists.
2023-08-17scripts: Avoid inputs on CI when releasingFlorian Bruhin
2023-08-17ci: Set twine PyPI tokenFlorian Bruhin
2023-08-17scripts: Show more info when no release was foundFlorian Bruhin
2023-08-17ci: Set up asciidoc properly for releasesFlorian Bruhin
2023-08-17ci: More automatic release improvements/fixesFlorian Bruhin
2023-08-17ci: Use GitHub Script to get release branchFlorian Bruhin
By default, we only get a narrow checkout, so we don't know about any other branches. Use the GitHub API and some JS to get the release branch instead.
2023-08-17ci: Initial automatic release supportFlorian Bruhin
See #3725
2023-08-16child event filter: Loosen check to only consider QWidgetFlorian Bruhin
Follow-up to a46e9f2036595e8d04cae68a719e5182718861bf to work correctly with older Qt versions (< 6.4), where this is not a QQuickWidget apparently. This also means we can simplify the workaround, as we are guaranteed to be on Qt 6.4+ anyways. See #7820, #7831
2023-08-16child event filter: Ignore non-QQuickWidget childrenFlorian Bruhin
When pressing buttons on some websites, or when starting to drag, it looks like the WebView gets new QObject children which are not actually their focus proxy. So far, this wasn't a big issue: We only ended up installing the tab event filter on objects where it doesn't belong. However, with the new focus workaround from #7820, we then ended up calling `.setFocus()` on those QObjects, causing an AttributeError. Thus, just don't do anything if we get new children that are not actually a QQuickWidget. Fixes #7831
2023-08-16Update content.headers.user_agent completionFlorian Bruhin
2023-08-16Skip invalid history items when saving a sessionPhilipp Albrecht
Opening a download in a new tab leaves a "dead" tab (see example of a "dead" tab below) behind. When saving a session containing such a "dead" tab, we end up with entries in the session like this one: ```yaml - active: true history: - active: true last_visited: '1970-01-01T02:00:00' pinned: false scroll-pos: x: 0 y: 0 title: '' url: '' zoom: 1.0 ``` When loading a session containing such a "dead" tab, qutebrowser does not restore any history of that session and logs the following error: ``` ERROR: Failed to load session default: PyQt6.QtCore.QUrl('') is not valid ``` As pointed out by @The-Compiler in this comment[1], the behavior of `QWebEngineHistoryItem::isValid()`[2] changed somehow between Qt 6.4 and 6.5. `QWebEngineHistoryItem::isValid()` now returns `True` for "dead" tabs, even though the history item is not valid (i.e. `url().isValid()` returns `False`). To fix this we simply add an additional check if the URL is valid before adding a tab to the session to be saved. [1] https://github.com/qutebrowser/qutebrowser/issues/7696#issuecomment-1672854592 [2] https://github.com/qt/qtwebengine/blob/v6.5.2/src/core/api/qwebenginehistory.cpp#L69-L75
2023-08-15tests: Install more requirements from Riverbank PyPI serverFlorian Bruhin
2023-08-15Skip too flaky cross-origin focus testFlorian Bruhin
2023-08-15Fix remaining references to old commandsFlorian Bruhin
Follow-up to #7809, see #7214
2023-08-15Update changelogFlorian Bruhin
2023-08-15Merge remote-tracking branch 'origin/pr/7809'Florian Bruhin
2023-08-15ci: Use proper image for Qt 6 bleeding testsFlorian Bruhin
2023-08-15Rewrite cross-origin navigation test to use scrollingFlorian Bruhin
Hopefully makes it more reliable
2023-08-15docker: Install xcb-utils-cursor on Arch for Qt 6Florian Bruhin
2023-08-15wip: Add Qt 6 bleeding tests to CIFlorian Bruhin
2023-08-15wip: Add Qt 6 bleeding tests to CIFlorian Bruhin
2023-08-15wip: Add Qt 6 bleeding tests to CIFlorian Bruhin
2023-08-15ci: Upgrade bleeding tests to Qt 6Florian Bruhin
2023-08-15Fix bookmark tests, part 2Florian Bruhin
2023-08-15Fix bookmark testsFlorian Bruhin
2023-08-15Fix issues with qute://start searching testFlorian Bruhin
2023-08-15Merge branch 'qt6-kbd-focus'Florian Bruhin
2023-08-15Add a test for keyboard focus after cross-origin navigationFlorian Bruhin
Fails without the fix on main on QtWebEngine 6.4 (works on 6.2). Works fine after the fix. See #7820
2023-08-15tests: Don't encode headers set via FlaskFlorian Bruhin
See https://github.com/pallets/werkzeug/commit/5ff0a573f4b78d9724f1f063fb058fd6bc76b24d With that commit, encoding the header ourselves means that we'll actually be navigating to the path `/b'data/...'` instead of `/data/...`.
2023-08-15Improve child widget focus workaroundFlorian Bruhin
Don't rely on the global QApplication.focusWidget() See #7820
2023-08-15First child widget keyboard focus workaroundFlorian Bruhin
Fixes #7820