Damien Elmes
3d94e9a386
split jquery libraries up
2012-02-24 20:55:03 +09:00
Damien Elmes
056dd4d68e
remove some dead code thanks to richard
2012-02-24 20:40:17 +09:00
Damien Elmes
d06dccad32
deck list counts should be reps not cards, to match study screen
2012-02-14 12:27:17 +09:00
Damien Elmes
f6f6649062
return the restored card when undoing a review
2012-02-13 12:51:15 +09:00
Damien Elmes
030e5498b3
"this deck"
2012-02-13 12:31:35 +09:00
Damien Elmes
bde4420fb0
don't throw an error on unclosed conditional tags
2012-02-13 12:26:07 +09:00
Damien Elmes
abf6e3fa13
don't fall over if cwd doesn't exist
2012-02-13 12:16:52 +09:00
Damien Elmes
b89dde97a8
fix deck syncing problems
...
- delete only the decks with graves, not any children
- make sure we log the deletion even if the deck didn't exist
2012-02-02 09:52:07 +09:00
Damien Elmes
f9ed0d657c
remove notes field from cloze
2012-01-30 07:45:52 +09:00
Damien Elmes
1800f30776
correctly detect when we don't have a deck conf
2012-01-30 07:31:15 +09:00
Damien Elmes
665fe9c280
allow upgrade of devel-version decks
2012-01-30 06:26:30 +09:00
Damien Elmes
38ec009378
same with card upgrade
2012-01-30 06:24:51 +09:00
Damien Elmes
34ba8e18f1
improve duplicate handling of note ids on upgrade
2012-01-30 06:19:49 +09:00
Damien Elmes
057b13e0af
fix due # rewriting and correctly set nextPos
2012-01-30 05:42:03 +09:00
Damien Elmes
3dc9454cd7
revert to the previous cwd rather than assuming a particular path layout
2012-01-30 05:32:18 +09:00
Damien Elmes
63b5e862b3
Merge branch 'master' of https://github.com/tarix/libanki
2012-01-30 05:28:01 +09:00
mikem
f3847daae4
fix for FileIO exception when deleting a profile from windows
2012-01-29 19:15:12 +09:00
Damien Elmes
3c995017fe
force save after sync
2012-01-26 08:07:27 +09:00
Damien Elmes
58935afba7
when undoing, update daily limits
2012-01-24 23:38:58 +09:00
Damien Elmes
be8bec5bc4
fix ordinal problems rather than aborting upgrade
2012-01-24 23:10:37 +09:00
Damien Elmes
92ee7597a9
make sure we zero the queue when clearing it
2012-01-24 22:59:52 +09:00
Damien Elmes
302541e0c0
fix some audio issues
...
- add a pause between feeding mplayer multiple files, as it loses some of them
otherwise
- in order to do the above, we use mplayerEvt only as a flag and don't make
the main thread wait anymore
- use a different temporary name for each audio file on windows so we can
queue up multiple files at a time
2012-01-24 22:57:39 +09:00
Damien Elmes
2a76c8f4f0
reload card after suspending it in leech handler
...
this fixes the issue with display of due time in browser after an unsuspend
2012-01-24 01:24:46 +09:00
Damien Elmes
4f1bcb9356
fix is:recent
2012-01-24 01:04:49 +09:00
Damien Elmes
766e153840
try to avoid showing the same card twice in a row
2012-01-24 00:43:44 +09:00
Damien Elmes
87a996cdce
add flag fields for conditional templates
2012-01-23 23:57:33 +09:00
Damien Elmes
d9a19f3e5e
fix parent limits on review screen counts
2012-01-23 22:10:03 +09:00
Damien Elmes
245d844616
fix deck list/review screen due count mismatch by fixing .parents()
2012-01-23 21:46:14 +09:00
Kieran Clancy
1c2b6b746f
add hooks for arbitrary field modifiers
2012-01-22 13:24:30 +10:30
nobnago
262e04ed4f
fixes wrong rev queue order
2012-01-17 22:07:42 +01:00
Damien Elmes
1ad65bfb5f
Merge branch 'master' of https://github.com/aaronharsh/libanki
2012-01-17 11:21:30 +09:00
Aaron Harsh
1aaa81ee6f
Merge branch 'drag-and-drop'
2012-01-15 20:56:52 -08:00
Aaron Harsh
54fe8bb96f
libanki support for drag-and-drop changes of deck hierarchy in deckbrowser
2012-01-15 20:55:29 -08:00
Aaron Harsh
bb7faa5692
Bundle jquery-ui, to be used for drag-and-drop support in deckbrowser
2012-01-15 20:43:52 -08:00
Damien Elmes
89445afc94
remove unused sendHome() for now
2012-01-16 10:15:03 +09:00
Damien Elmes
8ac1587b12
add per-deck due counts back to scheduler
2012-01-16 09:55:44 +09:00
Damien Elmes
12c0c64841
translation dict
2012-01-11 17:25:36 +09:00
Damien Elmes
6f88deab52
add reminder about leading whitespace
2012-01-11 14:47:06 +09:00
Damien Elmes
ebeef6b2e6
remove obsolete lastrowid assignment
2011-12-21 09:53:21 +09:00
Damien Elmes
265b6b990d
base62() should not be locale-dependent
2011-12-20 20:28:56 +09:00
Damien Elmes
e0b7bca155
did could be a string
2011-12-20 19:38:55 +09:00
Damien Elmes
2012d0de39
don't try and replace nbsp
2011-12-20 12:47:56 +09:00
Damien Elmes
3449abe8a0
fix upgrading of decks with extra media fields
2011-12-20 12:40:18 +09:00
Damien Elmes
7b53facc4c
add integrity check back to fixIntegrity
2011-12-18 12:32:44 +09:00
Damien Elmes
fca4ef7c00
strip superfluous spans from 1.2 upgrade
2011-12-18 07:23:26 +09:00
Damien Elmes
e610eeeb42
tweak template upgrading, replace repeated spaces with non-breaking ones
2011-12-17 22:01:50 +09:00
Damien Elmes
9e35e4acf2
template and cloze changes
...
While writing the documentation I realized that the default templates were
somewhat overwhelming. So I've moved the default settings into the card css,
and moved the css into a separate attribute which gets combined with the
question and answer templates.
Also:
- Detect cloze references directly rather than the conditional wrapper
- Add the cloze css to the template
2011-12-17 19:42:30 +09:00
Damien Elmes
619a58216a
don't require fields in cloze del model; remove extra brackets in cloze hints
2011-12-17 15:02:15 +09:00
Damien Elmes
60643b5b1f
human-readable positions for new cards
2011-12-17 08:37:05 +09:00
Damien Elmes
4496782e5b
desc was in wrong location
2011-12-17 08:36:51 +09:00