Damien Elmes
53fbc9b3ee
if spacing is disabled, don't decrement counts
2010-12-01 02:54:21 +09:00
Damien Elmes
bb901dfa16
make sure all fields have a font set
2010-12-01 02:42:13 +09:00
Damien Elmes
9fed5e2bc1
work around sqlalchemy problem
2010-12-01 01:21:05 +09:00
Damien Elmes
2352502807
bump version
2010-11-30 03:35:45 +09:00
Damien Elmes
ae388595da
add whitespace preservation flag; only show active card models when previewing
2010-11-30 03:28:08 +09:00
Damien Elmes
a5af8fb8e9
convert pystache to private library since it doesn't behave like upstream
2010-11-29 22:51:55 +09:00
Damien Elmes
dfb21a0f71
{{{text}}} is returned without field formatting but html intact
2010-11-29 22:40:20 +09:00
Damien Elmes
da1cfa52b1
mention editFontFamily unused
2010-11-29 22:33:05 +09:00
Damien Elmes
b349a96fa5
drop most of the per-card formatting
2010-11-29 22:27:19 +09:00
Damien Elmes
74a0998a36
bump version
2010-11-28 18:21:00 +09:00
Damien Elmes
255deb9e9e
elaborate on debug msg
2010-11-28 18:14:09 +09:00
Damien Elmes
1293520c33
package pystache
2010-11-28 04:31:59 +09:00
Damien Elmes
689a744266
bump version
2010-11-28 02:32:59 +09:00
Damien Elmes
850d883ab4
update rest of code to recognize&use new rendering
2010-11-28 02:26:53 +09:00
Damien Elmes
ac8f613aca
use pystache for template rendering; autoconvert old style for now
2010-11-28 02:06:54 +09:00
Damien Elmes
5c3a63d84b
catch errors or missing fields when rendering template
2010-11-28 02:06:22 +09:00
Damien Elmes
9f6a21e0a7
switch raw and escaped modifiers
2010-11-27 20:58:19 +09:00
Damien Elmes
6d787a92f1
disable partial rendering
2010-11-27 20:48:34 +09:00
Damien Elmes
9e790ce747
add pystache
2010-11-27 14:16:29 +09:00
Damien Elmes
f247133ed8
make syncName work with foreign chars
2010-11-27 13:14:16 +09:00
Damien Elmes
ca9aeaa086
don't allow mature delay over a week for now; fix delay being reset to 0
2010-11-26 23:35:26 +09:00
Damien Elmes
386de21f87
don't fudge matplotlib path on win32
2010-11-26 21:59:09 +09:00
Damien Elmes
e58d7f8dac
bump version
2010-11-26 04:20:40 +09:00
Damien Elmes
84b99b1ae5
don't allow tags to be prefixed with a colon, as this breaks sqlite
2010-11-26 03:49:01 +09:00
Damien Elmes
3aa787a146
remove print statement
2010-11-26 03:39:58 +09:00
Damien Elmes
00087ed101
find duplicates support
2010-11-26 03:26:02 +09:00
Damien Elmes
d539018137
support multiple facts in fid: query
2010-11-26 03:25:32 +09:00
Damien Elmes
367143f4f3
make sure to set cards as not due when resetting/rescheduling for old clients
2010-11-26 01:49:10 +09:00
Damien Elmes
f4a35e9b03
support tags: at the top of file to import; fix comment stripping
2010-11-26 01:48:54 +09:00
Damien Elmes
e3dd736460
add ability to update fields when importing
2010-11-26 01:36:24 +09:00
Damien Elmes
dd00d1a5e1
when rebuilding tag priorities, don't include obsolote suspended
2010-11-25 21:56:08 +09:00
Damien Elmes
8f18299cc5
typo
2010-11-24 05:39:06 +09:00
Damien Elmes
f698481c19
don't keep changing the hard interval on load
...
only adjust it if it looks like the defaults haven't been changed
2010-11-24 05:32:09 +09:00
Damien Elmes
6bdca8b3c6
fix available card limiting when using %(tags)s, %(cardModel), etc
2010-11-24 05:14:07 +09:00
Damien Elmes
45dfc97e9f
add axis labels to graphs
...
note that due to limitations in the graphing library, these can't be
translated at the moment.
2010-11-24 05:09:00 +09:00
Damien Elmes
33567edb3e
numerous graph changes
...
- use bar graphs instead of line graphs for 3 months or less
- easier to read shades of blue for reps graph
- simplify day cutoff calculation
- fix off by one bug in work done data
- add missing entries when calculating cumulative due
2010-11-24 04:30:55 +09:00
Damien Elmes
7491cfc521
new syncName handling
...
- the local deck name must now match the online deck
- syncName is a hash of the current deck's path or None
- the hash is checked on deck load, and if it is different (because the deck
was copied or moved), syncing is disabled. This should prevent people from
accidentally clobbering their online decks
2010-11-23 23:12:34 +09:00
Damien Elmes
6ec898ca4b
Require explicit reset for most queue-modifying functions
...
When you call operations like deleteCards(), suspendCards() and so on, it is
now necessary to call deck.reset() afterwards. This allows the calling code to
delay a reset if necessary. If the calling code calls a function that says the
caller must reset, the caller should be sure to call .reset() and fetch the
current card again. Failure to do the latter will result in answerCard()
attempting to remove the card from the queue, when the queue has been cleared.
2010-11-23 17:41:36 +09:00
Damien Elmes
943c9a0e5f
make sure the finished message displays cards due tomorrow
2010-11-23 15:33:54 +09:00
Damien Elmes
03503cd9b9
fix cram from ids case
2010-11-22 08:09:20 +09:00
Damien Elmes
b03f30c279
no need to adjust hardInterval in upgrade; handled in deck open
2010-11-21 14:24:46 +09:00
Damien Elmes
76135dc8be
updated failed card handling when cramming
...
- temp suspend all answered cards, regardless of type
- fails influence the standard scheduling too
2010-11-21 13:39:28 +09:00
Damien Elmes
37e269ab81
bump version for coming development release
2010-11-21 12:58:14 +09:00
Damien Elmes
937d6a6513
update earliestTime() for new failed cards handling
2010-11-21 12:32:58 +09:00
Damien Elmes
b4493f0ec8
user may set young delay to more than a day
2010-11-21 12:25:54 +09:00
Damien Elmes
8e9d14a0fd
avoid passing the second fade argument, as it seems to be more robust
2010-11-16 18:04:04 +09:00
Damien Elmes
c2f2225b7f
update combinedDue for the current card object, not just for the db
2010-11-16 11:27:27 +09:00
Damien Elmes
0afec850c0
on second thought, avoid suspended cards or this will bite us in the future
2010-11-15 14:29:52 +09:00
Damien Elmes
1cd5125d4e
remove the rest of the obsolote rebuildTypes() code
2010-11-15 14:27:52 +09:00
Damien Elmes
26470c997e
remove unused where clause from rebuildTypes()
2010-11-15 14:07:13 +09:00