Damien Elmes
fccfdef73d
add a flag to keep editor buttons enabled when no field selected
2017-12-08 21:06:16 +10:00
Damien Elmes
774c19e83e
add the ability to disable cert verification
2017-12-07 17:15:20 +10:00
Damien Elmes
39c0a57b13
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
341da7385a
ignore editor shortcuts when no field focused
2017-12-04 12:53:28 +10:00
Damien Elmes
c451141f97
play question audio when preview set to 'show both sides'
2017-12-04 12:45:22 +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
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
9e5b909070
note media check stage in sync dialog
2017-11-27 11:21:03 +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
Piotr Kubowicz
674d45a606
Allow to better translate add-ons dialog
2017-11-19 10:28:04 +01: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
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
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
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
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
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
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
a6391bbe8c
ctrl+d to deselect all in tag picker
2017-10-16 15:31:29 +10:00
Damien Elmes
ed151de19b
don't die on _anki.png et al
...
https://anki.tenderapp.com/discussions/beta-testing/747-anki-210-beta-16/page/2#comment_43769227
2017-10-16 15:02:16 +10:00
krassowski
e21de9ed7e
Setup shortcuts after setting-up web.
2017-10-11 18:51:26 +00:00
Damien Elmes
d8d6430ec7
fall back to mplayer if mpv not found or too old
...
ubuntu 14.04 looks to be using an ancient mpv version
2017-10-05 17:24:55 +10:00
Damien Elmes
33c5b5f9e7
remove lodpi hack, don't assume physical DPI is always 72
2017-10-05 16:42:46 +10:00
Damien Elmes
3840f012be
catch errors caused by old mpv versions
2017-10-05 15:46:20 +10:00
Damien Elmes
0b15a4a3b3
show field numbers for easier positioning
2017-10-05 14:52:05 +10:00
Damien Elmes
7b844d12cb
increase default number of backups; don't put in trash
2017-10-05 14:39:47 +10:00
Damien Elmes
f7062ff0c6
user-friendly warning when mpv missing
2017-10-05 13:48:24 +10:00
Damien Elmes
e1a4c52175
pass opts to main window; force zoom factor to 1 on lodpi
2017-10-03 12:12:57 +10:00
Damien Elmes
78d7ae388e
make sure we clear the queue when previewing attached
2017-10-02 17:21:34 +10:00
Damien Elmes
d530134218
option to disable qt's hidpi scaling
...
https://anki.tenderapp.com/discussions/beta-testing/765-problem-with-the-ui-of-anki
2017-10-02 16:26:23 +10:00
Damien Elmes
7dc8f82906
mpv support
2017-09-30 19:29:48 +10:00
Damien Elmes
fad6b244cd
normalize filenames in colpkg import
2017-09-30 19:29:21 +10:00
Damien Elmes
fff49a1370
Merge pull request #211 from krassowski/master
...
Allow to run App&GUI without entering the main event loop
2017-09-26 13:21:59 +10:00
krassowski
755c9487c9
Add docstring explaining introduced arguments of _run()
2017-09-23 15:01:29 +00:00
krassowski
b863d7972c
Allow to run App&GUI without entering the main event loop
2017-09-21 03:02:39 +00:00
Damien Elmes
6007cf5e3a
add missing shortcuts back to advanced menu
2017-09-19 17:07:28 +10:00
Damien Elmes
1842db2a8f
work around python not handling non-latin hostname
...
https://anki.tenderapp.com/discussions/beta-testing/763-anki-does-not-seem-to-start-on-windows-10
2017-09-16 12:19:44 +10:00
Damien Elmes
5deb75f5c4
preserve user_files folder in add-ons
2017-09-10 18:53:47 +10:00
Damien Elmes
0bc4a1a220
replace _ with space in add-on names
2017-09-10 17:02:32 +10:00
Damien Elmes
905bd10efe
use documents instead of desktop as default location
...
have observed users doing a collection export to their desktop, then
thinking that double clicking the collection file was the way to
start Anki in the future
2017-09-10 17:01:52 +10:00
Damien Elmes
0c80b5454f
use separate .colpkg extension for collection exports
...
- allows translations of filename
- allows users to keep multiple collection exports in the same folder
- provides a clearer distinction between deck and collection packages
- the collection/backup .apkg special cases will continue to work in
future 2.1.x releases
2017-09-10 16:58:55 +10:00
Damien Elmes
b454d6f169
default to desktop in getSaveFile; don't force desktop in stats
2017-09-10 16:42:29 +10:00
Damien Elmes
1e2f934480
allow user to pick graph save location
2017-09-10 15:50:34 +10:00