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
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
5b8f2ad4e5
bump version
2018-01-14 17:53:09 +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
3c728e60f5
support sched versions in collection
2018-01-14 16:58:04 +10:00
Damien Elmes
59aa78f253
code in new scheduler to move between versions
2018-01-14 16:57:40 +10:00
Damien Elmes
1b88490bb1
add old sched code back
2018-01-14 16:55:07 +10:00
Damien Elmes
cdb3ee4702
rename new sched code to schedv2.py
2018-01-14 16:54:48 +10:00
Damien Elmes
0482a37517
support a second filter in filtered decks
2018-01-14 13:08:38 +10:00
Damien Elmes
f671a7aa99
store day rollover relative to local time
2018-01-14 12:16:53 +10:00
Damien Elmes
3f3fbd6fe3
make sure we log the correct type when card.type=3
2018-01-14 12:16:53 +10:00
Damien Elmes
f6176748c5
don't fetch reviews in deck order
...
- fetch reviews from all child decks at once, sorted by due order
- shuffle the gathered cards as we did previously
- review limits on child decks are ignored - only the current deck and
its parents control what the limit is
- to make the deck list consistent with actual counts, we can't sum the
child counts, as the sum in the parent limit>child limit case may not
reflect the actual number of cards that would be presented
2018-01-14 12:16:53 +10:00
Damien Elmes
65c779f25d
distinguish between buried siblings and manually buried cards
2018-01-14 12:16:53 +10:00
Damien Elmes
38cd7f543a
preserve learning/filtered state when suspending/burying
...
add new card type of 3 so we can distinguish cards in relearning from
normal reviews
2018-01-14 12:16:53 +10:00
Damien Elmes
a312ccf32e
experiment with simple resched=off case to 'preview mode'
...
the previous approach meant we weren't able to preserve the card state
exactly when cards were in learning, since we didn't record the step
position prior to cards being moved into the filtered deck.
it also meant the answer buttons needed to change depending on state - 4
for cards in learning/review, but 2 when the card is on the final step
or is a review.
instead, in preview mode cards always have 2 buttons: again will repeat
again after a delay, and good immediately removes the card and restores
it to its previous state.
to accomplish this, we use a separate queue #, as the learn count
always needs to have a 1:1 correspondence to the number of cards
2018-01-14 12:16:53 +10:00
Damien Elmes
accf75be26
tweaks to interval constraining
...
- move fuzzing into _constrainedIvl() so it's applied prior to limits
like maxIvl
- don't fuzz early reviews, so cards get the same interval if a filtered
deck is rebuilt again
2018-01-14 12:16:53 +10:00
Damien Elmes
60db50a285
use the review queue for undue reviews
2018-01-14 12:16:53 +10:00
Damien Elmes
4b581c9f77
schedtest changes, squashed from local branch
2018-01-14 12:16:53 +10:00
Carl Hofmeister
430d38223c
Fix string decode error when importing csv files
2017-12-31 14:01:47 -06:00
Damien Elmes
d08f6c4f46
bump version
2017-12-24 22:27:09 +10:00
aakatov
793e12a84c
fix play sound with HTML special symbols in its filename
2017-12-23 12:36:26 +03:00
Damien Elmes
b5c17cb370
bump version
2017-12-22 21:48:13 +10:00
Damien Elmes
9230211809
different cloze colour in night mode
2017-12-20 16:05:28 +10:00
Damien Elmes
174e1a46b3
fix error when importing
2017-12-12 11:55:27 +10:00
Damien Elmes
39bc5d42ae
fix mpv warnings
2017-12-11 17:26:25 +10:00
Damien Elmes
83b220f931
more open() and regex strings
2017-12-11 17:25:51 +10:00
Damien Elmes
7bc9fd6d04
move regex flags to start of string
2017-12-11 16:42:19 +10:00
Damien Elmes
ebfc475efe
fix 'unclosed file' warnings with python -Wall
2017-12-11 16:38:15 +10:00
Damien Elmes
ccb39c5f50
cgi.escape is deprecated
2017-12-11 16:20:00 +10:00
Damien Elmes
4875d0502e
add the ability to disable cert verification
2017-12-07 17:15:20 +10:00
Damien Elmes
54780dcd53
work around pops in recording start
...
https://anki.tenderapp.com/discussions/ankidesktop/26005-when-recording-sound-on-mbp
on my machine, the pops start around sample 2048 of a 44.1khz recording,
and only for the first recording after the audio hardware has gone to
sleep
2017-12-05 11:07:52 +10:00
Damien Elmes
857c9a5cea
bump version
2017-12-04 12:58:29 +10:00
Damien Elmes
5f787d6d3c
play question audio when preview set to 'show both sides'
2017-12-04 12:45:22 +10:00
Damien Elmes
b2c2cbf421
fix time translation patch
2017-12-04 12:33:23 +10:00
Damien Elmes
7c520c55df
night mode
2017-12-04 12:20:56 +10:00
Damien Elmes
7fbbee43e6
add catalan
2017-12-03 16:06:56 +10:00
Piotr Kubowicz
b821c70929
Allow to better translate "in x minutes"
...
"There is 1 minute" and "in 1 minute" need to be translated
differently in Slavic languages.
Additionally remove unused afterTimeTable.
2017-11-30 20:03:51 +01:00
Damien Elmes
63c03eea83
bump version
2017-11-27 11:17:42 +10:00
Damien Elmes
e3a29ac3d1
accept current and future mnemosyne imports
2017-11-27 10:49:38 +10:00
Damien Elmes
b632a1805d
restore media dir mod check
...
https://anki.tenderapp.com/discussions/beta-testing/853-anki-210-beta-21/page/1#comment_44071381
2017-11-20 14:22:53 +10:00
Damien Elmes
3cda126717
bump version
2017-11-17 17:35:36 +10:00
Damien Elmes
a97f1d87ff
detect image extension, catch errors, add timeout
2017-11-17 17:30:01 +10:00
Damien Elmes
ee4e1cadbf
fix crash when deleting nested default deck
...
https://anki.tenderapp.com/discussions/ankidesktop/25777-bug-report-syn
2017-11-14 13:13:52 +10:00
Damien Elmes
7d9530377e
bump version
2017-11-11 12:15:38 +10:00
Damien Elmes
1631160ddc
favour most recent modified when importing template changes
2017-11-11 12:11:45 +10:00
Damien Elmes
97833c71ad
fix stutter when multiple audio files on card on windows
...
setting playlist pos to 0 was causing half-played sound to restart
2017-11-10 19:52:20 +10:00