anki/qt/aqt
Damien Elmes 5ae66af5d2 rework v2 scheduler upgrade; drop downgrade
- Rework V2 upgrade so that it no longer resets cards in learning,
or empties filtered decks.
- V1 users will receive a message at the top of the deck list
encouraging them to upgrade, and they can upgrade directly from that
screen.
- The setting in the preferences screen has been removed, so users
will need to use an older Anki version if they wish to switch back to
V1.
- Prevent V2 exports with scheduling from being importable into a V1
collection - the code was previously allowing this when it shouldn't
have been.
- New collections still default to v1 at the moment.

Also add helper to get map of decks and deck configs, as there were
a few places in the codebase where that was required.
2021-02-21 15:50:41 +10:00
..
data rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
forms rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
__init__.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
about.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
addcards.py tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
addons.py use add-on id if name is blank 2021-02-16 11:12:05 +10:00
browser.py tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
BUILD.bazel winrt 1.0.20239.1 isn't available for python 3.9 2020-12-23 20:31:13 +10:00
clayout.py Remove unused imports 2021-02-12 02:16:05 +01:00
colors.py move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
customstudy.py tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
dbcheck.py nest progress messages and remove Python wrapper class 2021-02-08 16:40:27 +10:00
deckbrowser.py rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
deckchooser.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
deckconf.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
dyndeckconf.py tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
editcurrent.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
editor.py tweak getFile() arguments in editor to be more readable 2021-02-19 10:18:40 +10:00
emptycards.py nest NoteWithEmptyCards 2021-02-08 19:11:16 +10:00
errors.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
exporting.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
fields.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
gui_hooks.py fix qt/ pylints 2021-01-07 16:21:50 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
importing.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
legacy.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
main.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
mediacheck.py tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
mediasrv.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
mediasync.py nest progress messages and remove Python wrapper class 2021-02-08 16:40:27 +10:00
modelchooser.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
models.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
mpv.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
overview.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
pinnedmodules.py fix rsbackend compat issues 2021-02-08 09:51:51 +10:00
platform.py turn top bar dark when night mode enabled on macOS 2021-02-04 19:19:56 +10:00
preferences.py rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
previewer.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
profiles.py Revert "add escape hatch for new clicking behaviour, in case it causes problems" 2021-02-11 10:10:45 +10:00
progress.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
qt.py more typing updates 2021-02-02 23:31:55 +10:00
reviewer.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
scheduling.py add ability to force interval reset 2021-02-08 22:33:27 +10:00
schema_change_tracker.py add a bunch of return types 2021-02-01 23:53:23 +10:00
sidebar.py change _on_click_current to _on_click_index 2021-02-20 22:58:02 +09:00
sound.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
stats.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
studydeck.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
sync.py nest progress messages and remove Python wrapper class 2021-02-08 16:40:27 +10:00
tagedit.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
taglimit.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
taskman.py more typing updates 2021-02-02 23:31:55 +10:00
theme.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
toolbar.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
tts.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
update.py more typing updates 2021-02-02 23:31:55 +10:00
utils.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
webview.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
winpaths.py convert qt strings to f-strings with flynt 2021-02-11 10:09:06 +10:00