Mani
ea8f0c1491
fix: blur in io, remove panzoom and use fabricjs for panzoom ( #3052 )
...
* fix: blur in io, remove panzoom and use fabricjs for panzoom
- remove panzoom
- implement panzoom using fabricjs
- set background image for canvas
- add bounding rect for canvas
- draw or add point inside in bounding rect
- update zoom tool
* support pinch to zoom on mobile client
* fix lagging of canvas, zoom in draw mode
* panning in touch events
2024-03-09 10:35:23 +00:00
Jarrett Ye
f2acf40221
alert when the resp.weights is empty ( #3061 )
...
* alert when the resp.weights is empty
* format
2024-03-09 10:26:59 +00:00
Foxy_null
6ac60f8032
Added new translator name ( #3060 )
...
* Add my name to about.py
* Add my name to CONTRIBUTORS
2024-03-08 12:55:16 +00:00
Jarrett Ye
055b6e30f8
update FSRS-rs to 0.5.0 & export benchmark API ( #3056 )
...
* update fsrs to 0.4.5
* update to fsrs 0.4.6
* add benchmark API
* update fsrs to 0.5.0
* cargo fmt
* ./ninja fix:minilints
* ./ninja format
* Add a brief comment about the new method (dae)
2024-03-08 12:37:06 +00:00
Abdo
9228c87b3a
Show preset and original deck in card info ( #3055 )
...
* Show preset and original deck in card info
* Make original_deck optional
2024-03-07 07:47:55 +00:00
Damien Elmes
184ad8068e
Clone "added" string for importing
...
https://forums.ankiweb.net/t/inquiry-about-adding-one-more-string-for-added/41998
2024-03-07 12:03:12 +07:00
Damien Elmes
2d2b5f663a
Update translations
2024-03-07 11:57:54 +07:00
Brayan Oliveira
d16131c534
Use Card %d
for Cloze and IO template names ( #3049 )
2024-03-06 08:03:31 +00:00
Jarrett Ye
eb597475c5
Fix/set pretrain_only by fsrs_items ( #3051 )
...
* Fix/set pretrain_only and insufficient reviews based on fsrs_items
* use review_count for FsrsInsufficientReviews
* Update weights.rs
* Update weights.rs
2024-03-05 07:54:34 +00:00
Abdo
3d184073d7
Adjust HTML editor / add-on config editor font ( #3054 )
...
* Reduce font size of add-on config editor
* Change HTML editor font to Consolas
* Remove unused form
2024-03-05 07:29:05 +00:00
Damien Elmes
55dacf05c3
Update mio for security warning
2024-03-05 13:51:06 +07:00
Abdo
631088cdca
Fix alert not appearing when FSRS parameters input is focused ( #3053 )
2024-03-05 06:43:57 +00:00
Abdo
fa771991ca
Use system certificate store ( #3050 )
2024-03-04 05:48:16 +00:00
Jarrett Ye
c7556f17e6
update fsrs to 0.4.4 ( #3045 )
...
* update fsrs to 0.4.4
* fix bypassed_learning_is_handled
2024-03-03 14:30:34 +07:00
Damien Elmes
b2df6546aa
When cards become due, show overview instead of study screen
...
https://forums.ankiweb.net/t/anki-automatically-switches-from-decks-view-to-card-when-it-is-left-open-overnight/41853/3
2024-03-03 11:58:15 +07:00
Jean Khawand
a694889bca
🐬 Containerize anki-sync-server ( #3036 )
...
* 🐬 Containerize anki-sync-server
* rename directory to syncserver
* update contributors
* fix format
* format README
* - make ANKI_VERSION mandatory
- remove SYNC_USERS and stick unique vars
- update doc
* update doc
* update doc
* - remove hardcoded ANKI_VERSION arg
- update readme
2024-03-01 15:15:02 +07:00
Damien Elmes
cadbb6ad8d
Ensure rsbridge gets rebuilt when buildhash changes
...
Hopefully fixes https://forums.ankiweb.net/t/anki-24-04-beta/41792/2
2024-03-01 13:25:56 +07:00
Damien Elmes
bfaa28feda
Mac Qt bundle rebuilt without .dSYM files
2024-02-29 13:33:12 +07:00
Damien Elmes
4fc535ec88
Dependency updates ( #3040 )
...
* Update JS deps
* Update semver-compat Rust deps
* Update some semver-incompat Rust deps
- hyper/axum held back because reqwests is not ready
- rusqlite held back due to burn-rs incompat version
- wiremock held back due to compile issue
* pylint wants changes to our _rsbridge.pyi
* Update Python deps
Also solves a security warning in orjson
Reformat with latest black
2024-02-28 16:28:04 +07:00
Damien Elmes
2f319ab6f4
Update translations
2024-02-28 15:37:25 +07:00
Damien Elmes
e3c951b820
Bump version to 24.04
2024-02-28 15:37:25 +07:00
Damien Elmes
8ab18d276a
Update Qt bundle to 6.6.2
2024-02-28 15:34:09 +07:00
Damien Elmes
151dd0fb34
Hard-code SDK root when building
...
PyOxidizer's detection seems to be failing on the machine I'm running
from.
2024-02-28 15:34:09 +07:00
Kieran Black
7784321b90
fix processEvents()
reentrancy bug in progress manager window handling ( #3030 )
...
* fix progress manager close window race condition
* use monotonic clock for time deltas in progress manager
* restructure progress manager finish logic
2024-02-27 12:25:53 +07:00
Abdo
60f8399aed
Show total review count when optimizing FSRS parameters ( #3027 )
...
* Show total review count when optimizing FSRS parameters
* Do not expose items
2024-02-26 13:27:22 +07:00
Kieran Black
d2ae0d9ada
fix text input custom style wiping out base user style ( #3031 )
2024-02-26 13:07:45 +07:00
Damien Elmes
f9a970be9b
Use smaller default height
...
https://forums.ankiweb.net/t/import-dialog-is-too-big/41549/10
2024-02-26 12:13:38 +07:00
Kieran Black
d4a52b7548
fix progress manager window race condition ( #3029 )
...
The progress manager was indicating windows were in a clean state before actually ensuring they were in a clean state. The update to mark things as clean now occurs after cleanup has occurred.
2024-02-25 13:17:04 +07:00
Jarrett Ye
103ea6ded0
clamp interval before fuzz_bounds ( #3024 )
...
* clamp interval before fuzz_bounds
* update unit test of with_review_fuzz
2024-02-25 12:18:01 +07:00
Viktor Ricci
68b374e65f
Fix regex skipping over all src except the last ( #3021 )
...
Adapting HTML_MEDIA_TAGS to allow for `>` inside '' and "" led to
multiple images inside a field sometimes being disregarded and
marked as "unused". This seems to have been caused by a missing
lazy (?) quantifier for the regex part skipping over non-`>`.
2024-02-24 15:27:38 +07:00
Damien Elmes
1a7f8b4fdf
Fix cargo deny in CI
...
The 0.14.12 release appears to have broken "-A duplicate". Fix by
updating our checks to use the latest release/format.
Also update iana-time-zone, which was yanked, and ignore safemem,
which is only used when bundling.
2024-02-24 15:22:57 +07:00
Abdo
6843d65ed1
Check required review count for FSRS after filtering ( #3019 )
...
* Check for required review count for FSRS after filtering
* Remove unreachable check
* Update minimum review count in optimal retention calculation
* Fix review check in optimal retention routine too
2024-02-24 14:53:38 +07:00
Abdo
0018f126ea
Fix misaligned image occlusions in RTL languages ( #3018 )
2024-02-22 11:10:36 +07:00
Abdo
00c67fc0c7
Show message if current FSRS parameters are optimal ( #3014 )
...
* Show message if current FSRS parameters are optimal
* Fix message shown with default parameters
* Use alert()
2024-02-22 11:09:17 +07:00
Luc Mcgrady
8b18a08b3b
FSRS - Ignore revlogs before date while optimizing ( #2922 )
...
* Added: Date input button
* Added: ignoreDate to config
* Added: Backend
* Optimize function passes value
* Fix: Spelling
* Moved: filter logic from revlog_for_srs to update_memory_state
* fmt
* Copyright header
* ./check
* Fix: Test
* Renamed: Ignore_date -> Ignore_before_date
* Neaten parameters
* evaluate weights
* ./check
* Optimize all presets
* Added: Label localizations
* Removed globe label
* Added: Tooltip
* Changed error type
* fmt
* Moved filter to own function
* missing function call replacement
* Fix: Typo
* Apply suggestions from code review
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
* timestamp * 1000 -> timestamp_millis
* ignoreBefore -> ignore_before
* clarified ignore_before variables
* i64 -> TimestampMillis
* Un-traitified remove_revlogs_before
* Added: ms == 0 guard
* Added: Ignore_before affects scheduling
* Moved filter to fsrs_items_for_training
* removed filter from revlog_for_srs
* Tuple -> UpdateMemoryStateEntry
* Removed unused function
* Removed superfluous _ms from variables
* cid -> id
* Different ignore method
* Added: Unit test
* cid -> id
* Test: Exact ms edge case
* ./check
* Fix: re-learns could be before ignore date in cards without learning steps
* getignoreRevlogsBeforeMs -> getIgnoreRevlogsBeforeMs
* Removed pub(crate)
* Clarified unit test
* last_learn_entry -> first_of_last_learn_entries
* @user1823's method
* IOS fix
* ./check
* Fix: width defined twice
2024-02-22 11:01:10 +07:00
Damien Elmes
9642a69b88
FSRS items, not revlogs
...
https://forums.ankiweb.net/t/discrepancy-between-revlog-count-in-optimize-and-evaluate/41224/5
2024-02-19 17:51:07 +07:00
Lucas Scharenbroch
a7f7f3f67b
Make a deep copy in reviewer/create-copy ( #3013 )
2024-02-18 13:09:53 +07:00
Lucas Scharenbroch
97dcb776de
Refactor text attribute button components ( #3012 )
...
* Factor out common code in bold/italic/underline/sub/sup buttons
* Update exclusiveNames' states on click
* Update exclusiveNames' states on keyboard shortcut
2024-02-18 13:09:05 +07:00
Damien Elmes
f09fbea3b9
Update to Qt 6.6.2
...
- Mac binary build stuff still todo
- Windows/Linux currently untested; please report any problems
2024-02-18 11:21:50 +07:00
Lucas Scharenbroch
df70564079
Add edge-case to type-in-answer filter in reviewer ( #3010 )
2024-02-14 20:38:10 +10:00
Lucas Scharenbroch
b80057440e
Fix visual behavior of modal buttons in editor ( #3009 )
...
* Fix behavior of justification buttons
* Make list buttons update each other when clicked
2024-02-14 20:35:37 +10:00
Abdo
2b4cb2992b
Fix deck names differing in case being duplicated in CSV import ( #3008 )
2024-02-14 20:25:54 +10:00
Abdo
23291e7172
Fix circular import ( #3007 )
2024-02-14 20:23:14 +10:00
Damien Elmes
a2301c58ee
Update translations
2024-02-13 11:59:16 +10:00
Damien Elmes
09f032b2e8
Ensure PyOxidizer checked out when bundling
2024-02-13 10:56:53 +10:00
Damien Elmes
efa9c5a39a
Remove inverted print statement from recent PR
2024-02-13 10:54:39 +10:00
Lucas Scharenbroch
c6a63cf959
Add log-in button to preferences screen ( #2994 )
...
* Add log-in button to preferences screen
* Fix to python to conform to linter
* Add translations for log in/out
* Clean up whitespace/naming
* Move translations from python to qt forms
* Remove sync-not-enabled text on prefs screen
* Add my name to about.py
* Add "sync now?" dialog upon successful login
* Close preferences dialog before syncing
* Yet another Qt 6.6.1 focus fix (dae)
Like 9364dad49a
2024-02-12 16:29:16 +10:00
Abdo
12681ae2e7
Add View Files button to Check Media screen ( #3006 )
...
* Add View Files button
* Remove Close button
2024-02-12 16:17:47 +10:00
Jarrett Ye
492178c107
Fix/ignore revlogs before Forget entry ( #3002 )
...
* Fix/ignore revlogs before Forget entry
* Update weights.rs
2024-02-12 16:09:39 +10:00
Han Yeong-woo
9ba527afa2
Improve typing deck_due_tree()
( #3003 )
...
* Improve typing `deck_due_tree()`
* Add me to CONTRIBUTORS
2024-02-12 15:56:29 +10:00