Sunong2008
ccc9d9027a
Delay retention workload info display after FSRS optimization alerts ( #4066 )
...
* Update FsrsOptions.svelte
* Update CONTRIBUTORS
* Make it full width too, so it doesn't resize when transitioning past 90
* Make sure the Warning appears after the alert
* Update FsrsOptions.svelte
* Update FsrsOptions.svelte
* Update FsrsOptions.svelte
2025-06-11 13:01:47 +07:00
Abdo
99396e5811
Start work on copy & paste handling
2025-06-09 18:04:57 +03:00
Jarrett Ye
ce6497cd2b
Fix/remove the lower limit of interval when set due date ( #4063 )
...
* Fix/remove the lower limit of interval when set due date
* don't affect SM-2
* Apply patch from user1823
* Fix build
* More suggestions from user1823
2025-06-08 15:36:32 +07:00
sorata
e5d34fbb18
Update default styles ( #4060 )
...
* add margin for hr
* add line height to default styles
* update my email
* change margin to 1em
2025-06-08 11:24:46 +07:00
Abdo
545d3dbfed
Move IO/cloze button toggles
2025-06-08 05:46:31 +03:00
Damien Elmes
c1fc45928d
Bump version
2025-06-06 14:05:33 +07:00
Damien Elmes
e66bbc62ec
Update translations
2025-06-06 13:20:08 +07:00
Damien Elmes
2427743751
Formatting fix
...
I have checks running on push, but must have confused the build system
by modifying the file at the wrong time.
2025-06-06 13:19:47 +07:00
Damien Elmes
933d63545a
Stop collapsing reschedule entries
...
Closes #3316
2025-06-06 13:13:48 +07:00
Damien Elmes
50b7588231
Treat play_file() and co as internal routines without protection ( #4059 )
...
* Treat play_file() and co as internal routines without protection
Our code and add-ons need a way to play audio from arbitrary locations. I propose we treat the _tag API as suitable for user input, and the _file API for internal use.
* Mention basename in the *_file() paths
2025-06-06 12:55:04 +07:00
Luc Mcgrady
55ecbc1125
Feat/Health check ( #4047 )
...
* Message on low log loss
* make console.log permanent
* Added: Health check option
* disable button
* change health check conditions
* i18n
* ./check
* Apply suggestions from code review
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* delete shadowed fsrs
* Update ts/routes/deck-options/FsrsOptions.svelte
Co-authored-by: llama <gh@siid.sh>
* Update ftl/core/deck-config.ftl
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* anon's suggestions
* snake_case
* capital slow
* make global
* on by default
* Adjusted loss values
* Show message on pass
* ./check
* ComputeParamsRequest
* update coefficients
* update thresholds
* fix thresholds
* Apply suggestions from code review
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
Co-authored-by: llama <gh@siid.sh>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-06-06 12:43:33 +07:00
Jarrett Ye
8add993fca
improve the accuracy of the expected workload calculation ( #4056 )
...
* improve the accuracy of the expected workload calculation
* ./ninja fix:minilints
* implement smoothing & a separate struct for return value
* set TERMINATION_PROB to 0.001
2025-06-04 18:20:12 +07:00
Ren Tatsumoto
3ab8c2294d
Restore ability for add-ons to provide full paths to media ( #4054 )
...
* fix #4053
* check if file exist
AJT Japanese needs to play files stored in all possible locations on disk
* check absolute path
* add comment
* check if passed name is basename
* Add a security note to reduce the chance of a regression
* Tweak comment in the non-add-on case
2025-06-04 18:11:37 +07:00
Ren Tatsumoto
29e3146e1f
trim file to basename before creating SoundOrVideoTag ( #4057 )
...
* trim file to basename before creating SoundOrVideoTag
* add import
2025-06-04 18:03:14 +07:00
llama
996fa8bcb0
add answer key shortcuts to grade now dialog ( #4055 )
2025-06-04 12:15:33 +07:00
llama
174b199164
Add IO mask colour fill tool ( #4048 )
...
* add fill tool
* add fill tool logic
* open colour picker on fill tool activation
* refactor/add fill attr to io clozes
* fill masks in editor
* fill text and inactive masks in reviewer
* fix lint
* remove debug option
2025-06-04 11:45:34 +07:00
GithubAnon0000
27c1ed1899
FIX diacrititcs being cutoff in input card templates ( #4049 )
2025-06-03 16:27:32 +07:00
Luc Mcgrady
bbac90d97d
Fix/Invalid parameter counts saveable ( #4052 )
...
* Add frontend check for parameters
* Fix backend
* ./check
* Fix: Wrong type
2025-06-03 16:27:04 +07:00
Expertium
4e928fd7ca
Optimize All -> Optimize All Presets ( #4050 )
2025-06-03 16:23:35 +07:00
Jarrett Ye
2de0c79ba5
Feat/evaluate FSRS with time series split ( #3962 )
2025-06-03 15:26:33 +07:00
Damien Elmes
37984233cc
Restore cert error check
...
https://forums.ankiweb.net/t/bug-unknown-error-on-startup-anki-25-02/61232/3
2025-06-02 16:52:09 +07:00
Luc Mcgrady
a99beb71fe
Feat/Card ID special field ( #4046 )
...
* Feat/Card ID special field
* remove clone
2025-06-02 16:35:13 +07:00
Abdo
07d3b6d2b5
Fix lint errors
2025-06-02 06:14:15 +03:00
Abdo
05360e2d19
Add a temporary workaround for addcards
2025-06-02 06:04:17 +03:00
Abdo
b3aa8e93f3
Remove legacy routines moved to JS
2025-06-02 04:21:23 +03:00
Abdo
795aef09ee
Move fields_check()
2025-06-02 03:59:29 +03:00
Abdo
8391761bc2
Move showDupes()
2025-06-02 03:42:23 +03:00
Abdo
0966cd4552
Move setupMaskEditor() calls
2025-06-02 02:59:24 +03:00
Abdo
b13a1d1639
Merge branch 'main' into editor-3830
2025-06-02 02:41:47 +03:00
Luc Mcgrady
06c0e4c14a
Fix/CMRR style ( #4043 )
2025-06-01 13:18:35 +07:00
Damien Elmes
f81a9bfdfb
Fix mpv being left around on abrupt termination ( #4042 )
...
Closes #4015
2025-06-01 13:16:28 +07:00
Damien Elmes
96ff27d1fb
Ensure media files are passed relative to the media folder ( #4041 )
...
We were (partially) doing this for MpvManager, but not for
Windows' SimpleMpvPlayer. By passing a media file starting
with a special scheme, a malicious actor could have caused a file to
be written to the filesystem on Windows.
Thanks once again to Michael Lappas for the report.
2025-06-01 13:16:04 +07:00
Damien Elmes
757247d424
Use more secure API key
...
https://github.com/ankitects/anki/pull/3925#discussion_r2051494659
2025-05-31 16:01:03 +07:00
Damien Elmes
6cdebd7638
Fix inverted margin logic
...
https://github.com/ankitects/anki/pull/4040#issuecomment-2921626962
2025-05-30 22:48:31 +07:00
Abdo
79f803c4e7
Use orjson helpers
2025-05-30 10:52:55 +03:00
llama
f9f0894162
Add left margin to browser when sidebar is closed ( #4040 )
...
* add left margin to browser when sidebar is closed
* listen for event instead of explicit user action
* refresh sidebar on visibility change
* Add a margin on macOS even when not collapsed
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-05-30 13:35:06 +07:00
Abdo
14b8a8ad0d
Fix new card sort order not reacting to changes in gather order ( #4039 )
2025-05-30 13:05:36 +07:00
Marvin Kopf
7a8b4a193f
offload mpv callback registration to background thread to avoid UI blocking ( #4038 )
...
Instantiating `MPV(MPVBase)` triggers multiple synchronous `command()` calls to the mpv process during callback registration. These calls block the main thread and degrade startup performance. This change defers registration via `taskman.run_in_background`.
2025-05-30 13:05:06 +07:00
Abdo
7dbbbad914
Fix lint errors
2025-05-28 16:51:29 +03:00
Abdo
2ee708f9d9
Formatting
2025-05-28 11:41:15 +03:00
Abdo
a45add60df
Move setCloseHTMLTags()
2025-05-28 11:40:45 +03:00
Abdo
4ab3970cd6
Move setShrinkImages()
2025-05-28 11:38:05 +03:00
Abdo
0198a58a1c
Fix wrong exception being catched in get_config_json()
2025-05-28 11:37:46 +03:00
Abdo
544b5f54d7
Move setMathjaxEnabled()
2025-05-28 11:28:36 +03:00
Abdo
15cbbeea24
Move setTagsCollapsed()
2025-05-28 10:35:43 +03:00
Abdo
51fcb86521
Fix color hint not changing
...
Due to IDs such as `mdi-color-helper` being removed.
2025-05-28 09:39:51 +03:00
Abdo
9395b89b92
Move setColorButtons()
2025-05-28 09:25:47 +03:00
Abdo
3ae7484610
Merge branch 'main' into editor-3830
2025-05-28 06:40:53 +03:00
Abdo
423393107d
Move fontMungeHack()
2025-05-28 06:36:40 +03:00
Luc Mcgrady
f29bcb743b
Feat/Desired retention warning improvements ( #3995 )
...
* Feat/90% desired retention warning
* Update ftl/core/deck-config.ftl
* show on newly enabled
* Show warning on focus
* Never hide warning
* Display relative change
* Add: Separate warning for too long and short
* Revert unchanged text changes
* interval -> workload
* Remove dead code
* fsrs-rs/@L-M-Sherlock's workload calculation
* Added: delay
* CONSTANT_CASE
* Fix: optimized state
* Removed "Processing"
* Remove dead code
* 1 digit precision
* bump fsrs-rs
* typo
* Apply suggestions from code review
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* Improve rounding
* improve comment
* rounding <1%
* decrease rounding precision
* bump ts-fsrs
* use actual cost values
* ./check
* typo
* include relearning
* change factor wording
* simplify sql
* ./check
* Apply suggestions from code review
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
* Fix: missing search_cids
* @dae's style patch
* Fix: Doesn't update on arrow keys change
* force two lines
* center two lines
---------
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-05-27 13:07:21 +10:00