Commit graph

12150 commits

Author SHA1 Message Date
Junia Mannervik
06f5639195
Merge 8ec68182af into 62252f7216 2025-12-17 05:54:34 +08:00
Luc Mcgrady
62252f7216
Fix/Retrievability SQL (#4424)
* Fix/SQL Retrievability Underflow

* Added: Reminder

* ./check

* Apply code diff changes

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* Slight cleanup

* fix bug again

* extra label comment

* Update rslib/src/storage/sqlite.rs

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>

* Fix: Ignore new cards

* use const

---------

Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-16 19:51:13 +03:00
llama
a245f8ce61
fix(build): treat proto/i18n's implicit outputs as inputs (#4439)
* fix(build): make proto/i18n's implicit outputs explicit

* use option_env! instead of rerun-if-env-changed

> As of 1.46, using env! and option_env! in source code will automatically detect changes and trigger rebuilds.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-env-changed

* ditto for STRINGS_PY and STRINGS_TS

* fix comment

* remove space
2025-12-16 19:38:18 +03:00
GithubAnon0000
4c7b343231
CHANGE: use minus sign instead of hyphen (#4437) 2025-12-16 19:26:43 +03:00
Lee Doughty
4e8c992be1
fix: prevent <br> from appearing as text in error message (#4451)
* Update error text format to use RichText rather than PlainText

* Set CardTypeError messages as rich text to allow HTML formatting

* Use CardTypeError from anki.errors module
2025-12-16 19:23:40 +03:00
llama
cb7a8dbc10
fix(ci): bump cargo-deny to 0.18.6 (#4447) 2025-12-16 19:22:18 +03:00
llama
26751f2207
fix(io): remove incorrect error toast shown when saving twice (#4458) 2025-12-15 19:09:51 +03:00
junlu592
8ec68182af small review changes 2025-12-14 12:17:38 +01:00
junlu592
d1f0ef6dfe suggested changes to minimize difference from main 2025-12-14 10:56:04 +01:00
junlu592
e14c8bf98d merged commits from git 2025-12-12 14:43:18 +01:00
junlu592
d00dc07613 adjusted last bin labeling with xmin 2025-12-12 14:38:23 +01:00
Junia Mannervik
7a883600ab
Update ts/routes/graphs/reviews.ts
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-11 21:48:02 +01:00
Junia Mannervik
d737f5da72
Update ts/routes/graphs/reviews.ts
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
2025-12-11 21:47:21 +01:00
junlu592
ce9b087190 corrections from ninja check 2025-12-10 12:52:56 +01:00
junlu592
8ab9e54a62 bin merging logic removed, since totals are correctly calculated anyways 2025-12-10 12:49:40 +01:00
junlu592
722c5a58a5 added comments to review.ts 2025-12-10 10:50:30 +01:00
junlu592
bc6bd05fee ninja check fix, let -> const and removed empty line 2025-12-09 15:01:31 +01:00
junlu592
a2be2b964f fixed even bin sizes (0-4 days and 360-364 days) for year review graph 2025-12-09 14:56:30 +01:00
junlu592
6e341d5e07 fixed labels for bins, and made sure year is 365 days 2025-12-09 13:17:59 +01:00
junlu592
0c2c5c6a1c simplified code in time.ts and review.rs and pass bin boundaries directly to time.ts 2025-12-02 16:28:00 +01:00
junlu592
c457b43a87 reverted unneccessary changes to xMax 2025-12-02 12:18:46 +01:00
junlu592
002b39e89d removed a whitespace 2025-12-02 11:54:05 +01:00
junlu592
8135bc24ee changed xMax, so today is included in month and 3months 2025-12-02 11:53:04 +01:00
junlu592
17c63491d9 Merge remote-tracking branch 'origin/main' into overlapping-ranges-fix 2025-12-02 11:40:39 +01:00
junlu592
6ebe80775e reviewed code and simplified functions in review.ts 2025-12-02 11:29:32 +01:00
Lee Doughty
2d4de33cf3
Ensure trailing spaces are placed outside cloze deletions (#4446) 2025-12-01 21:54:46 +03:00
junlu592
30d3ab1b9a reverted changes made to unrelated files 2025-12-01 18:29:58 +01:00
junlu592
9ff49ce111 fixed structure for ninja checks 2025-12-01 13:21:02 +01:00
junlu592
8a8f07c3c3 bin labels and totals correct for year, review 2025-12-01 13:16:47 +01:00
junlu592
2da59a4768 fixed formating for ninja testing 2025-12-01 12:59:10 +01:00
junlu592
2db3aed716 Fix reviews graph: correct Year range to 365 days 2025-12-01 12:55:16 +01:00
Junia Mannervik
5bf5987ccd
Merge branch 'main' into overlapping-ranges-fix 2025-11-27 16:29:13 +01:00
junlu592
e3546ea496 modified youngest bar in reviews to include today aswell 2025-11-21 15:32:16 +01:00
junlu592
a3fc69fe89 oldest bin width modified to match other bins in reviews.ts 2025-11-21 12:52:51 +01:00
junlu592
7692ca6580 reverted changes in calendar.ts 2025-11-21 12:18:43 +01:00
junlu592
e6ed5f6d8d reverted changes in time.ts 2025-11-21 12:17:37 +01:00
llama
5614d20bed
fix(Import): case-fold media filenames when checking uniqueness (#4435)
* add wrapper struct with case-folding get impl

* use wrapper struct

* restrict case-folding to windows

* Revert "restrict case-folding to windows"

This reverts commit aad01d904f.

* case-fold filenames for newly added media

* add test

* fix incorrect comment
2025-11-20 18:43:14 +03:00
junlu592
b674bd142c Merge branch 'overlapping-ranges-fix' of github.com:JMannervik/anki into overlapping-ranges-fix 2025-11-20 14:12:21 +01:00
junlu592
d0cffd915d fix statistics calendar and review graph range labeling and removed earlier changes 2025-11-20 14:10:58 +01:00
junlu592
a71203c6f1 Fixed overlapping ranges when all history is selected and days calcolation to prevent overlapping labels 2025-11-20 14:09:47 +01:00
junlu592
26e5ae2f67 update graph so that the tooltip day label uses integer day boundaries
and removed earlier fix which didnt work
2025-11-20 14:08:34 +01:00
junlu592
14b88a6f2c Merge branch 'overlapping-ranges-fix' of github.com:JMannervik/anki into overlapping-ranges-fix 2025-11-20 13:47:01 +01:00
llama
9ccce95624 fix(import): support variable field count with notetype column (#4421) 2025-11-20 13:44:20 +01:00
junlu592
e013ee61b5 update graph so that the tooltip day label uses integer day boundaries 2025-11-20 13:42:53 +01:00
Junia Mannervik
1e5ec16aed
Merge branch 'main' into overlapping-ranges-fix 2025-11-20 13:24:11 +01:00
junlu592
e4c6e082f0 fix statistics calendar and review grapgh range labeling 2025-11-20 13:20:40 +01:00
llama
dda192f24c
fix(import): support variable field count with notetype column (#4421) 2025-11-19 22:48:14 +03:00
junlu592
0abac06c39 Fixed overlapping ranges when all history is selected and days calcolation to prevent overlapping labels 2025-11-15 12:51:21 +01:00
Lee Doughty
9facea0a66
feat(tts): fallback to Apple Samantha voice for TTS on macOS (#4420)
* Fallback to Apple Samantha voice for en_US TTS on macOS

* Use prefix match for Apple Samantha voice fallback
2025-11-12 22:55:47 +03:00
Nechaiter
c2fddcaf42
Fix FindDuplicates dialog size exceeding screen bounds (#4426) 2025-11-10 16:18:57 +03:00