Anki/rslib/src/search
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
..
cards.rs rework v2 scheduler upgrade; drop downgrade 2021-02-21 15:50:41 +10:00
deck_order.sql reformat .sql files 2021-01-09 14:08:55 +10:00
mod.rs tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00
notes.rs automatically omit notes or cards table when possible 2020-05-19 11:27:02 +10:00
notetype_order.sql reformat .sql files 2021-01-09 14:08:55 +10:00
parser.rs avoid wrapping outermost search in parens 2021-02-12 09:30:21 +10:00
sqlwriter.rs switch search parser to using owned values 2021-02-11 12:19:36 +10:00
template_order.sql reformat .sql files 2021-01-09 14:08:55 +10:00
writer.rs tweak search wording and tidy up API 2021-02-11 19:57:19 +10:00