Damien Elmes
b90388bee2
use separate integration test for links
...
If we run into issues with unreliable network connections in the future,
we'll be able to mark the test as flaky so Bazel can retry it multiple
times.
2021-07-24 10:12:25 +10:00
Damien Elmes
cfdbdb4a49
Merge pull request #1308 from RumovZ/check-help
...
Build and check help links on the backend
2021-07-24 09:37:23 +10:00
RumovZ
c3d2bc2d9f
Fix linkcheck result message
2021-07-23 19:40:51 +02:00
Damien Elmes
b5157f3323
attempt to fix Linux build
2021-07-23 21:00:51 +10:00
Damien Elmes
032b2b272b
disable link check outside CI
2021-07-23 20:22:32 +10:00
Damien Elmes
10715d7e16
fix Python lints
2021-07-23 20:22:32 +10:00
Damien Elmes
d25785f7fb
be explicit about .html suffix
2021-07-23 20:22:32 +10:00
Damien Elmes
c31f56e768
fix clippy lints
2021-07-23 20:22:32 +10:00
Damien Elmes
e9669c165a
add linkcheck to Bazel
2021-07-23 20:22:32 +10:00
RumovZ
a24b54af21
Add check to ensure parsed URL equals link
2021-07-23 11:44:19 +02:00
RumovZ
03f11dcb32
Improve error message for unknown fragment
2021-07-23 10:32:29 +02:00
RumovZ
72a9507c18
Remove native HelpPage enum
...
Also remove oneof from pb enum and handle strs in Python.
2021-07-22 16:32:49 +02:00
RumovZ
d9f039e75c
Update proto format call in docs
2021-07-22 10:08:50 +02:00
RumovZ
b05c812a55
Switch frontend to use backend links
2021-07-22 10:07:13 +02:00
RumovZ
d8fb6fa8c7
Add links.proto and backend module
2021-07-22 10:05:38 +02:00
RumovZ
059774cc9b
Add links.rs for checking and building links
2021-07-22 10:03:03 +02:00
Damien Elmes
39b2f5d82f
handle notes with missing cards in browser
...
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/30
2021-07-22 14:58:57 +10:00
Damien Elmes
f1c1826e84
fix mypy issue introduced in #1304
2021-07-21 18:00:53 +10:00
Damien Elmes
1ff3b182f6
Merge pull request #1304 from alexgiorev/fix-exporter-flags
...
fix card flag clearance when exporting
2021-07-21 17:54:27 +10:00
Damien Elmes
16731b065f
Merge pull request #1305 from alexgiorev/patch-1
...
Update CONTRIBUTORS
2021-07-21 17:52:42 +10:00
alexgiorev
7dccfc480b
Update CONTRIBUTORS
2021-07-20 12:36:18 +03:00
Damien Elmes
d7eace0b0a
Merge pull request #1302 from hgiesel/hookhandle
...
Catch reviewer hook errors in two ways
2021-07-20 13:55:57 +10:00
Damien Elmes
457664f534
public API comment
2021-07-20 12:07:01 +10:00
Damien Elmes
5631c48451
add a brief architecture file
2021-07-20 11:59:39 +10:00
alex
464adc4aa8
fix card flag clearance when exporting
2021-07-19 22:14:52 +03:00
Damien Elmes
4388ca0a2e
drop Rust Analyzer Bazel rule
...
With proper excludes set up, starting it outside of Bazel is similarly
fast, and unit tests work correctly. It also makes initial Bazel startup
faster, as the Rust sources no longer need to be fetched.
2021-07-19 23:27:11 +10:00
Henrik Giesel
380ba8a5cc
Use new for-loop
2021-07-19 01:34:14 +02:00
Henrik Giesel
07e07aa6da
Catch hook errors in two ways:
...
- try/catch for catching synchronous errors
- Promise.allSettled will allow for rejected promises without fast-failing other promises
2021-07-19 01:23:41 +02:00
Damien Elmes
3712edbfdb
Merge pull request #1298 from RumovZ/fix-completer
...
Fix browser search completer
2021-07-18 09:44:26 +10:00
RumovZ
16e3f2c7f3
Fix browser search completer
...
Adding an empty entry at the top fixes
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/45
and allows for scrolling back to an empty line.
2021-07-17 12:23:19 +02:00
Damien Elmes
7884b5fd59
update translations
2021-07-17 18:30:19 +10:00
Damien Elmes
ef4289b4be
strip invalid Unicode chars in media check
2021-07-17 18:30:19 +10:00
Damien Elmes
4ed0260248
Merge pull request #1297 from hgiesel/browsershortcuts
...
Allow Using Ctrl+Shift+P from Browser when focusing Qt components
2021-07-17 15:18:36 +10:00
Henrik Giesel
f016df00cd
Remove unnecessary lambda
2021-07-17 04:17:28 +02:00
Damien Elmes
2f56b43859
expose _queueAction
...
https://github.com/ankitects/anki/pull/1292#issuecomment-881795577
2021-07-17 12:12:07 +10:00
Henrik Giesel
59f801abc7
Allow Using Ctrl+Shift+P from Browser when focusing Qt components
2021-07-17 03:39:27 +02:00
Damien Elmes
a1f0287d4a
css_browser_selector was logging to the console
2021-07-17 09:25:05 +10:00
Damien Elmes
e80d539f87
keep _updateQA exposed for now, as some add-ons use it
2021-07-17 09:11:05 +10:00
Damien Elmes
c93476512c
Merge pull request #1292 from hgiesel/reviewerplus
...
Move reviewer to ts/reviewer v2
2021-07-17 09:10:14 +10:00
Damien Elmes
83a88d0779
fix comment + copy/paste error
2021-07-17 09:02:14 +10:00
Damien Elmes
09f22e1065
Merge pull request #1296 from hikaru-y/revert-1276-follow-up-preload-images
...
Revert "Follow-up to #1271 (Preload answer images)"
2021-07-17 09:00:24 +10:00
Henrik Giesel
36ebcd8bd8
Allow any in reviewer/index.ts
2021-07-16 17:28:31 +02:00
Henrik Giesel
45fa549540
Add back opacity change
2021-07-16 17:26:04 +02:00
hikaru-y
dc11d7c297
Revert "Follow-up to #1271 (Preload answer images)"
2021-07-16 23:57:49 +09:00
Henrik Giesel
170bc5c25e
Revert to MathJax through script tag
2021-07-16 16:56:57 +02:00
Henrik Giesel
4888f5ee79
Add copyright header
2021-07-16 16:56:57 +02:00
Henrik Giesel
0695638ed8
Satisfy formatter
2021-07-16 16:56:57 +02:00
Henrik Giesel
0bb6f56c74
Satisfy eslint
2021-07-16 16:56:56 +02:00
Henrik Giesel
28e2f62793
Remove protobuf important from reiewer (no longer necessary (?))
2021-07-16 16:56:56 +02:00
Henrik Giesel
cb890b849b
Do not set opacity to 0 in reviewer
2021-07-16 16:56:56 +02:00