Damien Elmes
3988010aa2
avoid bumping mtime when correcting card eases on upgrade
...
The USN is still set, which should cause the cards to sync in the
non-conflict case, but if changes have been made on other devices
the ease fix will not take priority, as we could be overwriting the
reviews of someone who has not synced in a while.
2021-01-30 13:40:20 +10:00
Damien Elmes
d63bc24c0d
suggest DB check if HTTP status 400 is returned
2021-01-30 13:39:10 +10:00
Damien Elmes
6d7734c13b
fix finished screen not showing when learning cards due later
2021-01-30 13:38:21 +10:00
Damien Elmes
40e57011f6
refresh new/rev counts when fillNew/fillRev() fails
...
This was the behaviour before, but got lost when ._reset_counts() was
added. Also added the check back to schedv2:fillRev(), which also
appears to have gotten lost in the move to ._reset_counts()
Just a stop-gap fix until this code can get a proper rewrite.
2021-01-30 13:37:23 +10:00
Damien Elmes
d043a5ed26
skip the schema warning on template rename
...
https://forums.ankiweb.net/t/unnecessary-full-upload-notification/6611
2021-01-30 13:35:23 +10:00
Damien Elmes
cd4f5a41fc
restore shortcuts that got lost in Fluent conversion
...
They were missed as they were not marked 'notr'.
https://forums.ankiweb.net/t/home-and-end-keys-no-longer-work-in-browse-window/6524
2021-01-30 13:35:00 +10:00
Damien Elmes
0c09f2bb63
drop basicCheck()
...
It can considerably slow down syncing on large collections
2021-01-30 13:33:38 +10:00
Damien Elmes
84977821a6
use '<=' when merging UnchunkableChanges
...
Prevents current tests from failing when testing locally, due the current
second not changing between syncs.
2021-01-30 13:32:07 +10:00
Damien Elmes
846fe1c528
Merge pull request #908 from hgiesel/easereset
...
Reset ease to 0 for after rescheduling cards as new
2021-01-30 13:31:04 +10:00
Damien Elmes
cf8285636e
fix reposition not honoring provided order, and add unit test
2021-01-30 13:30:43 +10:00
wallgrenen
d35c37b458
replace broken link
2021-01-30 13:29:55 +10:00
Damien Elmes
3bbe3e89c9
Merge pull request #901 from wallgrenen/replace-broken-link
...
replace broken help link
2021-01-30 13:29:44 +10:00
Damien Elmes
5dc8bc251a
fix unhandled sync error
...
Thanks to Abdo:
https://forums.ankiweb.net/t/sync-anki-on-desktop-error/6299/2
2021-01-30 13:29:17 +10:00
Damien Elmes
d71a5e0917
no need to log card resets when exporting
2021-01-30 13:29:08 +10:00
Damien Elmes
da50e40249
Merge pull request #887 from BlueGreenMagick/deck-rename-checkpoint
...
don't set checkpoint when deck rename is cancelled
2021-01-30 13:28:26 +10:00
Damien Elmes
5841fa8a83
Merge pull request #884 from BlueGreenMagick/refresh-deckchooser
...
refresh deck browser after renaming deck in browser sidebar
2021-01-30 13:27:40 +10:00
Damien Elmes
56a964a389
remove old symlink before installing a new version
...
https://forums.ankiweb.net/t/ubuntu-command-anki-not-found/6083/4
2021-01-30 13:26:06 +10:00
Damien Elmes
530e429b21
fix typo in docs
...
Thanks to Gustavo for the report
Closes #876
2021-01-30 13:26:06 +10:00
Damien Elmes
0b017b89b0
Merge pull request #875 from stayingpeachy/help-link
...
Update help link
2021-01-30 13:26:06 +10:00
Damien Elmes
8424cd1e25
Merge pull request #866 from guillem-palau-salva/master
...
Update consts.py
2021-01-30 13:23:34 +10:00
Damien Elmes
a52ebcd050
Merge pull request #872 from RumovZ/fix-deck-check
...
Fix deck check and thus blue sync arrow bug
2021-01-30 13:23:23 +10:00
Damien Elmes
9cc67bfc65
fix legacy js remapping
...
Thanks to Henrik for catching it.
2021-01-30 13:23:07 +10:00
Damien Elmes
967badc56d
update translations
2021-01-30 13:21:58 +10:00
Damien Elmes
e124de72c5
update prost to new 0.7 release+auto stage changes
...
Allows us to drop slow git repo.
2021-01-30 13:21:41 +10:00
Damien Elmes
355e4cd519
use PYTHON_SYS_EXECUTABLE for setting path to Python
2020-12-23 21:53:13 +10:00
Damien Elmes
5dd0eaf0a2
update translations; use http_archive
2020-12-23 21:28:07 +10:00
Damien Elmes
f6318af59b
convert some more git repositories to HTTP archives
...
Faster to download, and can be cached. Archives are from the
same commits as before.
2020-12-23 20:43:05 +10:00
Damien Elmes
38614ab047
winrt 1.0.20239.1 isn't available for python 3.9
2020-12-23 20:31:13 +10:00
Damien Elmes
9f1bd14527
use protobuf binaries to reduce initial compile times
2020-12-23 19:49:44 +10:00
Damien Elmes
7a3e21daad
revert docs change; rollup issues occurred again in CI
2020-12-23 16:27:45 +10:00
Damien Elmes
02d7e55f9b
update to rules_nodejs 3.0.0
...
Seems to fix the rollup issues on Windows.
2020-12-23 16:05:15 +10:00
Damien Elmes
c4382e38a1
update to stable pyo3 0.13 release
2020-12-23 10:08:38 +10:00
Damien Elmes
72baccd423
update Rust deps
2020-12-23 10:06:35 +10:00
Damien Elmes
398e7d7845
update translations
2020-12-22 13:30:39 +10:00
Damien Elmes
32093bb428
further decrease default q/a fade time
2020-12-22 13:02:07 +10:00
Damien Elmes
0a633160c5
add video driver enum; allow setting angle+software on mac in prefs
2020-12-22 13:01:06 +10:00
Damien Elmes
b48451610f
fix sync indicator turning blue after startup sync
...
https://forums.ankiweb.net/t/why-is-my-sync-button-blue/2078/26?u=dae
2020-12-22 10:46:50 +10:00
Damien Elmes
86108cca55
mention deleting ts/node_modules in the docs
...
https://forums.ankiweb.net/t/strange-behaviour-in-the-html-editor/5796/6
2020-12-22 09:29:30 +10:00
Damien Elmes
d600bd5800
update translations
2020-12-21 20:13:17 +10:00
Damien Elmes
7fbd7ec763
build wheels in Linux CI
2020-12-21 19:31:15 +10:00
Damien Elmes
212b251334
tag the wheels as manual so test ... doesn't build them
2020-12-21 19:28:47 +10:00
Damien Elmes
73679b03e7
possible fix for sync button colour blue after sync
...
If the client's clock is behind AnkiWeb's, even by a few seconds,
we can end up with a situation where last_begin_at is updated after
the sync to a value less than the mtime we received from AnkiWeb,
causing the collection to be saved, which bumps the modtime.
Work around this by recording mtime at begin() time, and seeing if it
has changed in either direction.
Thanks to Rumo, who did the hard work looking into it:
https://forums.ankiweb.net/t/why-is-my-sync-button-blue/2078/21
2020-12-21 19:27:26 +10:00
Damien Elmes
c18ea8ef78
Merge pull request #859 from hgiesel/tabindex2
...
Consider removing special handling of Shift+Tab in Editor on macOS
2020-12-21 18:38:35 +10:00
Damien Elmes
256db85577
work around --text-fg ending up in fields
...
https://forums.ankiweb.net/t/strange-behaviour-in-the-html-editor/5796/4
2020-12-21 17:56:20 +10:00
Damien Elmes
64173b5c02
.prettierrc needs to be in web/, as it's needed for sass as well
2020-12-21 17:05:31 +10:00
Henrik Giesel
2ae4d14bc5
Focus special handling of Shift+Tab on macOS
2020-12-21 08:00:47 +01:00
Damien Elmes
7d1c8c29f9
add a small delay before terminating recording
...
https://forums.ankiweb.net/t/anki-crashes-periodically-after-clicking-record-audio-button/5824/12
2020-12-21 16:37:28 +10:00
Damien Elmes
729293f5e3
remove voice recording fixme
2020-12-21 16:13:32 +10:00
Damien Elmes
4e1d57e2d2
check formatting of .js files in aqt/data
...
mathjax.js did not match //ts:format output
2020-12-21 16:10:59 +10:00
Damien Elmes
65a35fef55
link .prettierrc into qt/aqt/data/web/js
...
So automatic formatting in VS Code matches CI format
2020-12-21 16:09:06 +10:00