Damien Elmes
4fe3d686a6
move the rest of Anki's code out of pystache
...
In the process of factoring out the field filtering, the "extra"
and "fullname" args are just passed in as a blank string now.
Extra was functionality that allowed a field modifier to be defined
as "filtername(arg1,arg2):field", and fullname was the name of the
field including any provided field modifiers. From grepping through
the add-ons on AnkiWeb, neither appears to have been used.
2020-01-08 17:15:46 +10:00
Damien Elmes
93e01850b6
remove cloze handling in conditionals
...
As far as I can tell, this was not functional, as "{{#cloze:Text}}"
becomes cq-1:Text, which doesn't match the regex
2020-01-08 16:10:19 +10:00
Damien Elmes
a47dc8da8f
no longer try fields with : in their names
...
it's not supported by the card generation code, and the card
layout screen will automatically fix note types
2020-01-08 14:42:54 +10:00
Damien Elmes
3d9c454997
move furigana/hint filters into template2
2020-01-08 12:30:08 +10:00
Damien Elmes
edc989f308
clean up _renderQA(), and split rendering part out
2020-01-08 12:07:44 +10:00
Damien Elmes
516924957e
use 3.7 annotations
2020-01-07 18:43:20 +10:00
Damien Elmes
9232414095
bump minimum python version from 3.6 to 3.7
2020-01-07 18:34:36 +10:00
Damien Elmes
9d2e57fcbc
fix import order
2020-01-06 13:15:02 +10:00
Damien Elmes
6afb8c5056
add a partial Python implementation of the backend
2020-01-06 12:24:47 +10:00
Damien Elmes
ad3769f3c2
add default value to ServerData
2020-01-04 07:53:20 +10:00
Erez Volk
bf6672d7e8
Merge remote-tracking branch 'upstream/master' into add-tags-on-update
2020-01-03 08:13:04 +02:00
Damien Elmes
a113887d56
add buildhash to rspy and aqt, and check all three modules match
2020-01-03 15:15:18 +10:00
Damien Elmes
5c91987218
drop 'extra' from default cloze note type
...
Too many users get confused about where they should be placing the
cloze deletions.
2020-01-03 13:40:50 +10:00
Damien Elmes
2a00e0a6b0
tweaking the folder names again
...
hopefully that's the last of it
2020-01-03 07:48:38 +10:00