Commit graph

1583 commits

Author SHA1 Message Date
Damien Elmes
4875d0502e add the ability to disable cert verification 2017-12-07 17:15:20 +10:00
Damien Elmes
54780dcd53 work around pops in recording start
https://anki.tenderapp.com/discussions/ankidesktop/26005-when-recording-sound-on-mbp

on my machine, the pops start around sample 2048 of a 44.1khz recording,
and only for the first recording after the audio hardware has gone to
sleep
2017-12-05 11:07:52 +10:00
Damien Elmes
857c9a5cea bump version 2017-12-04 12:58:29 +10:00
Damien Elmes
4f154f75bd ignore editor shortcuts when no field focused 2017-12-04 12:53:28 +10:00
Damien Elmes
5f787d6d3c play question audio when preview set to 'show both sides' 2017-12-04 12:45:22 +10:00
Damien Elmes
b2c2cbf421 fix time translation patch 2017-12-04 12:33:23 +10:00
Damien Elmes
7c520c55df night mode 2017-12-04 12:20:56 +10:00
Damien Elmes
87145f6636 make sure to preserve focus when reloading on editFocusLost 2017-12-04 12:03:01 +10:00
Damien Elmes
7fbbee43e6 add catalan 2017-12-03 16:06:56 +10:00
Damien Elmes
a3ad4f13ab Merge branch 'master' of github.com:dae/anki 2017-12-01 17:05:20 +10:00
Damien Elmes
8f67ad0e9a 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
b821c70929 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
e28984d6d0 move overflow-wrap into body, apply to editor too 2017-11-29 16:19:34 +10:00
Damien Elmes
f010bbc80a force break word when it hits the reviewer margin 2017-11-28 09:52:56 +10:00
Damien Elmes
78a3cc7370 note media check stage in sync dialog 2017-11-27 11:21:03 +10:00
Damien Elmes
63c03eea83 bump version 2017-11-27 11:17:42 +10:00
Damien Elmes
c32690a5d0 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
e3a29ac3d1 accept current and future mnemosyne imports 2017-11-27 10:49:38 +10:00
Damien Elmes
b632a1805d 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
e36e112097 Merge pull request #216 from Derbeth/translation
Allow to better translate add-ons dialog
2017-11-20 14:07:01 +10:00
Piotr Kubowicz
a9a406c860 Allow to better translate add-ons dialog 2017-11-19 10:28:04 +01:00
Damien Elmes
3cda126717 bump version 2017-11-17 17:35:36 +10:00
Damien Elmes
a97f1d87ff detect image extension, catch errors, add timeout 2017-11-17 17:30:01 +10:00
Damien Elmes
e673e642ac 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
ee4e1cadbf 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
cf3da168a8 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
7d9530377e bump version 2017-11-11 12:15:38 +10:00
Damien Elmes
1631160ddc favour most recent modified when importing template changes 2017-11-11 12:11:45 +10:00
Damien Elmes
49fb1f072d 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
97833c71ad 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
3447d4408d 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
3da4b9f60e bump version 2017-10-27 18:07:29 +10:00
Damien Elmes
24d8af5271 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
87d19a2619 bump version 2017-10-26 19:57:47 +10:00
Damien Elmes
378429927e 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
60bab2ddbc fix hang on internal paste due to shadowed var 2017-10-26 11:45:05 +10:00
Damien Elmes
9feaa30212 fix arg name 2017-10-26 11:44:51 +10:00
Damien Elmes
ffcd0833be bump version 2017-10-25 20:47:00 +10:00
Damien Elmes
93ecd17703 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
d1421edb4f 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
86c50f067c 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
e0d5955261 clear audio queue when showing answer
fixes question audio playing again on answer
2017-10-25 19:00:24 +10:00
Damien Elmes
d35210c42b don't leave a wav file lying around when recording 2017-10-25 18:35:39 +10:00
Damien Elmes
4cabea6801 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
a8298c8e96 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
d395fa04b6 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
809a873d16 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
c17e717920 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
e0461483a2 Merge branch 'master' of github.com:dae/anki 2017-10-20 11:26:15 +10:00
Damien Elmes
664135fe4b Merge pull request #214 from krassowski/cleanup
Clean up reviewer code from unused code
2017-10-20 11:26:01 +10:00