Damien Elmes
021456a5ee
retire repo
2012-12-21 17:08:14 +09:00
Damien Elmes
6e52331699
fix importing of latex cache files
2012-12-20 20:53:00 +09:00
Damien Elmes
c36cc72cb2
don't log new cards in filtered deck as cramming
2012-12-20 19:19:33 +09:00
Damien Elmes
4a00e0427f
fix bug when renaming foo::bar foo to new parent
2012-12-19 10:51:41 +09:00
Damien Elmes
b226675618
catch missing nids in fixIntegrity()
2012-12-09 02:07:37 +09:00
Damien Elmes
322a2884f9
when copying a model over in import, make sure we flag it for sync
2012-11-29 03:17:12 +09:00
Damien Elmes
ea57f32939
work around usn upgrade issue
2012-11-10 17:36:24 +09:00
Damien Elmes
8aa23c7156
be tolerant of missing models when updating field cache
2012-11-10 12:55:11 +09:00
Damien Elmes
884ade00c2
include template q/afmt in model schema check
2012-11-08 16:57:34 +09:00
Damien Elmes
e5401f5b8e
force full sync if any problems found in db check
2012-11-08 16:57:22 +09:00
Damien Elmes
41ca2b0c1c
Merge pull request #19 from ospalh/some-fixes
...
Some fixes
2012-11-07 14:11:10 -08:00
Damien Elmes
eda32b4fcc
model byName() should be case sensitive
2012-11-07 04:19:23 +09:00
Damien Elmes
320cf05a51
escape () in field search
2012-11-06 08:37:38 +09:00
Damien Elmes
36f5fd0e4c
remove obsolete func
2012-11-05 04:32:04 +09:00
ospalh
1752652a4c
Merge branch 'master' of github.com:dae/libanki into some-fixes
2012-11-03 12:35:14 +01:00
Damien Elmes
49df458409
_startingLeft() should detect card type
2012-11-03 06:07:01 +09:00
Damien Elmes
c7547a984f
when undoing, decr sched.reps
2012-11-02 08:32:53 +09:00
Damien Elmes
d56a456319
when suspending, move cards out of (re)learning
2012-11-02 07:56:55 +09:00
Damien Elmes
44415ea97f
make sure we set card.left when lapsing a review
2012-11-02 07:22:58 +09:00
Damien Elmes
9b3364c1bb
new cards can't have due # > 32 bits
2012-11-02 07:14:25 +09:00
Damien Elmes
3ffe47f5d6
improve handling of divergent models when importing
...
- instead of maintaining a list of model versions on the model which could get
lost in a sync, we simply increment mid by one until we find a compatible
schema or empty slot
- same approach for guids, so that reimports of divergent material won't cause
extra duplicates
2012-11-02 06:34:28 +09:00
Damien Elmes
28e1cc933a
more robust deck list
...
- if we catch two decks with the same name, remove one and rebuild
- instead of trying to ensure parents which may fail if an existing deck with
a different case already exists, delete the deck that's missing parents
2012-11-01 07:05:41 +09:00
Damien Elmes
dd467cd413
account for case differences when recovering from missing parents
2012-11-01 06:36:46 +09:00
ospalh
34212ac06d
Avoid another double import
2012-10-31 17:25:03 +01:00
Damien Elmes
7dd271a99c
automatically fix missing parent decks
2012-10-31 10:34:05 +09:00
Damien Elmes
d5e43b364c
fix regression when renaming deck to child of itself
2012-10-30 21:05:25 +09:00
ospalh
bc53548355
Import urllib only once.
2012-10-30 10:42:41 +01:00
Damien Elmes
6ff5c3b2c2
make sure we don't reduce mid down to 0 on very old anki decks
2012-10-30 06:27:55 +09:00
ospalh
0443d68eea
Merge branch 'master' of github.com:dae/libanki into some-fixes
2012-10-29 09:31:43 +01:00
Damien Elmes
d3f0c84517
don't bump mod time when unburying cards from deck list
2012-10-29 04:42:42 +09:00
Damien Elmes
4011fa3084
add decimal point to reviews/day stat
2012-10-28 00:57:28 +09:00
Damien Elmes
29b0628141
revert import deck name selection
2012-10-28 00:04:36 +09:00
Damien Elmes
1403d36042
need to account for guid changes when importing cards
2012-10-27 21:59:31 +09:00
Damien Elmes
29e93f8c1d
make sure we update guid in note object too
2012-10-27 21:11:16 +09:00
Damien Elmes
bd1c6d4395
more robust anki1 upgrading & anki2 importing
...
- base the 2.0 model id on the 1.2 one so we don't get new models each time we
reimport the file
- when determining if we can reuse an existing note, it must have the same
model id, and the model must have the same schema
- make sure we check templates when determining schema
- if schema has diverged, note needs new guid
2012-10-27 20:55:08 +09:00
Damien Elmes
6830ca99d9
fix again count
2012-10-26 23:35:16 +09:00
ospalh
0426e87b5f
Don't assign an IOError to the name OSError and then never use it.
...
Instead silently fail on either an IOError or an OSError.
2012-10-26 14:05:58 +02:00
Damien Elmes
76926c953a
make sure we don't delete cloze notes in db check
2012-10-26 19:43:34 +09:00
Damien Elmes
8a06ab7bfe
break on div start, not end
2012-10-26 19:30:01 +09:00
ospalh
1e97b61bb1
Fix the non-setting of white backgrounds.
2012-10-26 12:26:57 +02:00
Damien Elmes
9c43e5928c
fix unicode error in stats
2012-10-26 16:59:18 +09:00
Damien Elmes
729862e45e
show 3 buttons for new cards
2012-10-26 14:48:01 +09:00
Damien Elmes
be722989f3
don't show custom study message on a custom study deck
2012-10-26 03:03:37 +09:00
Damien Elmes
99c238ae39
fix unit tests
2012-10-26 02:11:08 +09:00
Damien Elmes
90b0cded85
mention custom study in finished msg
2012-10-26 02:08:52 +09:00
Damien Elmes
62e69c3178
fix totalRev()
2012-10-26 02:08:28 +09:00
Damien Elmes
1196601bc0
remove dyn presets
2012-10-26 02:04:41 +09:00
Damien Elmes
ff8e75c90f
make sure we don't show negative numbers when limits extended
2012-10-25 22:45:14 +09:00
Damien Elmes
627bd1b1b3
total new/rev for deck count
2012-10-25 22:43:30 +09:00
Damien Elmes
da856552b2
forward/reverse models
2012-10-25 21:15:15 +09:00