Commit graph

5077 commits

Author SHA1 Message Date
Damien Elmes
ee428d7949 Merge pull request #719 from ANH25/reviewer-hooks
Add reviewer_will_play_question_sounds and reviewer_will_play_answer_sounds hooks
2020-07-31 14:06:28 +10:00
Damien Elmes
ae796a5edd Merge pull request #718 from phwoo/typehints-for-qt-profiles
Added typehints for qt profiles
2020-07-31 14:04:29 +10:00
Damien Elmes
1bb256483c i18n some card template strings
https://forums.ankiweb.net/t/untranslated-strings/1623
2020-07-31 13:33:41 +10:00
Damien Elmes
1902e839e3 fix missing translations in export screen
https://forums.ankiweb.net/t/untranslated-strings/1623
2020-07-31 13:33:41 +10:00
Damien Elmes
47d3666ad0 fix hour graph not handling timezones west of UTC
https://forums.ankiweb.net/t/statistics-bugs-after-update-2-1-5-to-2-1-29/1620
2020-07-31 13:33:41 +10:00
Damien Elmes
0430fc561c tweaks to print view of graphs 2020-07-31 13:33:41 +10:00
Damien Elmes
961789562e refresh tag list after clearing unused 2020-07-31 13:33:41 +10:00
Damien Elmes
c5f7a3aa21 tweak card template message
also shown when importing an invalid file
https://anki.tenderapp.com/discussions/private/4937-importing-decks
2020-07-31 13:33:41 +10:00
Damien Elmes
42ec6e0a18 fix early reviews not appearing in graph
https://forums.ankiweb.net/t/differences-between-new-and-old-stats-2-1-28/1602
2020-07-31 13:33:41 +10:00
ANH
5d2cf10ee9 just forgot to regenerate gui_hooks.py to fix typo 2020-07-31 04:47:31 +03:00
ANH
9a768fc198 fix typo 2020-07-31 04:41:49 +03:00
Matt Krump
eef069f2b7 Turn on check_untyped_defs for aqt.emptycards 2020-07-30 18:43:57 -06:00
Matt Krump
1fe46438c0 Turn on check_untyped_defs for aqt.addons 2020-07-30 18:43:57 -06:00
Matt Krump
8feb2acbbf Turn on check_untyped_defs for aqt.webview 2020-07-30 18:43:57 -06:00
ANH
0eb48d3603 document hooks 2020-07-31 03:06:13 +03:00
ANH
23d0008a6f add reviewer_will_play_question_sounds and reviewer_will_play_answer_sounds hooks 2020-07-30 22:20:19 +03:00
ANH
2a5131a5d3 use 'Preview Settings' as a label for the new options button 2020-07-30 18:04:50 +03:00
Fabian Wood
4a7558f9be Added typehints for qt profiles
* `Any` used for pickle methods, this could probably be improved
with some kind of Callable
* str used for self.base, though this may be a problem for
different OSes. Some type of os.PathLike might be good.
* Line 75, type ignored: mypy was complaining about no. of args,
and kwargs there didn't seem to be needed. Separate issue to test,
though.
2020-07-31 00:56:48 +10:00
ANH
393403ffbf add night mode and mobile class toggles in card layout screen 2020-07-30 15:39:02 +03:00
Damien Elmes
3d947febab Merge pull request #715 from phwoo/typehints-for-qt-modelchooser
Added typehints to qt/aqt/modelchooser.py, updated qt/mypy.ini
2020-07-30 17:00:58 +10:00
Damien Elmes
1300597c21 Merge pull request #716 from phwoo/patch-1
minor edit to fix author check
2020-07-30 17:00:41 +10:00
phwoo
3dfe20ff44 minor edit to fix author check
See https://github.com/ankitects/anki/pull/715#issuecomment-666143800
2020-07-30 16:56:24 +10:00
Damien Elmes
c8a8622a52 Merge pull request #714 from phwoo/add-type-hints-for-qt-models
added type hints for qt models
2020-07-30 16:07:32 +10:00
Damien Elmes
fb029d844b Merge branch 'master' into add-type-hints-for-qt-models 2020-07-30 16:05:55 +10:00
Damien Elmes
22d7ec0456 Merge pull request #712 from aplaice/old_media_file_extensions
Re-add previously supported file extensions for media
2020-07-30 16:03:41 +10:00
Fabian Wood
b23129c3eb added typehints to modelchooser, updated mypy.ini 2020-07-30 15:25:25 +10:00
Fabian Wood
8275a08240 updated CONTRIBUTORS 2020-07-30 13:29:05 +10:00
Fabian Wood
f0dabf4570 added type hints to qt models 2020-07-30 13:28:52 +10:00
Damien Elmes
860e70fa70 bust CI cache to hopefully fix Mac build issue 2020-07-30 09:44:23 +10:00
Damien Elmes
dfcf1c02b7 handle preview cards in graphs 2020-07-30 09:11:18 +10:00
Damien Elmes
a93145c4c7 handle preview repeat in deck list 2020-07-30 09:11:13 +10:00
Adam Plaice
df9e22aef5 Re-add previously supported file extensions for media
(They had been removed in 6939d8ba5b).
2020-07-29 15:08:33 +02:00
Damien Elmes
cecdebc70b pin pytest due to pylint issue 2020-07-29 14:52:45 +10:00
Damien Elmes
bb8127517f Merge pull request #703 from ANH25/master
fix help-wanted#13
2020-07-29 14:14:57 +10:00
Damien Elmes
eadae617b3 Merge pull request #711 from mkrump/help-wanted-4-add-type-hints-5
Turn on check_untyped_defs for aqt.editor and aqt.exporting
2020-07-29 13:59:13 +10:00
Damien Elmes
aca9f5232c Merge branch 'master' into help-wanted-4-add-type-hints-5 2020-07-29 13:56:57 +10:00
Damien Elmes
3da7884e19 reject double comma in id list
https://forums.ankiweb.net/t/anki-2-1-29-and-below-2-small-bugs/1496
2020-07-29 13:05:34 +10:00
Damien Elmes
f4bd143050 handle multiple clozes in cloze-only filter
https://forums.ankiweb.net/t/built-in-tts-not-reading-multiple-clozes/1516
2020-07-29 12:54:29 +10:00
Damien Elmes
55891fc8f7 clearer message when template error is preventing save 2020-07-29 12:53:03 +10:00
Damien Elmes
4967c2571f update svelte-check minimum 2020-07-29 12:06:48 +10:00
Damien Elmes
3a1e4a6500 Revert "svelte-check doesn't want a CSS string"
This reverts commit 3f62c1f79d.

Now they do again.🤷
2020-07-29 12:06:33 +10:00
Matt Krump
d4511e3287 Turn on check_untyped_defs for aqt.exporting 2020-07-28 18:42:22 -06:00
Matt Krump
98d8e1c926 Turn on check_untyped_defs for aqt.editor
* Turn on check_untyped_defs for aqt.browser
* Add type hints
2020-07-28 18:42:22 -06:00
Matt Krump
cba96110c0 Fix svelte error
* Fix error: Type '{ opacity: number; }' is not assignable to type 'string'. (ts)
2020-07-28 18:38:25 -06:00
Damien Elmes
e1bfe68b9e Merge pull request #706 from mkrump/help-wanted-4-add-type-hints-4
Turn on check_untyped_defs for aqt.taglimit, aqt.update and aqt.browser
2020-07-28 13:16:49 +10:00
Damien Elmes
21174b31e5 Merge pull request #709 from evandroforks/not_run_checks_on_tagged_releases
Set to to checks.yml not run check rules on tagged releases
2020-07-28 13:08:29 +10:00
Damien Elmes
d3653ab6d5 bump version 2020-07-28 12:59:56 +10:00
evandrocoan
c5f56166eb Set to to checks.yml not run check rules on tagged releases 2020-07-27 23:26:21 -03:00
Damien Elmes
3f62c1f79d svelte-check doesn't want a CSS string 2020-07-28 11:16:10 +10:00
Damien Elmes
f1f3832d21 update ts deps 2020-07-28 11:15:49 +10:00