Commit graph

2234 commits

Author SHA1 Message Date
Damien Elmes
2616e95348 don't delete old revlog entries when cards deleted 2012-07-11 10:35:17 +09:00
Damien Elmes
35a498b858 cloze is blank if no match 2012-07-05 19:49:40 +09:00
Damien Elmes
57a9668350 fix cloze->basic model changing 2012-07-05 05:39:25 +09:00
Damien Elmes
7aa9691334 unit test update pending more info from hume 2012-07-05 04:37:26 +09:00
Damien Elmes
49ec362ea3 fix findDupes() when no limit provided 2012-07-05 03:22:00 +09:00
Damien Elmes
50bfb9dd4b replace clozes individually so hints aren't shared 2012-07-05 03:17:16 +09:00
Damien Elmes
5212f62198 fix problem with 'or' in findDupes 2012-07-05 01:12:26 +09:00
Damien Elmes
52ae784a65 don't throw error when learning card answered with no steps 2012-07-04 22:58:49 +09:00
Damien Elmes
c5abb535ed don't delete orphaned notes on sync
Fields are synced later, and they may prevent a note from becoming orphaned
2012-07-04 22:41:21 +09:00
Damien Elmes
74af374720 don't throw error when deck renamed to child of itself 2012-07-04 21:42:18 +09:00
Damien Elmes
b9b3dfbdee update active did list on rename 2012-07-04 20:28:08 +09:00
Damien Elmes
b4c7985757 tolerate incorrect {{=foo}} reference 2012-07-04 20:03:41 +09:00
Damien Elmes
9f2cf172f9 don't throw error when upgrading collection with unused models 2012-07-04 19:45:08 +09:00
Damien Elmes
c3aed57df5 silently ignore attempt to delete default deck
users can nest the default deck, so we don't want to throw an error when they
delete a top level deck which the default deck happens to be under
2012-07-04 19:42:24 +09:00
Damien Elmes
0ac8c7ae59 use existing stripSounds() instead 2012-07-04 19:29:07 +09:00
Damien Elmes
98c072fc2a updated regexp doesn't use third match 2012-07-04 18:28:26 +09:00
Damien Elmes
8d46173de9 Merge branch 'master' of github.com:dae/libanki 2012-07-04 18:28:07 +09:00
Damien Elmes
c0423e80b7 Merge pull request #12 from kieranclancy/master
This fixes a furigana bug
2012-07-04 02:27:48 -07:00
Damien Elmes
5c8f45b2c4 make question replaying a deck property; add exclude arg to play 2012-07-04 18:19:05 +09:00
Damien Elmes
d47dfc1780 don't include audio in {{FrontSide}} 2012-07-04 18:17:08 +09:00
Damien Elmes
05538f9ef2 reword stats line 2012-07-04 17:19:36 +09:00
Damien Elmes
f9c438b2bf reset factor when cards reset to new 2012-07-04 17:19:28 +09:00
Kieran Clancy
a766e0358e Fixed furigana regexp. It now ignores HTML and doesn't break spacing. 2012-07-03 20:25:20 +09:30
Damien Elmes
78a209edec catch invalid regex in field search 2012-06-20 10:28:08 +09:00
Damien Elmes
6559020d1f add {{hint:Field}} 2012-06-20 10:20:42 +09:00
Damien Elmes
738ab23bec add db.interrupt() 2012-06-20 09:55:40 +09:00
Damien Elmes
ce83001be6 treat 'not' as a normal search string 2012-06-20 09:37:56 +09:00
Damien Elmes
7130f2c1fe correctly handle relearn steps of 1+ days 2012-06-20 08:57:49 +09:00
Damien Elmes
07ae142781 we don't automatically delete anymore, so update unit test 2012-06-19 16:35:56 +09:00
Damien Elmes
140cc82a43 fix deck rename exception 2012-06-17 01:00:56 +09:00
Damien Elmes
2b60c92f99 use 'mo' for month ticks to make scale clearer 2012-06-16 01:46:14 +09:00
Damien Elmes
acbb24ccd4 decreasing ivls preset 2012-06-15 02:32:27 +09:00
Damien Elmes
c394886af8 fix nbsp handling in latex 2012-06-15 01:09:16 +09:00
Damien Elmes
4c7f7a7c4b make sure we pass filename as utf8 to sqlite 2012-06-14 08:41:19 +09:00
Damien Elmes
f3a1916c07 replace <div> with spaces in latex 2012-06-14 06:29:25 +09:00
Damien Elmes
4b01c3c82c allow } inside cloze deletions 2012-06-13 00:46:59 +09:00
Damien Elmes
fec37958f4 tweak furigana regex
try to support text like:
今日[きょう]も <font color="#0000ff">元気[げんき]</font>
2012-06-11 22:19:56 +09:00
Damien Elmes
72102063bf add failing lapse test 2012-06-08 14:10:11 +09:00
Damien Elmes
c6cc874011 fix failed+suspended upgrade 2012-06-05 19:30:13 +09:00
Damien Elmes
c8b2b5ff87 look for certs in bundled location 2012-06-03 21:44:04 +09:00
Damien Elmes
bc36aace81 update test 2012-06-03 20:24:57 +09:00
Damien Elmes
3069729776 disable automatic failed card removal
It has caused two issues in the last few days:

- A user thought their failed cards were mysteriously disappearing
- A few users with 1 day+ re-learning steps had thought they hit a bug. What happens is they fail a card on day 1 and its review interval is set to day 2; then a few days later after a few steps, they fail it again and it enters queue 1, but when the queue is rebuilt the steps are discarded because the original review repetition is due.

It might be possible to fix the above, but for 2.0 it seems like the safest bet is to remove this feature, especially as nobody actually asked for it and I just thought it might be handy.
2012-06-03 20:23:11 +09:00
Damien Elmes
19fde43cda when importing make sure to adjust due date for day lrn too 2012-06-03 20:06:33 +09:00
Damien Elmes
f88bc6ff60 don't add files with / \ or : to log 2012-06-02 17:05:00 +09:00
Damien Elmes
a7815856e6 cards/minute stat 2012-05-31 14:48:36 +09:00
Damien Elmes
8fd920fce1 catch upgraderequired response 2012-05-30 16:09:52 +09:00
Damien Elmes
2e233fb86f set reps on fetch so fetch ahead shuffles properly 2012-05-29 11:08:04 +09:00
Damien Elmes
8122c42245 if media is off, don't upgrade it 2012-05-29 08:29:18 +09:00
Damien Elmes
53cd0c5b9f another attempt at ivl graph fix 2012-05-28 21:21:55 +09:00
Damien Elmes
fe35b8cf83 Revert "forcing scale in intervals graph gives incorrect xaxis"
This reverts commit ee691cc608.
2012-05-28 21:17:24 +09:00