Commit graph

11097 commits

Author SHA1 Message Date
Damien Elmes
a9e05b59d6 urllib3 security fix 2024-06-18 12:46:32 +07:00
dependabot[bot]
1414547b50 Bump braces from 3.0.2 to 3.0.3 (#3233)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 06:44:35 +01:00
Damien Elmes
70837d01a0 Bump version to 24.06.2 2024-06-09 09:28:59 +07:00
Damien Elmes
3984487a32 Update translations 2024-06-09 09:28:34 +07:00
Aristotelis
db5f7b9026 Fix IO rendering in the previewer and template editor (#3228) 2024-06-08 13:18:58 +01:00
Damien Elmes
526ca11f59 Remove missed debugging statement 2024-06-08 05:29:29 +07:00
Damien Elmes
22f6688442 Bump version to 24.06.1 2024-06-08 05:21:38 +07:00
Damien Elmes
2a3cc697b5 Update translations 2024-06-08 05:17:37 +07:00
Damien Elmes
f5dc6e6b3a Remove context check bypass when ANKI_API_PORT set
This resulted in the I/O regression in #3223 not being caught with ./run,
and puts devs ast risk. It also does not currently seem to be required
(pages like graphs and deck options work correctly with ./yarn dev).
I suspect the change was made to support running of pages/*.html, which
we no longer build.
2024-06-08 05:16:56 +07:00
Damien Elmes
01b792e773 Fix image occlusion error during review 2024-06-08 05:06:54 +07:00
Alexander Bocken
47471decea fix sveltekit respecting yarn env var (#3226)
* fix sveltekit respecting yarn env var

* adding myself to CONTRIBUTORS
2024-06-07 23:01:40 +01:00
Damien Elmes
2a12f6688e Update translations 2024-06-06 17:24:23 +07:00
Abdo
b3bb011325 Fix missing i18n module in IO review screen (#3223) 2024-06-06 11:20:40 +01:00
Abdo
545d7b7097 Mention missing field's name in CardTypeError (#3225) 2024-06-06 11:20:19 +01:00
Abdo
6d60e5a05a Work around RuntimeError in _update_button_label() (#3224) 2024-06-06 11:19:33 +01:00
Abdo
b35742d116 Avoid askUser() in sync dialogs (#3222) 2024-06-03 07:49:02 +01:00
Damien Elmes
9b5e791ff6 Factor flask.make_response() calls out into helper function 2024-06-03 13:42:03 +07:00
Damien Elmes
695dd094a5 Update translations 2024-06-01 15:56:19 +07:00
Damien Elmes
33483aedce Add missing word 2024-06-01 15:56:01 +07:00
Damien Elmes
63b2b5c1fb Switch 404 responses to plain text
Alternative fix which closes #3220
2024-06-01 15:50:27 +07:00
Abdo
dee5be2cef Pass -- to mpv/mplayer before filename (#3219)
* Pass -- to mpv/mplayer before filename

* Pass -- in as a separate argument (dae)
2024-06-01 09:44:24 +01:00
Abdo
27f850f855 Add a preference to toggle LaTeX generation (#3218)
* Add a preference to toggle LaTeX generation

* Fix test

* Remove LaTeX security restrictions

* Show existing LaTeX images regardless of preference

* Lift config check out of loop (dae)

* Shift option to review settings; display warning when disabled (dae)
2024-06-01 09:26:28 +01:00
Abdo
b7a4eff1ea Reword sync conflict explanation (#3221)
* Reword sync conflict explanation

* Preserve old string for now (dae)
2024-06-01 09:05:19 +01:00
Xidorn Quan
834a6825f3 Add StartupWMClass for anki.desktop
This ensures that the system can correctly assign the windows of Anki to the desktop launcher item, e.g. in Ubuntu's dock.

Update CONTRIBUTORS
2024-06-01 14:58:47 +07:00
Richard Romero Jr
6219c481ab Fixes shift click selection after programmatic selection in most cases, Issue #2469 (#3213)
* Fixes shift click selection after programmatic selection in most cases

* Attempting to resolve checks

* Adding comment for _move_current setCurrentIndex

* Update qt/aqt/browser/table/table.py (dae)
2024-06-01 08:54:44 +01:00
Abdo
5a93121c6a Another try at fixing IO events issue (#3210) 2024-05-28 10:29:21 +01:00
Damien Elmes
5e19a3cad8 Remove empty cards shortcut
It's conflicting, and will need a new combo:
https://forums.ankiweb.net/t/anki-24-06-release-candidate/44926/44
2024-05-27 05:14:27 +07:00
Damien Elmes
23d1465788 Update past yanked requests version
https://forums.ankiweb.net/t/compiling-after-cve-changes/45248
2024-05-25 16:10:45 +07:00
Damien Elmes
fa7e704931 Fix set_due_date docstring
Closes #3207
2024-05-25 16:08:45 +07:00
Voczi
f7f7f82289 Add support for custom certificates (#3203)
* Add support for custom certificates

* Update lints

* Update licenses

* Changes after feedback

* More changes
2024-05-24 10:57:54 +01:00
user1823
1c423da1ca Reschedule → Reposition (#3209) 2024-05-24 10:48:03 +01:00
Mani
022bf491b7 do not recreate page when toggle button used (#3208) 2024-05-24 10:47:18 +01:00
Abdo
dc261fdf2b Fix future due search missing cards on last day (#3206) 2024-05-24 10:46:38 +01:00
Abdo
0f9ce774bc Call profile_did_open hook at the end of loadProfile (#3202) 2024-05-24 09:23:29 +01:00
Damien Elmes
f91788e201 Honor night mode when switching between cards in card info 2024-05-22 17:07:01 +07:00
Damien Elmes
93174771c1 Revert "Use SplashScreen flag for all aqt tooltips (#3194)"
This reverts commit 192dfffba9.

This appears to have caused a regression with keyboard shortcuts

https://forums.ankiweb.net/t/anki-24-06-release-candidate/44926/14
2024-05-22 17:06:37 +07:00
Damien Elmes
5ffc90c75c Add missing full stop 2024-05-22 15:38:07 +07:00
Damien Elmes
34df4bae4b Latest requests CVE 2024-05-21 23:51:32 +07:00
Damien Elmes
cfb0e6c8b3 Probable fix for crash when syncing from preferences
https://forums.ankiweb.net/t/windows-anki-24-04-1-crashes-with-self-hosted-sync-server/44849/6
2024-05-21 23:08:08 +07:00
Damien Elmes
44842376b1 Fix import order 2024-05-17 17:11:28 +07:00
Damien Elmes
1bde208675 Enable svelte preprocess 2024-05-17 17:01:49 +07:00
Damien Elmes
6df5f9ab92 Bump version to 24.06 2024-05-17 16:40:22 +07:00
Damien Elmes
c9be84c09a Tweaks to the 'optimize all presets' progress
https://forums.ankiweb.net/t/visual-bugs-with-optimization/44873
2024-05-17 15:00:01 +07:00
Damien Elmes
28bfb45502 Mnemosyne importer now handles float values for due date and interval 2024-05-17 12:34:01 +07:00
Damien Elmes
d9eb63a1cd Fix Mnemosyne importer clobbering source file 2024-05-17 12:34:01 +07:00
Jarrett Ye
54efd6d36c update to fsrs-rs v0.6.4 (#3200)
* update to fsrs-rs v0.6.3

* update to fsrs-rs v0.6.4
2024-05-17 06:26:06 +01:00
Abdo
5cae1651b2 Do not show media auto sync errors (#3197)
* Do not show media auto sync errors

* is_autosync -> is_periodic_sync

* More wording improvements; fix periodic sync depending on auto sync setting (dae)
2024-05-17 06:25:10 +01:00
Jarrett Ye
d5fa187ca8 Fix/ignore revlogs when there is not learn entry after the last forget entry (#3199) 2024-05-17 06:07:15 +01:00
Damien Elmes
4a75d7c5e9 flask-cors CVE 2024-05-17 11:59:19 +07:00
Damien Elmes
fe6c3b0c97 Revert "Revert "Revert "Preserve HTML formatting inside clozes (#3038)"""
This reverts commit d11f9318f8.
2024-05-17 11:51:09 +07:00