Damien Elmes
13890ffade
Bump pyqt6-sip version
2023-04-27 11:43:01 +10:00
Damien Elmes
103be366c9
Add new pyqt6.5 checksums
...
Because the version number was not changed, this was breaking new installs.
https://www.riverbankcomputing.com/pipermail/pyqt/2023-April/045257.html
2023-04-26 22:07:59 +10:00
Damien Elmes
54678bff63
Tweak unit test to reduce likelihood of flake under heavy load
...
https://buildkite.com/ankitects/anki-ci/builds/5698#0187bd42-c032-4078-909d-035a57892e0e
2023-04-26 21:38:04 +10:00
Damien Elmes
d4675e4ee9
Fix a few more cases where missing profile keys would lead to an error
2023-04-26 21:10:24 +10:00
Damien Elmes
d88be5b856
Use correct default values for missing keys
2023-04-26 19:11:48 +10:00
Damien Elmes
e6f970e969
Tolerate missing keys in profile DB
...
https://forums.ankiweb.net/t/crash-with-error-keyerror-mainwindowstate/29689
2023-04-26 19:07:59 +10:00
Damien Elmes
c12689160f
Support scheduled Rust cache clearing
2023-04-26 17:19:00 +10:00
Damien Elmes
282b051c46
Cleanup tmp files after CI run
2023-04-26 17:11:24 +10:00
Damien Elmes
fd2f81df1a
Update translations
2023-04-26 16:09:10 +10:00
Damien Elmes
5abdc3e285
Clarify warning in notetype reset
2023-04-26 16:08:48 +10:00
Mani
47a9db8221
fix image height issues in iOS safari ( #2480 )
...
* use i18n message when not showing image
* fix height for iOS
* some ui styling
* fix polygon draw in panzoom
* more ui styling and fixes
2023-04-26 16:01:04 +10:00
Hikaru Y
9123821131
Refactor plain/rich text input toggling code; fix focus loss ( #2479 )
...
* Refactor plain/rich text input toggling code; fix focus loss
Fix:
- Issue where field loses focus when plain/rich text input is closed
Refactoring:
- Call refocus() inside the reactive statement in
Plain/RichTextInput.svelte to eliminate the need for polling
with requestAnimationFrame
- Introduce 'Flag' class
- Move 'on:toggle' handlers from inline to functions defined in
the <script> section for better readability
* Improve code clarity based on feedback from code review
- Rename method and add comment to it
- Add 'private' access modifier to property
2023-04-22 16:08:25 +10:00
Damien Elmes
7c225fb5cd
V -> ValueType
...
https://github.com/ankitects/anki/pull/2472#issuecomment-1513507162
2023-04-19 16:43:23 +10:00
Damien Elmes
1ff27b4ab7
Bump h2 version
...
https://github.com/hyperium/h2/issues/674
2023-04-19 15:31:13 +10:00
Damien Elmes
f6486da233
Various tweaks to I/O code ( #2478 )
...
* Allow user to select I/O notetype instead of enforcing a specific name
* Display a clearer error when I/O note is missing an image
Opening the card layout screen from "manage notetypes" was showing an
error about the Anki version being too old.
Replacement error is not currently translatable.
* Preserve existing notetype when adding I/O notetype
* Add a 'from clipboard' string
The intention is to use this in the future to allow an image occlusion
to be created from an image on the clipboard.
* Tweak I/O init
- Use union type instead of multiple nullable values
- Pass the notetype id in to initialization
* Fix image insertion in I/O note
- The regex expected double quotes, and we were using single ones
- Image tags don't need to be closed
* Use more consistent naming in image_occlusion.proto
* Tweaks to default I/O notetype
- Show the header on the front side as well (I presume this is what
users expect; if not am happy to revert)
- Don't show comments on card (again, I presume users expect to use
this field to add notes that aren't displayed during review, as they
can use back extra for that)
* Fix sticky footer missing background
Caused by earlier CSS refactoring
2023-04-19 15:30:18 +10:00
Damien Elmes
ed334fa45d
Allow cloze/image occlusion notetypes to be restored to defaults
2023-04-19 15:04:18 +10:00
Damien Elmes
55f4ccdcbe
Update translations
2023-04-18 14:12:07 +10:00
Damien Elmes
dd13e78eca
Add ability to restore a notetype to its original configuration ( #2472 )
...
* Store the original stock notetype kind in the notetype
Will allow us to provide a command to restore a notetype to its default
settings/templates.
* Add a new action to restore a notetype to its original state
2023-04-18 14:07:51 +10:00
RumovZ
e361bb9514
Add emojis for graphs in hourly breakdown tooltip ( #2464 )
2023-04-17 16:16:10 +10:00
Damien Elmes
8abcb77d95
Revert Windows build to Qt 6.4; update to 6.4.3
...
Multiple users have reported that 6.5 is behaving sluggishly
https://forums.ankiweb.net/t/anki-2-1-62-beta/29302/9
2023-04-14 12:05:34 +10:00
dependabot[bot]
a3e09f421b
Bump h2 from 0.3.16 to 0.3.17 ( #2471 )
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.16...v0.3.17 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-14 08:26:19 +10:00
Damien Elmes
8f460b2ba9
Use original deck name if card is in filtered deck
...
https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327
2023-04-13 14:46:47 +10:00
Damien Elmes
bf05fae91e
Update to the latest TypeScript version
...
Required a svelte-preprocess upgrade for compatibility.
2023-04-12 16:42:28 +10:00
Damien Elmes
57d2e6bd5e
Remove some dead code and an invalid import from types.ts
2023-04-12 16:36:15 +10:00
Damien Elmes
e20e7f7af1
Update to the latest wheel package; make code work with it
2023-04-12 16:17:00 +10:00
Damien Elmes
7caa807f1d
Upgrade to Qt 6.5 on Mac
...
This bumps the minimum required macOS version to 11 for Qt6.
Closes #2263
2023-04-12 16:12:41 +10:00
Damien Elmes
e40acd45a6
Add helper script for Intel cross compile on ARM Mac
2023-04-12 15:48:31 +10:00
Hikaru Y
b5fa47e307
Fix MathJax editor sometimes not properly sized / getting cut off ( #2467 )
...
* Fix MathJax editor sometimes not properly sized
Also fix an issue where when 'Reduce motion' is enabled, a popover
appears momentarily out of position and then shifts to the correct
position.
* Fix MathJax editor sometimes getting cut off
* Change max-width of MathJax editor
2023-04-12 09:43:57 +10:00
Damien Elmes
6fe9728b80
Bring chrono minimum back down for AnkiDroid
...
Accidentally bumped in recent deps update
2023-04-12 08:45:51 +10:00
Damien Elmes
0466e220f3
Move ascii_percent_encoding into a separate repo
...
This makes it easier to update independently, and means we don't need
to exclude it from formatting/tests.
2023-04-12 08:45:23 +10:00
Damien Elmes
781ff16683
Update from yanked crossbeam-channel
2023-04-12 08:29:26 +10:00
Damien Elmes
dc8c4438d7
Update iana-time-zone and windows crates, as windows 0.47 yanked
2023-04-12 08:25:53 +10:00
Damien Elmes
f0d430623c
Update to Rumo's latest linkchecker code
...
cf838122a4 (r107719275)
2023-04-12 07:25:39 +10:00
Damien Elmes
b1ed4ade9d
Upgrade to Qt 6.5 on Windows/Linux
2023-04-11 16:57:34 +10:00
Damien Elmes
5f542b895d
Update spin-rs for bug fix
...
https://github.com/advisories/GHSA-2qv5-7mw5-j3cg
2023-04-11 16:23:32 +10:00
Damien Elmes
d9624819e9
Add a fully-random review order
...
https://forums.ankiweb.net/t/bug-the-random-option-in-the-review-sort-order-setting-is-not-truly-random/29199
2023-04-11 16:16:45 +10:00
Damien Elmes
1c73aeb433
Update translations
2023-04-11 16:16:45 +10:00
Damien Elmes
a14cdaf5e3
Update translations
2023-04-03 12:50:56 +10:00
Damien Elmes
c307b4e8b8
Clarify some translation terms
2023-04-03 12:50:35 +10:00
Damien Elmes
f2e61c8982
Fix a line failing cargo fmt with stable Rust
...
https://github.com/ankidroid/Anki-Android-Backend/pull/280#issuecomment-1493144833
2023-04-03 09:39:30 +10:00
Damien Elmes
82caffecbc
Revert wheel upgrade
...
Will need to investigate why it's breaking bundles:
https://buildkite.com/ankitects/anki-ci/builds/5642#018735f6-5178-427a-9143-b6e610433408
2023-03-31 15:04:51 +10:00
Damien Elmes
26c640805c
Update Rust deps
...
axum-client-ip excluded, as it will need further work.
2023-03-31 14:38:24 +10:00
Damien Elmes
f497bd6a33
Bump Rust version
2023-03-31 14:11:33 +10:00
Damien Elmes
0a0d17ff98
Update Python deps
...
- Black's formatting has changed
- Pylint has introduced a new lint
2023-03-31 14:04:05 +10:00
Damien Elmes
066db4bae8
Use type narrowing for extract-strings and transform-string
...
Fixes mypy errors in latest version
2023-03-31 14:02:50 +10:00
Damien Elmes
1f347d09d5
Update extract-strings.py and transform-string.py for ninja
2023-03-31 14:02:45 +10:00
Damien Elmes
f05e5b448d
Fix yarn.sh failing with linked out folder
2023-03-31 13:08:59 +10:00
Damien Elmes
53c6714857
Bump version
2023-03-31 13:00:05 +10:00
Damien Elmes
0c1eaf4ce6
Ensure deck chooser is cleaned up
...
Fixes errors when stats closed and subsequent operations performed.
2023-03-31 12:32:25 +10:00
Damien Elmes
1cf945f349
Update translations
2023-03-31 12:02:17 +10:00