Anki/anki
Damien Elmes 66dcd45599 use nextID() when adding facts/cards
We want to ensure that we never recycle ids from deleted cards. We could do
this with an autoincrement column in sqlite, but it's cheaper for us to handle
the ids ourselves, as the deck object is always in memory.
2011-04-28 09:23:54 +09:00
..
importing implement field cache, fix unit tests, remove some importers 2011-04-28 09:23:54 +09:00
template disable callable replacement which isn't supported on older pythons 2011-01-20 05:32:30 +09:00
__init__.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
cards.py convert templates to a json object, and replace tid with ord 2011-04-28 09:23:54 +09:00
consts.py implement sort fields; make sure they're updated on upgrade 2011-04-28 09:23:54 +09:00
cram.py start work on learn mode, change models, more 2011-04-28 09:23:28 +09:00
db.py improve id upgrade speed by a factor of 5 2011-04-28 09:23:53 +09:00
deck.py use nextID() when adding facts/cards 2011-04-28 09:23:54 +09:00
errors.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
exporting.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
facts.py implement field add/delete/rename/move 2011-04-28 09:23:54 +09:00
find.py change field storage format, improve upgrade speed 2011-04-28 09:23:53 +09:00
graphs.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
groups.py ints makes no sense in the context of failed cards; tweak learn code 2011-04-28 09:23:54 +09:00
hooks.py updateCache -> renderQA, move some functions around 2011-04-28 09:23:54 +09:00
lang.py remove self explanatory module docstrings; strip trailing whitespace 2011-04-28 09:21:07 +09:00
latex.py remove q/a cache, tags in fields, rewrite remaining ids, more 2011-04-28 09:23:53 +09:00
media.py updateCache -> renderQA, move some functions around 2011-04-28 09:23:54 +09:00
models.py move changeModel() into models.py. It is not yet ported to the new code 2011-04-28 09:23:54 +09:00
sched.py ints makes no sense in the context of failed cards; tweak learn code 2011-04-28 09:23:54 +09:00
sound.py remove self explanatory module docstrings; strip trailing whitespace 2011-04-28 09:21:07 +09:00
stats.py drop sqlalchemy; massive refactor 2011-04-28 09:23:53 +09:00
stdmodels.py convert templates to a json object, and replace tid with ord 2011-04-28 09:23:54 +09:00
storage.py use nextID() when adding facts/cards 2011-04-28 09:23:54 +09:00
sync.py remove q/a cache, tags in fields, rewrite remaining ids, more 2011-04-28 09:23:53 +09:00
utils.py more checksum work 2011-04-28 09:23:54 +09:00