Damien Elmes
84dcaa8638
backport qt5.9 opacity fix
...
from bbbd3e95c5
2020-09-30 11:18:39 +10:00
Damien Elmes
358e337796
don't reschedule repeating timers that occur during progress
...
For things like updating the deck list, it makes no sense to do it
multiple times at the end of a long operation, and the once/second signal
timer was causing hundreds or thousands of 100ms timers to be created.
https://forums.ankiweb.net/t/anki-memory-usage/3842
2020-09-30 11:18:03 +10:00
Damien Elmes
5853d83fc3
"fix" ts failing in CI due to improved upstream type signatures
...
...by throwing non-null assertions everywhere.
2020-09-30 11:17:59 +10:00
Damien Elmes
531f30f84a
fix * handling in unqualifed text as well
...
https://forums.ankiweb.net/t/anki-2-1-desktop-searching-with-only-when-limited-to-a-field/3789/4
2020-09-30 11:17:56 +10:00
Damien Elmes
5c73ec9262
Merge pull request #769 from abdnh/escape-sidebar-terms
...
Escape browser sidebar search terms
2020-09-30 11:17:44 +10:00
Damien Elmes
391c73c841
fix escaping of * in field search
...
mentioned in
https://github.com/ankitects/anki/pull/769
2020-09-30 11:17:38 +10:00
Damien Elmes
2737e7fcfd
backups no longer happen on each sync
...
https://forums.ankiweb.net/t/accidentally-deleted-backs-one-deck/3740/6
2020-09-30 11:17:26 +10:00
Damien Elmes
d881506ba2
fix old content appearing when flagging
...
https://forums.ankiweb.net/t/very-specific-but-quite-consistent-bug-in-browser/3685
2020-09-30 11:17:22 +10:00
Damien Elmes
0c19c192a5
fix import shortcut
...
https://forums.ankiweb.net/t/anki-2-1-34-35-beta/3569/21
2020-09-30 11:17:17 +10:00
Damien Elmes
b1c4ac4c33
Merge pull request #768 from abdnh/previewer-multi-select
...
Fix previewer not refreshing when selecting multiple cards in browser
2020-09-30 11:10:41 +10:00
Damien Elmes
6fd53b67e5
bump version
2020-09-30 11:10:18 +10:00
Damien Elmes
e58c74644e
rename downgrade method for clarity
2020-09-30 11:10:14 +10:00
Damien Elmes
8af8f565be
allow dragging of images in review screen again
...
when we were using webkit+file URLs, this deleted files from the
media folder! But we're behind a HTTP server now, so this should
be safe.
https://forums.ankiweb.net/t/no-longer-able-to-copy-latex-output/3128/5
originally disabled in
dd4bae6e8d
2020-09-22 10:30:18 +10:00
Damien Elmes
6c68921f18
fix issues introduced with cherry-pick
2020-09-22 09:01:52 +10:00
Damien Elmes
87c6686930
update schema to fix default initial ease in deck configs
...
Closes #766
- changes the on-disk representation from % to a multiplier,
eg 250 -> 2.5, as this is consistent with the other options
- resets deck configs at or below 1.3 to 2.5
- for any cards that were using a reset deck config, reset their
current factor if it's at or below 2.0x. The cutoff is arbitrary,
and just intended to make sure we catch cards the user has rated
Easy on multiple times. The existing due dates are left alone.
2020-09-22 08:52:48 +10:00
Damien Elmes
54996e46f4
Merge pull request #752 from cyphar/rust-deps
...
rust: switch to stable compilers
2020-09-22 08:52:04 +10:00
Damien Elmes
0cc7f367bf
rename some card+note fields in backend
2020-09-22 08:50:32 +10:00
Damien Elmes
92fc543d88
stop is:due gathering learning cards that are not due yet
...
https://forums.ankiweb.net/t/how-to-avoid-rebuilding-filtered-decks-to-skip-learning-cards-steps/3551/
2020-09-22 08:35:54 +10:00
Damien Elmes
dfc5499b8e
fix average added
...
https://forums.ankiweb.net/t/statistics-bug-cards-added-average/3556
2020-09-22 08:35:48 +10:00
Damien Elmes
969a8ebafb
small learning steps were being stored as a float
...
https://forums.ankiweb.net/t/bug-with-fractional-learning-intervals/3524/5
2020-09-22 08:35:34 +10:00
Damien Elmes
c09fcb599b
sched_timing_today() needs a default rollover hour
...
When unset it was reverting to the V1 code.
https://forums.ankiweb.net/t/daily-counts-are-reset-on-sync/3441/16
2020-09-22 08:35:22 +10:00
Damien Elmes
65810bc5b8
check original due in card stats
...
https://forums.ankiweb.net/t/how-come-some-of-my-cards-are-showing-retrospective-due-dates/3434/6
2020-09-22 08:35:17 +10:00
Damien Elmes
72496faa40
Merge pull request #761 from kelciour/linux-audio-stops-working
...
Revert mpv back to listening for idle callback
2020-09-22 08:35:08 +10:00
Damien Elmes
e5e5a8ad39
Merge pull request #758 from hgiesel/synchook
...
Add sync_will_start and sync_did_finish hook
2020-09-22 08:35:03 +10:00
Damien Elmes
21eb095b3b
Merge pull request #760 from abdnh/extended-drop
...
Support extended drag & drop
2020-09-22 08:34:55 +10:00
Damien Elmes
63ef395f7d
fix padding in RTL langs
...
closes #757
2020-09-22 08:34:17 +10:00
Damien Elmes
1368be79a0
another showDupes fix from ANH
...
https://forums.ankiweb.net/t/show-duplicates-not-working/2883/10
2020-09-22 08:33:36 +10:00
Damien Elmes
98d803424b
sound tags need filename html escaped
...
https://forums.ankiweb.net/t/unable-to-play-longer-audio-on-cards/1313/30
2020-09-22 08:33:20 +10:00
Damien Elmes
e2d9dcbff9
handle quoted html chars in media check
...
https://forums.ankiweb.net/t/unable-to-play-longer-audio-on-cards/1313/30
2020-09-22 08:33:09 +10:00
Damien Elmes
b6f44deb13
Revert "Merge pull request #749 from ANH25/editor-media-autoplay"
...
This reverts commit 9aa3d7867e , reversing
changes made to c3a1acb524 .
https://github.com/ankitects/anki/pull/749#issuecomment-686385112
2020-09-22 08:32:53 +10:00
Damien Elmes
348b5b2743
set local offset when saving preferences
2020-09-22 08:32:27 +10:00
Damien Elmes
bd14debe53
add separate sched/user bury searches, and fix bury enums
2020-09-22 08:30:34 +10:00
Damien Elmes
398283b29d
update ts deps to fix svelte-vscode
2020-09-22 08:29:57 +10:00
Damien Elmes
73cffc7cee
disable pyenv cache on Linux
...
https://github.com/ankitects/anki/pull/681
2020-09-01 09:11:07 +10:00
Damien Elmes
992626af0b
Merge pull request #746 from hgiesel/modelsbuttons
...
Create a gui_hook for initializing buttons in Models
2020-09-01 08:36:03 +10:00
Henrik Giesel
2f68293c74
Some minor reformatting to satisfy black
2020-08-31 13:50:59 +02:00
Henrik Giesel
5e4324accb
Address broken translations and increase readibility of button insertion
2020-08-31 13:40:42 +02:00
Henrik Giesel
89caa6ef75
Remove unnecessary import
2020-08-31 13:35:18 +02:00
Henrik Giesel
a1b5acd46a
Fix type signature: models is passed because it's a method
2020-08-31 13:35:18 +02:00
Henrik Giesel
90f0df2a52
Remove duplicated buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
3287c42ace
Don't import models in gui_hooks to avoid circular import
2020-08-31 13:35:18 +02:00
Henrik Giesel
ea787c73a5
Fix uninitialized buttons object
2020-08-31 13:35:18 +02:00
Henrik Giesel
633d769490
Add compiled hook model_did_init_buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
ad27e0149a
Add usage in models.py
2020-08-31 13:35:18 +02:00
Henrik Giesel
0d1b90e512
Add gui_hook models_did_init_buttons
2020-08-31 13:35:01 +02:00
Henrik Giesel
0c3fad7386
Add unused add_button method
2020-08-31 13:33:59 +02:00
Damien Elmes
5a4043524a
add missing pylint/isort deps
2020-08-31 14:07:04 +10:00
Damien Elmes
a517accee3
update to latest black
2020-08-31 13:29:28 +10:00
Damien Elmes
603210149c
update to latest isort, pylint and pytest
2020-08-31 12:05:36 +10:00
Damien Elmes
20432ccecf
fix new pylint raise-missing-from lint
2020-08-31 12:04:14 +10:00