Damien Elmes
b89dde97a8
fix deck syncing problems
...
- delete only the decks with graves, not any children
- make sure we log the deletion even if the deck didn't exist
2012-02-02 09:52:07 +09:00
Damien Elmes
d9a19f3e5e
fix parent limits on review screen counts
2012-01-23 22:10:03 +09:00
Damien Elmes
245d844616
fix deck list/review screen due count mismatch by fixing .parents()
2012-01-23 21:46:14 +09:00
Damien Elmes
1ad65bfb5f
Merge branch 'master' of https://github.com/aaronharsh/libanki
2012-01-17 11:21:30 +09:00
Aaron Harsh
54fe8bb96f
libanki support for drag-and-drop changes of deck hierarchy in deckbrowser
2012-01-15 20:55:29 -08:00
Damien Elmes
89445afc94
remove unused sendHome() for now
2012-01-16 10:15:03 +09:00
Damien Elmes
e0b7bca155
did could be a string
2011-12-20 19:38:55 +09:00
Damien Elmes
4496782e5b
desc was in wrong location
2011-12-17 08:36:51 +09:00
Damien Elmes
1986394e56
don't allow quotes in deck names
2011-12-15 17:29:00 +09:00
Damien Elmes
91f81e9142
timer flag and desc
2011-12-15 14:54:44 +09:00
Damien Elmes
bacbea13e0
conf() -> confForDid(); add getConf()
2011-12-13 13:56:05 +09:00
Damien Elmes
0a279f6a26
remove clozectx, add styling to stdmodels
2011-12-11 02:33:27 +09:00
Damien Elmes
918bfa2e62
move some prefs into collection
2011-12-10 23:48:36 +09:00
Damien Elmes
4428c04774
new order is now a deck property
2011-12-10 22:45:44 +09:00
Damien Elmes
45c218f807
add restore to default option
2011-12-10 04:17:53 +09:00
Damien Elmes
78494283c2
store forgetting index as %, fix card sorting
2011-12-10 04:11:43 +09:00
Damien Elmes
0161ebd9f1
fix rev order and add placeholder in ints[]
2011-12-10 01:07:39 +09:00
Damien Elmes
46443762c0
add the ability to create a new deck conf from existing one
2011-12-10 00:47:04 +09:00
Damien Elmes
20ffbd57a7
don't need relearn flag, can infer from empty delays list
2011-12-09 08:36:00 +09:00
Damien Elmes
451962d4a8
drop the special config for top level decks
...
New/rev card mixing, collapse time and the timeboxing limit are now a
collection property. I appreciate how it could be useful to have those
settings per top-level deck in some cases, but having some settings inherited
from the top level deck makes for a confusing UI.
2011-12-09 07:55:40 +09:00
Damien Elmes
8c9c3489e5
fetch reviews in subdecks incrementally like new cards
...
- allows separate review order for different decks
- makes new card and rev card handling consistent
- for users who find it confusing to have cards from different decks mixed in
and thus click on each deck in turn, they can now just select the parent
deck and have it work as expected
- for users who want their cards mixed together randomly, they can keep the
cards in a single deck
2011-12-09 04:02:43 +09:00
Damien Elmes
6356e6f06b
make sure we mod deck on current deck change
2011-12-07 21:50:26 +09:00
Damien Elmes
c0edcae238
fix some sync bugs
...
- don't send server graves graves back on the next sync
- make sure we update usns of models/tags/decks as well on upload
- don't die when updating decks after current deck deleted
- report counts when sanity check fails
2011-12-06 01:35:54 +09:00
Damien Elmes
0395047579
initial usn is 0, so distinguish between 0 and false
2011-12-05 15:27:06 +09:00
Damien Elmes
9d5357f7a6
after a save, revert to unmodified state; sync tweaks
2011-12-04 14:56:12 +09:00
Damien Elmes
cdb33cf6a8
don't bump mod time unless the db has actually been changed
2011-12-04 13:51:13 +09:00
Damien Elmes
67e4f0d1cc
tweak find code
2011-11-28 20:04:39 +09:00
Damien Elmes
f7790275ce
groups -> decks
2011-11-23 19:28:09 +09:00