Commit graph

12100 commits

Author SHA1 Message Date
user1823
3b33d20849
Fix LRT database check for cards with no usable reviews (#4284)
Fixes https://forums.ankiweb.net/t/anki-25-08-beta-3/64738/62
2025-09-01 14:19:36 +10:00
Luc Mcgrady
542c557404
Fix/Workload deck_size unset (#4283) 2025-09-01 14:18:30 +10:00
Luc Mcgrady
211cbfe660
Fix/Simulator intervals decending overflows (#4275)
* Fix/Simulator intervals decending overflows

* saturating_sub

* oops
2025-09-01 14:16:40 +10:00
Damien Elmes
359231a4d8 Update licenses after tracing-subscriber bump 2025-09-01 13:42:10 +10:00
Damien Elmes
d23764b59e Bump devalue for latest CVE 2025-09-01 13:41:00 +10:00
Damien Elmes
1dc31bb360 One step closer to tools/run-qt* on Windows
Doing the rest manually for now
2025-09-01 13:39:46 +10:00
dependabot[bot]
6fa33777db
Bump tracing-subscriber from 0.3.19 to 0.3.20 (#4296)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 13:35:46 +10:00
Lee Doughty
2fee6f959b
Replace deprecated $app/stores with $app/state in SvelteKit frontend (#4282)
* Migrate frontend from /stores to /state

* Update CONTRIBUTORS
2025-08-26 21:28:49 +03:00
Expertium
3d0a408a2b
A small clarification in deck-config.ftl (#4264)
* A small clarification in deck-config.ftl

* Tweak wording (dae)

https://github.com/ankitects/anki/pull/4264#issuecomment-3188208351
2025-08-22 20:23:29 +10:00
user1823
3e846c8756
Make simulator fill missing values of DR and decay too (#4269)
* Make simulator fill missing values of DR and decay too

If a card has missing memory states, it will likely have missing DR and decay too. So, it makes sense to simultaneously update them as well.

* Fix error

* Avoid causing sync conflicts when filling in missing memory in sim

https://github.com/ankitects/anki/pull/4269#issuecomment-3201450124

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2025-08-20 03:03:53 +10:00
Abdo
79932aad41
Fix sync errors not being reported in some cases (#4281)
* Set parent of sync error dialog

* Explicitly mention parent arg in show_info() functions
2025-08-20 03:02:51 +10:00
Luc Mcgrady
2879dc63c3
Fix/Learn count not included in workload graph (#4274)
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 02:58:25 +10:00
Abdo
b92eabf4ae
Replace activeWindow() with activeModalWidget() (#4267) 2025-08-20 02:32:54 +10:00
Abdo
1660a22548
Fix Mnemosyne fact ID in error messages (#4266) 2025-08-20 02:32:03 +10:00
Siyuan Yan
a3b3b0850d
Hi res microhpone icon for the recording dialog (#4262)
* Replace media-record.png with SVG icon

- Added SVG version of the microphone icon (from Font Awesome Free v7.0.0)
- Updated sound.py to use QIcon for proper SVG support
- Icon now displays at 60x60 pixels

* Remove obsolete media-record.png icon

The PNG icon has been replaced with an SVG version

* Update CONTRIBUTORS

* Replace icon with AnkiMobile's record icon

CC-BY requires attribution, and we don't currently have a way to describe
those attributions in a way the mobile clients can also include automatically.
For now, I've switched it to an icon I authored myself to avoid the issue.

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 02:31:31 +10:00
Luc Mcgrady
562cef1f22
Fix #4253 (#4259)
* Reapply "Fix/Retention help button bounds (#4253)" (#4258)

This reverts commit fb2e2bd37a.

* move div up slots instead of using condition

* Avoid tabbing

---------

Co-authored-by: Abdo <abdo@abdnh.net>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-20 01:19:25 +10:00
Damien Elmes
a4d31c5a7f
Merge branch 'main' into accessibility-color-blind 2025-08-20 01:16:17 +10:00
Damien Elmes
e676e1a484 Exclude version numbers from cargo/licenses.json
Version numbers are not required by the license, and keeping them in means
the build breaks after merging in a dependabot update.
2025-08-19 23:48:04 +10:00
Damien Elmes
37f7872565 Fix crash when disabling FSRS
https://forums.ankiweb.net/t/anki-25-08-beta-3/64738/51?u=dae
2025-08-19 23:34:09 +10:00
dependabot[bot]
5c07c899ec
Bump slab from 0.4.10 to 0.4.11 (#4265)
Bumps [slab](https://github.com/tokio-rs/slab) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases)
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11)

---
updated-dependencies:
- dependency-name: slab
  dependency-version: 0.4.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2025-08-19 19:59:48 +10:00
Damien Elmes
054740dd14 Skip licenses.json check for dependabot updates 2025-08-19 19:49:48 +10:00
Damien Elmes
78a3b3ef7b Expose control over AppNap for AnkiConnect
https://forums.ankiweb.net/t/recent-anki-updates-bundle-id-change-disabling-app-nap-macos-anki-connect/65550
2025-08-19 19:46:11 +10:00
TheFefel
b86e9f4fa2
Merge branch 'main' into accessibility-color-blind 2025-08-14 16:44:21 +02:00
TheFefel
dddc490713 fix: copyright issue and contributors 2025-08-14 16:26:46 +02:00
TheFefel
32f39ead77 edited contributors file 2025-08-14 16:25:21 +02:00
TheFefel
9f16a92056 format: formatted some code 2025-08-14 16:13:40 +02:00
David Brenn
bd9854c80e fix: ninja test errors 2025-08-14 16:03:52 +02:00
TheFefel
5f3aa818f7 deleted some irrelevant comments in buttons.ts 2025-08-14 13:47:39 +02:00
Matthis
03234de5de Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-14 13:22:29 +02:00
Matthis
8e3180e446 chaged hard coded true retention colors to dynamic colorBlindColors 2025-08-14 13:22:07 +02:00
TheFefel
82494d6949 feat: colorBlindMode added to answer buttons and added cards statistics 2025-08-14 12:58:47 +02:00
David Brenn
efa3b2f4de chore: remove the gradient selector
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-12 15:35:54 +02:00
David Brenn
c530a024e2 feat: add color blind colors to reviews graph
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-12 15:30:29 +02:00
David Brenn
8d6d8dc6c8 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-12 14:18:43 +02:00
David Brenn
660868df06 feat: add gradent selector 2025-08-12 14:18:12 +02:00
OblivionSword
f2d499e1ef remove commented codes 2025-08-12 11:22:29 +02:00
OblivionSword
2e339b7557 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 23:47:58 +02:00
OblivionSword
7584d824b8 remove unused color in card count 2025-08-11 23:47:31 +02:00
Matthis
f92cb2edb5 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 23:47:30 +02:00
Matthis
d01c1c5075 edit: true retention colorblind selection is now viridis 2025-08-11 23:47:06 +02:00
OblivionSword
806553b23e change card count color blind pallete to tol colors 2025-08-11 23:41:18 +02:00
OblivionSword
14856062d3 Merge branch 'accessibility-color-blind' of https://github.com/David-Brenn/anki into accessibility-color-blind 2025-08-11 22:08:05 +02:00
OblivionSword
5dc9557fef change the color for ease and intervals to viridis 2025-08-11 22:07:57 +02:00
Matthis
aaaa52028d feat: true retention colorblind selection 2025-08-11 20:35:16 +02:00
Matthis
f817358ec2 feat: hours colorblind selection 2025-08-11 20:02:01 +02:00
OblivionSword
4fead000c2 remove unused color 2025-08-11 18:10:02 +02:00
OblivionSword
339520b119 slight change to the colorblind friendly color pallete for card count 2025-08-11 17:26:11 +02:00
OblivionSword
13ea189be0 colorblind friendly colors for card ease, card counts, and card intervals 2025-08-11 16:04:21 +02:00
David Brenn
8b99a550cd feat: future-due colorblind selection
Signed-off-by: David Brenn <davidbrenn@t-online.de>
2025-08-11 15:01:03 +02:00
David Brenn
8c1bbe0632 refactore: remove pycache files from repo 2025-08-11 14:12:16 +02:00