Commit graph

8223 commits

Author SHA1 Message Date
Damien Elmes
7513f9789f export jQuery, not just $
https://github.com/ankitects/anki/pull/1314#issuecomment-889597619
2021-07-30 18:30:37 +10:00
Damien Elmes
b5acef3520 update translations 2021-07-30 18:28:19 +10:00
Damien Elmes
3dc7bd6051 fix study deck->add deck->cancel 2021-07-30 11:35:55 +10:00
Damien Elmes
bb0d14e799 update translations 2021-07-30 10:27:08 +10:00
Damien Elmes
d511f2bd18 Merge pull request #1314 from hgiesel/fixjqueryreviewer
Export jquery correctly
2021-07-29 23:26:05 +10:00
Henrik Giesel
652e4e6368 Export jquery correctly 2021-07-29 15:18:51 +02:00
Damien Elmes
3ba34a8bea Merge pull request #1313 from RumovZ/template-checks
Template checks
2021-07-29 16:36:50 +10:00
RumovZ
a5f9dfbc87 Use existing 'no such field' tr string 2021-07-29 08:30:49 +02:00
RumovZ
4fc3670e1a Allow duplicate templates if {{Card}} is used 2021-07-28 22:32:38 +02:00
RumovZ
db7916fa11 Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
RumovZ
fcd8ef9763 Find template errors hidden by conditionals 2021-07-28 12:13:14 +02:00
RumovZ
4da4ca5c57 Check for invalid conditionals on templates 2021-07-28 11:53:31 +02:00
Damien Elmes
83a4e510da Merge pull request #1312 from hgiesel/smalleditorrefactors
Use :host instead of :host-context
2021-07-28 13:19:04 +10:00
Damien Elmes
cd784dd652 show warning when trying to indent plain text
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/55
2021-07-28 12:18:04 +10:00
Damien Elmes
8e48722cf0 prevent hiding of sidebar
https://forums.ankiweb.net/t/browser-format-issues/11504/10
2021-07-28 11:14:09 +10:00
Damien Elmes
e3b970961f add reviewer_extras.js back 2021-07-27 15:13:39 +10:00
Damien Elmes
b44349b670 update translations 2021-07-27 13:03:13 +10:00
Henrik Giesel
f682cdf755 Use :host instead of :host-context 2021-07-26 16:06:50 +02:00
Damien Elmes
7749675624 reload card if there are registered hooks
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/54
2021-07-26 20:48:30 +10:00
Damien Elmes
afaf89a824 Merge pull request #1310 from hgiesel/textcolor
Fixes regarding text color buttons
2021-07-26 15:28:25 +10:00
Henrik Giesel
8335f81396 Use event object in createShortcut, fix F8 for highlight 2021-07-26 06:15:30 +02:00
Henrik Giesel
78f3aff987 Rename to text color and text color highlight 2021-07-26 05:28:28 +02:00
Damien Elmes
ed409233d4 Merge pull request #1303 from Arthur-Milchior/paste_post_hook
Add a hook to execute after pasting in a field
2021-07-26 11:01:29 +10:00
Damien Elmes
fa72de641d Merge pull request #1309 from RumovZ/fix-importing
Fix importing when current deck is filtered
2021-07-26 10:59:58 +10:00
RumovZ
04b8faf214 Skip order check for filtered decks 2021-07-25 09:23:05 +02:00
RumovZ
67ecb3dfc3 Prevent DeckChooser from setting filtered deck 2021-07-25 08:54:39 +02:00
Arthur Milchior
283198f93c Add a hook to execute after pasting in a field
I expect to use it to ensure that images are resizable after they get pasted in a field
2021-07-25 01:53:25 +02:00
Damien Elmes
6c4b74e565 fix ugly js confirm box
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/2
2021-07-24 22:04:06 +10:00
Damien Elmes
8696cb2f85 update translations 2021-07-24 21:47:41 +10:00
Damien Elmes
e43f2b23cc clarify deck description message
+ drop the reference to overview screen
2021-07-24 21:45:09 +10:00
Damien Elmes
b158cd4e1f drop traceback in importing error message 2021-07-24 20:05:32 +10:00
Damien Elmes
9a2d8cc5f0 fix reqwest build on Linux again 2021-07-24 10:18:09 +10:00
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