Commit graph

4796 commits

Author SHA1 Message Date
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
Damien Elmes
3099edf8ee show card stats in reverse order like older Anki versions 2020-07-28 09:49:27 +10:00
Damien Elmes
8f470ce23d fix note/card ids being flipped in card stats 2020-07-28 09:49:11 +10:00
Damien Elmes
17ffe1e05d backlog fix
private message:
https://forums.ankiweb.net/t/issues-on-stats-page-anki-2-1-28beta6/1114
2020-07-27 12:10:45 +10:00
Damien Elmes
ee10fd9008 don't throw error on empty path
https://forums.ankiweb.net/t/anki-2-1-28-error-message-when-reviewing-cards/1439
2020-07-27 11:28:32 +10:00
Matt Krump
1317b9f2b5 Fix browser.py import sorting 2020-07-26 13:16:06 -06:00
Matt Krump
0d8979f05e Cast set to list to fix mypy failure in browser.py 2020-07-26 13:00:06 -06:00
Damien Elmes
94e4ee159a fix handling of due reviews in filtered deck+future due graph 2020-07-26 10:28:56 +10:00
Damien Elmes
1d1f5e1afc apply AltGr workaround on qt 5.14 as well 2020-07-26 10:13:53 +10:00
Matt Krump
f27d465d69 Turn on check_untyped_defs for aqt.browser
* Turn on check_untyped_defs for aqt.browser
* Add type hints to browser
2020-07-25 17:31:49 -06:00
Matt Krump
a389e3ca94 Turn on check_untyped_defs for aqt.update
* Turn on check_untyped_defs for aqt.update
2020-07-25 17:31:44 -06:00
Matt Krump
8d988d2b6f Turn on check_untyped_defs for aqt.taglimit
* Add type hints taglimit
* Turn on check_untyped_defs for aqt.taglimit
2020-07-25 15:45:31 -06:00
ANH
9279d5e33d Merge branch 'master' into master 2020-07-25 05:24:45 +03:00
Damien Elmes
925f2bccf8 Merge pull request #705 from mkrump/help-wanted-4-add-type-hints-3
Add type hints for aqt.importing, aqt.errors and aqt.models
2020-07-25 11:44:05 +10:00
Damien Elmes
6ad544cf62 Merge branch 'master' into help-wanted-4-add-type-hints-3 2020-07-25 11:43:46 +10:00
Damien Elmes
6ce01784c1 Merge pull request #704 from mkrump/help-wanted-4-add-type-hints-deckconf
Add type hints for apt.deckconf
2020-07-25 11:41:35 +10:00
Matt Krump
6b93ab28b6 Move name in Contributors so contrib.sh recognizes change of email 2020-07-24 12:50:02 -06:00
Matt Krump
e93ae88cdf Add type hints to importing
* Add type hints to importing
* Turn on type checking for aqt.importing
2020-07-24 12:38:34 -06:00
Matt Krump
38651d6a4e Add type hints to errors
* Add type hints to errors
* Turn on type checking for aqt.errors
2020-07-24 11:20:54 -06:00
Matt Krump
a88f935a8c Add type hints to aqt.models
* Add type hints to aqt.models
* Turn on type checking for aqt.models
2020-07-24 10:59:45 -06:00
ANH
a777784a38 add missing string r flag 2020-07-24 09:18:05 +03:00
ANH
3ad5c866b3 formatting 2020-07-24 09:00:34 +03:00
ANH
3276cc2e5e avoid string concatenation 2020-07-24 08:12:46 +03:00
Matt Krump
4ab41abfea Move name in Contributors so contrib.sh recognizes change of email 2020-07-23 22:35:49 -06:00
Matt Krump
90457e5f20 Add type hints for apt.deckconf
* Add type hints for apt.deckconf
* Turn on check_untyped_defs for apt.deckconf
2020-07-23 21:53:12 -06:00
ANH
0bf277df6e add ANH25 to CONTRIBUTORS 2020-07-24 06:01:04 +03:00
ANH
939f3c8dc7 fix ankitects/help-wanted#13 2020-07-24 06:00:55 +03:00
Damien Elmes
7e4b2ac4d9 fix lint issue in previewer, and drop unused code
No add-ons appear to be using the removed code, and Anki wasn't
using it either.
2020-07-24 12:18:37 +10:00
Damien Elmes
4dff66cd10 formatting and debug statement tweak 2020-07-24 11:57:37 +10:00
Damien Elmes
d8ff54c884 fix preview not updating on edit
https://forums.ankiweb.net/t/modification-and-preview/1331
2020-07-24 11:57:22 +10:00
Damien Elmes
fcdc48622a include learning cards due today in future due graph 2020-07-24 11:09:22 +10:00
Damien Elmes
5104c0fd1b enable AltGr workaround by default
5.15.1 may still be another month away
2020-07-24 10:32:50 +10:00