Damien Elmes
358e337796
don't reschedule repeating timers that occur during progress
...
For things like updating the deck list, it makes no sense to do it
multiple times at the end of a long operation, and the once/second signal
timer was causing hundreds or thousands of 100ms timers to be created.
https://forums.ankiweb.net/t/anki-memory-usage/3842
2020-09-30 11:18:03 +10:00
Damien Elmes
5c73ec9262
Merge pull request #769 from abdnh/escape-sidebar-terms
...
Escape browser sidebar search terms
2020-09-30 11:17:44 +10:00
Damien Elmes
2737e7fcfd
backups no longer happen on each sync
...
https://forums.ankiweb.net/t/accidentally-deleted-backs-one-deck/3740/6
2020-09-30 11:17:26 +10:00
Damien Elmes
d881506ba2
fix old content appearing when flagging
...
https://forums.ankiweb.net/t/very-specific-but-quite-consistent-bug-in-browser/3685
2020-09-30 11:17:22 +10:00
Damien Elmes
0c19c192a5
fix import shortcut
...
https://forums.ankiweb.net/t/anki-2-1-34-35-beta/3569/21
2020-09-30 11:17:17 +10:00
Damien Elmes
b1c4ac4c33
Merge pull request #768 from abdnh/previewer-multi-select
...
Fix previewer not refreshing when selecting multiple cards in browser
2020-09-30 11:10:41 +10:00
Damien Elmes
6fd53b67e5
bump version
2020-09-30 11:10:18 +10:00
Damien Elmes
8af8f565be
allow dragging of images in review screen again
...
when we were using webkit+file URLs, this deleted files from the
media folder! But we're behind a HTTP server now, so this should
be safe.
https://forums.ankiweb.net/t/no-longer-able-to-copy-latex-output/3128/5
originally disabled in
dd4bae6e8d
2020-09-22 10:30:18 +10:00
Damien Elmes
72496faa40
Merge pull request #761 from kelciour/linux-audio-stops-working
...
Revert mpv back to listening for idle callback
2020-09-22 08:35:08 +10:00
Damien Elmes
e5e5a8ad39
Merge pull request #758 from hgiesel/synchook
...
Add sync_will_start and sync_did_finish hook
2020-09-22 08:35:03 +10:00
Damien Elmes
21eb095b3b
Merge pull request #760 from abdnh/extended-drop
...
Support extended drag & drop
2020-09-22 08:34:55 +10:00
Damien Elmes
1368be79a0
another showDupes fix from ANH
...
https://forums.ankiweb.net/t/show-duplicates-not-working/2883/10
2020-09-22 08:33:36 +10:00
Damien Elmes
98d803424b
sound tags need filename html escaped
...
https://forums.ankiweb.net/t/unable-to-play-longer-audio-on-cards/1313/30
2020-09-22 08:33:20 +10:00
Damien Elmes
b6f44deb13
Revert "Merge pull request #749 from ANH25/editor-media-autoplay"
...
This reverts commit 9aa3d7867e , reversing
changes made to c3a1acb524 .
https://github.com/ankitects/anki/pull/749#issuecomment-686385112
2020-09-22 08:32:53 +10:00
Henrik Giesel
2f68293c74
Some minor reformatting to satisfy black
2020-08-31 13:50:59 +02:00
Henrik Giesel
5e4324accb
Address broken translations and increase readibility of button insertion
2020-08-31 13:40:42 +02:00
Henrik Giesel
89caa6ef75
Remove unnecessary import
2020-08-31 13:35:18 +02:00
Henrik Giesel
a1b5acd46a
Fix type signature: models is passed because it's a method
2020-08-31 13:35:18 +02:00
Henrik Giesel
90f0df2a52
Remove duplicated buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
3287c42ace
Don't import models in gui_hooks to avoid circular import
2020-08-31 13:35:18 +02:00
Henrik Giesel
ea787c73a5
Fix uninitialized buttons object
2020-08-31 13:35:18 +02:00
Henrik Giesel
633d769490
Add compiled hook model_did_init_buttons
2020-08-31 13:35:18 +02:00
Henrik Giesel
ad27e0149a
Add usage in models.py
2020-08-31 13:35:18 +02:00
Henrik Giesel
0d1b90e512
Add gui_hook models_did_init_buttons
2020-08-31 13:35:01 +02:00
Henrik Giesel
0c3fad7386
Add unused add_button method
2020-08-31 13:33:59 +02:00
Damien Elmes
a517accee3
update to latest black
2020-08-31 13:29:28 +10:00
Damien Elmes
603210149c
update to latest isort, pylint and pytest
2020-08-31 12:05:36 +10:00
Damien Elmes
20432ccecf
fix new pylint raise-missing-from lint
2020-08-31 12:04:14 +10:00
Damien Elmes
ec6164c807
Merge pull request #751 from ANH25/addon-config-editor-title
...
Remove unicode isolation markers from add-on config editor title
2020-08-31 11:10:44 +10:00
Damien Elmes
819dce3ab6
bump version
2020-08-31 11:07:54 +10:00
ANH
9eb11b53d5
remove unicode isolation markers from add-on config editor title
2020-08-31 00:35:17 +03:00
Damien Elmes
3f403040db
fix card.template() in card layout screen
...
https://forums.ankiweb.net/t/card-template-does-not-work-when-called-in-card-will-show-hook-in-template-editor/2798
2020-08-30 11:23:44 +10:00
Damien Elmes
3bd85bf180
add some names to about screen
...
a reminder that anyone who's contributed is welcome - please just
send a PR adding yourself
2020-08-27 11:24:13 +10:00
Damien Elmes
9aa3d7867e
Merge pull request #749 from ANH25/editor-media-autoplay
...
Only autoplay added media when recording in editor
2020-08-27 10:37:42 +10:00
Damien Elmes
c3a1acb524
Merge pull request #745 from ANH25/reviewer-context-menu-shortcut
...
add shortcut for reviewer context menu
2020-08-27 10:33:22 +10:00
ANH
28d86ab8d1
editor: only autoplay added media when recording
2020-08-26 14:49:19 +03:00
Damien Elmes
05efefeff9
Merge pull request #748 from ANH25/drag-and-drop
...
fix drag & drop issue when dropping things over existing content
2020-08-26 08:38:48 +10:00
Damien Elmes
2e328fd6cb
formatting
2020-08-26 08:36:08 +10:00
Damien Elmes
5355c3c25e
fix description in export screen (thanks to ANH)
...
https://forums.ankiweb.net/t/anki-2-1-31-exporting-display-bug/2669/3
2020-08-26 08:33:35 +10:00
Damien Elmes
068eca5319
bigger default window size
...
https://forums.ankiweb.net/t/increase-the-standard-window-size-so-all-buttons-are-visible/2613
2020-08-26 08:06:46 +10:00
Damien Elmes
7e6a65ed3d
bump version
2020-08-26 08:05:45 +10:00
ANH
cc17b4db62
fix drag & drop issue when dropping things over existing content
2020-08-25 17:28:13 +03:00
Damien Elmes
dee7d45d8b
fix signup link
2020-08-25 13:29:02 +10:00
Damien Elmes
7d7c791504
bump version
2020-08-24 11:28:22 +10:00
ANH
9cf07a98c2
add shortcut for reviewer context menu
2020-08-23 17:46:47 +03:00
Damien Elmes
2291f9a9fb
'cards' instead of 'notes' in export
...
thanks to hgiesel; closes #744
2020-08-23 13:48:20 +10:00
Damien Elmes
2a8a4e9780
fix formatting & lint
2020-08-21 12:36:18 +10:00
Damien Elmes
45fd52d49a
Merge pull request #735 from brownbat/master
...
Add hook for initializing answer buttons
2020-08-21 12:34:14 +10:00
Damien Elmes
b47654fed7
fix formatting
2020-08-21 11:45:14 +10:00
Damien Elmes
e346533b7a
Merge pull request #742 from evandroforks/fix_ts_sass
...
Fix error reading scss;..\aqt_data\web: no such file or directory
2020-08-21 11:44:55 +10:00