Damien Elmes
7d62b186f8
disable proxy support if 127.0.0.1 is not bypassed
...
There doesn't appear to be an easy way to tell WebEngine to ignore
the proxy for 127.0.0.1, so if the user has not bypassed the proxy
for local addresses, completely disable it. This may break remote
image and script references, but should at least allow the app to
load without intervention.
2018-10-11 15:49:04 +10:00
Damien Elmes
63661713df
use 127.0.0.1 instead of localhost in local urls
2018-10-11 15:45:55 +10:00
Gabriel McManus
893ebfab60
Properly escape pasted URLs
...
If a URL is pasted and it isn't converted to a media link, then it
should be treated as normal text and properly escaped.
2018-09-29 00:47:45 +00:00
Damien Elmes
c535783091
increase overview width
...
fixes wrapped button on
https://anki.tenderapp.com/discussions/ankidesktop/29948-214-bugs
2018-09-28 17:54:43 +10:00
Damien Elmes
2868ec0e8b
catch js results that are received after collection closed
2018-09-28 16:27:41 +10:00
Damien Elmes
8489f84937
catch .anki(2) imports
2018-09-27 11:35:21 +10:00
Damien Elmes
f3a6472c5c
fix error when review button deselected
...
https://anki.tenderapp.com/discussions/ankidesktop/29882-selecting-a-button-and-enter-or-space-always-chooses-good
2018-09-26 16:31:31 +10:00
Damien Elmes
e2d133525e
support newlines in type:cloze, and convert them to spaces
...
https://anki.tenderapp.com/discussions/ankidesktop/29747-empty-cards-when-trying-to-type-in-cloze-deletions
2018-09-24 17:44:34 +10:00
Damien Elmes
9ba8f9784d
add rowChanged hook and ensure singleCard attr exists
2018-09-24 17:29:19 +10:00
Damien Elmes
8775314e36
use custom mpv config folder
...
not the first time the default location has caused problems for users
https://anki.tenderapp.com/discussions/ankidesktop/29531-bug-ankis-version-of-mpv-loads-mpvconf-from-configmpv-on-macos
2018-09-24 16:26:08 +10:00
Damien Elmes
0d6d7b9bad
print early tracebacks to console
2018-09-24 16:24:11 +10:00
Damien Elmes
6e9276e5a3
add missing translation line
2018-09-24 14:48:08 +10:00
Damien Elmes
41caa8ccbc
add Arman to about
2018-09-24 14:46:44 +10:00
Damien Elmes
49096da7f8
enter/space should use selected answer button
...
https://anki.tenderapp.com/discussions/ankidesktop/29882-selecting-a-button-and-enter-or-space-always-chooses-good
2018-09-24 14:24:17 +10:00
Damien Elmes
dfd23f6a41
use anki requests client for common user agent name
...
some websites are blocking access from the generic requests UA - now
they can choose whether they wish to block Anki or not
2018-09-19 23:49:56 +10:00
Damien Elmes
ae3c0416db
fix catch of access denied error
2018-09-17 23:38:19 +10:00
Damien Elmes
aef584f0a8
don't force qFade when hardware accel available
...
https://anki.tenderapp.com/discussions/ankidesktop/29599-disable-fade-animation-in-anki-21
2018-09-10 13:33:08 +10:00
Damien Elmes
504ee75c8e
fix deck list getting stuck when building filtered deck
...
issue is trying to move to the overview screen before the callbacks
on the deck overview screen complete - "fix" it for now by remaining
on the deck list
2018-09-05 20:02:40 +10:00
Damien Elmes
d976bf913e
prevent new users from downloading accidentally
2018-09-05 19:53:41 +10:00
Damien Elmes
18a7fb9dcd
prioritize marked/flagged card colour over suspended colour
2018-09-05 16:55:26 +10:00
Damien Elmes
36b763e45f
Merge pull request #251 from upday7/master
...
disable form.viewPage button when add-on was not downloaded from AnkiWeb
2018-09-02 18:03:14 +10:00
root
77e6b395e5
specify exception; convert match result to None
2018-08-31 15:13:06 +08:00
root
8aa27dcdf5
disable form.viewPage button when add-on was not downloaded from AnkiWeb
2018-08-31 14:56:16 +08:00
Glutanimate
2f58152f13
Try to more closely imitate native widget theming on Linux
...
Renames stdHtml buttonspec to widgetspec, and applies a number of Linux-
specific adjustments, including:
+ updated button designs that more native/modern
+ updated widget focus colors that follow the theme
default color palette
2018-08-30 22:07:06 +02:00
Damien Elmes
f699ebb370
add hw accel toggle to prefs
2018-08-30 13:39:04 +10:00
Damien Elmes
a8ce102916
disable question fade when using software rendering
2018-08-30 13:26:08 +10:00
Damien Elmes
36b2a889cc
Merge pull request #249 from lins05/front-preview-type-input-readonly
...
make the "type:" input readonly in the front preview
2018-08-29 10:35:21 +10:00
Damien Elmes
df280783b3
don't repeat shortcuts when key held down
...
https://anki.tenderapp.com/discussions/ankidesktop/29405-space-bar-repeat-problem
2018-08-29 10:07:33 +10:00
Shuai Lin
055c98f883
make the "type:" input readonly in the front preview
2018-08-28 09:01:17 +08:00
Damien Elmes
30f9d1e9c4
handle 'jpg' and leading space in inlined images
2018-08-20 13:02:30 +10:00
Damien Elmes
290fd34699
handle conf group with string id
...
https://anki.tenderapp.com/discussions/ankidesktop/29112-cant-delete-a-deck
2018-08-09 15:03:19 +10:00
Damien Elmes
f2b5c8a862
support specifying gfx driver in profile folder
...
We need to set the OpenGL mode prior to Qt initialisation, but
want to fetch the current driver from the profile manager - and
the profile manager required Qt to already be set up.
Work around this by moving away from QStandardPaths in favour of
a pure Python module. The profile manager now does early setup
using winpaths, and we defer most of the setup until Qt has been
initialised.
Also we install a message handler to catch OpenGL initialisation
errors, and automatically switch to the next driver so users
don't need to manually change the driver.
The --hwaccel option has been removed, as it is no longer necessary.
2018-08-08 23:48:25 +10:00
Damien Elmes
91983ce21f
fix winpaths for py3
2018-08-08 23:31:18 +10:00
Damien Elmes
8470e072b6
bundle winpaths
2018-08-08 23:30:41 +10:00
Damien Elmes
6cc9b5cde4
favour urls over images in local file case
...
fixes copying&pasting from finder pasting icons instead of actual image
https://anki.tenderapp.com/discussions/ankidesktop/29082-found-several-issues-in-anki-21
2018-08-08 12:46:51 +10:00
Damien Elmes
a389987530
fix images not pasting as links
2018-08-08 12:45:59 +10:00
Damien Elmes
23a3413c23
don't save window geom when window is fullscreen
...
fixes windows being shown in extra workspaces instead of tabs on osx
https://anki.tenderapp.com/discussions/ankidesktop/29094-anki-21-issue
2018-08-08 12:30:58 +10:00
Damien Elmes
7074893af7
rewrite data uris from html pastes as well
2018-08-08 11:38:45 +10:00
Damien Elmes
0acf9b38a4
support rtl text in sort field in browser
2018-08-08 10:39:54 +10:00
Damien Elmes
2fec9248f8
fix exporting not working with regular scheduler
2018-08-07 14:27:48 +10:00
Damien Elmes
a1d1ea9b23
shortcut to mhchem
2018-08-06 13:17:57 +10:00
Damien Elmes
9fd085af37
don't unmaximize when showing browser
...
https://anki.tenderapp.com/discussions/beta-testing/1228-anki-210-release-candidate/page/2#comment_45812673
2018-08-01 21:11:35 +10:00
Damien Elmes
c840364cd3
add webm
2018-07-30 12:06:38 +10:00
Damien Elmes
cbf3240203
Merge pull request #248 from glutanimate/addon-onconfigupdated
...
Extend add-on API with setConfigUpdatedAction
2018-07-28 18:50:29 +10:00
Damien Elmes
ae46bfa8d1
support dynamic sync url
2018-07-28 18:08:16 +10:00
Glutanimate
8ce7c00d54
Pass new config on to add-on
2018-07-28 09:25:38 +02:00
Glutanimate
ee3357a943
Only update config if actually modified
2018-07-28 09:09:17 +02:00
Glutanimate
8935b99188
Extend add-on API with setConfigUpdatedAction
...
Allows add-on authors to define an action to be performed upon
manual editing of the add-on configuration through the ConfigEditor
2018-07-28 09:00:49 +02:00
Damien Elmes
c15df04622
remove beta warning
2018-07-28 16:44:23 +10:00
Damien Elmes
099bd045d0
default to software rendering on Windows/Linux
2018-07-28 16:43:19 +10:00