Abdo
442ddb085a
Fix UI hanging with empty context menu ( #3553 )
2024-11-05 17:49:48 +03:00
Damien Elmes
898c91284b
Update translations
2024-11-05 18:30:29 +10:00
Damien Elmes
9986ee54fd
Latest waitress CVE
2024-11-05 18:30:08 +10:00
Abdo
43d9b00b85
Remove legacy import option ( #3536 )
...
* Remove legacy import option
* Always return False in legacy_import_export()
2024-11-05 18:25:06 +10:00
Abdo
7629a1b76f
Fix flaky tests ( #3541 )
...
* Fix flaky state_application() test
* Try to fix flaky unicode_normalization() test
2024-11-05 18:23:50 +10:00
Jarrett Ye
0fa9e0ef51
Feat/align FSRS-rs with PyTorch Implementation ( #3540 )
...
* Feat/align FSRS-rs with PyTorch Implementation
* Update to FSRS-rs v1.4.2
fix https://forums.ankiweb.net/t/anki-24-10-release-candidate/51191/37?u=l.m.sherlock
* Update to FSRS-rs v1.4.3
improve performance: https://github.com/open-spaced-repetition/fsrs-rs/pull/252
2024-11-05 18:20:28 +10:00
Ben Nguyen
8b84583433
Enable strict_optional for aqt/clayout, changenotetype, fields ( #3544 )
...
* Enable strict_optional for clayout
* Fix mypy errors
* Enable strict_optional for changenotetype
* Fix mypy errors
* Enable strict_optional for fields
* Fix mypy errors
2024-10-30 13:40:40 +03:00
Ben Nguyen
a25edecc88
Enable strict_optional for aqt/studydeck, tts, mediasrv ( #3542 )
...
* Enable strict_optional for studydeck
* Fix mypy errors
* Enable strict_optional for tts
* Fix mypy errors in tts
* Enable strict_optional for mediasrv
* Fix mypy errors in mediasrv
2024-10-29 12:05:54 +03:00
Ben Nguyen
7f58ca213c
Enable strict_optional for aqt/modelchooser.py ( #3539 )
...
* Enable strict_optional
* Fix mypy errors
2024-10-28 14:19:31 +10:00
Ben Nguyen
fbd53726cc
Enable strict_optional for aqt/deckdescription.py ( #3538 )
...
* Enable strict_optional
* Fix mypy errors
2024-10-28 14:18:16 +10:00
Ben Nguyen
2889299670
Enable strict_optional for aqt/deckbrowser.py ( #3537 )
...
* Enable strict_optional
* Fix mypy errors
2024-10-28 14:16:42 +10:00
Jarrett Ye
0ce907fe5b
Fix/buried new cards shouldn't be counted in daily load ( #3530 )
...
* Fix/buried new cards shouldn't be counted in daily load
* exclude new cards by its type
* ./ninja format
2024-10-28 14:10:10 +10:00
Abdo
8ebb274ff2
Merge pull request #3535 from bpnguyen107/aqt-strict-optional-taglimit
...
Enable strict_optional for aqt/taglimit.py
2024-10-27 17:12:48 +03:00
Abdo
a240de2652
Merge branch 'main' into aqt-strict-optional-taglimit
2024-10-27 17:10:21 +03:00
Abdo
d735b4cf00
Merge pull request #3533 from bpnguyen107/aqt-strict-optional-overview
...
Enable strict_optional for aqt/overview.py
2024-10-27 17:08:57 +03:00
Abdo
677664dea3
Merge branch 'main' into aqt-strict-optional-overview
2024-10-27 17:06:58 +03:00
Abdo
70eade0b8f
Merge pull request #3534 from bpnguyen107/aqt-strict-optional-customstudy
...
Enable strict_optional for aqt/customstudy.py
2024-10-27 17:04:07 +03:00
bpnguyen107
d7ed0fee16
Fix mypy errors
2024-10-26 19:33:04 -07:00
bpnguyen107
98c62ab75f
Enable strict_optional
2024-10-26 19:27:00 -07:00
bpnguyen107
c02f234ce0
Fix mypy errors
2024-10-26 19:19:20 -07:00
bpnguyen107
8189255b34
Enable strict_optional
2024-10-26 19:17:25 -07:00
bpnguyen107
364a1ada00
Fix mypy errors
2024-10-26 19:07:43 -07:00
bpnguyen107
9f002491a4
Enable strict_optional for aqt/overview.py
2024-10-26 19:07:35 -07:00
Damien Elmes
8d9251e7e5
Remove FSRS client warning
...
https://forums.ankiweb.net/t/anki-24-10-beta/49989/290
2024-10-26 20:38:05 +10:00
Damien Elmes
1fb4430913
Fix due date showing incorrectly in filtered deck
...
Regressed in #3471
Closes #3515
2024-10-26 20:13:24 +10:00
Damien Elmes
1bf10ded79
Update translations
2024-10-26 20:03:04 +10:00
Damien Elmes
5e6e19a781
Rust 1.82
2024-10-26 20:02:53 +10:00
a.r
0513940305
template_filters: make {{type:}} forwards compatible ( #3525 )
...
Make Anki treat {{type:unknown:field}} field replacements as {{type:field}} instead of {{field}}.
The previous behavior was seriously inconvenient for several reasons, including:
* Updated client aren't all released at the same time, causing an unavoidable mismatch period. Now it causes the least friction.
* Devs couldn't readily test new in-dev variants without breaking/inconveniencing their own mobile experience.
* Some users will have (potentially perpetually) outdated Anki clients and likely complain, wasting both dev & deck creator time.
This way users always get to type and especially: The front side will always render as intended.
2024-10-26 19:58:52 +10:00
Ben Nguyen
e4eaaa57ab
Enable strict_optional for aqt/importing.py ( #3527 )
...
* Enable strict_optional
* Fix mypy errors
2024-10-26 19:56:34 +10:00
Damien Elmes
97b729c5d4
Fix another non reactive property warning
...
I waited for the PR check to pass first, but it failed to catch this,
presumably as newly-added files don't trigger the existing checks to
re-run.
2024-10-26 19:48:48 +10:00
Jarrett Ye
eacd5bf908
Feat/add a toggle in the simulator to display time or review count ( #3523 )
...
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2024-10-26 19:42:57 +10:00
Jarrett Ye
1aa734ad28
Fix/set default easyDaysPercentages when switch preset ( #3526 )
2024-10-26 19:38:37 +10:00
Jarrett Ye
9a44881121
export revlogs where the rating is between 1 and 4 for research ( #3524 )
2024-10-26 19:38:17 +10:00
Jarrett Ye
5caeac530e
Update to FSRS-rs v1.3.5 (FSRS-5 model update) && keep three decimals for stability ( #3520 )
...
* Update to FSRS-rs v1.3.5 (FSRS-5 model update)
* keep three decimals for stability
fix https://forums.ankiweb.net/t/fsrs-5-1d-scheduling-and-learning-steps/50242/122?u=l.m.sherlock
2024-10-26 19:36:27 +10:00
Ben Nguyen
507050c876
Enable strict_optional for aqt/preferences.py ( #3519 )
...
* Enable strict_optional for aqt/preferences.py
* Fix mypy errors
2024-10-26 19:33:53 +10:00
Jarrett Ye
939cc5a268
Fix/skip suspended cards in graphs context retrievability ( #3518 )
...
* skip suspended cards in GraphsContext retrievability
* avoid i32 overflow
* avoid u32 overflow
2024-10-26 19:09:20 +10:00
user1823
7500beaba3
Fix calculation of daily load ( #3516 )
...
* Fix calculation of daily load
* Daily load in reviews/day
2024-10-26 19:05:01 +10:00
Damien Elmes
fe0f5370b0
Revert "Fix ease button alignment ( #3474 )" ( #3522 )
...
This reverts commit 569a4705e7
.
2024-10-26 18:50:02 +10:00
Damien Elmes
7e9da83d2c
Update vitest and unpin vite
2024-10-26 18:41:59 +10:00
Damien Elmes
9649bbdcaa
Force cookie update for CVE
...
Sveltekit won't update until 3.0
https://github.com/sveltejs/kit/pull/12768
2024-10-26 18:27:10 +10:00
Damien Elmes
014620ab65
Update to stable Svelte 5 release ( #3513 )
...
* Update to stable Svelte 5 release
This causes a bunch of warnings to be omitted:
ts/routes/graphs/RangeBox.svelte:52:18
Warn: Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update (svelte)
break;
case RevlogRange.All:
$days = 0;
They are triggered on enum references, and it appears to be a bug.
May need to report it to Svelte?
* Deps update
* Silence spurious errors + fix a real one
https://github.com/sveltejs/svelte/issues/13811
2024-10-26 18:21:45 +10:00
Damien Elmes
a9ebf842ea
werkzeug CVE
2024-10-26 18:06:27 +10:00
Damien Elmes
2eee54ef41
Add missing translation
...
https://forums.ankiweb.net/t/translation-not-working-for-days-to-simulate/50992/2
2024-10-22 23:58:24 +10:00
Damien Elmes
31fe7f2c89
Fix error when exporting from empty cards screen
...
https://forums.ankiweb.net/t/bug-copy-debug-info-button-crashes-anki-24-04-and-24-06-3/50852
2024-10-22 23:24:27 +10:00
Damien Elmes
23b7d63659
Update translations
2024-10-21 18:48:37 +10:00
Damien Elmes
6adbd922f7
Rename remaining 'weights' references to 'params'
2024-10-21 18:13:23 +10:00
Damien Elmes
c45fa518d2
Use separate field to store FSRS params
...
Will allow the user to keep using old params with older clients
2024-10-21 18:13:23 +10:00
Jarrett Ye
26ae51fafd
Create a new kind of revlog entry for reschedule cards on change ( #3508 )
...
* create a new kind of revlog entry for Reschedule cards on change
* add comments
* exclude the rescheduled case in reviews graph
2024-10-21 16:47:01 +10:00
Damien Elmes
30e734b925
Bump Rust deps
...
Primarily for prost, which had incompatible changes
2024-10-21 15:34:04 +10:00
sorata
84b6d20e1d
change sort order name ( #3510 )
2024-10-21 15:20:45 +10:00