Commit graph

5336 commits

Author SHA1 Message Date
Damien Elmes
0cb2b3f0c1 update qt/ to 3.8 as well 2020-11-11 21:37:36 +10:00
Damien Elmes
593e9d4e7b Merge pull request #817 from cecini/formatcheck
Update mypy and black format check to python version 3.8
2020-11-11 21:36:32 +10:00
Damien Elmes
a44d8e91ac ensure repos.bzl is up to date at end of run 2020-11-11 21:26:47 +10:00
Damien Elmes
9b5e120659 update translations 2020-11-11 21:23:38 +10:00
Damien Elmes
35d83cc9d2 add option to skip pot update; update sha1 after commit 2020-11-11 21:23:27 +10:00
Damien Elmes
48d07b7541 sort merged po files 2020-11-11 21:18:41 +10:00
Damien Elmes
c62e6e61c2 update i18n scripts
- export updated .po files for consumption
- add a script to pull and push translations
2020-11-11 21:08:06 +10:00
cecini
28abd41925 Update mypy and black format check to python version 3.8 2020-11-11 09:24:28 +00:00
Damien Elmes
208a0e9488 update translations 2020-11-11 18:34:41 +10:00
Damien Elmes
5ab4cbfd63 prep for i18n updates
Update scripts will be split into separate repo
2020-11-11 16:18:28 +10:00
Damien Elmes
7f04e29834 Windows doc updates 2020-11-11 15:42:38 +10:00
Damien Elmes
f8d402ee70 fix error exporting v2 collection when translations don't match
https://forums.ankiweb.net/t/utf8-error-in-importing-deck/4430/13
2020-11-11 15:42:08 +10:00
Damien Elmes
5f8df09271 add Makefile and README from packaged Linux version 2020-11-11 13:57:38 +10:00
Damien Elmes
fb21e89653 add pyqtwebengine to wheel deps and bump minimum required pyqt 2020-11-11 10:33:49 +10:00
Damien Elmes
ec74cf6730 handle packaged pylib buildinfo.txt; drop aqt buildinfo 2020-11-11 10:33:49 +10:00
Damien Elmes
1c8dce3b6d add bazel version check for external consumers 2020-11-11 10:33:49 +10:00
Damien Elmes
8147c9996a Merge pull request #793 from nwwt/object-audio-tags-support
Audio & object tag support
2020-11-11 10:33:31 +10:00
Andreas Reis
776c46e23b Allow <audio> to play without user interaction in accordance to autoplay setting
Since 2018, Chromium by default requires at least one user interaction with a page in order for sound to play. That's not what an Anki user expects.

So this commit undoes this by setting the policy accordingly if the deck's settings have autoplay set, so that files in <audio> tags (if they further have the autoplay attribute set / are jscripted accordingly) are treated the same as ones in [sound:…] elements. OFC, it's obviously not a good idea to mix both on one card.

(AnkiDroid's WebView has already been unconditionally ignoring the requirement since forever.)
2020-11-10 14:53:45 +01:00
Andreas Reis
81d6d21ae3 cleanup / renames
・ soundRegexps →  sound_regexps

・ htmlRegexps →  html_media_regexps

・ HTML_TAGS →  HTML_MEDIA_TAGS

・ escapeImages →  escape_media_filenames + alias

・ strip_html_preserving_image_filenames →  strip_html_preserving_media_filenames
2020-11-10 14:53:04 +01:00
Damien Elmes
d190f00517 bust CI cache 2020-11-10 09:48:42 +10:00
Damien Elmes
c4fcba6ade update to cargo-raze 0.7.0 + latest deps
Gives us wildcard entries in raze.toml, and solves warnings about
unrecognized "raze" entries.
2020-11-10 09:48:42 +10:00
Damien Elmes
ea0b222afa Merge pull request #811 from ianki/media_filters_head
Add hooks for filtering media.
2020-11-09 20:41:56 +10:00
ianki
28ad68d490 Add hooks for filtering media. 2020-11-09 02:12:23 -08:00
Damien Elmes
27e14dc59e Merge pull request #814 from k12ish/master
Improve compatibility with graphics pad/touchscreen
2020-11-09 19:42:41 +10:00
Damien Elmes
b3db379655 Merge pull request #813 from RumovZ/fix-search-combos
Fix clicking filters with keyboard modifiers
2020-11-09 19:42:13 +10:00
Damien Elmes
715f976a21 update Windows CI 2020-11-09 19:09:23 +10:00
k12ish
405cb7207a Update CONTRIBUTORS 2020-11-08 18:49:12 +00:00
k12ish
5588069885 Revert "Update CONTRIBUTORS"
This reverts commit 1fee0d0858.
2020-11-08 18:38:02 +00:00
k12ish
1fee0d0858 Update CONTRIBUTORS 2020-11-08 18:34:30 +00:00
k12ish
1ca0eb04bb Improve compatibility with graphics pad/touchscreen
When using anki with a graphics pad, text is often selected on accident. This snippet of CSS will fix that issue
2020-11-08 18:14:37 +00:00
RumovZ
7f9aa879b5 Fix clicking filters with keyboard modifiers 2020-11-08 11:05:11 +01:00
Damien Elmes
8cc6f338f5 fix missing QAudioDeviceInfo on macOS 2020-11-06 12:01:37 +10:00
Damien Elmes
5e3a4d2c88 Merge pull request #808 from sobjornstad/reposition-highlight
Start with default value in reposition spinbox selected
2020-11-06 11:09:15 +10:00
Damien Elmes
434fdae4f0 Merge pull request #805 from cecini/duecounts
align rslib get_subnode impl with anki pythonapi find_deck_in_tree
2020-11-06 10:57:49 +10:00
Damien Elmes
aaa950f66c handle notes with invalid utf8 2020-11-06 10:21:51 +10:00
Damien Elmes
8d3f673ce7 disable Windows CI for now 2020-11-05 21:00:02 +10:00
Damien Elmes
e64093edda doc updates 2020-11-05 20:25:48 +10:00
Damien Elmes
f128f0f79a fix aqt version requirement; use py3 instead of cp38 tag 2020-11-05 20:25:08 +10:00
Damien Elmes
49dc572d4c Revert "remove gif-lfs"
This reverts commit 39599a6c34.

Issue fixed.
2020-11-05 18:46:22 +10:00
Damien Elmes
da3239a8f2 packages.bzl -> repos.bzl; update rules_rust 2020-11-05 14:22:45 +10:00
Damien Elmes
39599a6c34 remove gif-lfs
https://github.com/actions/virtual-environments/issues/1983
2020-11-05 12:31:14 +10:00
Damien Elmes
6dff04456e migrate away from insecure add-path statement 2020-11-05 12:27:36 +10:00
Damien Elmes
470119d130 gettext and bazelisk come standard on macOS runner 2020-11-05 12:24:10 +10:00
Damien Elmes
b3af4d6652 show Bazel timestamps in CI 2020-11-05 12:23:06 +10:00
Damien Elmes
9c4368ec32 experiment with repo/disk cache instead of output root
edit to trigger rebuild
2020-11-05 12:07:01 +10:00
Damien Elmes
e049062147 fix missing buildinfo on Windows 2020-11-05 11:21:27 +10:00
Damien Elmes
338836ebb9 cleanups 2020-11-05 11:21:13 +10:00
Damien Elmes
ad809943bf fix backend_pb2 race 2020-11-05 11:02:40 +10:00
Damien Elmes
4f8b19dcfb fix external consumption of ts rules, and simplify import path 2020-11-05 11:01:52 +10:00
Damien Elmes
54c4462292 support user bazelrc 2020-11-04 22:11:28 +10:00