Damien Elmes
896a1e44b1
add rule to copy mathjax from node_modules
2020-11-15 20:22:28 +10:00
Henrik Giesel
d82d7bc95b
Add Mathjax filegroup
2020-11-14 14:14:25 +01:00
Henrik Giesel
06bd0376b1
Remove @types/mathjax as it is for MathJax 2
2020-11-14 14:14:25 +01:00
Henrik Giesel
3ec4b0da3a
Add moving MathJax3 into mathjax directory to build process
2020-11-14 14:14:25 +01:00
Henrik Giesel
6a29e0cd4d
Rip out MathJax 2 and setup MathJax 3 environment
2020-11-14 14:14:25 +01:00
Henrik Giesel
839e6652dd
Update MathJax2 config to MathJax3 config
...
Used: https://mathjax.github.io/MathJax-demos-web/convert-configuration/convert-configuration.html
2020-11-14 14:14:25 +01:00
Damien Elmes
0d1f6f91c9
audio doc updates
...
[skip ci]
2020-11-13 09:14:12 +10:00
Damien Elmes
f823c442ec
relative js package paths
2020-11-12 21:07:59 +10:00
Damien Elmes
5e9cb92095
make 'bazel run ts:format' work
...
We're cheating a bit by having it fix files in qt's data folder
as well, but this makes it easier to share the config file.
2020-11-12 20:49:00 +10:00
Damien Elmes
a4af59fc4d
format_fix -> format; rename svelte-check for consistency
2020-11-12 20:19:32 +10:00
Damien Elmes
f2d25cdaf9
cleaning note is not specific to Windows
2020-11-12 20:06:35 +10:00
Damien Elmes
f83f0f08e2
drop El Capitan support
2020-11-12 20:03:41 +10:00
Damien Elmes
db1ed6f01f
export runtime js licenses
2020-11-12 20:03:41 +10:00
Damien Elmes
9da61c111e
update ts deps
2020-11-12 20:03:41 +10:00
Damien Elmes
b444eea75d
dump pypi licenses of runtime deps
2020-11-12 20:03:41 +10:00
Damien Elmes
c1e154e3ad
update Python deps
2020-11-12 20:03:41 +10:00
Damien Elmes
dc9026e9d7
orjson was missing from dep list; drop 32 bit compat
2020-11-12 20:03:41 +10:00
Damien Elmes
35fed9f0bd
dump crate licenses as part of update run
2020-11-12 20:03:41 +10:00
Damien Elmes
588f677f7e
rs dep updates
2020-11-12 20:03:41 +10:00
Damien Elmes
f5ac0570ea
Merge pull request #820 from abdnh/patch-1
...
Update Windows docs
2020-11-12 13:57:03 +10:00
abdo
3969a74c2a
Update Windows docs
...
See https://github.com/ankitects/anki/pull/819/
2020-11-12 04:01:08 +03:00
Damien Elmes
dc9944e0e9
update translations
2020-11-12 08:55:56 +10:00
Damien Elmes
ba5dc96a6b
fix some unwanted leading space in i18n keys
2020-11-12 08:55:26 +10:00
Damien Elmes
db6d81858c
fix typo
...
[skip ci]
2020-11-11 22:17:37 +10:00
Damien Elmes
db24dcf9a7
add coding specifier to anki/__init__.py
...
older gettext versions will complain otherwise (was breaking Windows CI)
2020-11-11 21:51:11 +10:00
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