Commit graph

4752 commits

Author SHA1 Message Date
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
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
Damien Elmes
d460549b8f ask user to check db when graphs fail to load 2020-07-24 09:56:28 +10:00
Damien Elmes
9ec58c10ec strip unwanted control characters when writing fields
closes #661
2020-07-24 09:18:05 +10:00
Damien Elmes
684f63b78e clarify comment 2020-07-24 09:01:14 +10:00
Damien Elmes
538f399787 Merge pull request #702 from mkrump/help-wanted-4-add-type-hints
Add type hints for apt.dyndeckconf
2020-07-24 09:01:07 +10:00
Damien Elmes
a6ebd8d437 Merge pull request #701 from kelciour/mpv-autoload-external-files
Add --no-autoload-files option to mpv
2020-07-24 08:57:41 +10:00
Matt Krump
79a823023d Add myself to CONTRIBUTORS 2020-07-23 16:55:01 -06:00
Damien Elmes
5dbb33bf65 Merge pull request #700 from evandroforks/update_github_actions_artifacts
Update actions/upload-artifact@v1 to v2 as v1 is deprecated
2020-07-24 08:53:56 +10:00
Matt Krump
51e50c176b Add type hints for apt.dyndeckconf
* Add type hints for apt.dyndeckconf
* Turn on check_untyped_defs for apt.dyndeckconf
2020-07-23 16:04:46 -06:00
evandrocoan
6af7c3d4e7 Update actions/upload-artifact@v1 to v2 as v1 is deprecated
Random error on Mac OS: [error]Too Many Requests
https://github.com/actions/toolkit/issues 503
2020-07-23 12:16:38 -03:00
kelciour
6f8585b98a Add --no-autoload-files option to mpv 2020-07-23 14:28:47 +03:00
Damien Elmes
55be3a9388 letter-spacing breaks RTL layout
https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/8
2020-07-22 15:26:29 +10:00
Damien Elmes
baa40ee46c hacks to fix (misaligned (rtl text
To fix this properly the string concatenation should probably be
broken into separate i18n strings and placed in Fluent

https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/8
2020-07-22 15:15:52 +10:00
Damien Elmes
39272c436e force old graphs to use ltr
otherwise the axis labels are way off

https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/8
2020-07-22 14:30:56 +10:00
Damien Elmes
e210a3a832 ts check doesn't require build 2020-07-22 14:16:51 +10:00
Damien Elmes
35d0dcee5a run svelte-check as part of check 2020-07-22 14:11:35 +10:00
Damien Elmes
132956e18c fix some typescript warnings 2020-07-22 14:11:22 +10:00
Damien Elmes
67845fa401 use short form for time units in graph axis 2020-07-22 12:59:56 +10:00
Damien Elmes
fd45d7e2ae fix misaligned deck heading in RTL languages
https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/2?u=dae
2020-07-22 11:00:39 +10:00
Damien Elmes
f33451f12f fix pylint failing in CI 2020-07-21 16:16:34 +10:00
Damien Elmes
47a9b523f7 protect against exception on initial recording wait 2020-07-21 16:07:58 +10:00
Damien Elmes
7e78d12b99 bump version 2020-07-21 15:54:14 +10:00
Damien Elmes
d084898b92 trigger recording permission on newer macOS SDKs 2020-07-21 15:54:04 +10:00
Damien Elmes
1b0228c4fc formatting 2020-07-21 14:17:56 +10:00
Damien Elmes
348da61744 include 1+ day learning cards in future due graph 2020-07-21 14:10:32 +10:00
Damien Elmes
61f0c3eec0 add cloze-only filter
https://anki.tenderapp.com/discussions/ankidesktop/42383-two-feature-suggestions
2020-07-21 12:59:28 +10:00
Damien Elmes
876f474b7d apply rtl dir to webviews
https://forums.ankiweb.net/t/gui-problems-with-right-to-left-languages/1205
2020-07-21 11:52:25 +10:00
Damien Elmes
976d42cc90 full sync terminates media sync; start it again afterwards
https://forums.ankiweb.net/t/media-files-not-downloaded-in-first-full-sync-v2-1-28/1198/3
2020-07-21 11:26:41 +10:00
Damien Elmes
15bc3c4033 Merge pull request #698 from Arthur-Milchior/remove_clear_overdue
remove _clearOverdue
2020-07-21 10:27:04 +10:00
Arthur Milchior
e40c3b4254 remove unused variable 2020-07-20 10:17:23 +02:00
Arthur Milchior
d686aeccad duplicate assignment removed 2020-07-20 06:47:47 +02:00
Arthur Milchior
d983feaefe typo 2020-07-20 06:28:36 +02:00
Arthur Milchior
b4c32db460 remove useless variable cram 2020-07-20 06:24:42 +02:00
Arthur Milchior
4885404afb remove _clearOverdue
This member is never read
2020-07-20 05:45:18 +02:00
Damien Elmes
3ca4a882a1 Merge pull request #692 from Arthur-Milchior/remove_useles_variables
Remove useless variables
2020-07-20 11:35:40 +10:00
Damien Elmes
f1202efe5f Merge pull request #697 from Arthur-Milchior/typos
Comment typo
2020-07-20 11:34:02 +10:00
Damien Elmes
bc28a40e50 Merge pull request #696 from Arthur-Milchior/note_to_add_note
For some reason, add_note were assigned to a unused variable
2020-07-20 11:32:55 +10:00
Damien Elmes
6073644ed4 Merge pull request #695 from Arthur-Milchior/note->field
replace "note" by "field"
2020-07-20 11:32:30 +10:00
Damien Elmes
61c1392ead Merge pull request #694 from Arthur-Milchior/constants_in_test
Uses constant in tests
2020-07-20 11:32:11 +10:00
Arthur Milchior
8253ee59bc Comment typo 2020-07-19 11:24:58 +02:00
Arthur Milchior
57aac57e93 For some reason, add_note were assigned to a unused variable
I remove it for clarity
2020-07-19 10:58:40 +02:00
Arthur Milchior
83fac5db14 replace "note" by "field"
My bad. In one case `f` did represent "field" and not "fact"
2020-07-19 08:24:43 +02:00
Arthur Milchior
d09cf43bab Uses constant in tests 2020-07-19 05:34:22 +02:00
Damien Elmes
8fb3da2e27 split add-ons window title from menu bar action
https://anki.tenderapp.com/discussions/private/4781-print-mistake
2020-07-19 09:49:36 +10:00
Damien Elmes
e36e063656 Merge pull request #693 from Arthur-Milchior/master
More variable renaming in tests
2020-07-18 12:09:06 +10:00