Damien Elmes
28f1661ac1
show what's wrong when bad formatting found in ftl
2021-01-04 13:27:12 +10:00
Damien Elmes
b87b32f2ea
update piptools; automatically insert winrt footer
2021-01-04 13:19:17 +10:00
Damien Elmes
e3b2ed6077
catch references to missing terms in ftl check
...
https://github.com/ankitects/anki/pull/889
- We can't use compare_locales's getChecker(), as it seems to
be focused on checking translations rather than the original
templates.
- Also fix return code not being passed on in check_files()
- Temporarily pin pip-tools, as its output format has changed
2021-01-04 13:19:17 +10:00
Damien Elmes
6aee817ac1
Merge pull request #889 from abdnh/escape-braces
...
Escape literal curly braces in Fluent
2021-01-04 13:19:07 +10:00
abdo
7a289530fd
Escape literal curly braces in Fluent
2021-01-04 00:31:58 +03:00
Damien Elmes
67bae1ec93
refreshing should happen outside of except clause
2021-01-03 10:09:42 +10:00
Damien Elmes
0b3ff5c88c
Merge pull request #885 from Arthur-Milchior/hook_default_search
...
NF: Add a hook to change the default search from reviewer
2021-01-03 10:09:08 +10:00
Damien Elmes
0287099253
Merge pull request #884 from BlueGreenMagick/refresh-deckchooser
...
refresh deck browser after renaming deck in browser sidebar
2021-01-03 10:08:45 +10:00
Damien Elmes
439be5cbec
Merge pull request #883 from BlueGreenMagick/no-need-to-show
...
Don't call show()
2021-01-03 10:03:57 +10:00
Arthur Milchior
5c7dbdf72b
NF: Add a hook to change the default search from reviewer
...
The goal here is to simplify my add-on which show a single card or the whole deck when the browser open
2021-01-02 19:49:11 +01:00
BlueGreenMagick
a7889fdcfa
refresh deck browser on renaming deck
2021-01-02 23:21:41 +09:00
BlueGreenMagick
e9223bfd36
no need to call show()
2021-01-02 23:07:57 +09:00
Damien Elmes
9e286b185c
update translations
2021-01-02 21:27:48 +10:00
Damien Elmes
a304d15b5d
Merge pull request #881 from abdnh/prop-order
...
Support prop:order to search for new cards by order
2021-01-02 21:27:29 +10:00
Damien Elmes
6cac9c4a5b
remove empty es6 group; reference original ts_library instead
2021-01-02 21:18:10 +10:00
abdo
85a1c732db
Rename prop:order to prop:pos
2021-01-02 13:35:10 +03:00
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
abdo
ab8736b37f
Support prop:order to search for new cards by order
2021-01-01 04:36:51 +03: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