Commit Graph

22571 Commits

Author SHA1 Message Date
Florian Bruhin 469bca1777 Release v2.2.1 2021-04-29 13:32:59 +02:00
Florian Bruhin f80ce9a325 Update changelog from master 2021-04-29 13:32:37 +02:00
Florian Bruhin dcb1ca35ae scripts: Add --no-confirm to build_release
(cherry picked from commit 9aa8740ec9)
2021-04-29 09:36:23 +02:00
Florian Bruhin c6ebf26223 ci: Fix CodeQL
(cherry picked from commit 4751890acb)
2021-04-29 09:35:17 +02:00
Florian Bruhin ab566cdb03 ci: Lock down workflows
Closes #6430

(cherry picked from commit 8023b8c8fe)
2021-04-29 09:35:09 +02:00
Florian Bruhin 1167b5c3e8 Add QUTE_QTWEBENGINE_VERSION_OVERRIDE
See https://github.com/NixOS/nixpkgs/pull/119376#issuecomment-820073044

(cherry picked from commit febb921040)
2021-04-29 09:34:51 +02:00
Florian Bruhin 7d93098fd0 tests: Fix test_version with git's init.defaultBranch
(cherry picked from commit 32604a6651)
2021-04-29 09:34:51 +02:00
afreakk 73ce4ef9e1 qute-pass: dont run pass twice when otp-only
(cherry picked from commit b04f99bcfc)
2021-04-28 08:19:48 +02:00
Nicholas Schwab a44ac66ede Improved readability of statusbar.widgets documentation.
(cherry picked from commit 38c5eba3e1)
2021-04-28 08:19:45 +02:00
Nicholas Schwab 14a152f246 Added text: to valid values of statusbar.widgets, making the
documentation more uniform.

(cherry picked from commit a083728168)
2021-04-28 08:19:43 +02:00
Florian Bruhin c684e5fd3a Add a site-specific quirk for Discord
Closes #4379

(cherry picked from commit be37524f47)
2021-04-28 08:19:37 +02:00
Florian Bruhin f675a958e5 Revert "Set print resolution to 300dpi"
This reverts commit 1e5184bc71.
2021-04-23 11:45:22 +02:00
Florian Bruhin 1e5184bc71 Set print resolution to 300dpi
See https://codereview.qt-project.org/c/qt/qtwebengine/+/344042

(cherry picked from commit 2e4ca779c6)
2021-04-23 11:22:33 +02:00
Florian Bruhin d19375b664 Fix tests on Windows
(cherry picked from commit 0ee169e497)
2021-04-23 11:11:00 +02:00
Florian Bruhin 55a2f68d95 Fix :spawn -u -o
Fixes #6407

(cherry picked from commit c7b3559d82)
2021-04-23 10:43:15 +02:00
Florian Bruhin 57a8f13393 Update PE checksum patching after PyInstaller update
(cherry picked from commit b1265cbeff)
2021-04-22 20:47:31 +02:00
Florian Bruhin 02619e3c84 Update PyInstaller from master 2021-04-22 20:47:07 +02:00
Florian Bruhin 078f1920a1 ci: Pin Python 3.10 to Alpha 7
See https://github.com/actions/setup-python/issues/207

pytest isn't ready yet:
https://github.com/pytest-dev/pytest/issues/8539

(cherry picked from commit 0c1414c6aa)
2021-04-19 11:45:42 +02:00
afreakk fcb483d36f qute-pass: extract username/pw only when needed
(cherry picked from commit efcb379872)
2021-04-19 11:28:05 +02:00
frank shin d64d59502a address PR comment
(cherry picked from commit 49e858e7d4)
2021-04-19 11:28:05 +02:00
frank shin 951ab7902e Check bitwarden CLI tool return code instead of stderr to check for error
(cherry picked from commit 909230a8ac)
2021-04-19 11:28:05 +02:00
Florian Bruhin 44ee8272d8 requirements: Fully remove python_version marker for adblock
See https://github.com/ArniDagur/python-adblock/issues/28

Follow-up to de4fff3866
(cherry picked from commit ffdee8534d)
Also updates adblock from 3b76a0d4b9
2021-04-19 11:27:13 +02:00
Florian Bruhin 19c01aa772 mkvenv: Handle failing ldconfig
(cherry picked from commit 1b4daf7c37)
2021-04-17 10:44:35 +02:00
Florian Bruhin bdf9f121ee notifications: Ignore KDE's ExcessNotificationGeneration
(cherry picked from commit 9fdfd3b4c0)
2021-04-17 10:44:35 +02:00
Florian Bruhin 292337fbdd notifications: Show adapter errors to users
Otherwise their notifications could suddenly stop working or otherwise
change apperance.

(cherry picked from commit ebf9619583)
2021-04-13 17:39:42 +02:00
Florian Bruhin 8232d38492 notifications: Handle MaxNotificationsExceeded error from GNOME Flashback
(cherry picked from commit 2cfc64579a)
2021-04-13 17:39:42 +02:00
Florian Bruhin f67e1d663d Release v2.2.0 2021-04-13 12:02:18 +02:00
Florian Bruhin 62a8124f37 Fix quirk tests 2021-04-13 11:30:31 +02:00
Florian Bruhin d7738719f3 Disable replaceAll quirk by default
Fixes #6208
2021-04-13 10:16:19 +02:00
Florian Bruhin 929d635dc5 Update UA completions 2021-04-13 10:16:19 +02:00
Florian Bruhin 075b6823b6 Avoid module-level circular import
When running ua_fetch.py, websettings gets imported and fails:

    $ python3 scripts/dev/ua_fetch.py
    Traceback (most recent call last):
    File ".../scripts/dev/ua_fetch.py", line 16, in <module>
        import qutebrowser.config.websettings
    File ".../qutebrowser/config/websettings.py", line 32, in <module>
        from qutebrowser.config import config
    File ".../qutebrowser/config/config.py", line 31, in <module>
        from qutebrowser.config import configdata, configexc, configutils
    File ".../qutebrowser/config/configdata.py", line 32, in <module>
        from qutebrowser.config import configtypes
    File ".../qutebrowser/config/configtypes.py", line 65, in <module>
        from qutebrowser.utils import (standarddir, utils, qtutils, urlutils, urlmatch,
    File ".../qutebrowser/utils/standarddir.py", line 33, in <module>
        from qutebrowser.utils import log, debug, utils, version
    File ".../qutebrowser/utils/version.py", line 529, in <module>
        class WebEngineVersions:
    File ".../qutebrowser/utils/version.py", line 597, in WebEngineVersions
        def from_ua(cls, ua: websettings.UserAgent) -> 'WebEngineVersions':
    AttributeError: partially initialized module 'qutebrowser.config.websettings' has no attribute 'UserAgent' (most likely due to a circular import)
2021-04-13 10:16:19 +02:00
Florian Bruhin 5a048aedd9 Edit changelog 2021-04-13 10:16:19 +02:00
Florian Bruhin 944e2a7b79
Merge pull request #6385 from qutebrowser/update-dependencies
Update dependencies
2021-04-12 14:18:53 +02:00
qutebrowser bot 6e92986285 Update dependencies 2021-04-12 04:21:56 +00:00
Florian Bruhin 46bedd5f61 Update docs 2021-04-10 10:25:15 +02:00
Florian Bruhin 86c70753de Update changelog 2021-04-10 09:18:57 +02:00
Florian Bruhin 52708364b5 Merge commit '9a836e2' 2021-04-10 09:17:59 +02:00
Florian Bruhin a0710124a1 ci: Tune down code scanning
Too many false positives, and it seems impossible to ignore a single rule.
2021-04-10 09:15:38 +02:00
Florian Bruhin 908abb6566 notifications: Fix image padding assertion
The underlying Chromium pads images so that scanlines align on 4-byte
boundaries. Thus, with an image size of e.g. 239x239, we'll have 3 bytes
of padding (239 mod 4 = 3; 240 mod 4 = 0).

Fixes #6375
2021-04-09 17:14:26 +02:00
Florian Bruhin dc14d314c4 Remove confusing return 2021-04-09 16:55:23 +02:00
Nicholas Schwab 9a836e2ca1 Merge remote-tracking branch 'origin/master' 2021-04-09 16:41:22 +02:00
Nicholas Schwab 22884268c2 Added tests for StatusbarWidget. 2021-04-09 16:40:51 +02:00
Florian Bruhin 07b7bbe3a3 ci: Try additional CodeQL queries 2021-04-09 12:39:11 +02:00
Florian Bruhin f527eacc75 ci: Try working around macOS DMG timeouts 2021-04-09 12:39:11 +02:00
Florian Bruhin 628b6cdbb1 notifications: Add more info to padding assert 2021-04-09 12:39:11 +02:00
Florian Bruhin 770d05af19 Fix clicking systray notifications 2021-04-09 12:39:11 +02:00
Nicholas42 d9d9344fbb
Changed str.partition to str.split.
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2021-04-09 10:54:22 +02:00
Nicholas Schwab ded3d6c75a Fixed incomplete renaming of variable. 2021-04-09 10:04:36 +02:00
Florian Bruhin f22ea9b81d ci: Try additional CodeQL queries 2021-04-09 10:03:47 +02:00
Nicholas42 bfc28ba6d0
Apply suggestions from code review
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2021-04-08 23:58:55 +02:00