Commit graph

2356 commits

Author SHA1 Message Date
Damien Elmes
29b0628141 revert import deck name selection 2012-10-28 00:04:36 +09:00
Damien Elmes
1403d36042 need to account for guid changes when importing cards 2012-10-27 21:59:31 +09:00
Damien Elmes
29e93f8c1d make sure we update guid in note object too 2012-10-27 21:11:16 +09:00
Damien Elmes
bd1c6d4395 more robust anki1 upgrading & anki2 importing
- base the 2.0 model id on the 1.2 one so we don't get new models each time we
  reimport the file
- when determining if we can reuse an existing note, it must have the same
  model id, and the model must have the same schema
- make sure we check templates when determining schema
- if schema has diverged, note needs new guid
2012-10-27 20:55:08 +09:00
Damien Elmes
6830ca99d9 fix again count 2012-10-26 23:35:16 +09:00
Damien Elmes
76926c953a make sure we don't delete cloze notes in db check 2012-10-26 19:43:34 +09:00
Damien Elmes
8a06ab7bfe break on div start, not end 2012-10-26 19:30:01 +09:00
Damien Elmes
9c43e5928c fix unicode error in stats 2012-10-26 16:59:18 +09:00
Damien Elmes
729862e45e show 3 buttons for new cards 2012-10-26 14:48:01 +09:00
Damien Elmes
be722989f3 don't show custom study message on a custom study deck 2012-10-26 03:03:37 +09:00
Damien Elmes
99c238ae39 fix unit tests 2012-10-26 02:11:08 +09:00
Damien Elmes
90b0cded85 mention custom study in finished msg 2012-10-26 02:08:52 +09:00
Damien Elmes
62e69c3178 fix totalRev() 2012-10-26 02:08:28 +09:00
Damien Elmes
1196601bc0 remove dyn presets 2012-10-26 02:04:41 +09:00
Damien Elmes
ff8e75c90f make sure we don't show negative numbers when limits extended 2012-10-25 22:45:14 +09:00
Damien Elmes
627bd1b1b3 total new/rev for deck count 2012-10-25 22:43:30 +09:00
Damien Elmes
da856552b2 forward/reverse models 2012-10-25 21:15:15 +09:00
Damien Elmes
c9b3d89d44 better message when bad latex word encountered 2012-10-25 18:48:28 +09:00
Damien Elmes
e2d0ef0cc4 add today stats 2012-10-25 18:44:24 +09:00
Damien Elmes
c9978d68b5 when upgrading decks from anki1, make sure we preserve the provided prefix 2012-10-25 16:12:24 +09:00
Damien Elmes
8823fe7538 more importing changes
- when importing cards from a filtered deck, convert them to normal cards
- ignore empty default deck when determining deck prefix
2012-10-25 01:02:12 +09:00
Damien Elmes
bc896c21c9 fix unit test, add ordinals to db 2012-10-25 00:42:10 +09:00
Damien Elmes
5c3f036936 add a hook to customize imported deck name 2012-10-25 00:19:50 +09:00
Damien Elmes
de541617cf add html stripping to import; don't always display empty note msg 2012-10-24 23:48:21 +09:00
Damien Elmes
045d5d68cd Revert "include info about whether it was a full export"
This reverts commit 63ec4983a4.
2012-10-24 22:58:55 +09:00
Damien Elmes
958967f3c3 log the generated .tex for debugging, and add \n on </div> 2012-10-24 22:29:01 +09:00
Damien Elmes
63ec4983a4 include info about whether it was a full export 2012-10-24 17:53:53 +09:00
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
7cec4762eb revert to noteCrt if sort order invalid 2012-10-24 00:50:09 +09:00
Damien Elmes
f0a0df5a29 make sure we display review graph even if there's only a single bar 2012-10-23 23:24:13 +09:00
Damien Elmes
fb06966398 fix csv test 2012-10-23 22:27:07 +09:00
Damien Elmes
31e2f927c7 fix deck list not being consistent with study screen
We must make sure to bound each deck by its current remaining, not its daily
limit. Fixes counts when "study more" used, and also counts where there are
more cards due than can be shown
2012-10-23 22:20:52 +09:00
Damien Elmes
96b0087262 fix x axis on ivl graph when showing deck life 2012-10-23 21:39:58 +09:00
Damien Elmes
439821b3c9 always use pattern, but use a more subtle one 2012-10-23 20:52:58 +09:00
Damien Elmes
23b24d30f3 add footer and background to graphs 2012-10-23 20:42:23 +09:00
Damien Elmes
133d4c2e8e unbury cards when returning to deck list 2012-10-23 19:48:35 +09:00
Damien Elmes
acae66d60e don't remove from dyn deck when burying 2012-10-23 19:45:54 +09:00
Damien Elmes
5c8b7e2a00 fix error when renaming decks with different case 2012-10-23 18:39:47 +09:00
Damien Elmes
cb17319e4e add warning when import fails to generate cards 2012-10-23 18:07:36 +09:00
Damien Elmes
eb7240d220 allow duplicates in import 2012-10-23 17:52:55 +09:00
Damien Elmes
0c1e98d0b2 fix cloze test 2012-10-23 17:52:48 +09:00
Damien Elmes
bee3422a72 catch cards without template in db check 2012-10-23 13:09:57 +09:00
Damien Elmes
7747bdca28 when a cloze has a hint, don't show dots 2012-10-23 13:04:13 +09:00
Damien Elmes
fa7536ca36 fix rounding error in rev history graphs 2012-10-18 03:55:10 +09:00
Damien Elmes
dd12431806 Merge branch 'fix-quote' of https://github.com/ospalh/libanki 2012-10-16 09:34:25 +09:00
ospalh
2e52ce2df1 Fix closing quote to match opening quote. 2012-10-12 17:03:52 +02:00
Damien Elmes
54461918a6 make sure newly created cards don't end up in filtered deck 2012-10-09 19:35:08 +09:00
Damien Elmes
2f34361b89 reinit mapping when delimiter changed 2012-10-09 03:11:23 +09:00
Damien Elmes
d4988c50ee merge 3&4 in learning mode answer button stats 2012-10-02 23:17:35 +09:00
Damien Elmes
b2e5fe3c7d make sure we include notes table when searching for no tags 2012-10-01 20:45:49 +09:00