Anki/tests
Damien Elmes 7afe6a9a7d convert groups to json; use timestamp ids for all but default
Rather than use a combination of id lookups on the groups table and a group
configuration cache in the scheduler, I've moved the groups and group config
into json objects on the deck table. This results in a net saving of code and
saves one or more DB lookups on each card answer, in exchange for a small
increase in deck load/save work.

I did a quick survey of AnkiWeb, and the vast majority of decks use less than
100 tags, and it's safe to assume groups will follow a similar pattern.

All groups and group configs except the default one will use integer
timestamps now, to simplify merging when syncing and importing.

defaultGroup() has been removed in favour of keeping the models up to date
(not yet done).
2011-08-27 17:13:04 +09:00
..
off some initial sync work 2011-05-29 08:13:54 +09:00
support ensure duplicate model creation times are accounted for 2011-08-26 22:33:24 +09:00
__init__.py initial commit from hg 2008-09-27 23:50:03 +09:00
shared.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
test_cards.py use the timestamps instead of forcing id on fact/card creation 2011-08-27 00:36:39 +09:00
test_deck.py convert groups to json; use timestamp ids for all but default 2011-08-27 17:13:04 +09:00
test_find.py use the timestamps instead of forcing id on fact/card creation 2011-08-27 00:36:39 +09:00
test_latex.py update latex support 2011-04-28 09:23:56 +09:00
test_media.py rename() 2011-04-28 09:24:05 +09:00
test_models.py start work on id refactor - models first 2011-08-26 21:08:30 +09:00
test_sched.py convert groups to json; use timestamp ids for all but default 2011-08-27 17:13:04 +09:00
test_stats.py move graph code into stats.py; remove old deck stats 2011-04-28 09:24:00 +09:00
test_sync.py start work on id refactor - models first 2011-08-26 21:08:30 +09:00
test_undo.py simplify undo 2011-04-28 09:23:59 +09:00