Damien Elmes
4bf63b6ad0
bump version
2013-11-14 14:41:31 +09:00
Damien Elmes
f6b9dadf13
catch invalid file encodings in media check & sync
2013-11-13 17:19:25 +09:00
Damien Elmes
75f87201a2
rotate log file when it hits 10MB
2013-11-13 17:00:20 +09:00
Damien Elmes
9334bc37fa
log media sanity
2013-11-13 16:54:25 +09:00
Damien Elmes
853faa90cd
don't bother logging sortCards()
2013-11-13 16:51:40 +09:00
Damien Elmes
c3300f733a
make sure we don't 'fix' req for cloze type
2013-11-13 16:49:49 +09:00
Damien Elmes
ef9157a8ee
don't open log for export or upgrade, only regular+sync
2013-11-13 16:48:22 +09:00
Damien Elmes
1df385db12
cards must be removed from filtered decks before they're buried
...
if not, removeLrn() resets due=odue and odue=0, leading to an invalid
delay calculation when they're later reviewed in the filtered deck
to fix this we'll need to make the same changes required to support
learning cards retaining their state when being emptied from a
filtered deck
2013-11-13 09:06:48 +09:00
Damien Elmes
d7e452de1f
fix note types with missing reqs
2013-11-13 08:33:54 +09:00
Damien Elmes
db77c8c80b
make sure simplejson always returns unicode
2013-11-10 04:57:15 +09:00
Damien Elmes
be81d282ac
catch temp folder issue when importing
2013-11-07 21:57:23 +09:00
Damien Elmes
5dfe95aa67
move debug logging into libanki
...
we want to be able to log the initial automatic sync, which
happens before the debug logging was set up in ankiqt
also skip the flush, as it should eventually get written
2013-11-04 23:04:27 +09:00
Damien Elmes
433f2b06f9
make sure suspended/buried cards are reset on export too
2013-11-03 16:12:43 +09:00
Damien Elmes
6d69c5e292
bump version
2013-11-01 18:19:30 +09:00
Damien Elmes
1f3a57104c
fix new cards not being shown in new order
2013-11-01 17:32:02 +09:00
Damien Elmes
32147b2d76
buggy i18n def
2013-11-01 03:09:20 +09:00
Damien Elmes
e5d7a69631
fix an issue where non-new cards were not reset on export
...
only happened for cards in a filtered deck
2013-10-30 23:28:52 +09:00
Damien Elmes
d8149910eb
don't terminate review abruptly when sibs removed from queue
2013-10-30 23:07:21 +09:00
Damien Elmes
3348b091d0
tweak logging
...
- log only sched getCard(), not all getCard calls
- don't log sched.today unless it's changed
2013-10-30 22:42:32 +09:00
Damien Elmes
5f0ef85044
fix reversed check in media
2013-10-30 21:10:25 +09:00
Damien Elmes
04ff4cc3fc
make 's' translatable in stats
...
thanks to "lumininous spice" for the heads up
2013-10-26 10:53:15 +09:00
Damien Elmes
330e991d7d
bump version
2013-10-23 18:58:00 +09:00
Damien Elmes
013f879d4e
support cid:<card id> search
2013-10-23 18:57:22 +09:00
Damien Elmes
82a54c780f
catch invalid temp folder and other tweaks
...
- tweak sync code so that a failure in loading the collection
won't leave the app with an unopen collection
- don't show corrupt collection message when the error is not
a db error
- catch the temp folder issue when loading the collection. i suspect
this was the issue that was causing some people to end up with
an open anki instance with no collection loaded
2013-10-22 15:30:53 +09:00
Damien Elmes
a9c9452271
bury card option
2013-10-22 14:28:45 +09:00
Damien Elmes
cf51f33c66
add separate is:buried and use with filtered deck
2013-10-22 14:20:31 +09:00
Damien Elmes
bab63de768
silly me, we were overriding retries in the aqt monkeypatch
2013-10-20 10:25:25 +09:00
Damien Elmes
9b27b06b68
fix retries count for unit tests
2013-10-19 12:53:18 +09:00
Damien Elmes
0a750005b9
do not bump usn/mod when automatically unburying
...
in the upcoming daily unburying, this could lead to a state
where the remote end unburies just at the start of sync
and clobbers more recent changes made on the local end
2013-10-19 12:22:17 +09:00
Damien Elmes
313fc7c9ef
more generous timeout
2013-10-18 14:22:03 +09:00
Damien Elmes
01832a9139
disable http retries
...
logs indicate client was retrying based on timeout and so on,
causing more problems
2013-10-18 14:21:47 +09:00
Damien Elmes
0fbc94c186
more logging tweaks
...
- disable in browser, note.cards()
- in getCard() we want the calling frame, not us
- log current day
- show card/note id in card info stat
2013-10-18 14:20:20 +09:00
Damien Elmes
9b2109b85a
Merge branch 'master' of github.com:dae/anki
2013-10-18 11:54:25 +09:00
Damien Elmes
b99533a5ad
add logging to some scheduling and syncing code
2013-10-18 11:52:21 +09:00
Damien Elmes
9baa3e197a
add option to disable burying of reviews
2013-10-18 10:38:29 +09:00
Damien Elmes
da1672d42f
don't rename/unlink files for non-local check
2013-10-17 17:59:26 +09:00
Damien Elmes
6368a0ab18
Merge pull request #44 from sobjornstad/master
...
Don't display "If you studied every day" in stats if you studied every day
2013-10-16 03:26:24 -07:00
Damien Elmes
686c0077ea
bump version
2013-10-16 12:11:39 +09:00
Damien Elmes
6be7503543
normalize to nfc when sending media in sync
2013-10-16 08:37:34 +09:00
Damien Elmes
e9ab9128c8
we can remove graves when uploading and save space
2013-10-11 12:21:59 +09:00
Soren I. Bjornstad
6c07a58c2a
display "if you studied every day" only when appropriate
...
(If you in fact did study every day during the period shown, it looks
silly.)
2013-10-10 10:42:58 -05:00
Damien Elmes
8d7edcb2bb
include a session key when syncing
2013-10-10 22:59:34 +09:00
Damien Elmes
b42c0c725b
Revert "tolerate a str arg to writeData()"
...
This reverts commit 2d4e88afbd
.
On second thought, this change is likely to mask the error in most cases, and
we want add-on authors to update their add-ons anyway as they would not be
handling non-latin text in 2.0.12.
2013-10-10 11:08:39 +09:00
Damien Elmes
2d4e88afbd
tolerate a str arg to writeData()
2013-10-09 13:13:48 +09:00
Damien Elmes
bc96a00fd2
we need to clear out std models on export or we end up renaming
...
and the rename affects the exporting deck as well
2013-10-06 09:45:38 +09:00
Damien Elmes
7aee582a58
loop should exit early, and allNames() doesn't need modification
2013-10-06 09:26:43 +09:00
Damien Elmes
6c304ebe2f
to normalize unicode we need to have unicode
2013-10-06 04:53:11 +09:00
Damien Elmes
3ed2861115
include platform in cv
2013-10-06 04:37:39 +09:00
Damien Elmes
e3a102ef92
bump version
2013-10-05 23:53:27 +09:00
Damien Elmes
f1837e7e0a
when ensuring model unique, check id not obj
...
this should fix an issue where we were attaching a suffix to non-duplicate
names on sync
2013-10-05 23:53:09 +09:00