Damien Elmes
55b95c580b
Bump pyqt6-sip version
2023-04-27 11:43:01 +10:00
Damien Elmes
76380131a1
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
dd9cd6a514
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
d611709cb7
Fix a few more cases where missing profile keys would lead to an error
2023-04-26 21:10:24 +10:00
Damien Elmes
6be2dce06f
Use correct default values for missing keys
2023-04-26 19:11:48 +10:00
Damien Elmes
75f04326c0
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
c9a04bb8fb
Support scheduled Rust cache clearing
2023-04-26 17:19:00 +10:00
Damien Elmes
6b8f7289d9
Cleanup tmp files after CI run
2023-04-26 17:11:24 +10:00
Damien Elmes
3cf6b3f00c
Update translations
2023-04-26 16:09:10 +10:00
Damien Elmes
331df24f3a
Clarify warning in notetype reset
2023-04-26 16:08:48 +10:00
Mani
3b1345440a
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
5a11652e75
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
070f26dadd
V -> ValueType
...
https://github.com/ankitects/anki/pull/2472#issuecomment-1513507162
2023-04-19 16:43:23 +10:00
Damien Elmes
1fea0dfd71
Bump h2 version
...
https://github.com/hyperium/h2/issues/674
2023-04-19 15:31:13 +10:00
Damien Elmes
c2302605bb
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
c5934bedf8
Allow cloze/image occlusion notetypes to be restored to defaults
2023-04-19 15:04:18 +10:00
Damien Elmes
efe963bdfd
Update translations
2023-04-18 14:12:07 +10:00
Damien Elmes
6c2128fed0
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
4ce1b40adb
Add emojis for graphs in hourly breakdown tooltip ( #2464 )
2023-04-17 16:16:10 +10:00
Damien Elmes
44a4a86294
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]
deb2b0f001
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
6de86a246d
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
bfef10e2de
Update to the latest TypeScript version
...
Required a svelte-preprocess upgrade for compatibility.
2023-04-12 16:42:28 +10:00
Damien Elmes
18796934f0
Remove some dead code and an invalid import from types.ts
2023-04-12 16:36:15 +10:00
Damien Elmes
4f3abe81e2
Update to the latest wheel package; make code work with it
2023-04-12 16:17:00 +10:00
Damien Elmes
20deace2b7
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
f8a221e76d
Add helper script for Intel cross compile on ARM Mac
2023-04-12 15:48:31 +10:00
Hikaru Y
ba5865268d
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
bcfaa3664e
Bring chrono minimum back down for AnkiDroid
...
Accidentally bumped in recent deps update
2023-04-12 08:45:51 +10:00
Damien Elmes
fe3b493918
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
a1a0f074a7
Update from yanked crossbeam-channel
2023-04-12 08:29:26 +10:00
Damien Elmes
902863ec8e
Update iana-time-zone and windows crates, as windows 0.47 yanked
2023-04-12 08:25:53 +10:00
Damien Elmes
15d742e2c9
Update to Rumo's latest linkchecker code
...
cf838122a4 (r107719275)
2023-04-12 07:25:39 +10:00
Damien Elmes
72372dc7b4
Upgrade to Qt 6.5 on Windows/Linux
2023-04-11 16:57:34 +10:00
Damien Elmes
fef5402f5c
Update spin-rs for bug fix
...
https://github.com/advisories/GHSA-2qv5-7mw5-j3cg
2023-04-11 16:23:32 +10:00
Damien Elmes
c16c043d51
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
ba80a8ec91
Update translations
2023-04-11 16:16:45 +10:00
Damien Elmes
0c587fa474
Update translations
2023-04-03 12:50:56 +10:00
Damien Elmes
b8aea42474
Clarify some translation terms
2023-04-03 12:50:35 +10:00
Damien Elmes
c66527f8f3
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
89b0f6e8a9
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
4b6f1113db
Update Rust deps
...
axum-client-ip excluded, as it will need further work.
2023-03-31 14:38:24 +10:00
Damien Elmes
1d4619139b
Bump Rust version
2023-03-31 14:11:33 +10:00
Damien Elmes
76daff6b6d
Update Python deps
...
- Black's formatting has changed
- Pylint has introduced a new lint
2023-03-31 14:04:05 +10:00
Damien Elmes
2dcb83b074
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
6e77818b8d
Update extract-strings.py and transform-string.py for ninja
2023-03-31 14:02:45 +10:00
Damien Elmes
7eda3c59c9
Fix yarn.sh failing with linked out folder
2023-03-31 13:08:59 +10:00
Damien Elmes
6b1ecba713
Bump version
2023-03-31 13:00:05 +10:00
Damien Elmes
67baf2a159
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
b105c4b8d4
Update translations
2023-03-31 12:02:17 +10:00