Commit graph

13 commits

Author SHA1 Message Date
Damien Elmes
b5c72155a3 work around invalid 1.2 decks with multiple templates sharing same ord 2012-10-24 13:11:18 +09:00
Damien Elmes
5cb858b02d unittest: cards in learning are imported with 1 step left 2012-05-23 13:19:20 +09:00
Damien Elmes
7d8c0d96b5 fix unit tests 2012-04-06 12:50:46 +09:00
Damien Elmes
aa559431b6 on upgrade all cards of a note should share the same due # 2012-04-06 12:45:01 +09:00
Damien Elmes
cabf25bacc add upgrade unit test 2012-03-12 12:42:26 +09:00
Damien Elmes
87a996cdce add flag fields for conditional templates 2012-01-23 23:57:33 +09:00
Damien Elmes
8308c79fa6 minor refactor of count handling
- drop lrnCount; rename lrnRepCount to lrnCount
- on card fetch, decr count by card.left
- drop cardCounts(), rename repCounts() to just counts()
- fix lrn count bugs
2011-12-05 19:15:46 +09:00
Damien Elmes
7a5cee1d20 remove remaining CSS; more template properties into div 2011-11-18 08:25:56 +09:00
Damien Elmes
c76c08069e change template replacement behaviour
Previously {{field}} wrapped the field in a span with the field's font
properties. This wasn't obvious, and caused frequent problems with people
trying to combine field and template text, or use field content in dictionary
links.

Now that AnkiWeb has a wizard for configuring the front & back layout, we can
just put the formatting in the template instead.
2011-11-18 02:50:47 +09:00
Damien Elmes
119217290e implement anki1 importer 2011-10-21 23:45:42 +09:00
Damien Elmes
b242b06052 import media too 2011-10-21 07:53:22 +09:00
Damien Elmes
83f8ef45ff anki2 importing and reorganize import code 2011-10-21 07:36:44 +09:00
Damien Elmes
1ba75e8dc9 don't need a separate migration package; the rest is std import 2011-10-20 22:18:55 +09:00
Renamed from tests/test_migration.py (Browse further)