Damien Elmes
b40dbd6fb8
fix young count
2011-04-28 09:23:58 +09:00
Damien Elmes
43f8623d78
tweak graph layout and separate cumul graph into young/mature
2011-04-28 09:23:58 +09:00
Damien Elmes
72ed9ceb02
but don't mark all ease 1s as learning
2011-04-28 09:23:58 +09:00
Damien Elmes
139f1afc41
try to mark initial / lapsed on upgrade
2011-04-28 09:23:58 +09:00
Damien Elmes
494101212e
go back to 0.7 due to linewidth
2011-04-28 09:23:58 +09:00
Damien Elmes
d6f968a47f
add extra data to reps/time graphs, simplify graph building
2011-04-28 09:23:58 +09:00
Damien Elmes
c7eb4253bd
set a different log type for lapsed learning
2011-04-28 09:23:58 +09:00
Damien Elmes
4867ffe25a
revert to flot 0.6 due to redraw bug
2011-04-28 09:23:58 +09:00
Damien Elmes
153c574d64
fix lastInt and nextInt being switched on upgrade
2011-04-28 09:23:58 +09:00
Damien Elmes
9c1e0befc6
bundle js libs; include them in report(); fix some graph ids
2011-04-28 09:23:58 +09:00
Damien Elmes
6ec2500eb8
reps & time graphs
2011-04-28 09:23:58 +09:00
Damien Elmes
60ef1ec49f
eases graph
2011-04-28 09:23:58 +09:00
Damien Elmes
f850ce8b06
when upgrading, make sure old reps are marked as reviews
2011-04-28 09:23:58 +09:00
Damien Elmes
7d5d72adf8
add intervals, boxing in weeks for now
2011-04-28 09:23:58 +09:00
Damien Elmes
89fa08c548
due and cumulative due graphs ported
2011-04-28 09:23:58 +09:00
Damien Elmes
2ca9568196
initial graph code reorganization
2011-04-28 09:23:58 +09:00
Damien Elmes
cc9f5b8d86
stripMedia->strip
2011-04-28 09:23:58 +09:00
Damien Elmes
15737959f5
fix upgrading of type answer
2011-04-28 09:23:58 +09:00
Damien Elmes
f26c6f76bc
fix other missing properties on upgrade
2011-04-28 09:23:57 +09:00
Damien Elmes
3c40854583
fix collapsing; make sure learning cards are put back on the heap
2011-04-28 09:23:57 +09:00
Damien Elmes
e53ae3f2b0
if the colour is missing, it should be black, not white
2011-04-28 09:23:57 +09:00
Damien Elmes
4ff5b81134
return status of scheduler change
2011-04-28 09:23:57 +09:00
Damien Elmes
843e8f3b33
add routine to grab all css
2011-04-28 09:23:57 +09:00
Damien Elmes
cf43d23edd
fix factor
2011-04-28 09:23:57 +09:00
Damien Elmes
6b736f9f54
change deck stats layout
2011-04-28 09:23:57 +09:00
Damien Elmes
942bf43b52
fix stats
...
they're running now, but need to be sanity checked to make sure they're doing the right thing
2011-04-28 09:23:57 +09:00
Damien Elmes
63d1448d1e
only bump lrn count when cramming if card not immediately graduated
2011-04-28 09:23:57 +09:00
Damien Elmes
cfd4198503
add call to determine number of buttons to show; 2.5m -> 2.5mo
2011-04-28 09:23:57 +09:00
Damien Elmes
464eb2b684
make sure cramming works if there are no selected groups
2011-04-28 09:23:57 +09:00
Damien Elmes
31427f0133
fix lapse card scheduling
...
- make sure we set a timestamp due time, and put the card back in the queue
- add a unit test for it
2011-04-28 09:23:57 +09:00
Damien Elmes
765720b928
make sure due forecast returns 0 for empty days
2011-04-28 09:23:57 +09:00
Damien Elmes
e407697fb9
fix interval calculation for lapsed cards in learning queue
2011-04-28 09:23:57 +09:00
Damien Elmes
4d0e4836fe
add the ability to add extra classes to q/a
2011-04-28 09:23:57 +09:00
Damien Elmes
1d91e459ec
wrap the q/a in the card template div
2011-04-28 09:23:57 +09:00
Damien Elmes
8170b2a2f5
fix templates not being properly upgraded
2011-04-28 09:23:57 +09:00
Damien Elmes
4477e21369
make sure we load css on model init
2011-04-28 09:23:57 +09:00
Damien Elmes
9d52196949
add a bgclass helper func
2011-04-28 09:23:57 +09:00
Damien Elmes
2c545cfb1d
drop data from renderQA
2011-04-28 09:23:57 +09:00
Damien Elmes
45d1b788ea
optimize card q/a generation and model fetching
2011-04-28 09:23:57 +09:00
Damien Elmes
c63b4085c6
add queueless counts; fix special field references on upgrade
2011-04-28 09:23:57 +09:00
Damien Elmes
4e989d98a9
add switch to disable groups without forgetting the selection
2011-04-28 09:23:57 +09:00
Damien Elmes
31a548ee42
add a dirty flag
...
when we make changes that need to be cleaned up on exit, we mark the deck
dirty so that if we exit without saving, we can clean up on next open
2011-04-28 09:23:57 +09:00
Damien Elmes
ed75e4bee2
refactor cloze deletions and text:field, add forecast
...
Previously cloze deletions were handled by copying the contents of one field
into another and applying transforms to it. This had a number of problems:
- after you add a card, you can't undo the cloze deletion
- if you spot a mistake, you have to edit it twice (or more if you have more
than one cloze for a sentence)
- making multiple clozes requires copying & pasting the sentence multiple
times
- this also lead to much bigger decks if the sentences being cloze-deleted are
large
- related clozes can't be spaced apart as siblings
To address these issues, we introduce the idea of cloze tags in the card
template and fields. If the template has the text:
{{cloze:1:field}}
And a field has the following contents:
{{c1::hello}}
Then the template will automatically replace that part of the text with either
occluded text, or a highlighted answer. All other clozes in the field are
displayed normally.
At the same time, we add support for text: into the template library, instead
of manually creating text: fields in the dict for every field.
Finally, add a forecast routine to get the due counts for the next week, which
is used in the GUI.
2011-04-28 09:23:56 +09:00
Damien Elmes
8705085200
update latex support
2011-04-28 09:23:56 +09:00
Damien Elmes
da0fb0c555
space exiting new cards; fix 1 fact freeze
2011-04-28 09:23:56 +09:00
Damien Elmes
8b2971f91c
move time taken maximum into group conf
2011-04-28 09:23:56 +09:00
Damien Elmes
eb18460945
save creation time in deck flush, update cutoff on reset not deck load
2011-04-28 09:23:56 +09:00
Damien Elmes
ccc325f87b
remove utcOffset; make it a property of crt instead
2011-04-28 09:23:56 +09:00
Damien Elmes
442bb7a7db
htmlQuestion/answer() shouldn't be needed anymore
2011-04-28 09:23:56 +09:00
Damien Elmes
138d9881d3
add the ability to limit a cram to a given period
2011-04-28 09:23:56 +09:00