Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-04 | Use flake8-pytest-stylepytest-style | Florian Bruhin | |
2021-07-09 | Restore the sql fixture to close DBs after testing | lufte | |
2021-07-03 | Refactor tests that needed the Database class | lufte | |
2021-07-02 | The database of a table shouldn't be private | lufte | |
2021-06-30 | Fix history unit tests | lufte | |
2021-03-18 | pylint: Disable pointless-statement in tests | Florian Bruhin | |
2021-03-18 | Try to recover from CompletionMetaInfo with unexpected structure | Florian Bruhin | |
Fixes #6302 | |||
2021-02-26 | Qtbot methods changed to snake case,snake case check added | Lembrun | |
2021-02-03 | Improve rebuilding of history database | Florian Bruhin | |
- Re-add the force_rebuild key which we need internally again. This partially reverts changes from: * cd0000f728459f208c4cf69f29b603fbcab6ffb4 * 1a9b59fcfa73d1505834d8461ee166f07fb201cd * 93ecd8f72f108743948f0d1881055ff2337058ec - Instead of checking self.completion to figure out whether we need to rebuild anything, check 'self' (i.e. the History table, not the CompletionHistory table). If something went wrong during the last rebuild, the CompletionHistory might still be empty, but History is what actually matters to figure out whether to rebuild. - Set force_rebuild while rebuilding the history, so that a possible interruption of the process (e.g. by a killed process or crash) results in another rebuild from scratch. - Bump up the user version again, so that we re-add force_rebuild to the database. This also forces another rebuild which helps with possible inconsistent data when someone interrupted the earlier rebuild for v2.0.0. Fixes #6111 | |||
2021-01-26 | doc: Switch URLs to https | Florian Bruhin | |
2021-01-20 | Bump copyright years | Florian Bruhin | |
Closes #6015 | |||
2021-01-15 | sql: Remove HistoryProgress reusability | Florian Bruhin | |
Not actually needed and complicates things | |||
2021-01-15 | history: Fix tests | Florian Bruhin | |
2021-01-14 | Revert "history: Simplify HistoryProgress" | Florian Bruhin | |
Seems to cause random dialogs This reverts commit f1b925e37fea016939a35126bfc29a0c3e2d547b. | |||
2021-01-14 | history: Simplify HistoryProgress | Florian Bruhin | |
It doesn't actually need to be reusable, also make sure it's cleaned up when unneeded. | |||
2021-01-05 | history: Show progress dialog immediately | Florian Bruhin | |
Even just finding out how many entries we have takes multiple seconds on my (rather recent) system - let's try to show a window as early as possible so that the user knows something is going on. This might be rather distracting if things only take a very short time, but that's probably the exception rather than the rule. | |||
2021-01-05 | Remove qute://pdfjs URLs from history | Florian Bruhin | |
The original URL is already in the history anyways - the qute://pdfjs URL is not really something that gets visited "separately" from the PDF download. With #5000, these URLs can also get very big if the PDF is in a data: URL, see #1099. | |||
2021-01-05 | Revert "Rename CompletionMetaInfo to MetaInfo" | Florian Bruhin | |
This reverts commit 3ffc46444aac5c7e1aca3443a1e380308d841b54. Not actually worth the trouble it brings (making databases incompatible between qutebrowser versions). | |||
2021-01-05 | Rename CompletionMetaInfo to MetaInfo | Florian Bruhin | |
2021-01-05 | history: Refactor early excludes | Florian Bruhin | |
Move the check to a method and move some end2end to unit tests. | |||
2021-01-02 | history: Remove old force_rebuild values | Florian Bruhin | |
2021-01-02 | Improve test_modify | Florian Bruhin | |
2021-01-02 | Merge remote-tracking branch 'origin/pr/5871' | Florian Bruhin | |
2020-12-23 | Reword function description and fix flake8 warning | mamg22 | |
2020-12-23 | Update tests in TestRebuild | mamg22 | |
Remove or replace uses of "force_rebuild" Added test_pattern_change_rebuild | |||
2020-12-23 | Replace "force_rebuild" in TestCompletionMetaInfo | mamg22 | |
2020-11-24 | Fix flake8 | Florian Bruhin | |
2020-01-04 | Adjust copyrights for 2020 | Florian Bruhin | |
2019-11-25 | Remove web-history from objreg | Florian Bruhin | |
See #640 | |||
2019-09-13 | Add objects.debug_flags | Florian Bruhin | |
This removes some objreg.get('args'), see #640 | |||
2019-04-13 | Fix tests | Jay Kamat | |
2019-04-06 | Make last_url private | Jay Kamat | |
2019-04-03 | Ignore duplicate consecutive history entries from the same url | Jay Kamat | |
2019-04-03 | Remove Sql prefix for SqlKnownError and SqlBugError | Florian Bruhin | |
We already have the sql module as namespace, no need to repeat it. | |||
2019-04-03 | Finish environmental -> known rename | Florian Bruhin | |
2019-04-02 | Refactor LongQueryError and EnvironmentError into KnownError | Jay Kamat | |
- Also generalize catch on histcategory sql query to fix #4687 | |||
2019-03-13 | Eschew the extraneous elses | Florian Bruhin | |
https://www.youtube.com/watch?v=JVVMMULwR4s&t=289 | |||
2019-02-22 | Update copyright for 2019 | Jay Kamat | |
2018-11-29 | Move CommandError to api.cmdutils | Florian Bruhin | |
2018-09-06 | Use a shared web_history fixture | Florian Bruhin | |
2018-09-06 | Decrease minimum QProgressDialog duration | Florian Bruhin | |
We already have a threshold before we use a QProgressDialog at all, so let's show it quite quickly and not after 4 seconds. | |||
2018-09-06 | Add tests for HistoryProgress | Florian Bruhin | |
2018-09-06 | Remove support for importing pre-v1.0.0 history | Florian Bruhin | |
2018-09-06 | Add tests for history progress | Florian Bruhin | |
2018-09-06 | Factor out GUI stuff to a HistoryProgress object | Florian Bruhin | |
2018-09-02 | Use config_stub.val instead of config_stub.set_obj in tests | Florian Bruhin | |
2018-09-02 | Rename history.exclude to completion.web_history.exclude | Florian Bruhin | |
If the blacklist is only valid for the completion, the setting should also be under completion. This also un-renames history.gap_interval and renames completion.web_history_max_items. | |||
2018-09-01 | Redesign SQL error handling | Florian Bruhin | |
Instead of having an environmental attribute on exceptions, we now have two different exception classes. Fixes #3341 See #3073 | |||
2018-09-01 | Add a history.exclude setting | Florian Bruhin | |
This allows to exclude URL patterns from being displayed in the completion or in qute://history. | |||
2018-09-01 | Add test for no-sql-history flag | Florian Bruhin | |