Commit graph

73 commits

Author SHA1 Message Date
Damien Elmes
5c8b7e2a00 fix error when renaming decks with different case 2012-10-23 18:39:47 +09:00
Damien Elmes
7eb2533fca don't break when user deletes deck with default deck as subdeck 2012-09-21 11:26:40 +09:00
Damien Elmes
df98e8609e need to bump deck usn so collapse syncs 2012-08-25 13:39:03 +09:00
Chris L
1e30532692 libanki collapse method (part 2 of 2) 2012-08-23 21:30:35 -04: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
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
5c8f45b2c4 make question replaying a deck property; add exclude arg to play 2012-07-04 18:19:05 +09:00
Damien Elmes
812b0b5353 add the ability to get non-dyn deck names 2012-05-25 08:13:04 +09:00
Damien Elmes
225196f7d1 run hook on deck/model creation 2012-05-24 18:20:16 +09:00
Damien Elmes
dae4c2c453 upgrade decks and conf 2012-05-24 14:10:15 +09:00
Damien Elmes
1d92961e97 maxIvl, ivlFct
- limit ivl on rev and cram scheduling, default to 100 years
- ivlfct -> ivlFct for consistency
2012-05-24 13:49:15 +09:00
Damien Elmes
d6bce7c873 start on filter/cram updates, deck:filtered
- cram decks no longer pull cards from other cram decks, as tests like is:due
  don't make sense on crammed decks
- cram decks now default to not overriding the original deck's steps
- remove obsolote dyn_failed sort order - have to fix this in upgrade
- search/limit/order properties have been merged into a list, in case we may
  want to support multiple queries in the future (eg 10 cards from tag A, 20
  cards from tag B)
- added a resched option to disable boosting/failure - not yet implemented
- added an unused flag to allow cards to persist in the cram deck after
  graduation. implementing this will take some work and won't come in 2.0
- instead of is:filtereddeck, use deck:filtered
2012-05-24 13:38:58 +09:00
Damien Elmes
3ffb6fd67b add separate toggle to disable scheduling completely in cram deck 2012-05-23 13:36:44 +09:00
Damien Elmes
779ba63b01 remove fmult in favour of home deck's setting 2012-05-23 13:22:57 +09:00
Damien Elmes
56652c5066 remove unused cramRev 2012-05-23 13:16:15 +09:00
Damien Elmes
d9348e72dd replace fi adjustment with factor 2012-05-20 21:35:56 +09:00
Damien Elmes
f00b7201b4 add fn to extend today's limits (into the negatives allowed) 2012-05-20 20:44:21 +09:00
Damien Elmes
faa3c7134b find and cards with invalid dids on deck list 2012-05-20 19:37:43 +09:00
Damien Elmes
cbb472712b while decks nested under cram not supported, don't error on delete 2012-05-20 17:51:37 +09:00
Damien Elmes
2438ec9117 when deleting a deck, delete cards being crammed too 2012-05-20 17:38:01 +09:00
Damien Elmes
f739d7ac38 ignore crom decks in didsForConf() 2012-05-14 03:17:11 +09:00
Damien Elmes
50f1091e28 catch attempt to retrieve conf from invalid deck 2012-05-08 01:39:19 +09:00
Damien Elmes
74773d8e8a canonicalize deck name prior to rename 2012-05-05 18:22:54 +09:00
Damien Elmes
54e3436746 add byName9() to decks 2012-05-04 22:54:51 +09:00
Damien Elmes
461e240d53 allow python-bundled json 2012-04-28 17:41:56 +09:00
Damien Elmes
b2bc97ee49 clear overdue lapsed cards from learning queue 2012-04-24 05:28:19 +09:00
Damien Elmes
3c6707c17f don't genCards() into a cram deck 2012-04-22 08:27:31 +09:00
Damien Elmes
fd30167c49 nameOrNone() 2012-04-22 07:12:32 +09:00
Damien Elmes
a0578f73d1 add option to revert to default deck 2012-04-18 02:03:57 +09:00
Damien Elmes
1b6cf2bef8 when a card is in an invalid deck, report that in its name 2012-04-17 22:22:04 +09:00
Damien Elmes
2ad98f063a ignore cram decks when deleting options groups 2012-04-17 20:37:17 +09:00
Damien Elmes
0da5b36d20 default to a single 10 minute delay for lapses 2012-04-12 01:01:47 +09:00
Damien Elmes
6e8f2f5993 when creating child decks, inherit case from parents 2012-04-08 08:45:36 +09:00
Damien Elmes
5c5341b5e5 make sure we don't modify the active decks during scheduling 2012-03-20 00:37:39 +09:00
Damien Elmes
acd0316a14 more cram orderings, clear out before rebuild 2012-03-13 21:40:31 +09:00
Damien Elmes
dc85212bfe remove review order options
As cram decks provide a more efficient way of ordering reviews, we can limit
normal reviews to just due order.
2012-03-13 19:25:28 +09:00
Damien Elmes
60dd0b426c store order as an index 2012-03-13 18:12:06 +09:00
Damien Elmes
5019e46fbf display due cards in review mode by default 2012-03-12 15:51:03 +09:00
Damien Elmes
f4acae6c1c add shift paramater in case we make card resched. in cram optional 2012-03-12 15:49:10 +09:00
Damien Elmes
09ca65624a select the dyn deck as it's created 2012-03-12 14:56:06 +09:00
Damien Elmes
b9cc9bf0b2 deck upgrade 2012-03-12 13:49:32 +09:00
Damien Elmes
da07e15a87 generalize into 'dynamic decks'
- search and limits are embedded in the deck
- decks can be refreshed
- they have the option to treat due reviews normally rather than cram them
- some options are inherited from the original deck, others taken from the
  dynamic deck
2012-03-10 19:41:37 +09:00
Damien Elmes
ffaf7ffc66 removing cram decks, estimates, failure handling 2012-03-09 06:56:07 +09:00
Damien Elmes
2859f9c39d add children argument to decks.cids() 2012-02-25 22:10:42 +09:00
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