Commit Graph

1579 Commits

Author SHA1 Message Date
Damien Elmes
c451141f97 play question audio when preview set to 'show both sides' 2017-12-04 12:45:22 +10:00
Damien Elmes
c67fc3e769 fix time translation patch 2017-12-04 12:33:23 +10:00
Damien Elmes
fcccf12ba6 night mode 2017-12-04 12:20:56 +10:00
Damien Elmes
15e102e047 make sure to preserve focus when reloading on editFocusLost 2017-12-04 12:03:01 +10:00
Damien Elmes
84dd488d21 add catalan 2017-12-03 16:06:56 +10:00
Damien Elmes
7b271381e8 Merge branch 'master' of github.com:dae/anki 2017-12-01 17:05:20 +10:00
Damien Elmes
2c5752420c
Merge pull request #217 from Derbeth/in-time
Allow to better translate "in x minutes"
2017-12-01 17:04:58 +10:00
Piotr Kubowicz
879ca0b72b Allow to better translate "in x minutes"
"There is 1 minute" and "in 1 minute" need to be translated
differently in Slavic languages.

Additionally remove unused afterTimeTable.
2017-11-30 20:03:51 +01:00
Damien Elmes
b85cc4321b move overflow-wrap into body, apply to editor too 2017-11-29 16:19:34 +10:00
Damien Elmes
eda1849c33 force break word when it hits the reviewer margin 2017-11-28 09:52:56 +10:00
Damien Elmes
9e5b909070 note media check stage in sync dialog 2017-11-27 11:21:03 +10:00
Damien Elmes
3bf7f19843 bump version 2017-11-27 11:17:42 +10:00
Damien Elmes
41205bd5ca allow user to override scaling
which may help wth issues like
https://anki.tenderapp.com/discussions/beta-testing/918-text-size-in-ubuntu-1710
and
https://anki.tenderapp.com/discussions/ankidesktop/25708-anki-with-high-dpi-screen
2017-11-27 11:01:15 +10:00
Damien Elmes
77bb67a555 accept current and future mnemosyne imports 2017-11-27 10:49:38 +10:00
Damien Elmes
5ee1ee0450 restore media dir mod check
https://anki.tenderapp.com/discussions/beta-testing/853-anki-210-beta-21/page/1#comment_44071381
2017-11-20 14:22:53 +10:00
Damien Elmes
8c5abe3a13
Merge pull request #216 from Derbeth/translation
Allow to better translate add-ons dialog
2017-11-20 14:07:01 +10:00
Piotr Kubowicz
674d45a606 Allow to better translate add-ons dialog 2017-11-19 10:28:04 +01:00
Damien Elmes
44e88afed0 bump version 2017-11-17 17:35:36 +10:00
Damien Elmes
8e7ef1d1be detect image extension, catch errors, add timeout 2017-11-17 17:30:01 +10:00
Damien Elmes
56444ab967 don't check extension when localizing image sources
fixes https://anki.tenderapp.com/discussions/beta-testing/916-pictures-not-showing-on-iphoneipad-ios11-when-not-connected-to-internet
2017-11-17 16:20:33 +10:00
Damien Elmes
0b3685193d fix crash when deleting nested default deck
https://anki.tenderapp.com/discussions/ankidesktop/25777-bug-report-syn
2017-11-14 13:13:52 +10:00
Damien Elmes
baae899864 don't error if pasted image in temp folder
https://anki.tenderapp.com/discussions/ankidesktop/25805-anki-21-error-reporting
2017-11-13 11:05:46 +10:00
Damien Elmes
64b55f0e55 bump version 2017-11-11 12:15:38 +10:00
Damien Elmes
645f6714d2 favour most recent modified when importing template changes 2017-11-11 12:11:45 +10:00
Damien Elmes
e0d05e49d6 fix broken image links when pasting between fields
https://anki.tenderapp.com/discussions/beta-testing/853-anki-210-beta-21#comment_43959510
2017-11-11 11:51:30 +10:00
Damien Elmes
b6972a22e8 fix stutter when multiple audio files on card on windows
setting playlist pos to 0 was causing half-played sound to restart
2017-11-10 19:52:20 +10:00
Damien Elmes
880243c361 disable main window while collection unloaded
fixes error when pressing y then d in rapid succession
2017-11-01 12:38:43 +10:00
Damien Elmes
905692b2a7 bump version 2017-10-27 18:07:29 +10:00
Damien Elmes
8233021419 fix drag&drop failing to save again
I'm guessing the move to qt 5.9.2 caused this regression
2017-10-27 18:06:21 +10:00
Damien Elmes
3b7c0ff733 bump version 2017-10-26 19:57:47 +10:00
Damien Elmes
6fc7fbc8f2 remove unwanted whitespace in paste filter
libreoffice adds newlines to exported HTML which interfere with cloze
deletion
2017-10-26 16:36:34 +10:00
Damien Elmes
a4d32a1200 fix hang on internal paste due to shadowed var 2017-10-26 11:45:05 +10:00
Damien Elmes
b22548dd4f fix arg name 2017-10-26 11:44:51 +10:00
Damien Elmes
d96517710a bump version 2017-10-25 20:47:00 +10:00
Damien Elmes
1d3e5787a2 separate basic and extended paste modes
- basic mode is the default, and includes only HTML elements that can be
added/edited easily with the default editor
- extended mode is enabled by holding down shift and includes a bunch of
other HTML elements
2017-10-25 20:20:28 +10:00
Damien Elmes
23e0034278 use requests library for media downloads
fixes SSL errors when pasting media from https website
2017-10-25 19:42:20 +10:00
Damien Elmes
554ff3d8d2 drop experimental prewrap mode
- pasting in prewrap mode had been broken for a while and nobody noticed
- needs changes to export code and cloze handling code to deal with the
newlines
- newline rewriting in filterNode() is likely fragile
- may revisit post 2.1
2017-10-25 19:18:00 +10:00
Damien Elmes
c13b19820b clear audio queue when showing answer
fixes question audio playing again on answer
2017-10-25 19:00:24 +10:00
Damien Elmes
6b479fc839 don't leave a wav file lying around when recording 2017-10-25 18:35:39 +10:00
Damien Elmes
4dbb87e4c1 filter out background and font settings in internal paste
should fix
https://anki.tenderapp.com/discussions/beta-testing/842-issue-when-copy-pasting-add-edit-and-browse-windows
and
https://anki.tenderapp.com/discussions/beta-testing/840-copy-paste-in-anki-editor-causes-copied-text-to-include-redundant-tags-which-is-deterimental-to-ux-when-using-night-mode-addon

this change will of course prevent these attributes from being copied
when they were manually included in the field instead of implicitly set
on the parent - I don't see a good way to distinguish between the two
cases
2017-10-25 17:51:22 +10:00
Damien Elmes
48405c0ee7 fix shift+tab on osx again
presumably broke in upgrade to qt 5.9.2
2017-10-25 16:54:24 +10:00
Damien Elmes
d02901fb7a delay setting q/a if previous operation is still running
fixes incorrect formatting when undoing previous review then immediately
hitting enter
2017-10-24 17:09:22 +10:00
Damien Elmes
944bca0f44 fix type answer race condition
user may hit enter before the question has been written, due to fade out
delay
2017-10-24 17:08:36 +10:00
Damien Elmes
1cc29278f2 Revert "avoid setting modality in progress dialog"
This reverts commit 059db539a7.

seems to work correctly in qt 5.9.2
2017-10-20 13:25:38 +10:00
Damien Elmes
eaf09b5093 Merge branch 'master' of github.com:dae/anki 2017-10-20 11:26:15 +10:00
Damien Elmes
180890373a Merge pull request #214 from krassowski/cleanup
Clean up reviewer code from unused code
2017-10-20 11:26:01 +10:00
krassowski
f90f3dbc53 Clean up reviewer code from unused code 2017-10-18 16:12:04 +00:00
Damien Elmes
3df98573b4 fix detection of media links in paste
'.aspx' was matching the 'spx' filter
2017-10-18 21:58:36 +10:00
Damien Elmes
e3885fd924 fix detection of media refs in cloze
https://anki.tenderapp.com/discussions/beta-testing/796-another-check-media-issue
2017-10-18 21:56:57 +10:00
Damien Elmes
a6391bbe8c ctrl+d to deselect all in tag picker 2017-10-16 15:31:29 +10:00