Anki/pylib/anki/importing
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
..
__init__.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
anki2.py rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
apkg.py convert some pylib strings to f-strings with flynt 2021-02-11 09:51:09 +10:00
base.py storage->collection 2020-05-20 17:58:28 +10:00
csvfile.py convert some pylib strings to f-strings with flynt 2021-02-11 09:51:09 +10:00
mnemo.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
noteimp.py convert some pylib strings to f-strings with flynt 2021-02-11 09:51:09 +10:00
pauker.py fixes for latest mypy 2020-10-10 19:02:59 +10:00
supermemo_xml.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00