Commit graph

2164 commits

Author SHA1 Message Date
Damien Elmes
f47a1a9d27 fix 'ahead by two days' example 2012-05-25 16:10:32 +09:00
Damien Elmes
21466be03a make sure _ is defined 2012-05-25 12:51:11 +09:00
Damien Elmes
0ad8d82961 fix cloze unit test 2012-05-25 11:06:31 +09:00
Damien Elmes
17095ae1fb switch args in rated: search; make ease optional 2012-05-25 11:05:02 +09:00
Damien Elmes
3382af2877 allow empty clozes
instead of considering a cloze note with no clozes marked as invalid, treat it
as the first card and show a warning during review
2012-05-25 09:12:19 +09:00
Damien Elmes
b7d9935b99 add bq/bafmt on upgrade 2012-05-25 08:40:08 +09:00
Damien Elmes
c47b93151b add Thai, Bosnian, Afrikaans, Low German and Occitan 2012-05-25 08:24:48 +09:00
Damien Elmes
812b0b5353 add the ability to get non-dyn deck names 2012-05-25 08:13:04 +09:00
Damien Elmes
97f2665a11 fix terminology differences 2012-05-25 08:12:42 +09:00
Damien Elmes
225196f7d1 run hook on deck/model creation 2012-05-24 18:20:16 +09:00
Damien Elmes
bde4655fa5 warning shouldn't fire if in cram deck 2012-05-24 18:09:52 +09:00
Damien Elmes
fa5fca5941 don't touch due cards either 2012-05-24 18:02:32 +09:00
Damien Elmes
ec1a4f7458 even if failed 2012-05-24 17:51:49 +09:00
Damien Elmes
e3bb4a817e and undue cards have untouched ivl 2012-05-24 17:35:27 +09:00
Damien Elmes
455796f189 when rescheduling off, graduating cards get reset to new 2012-05-24 17:12:12 +09:00
Damien Elmes
d88c307758 presets 2012-05-24 15:26:34 +09:00
Damien Elmes
ba667cc94d fix order following failed order removal 2012-05-24 14:29:05 +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
44b4f18e6c cram decks don't pull from other cram decks anymore 2012-05-24 08:31:58 +09:00
Damien Elmes
090e47eb7b optimize deck:* case 2012-05-24 07:28:14 +09:00
Damien Elmes
942beef5de allow != in properties 2012-05-23 23:07:23 +09:00
Damien Elmes
b63ac7e80d turn off not after application 2012-05-23 20:54:03 +09:00
Damien Elmes
6af7f6e846 improved finding
- new per-character tokenizer that is easier to read and maintain
- OR searches now supported
- grouping with ( and ) now supported
- sorting is off by default now
- searching in html is disabled for now, but may come back later
- use ? arguments instead of named arguments to ease porting to other
  platforms
- field:foo is no longer wrapped in implicit wildcards
- avoid joining notes table if it not required - about 30% faster
- fixed sql injection bug in findNids()
- commands no longer have to take care of negation themselves
- commands can return nothing to immediately flag the query as invalid
2012-05-23 20:21:47 +09:00
Damien Elmes
ef4ff86f8c support searches for particular ratings 2012-05-23 14:39:30 +09:00
Damien Elmes
3755a8f82d support matches on card properties 2012-05-23 14:18:44 +09:00
Damien Elmes
a76d34dc19 fix error on negated invalid is: 2012-05-23 13:39:25 +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
5cb858b02d unittest: cards in learning are imported with 1 step left 2012-05-23 13:19:20 +09:00
Damien Elmes
56652c5066 remove unused cramRev 2012-05-23 13:16:15 +09:00
Damien Elmes
c236bc8327 don't show hourly perf. graph if few datapoints 2012-05-23 13:08:51 +09:00
Damien Elmes
a84a95cb1a fix ProxyInfo() call 2012-05-23 08:43:38 +09:00
Damien Elmes
bc2112a127 fix availOrds() when conditional expressions have extra text 2012-05-23 08:03:03 +09:00
Damien Elmes
cb24e106e6 make a distinction between cards in learning and relearing on upgrade 2012-05-22 20:58:27 +09:00
Damien Elmes
0fcf36c2a7 fix upgrade of learning cards in 1.2
- interval must be 1+ days
- type must be 2
2012-05-22 20:22:33 +09:00
Damien Elmes
233bf555b4 custom browser q/a columns 2012-05-22 15:37:15 +09:00
Damien Elmes
5aa840e848 handle proxy config in libanki 2012-05-22 14:14:40 +09:00
Damien Elmes
ab5af8c7aa log lapse time as relearn delay if available 2012-05-22 11:17:10 +09:00
Damien Elmes
31cabb6d3f only show interval if review card 2012-05-22 11:04:44 +09:00
Damien Elmes
20c96d50d6 fix countIdx() for lrn day cards 2012-05-22 09:37:36 +09:00
Damien Elmes
992479de33 check for dirs when deleting empty 2012-05-22 09:26:24 +09:00
Damien Elmes
82ead398db field:foo searches should be case insensitive 2012-05-22 06:35:04 +09:00
Damien Elmes
8a8ce2bffb fix ivlfct reference in cram decks 2012-05-22 06:32:07 +09:00
Damien Elmes
8f89ea57f5 FrontSide on upgrade, allNames() in models 2012-05-21 14:32:43 +09:00
Damien Elmes
0345ad7e2e add {{FrontSide}} for copying question text 2012-05-21 12:50:54 +09:00
Damien Elmes
28b5a108f6 wildcard deck searches 2012-05-21 11:45:24 +09:00
Damien Elmes
bc220e6f35 per-deck default model 2012-05-21 11:25:48 +09:00
Damien Elmes
a8513a679a fix some unittest issues thanks to kostas 2012-05-21 08:47:00 +09:00