Anki/anki
Damien Elmes a4e8eb8b74 cache required fields, drop emptyAns
For importing and the deck creation wizard, we need to be able to generate
thousands of cards efficiently. So instead of requiring the creation of a fact
and rendering it, we cache the required fields and cloze references in the
model.

Also, emptyAns is dropped, as people can achieve the same behaviour by adding
the required answer fields as conditional to the question.

Todo: refactor genCards() to work in bulk, handle cloze edits intelligently
(prompt to delete invalid references, create new cards as necessary)
2011-10-22 02:28:57 +09:00
..
importing add the ability to skip cards for shared decks 2011-10-22 00:05:09 +09:00
template add [] to cloze 2011-04-29 11:43:06 +09:00
__init__.py prevent people from shooting themselves in the foot 2011-04-28 09:31:48 +09:00
cards.py refactor learning 2011-09-23 10:29:49 +09:00
consts.py fix upgrading; drop old mnemosyne 1 importer 2011-10-20 22:05:34 +09:00
cram.py group scheduling refactor 2011-09-22 11:54:01 +09:00
db.py initial work on media syncing 2011-10-03 12:45:08 +09:00
deck.py cache required fields, drop emptyAns 2011-10-22 02:28:57 +09:00
errors.py support partial syncs of arbitrary size 2011-09-24 12:42:02 +09:00
exporting.py update license link 2011-04-28 09:24:01 +09:00
facts.py add guid and flags to facts 2011-09-18 04:31:53 +09:00
find.py add USNs 2011-09-13 21:10:21 +09:00
groups.py if sync server offline, abort sync tests 2011-10-01 20:44:35 +09:00
hooks.py update license link 2011-04-28 09:24:01 +09:00
js.py add a pie graph, add average interval to ivls area 2011-04-28 09:24:00 +09:00
lang.py update license link 2011-04-28 09:24:01 +09:00
latex.py simplify media.py 2011-09-11 00:25:22 +09:00
media.py implement anki1 importer 2011-10-21 23:45:42 +09:00
models.py cache required fields, drop emptyAns 2011-10-22 02:28:57 +09:00
sched.py fix update cutoff call 2011-09-29 04:01:11 +09:00
sound.py initial work on media syncing 2011-10-03 12:45:08 +09:00
stats.py group scheduling refactor 2011-09-22 11:54:01 +09:00
stdmodels.py move models into the deck table 2011-08-27 22:27:09 +09:00
storage.py fix upgrading; drop old mnemosyne 1 importer 2011-10-20 22:05:34 +09:00
sync.py refactor to support early exit when no media changes 2011-10-06 15:34:22 +09:00
tags.py support partial syncs of arbitrary size 2011-09-24 12:42:02 +09:00
upgrade.py cache required fields, drop emptyAns 2011-10-22 02:28:57 +09:00
utils.py implement anki1 importer 2011-10-21 23:45:42 +09:00