Damien Elmes
f3e83dffc9
remove the unused ts/vendor folder
2021-01-02 11:25:09 +10:00
Damien Elmes
a27e94e54d
merge separate vendor rules into single rule
...
Rather than creating a separate rule for each package, we can just
create a generic one and reuse it. Also switch to keyword arguments
in the resulting macros, as it's easier to read.
2021-01-02 11:14:00 +10:00
Damien Elmes
2baacbea03
Merge pull request #882 from hgiesel/copyfiles
...
Implement copy_select_files for removing duplication in js dep Bazel recipes
2021-01-02 10:22:48 +10:00
Damien Elmes
792a2240fc
docs: musl and local node
2021-01-02 09:49:41 +10:00
Henrik Giesel
2e3b9b5dc0
Add base argument to copy_select_files
2021-01-01 14:39:15 +01:00
Henrik Giesel
a8b6fe99fa
Be a bit more precise when excluding mathmaps_ie.js
...
* for documentation purposes
2021-01-01 14:16:52 +01:00
Henrik Giesel
e51685d4e6
Fix input type for _drawFlag
2021-01-01 14:14:50 +01:00
Henrik Giesel
0042c897bd
Remove duplicated logic in ts bzl files by using copy_select_files
2021-01-01 13:45:25 +01:00
Damien Elmes
e147dfa17f
add some Python source deps
2021-01-01 08:49:29 +10:00
Damien Elmes
a7f96838b7
Merge pull request #880 from hgiesel/remdeps2
...
Add css-browser-selector and protobufjs as bazel deps
2021-01-01 08:37:06 +10:00
Henrik Giesel
b7923ee20e
Remove browsersel
2020-12-31 16:48:04 +01:00
Henrik Giesel
e0d34d526a
Replace browsersel with css-browser-selector in aqt files and add redirect
2020-12-31 16:47:20 +01:00
Henrik Giesel
6087bb9a0f
Add css-browser-selector to BAZEL build file in data/web/js/vendor
2020-12-31 16:41:31 +01:00
Henrik Giesel
7ed80466e9
Add css-browser-selector as bazel rule, and update from 0.4.0 to 0.6.5
2020-12-31 16:27:52 +01:00
Henrik Giesel
137e4b3d15
Remove hardcoded protobufjs
2020-12-31 16:17:46 +01:00
Henrik Giesel
e30ed8c2fa
Add build recipe to aqt/data/web/js
2020-12-31 16:15:25 +01:00
Henrik Giesel
0745fe511a
Add bazel recipe and update protobufjs to 6.10.2
2020-12-31 16:06:44 +01:00
Damien Elmes
1db4d0290f
add some porting notes
2020-12-31 14:03:38 +10:00
Damien Elmes
9953305241
Merge pull request #878 from hgiesel/updateQueue
...
Replace `_updatingQA` with promise-based `_updatingQueue`
2020-12-31 12:42:58 +10:00
Damien Elmes
ba466808e4
use :yarn not :yarn_bin
...
The latter fails on Windows
2020-12-31 12:32:51 +10:00
Damien Elmes
a86b8bbcf8
add add.sh helper for adding dependency and updating licenses
2020-12-31 12:20:51 +10:00
Damien Elmes
56c27ab129
run ts/update.sh
2020-12-31 12:18:49 +10:00
Damien Elmes
201b886f10
Merge pull request #877 from hgiesel/jquery-ui
...
Update Jquery UI and include in Bazel deps
2020-12-31 12:07:53 +10:00
Damien Elmes
4b70dc287e
Merge pull request #879 from Arthur-Milchior/Tex_keep_alt
...
Add Alt text to latex image
2020-12-31 12:02:40 +10:00
Damien Elmes
5a87175127
fix clippy error in unit test
2020-12-31 09:48:05 +10:00
Arthur Milchior
f19592b27f
Add Alt text to latex image
...
I'm trying to go over accessibilities issues in AnkiDroid. Since we'll use rust backend, I thought I might as well go
over it in rust directly. The only side effect in anki is that, if you copy a text with the image, you'll get the LaTeX
copied instead of nothing. Alas, it seems qt does not show alt text.
2020-12-30 18:00:06 +01:00
Henrik Giesel
a1d948d5a2
Replace () => void | Promise<void> with Callback typedef
2020-12-30 16:04:59 +01:00
Henrik Giesel
bbb1a9ed94
Add types to reviewer.ts
2020-12-30 15:06:22 +01:00
Henrik Giesel
8aef0be0f6
Replace _updatingQa synchronization with promise-based _updatingQueue
2020-12-30 14:45:27 +01:00
Henrik Giesel
03da021706
Put loads first in BUILD.bazel
2020-12-30 12:16:59 +01:00
Henrik Giesel
b9c4d2d1ad
Remove jquery-ui from vendor folder
2020-12-30 12:12:49 +01:00
Henrik Giesel
da996302a5
Add redirect for jquery-ui
2020-12-30 12:08:12 +01:00
Henrik Giesel
7f85ac63f5
Change include name for jquery ui in deckbrowser
2020-12-30 12:07:02 +01:00
Henrik Giesel
dda55b16f1
Add jquery-ui to vendor/BUILD.bazel
2020-12-30 12:06:06 +01:00
Henrik Giesel
ff68cd8382
Install jquery-ui-dist
2020-12-30 11:56:49 +01:00
Damien Elmes
cb646cb71e
remove old symlink before installing a new version
...
https://forums.ankiweb.net/t/ubuntu-command-anki-not-found/6083/4
2020-12-30 20:56:28 +10:00
Henrik Giesel
dcb9c672e0
Add jquery-ui bazel build file
2020-12-30 11:56:20 +01:00
Damien Elmes
8b0588916e
add aarch64-linux to BUILD.request.bazel
2020-12-30 20:39:27 +10:00
Damien Elmes
c3ff88ab88
fix media attachment
...
insertHtmlRemovingInitialBR() was removed in a previous PR
2020-12-30 19:30:23 +10:00
Damien Elmes
9b92d3ce1f
Revert "Merge pull request #873 from hgiesel/otherjsdeps"
...
This reverts commit ad7491a9ae , reversing
changes made to 5a79515f2a .
- Standard graphs render incorrectly on latest version - the wrong number
of days are shown, and the grid lines look wrong. Any version after 0.8.3
seems to suffer from this problem.
- Pie graphs and stack graphs don't render - they are provided in separate
files, and plot.js in previous Anki versions has them included in the one
file. To maintain compatibility with add-ons, we'd need to create a single
file as before, instead of importing multiple files.
If the above issues are fixed I'd be happy to merge this in again, but
as the old graphs are on the way out, it's probably not worth the effort.
2020-12-30 14:13:52 +10:00
Damien Elmes
03dc6ac8fd
fix typo in docs
...
Thanks to Gustavo for the report
Closes #876
2020-12-30 13:54:27 +10:00
Damien Elmes
c11e9c45d7
Merge pull request #875 from stayingpeachy/help-link
...
Update help link
2020-12-30 13:52:50 +10:00
Damien Elmes
fcffad3535
Merge pull request #874 from hgiesel/jqueryreview
...
Update _updateQa
2020-12-30 13:51:54 +10:00
Damien Elmes
ad7491a9ae
Merge pull request #873 from hgiesel/otherjsdeps
...
Update plotting library to 4.2.1 and include in Bazel build
2020-12-30 13:49:01 +10:00
Damien Elmes
5a79515f2a
support overriding pyqt via env var
...
Documentation to come later.
2020-12-30 13:36:57 +10:00
Damien Elmes
26c13f6dba
add aarch64 Linux to cargo; update deps
2020-12-30 13:33:16 +10:00
Meredith
32f3e45205
add self as contributor
2020-12-29 11:11:05 -05:00
Meredith
adc54c71e3
update help link
...
old help link was outdated
2020-12-29 11:09:28 -05:00
Henrik Giesel
633d20f9fd
Satisfy prettier
2020-12-29 14:45:20 +01:00
Henrik Giesel
05425c666f
Hook functions may also return void
2020-12-29 14:01:09 +01:00