Commit graph

12295 commits

Author SHA1 Message Date
Abdo
ad59a15469
Merge 98a721c29c into 2d4de33cf3 2025-12-02 11:29:20 +03:00
Lee Doughty
2d4de33cf3
Ensure trailing spaces are placed outside cloze deletions (#4446) 2025-12-01 21:54:46 +03: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
llama
dda192f24c
fix(import): support variable field count with notetype column (#4421) 2025-11-19 22:48:14 +03: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
Abdo
98a721c29c Fix notetype ID not being set after note added 2025-11-03 08:08:30 +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
Abdo
0c1aa173f0 Formatting 2025-10-26 19:18:30 +03:00
Abdo
618483a6e7 Keep selector's search bar in view 2025-10-26 19:00:22 +03:00
Abdo
60af80ba9d Scroll selected deck/notetype into view 2025-10-26 18:59:49 +03:00
Abdo
3a0c3ef4e7 Fix notetype changing after changes to fields 2025-10-26 17:59:33 +03:00
Abdo
12769460ba Fix initial=True being passed to subsequent loadNote calls 2025-10-26 17:57:52 +03:00
Abdo
789b0a702e Fix disabled history button's hover styles
The `background` property from the primary styles had a higher priority
2025-10-26 16:51:57 +03:00
Abdo
bc260a0c29 Fix double paste 2025-10-26 16:33:10 +03:00
Abdo
7113648a3f Formatting 2025-10-19 08:41:03 +03:00
Abdo
f9607ce8af Fix focused field not being preserved 2025-10-19 08:39:03 +03:00
Abdo
783a6d1fa2 Avoid extra initial loadNote() 2025-10-19 08:33:26 +03:00
Abdo
0ed12f5c63 Fix notetype/deck of original note not being set 2025-10-19 08:32:27 +03:00
Abdo
5e9428cd26 Preserve initial note load args 2025-10-19 06:57:01 +03:00
Abdo
224ea3abb1 Make CooldownTimer accept an aync action 2025-10-19 06:10:47 +03:00
Abdo
6cab377083 Fix TS type 2025-10-19 05:56:43 +03:00
Abdo
e7bfb73f72 Fix deck of copied note not being used 2025-10-19 05:24:23 +03:00
Abdo
9dd4ad5226 Allow opening legacy screens from browser/reviewer 2025-10-19 05:21:49 +03:00
Abdo
3c8f35efd3 Simplify async request handling 2025-10-19 05:12:15 +03:00
Abdo
9dcbf70aeb Fix formatting/typing errors 2025-10-18 14:38:21 +03:00
Abdo
3084d59fb4 Merge branch 'main' into editor-3830 2025-10-18 14:08:37 +03:00
Abdo
33a1b32095 Fix legacy editable styles 2025-10-18 06:45:17 +03:00
Abdo
a305665bf6 Fix legacy editor not rebuilding after changes in ts/routes 2025-10-18 04:57:15 +03:00
Abdo
8a0a21aba6 Fix call_after_note_saved() 2025-10-18 04:25:25 +03:00
Abdo
7c6fa98063 Add RPCs for Fields/Cards dialogs 2025-10-18 04:14:02 +03:00
Abdo
bdbafb1f6e Save before opening Fields/Cards 2025-10-18 03:55:03 +03:00
Abdo
71dfb6350d Run scheduled save before add 2025-10-18 03:53:00 +03:00
Abdo
7dc2d29136 Handle deeply nested OpChanges
Messages such as AddNotesResponse were not handled correctly.
2025-10-18 02:45:27 +03:00
Abdo
74c727e82c Remove log() 2025-10-18 01:37:09 +03: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
Abdo
9278da2c85 Formatting 2025-10-15 00:56:03 +03:00
Abdo
6248a71f2a Move .reload_note() calls 2025-10-15 00:53:37 +03:00
Abdo
9b28ed87f2 Fix undo of methods returning OpChanges directly not being handled correctly 2025-10-15 00:45:52 +03:00