Damien Elmes
23356304fc
fix mypy issue introduced in #1304
2021-07-21 18:00:53 +10:00
Damien Elmes
517dd5b019
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
063284c625
Merge pull request #1305 from alexgiorev/patch-1
...
Update CONTRIBUTORS
2021-07-21 17:52:42 +10:00
alexgiorev
01498fbc97
Update CONTRIBUTORS
2021-07-20 12:36:18 +03:00
Damien Elmes
b61e90e995
Merge pull request #1302 from hgiesel/hookhandle
...
Catch reviewer hook errors in two ways
2021-07-20 13:55:57 +10:00
Damien Elmes
fe5845266b
public API comment
2021-07-20 12:07:01 +10:00
Damien Elmes
ecd207bf26
add a brief architecture file
2021-07-20 11:59:39 +10:00
alex
6c944c4318
fix card flag clearance when exporting
2021-07-19 22:14:52 +03:00
Damien Elmes
fc0035306c
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
b3a7a4ac3d
Use new for-loop
2021-07-19 01:34:14 +02:00
Henrik Giesel
eb4550d2d5
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
bbddc79da4
Merge pull request #1298 from RumovZ/fix-completer
...
Fix browser search completer
2021-07-18 09:44:26 +10:00
RumovZ
0d45df8551
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
99e3ad7690
update translations
2021-07-17 18:30:19 +10:00
Damien Elmes
c944dd048e
strip invalid Unicode chars in media check
2021-07-17 18:30:19 +10:00
Damien Elmes
cba0735c59
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
22e735266e
Remove unnecessary lambda
2021-07-17 04:17:28 +02:00
Damien Elmes
033856c422
expose _queueAction
...
https://github.com/ankitects/anki/pull/1292#issuecomment-881795577
2021-07-17 12:12:07 +10:00
Henrik Giesel
fb56576e36
Allow Using Ctrl+Shift+P from Browser when focusing Qt components
2021-07-17 03:39:27 +02:00
Damien Elmes
1209cd115a
css_browser_selector was logging to the console
2021-07-17 09:25:05 +10:00
Damien Elmes
4861495b49
keep _updateQA exposed for now, as some add-ons use it
2021-07-17 09:11:05 +10:00
Damien Elmes
ce5f9bb9b0
Merge pull request #1292 from hgiesel/reviewerplus
...
Move reviewer to ts/reviewer v2
2021-07-17 09:10:14 +10:00
Damien Elmes
2f434dd74d
fix comment + copy/paste error
2021-07-17 09:02:14 +10:00
Damien Elmes
459f224c6e
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
1c1181b9e0
Allow any in reviewer/index.ts
2021-07-16 17:28:31 +02:00
Henrik Giesel
f52df75bc2
Add back opacity change
2021-07-16 17:26:04 +02:00
hikaru-y
16a1eb05a2
Revert "Follow-up to #1271 (Preload answer images)"
2021-07-16 23:57:49 +09:00
Henrik Giesel
272f2f7d1a
Revert to MathJax through script tag
2021-07-16 16:56:57 +02:00
Henrik Giesel
a616d0dfbc
Add copyright header
2021-07-16 16:56:57 +02:00
Henrik Giesel
d41530f4cc
Satisfy formatter
2021-07-16 16:56:57 +02:00
Henrik Giesel
ac3577455d
Satisfy eslint
2021-07-16 16:56:56 +02:00
Henrik Giesel
ddf3adfc8e
Remove protobuf important from reiewer (no longer necessary (?))
2021-07-16 16:56:56 +02:00
Henrik Giesel
d6393ba996
Do not set opacity to 0 in reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
05771b7598
Include MathJax over ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
c016f0c8d0
Simplify some reviewer code
2021-07-16 16:56:56 +02:00
Henrik Giesel
ee1a1c35fb
Create reviewer/images.ts
2021-07-16 16:56:56 +02:00
Henrik Giesel
5cbb582d0b
Export jquery via ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
68ac505d81
Include css-browser-selector via ts/reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
f203562c58
Include protobuf in clayout and browser (p)reviewer
2021-07-16 16:56:56 +02:00
Henrik Giesel
afa8f8a6f0
Export getTypedAnswer
2021-07-16 16:56:56 +02:00
Henrik Giesel
af12756980
Move reviewer to ts/reviewer
2021-07-16 16:56:55 +02:00
Damien Elmes
c75fd5086c
Merge pull request #1295 from cyphar/set_due_date-use-deck-ease
...
scheduler: use deck config's initial ease in set_due_date
2021-07-16 18:12:21 +10:00
Aleksa Sarai
d7caafe91c
scheduler: use deck config's initial ease in set_due_date
...
Previously we would just use 250% ease for any new card that had no
pre-configured ease, but this will result in decks that have
non-standard ease values to have "set due date" cards in them that don't
match. In order to make this somewhat more efficient, we cache
deckid->ease lookups during this operation.
Ref: <https://forums.ankiweb.net/t/set-due-date-doesnt-obey-default-ease-factor/9184 >
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2021-07-16 12:33:15 +10:00
Damien Elmes
87185d5365
Merge pull request #1288 from evandroforks/clayout_next_card_shortcut
...
Created shortcut to switch between card types on clayout.py
2021-07-16 10:51:40 +10:00
Damien Elmes
96e6e216a7
Merge pull request #1293 from RumovZ/find-and-replace
...
Find & Replace
2021-07-16 10:47:16 +10:00
Damien Elmes
bf507cca98
move from Python's URI escaping to IRI escaping in Rust
...
Should make non-Latin text readable in the HTML editor, without the
breakages reverted in the previous change.
2021-07-16 10:38:00 +10:00
Damien Elmes
e97c381a6f
Revert "stop (un)escaping media filenames"
...
This was flawed - while non-Latin text is now acceptable
in an IRI, we still need to be concerned with reserved characters
such as spaces, and Anki unfortunately has been storing the filenames
in unencoded form in the DB, meaning we must encode them at display
time. We won't be able to move away from this until existing notes
are rewritten, and it will probably require breaking compatibility with
older clients.
https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
This reverts commit 14110add55
.
2021-07-16 10:37:59 +10:00
evandrocoan
85c236a417
Created shortcut to switch between card types on clayout.py
...
editor window (F3 and F4) because it should be simple to use them
single hand and together with Ctrl+1, 2 and 3 combos.
2021-07-15 20:51:08 -03:00
RumovZ
9f777ad009
Remove redundant QueryOp in rename_deck()
2021-07-15 08:56:47 +02:00
Damien Elmes
33afe8aa32
support numpad enter in type answer
...
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/149
regression introduced in f4f0298378
2021-07-15 14:46:39 +10:00