Damien Elmes
|
8750b9bbbb
|
don't convert to system encoding prior to converting to utf8
|
2009-01-05 06:40:08 +09:00 |
|
Damien Elmes
|
91e90d8092
|
card model > card template
|
2009-01-05 06:10:10 +09:00 |
|
Damien Elmes
|
e3feff6ca6
|
revert undo log to temporary table, fix slowdown on big undo log
|
2009-01-04 13:48:48 +09:00 |
|
Damien Elmes
|
5efb6910ef
|
fix name() on in-memory db
|
2009-01-04 08:05:42 +09:00 |
|
Damien Elmes
|
0f129f7aea
|
fix saveas with no media dir
|
2009-01-04 07:43:45 +09:00 |
|
Damien Elmes
|
9765fdae73
|
support media for memory backed files
|
2009-01-04 07:40:32 +09:00 |
|
Damien Elmes
|
c973c1eb4f
|
new decks now default to in-memory storage until saveas
- undo needs fixing
- media support needs to be changed to work with in-memory db
|
2009-01-04 07:13:30 +09:00 |
|
Damien Elmes
|
a5d64aaa7f
|
make sure allowEmptyAnswer is a bool
|
2009-01-04 05:30:15 +09:00 |
|
Damien Elmes
|
ee71c66cdb
|
document need to call refresh after merging models
|
2009-01-04 05:17:58 +09:00 |
|
Damien Elmes
|
429e4252cb
|
delete undo log outside of session
|
2008-12-27 16:14:43 +09:00 |
|
Damien Elmes
|
c0f49f1373
|
delete undo log and vacuum on close
|
2008-12-27 15:57:30 +09:00 |
|
Damien Elmes
|
b3be3772fb
|
change to media dir when it's created
|
2008-12-24 14:58:17 +09:00 |
|
Damien Elmes
|
95f1779130
|
make undo log permanent
|
2008-12-23 22:09:33 +09:00 |
|
Damien Elmes
|
ac15b666ef
|
untitled>mydeck, don't remove on saveas
|
2008-12-23 20:38:19 +09:00 |
|
Damien Elmes
|
48257368cc
|
make sure congrats screen is displayed using standard whitespace
|
2008-12-23 18:48:42 +09:00 |
|
Damien Elmes
|
3b3fef4ebc
|
refactor latex into media support
|
2008-12-23 18:00:12 +09:00 |
|
Damien Elmes
|
41fe0c92be
|
rename function
|
2008-12-23 15:44:29 +09:00 |
|
Samson Melamed
|
9a9082529b
|
mass un/tagging now updates modified cards
|
2008-12-23 15:43:58 +09:00 |
|
Damien Elmes
|
75dd6d4420
|
update card models table earlier in deck open
|
2008-12-23 15:38:36 +09:00 |
|
Damien Elmes
|
f903288c59
|
add support for 'allow blank answer', default to allow
|
2008-12-23 13:42:22 +09:00 |
|
Damien Elmes
|
1ee40d0869
|
update new card order label
|
2008-12-20 15:41:01 +09:00 |
|
Damien Elmes
|
943e006322
|
support new cards first
|
2008-12-20 15:37:42 +09:00 |
|
Damien Elmes
|
cb765bcb72
|
deck stats should show all new cards, not just due
|
2008-12-17 00:41:13 +09:00 |
|
Damien Elmes
|
daeba6f78b
|
fix a problem saving over a deck with an existing media folder
|
2008-12-13 16:44:59 +09:00 |
|
Damien Elmes
|
f1a2fc7feb
|
new failed card eta from nick cook
|
2008-12-13 15:25:43 +09:00 |
|
Damien Elmes
|
33257c38bc
|
close deck after copy in saveas
|
2008-12-11 01:14:02 +09:00 |
|
Damien Elmes
|
071d861c3e
|
fix congrats new cards link
|
2008-12-11 00:37:55 +09:00 |
|
Damien Elmes
|
5dc05735c5
|
rename default deck to untitled, delete on saveas
|
2008-12-11 00:19:19 +09:00 |
|
Damien Elmes
|
e1aa79336c
|
show only user tags by default, provide model and card model as options
|
2008-12-10 20:05:49 +09:00 |
|
Damien Elmes
|
2d5e58ac99
|
routines for determining current new/rev card order
|
2008-12-10 18:03:34 +09:00 |
|
Damien Elmes
|
78a15ab652
|
update priorities when adding/removing tags
|
2008-12-09 01:57:28 +09:00 |
|
Damien Elmes
|
c3c7c6e43c
|
flush after delete
|
2008-12-09 01:23:49 +09:00 |
|
Damien Elmes
|
8c9f883e68
|
dupe fact on add to avoid session issues
|
2008-12-07 11:38:35 +09:00 |
|
Damien Elmes
|
02a124b66d
|
thinko in last change
|
2008-12-06 17:17:55 +09:00 |
|
Damien Elmes
|
d480e42f55
|
rebuild counts after undo, rebuild counts more efficiently
|
2008-12-06 16:13:34 +09:00 |
|
Damien Elmes
|
4b19cff16b
|
30 backups, not 100
|
2008-12-05 18:57:47 +09:00 |
|
Damien Elmes
|
0c5f65c1ea
|
after deleting a field, make sure to update card models
|
2008-12-05 18:51:38 +09:00 |
|
Damien Elmes
|
5e5381d66f
|
make sure to update counts after addcards()
|
2008-12-04 01:50:52 +09:00 |
|
Damien Elmes
|
02e1fed2ef
|
behave nicer if undo disabled
|
2008-12-04 01:14:11 +09:00 |
|
Damien Elmes
|
78f3c8b4ba
|
refresh after undo
|
2008-12-04 00:55:51 +09:00 |
|
Damien Elmes
|
21b59408cd
|
refactor features to use hooks, update stdmodels, update findTags()
- remove description from fields, cards and models
- remove features and use field names instead
|
2008-12-03 19:22:15 +09:00 |
|
Damien Elmes
|
e84c0072b0
|
don't commit deck on load if count hasn't changed
|
2008-12-03 02:06:58 +09:00 |
|
Damien Elmes
|
ada1cd04b7
|
check for null sources
|
2008-12-02 16:41:25 +09:00 |
|
Damien Elmes
|
0f8762c3fe
|
forget deletions before deleting anything in fixIntegrity()
|
2008-12-01 12:51:35 +09:00 |
|
Damien Elmes
|
bf10f96cc2
|
python 2.4 compat
|
2008-12-01 01:37:54 +09:00 |
|
Damien Elmes
|
a7a40bd241
|
disable undo debugging
|
2008-12-01 01:07:34 +09:00 |
|
Damien Elmes
|
55df77e0d1
|
handle unique better
|
2008-12-01 01:00:01 +09:00 |
|
Damien Elmes
|
a83b41b939
|
add most of fieldmodels
|
2008-12-01 00:25:51 +09:00 |
|
Damien Elmes
|
0ff3b41745
|
don't add layers of undo barriers
|
2008-12-01 00:17:43 +09:00 |
|
Damien Elmes
|
320d1fa758
|
conditionally enable undo
|
2008-11-30 05:47:15 +09:00 |
|
Damien Elmes
|
373e161a6c
|
undo/redo support
|
2008-11-30 05:40:36 +09:00 |
|
Damien Elmes
|
dff358383a
|
consider failures when calculating eta
|
2008-11-28 20:01:48 +09:00 |
|
Damien Elmes
|
cd64b0db9e
|
add user tags list, sort tags in canonify
|
2008-11-28 18:53:04 +09:00 |
|
Damien Elmes
|
8f2efd83b3
|
fix ref to traceback, make sure to only delete existing indices
|
2008-11-28 17:15:22 +09:00 |
|
Damien Elmes
|
5119e46e7b
|
replace add missing active cards with selectable version
|
2008-11-28 17:13:47 +09:00 |
|
Damien Elmes
|
8147e5002a
|
update indices, make sure to build and analyze
|
2008-11-28 15:47:52 +09:00 |
|
Damien Elmes
|
0b52e2f0ec
|
customizable revision order, refactor failed cards handling
|
2008-11-28 15:09:13 +09:00 |
|
Damien Elmes
|
75a61a00cc
|
remove card tags
|
2008-11-28 14:40:27 +09:00 |
|
Damien Elmes
|
e5126d7c3c
|
preview support
|
2008-11-23 07:50:31 +09:00 |
|
Damien Elmes
|
6299e5f665
|
close other windows on reset()
|
2008-11-22 16:17:13 +09:00 |
|
Damien Elmes
|
fbcdae4c51
|
make 2->3 work better for larger 2
|
2008-11-21 20:39:44 +09:00 |
|
Damien Elmes
|
447985fc87
|
update q/a cache after bulk tag update
|
2008-11-21 16:05:39 +09:00 |
|
Damien Elmes
|
0617e229a8
|
don't catch error reading deck
|
2008-11-21 15:35:44 +09:00 |
|
Damien Elmes
|
f49459fdfb
|
del missing error ref
|
2008-11-21 13:08:24 +09:00 |
|
Damien Elmes
|
eff388974b
|
refactor errors on load
|
2008-11-21 13:03:27 +09:00 |
|
Damien Elmes
|
cd383174c6
|
fix handling of delay1/2
|
2008-11-17 10:55:33 +09:00 |
|
Damien Elmes
|
1b69992e8f
|
fix getCards() new card handling logic
|
2008-11-17 09:53:17 +09:00 |
|
Damien Elmes
|
9bbb240d37
|
fix order of cards table to fix saveas bug
|
2008-11-17 08:46:04 +09:00 |
|
Damien Elmes
|
f1d61bc832
|
create intermediate dirs (for ipod)
|
2008-11-16 04:37:14 +09:00 |
|
Damien Elmes
|
26ad7e8149
|
rebuild due counts after sync
|
2008-11-16 04:20:14 +09:00 |
|
Damien Elmes
|
e09a29fe0e
|
fix delay defaults
|
2008-11-16 02:38:48 +09:00 |
|
Damien Elmes
|
8ec77ebd53
|
add alternative failed card handling
|
2008-11-16 02:15:00 +09:00 |
|
Damien Elmes
|
420fd4ec77
|
refactor deck/backup location
|
2008-11-16 00:36:27 +09:00 |
|
Damien Elmes
|
d2ee2521bd
|
if there's an error upgrading, try fix integrity and try again
|
2008-11-15 20:12:14 +09:00 |
|
Damien Elmes
|
9b25fcc7a2
|
always generate deck queue
|
2008-11-15 18:58:42 +09:00 |
|
Damien Elmes
|
48dc09db5b
|
add relativeDelay on upgrade - we don't need it, but old code does
|
2008-11-15 18:38:17 +09:00 |
|
Damien Elmes
|
4316c93b79
|
don't dirty cards when upgrading
|
2008-11-15 18:19:01 +09:00 |
|
Damien Elmes
|
095aa6dc84
|
check daily stats in check due, no need to call separately
|
2008-11-15 17:56:54 +09:00 |
|
Damien Elmes
|
4e937bf72a
|
fix seen card count in kanji, fix display bug
|
2008-11-15 17:50:46 +09:00 |
|
Damien Elmes
|
80fb6c5230
|
check due before rebuilding counts
|
2008-11-15 17:44:46 +09:00 |
|
Damien Elmes
|
6ec7fba13f
|
catch errors adding columns
|
2008-11-15 17:38:35 +09:00 |
|
Damien Elmes
|
cdce18f5c0
|
set new card modulus on new cards at end deck
|
2008-11-15 04:56:52 +09:00 |
|
Damien Elmes
|
91114a72c5
|
no tag searching, add index to db.py
|
2008-11-14 19:48:47 +09:00 |
|
Damien Elmes
|
6658b47661
|
add capitalized tags field, don't use cardmodelname in tags
|
2008-11-14 14:33:11 +09:00 |
|
Damien Elmes
|
2aaaa2d4ad
|
change default deck location
|
2008-11-14 01:58:42 +09:00 |
|
Damien Elmes
|
f64a5c4b51
|
tidy
|
2008-11-13 17:42:45 +09:00 |
|
Damien Elmes
|
61972d32d7
|
remove 'tomorrow' special case, add boost for initial 2
|
2008-11-13 17:16:27 +09:00 |
|
Damien Elmes
|
b6471b15e8
|
support short eta, don't send same factId in getCards()
|
2008-11-13 12:43:51 +09:00 |
|
Damien Elmes
|
5eae130b29
|
capitalize tomorrow
|
2008-11-13 03:31:38 +09:00 |
|
Damien Elmes
|
07956d9e24
|
new bulk card handling, fix count bugs, next int generation
|
2008-11-13 03:19:19 +09:00 |
|
Damien Elmes
|
ca413a1a88
|
apply missing merge from master
|
2008-11-12 18:46:08 +09:00 |
|
Damien Elmes
|
e9dc034b9a
|
add refs to relativeDelay again
|
2008-11-08 20:05:39 +09:00 |
|
Damien Elmes
|
6cb968c10a
|
fix bugs in merge, fix slow spacedCardCount()
|
2008-11-08 17:41:40 +09:00 |
|
Damien Elmes
|
014896478f
|
Merge branch 'master' into htmlcache
Conflicts:
anki/deck.py
|
2008-11-08 17:26:45 +09:00 |
|
Damien Elmes
|
4558a36d3a
|
obsolote relativeDelay in favour of interval desc, should fix ubuntu too
|
2008-11-08 16:30:41 +09:00 |
|
Damien Elmes
|
b2d0e5d3df
|
wip
|
2008-11-07 18:44:49 +09:00 |
|
Damien Elmes
|
e066ea3681
|
optimize for large number of new cards
|
2008-10-23 02:24:05 +09:00 |
|
Damien Elmes
|
3d026bb882
|
make 2 progress too
|
2008-10-20 20:19:00 +09:00 |
|
Damien Elmes
|
c0e5bed6a6
|
sync sources, support media syncing in import/export again
|
2008-10-18 20:20:43 +09:00 |
|
Damien Elmes
|
06799ad300
|
refresh in different place
|
2008-10-16 00:41:30 +09:00 |
|
Damien Elmes
|
12e4953dc9
|
add short interval alternatives
|
2008-10-16 00:02:34 +09:00 |
|
Damien Elmes
|
1eb20be6e3
|
make sure to consider tags when checking if cards empty
|
2008-10-13 23:11:36 +09:00 |
|
Damien Elmes
|
3933e14c1b
|
default to new cards in order
|
2008-10-13 17:53:12 +09:00 |
|
Damien Elmes
|
8ea5f06ea6
|
fix bug in conditional card generation
|
2008-10-12 07:08:57 +09:00 |
|
Damien Elmes
|
189ca06492
|
remove debug statement
|
2008-10-12 03:49:08 +09:00 |
|
Damien Elmes
|
225e31f470
|
conditional card generation
|
2008-10-12 03:42:52 +09:00 |
|
Damien Elmes
|
2a3f653d0e
|
possible fix for add cards error
|
2008-10-12 03:21:53 +09:00 |
|
Damien Elmes
|
838ed803f7
|
prevent merging/deletion of public models, add source id
|
2008-10-12 02:59:31 +09:00 |
|
Damien Elmes
|
e25feed0af
|
support 4am rollover
|
2008-10-12 04:02:33 +09:00 |
|
Damien Elmes
|
23379cd600
|
get rid of 'deck is empty message'
|
2008-10-12 00:19:58 +09:00 |
|
Damien Elmes
|
e40cdb9608
|
default to 10 minutes for ease 1
|
2008-10-07 01:12:06 +09:00 |
|
Damien Elmes
|
e69522f120
|
ensure order of received cards
|
2008-10-06 18:41:50 +09:00 |
|
Damien Elmes
|
472eb4581a
|
public decks wip
|
2008-10-04 14:48:23 +09:00 |
|
Damien Elmes
|
4434665d94
|
add safety check to interval calcuation
|
2008-10-03 18:13:01 +09:00 |
|
Damien Elmes
|
1561655461
|
start of one way syncing
|
2008-10-02 17:57:44 +09:00 |
|
Damien Elmes
|
6d721a3d86
|
fail gracefully if id doesn't exist
|
2008-10-02 17:08:00 +09:00 |
|
Damien Elmes
|
85c72a9ddb
|
forget deletions in integrity check
|
2008-10-01 03:16:52 +09:00 |
|
Damien Elmes
|
35fc4fbd3f
|
track full card time, not just question. use failed cnt for average
|
2008-09-29 14:15:46 +09:00 |
|
Damien Elmes
|
b43bba1d46
|
only remove session if currently active
|
2008-09-28 16:16:06 +09:00 |
|
Damien Elmes
|
6bb24d8a16
|
delete session before closing deck
|
2008-09-28 16:12:05 +09:00 |
|
Damien Elmes
|
5da3a0f5d3
|
initial commit from hg
|
2008-09-27 23:50:03 +09:00 |
|