Commit graph

2030 commits

Author SHA1 Message Date
Damien Elmes
b2bc97ee49 clear overdue lapsed cards from learning queue 2012-04-24 05:28:19 +09:00
Damien Elmes
eba931a7da check invalid filenames 2012-04-24 05:28:06 +09:00
Damien Elmes
84134106cb derive period in review history graph from revlog, not collection crt 2012-04-24 04:35:36 +09:00
Damien Elmes
5514b75d6b fix card:<n> and card:cloze in cloze types 2012-04-24 02:30:02 +09:00
Damien Elmes
92472045d7 fix importing of changed models and duplicate revlog/card entries 2012-04-24 01:27:36 +09:00
Damien Elmes
dd4e85edfd automatically .reset() if attempting to getCard() from fresh deck 2012-04-23 04:16:51 +09:00
Damien Elmes
07ce818f18 add to current deck option 2012-04-23 04:16:36 +09:00
Damien Elmes
aee8d2a35f i18n basic model tmpl 2012-04-23 00:37:06 +09:00
Damien Elmes
bf13492c3c fix dynIvlBoost() thanks to itraveller 2012-04-23 00:24:20 +09:00
Damien Elmes
f2e183f729 check day when checking due counts 2012-04-22 09:26:08 +09:00
Damien Elmes
3c6707c17f don't genCards() into a cram deck 2012-04-22 08:27:31 +09:00
Damien Elmes
62b44df78e when renaming a field, support cloze: as well 2012-04-22 08:01:17 +09:00
Damien Elmes
68da292ddb copy2->copyfile
copy2() will throw an OSError on Linux+fat32 partitions, and we don't really
need the original mode bits or stat data anyway.
2012-04-22 07:33:04 +09:00
Damien Elmes
ae3e775fdd upgrade decks to fix odue bug 2012-04-22 07:17:06 +09:00
Damien Elmes
fd30167c49 nameOrNone() 2012-04-22 07:12:32 +09:00
Damien Elmes
c415c437de check bs version 2012-04-22 04:51:09 +09:00
Damien Elmes
cdffab235c add option to dump db args 2012-04-21 08:57:08 +09:00
Damien Elmes
f16335ee7f use a smaller range for random numbers
Using 2**32 is the technically superior solution, since it minimizes the chance of multiple notes sharing a due # (which has implicates for sibiling spacing), but the large numbers are confusing to users.
2012-04-21 08:56:56 +09:00
Damien Elmes
b4cf7e39b5 i18n empty cards msg 2012-04-21 07:25:41 +09:00
Damien Elmes
9fab2834da cloze generation needs to use provided fields, not field 0 2012-04-21 07:25:35 +09:00
Damien Elmes
014dc3d987 fix unit test 2012-04-21 06:56:30 +09:00
Damien Elmes
7c51a7bb16 update sort field when field moved 2012-04-21 06:40:20 +09:00
Damien Elmes
c2df347909 catch attempt to delete last template 2012-04-20 22:37:31 +09:00
Damien Elmes
4b3e1f0d2b accept a string did in remDyn() 2012-04-20 02:19:00 +09:00
Damien Elmes
625a77f7f8 strip \n in csv tags: 2012-04-20 02:17:44 +09:00
Damien Elmes
74bd61139a fix unit test 2012-04-19 11:42:56 +09:00
Damien Elmes
a3407020cb split empty card removal into separate report 2012-04-19 11:14:57 +09:00
Damien Elmes
fe0e227325 don't upgrade clozes while iterating 2012-04-19 09:58:12 +09:00
Damien Elmes
5cbe93b63d more cloze work
- upgrade old decks
- specify the field in the cloze, so the user can have an id in the first
  field
2012-04-19 08:32:19 +09:00
Damien Elmes
41fa9a9896 cloze refactor wip 2012-04-19 07:14:03 +09:00
Damien Elmes
20ecd7359d when resetting lrn reps, need to choose between lrn/lapse 2012-04-19 05:53:24 +09:00
Damien Elmes
f963a31d9c must set factor when cards are rescheduled as a review 2012-04-19 04:40:43 +09:00
Damien Elmes
336b1e7c58 fix bugs with daily counts
- When we reset() the deck, we need to update the daily counts for all decks,
  not just the selected ones, or the deck list is inaccurate
- We don't want to save the decks at that time, or simply opening Anki on
  another machine will cause a conflict with all decks
2012-04-19 02:45:46 +09:00
Damien Elmes
609e165c95 use deck of existing cards if all use same deck 2012-04-18 05:24:02 +09:00
Damien Elmes
c0b1fb9c5f allow "a:" to be translated to "a :" in French 2012-04-18 04:21:58 +09:00
Damien Elmes
cbdd152f36 factor langDir into separate func 2012-04-18 03:19:47 +09:00
Damien Elmes
a0578f73d1 add option to revert to default deck 2012-04-18 02:03:57 +09:00
Damien Elmes
35f89bfea7 collapse relearning to 2 buttons if single step 2012-04-18 01:59:51 +09:00
Damien Elmes
44d62d6a41 fix remEmptyCards filter arg order 2012-04-18 01:59:38 +09:00
Damien Elmes
55812bef86 remove cards from cram decks and the relearning queue on suspend 2012-04-17 22:53:48 +09:00
Damien Elmes
3ab91c600b fix unit tests 2012-04-17 22:23:44 +09:00
Damien Elmes
1b6cf2bef8 when a card is in an invalid deck, report that in its name 2012-04-17 22:22:04 +09:00
Damien Elmes
2ad98f063a ignore cram decks when deleting options groups 2012-04-17 20:37:17 +09:00
Damien Elmes
d429519929 return check db status 2012-04-17 20:16:41 +09:00
Damien Elmes
fbefb8a906 remove is:recent 2012-04-17 18:31:46 +09:00
Damien Elmes
2149502a77 fix translation of queue order labels 2012-04-17 17:53:02 +09:00
Damien Elmes
cbeccc4d8a fix sched unit test 2012-04-15 10:51:34 +09:00
Damien Elmes
29cb76de8f add check for broken review due #s 2012-04-12 17:30:14 +09:00
Damien Elmes
0da5b36d20 default to a single 10 minute delay for lapses 2012-04-12 01:01:47 +09:00
Damien Elmes
5ac1ec2067 when shifting cards on reschedule, only shift new cards 2012-04-12 00:37:22 +09:00