Commit graph

2246 commits

Author SHA1 Message Date
Damien Elmes
4ff3a9969b Merge branch 'master' of github.com:dae/libanki 2012-07-28 22:26:00 +09:00
Damien Elmes
694d97895f Merge pull request #14 from iniju/master
Fix for import deck: media dir for linux
2012-07-28 06:23:59 -07:00
iniju
2c43c3adca fix import deck: target correct media dir on linux. 2012-07-28 12:57:26 +01:00
Damien Elmes
875342e141 space buttons by at least a day
when a card has a low interval like 1, you can end up with next times of
2,2,3, which some users think is a bug. change the code to yield 2,3,4
instead.
2012-07-28 12:47:25 +09:00
Damien Elmes
153c971db6 report intervals below collapse time like "<10m" 2012-07-26 13:42:51 +09:00
Damien Elmes
c371d318a2 fix ordinals instead of aborting upgrade 2012-07-19 23:57:51 +09:00
Damien Elmes
b165ef3980 fix another tmpdir() reference 2012-07-19 21:00:28 +09:00
Damien Elmes
f56c2156a2 pass utf8 to sqlite but don't clobber our original format 2012-07-19 17:37:47 +09:00
Damien Elmes
5ddc4c639e make sure we feed sqlite utf8, and use unicode for tmp filenames 2012-07-19 15:34:19 +09:00
Damien Elmes
9d153313e5 make sure to update sort field when fields moved 2012-07-19 15:16:08 +09:00
Damien Elmes
779bcbef39 ensure crt synced 2012-07-18 11:19:30 +09:00
Damien Elmes
bd80f31c48 no need to exclude/dedupe audio anymore
because audio is stripped from FrontSide, we don't need to jump through hoops
to ensure audio plays correctly anymore
2012-07-15 16:46:34 +09:00
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