Lukas Sommer
28e9c5a630
Fix URL schemes translation ( #4004 )
2025-05-22 21:24:48 +10:00
llama
31d877f20d
place caret after mathjax element on overlay close event ( #4016 )
2025-05-19 13:43:01 +10:00
dependabot[bot]
150683ebe2
Bump vite from 5.4.18 to 5.4.19 ( #4018 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.18 to 5.4.19.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.19/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.19/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 5.4.19
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 13:38:53 +10:00
Damien Elmes
7b4a7dcf18
Bump flask-cors for latest CVEs
2025-05-19 13:34:59 +10:00
Emmanuel Ferdman
8a61a5470c
Resolve Python regex library warnings ( #4012 )
...
* Resolve Python regex library warnings
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* Add CONTRIBUTORS
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-05-19 13:29:54 +10:00
spiritualfather
63fd1ffbff
upgrade esbuild versions ( #4011 )
...
* upgrade esbuild versions
* Update license file
2025-05-19 13:25:05 +10:00
llama
d667abffd1
Fix searching for non-blank adjacent wildcard fields ( #4009 )
...
* modify collect_ranges to take param on whether to join ranges
* update tests
* update existing call
* fix searching for non-empty wildcard fields
2025-05-19 13:15:23 +10:00
Luc Mcgrady
ed13a351b9
Fix/Prevent manual resize of params input ( #4008 )
2025-05-19 13:10:47 +10:00
sorata
277061498d
update backup restore message ( #4005 )
...
* update backup restore message
* Update ftl/qt/qt-misc.ftl
Co-authored-by: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com>
---------
Co-authored-by: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com>
2025-05-19 13:09:43 +10:00
Lukas Sommer
a402670c4e
Update sync.ftl ( #4003 )
...
* Update sync.ftl
* Update ftl/core/sync.ftl
Improved string by @GithubAnon0000
Co-authored-by: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com>
---------
Co-authored-by: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com>
2025-05-19 10:44:54 +10:00
Damien Elmes
48a0640a07
Revert "feat(scheduler): add from_queue flag to CardAnswer ( #3976 )"
...
This reverts commit 1f95d030bb
.
Buggy: https://github.com/ankitects/anki/pull/3983
2025-05-19 10:26:10 +10:00
Damien Elmes
d3d6bd8ce0
Skip ytdl flag on macOS ARM
...
Fixes sounds failing to play in the packaged build on macOS.
2025-05-15 19:04:26 +10:00
Damien Elmes
1157465844
Update translations
2025-05-15 16:50:08 +10:00
llama
413b73d9f4
fix onNote potentially discarding editor field changes ( #4001 )
2025-05-15 16:48:56 +10:00
llama
97b12b420a
Resize fsrs params input to fit content ( #3999 )
...
* resize param input on value change
* resize on window resize
2025-05-15 16:41:30 +10:00
user1823
8f2c708751
Include reset entries in dataset exported for research ( #3998 )
...
https://github.com/open-spaced-repetition/fsrs4anki-helper/pull/566#issuecomment-2875432135
2025-05-15 16:31:18 +10:00
llama
a2a1f597be
Style the fsrs params input ( #3997 )
...
* style textarea and date inputs
* remove redundant date input styling
2025-05-15 16:30:17 +10:00
llama
4e1a901738
Clarify field separator being a guess when importing csv ( #3996 )
...
* clarify that the initially selected field separator is a guess
* explain why the field seperator setting might be locked
2025-05-15 16:26:51 +10:00
Adnane Taghi
f96c8c2ac8
Make URL schemes dialog more ergonomic ( #4002 )
...
(originally merged into a PR branch)
* Make URL schemes dialog more ergonomic
* add name to contributors list
* Title Case
* Tweak build instructions so Cursor picks them up
* Use a warning icon for the URL scheme pop-up
* Default to cancelling
2025-05-15 16:17:33 +10:00
Kolby Moroz Liebl
6427ff3db5
Fix dockerimage, by bumping rust version ( #3993 )
2025-05-15 16:09:27 +10:00
Damien Elmes
86c89907e7
Add URL scheme whitelist ( #3994 )
...
* Add experimental Cursor rules
* Add the ability to customize URL schemes
Closes #3965
2025-05-15 15:37:49 +10:00
Luc Mcgrady
f7cdf4eb9e
Fix/Leech suspended tooltip ( #3992 )
...
* Fix/Leech suspended popup
* extra check
* Fix: None check
* move comment
2025-05-15 15:14:10 +10:00
GithubAnon0000
f727934a42
CHANGE collection size too large error to add MB values and info about compressed vs. uncompressed. ( #3981 )
...
* CHANGE collection size too large error to add MB values and info about compressed vs. uncompressed
* Round f64 to 2 decimals
* Remove line breaks from ftl/core
* Remove string 'uncompressed' from code
* Add string 'uncompressed' to ftl/core
* Remove if statement change introduced to test changes locally
* Run ./check
2025-05-15 15:08:41 +10:00
GithubAnon0000
37dfbca094
UPDATE answer button graph tooltip to include I) answer button name and II) description of what "correct" means ( #3979 )
...
* ADD name of the button after button number (1 → again...)
* ADD info string to explain what 'correct' means
* Run ./check and make it happy
* Apply suggestion from @dae to make text shorter
2025-05-15 14:54:51 +10:00
llama
1c69333210
don't scale border width along with existing masks ( #3991 )
2025-05-12 01:49:29 +03:00
Damien Elmes
5080451829
Disable YouTube DL in mpv
...
mpv looks for ytdl on the path, which includes the CWD on Windows.
A malicious shared deck could place an executable called yt-dlp.exe in the
media folder, which mpv would then helpfully invoke the first time
a YouTube link was encountered.
A big thank you to Michael Lappas for the report.
2025-05-10 19:31:06 +10:00
llama
c33974f6ab
Fix polygons closing when clicking existing masks while editing IO ( #3990 )
...
* fix polygons closing when clicking existing masks while editing io
* disallow selecting new polygons
* update CONTRIBUTORS
* preserve ids when pushing canvas state to undo stack
* rehandle tool changes after undoing/redoing
the polygon tool makes all objects unselectable, which isn't
preserved when restoring the canvas state after an undo/redo
2025-05-10 16:32:44 +10:00
llama
573f59fab1
Allow rotating IO masks ( #3987 )
...
* Revert "Disable rotation globally"
This reverts commit 22736238c1
.
* alt. impl for hiding rotation marker when selecting/ungrouping
* (de)serialise angles
* rotate masks in reviewer
* update bounds checking
* floats.ts -> lib.ts
* add convenience fns
* store mask angles (deg) in steps of 10000
* update CONTRIBUTORS
2025-05-10 16:21:33 +10:00
llama
5cc44b3f68
Make IO polygon markers centred and transparent ( #3989 )
...
* make polygon markers centred and transparent
* centre active line
* set perPixelTargetFind per object, and not on the canvas
otherwise it can't be overridden for a specific object
see 4c305baae6/src/canvas.class.js (L786)
2025-05-09 00:20:00 +10:00
llama
9025202204
properly construct file url when opening image/folder on linux ( #3986 )
2025-05-08 23:29:46 +10:00
Abdo
80618cad85
Clear notetypes cache on import ( #3969 )
...
* Clear notetypes cache on import
* Clear cache in AnkiQt.on_operation_did_execute() instead
2025-05-08 23:11:47 +10:00
Jarrett Ye
1124a63798
expose decay of Card object in Python ( #3985 )
2025-05-06 23:32:58 +03:00
Damien Elmes
cbb202a46f
Re-run minilints on .md change
...
While trivial updates to our docs don't really need a license
declaration, they were causing CI to fail after merge.
2025-05-05 19:10:13 +10:00
Divyansh Kushwaha
6a07c6e561
docs: correct reference for linux dockerfile ( #3982 )
2025-05-05 18:57:08 +10:00
Luc Mcgrady
e06852a0ed
Fix/SQL retrievability underflow ( #3980 )
...
* Fix/Saturating sub called before u32 conversion
* more
2025-05-05 18:49:12 +10:00
GithubAnon0000
dcc6000f70
Properly align label and radio input in the stats window ( #3977 )
...
* Properly align label and radio input in the stats window
* use margin-inline-end instead of margin-right to support RTL
2025-05-05 18:10:58 +10:00
Damien Elmes
d1bb69aaec
Remove unused import
2025-05-05 18:08:31 +10:00
Abdo
b84f2d7873
Use correct debug scripts folder ( #3973 )
2025-05-05 17:26:04 +10:00
Abdo
0277721280
Fix invalid rust-analyzer option ( #3972 )
2025-05-05 17:25:11 +10:00
Luc Mcgrady
a66f8b2b5f
Fix/Layout shift on CardCounts button hover ( #3971 )
2025-05-05 17:24:34 +10:00
Damien Elmes
c70e9d26c5
Add the ability to hide the forgetting curve from card info
2025-05-05 17:04:15 +10:00
Matt Brubeck
bcb28f0a85
Use first >= 1d interval for starting memory state ( #3959 )
...
When a filtered revlog history begins with one or more < 1d intervals
(for example, because it starts in the middle of a sequence of
relearning steps), use the first >= 1d interval to calculate the initial
memory state.
Bug report thread:
https://forums.ankiweb.net/t/fsrs-stability-when-first-non-ignored-revlog-has-a-relearning-interval/59894
2025-05-05 15:49:06 +10:00
GithubAnon0000
57ecfbe562
REMOVE percentages of x-axis in the answer buttons graph ( #3952 )
...
* Allow linebreak between kind and percentage in answer buttons graph. This is BROKEN!
* FIX: percentage is not below kind
* FIX: y-axis wrongly had percentages
* REMOVE debugging console
* run ./check and fix errors
* REMOVE unused comment (commented out code)
* FIX: Percentage Text is cutoff (this removes transition as well)
* FIX: incorrect alignment
* UPDATE variable names to make them more meaningful
* UNDO removing transition
* REMOVE percentage from x-axis
* Revert "UNDO removing transition"
This reverts commit 2652b16bd7
.
* RESTORE transition in x-axis
2025-05-05 15:37:24 +10:00
Yaoliang Chen
1f95d030bb
feat(scheduler): add from_queue flag to CardAnswer ( #3976 )
...
Co-authored-by: Yaoliang <yaoliang.ch@gmail.com>
2025-05-03 12:21:48 +03:00
Jarrett Ye
bd67e9fe1b
Fix/stability doesn't increase after pressing good ( #3975 )
2025-05-03 12:04:35 +03:00
Jonathan Schoreels
963fcf7c60
Check if self.card.reps>0 before substracing 1 ( #3966 )
...
* Check if self.card.reps>0 before substracing 1
* Fix formatting
* Use a more rust-y way to avoid the Panic for underflow, especially wé're talking seed value
Co-Authored-By: jake <jake@sharnoth.com>
---------
Co-authored-by: jake <jake@sharnoth.com>
2025-04-30 21:53:36 +10:00
sorata
ad12046e87
Improve an Error Message ( #3964 )
...
* improve a string
* Update ftl/core/deck-config.ftl
2025-04-30 21:44:11 +10:00
Matt Brubeck
ef37952ba0
Remove dead code in reviews_for_fsrs ( #3958 )
...
* Clarify logic in reviews_for_fsrs
Prior to this change, the second check of `first_of_last_learn_entries`
was dead code because the first check would always break out of the loop
before it could succeed. Re-order the code for clarity and add a
comment to explain the logic.
* Update CONTRIBUTORS
2025-04-30 21:28:30 +10:00
Jarrett Ye
92cfb7340e
add ellipsis to Grade Now ( #3970 )
...
* add ellipsis to Grade Now
* Revert "add ellipsis to Grade Now"
This reverts commit 8a3cf51c9e
.
* add ellipsis to Grade Now
2025-04-29 16:43:14 +10:00
llama
51b5086b01
Fix unescaped deck names missing from tooltips when deleted ( #3960 )
2025-04-29 02:18:56 +03:00