Commit graph

12130 commits

Author SHA1 Message Date
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
Luc Mcgrady
5d4b00a11d
Fix/Per deck retention not used when card is moved to filtered deck (#4413)
* Fix/Per deck retention not used for filtered decks

* improve error

* Perf: prevent double "home_deck" read

* Perf: prevent duplicate database read when home deck
2025-11-10 16:03:53 +03:00
Luc Mcgrady
dac26ce671
Fix/Exclude BackendFrontendService from write_python_interface (#4410)
* Fix/Missing python import in write_header

* Revert "Fix/Missing python import in write_header"

This reverts commit 7c736d984d.

* exclude BackendFrontendService

---------

Co-authored-by: Abdo <abdo@abdnh.net>
2025-10-29 20:15:56 +03:00
jariji
da5b8cb5b4
Show text on occlusion cards regardless of occludeInactive (#4387)
* Show text on occlusion cards regardless of `occludeInactive`.

Before this change, on an image occlusion card, a text box was visible
during editing but not visible during review. This change makes text
visible even if other shapes would be hidden.

* Move fix to render_image_occlusion()

---------

Co-authored-by: jariji <jariji>
Co-authored-by: Abdo <abdo@abdnh.net>
2025-10-29 08:51:55 +03:00
llama
739e41ce16
fix(launcher): apply cache settings to all uv invocations (#4404) 2025-10-27 19:42:45 +07:00
Eltaurus
9eb6ec4db8
Fix unescaped HTML in correct type-in answers (#4407)
* Fix unescaped HTML in correct type-in answers

* unit test for correct answer escaping

* fix string conversion
2025-10-27 19:41:40 +07:00
jcznk
23d0657a01
(UI polish) Filtered decks: replace maximumSize with sizePolicy in "Limit to" QSpinBox (#4398)
* Fix (UI) / Increase width of "Limit to" QSpinBox (Filtered Decks)

Increased the width from 60 px to 75 px, so that there is always enough space, even in the case of large numbers (e.g., 99999).

* Update filtered_deck.ui (replace maximumSize with sizePolicy)
2025-10-27 19:35:07 +07:00
Abdo
510a3b3533
Update VS Code config (#4397) 2025-10-27 19:31:59 +07:00
Abdo
d3ca0cd0b3
Update PyCharm docs (#4389)
* Add .idea.dist

* Update PyCharm docs
2025-10-27 19:27:50 +07:00
user1823
62c950120c
Fix(launcher)/Exclude pre-release if a newer major_minor exists (#4388)
The current main produces a list like "25.09.2, 25.08b5, 25.07.5, 25.06b7, 25.02.7"
Here, 25.08b5 and 25.06b7 should be filtered out for the same reason this code filters out the older patch releases.
2025-10-27 19:26:09 +07:00
llama
a05c90cbce
fix: make uv use system certstore (#4386) 2025-10-27 19:19:28 +07:00
llama
23263caea2
feat: show launcher if different version was installed (#4381) 2025-10-27 19:08:40 +07:00
dependabot[bot]
9f9bafa66c
Bump vite from 6.3.6 to 6.4.1 (#4405)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.6 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  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-10-27 18:30:23 +07:00
Ranjit Odedra
d24d2e3394
Fix sync login dialog not using newly-set custom sync server #4395 (#4396)
* Fix sync login with custom server URL

Call update_network() before showing login dialog to ensure
the custom sync server URL is saved before attempting login.

Previously, the custom URL was only saved when closing the
preferences dialog, causing login to fail on first attempt.

Fixes #4395

* Add contributor info
2025-10-18 01:11:50 +03:00
Lee Doughty
321e23acb2
Replace custom UUID function with crypto.randomUUID (#4384) 2025-10-13 09:37:30 +03:00
nav1s
ab2fe98c54
feat: add tooltips for sidebar items in the browse cards window (#4385)
* feat: add tooltips for all of the sidabar items in the browse cards window

* fix: add name to CONTRIBUTORS
2025-10-13 09:27:40 +03:00
Arold0
76d3237139
Fix notetype original_stock_kind using wrong enum (#4382)
Use OriginalStockKind instead of StockKind when setting
original_stock_kind for basic notetype variants. The two enums
have different numeric values, causing 'Restore to Default' to
restore the wrong template.

For example, StockKind::BasicTyping has value 3, but when read
back as OriginalStockKind, value 3 corresponds to
BasicOptionalReversed instead of BasicTyping (which is 4).

This fixes the off-by-one behavior where:
- Basic (type in the answer) → Basic (optional reversed card)
- Basic (and reversed card) → Basic (optional reversed card)
- Basic (optional reversed card) → Basic (and reversed card)

Fixes #4353
2025-10-09 01:50:50 +03:00
Arold0
d11b74fd38
Fix fatal error when double clicking Add button (#4377)
Prevent adding a note that has already been added by checking if
note.id is set before attempting to add it. This fixes a race
condition when the Add button is clicked multiple times quickly.

Fixes #4376
2025-10-05 15:58:16 +03:00
AmandaSternberg-creator
1f9d943c8d
Localize FSRS error message and update contributors (#4342)
Co-authored-by: Amanda Sternberg <mandis.sternberg@gmail.com>
2025-10-02 21:52:49 +07:00
user1823
1ba4512011
Fix launcher strings (#4375)
* Fix launcher strings

* Add prompt to press enter for installation

* Prompt should appear after ensuring that the OS is supported
2025-10-02 21:50:44 +07:00
GithubAnon0000
969c2b43b5
CHANGE launcher strings to clarify installing for novices (#4327)
* CHANGE strings to clarify for novices

* Update launcher.ftl including suggestions from @dae
2025-10-02 17:00:09 +07:00