Al Ali
6ff9452656
Format code with black
2025-06-16 23:20:32 +02:00
Al Ali
d5df8f8d85
Fix import order in overview.py
2025-06-16 23:18:27 +02:00
Al Ali
013afee1c5
Clean up imports and formatting in stats.py
2025-06-16 23:15:47 +02:00
Al Ali
44b5e699ec
Fix import order to match formatting rules
2025-06-16 23:10:19 +02:00
Al Ali
80e49e770f
Fix Python 3.9 compatibility and layout check
2025-06-16 23:05:12 +02:00
Al Ali
b9552f530f
Fix type annotations and layout insert call
2025-06-16 22:58:20 +02:00
Al Ali
2330242efc
Fix import path for anki_helpers and update stats.py
2025-06-16 22:50:17 +02:00
Al Ali
e421d4727c
Fix import path for anki_helpers
2025-06-16 22:48:14 +02:00
Al Ali
270455383d
Fix type annotation for days_dict
2025-06-16 22:09:48 +02:00
Al Ali
8af9eb07c6
Add anki_helpers module with activity.py
2025-06-16 21:29:31 +02:00
Al Ali
2c45175cec
Fix mypy and import errors in overview.py and stats.py
2025-06-16 21:14:08 +02:00
Al Ali
5ecdd310e5
Add streak display to overview window
2025-06-16 20:57:28 +02:00
Al Ali
bf77c0b974
Add streak display to overview window
2025-06-16 20:31:59 +02:00
Al Ali
9cbe27f9db
Add streak display to overview window
2025-06-16 20:11:43 +02:00
Al Ali
64e2ff3cc5
Add streak display to overview window
2025-06-16 18:22:18 +02:00
Jarrett Ye
8c19b1d9af
update to fsrs-rs 4.0.0 ( #4080 )
...
* update to fsrs-rs 4.0.0
* fix ci
* update test
2025-06-14 12:48:33 +07:00
Luc Mcgrady
ed879fa80f
Fix/Missing cardID special field ( #4078 )
2025-06-13 10:47:16 +07:00
sorata
e7a01d688c
use abbr. for days of week ( #4077 )
2025-06-13 10:46:17 +07:00
Abdo
4a71cc9c3d
Ignore TaskManager's on_done callback if collection unloaded ( #4076 )
...
* Ignore TaskManager's on_done callback if collection unloaded
* Check col.db
2025-06-13 10:45:41 +07:00
Luc Mcgrady
ef59603005
Feat/Health check tooltip ( #4068 )
...
* Feat/Health check tooltip
* Update ftl/core/deck-config.ftl
* split deckConfigHealthCheckTooltip
* wording change
* separate "(slow)"
* Add title to health check messages
2025-06-13 10:42:47 +07:00
Damien Elmes
b63ff8f44d
Recreate pyenv if it was created with uv
...
Temporary fix for #4074 breaking normal builds
2025-06-12 12:20:02 +07:00
Damien Elmes
143b8b71d4
Bump requests for CVE
2025-06-11 13:35:03 +07:00
Luc Mcgrady
0802d784d0
Feat/Message at 100% progress for optimize ( #4069 )
2025-06-11 13:31:17 +07:00
sorata
9a4ca3dfd6
style hr element ( #4067 )
2025-06-11 13:02:08 +07:00
Sunong2008
5f67f2baf9
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
Jarrett Ye
fc92bc874a
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
b30a392ca5
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
Damien Elmes
2fadce5625
Bump version
2025-06-06 14:05:33 +07:00
Damien Elmes
f05f34ff86
Update translations
2025-06-06 13:20:08 +07:00
Damien Elmes
c7f9ee98bc
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
65dbe1f734
Stop collapsing reschedule entries
...
Closes #3316
2025-06-06 13:13:48 +07:00
Damien Elmes
fc16f113f2
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
bde9055912
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
21248a1ed0
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
9d00a6c705
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
c35c8e38c7
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
b130e970f1
add answer key shortcuts to grade now dialog ( #4055 )
2025-06-04 12:15:33 +07:00
llama
9c7d06d522
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
679b345971
FIX diacrititcs being cutoff in input card templates ( #4049 )
2025-06-03 16:27:32 +07:00
Luc Mcgrady
7f61090025
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
ab41ceb294
Optimize All -> Optimize All Presets ( #4050 )
2025-06-03 16:23:35 +07:00
Jarrett Ye
c9227c86c5
Feat/evaluate FSRS with time series split ( #3962 )
2025-06-03 15:26:33 +07:00
Damien Elmes
c999811d19
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
9caad10faa
Feat/Card ID special field ( #4046 )
...
* Feat/Card ID special field
* remove clone
2025-06-02 16:35:13 +07:00
Luc Mcgrady
67a8261202
Fix/CMRR style ( #4043 )
2025-06-01 13:18:35 +07:00
Damien Elmes
6b979ddf54
Fix mpv being left around on abrupt termination ( #4042 )
...
Closes #4015
2025-06-01 13:16:28 +07:00
Damien Elmes
ae49989fc3
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
cc8cba6694
Use more secure API key
...
https://github.com/ankitects/anki/pull/3925#discussion_r2051494659
2025-05-31 16:01:03 +07:00
Damien Elmes
a4fbf34ff1
Fix inverted margin logic
...
https://github.com/ankitects/anki/pull/4040#issuecomment-2921626962
2025-05-30 22:48:31 +07:00
llama
3a0160343f
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