Commit graph

2208 commits

Author SHA1 Message Date
RumovZ
dc80804af6 Do not bury suspended cards (#1447)
* Skip burying for suspended cards

* Inform about number of buried cards

(cherry picked from commit 3cdb3d72c1)
2021-10-26 10:53:24 +10:00
evandrocoan
6687999ec1 Increased max visible items from clayout_top.ui (#1425)
10 is too small for big decks.

(cherry picked from commit 2a12d44b34)
2021-10-26 10:50:22 +10:00
Damien Elmes
902d95bc33 stop migrating from old folder locations
Closes #1390

(cherry picked from commit b85ee30c70)
2021-10-26 10:48:09 +10:00
Damien Elmes
fab2d0b9b3 Revert "Merge pull request #610 from evandroforks/ask_confirmation_before_moving_anki_collection"
This reverts commit a53aac40f8, reversing
changes made to e323a8f902.

Migration is about to be dropped (#1390), and the references to modules
like QtGui complicate a PyQt5/6 shim.

(cherry picked from commit c39a5e17e8)
2021-10-26 10:46:59 +10:00
Abdo
76bd51a7c3 Fix deck change after toggling sticky fields (#1415)
(cherry picked from commit ebe7125e81)
2021-10-26 10:46:59 +10:00
Damien Elmes
6e6b22a791 fix profile save not working on Python 3.10
(cherry picked from commit daf2e0a78f)
2021-10-26 10:31:18 +10:00
Damien Elmes
c7f847ed40 Merge pull request #1391 from sobjornstad/change_note_type_hook
Add hook for selecting a new note type in the add window

(cherry picked from commit 0f48aa4a49)
2021-10-26 10:22:04 +10:00
Damien Elmes
38c7e501e0 Merge pull request #1384 from hikaru-y/fix-previewer-memory-leak
Fix memory leak in previewer

(cherry picked from commit 1cd911ab63)
2021-10-26 10:20:58 +10:00
Damien Elmes
5796470514 Merge pull request #1375 from RumovZ/disable-actions
Disable unusable browser actions on row change

(cherry picked from commit d091a547a4)
2021-10-26 10:18:12 +10:00
Damien Elmes
fb07bad324 Merge pull request #1379 from BlueGreenMagick/dont-fill-empty-on-add-cards
set CardLayout fill_empty=False for add cards editor
2021-09-21 15:23:20 +10:00
Damien Elmes
2772e358e1 add hidden option to disable tooltips in browse screen
https://forums.ankiweb.net/t/browser-text-pop-up-when-hovering-over-card-poll/13254
2021-09-21 15:22:59 +10:00
Damien Elmes
6ae84015aa temporary fix for error on deleting (#1374) 2021-09-21 15:22:55 +10:00
Damien Elmes
e36c23e223 add startup message about forcing Wayland 2021-09-21 15:22:50 +10:00
Damien Elmes
a2ac197fd7 Revert "Merge pull request #1364 from evandroforks/fix_unclosed_python_file"
This reverts commit c05475a49e.

Revert "possible fix for reported audio issues"

This reverts commit f00f7f099f.

Reverting in case https://forums.ankiweb.net/t/2-1-48-release-candidate/13268/10
is related to this change. If the issue persists, we'll know this was
not the cause.
2021-09-21 15:22:46 +10:00
Damien Elmes
466d67ca3a possible fix for reported audio issues
https://forums.ankiweb.net/t/2-1-48-release-candidate/13268/6

This is the only area of the sound code that has changed since 2.1.47
2021-09-16 10:16:15 +10:00
Damien Elmes
e24392231c Merge pull request #1370 from evandroforks/add_missing_none
Fix previous card attribute not initialized
2021-09-15 21:23:41 +10:00
Damien Elmes
1f11981bf4 disable wayland again, but allow enabling it
Will add an entry to the known issues page.
2021-09-14 09:53:34 +10:00
Damien Elmes
af2ec0b9db preserve focus on notetype change
Closes #1360
2021-09-13 16:06:16 +10:00
Damien Elmes
5a0cda07e1 allow wayland again
See #1368
2021-09-13 16:06:16 +10:00
Damien Elmes
17409d9360 don't check state of current card when repositioning
closes #1365
2021-09-13 16:06:16 +10:00
Damien Elmes
d626c74748 Merge pull request #1358 from evandroforks/lastcardinfo
Add option to reveal previous card's info
2021-09-13 16:06:07 +10:00
Damien Elmes
c05475a49e Merge pull request #1364 from evandroforks/fix_unclosed_python_file
Fix ResourceWarning: unclosed file <_io.BufferedWriter name=5>
2021-09-13 16:06:05 +10:00
Damien Elmes
1ae45c5445 quote fonts added via the Add Field dialog 2021-09-02 21:05:16 +10:00
Damien Elmes
ab20f215b1
Merge pull request #1349 from RumovZ/rename-with-parents
Disable 'Rename with Parents' for top-level items
2021-08-30 22:27:44 +10:00
RumovZ
d044360ff9 Disable 'Rename with Parents' for top-level items 2021-08-30 11:10:14 +02:00
RumovZ
3c53a961a3 Reset flags when loading a profile...
... not only on startup.
2021-08-30 11:07:40 +02:00
Damien Elmes
dc156f3471
Merge pull request #1344 from glutanimate/add-dialog-manager-hooks
Add a hook for subscribing to dialog creation / opening
2021-08-29 11:36:11 +10:00
Damien Elmes
395119bafe
Merge pull request #1345 from hgiesel/windowsfocus
Use different artificial reviewer button highlight for Windows
2021-08-29 11:35:32 +10:00
Damien Elmes
e4f8ba000e more checks for package name
Follows up #1343
2021-08-29 11:23:47 +10:00
Henrik Giesel
3b90b27095 Use different artificial reviewer button highlight for Windows 2021-08-28 21:30:07 +02:00
Glutanimate
5eac3b9061 Add a hook for subscribing to dialog creation / opening 2021-08-28 20:37:31 +02:00
bluegreenmagick
20424a7ef7 Fix bug when add-on package string is ""
which deleted the entire add-on folder
2021-08-27 21:49:55 +09:00
Damien Elmes
94a0355389 avoid spurious warning in addcards startup 2021-08-20 11:37:23 +10:00
Damien Elmes
886ce15f27 mark old editing code as deprecated
https://forums.ankiweb.net/t/emacs-style-shortcuts-with-ctrl-t-in-the-editor-in-45/12280/6
2021-08-20 11:37:11 +10:00
Damien Elmes
f6ae0b73be show v3 scheduler in error info 2021-08-20 10:47:41 +10:00
Damien Elmes
79cf49f38d fix default deck being shown in deck options deck prompt 2021-08-19 12:33:36 +10:00
Damien Elmes
d92913eb8c preferences update needs to be a collection op
- fixes https://forums.ankiweb.net/t/v3-bug-card-modified-without-updating-queue/12418
- fixes undo menu not updating after closing preferences screen
2021-08-19 10:47:55 +10:00
Damien Elmes
b9d42af423 add a small .wait() after terminating player process
Avoids python3.8/subprocess.py:942:
ResourceWarning: subprocess 90387 is still running
  _warn("subprocess %s is still running" % self.pid,
2021-08-19 10:33:56 +10:00
Damien Elmes
79fbf9ad3e
Merge pull request #1333 from kelciour/mpv-property-list-timeout
A possible fix for "mpv timed out, restarting"
2021-08-18 16:39:50 +10:00
Damien Elmes
273be14fd3
Merge pull request #1331 from hikaru-y/fix-fragment-autoplay
Fix <audio>/<video> with 'autoplay' issue
2021-08-18 16:37:14 +10:00
Damien Elmes
5296bf0a00 shift timebox check to post-answer
- should prevent non-review actions from triggering display
- should prevent next card's audio from playing before diag. dismissed
- the timer hack should no longer be required, as the webview will
have already been loaded

https://forums.ankiweb.net/t/timebox-pop-up-suddenly-appears-when-daily-cutoff-hour-rolls-over-even-when-not-in-the-reviewer/12385
2021-08-18 16:25:23 +10:00
Damien Elmes
546d32cfda ctrl+alt+n for forget
https://forums.ankiweb.net/t/anki-2-1-44-make-cards-new/12247/7
2021-08-18 15:32:45 +10:00
Damien Elmes
40c1a86a25 add symlink to generated icons.qrc
Otherwise Qt Designer tries to remove the reference.
2021-08-18 15:32:45 +10:00
kelciour
fae816e68e A possible fix for "mpv timed out, restarting"
https://forums.ankiweb.net/t/anki-wont-open-mpv-timed-out/7579/6
2021-08-18 00:47:04 +03:00
hikaru-y
dd9528aa73 Silence 'link preload' warning on the first card
Due to 207e425, a harmless warning about 'link preload' will be output
to the console on the first card.
2021-08-18 02:25:51 +09:00
Arthur Milchior
7568eda031 Add Card history: keep & instead of replacing them by underline 2021-08-15 06:32:03 +02:00
Damien Elmes
57f3d300bb fix deprecation warning in modelchooser.py 2021-08-04 12:05:11 +10:00
Damien Elmes
5de3918dbf fix notetype selection in import screen
Accidental rename in "PEP8 cards.py"
2021-08-04 12:01:28 +10:00
Damien Elmes
fc931c3edb fix redo menu item showing undo text 2021-08-04 10:28:45 +10:00
Henrik Giesel
357a6c5cc6 Add toggle sticky shortcuts F9 and Shift+F9 2021-08-03 05:52:07 +02:00