Commit graph

2116 commits

Author SHA1 Message Date
Damien Elmes
0fcf36c2a7 fix upgrade of learning cards in 1.2
- interval must be 1+ days
- type must be 2
2012-05-22 20:22:33 +09:00
Damien Elmes
233bf555b4 custom browser q/a columns 2012-05-22 15:37:15 +09:00
Damien Elmes
5aa840e848 handle proxy config in libanki 2012-05-22 14:14:40 +09:00
Damien Elmes
ab5af8c7aa log lapse time as relearn delay if available 2012-05-22 11:17:10 +09:00
Damien Elmes
31cabb6d3f only show interval if review card 2012-05-22 11:04:44 +09:00
Damien Elmes
20c96d50d6 fix countIdx() for lrn day cards 2012-05-22 09:37:36 +09:00
Damien Elmes
992479de33 check for dirs when deleting empty 2012-05-22 09:26:24 +09:00
Damien Elmes
82ead398db field:foo searches should be case insensitive 2012-05-22 06:35:04 +09:00
Damien Elmes
8a8ce2bffb fix ivlfct reference in cram decks 2012-05-22 06:32:07 +09:00
Damien Elmes
8f89ea57f5 FrontSide on upgrade, allNames() in models 2012-05-21 14:32:43 +09:00
Damien Elmes
0345ad7e2e add {{FrontSide}} for copying question text 2012-05-21 12:50:54 +09:00
Damien Elmes
28b5a108f6 wildcard deck searches 2012-05-21 11:45:24 +09:00
Damien Elmes
bc220e6f35 per-deck default model 2012-05-21 11:25:48 +09:00
Damien Elmes
1c5dae84af ignore media starting with _ 2012-05-21 07:51:16 +09:00
Damien Elmes
d9348e72dd replace fi adjustment with factor 2012-05-20 21:35:56 +09:00
Damien Elmes
745bbe1382 update children too 2012-05-20 20:55:14 +09:00
Damien Elmes
f00b7201b4 add fn to extend today's limits (into the negatives allowed) 2012-05-20 20:44:21 +09:00
Damien Elmes
faa3c7134b find and cards with invalid dids on deck list 2012-05-20 19:37:43 +09:00
Damien Elmes
e644cc1faa allow the default proxy to be overridden 2012-05-20 18:29:43 +09:00
Damien Elmes
cbb472712b while decks nested under cram not supported, don't error on delete 2012-05-20 17:51:37 +09:00
Damien Elmes
2438ec9117 when deleting a deck, delete cards being crammed too 2012-05-20 17:38:01 +09:00
Damien Elmes
dd74e73c04 include day lrn cards in forecast 2012-05-20 17:13:39 +09:00
Damien Elmes
b6bdd4aa21 daily learning queue
The way we were handling 1 day+ learning intervals was not great - they'd show
up at the start of a new day before normal reviews, meaning the hardest cards
came first. In previous Anki versions we deliberately sorted the queue in the
opposite order to prevent that. When relearning the cards the next day, if you
failed a card and expected to see it in 10 minutes that wouldn't happen
either, as all the overdue cards took precedence.

To fix this, we put cards that are due tomorrow or later into a separate queue
(queue 3), and pull cards from that queue only after the reviews are done. In
the future it might also be nice to move overdue learning cards into that
queue automatically at the start of a session.
2012-05-20 16:56:14 +09:00
Damien Elmes
32fde2a072 encode daily steps in left
When a user has learning steps that extend past the daily cutoff, we end up
counting them all instead of only the ones that would be done today. In order
to avoid this without expensive calculations or db schema changes, we
calculate the number of steps until the daily cutoff and pack it into the left
column, as totalLeft + leftToday*1000.
2012-05-20 16:05:50 +09:00
Damien Elmes
33407a6043 if the next step of the learn card is past the day cutoff, ignore left 2012-05-20 12:01:52 +09:00
Damien Elmes
a15b210349 be tolerant of bad upgrade 2012-05-19 08:23:11 +09:00
Damien Elmes
26f3ab7b9f due sort should sort by type first 2012-05-18 12:02:00 +09:00
Damien Elmes
e88bb29adf fix off by one in x axis 2012-05-18 12:01:04 +09:00
Damien Elmes
9aedb4a5e0 don't allow empty files in media folder 2012-05-16 05:35:58 +09:00
Damien Elmes
54bcdf6f21 odid was in the wrong place 2012-05-14 11:54:48 +09:00
Damien Elmes
3cda67ad68 defer i18n resolution so names can be translated 2012-05-14 07:11:58 +09:00
Damien Elmes
5c56de0e73 import deck conf 2012-05-14 07:05:18 +09:00
Damien Elmes
e10e4aed1d fix due check, remove obsolote unit test 2012-05-14 06:55:32 +09:00
Damien Elmes
b8ceef1b4a obsolete code in tags.py 2012-05-14 06:27:37 +09:00
Damien Elmes
ca7662ba72 deck percentage -> percentage 2012-05-14 06:24:11 +09:00
Damien Elmes
b291b9f2c0 show original deck name if in cram deck 2012-05-14 06:22:04 +09:00
Damien Elmes
1394b80152 catch attempt to set invalid due date on cards 2012-05-14 05:48:20 +09:00
Damien Elmes
072e93590b don't bump mod time when expired failed cards 2012-05-14 05:44:48 +09:00
Damien Elmes
d47b0726b0 limit y axis to integer ticks 2012-05-14 05:12:59 +09:00
Damien Elmes
f739d7ac38 ignore crom decks in didsForConf() 2012-05-14 03:17:11 +09:00
Damien Elmes
6096d39748 revert to default did if invalid in _newCard() 2012-05-14 03:02:19 +09:00
Damien Elmes
32bb469c63 proactively remove empty dids 2012-05-13 08:32:48 +09:00
Damien Elmes
b2580a9a15 fix odue issue 2012-05-08 02:11:40 +09:00
Damien Elmes
50f1091e28 catch attempt to retrieve conf from invalid deck 2012-05-08 01:39:19 +09:00
Damien Elmes
4b061e8f46 don't hard error on queue/odue issue 2012-05-08 01:30:37 +09:00
Damien Elmes
1a80ffa8a2 shared css 2012-05-06 20:04:28 +09:00
Damien Elmes
2cfa80b75b fix export of deck children when limiting to deck 2012-05-06 19:28:44 +09:00
Damien Elmes
eef669896d don't fail when trying to export cram deck 2012-05-06 19:26:05 +09:00
Damien Elmes
50464b514a add card.isEmpty() 2012-05-06 19:21:38 +09:00
Damien Elmes
aedf88ee6d don't allow {{c0:: 2012-05-06 18:08:15 +09:00
Damien Elmes
c1ea82273b log actual changes, not all prospectives 2012-05-06 17:53:18 +09:00
Damien Elmes
a52e740ef6 log added and updated notes separately 2012-05-06 17:34:04 +09:00
Damien Elmes
a558c47330 fix duplicate check in import 2012-05-06 17:29:02 +09:00
Damien Elmes
362c213a6c pull leech threshold on upgrade 2012-05-06 17:09:19 +09:00
Damien Elmes
0b24e56b40 hourly graph now honours period setting 2012-05-06 17:02:09 +09:00
Damien Elmes
8a4d20de16 show # of reviews per hour 2012-05-06 16:54:01 +09:00
Damien Elmes
63872f51cd add 2nd y axis label 2012-05-06 16:30:00 +09:00
Damien Elmes
e3a848b5b8 tally lrn separately so we don't limit it with the rev limit 2012-05-06 02:20:25 +09:00
Damien Elmes
6f90e2c445 don't generate cards into invalid decks 2012-05-06 02:00:33 +09:00
Damien Elmes
0e2637a999 when cram deck removed, cards in learning need to be reset 2012-05-06 01:55:18 +09:00
Damien Elmes
c2370fe3ef fix bug where nondue review cards in cram were treated as due 2012-05-06 01:44:10 +09:00
Damien Elmes
782dd53d16 don't throw error when showing cram date in stats either 2012-05-06 01:09:43 +09:00
Damien Elmes
623dff8df0 allow for more cards in a cram deck 2012-05-05 23:52:47 +09:00
Damien Elmes
58257cb5c4 add deck:none 2012-05-05 23:34:11 +09:00
Damien Elmes
74773d8e8a canonicalize deck name prior to rename 2012-05-05 18:22:54 +09:00
Damien Elmes
47e8e3d718 must set odue to zero when removing failed 2012-05-05 01:28:47 +09:00
Damien Elmes
d359a600d9 adjust properties directly on leech 2012-05-05 01:20:18 +09:00
Damien Elmes
b9761ca109 fix tags cards being added to all notes 2012-05-05 01:15:58 +09:00
Damien Elmes
2df2231dc5 catch attempts to write queue=2 odue>0 2012-05-05 01:09:11 +09:00
Damien Elmes
0faad28715 fix negation of normal searches 2012-05-05 00:28:14 +09:00
Damien Elmes
13cabe3983 if tmpdir existed don't remove and recreate 2012-05-05 00:13:35 +09:00
Damien Elmes
2433da7ef5 Merge branch 'master' of github.com:dae/libanki 2012-05-04 22:55:04 +09:00
Damien Elmes
54e3436746 add byName9() to decks 2012-05-04 22:54:51 +09:00
ospalh
311897a393 match the whole {{xx:yy]] field so we can delete it 2012-05-04 12:13:47 +02:00
Damien Elmes
3173073cff make sure to escape fields when renaming
thanks to ospalh for the heads up
2012-05-01 15:33:54 +09:00
Damien Elmes
3a401ce4ac bundle pyaudio, beautifulsoup and httplib2 2012-04-28 19:02:04 +09:00
Damien Elmes
581830840c we require python2.6 now 2012-04-28 17:47:41 +09:00
Damien Elmes
461e240d53 allow python-bundled json 2012-04-28 17:41:56 +09:00
Damien Elmes
491596096a fix inverted cmp in leech handler 2012-04-28 16:29:59 +09:00
Damien Elmes
f6b620f9ed ensure period is always 1+ 2012-04-27 10:51:13 +09:00
Damien Elmes
89eea5f964 clearer message when mplayer missing 2012-04-26 15:01:32 +09:00
Damien Elmes
12a80ef9c2 handle cloze note types in changeModel() 2012-04-25 13:25:19 +09:00
Damien Elmes
58aebc5b55 genCards() on findReplace() 2012-04-25 13:24:54 +09:00
Damien Elmes
5f7c80a2cd add c<n> for conditional generation of specific clozes 2012-04-25 11:11:21 +09:00
Damien Elmes
b3ff6044c8 add replayBoth to conf 2012-04-24 16:33:02 +09:00
Damien Elmes
53c455ff1f fix sound file return when not encoding 2012-04-24 15:52:10 +09:00
Damien Elmes
5b97c3f20f don't throw error when update causes empty cards; fix unit test 2012-04-24 10:03:34 +09:00
Damien Elmes
7070b159d5 don't allow ? " or | in media filenames either 2012-04-24 09:16:34 +09:00
Damien Elmes
d401f92016 add new tag hook 2012-04-24 09:12:07 +09:00
Damien Elmes
fe029250d9 forward -> card 1 2012-04-24 06:59:37 +09:00
Damien Elmes
b5ad2eb880 clear overdue in deck browser too 2012-04-24 05:38:18 +09:00
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