Kieran Black
b363445135
fix: refresh model list when legacy addon adds notetype ( #2825 )
...
* refresh model list when legacy addon adds notetype
When legacy addons add note types, they automatically add the note type to the collection models. When this was detected, the dialog box presenting the list of models was not being updated due to an early return in the code. This commit adds a list refresh along this path of execution to ensure the gui is updated with the newly added model.
* add trailing space to name in CONTRIBUTORS
2023-11-13 10:36:21 +10:00
Abdo
48d38bb9af
Show due date of buried/suspended cards in card info ( #2820 )
...
* Show due date of buried/suspended cards in card info
* Simplify match and handle relearning cards
* Omit ctype checks
* Test due, not card.due (dae)
2023-11-13 10:23:46 +10:00
Abdo
dd3aa23512
Fix jittery virtual table scrolling on mobile ( #2810 )
...
* Fix jittery virtual table scrolling on mobile
* Fix table body appearing above header on iOS (dae)
2023-11-13 10:19:33 +10:00
Damien Elmes
b989c98639
Update fsrs-rs
2023-11-13 10:13:20 +10:00
Damien Elmes
7e8735c16e
Bump version
2023-11-13 10:10:00 +10:00
Damien Elmes
36fae1a30e
Update self_cell for UB fix
2023-11-12 10:40:33 +10:00
Damien Elmes
2868edffe0
Update translations
2023-11-09 20:44:13 +10:00
Damien Elmes
02c476b54e
More tweaks to API security
...
- Allow custom study methods in reviewer to prevent errors
- Ensure we 'fail closed' if referer header has been removed
- Ensure we ignore opaque POST requests from other origins
Thanks again to Daniel for the feedback.
2023-11-09 20:43:23 +10:00
snowtimeglass
d3357d0244
Change tooltip strings for image occlusion center alignments ( #2815 )
...
- Fix the swapping of the strings
- Change the strings to make the meanings clearer
- Incidentally, add a name to CONTRIBUTORS
2023-11-09 12:02:51 +10:00
Abdo
8fc04f52fe
Hide "toggle masks" in "Hide One, Guess One" mode ( #2817 )
2023-11-09 09:59:01 +10:00
Abdo
92b88fc3e2
Move anki.utils.html_to_text_line() to backend ( #2816 )
2023-11-09 09:57:23 +10:00
Damien Elmes
7bcb31b65b
Check video tags in media check
...
https://forums.ankiweb.net/t/video-tag-does-not-recognize-the-source-file-in-check-media/36850/2
2023-11-08 14:00:41 +10:00
Damien Elmes
0f2303002c
Fix Android backend failing to build on Windows with n2
2023-11-08 13:31:35 +10:00
Damien Elmes
58d69589ff
Fix Anki closing before 'clock is off' message appears
...
Also fix it showing HTML code instead of formatted text
2023-11-08 12:01:31 +10:00
Damien Elmes
b93a616747
Update translations
2023-11-08 11:28:14 +10:00
Damien Elmes
7afc0d0f2c
Relax desired retention warning from 0.85 to 0.8
2023-11-08 11:28:08 +10:00
Damien Elmes
f822d9243d
Prevent legacy pages apart from the editor from accessing our API
...
Thanks to Daniel for the suggestion.
2023-11-08 10:59:52 +10:00
Damien Elmes
a0c1bc723d
Add ability to tag legacy pages with a context
...
Will allow us to identify which of our screens requests are coming in
through, until we can migrate them to separate entrypoints.
2023-11-08 10:59:15 +10:00
Damien Elmes
77b2fa5761
Ensure webpages in browser can't access local webserver
...
Thanks to Daniel for the report.
2023-11-08 10:59:15 +10:00
Damien Elmes
72471aeff6
Avoid shadowing import
2023-11-08 09:20:56 +10:00
Damien Elmes
25bd57a5e3
Update translations
2023-11-07 13:30:11 +10:00
Damien Elmes
3c31386c1f
Change color of info box depending on retention; increase limit to 0.99
...
Closes #2803
2023-11-07 13:05:43 +10:00
Damien Elmes
c4a7cf663b
Add confirmation for upload
2023-11-07 11:11:07 +10:00
Damien Elmes
a2adbf0bf2
Expose fuzz delta for FSRS add-on
2023-11-06 12:27:53 +10:00
Damien Elmes
cef178ef8c
Add an info box so the non-linear nature of desired retention can be seen
2023-11-06 12:04:31 +10:00
Damien Elmes
4cbb9a36d2
Remove redundant FSRS revlog code
...
Closes https://github.com/open-spaced-repetition/fsrs-rs/issues/113
2023-11-06 09:44:07 +10:00
Damien Elmes
5940bb7921
Clarify 1+ day warning
2023-11-05 14:05:03 +10:00
user1823
b5fdb74abf
(FSRS) Improve presentation of log loss and RMSE ( #2805 )
...
* (FSRS) Improve presentation of log loss and RMSE
The number of decimal places in log loss have been increased from 3 to 4. Can help in better comparison of weights especially when the log loss with both are same up to 3 places of decimal. Also makes it consistent with the Python optimizer.
RMSE has been expressed in percent, making it easier to interpret.
* Fix formatting
---------
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2023-11-05 13:56:20 +10:00
Damien Elmes
209e12362d
Update translations
2023-11-05 13:45:07 +10:00
Damien Elmes
f2c33e19d8
weights -> parameters
...
Closes #2807
2023-11-05 13:44:40 +10:00
Damien Elmes
c22cf9fc50
Handle stability < 0.5 in stability graph
2023-11-05 13:44:39 +10:00
RumovZ
496b2404e7
Fix overflowing filenames displacing import button ( #2806 )
...
Fixes #2793 .
2023-11-05 12:43:43 +10:00
Damien Elmes
fbf3220658
Fix webengine remote debugging in Qt6
...
https://github.com/ankitects/anki/pull/2806
+ Enable remote debugging with run.bat, like in run. It doesn't allow
overriding - someone who better knows .bat scripts will need to handle
that if they need it.
2023-11-05 12:41:17 +10:00
Gustaf-C
5ff618b7ac
Allow creation of empty filtered decks ( #2788 )
...
* Add new button to UI
* Add bool to allow creating empty filtered in back end
* Implement logic into front end for passing on bool
* Hide option on old decks
* Show option again if any settings are changed
* Revert "Show option again if any settings are changed"
This reverts commit 094acd9c65936823fa206594da5c1f3e4eb09248.
* Revert "Hide option on old decks"
This reverts commit d20a9a240b4fd85d080e8cc52d94318416ca753f.
* Update string
* Update ftl/core/decks.ftl
---------
Co-authored-by: Damien Elmes <dae@users.noreply.github.com>
2023-11-05 12:23:14 +10:00
Damien Elmes
abd4e01ac9
Fix add-ons screen showing 'requires Anki >= 2.1.231000'
2023-11-05 11:16:09 +10:00
Damien Elmes
64e07c1640
Bump version to 23.10.1
2023-11-04 11:48:25 +10:00
Damien Elmes
c5e81884d2
Update translations
2023-11-04 11:47:28 +10:00
Damien Elmes
2c153e918b
Prompt user to save preset changes before they compute weights
...
Closes #2797
2023-11-04 11:46:29 +10:00
Damien Elmes
5fa64e8f55
Move 'review' out of 'no need to translate' section
2023-11-04 08:45:02 +10:00
Damien Elmes
304726fcb5
Give users a hint when they try to build from a source tarball
2023-11-04 08:35:44 +10:00
Damien Elmes
9841964e3c
Fix 'creating backup' showing for longer than necessary
2023-11-03 22:18:30 +10:00
Damien Elmes
949509ca03
Add tooltip to mask editor button
2023-11-03 21:55:38 +10:00
Damien Elmes
febde8136b
Split sidebar review string
...
https://forums.ankiweb.net/t/im-trying-to-improve-the-translation-but-i-cant-find-it-in-one-place-please-help-me/35335/19
2023-11-03 21:25:10 +10:00
Damien Elmes
987482ddac
Update translations
2023-11-03 21:20:00 +10:00
Damien Elmes
7c542b1487
Update pip for CVE [action required]
...
If this is not your first time building Anki, remove out/pyenv to
fix the error you'll get after updating to this commit.
2023-11-03 14:21:12 +10:00
Damien Elmes
99dd3673de
Update pip-tools
...
Required for the following commit
2023-11-03 14:19:23 +10:00
Damien Elmes
eb436b4721
Update to PyQt 6.6 on all platforms
...
This bumps the glibc requirement of the Linux Qt6 build
2023-11-03 14:02:03 +10:00
Damien Elmes
aa5ccad26e
Fix panic when enabling FSRS with add-on-rescheduled cards
...
https://forums.ankiweb.net/t/error-upon-fsrs-activation-on-anki-23-10/36488
2023-11-03 10:07:47 +10:00
Damien Elmes
439f5d2922
Update translations
2023-11-02 21:20:55 +10:00
Damien Elmes
5c62092012
Split 'due' translation in deck browser
2023-11-02 21:15:02 +10:00