Damien Elmes
2e3907f62e
fix temp folder msg
2018-02-05 12:34:38 +10:00
Damien Elmes
2b7f2adbb8
catch more problems with corrupt collections
...
if collapseTime is missing from col.conf, the initial load was
succeeding, but then the UI was getting stuck in moveToState()
2018-02-05 12:34:31 +10:00
Damien Elmes
e91f505847
Revert "workaround for some drags not being accepted"
...
This reverts commit a3d33cfdb8 .
didn't fix user's problem, and has introduced issues with the cursor
disappearing
2018-02-05 11:27:14 +10:00
Damien Elmes
e592886723
prevent find duplicates scrolling to top on link click
2018-02-03 17:11:32 +10:00
Damien Elmes
80487ad664
rename _restoreFromFiltered
...
and use same logic as restoreQueueSnippet
2018-02-02 19:10:35 +10:00
Damien Elmes
b9932249e3
remove _cidsByDid()
...
no longer necessary
2018-02-02 16:55:53 +10:00
Damien Elmes
32241b9cb1
fix is:buried in v2 scheduler
2018-02-02 16:17:26 +10:00
Damien Elmes
067191b8cc
simplify rev card answering
2018-02-02 15:19:41 +10:00
Damien Elmes
3d3cf3d135
fix no relearn steps case in v2 sched
2018-02-02 14:30:53 +10:00
Damien Elmes
4f281b5db0
v2 sched cleanups
2018-02-02 12:44:56 +10:00
Damien Elmes
e7607608c8
raise profile window on macos
...
otherwise profile manager opens without focus
2018-02-01 12:14:04 +10:00
Damien Elmes
386329fc09
include average answer time for today
2018-01-31 17:35:22 +10:00
Damien Elmes
ce89d769c3
bump version
2018-01-31 15:34:04 +10:00
Damien Elmes
58f51ca095
make sure we don't import v1 scheduling into a v2 collection
2018-01-31 15:33:58 +10:00
Damien Elmes
7013cbcd57
experiment with counting learning cards instead of learning steps
...
When studying, the learning count now indicates the number of
learning cards due within the learn ahead limit, instead of the total
number of learning steps required to complete that day.
Also fix the ineffective limit clauses in the learning counts.
2018-01-31 14:50:17 +10:00
Damien Elmes
bcbc6ee44a
fix check for nesting under filtered deck
2018-01-31 11:40:16 +10:00
Damien Elmes
a681a8e299
enable syncing w/ v2 scheduler, and bump sync version
...
any client using a sync version of 9 must be able to handle
the V2 scheduler
2018-01-30 17:52:03 +10:00
Damien Elmes
a3d33cfdb8
workaround for some drags not being accepted
...
https://anki.tenderapp.com/discussions/ankidesktop/26688-drag-and-drop-not-always-working
2018-01-30 11:06:46 +10:00
Damien Elmes
c474f58748
enforce schema version; allow importing+exporting v2 scheduler
...
To avoid all sorts of problems, we need to ensure cards scheduled with
the V2 scheduler are not studied in older clients. Unfortunately we
can't just bump the file's schema version, as the existing clients will
freely import files created with newer versions. This patch changes
that, so things should be a bit easier in the future.
In the mean time, we need a way to prevent older clients from importing
files created with the V2 scheduler. To do this, we switch to using a
'collection.anki21' file in the archive, and include a dummy collection
.anki2 file.
The code has been tested with both deck and collection packages, but
exporting deck packages w/ scheduling info will remain disabled until
the V2 scheduler has had more testing.
2018-01-29 14:12:04 +10:00
Damien Elmes
61ebdc5729
no parallel processing in travis run
...
can lead to race conditions
2018-01-27 19:06:49 +10:00
Damien Elmes
4545db7e8c
remove unused bundled certs
2018-01-27 16:08:31 +10:00
Damien Elmes
82957a1c4f
bump version
2018-01-27 15:48:27 +10:00
Damien Elmes
1bd3bde88a
preserve ordered lists
2018-01-27 15:26:41 +10:00
Damien Elmes
15f4304920
re.escape leaves _ alone in python 3
2018-01-27 15:15:07 +10:00
Damien Elmes
3e9be0155e
preserve newlines when pasting plain text
2018-01-26 19:18:24 +10:00
Damien Elmes
1d0ce7c095
fix unbury op w/ v1 scheduler
2018-01-26 19:05:08 +10:00
Damien Elmes
f668c6fc79
remove missed format literals
2018-01-24 21:07:06 +10:00
Damien Elmes
8d536a16e8
fix error on final step of lapsed card
...
https://anki.tenderapp.com/discussions/beta-testing/968-experimental-scheduler-in-anki-210beta31#comment_44552449
2018-01-22 12:10:39 +10:00
Damien Elmes
a5dbb8287d
bump version
2018-01-22 11:25:09 +10:00
Damien Elmes
b05276ff89
fix opening prefs screen in V1 sched
2018-01-22 11:24:45 +10:00
Damien Elmes
fa3b70236c
linux mpv doesn't understand --input-media-keys
2018-01-21 10:34:29 +10:00
Damien Elmes
13d7319c60
bump version
2018-01-20 16:12:09 +10:00
Damien Elmes
7c79f24916
add option to show day learn cards before reviews
2018-01-20 16:07:57 +10:00
Damien Elmes
5c549e47f4
support customizing day cutoff w/ V2 scheduler
2018-01-20 15:32:52 +10:00
Damien Elmes
65b81b0a47
make preview delay customizable
2018-01-20 15:26:11 +10:00
Damien Elmes
b8c498b570
fix counts in preview mode
...
We can't preserve the original queues when in preview mode, as
otherwise the due counts report the remaining steps of cards in
the learning queue, instead of just 1.
Rather than the rather complicated approach of making the learning and
deck list code aware of the current mode we're in, preview mode moves
all cards to the review queue when the filtered deck is built - just as
cards are moved to the new queue in Anki 2.0.x. The reason for the
review queue is that users were frequently confused when cards appeared
as new - hopefully this is slightly less confusing.
2018-01-20 14:22:57 +10:00
Damien Elmes
96cb1e6dd9
return to win32 audio driver on windows
...
fixes various playback issues some users were experiencing
2018-01-20 13:41:12 +10:00
Damien Elmes
6e76983b3a
log traceback in case of sync error
2018-01-20 11:24:01 +10:00
Damien Elmes
43d5589e6a
prevent exceptions when invalid utf-8 in db
2018-01-20 11:23:49 +10:00
Damien Elmes
f6669cc362
work around some decks with mod time stored as string
2018-01-19 11:42:06 +10:00
Damien Elmes
07dcacf09b
remove format literals so we can support python 3.5
2018-01-16 16:07:30 +10:00
Damien Elmes
0612e20dfe
bump version
2018-01-14 19:32:31 +10:00
Damien Elmes
2294f8bc9f
work around progress dlg hang at startup on osx
...
with autosync on, when the progress dialog is closed and the main window
appears, it becomes stuck. hiding the dialog instead of closing it
seems to fix this.
2018-01-14 19:29:56 +10:00
Damien Elmes
f2159a99d0
hide second filter for v1 sched
2018-01-14 19:20:01 +10:00
Damien Elmes
e03f28f2cc
fix bad margins in progress dialog
2018-01-14 18:05:43 +10:00
Damien Elmes
5b8f2ad4e5
bump version
2018-01-14 17:53:09 +10:00
Damien Elmes
a089424adc
check prefs21.db integrity
...
otherwise some corruption errors only become apparent when trying to
load an individual profile
2018-01-14 17:47:21 +10:00
Damien Elmes
1f818aa10b
disable syncing and deck exports for v2 sched
2018-01-14 17:35:59 +10:00
Damien Elmes
5f22a067e2
extra newline
2018-01-14 17:01:39 +10:00
Damien Elmes
a91829f9b7
update tests
2018-01-14 16:58:12 +10:00