Damien Elmes
ebdd8dae4b
tidy up unused imports
2019-03-04 17:25:19 +10:00
Damien Elmes
6e077ab414
use raw strings for regexs
2019-03-04 17:03:43 +10:00
Damien Elmes
3464b5fd80
fix wrong var name in previous warning fix
2019-03-04 17:02:52 +10:00
Damien Elmes
4037a034aa
fix inconsistent indentation
2019-03-04 16:54:22 +10:00
Damien Elmes
f6b2135129
fix some warnings
2019-03-04 16:01:10 +10:00
Damien Elmes
ef23268573
use distro in place of deprecated dist() method
2019-03-04 15:39:10 +10:00
Damien Elmes
3721cc4604
silence some spurious errors and remove some unused code
2019-03-04 11:22:40 +10:00
Damien Elmes
a389b8b4a0
move versionWithBuild into anki module
2019-02-28 08:37:42 +10:00
David Lönnhager
c6ab8dcc48
Fix permissions error on Windows
2019-02-27 02:51:28 +01:00
Damien Elmes
3b4ed41c5b
bump version
2019-02-24 16:20:49 +10:00
Damien Elmes
95ccbfdd36
send build number when syncing too
2019-02-19 08:04:25 +10:00
Damien Elmes
d8f059b570
style and arg order fix
2019-02-18 12:44:04 +10:00
Arthur-Milchior
20ff61e59e
Show deck of the addCard window
2019-02-16 12:25:22 +01:00
Arthur-Milchior
89719ee5d5
Correct deck when previewing an existing card
2019-02-16 11:28:50 +01:00
Damien Elmes
ca710ab3f1
allow running with pyaudio missing
2019-02-13 09:36:39 +10:00
Damien Elmes
e39c27afeb
revlog changes need to limited to (re)learning cards
...
if you switched schedulers with the git code or the beta, please
restore from a backup prior to the switch
2019-02-11 18:12:44 +10:00
Damien Elmes
5632babee6
rollover may not be set
2019-02-08 16:31:56 +10:00
Damien Elmes
041e4dbdf0
cleanup old mplayer instances after crash
...
fixes
https://anki.tenderapp.com/discussions/ankidesktop/31908-no-consigo-renomear-meu-nome-no-anki
2019-02-06 09:03:39 +10:00
Damien Elmes
372d5ed6e8
update copyright and clarify licenses
2019-02-05 14:01:33 +10:00
Damien Elmes
cf25b3c053
make sure bulk flag changes sync
...
https://anki.tenderapp.com/discussions/ankidesktop/31774-flag-syncing-bug
2019-02-05 13:01:07 +10:00
Damien Elmes
867e4b9f94
support {{CardFlag}}
...
https://anki.tenderapp.com/discussions/ankidesktop/32158-flags
2019-02-05 13:00:47 +10:00
Damien Elmes
d57511713c
don't outline answer buttons graph
...
small numbers lead to the outline overlapping the graph bounds
2019-02-05 12:40:05 +10:00
Damien Elmes
29a680d8bf
fix decimal intervals in revlog as well
2019-02-05 12:30:22 +10:00
Damien Elmes
e073ef08b9
shift revlog eases when turning v2 sched on/off
...
fixes old 'good'/'easy' answers showing up as 'hard'/'good' in
the graphs
2019-02-05 12:30:01 +10:00
Damien Elmes
c38af98f53
show all four possible eases in v2 sched learning ease graph
2019-02-05 12:27:17 +10:00
Damien Elmes
d51cdec73e
fix v2 sched+hourly retention graph issue
2019-02-05 12:26:36 +10:00
Damien Elmes
1675d2f01e
fix due column as well in db check
2019-02-04 14:33:53 +10:00
Damien Elmes
86fb47d49d
ensure today and dayCutoff are integers
...
https://github.com/dae/anki/pull/272
2019-02-04 14:29:52 +10:00
Damien Elmes
41f1ef02de
add decimal ivl fix to fixIntegrity()
2019-01-29 08:17:24 +10:00
Damien Elmes
104b77b53f
add .cursor()
2019-01-29 08:17:10 +10:00
Damien Elmes
d0fb87d432
make sure lapse % doesn't create decimal intervals
...
issue reported on
https://github.com/dae/anki/pull/272
2019-01-29 08:01:23 +10:00
Arthur-Milchior
b29fd508c7
moveTemplate slightly quicker
...
When a template is moved, only move the ord of cards whose position
did change.
2019-01-20 15:46:58 +01:00
Damien Elmes
a44915a743
bump version
2019-01-02 15:24:00 +10:00
Damien Elmes
71e0c88032
make sure we normalize deck names on input
...
https://anki.tenderapp.com/discussions/ankidesktop/31635-anki-crashes-when-new-card-is-added
2018-12-24 10:03:59 +10:00
Damien Elmes
1c39f4c194
deck fix print statements may be running in ascii environment
...
this should probably use the collection log in the future
2018-12-24 09:54:59 +10:00
Damien Elmes
8e4f5d5032
fix recording overflow handling
2018-12-22 13:41:35 +10:00
Damien Elmes
c740723e0b
bump version
2018-12-18 19:42:00 +10:00
Damien Elmes
a6c34fd79f
ignore broken reset hooks in database check
...
ideally the original code should be correctly cleaning up the hooks,
but if it does not, then we don't want to repeatedly present the user
with confusing errors when they try to check their database is ok.
2018-12-15 13:14:33 +10:00
Damien Elmes
727570418c
restart mpv if it stops responding
...
https://anki.tenderapp.com/discussions/ankidesktop/31433-error
2018-12-13 21:30:17 +10:00
Damien Elmes
15721d840f
bump version
2018-12-13 21:03:56 +10:00
Damien Elmes
30f19c07be
find comparisons needs to be normalized
...
this data should probably be normalized when it's originally
added to the collection
https://anki.tenderapp.com/discussions/ankidesktop/31409-cant-search-by-deck-when-searching-decks-containing-arabic-text
2018-12-13 20:36:04 +10:00
Damien Elmes
54d5a321b6
bump version
2018-12-10 15:17:21 +10:00
Damien Elmes
8f77cafb04
scan for due learning cards more frequently
2018-12-10 12:11:45 +10:00
Damien Elmes
a951026413
disable wal on win32
...
another attempt at fixing 'database locked' errors on windows,
based on the suspicion that pysqlite is holding an open statement
handle that is preventing the switch from wal mode on close
also remove unused sync arg
2018-12-10 09:53:02 +10:00
Alexey Lebedeff
292764a40a
Make quotes consistent with surroundings
2018-12-01 10:52:19 +01:00
Alexey Lebedeff
3d69aa9ce4
Fix searching for python 3.7
...
3.7 introduced a change to `re.escape()`, which no longer escapes
`%`. By using `re.escape("%")` instead of a literal, we can detect
a proper form at runtime.
2018-11-30 10:44:39 +01:00
Damien Elmes
f2bb7eb5ae
bump version
2018-11-27 19:40:27 +10:00
Damien Elmes
7cb58c3432
update learning cutoff time periodically
...
prevents users from having to leave and return to the deck to show
cards that have become due during the study session
https://anki.tenderapp.com/discussions/ankimobile/8530-ankimobile-with-experimental-schedule-not-showing-due-cards-in-realtime
2018-11-27 19:37:46 +10:00
Damien Elmes
5bce218312
limit find&replace fields to selected notes
2018-11-27 16:42:00 +10:00
Damien Elmes
ea9d2e2d64
find&replace should not be case sensitive on field
2018-11-27 16:34:48 +10:00