Damien Elmes
974324e3dd
add unit test for order
2011-04-28 09:24:04 +09:00
Damien Elmes
1641256da4
random ids should start at 1
2011-04-28 09:24:04 +09:00
Damien Elmes
82a3443abe
randomize if necessary on upgrade; don't add old option names
2011-04-28 09:24:04 +09:00
Damien Elmes
82c3119c90
update randomizing/ordering code and forgetCards()
...
instead of completely resetting a card like we did in resetCards() in the
past, forgetCards() just puts the card back in the new queue and leaves the
factor and revlog alone. If users want to complete reset a card, they'll need to
export it.
2011-04-28 09:24:04 +09:00
Damien Elmes
0df95eafc0
revlog updates
...
- use negative numbers to denote second intervals
- record the rev ivl when leaving lrn queue
- improve revlog upgrade
- don't truncate precision when recording time taken
2011-04-28 09:24:04 +09:00
Damien Elmes
497c25daa4
make it easier for callers to add extra lines
2011-04-28 09:24:04 +09:00
Damien Elmes
466c14421b
tweak stats
2011-04-28 09:24:04 +09:00
Damien Elmes
7d64036a07
drop streak, make reps log all entries
...
reps should now be equal to the number of entries in the revlog, and only
exists so that we can order by review count in the browser efficiently
streak is no longer necessary as we have a learn queue now
2011-04-28 09:24:04 +09:00
Damien Elmes
946b54185e
more humane time display
2011-04-28 09:24:04 +09:00
Damien Elmes
58fa7ff714
be consistent with .db references
2011-04-28 09:24:04 +09:00
Damien Elmes
884405d2a6
show the latest review instead
2011-04-28 09:24:04 +09:00
Damien Elmes
5394740ea7
we don't need changed anymore, since it's usually only updated on review
2011-04-28 09:24:04 +09:00
Damien Elmes
d6258e7231
more tweaks
2011-04-28 09:24:04 +09:00
Damien Elmes
799b322e12
tweak card info layout
2011-04-28 09:24:04 +09:00
Damien Elmes
1c2b403348
apply selective groups to learning queue too
...
originally the plan was to get the user to "forget learning cards" or "remove
final drill" when switching between categories, but that's cumbersome and not
intuitive
2011-04-28 09:24:04 +09:00
Damien Elmes
890df46047
remember tags per model
2011-04-28 09:24:04 +09:00
Damien Elmes
9b56c862cd
use 'initial group' instead of 'fact group'
2011-04-28 09:24:04 +09:00
Damien Elmes
10426b6606
don't lstrip the bom
2011-04-28 09:24:04 +09:00
Damien Elmes
3af48542e4
include card & fact group in card info
2011-04-28 09:24:03 +09:00
Damien Elmes
003737c03f
generate a separate cumulative plot for each revlog type
2011-04-28 09:24:03 +09:00
Damien Elmes
b422019970
compress graph; show % correct instead; ignore hours with counts < 30
2011-04-28 09:24:03 +09:00
Damien Elmes
8085ba299e
hourly retention graph
2011-04-28 09:24:03 +09:00
Damien Elmes
2243b691cc
add full search to ignore formatting
2011-04-28 09:24:03 +09:00
Damien Elmes
4a568a83be
strip html from latex so clozes work properly
...
in the future we could look at replacing the cloze html with something
prettier, but it might cause latex errors
2011-04-28 09:24:03 +09:00
Damien Elmes
f0909ebed2
if context is off, don't lose outer field styling
2011-04-28 09:24:03 +09:00
Damien Elmes
0fdb966766
wrap clozes in a classed span instead of bold
2011-04-28 09:24:03 +09:00
Damien Elmes
03d00228aa
support stripping context of cloze
2011-04-28 09:24:03 +09:00
Damien Elmes
3c269d5fba
sticky fields; add forget option to leeches
2011-04-28 09:24:03 +09:00
Damien Elmes
344b111b80
centralize all tmp dir access
2011-04-28 09:24:03 +09:00
Damien Elmes
d96a0eaf08
rev count should be decremented on fetch
2011-04-28 09:24:03 +09:00
Damien Elmes
786600ebb6
check python version and locale on load
2011-04-28 09:24:03 +09:00
Damien Elmes
e38125d9aa
predictable review queue randomization
2011-04-28 09:24:03 +09:00
Damien Elmes
ce0df2652f
add utils for adding/removing tags
2011-04-28 09:24:03 +09:00
Damien Elmes
f7c11f5771
fix accidental inverted colours
2011-04-28 09:24:03 +09:00
Damien Elmes
aac840f375
remove redundant cardHasTag()
2011-04-28 09:24:03 +09:00
Damien Elmes
173379f451
minor utils tweaks
2011-04-28 09:24:03 +09:00
Damien Elmes
84d59e4b01
don't truncate sort field anymore, since we display it in the gui
2011-04-28 09:24:03 +09:00
Damien Elmes
e8d6714130
make sure the failed card count reflects the cutoff
2011-04-28 09:24:03 +09:00
Damien Elmes
8b747c3aac
allow the user to choose if case should be folded
2011-04-28 09:24:03 +09:00
Damien Elmes
bee14e1a0b
make fieldNames() available for gui code too
2011-04-28 09:24:03 +09:00
Damien Elmes
d51cd5a433
find & replace
2011-04-28 09:24:03 +09:00
Damien Elmes
98a63285e1
port changeModel()
2011-04-28 09:24:02 +09:00
Damien Elmes
1baa7bb5b6
reload field map on fact load(); order by ordinal not id
2011-04-28 09:24:02 +09:00
Damien Elmes
5619959b5a
when reloading card, make sure cache is discarded
2011-04-28 09:24:02 +09:00
Damien Elmes
572fe6041a
convert some list comps to generators
2011-04-28 09:24:02 +09:00
Damien Elmes
d7b86da811
canonify tags after bulk update
2011-04-28 09:24:02 +09:00
Damien Elmes
93d80678f9
_fields -> fields
2011-04-28 09:24:02 +09:00
Damien Elmes
89673f0c0a
if no tags were provided, just return
2011-04-28 09:24:02 +09:00
Damien Elmes
d611299715
make sure add/delTags() is limited to provided ids
2011-04-28 09:24:02 +09:00
Damien Elmes
96d3a25c9a
add hook into upgrade
2011-04-28 09:24:02 +09:00