Damien Elmes
e37f299fd2
filter on type, not queue, for learn/rev, so we catch suspended
2012-09-10 03:00:25 +09:00
Damien Elmes
6ebdd7a8b8
fix importing of anki1 media
2012-09-09 06:29:30 +09:00
Damien Elmes
fa1d309885
don't update odue if we're not in a filtered deck
2012-09-09 06:09:16 +09:00
Damien Elmes
2ee3ec8b7a
delete notes that are missing their model
2012-09-09 06:06:55 +09:00
Damien Elmes
958768ccfe
deck list shouldn't apply rev limit to 1+ day learning cards
2012-09-09 02:49:00 +09:00
Damien Elmes
b66d1479c2
stripHTML() handles entity replacement, which should be done post-strip
2012-09-07 04:54:59 +09:00
Damien Elmes
59cb45eda6
need to update odue when failing rev card in filtered deck
2012-09-06 04:34:44 +09:00
Damien Elmes
1db6a0bd3a
don't throw error if we can't return to old folder
2012-09-03 05:02:54 +09:00
Damien Elmes
fa4f26e560
is:learn should match relearning cards too - filter on queue, not type
2012-09-03 03:20:12 +09:00
Damien Elmes
7c1ff307ed
fix spurious and
2012-08-30 10:02:49 +09:00
Damien Elmes
20c0ae2e33
count per-day learning cards in deck list
2012-08-29 13:19:57 +09:00
Damien Elmes
a742784873
fix return when collection corrupt
2012-08-28 12:38:24 +09:00
Damien Elmes
73bfbb7f24
make sure _ is defined in hint.py
2012-08-27 12:06:17 +09:00
Damien Elmes
6d54a43060
don't bump mod time when importing apkg
2012-08-26 17:34:47 +09:00
Damien Elmes
78039891ce
make sure we limit review time period to oldest card in deck, not collection
2012-08-26 17:03:32 +09:00
Damien Elmes
1be0f919f4
make sure we honor the minimum interval on lapses
2012-08-26 15:09:28 +09:00
Damien Elmes
7e2c11d45c
honour period limit in answer buttons graph
2012-08-25 22:04:51 +09:00
Damien Elmes
7e0e54d7fd
add young/mature counts to labels
2012-08-25 21:30:16 +09:00
Damien Elmes
8aaff17ccf
when exporting without scheduling, revert decks to default conf
2012-08-25 16:09:49 +09:00
Damien Elmes
087533fbc5
defer i18n lookup of shortTimeTable
2012-08-25 15:45:23 +09:00
Damien Elmes
df98e8609e
need to bump deck usn so collapse syncs
2012-08-25 13:39:03 +09:00
Damien Elmes
ef07d98d0a
Merge branch 'master' of github.com:dae/libanki
2012-08-25 13:22:34 +09:00
Damien Elmes
a59cb3b7a6
cards/5 minutes -> cards/minute
2012-08-24 15:58:00 +09:00
Damien Elmes
0432911ef9
save deck description on import
2012-08-24 15:55:56 +09:00
Chris L
1e30532692
libanki collapse method (part 2 of 2)
2012-08-23 21:30:35 -04:00
Damien Elmes
f661eef702
add hint class to link/div
2012-08-23 20:03:29 +09:00
Damien Elmes
162ccdcc03
bury shouldn't touch suspended siblings
2012-08-23 19:44:25 +09:00
Damien Elmes
bcb9b53368
ensure we return cards in created order when sorting
2012-08-23 17:07:41 +09:00
Damien Elmes
6c1239ee9c
reset rep/lapse count on export
2012-08-23 16:57:08 +09:00
Damien Elmes
500dff04c8
must preserve selected card order when repositioning
2012-08-23 15:09:10 +09:00
Damien Elmes
d001b83ab1
fix anki1 media importing again
2012-08-23 14:11:04 +09:00
Damien Elmes
7c2e9ece1c
make it possible to override the media folder when exporting
2012-08-09 14:07:31 +09:00
Damien Elmes
9cc6ab9685
fix iniju's patch
2012-08-09 14:01:41 +09:00
Damien Elmes
949660288e
needCards/needWizard obsolete
...
We always include the cards as designed, and suggest to the user they can
customize them instead.
2012-08-09 11:40:56 +09:00
Damien Elmes
b74f773d46
post export hook for apkg
2012-08-03 20:29:59 +09:00
Damien Elmes
4ff3a9969b
Merge branch 'master' of github.com:dae/libanki
2012-07-28 22:26:00 +09: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
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
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
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
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
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
Damien Elmes
7458fca33c
removed size report in check db
2012-05-28 21:16:27 +09:00
Damien Elmes
229b7d1b22
use primary url
2012-05-28 20:37:25 +09:00
Damien Elmes
af97497747
option to avoid media dir creation
2012-05-28 17:18:12 +09:00
Damien Elmes
7a0f18d2c7
translation hint stripping
2012-05-28 17:17:57 +09:00
Damien Elmes
ee691cc608
forcing scale in intervals graph gives incorrect xaxis
2012-05-27 13:32:59 +09:00
Damien Elmes
315838a56b
fix answer buttons on review card
2012-05-27 13:14:58 +09:00
Damien Elmes
b415aa531e
possible fix for mplayer video quit
2012-05-27 00:16:26 +09:00
Damien Elmes
c27cc17762
findDupes() and findNotes()
2012-05-27 00:12:26 +09:00
Damien Elmes
eb64794c18
don't force graph size
2012-05-26 19:53:55 +09:00