Anki/pylib/anki
Damien Elmes 9bb0348fdd more template rendering tweaks
- The front and back are rendered in one call now. If the front
side contains no custom filters, we can bake {{FrontSide}} into the
rear side. If it did contain custom filters, we return the partially
complete rear template instead, and the calling code can inject
the FrontSide in after it has been fully rendered.

- Instead of modifying "cloze" into something like "cq-2", the card
ordinal and whether we're rendering the question or answer are now
passed in to the rendering filters as context.

- The Rust code doesn't need to support filter names split on '-'
anymore.

- Drop the "Show" part of hint descriptions so i18n support can be
deferred.

- Ignore blank filter names caused by user using two colons instead
of one.

- Fixed hint field and text transposition.
2020-01-12 21:34:07 +10:00
..
importing Merge remote-tracking branch 'upstream/master' into add-tags-on-update 2020-01-03 08:13:04 +02:00
.gitignore add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00
__init__.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
cards.py fix CI failing 2020-01-08 20:49:40 +10:00
collection.py more template rendering tweaks 2020-01-12 21:34:07 +10:00
consts.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
db.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
decks.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
errors.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
exporting.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
find.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
hooks.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
lang.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
latex.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
media.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
models.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
notes.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
pybackend.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
rsbackend.py more template rendering tweaks 2020-01-12 21:34:07 +10:00
sched.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
schedv2.py rework new timezone code 2020-01-09 16:58:27 +10:00
sound.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stats.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py drop 'extra' from default cloze note type 2020-01-03 13:40:50 +10:00
storage.py add a partial Python implementation of the backend 2020-01-06 12:24:47 +10:00
sync.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
tags.py use 3.7 annotations 2020-01-07 18:43:20 +10:00
template.py more template rendering tweaks 2020-01-12 21:34:07 +10:00
template_legacy.py drop pystache and move legacy code into separate file 2020-01-11 19:38:30 +10:00
types.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
utils.py add buildhash to rspy and aqt, and check all three modules match 2020-01-03 15:15:18 +10:00