Damien Elmes
594204a134
queue argument is obsolete
2011-12-06 00:05:14 +09:00
Damien Elmes
5a3d65ac61
send zips in 2.5MB increments
2011-12-05 22:06:23 +09:00
Damien Elmes
14f7c366d0
add base62
2011-12-05 22:06:09 +09:00
Damien Elmes
d52b2d4801
if counts() is passed a card, add the necessary count
2011-12-05 19:34:25 +09:00
Damien Elmes
8308c79fa6
minor refactor of count handling
...
- drop lrnCount; rename lrnRepCount to lrnCount
- on card fetch, decr count by card.left
- drop cardCounts(), rename repCounts() to just counts()
- fix lrn count bugs
2011-12-05 19:15:46 +09:00
Damien Elmes
e7101faff7
don't overcount learning reps by 1
2011-12-05 17:57:32 +09:00
Damien Elmes
41636f41f8
tweak sync error handling
2011-12-05 17:44:54 +09:00
Damien Elmes
0395047579
initial usn is 0, so distinguish between 0 and false
2011-12-05 15:27:06 +09:00
Damien Elmes
b33c2e99c0
return false, not 'continue', when not finished
2011-12-05 14:43:32 +09:00
Damien Elmes
b99dbb1466
don't .reset() on deck load by default anymore
2011-12-05 13:40:37 +09:00
Damien Elmes
e85603dae6
fix certs bundling
2011-12-04 19:09:47 +09:00
Damien Elmes
cca3b5cba6
scm ts should be ms too, fix unit tests
2011-12-04 17:52:01 +09:00
Damien Elmes
3b0334b04d
add schema check to note save
2011-12-04 16:28:01 +09:00
Damien Elmes
1ec747dbb4
tweak sync hooks
2011-12-04 15:56:38 +09:00
Damien Elmes
6bad4cc8c2
fix sanity check
2011-12-04 15:23:43 +09:00
Damien Elmes
9d5357f7a6
after a save, revert to unmodified state; sync tweaks
2011-12-04 14:56:12 +09:00
Damien Elmes
cdb33cf6a8
don't bump mod time unless the db has actually been changed
2011-12-04 13:51:13 +09:00
Damien Elmes
0ff59b87e9
make sure we commit after media operations
2011-12-04 13:00:38 +09:00
Damien Elmes
457ee809f4
don't implicitly commit in context manager
2011-12-04 13:00:24 +09:00
Damien Elmes
8fff05618c
check download before overwrite
2011-12-03 22:15:36 +09:00
Damien Elmes
6965a9c102
sync tweaks
2011-12-03 21:06:27 +09:00
Damien Elmes
d148a6cf1b
bundle ssl certs; share con across all sync types
2011-12-03 16:38:45 +09:00
Damien Elmes
92352d4725
convert guid to base 91 string
...
Because JSON doesn't support 64 bit numbers, we need to either convert the 64
bit numbers to a string during transport, or store the ids as a string. At
base 91 a 64 bit number only takes an extra two bytes, and it means we can
dump DB results directly into JSON without having to apply any transformation.
2011-12-03 14:25:18 +09:00
Damien Elmes
1db4b41e23
use WAL mode if available; don't delete media in check
2011-12-02 22:44:00 +09:00
Damien Elmes
c961b5843a
fix ivl estimation for new cards
2011-12-02 22:10:33 +09:00
Damien Elmes
8f1404642a
always generate new cards on edit; don't delete
2011-12-02 21:52:33 +09:00
Damien Elmes
88da227ce1
don't make optimize/check force a full sync anymore
2011-12-02 21:52:10 +09:00
Damien Elmes
a0d910201d
don't add two typeans fields on upgrade
2011-12-02 17:37:10 +09:00
Damien Elmes
dc73ba8e47
add #answerStart to default hr so we can scroll to answer
2011-12-02 17:25:40 +09:00
Damien Elmes
4a3b190453
fix bug in rev ivl adjustment that could lead to 0 day interval
2011-12-01 17:35:26 +09:00
Damien Elmes
320bb7c82f
change stats alignment
2011-12-01 17:15:17 +09:00
Damien Elmes
e8f4d04420
fix hourly retention graph
2011-12-01 13:25:40 +09:00
Damien Elmes
74518264e0
raise an exception when an invalid sort type is passed
2011-11-30 12:34:49 +09:00
Damien Elmes
a1693a3691
field operations should mod the schema immediately
2011-11-30 10:57:42 +09:00
Damien Elmes
49c0a5dd82
add review count back
2011-11-29 17:12:08 +09:00
Damien Elmes
347bfbbff5
tweak stats layout
2011-11-29 16:48:18 +09:00
Damien Elmes
56ec1c6135
fix upgrading of revlog
2011-11-29 10:34:49 +09:00
Damien Elmes
3d1756df9b
tweak stats
2011-11-29 10:18:37 +09:00
Damien Elmes
9dbb0b90d5
fix updateFieldCache() call
2011-11-28 21:30:47 +09:00
Damien Elmes
be3258b0a8
fix field limiting
2011-11-28 20:51:47 +09:00
Damien Elmes
73b80211c2
add current deck limit
2011-11-28 20:48:14 +09:00
Damien Elmes
8c1266ab2a
less terse card state searches
2011-11-28 20:18:16 +09:00
Damien Elmes
67e4f0d1cc
tweak find code
2011-11-28 20:04:39 +09:00
Damien Elmes
d903b50d5f
upgrade tweaks
2011-11-28 19:14:10 +09:00
Damien Elmes
bd29318168
catch incorrect ordinals on upgrade
2011-11-28 16:57:58 +09:00
Damien Elmes
cd76706a2f
make sure to remove inactive templates properly
2011-11-28 16:10:41 +09:00
Damien Elmes
0032dd39c9
return 0 count when media not copied
2011-11-28 16:05:48 +09:00
Damien Elmes
c0e2a0ba50
identify whether it's a dupe or empty
2011-11-28 16:05:37 +09:00
Damien Elmes
1235f8362a
type answer is now a template replacement
2011-11-28 15:15:38 +09:00
Damien Elmes
223cc48052
don't wrap template in div; reference #card instead
...
We want the background color to fill the card area rather than only the size
of the card content, so we need to set the CSS for the outer container
instead.
2011-11-28 14:45:43 +09:00