Commit Graph

1905 Commits

Author SHA1 Message Date
Damien Elmes
1af556cb8d delay event filter installation
Qt 5.11 doesn't initialize the focusProxy until
a page has been loaded.
2018-10-23 16:06:56 +10:00
Damien Elmes
63f2ccdb3a allow startup on qt 5.11 2018-10-23 16:03:27 +10:00
Damien Elmes
5ecd01cc99 support new sip module location
qt has moved sip into a submodule
2018-10-23 16:02:59 +10:00
Damien Elmes
f8e1ebd4fb prevent infinite loop with invalid template 2018-10-20 19:37:01 +10:00
Damien Elmes
b0091053bf don't require collection for top toolbar
This is a hack, and ideally the code would be refactored
so that the entire main window is not loaded until a collection
is available, but doing that will break a bunch of add-ons.

Fixes
https://anki.tenderapp.com/discussions/beta-testing/1276-anki-215-beta#comment_46241878
2018-10-12 12:08:19 +10:00
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
Damien Elmes
5907629406 fix bug in tag deletion
https://anki.tenderapp.com/discussions/ankidesktop/30146-removing-single-letter-tags-also-removes-any-other-tags-with-the-letter
2018-10-07 18:21:51 +10:00
Damien Elmes
943863d463
Merge pull request #257 from jurf/patch-1
Use beautifulsoup4 instead of bs4
2018-10-05 11:02:10 +10:00
Juraj Fiala
42429fc3ee
Use beautifulsoup4 instead of bs4
bs4 is just a dummy package to prevent name squatting, it pulls in beautifulsoup4 as a dependency.

https://incolumitas.com/2016/06/08/typosquatting-package-managers/
2018-10-04 10:49:06 +02:00
Damien Elmes
0d0c6f94e0 use nosetests3 if available 2018-10-04 17:56:50 +10:00
Damien Elmes
a119afed6a
Merge pull request #255 from gmcmanus/master
Properly escape pasted URLs
2018-10-04 17:44:13 +10:00
Damien Elmes
3200eb043e bump version 2018-10-01 15:43:47 +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
5ae73d96d7 bump version 2018-09-28 18:49:38 +10: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
2866248314 add small extra margin to answer button
fixes scrollbar in Japanese mode due to half width counts + full width
times on following screen

https://anki.tenderapp.com/discussions/ankidesktop/29948-214-bugs
2018-09-28 17:52:10 +10:00
Damien Elmes
2868ec0e8b catch js results that are received after collection closed 2018-09-28 16:27:41 +10:00
Damien Elmes
a8cadfdc3b
Merge pull request #254 from giqtaqisi/patch-1
Add support for Lojban
2018-09-27 11:51:42 +10:00
Damien Elmes
8489f84937 catch .anki(2) imports 2018-09-27 11:35:21 +10:00
giqtaqisi
85ca2b412d
add support for Lojban 2018-09-26 16:15:07 +00: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
f246cf1062 strictly enforce maxIvl
https://anki.tenderapp.com/discussions/ankidesktop/29904-bug-in-v2-scheduler-that-allows-exceeding-the-maximum-review-interval
2018-09-25 09:55:46 +10:00
Damien Elmes
15919d6a37 beta version 2018-09-24 19:17:35 +10:00
Damien Elmes
57d7b1f54b fix translation path for packaged builds on Linux 2018-09-24 18:23:57 +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
71053fcea9 increase db timeout
possible workaround for 'database is locked' when switching
from WAL mode

https://anki.tenderapp.com/discussions/ankidesktop/29751-90dec2fdce28bb9f0bb7571f41edaff258e953d3
2018-09-24 17:25:23 +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
8ef88cd15d remove .idea from gitignore
users can add their preferred IDE to their global ignore
2018-09-22 17:08:14 +10:00
Damien Elmes
afe81347cd recover from decks with blank sections (eg '::deck') 2018-09-22 16:04:26 +10:00
Damien Elmes
c9870ed92c update undo shortcut in browser to avoid conflict
https://anki.tenderapp.com/discussions/ankidesktop/29818-undoing-in-addeditbrowser
2018-09-21 09:52:25 +10:00
Damien Elmes
a28973c2aa when rebuilding field cache make sure we don't discard filenames
stripHTMLMedia() already used in notes.py
2018-09-20 15:28:28 +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
8f05db5981 support timeout customization 2018-09-19 23:47:54 +10:00
Damien Elmes
26ffd619a6 add missing headers in get calls 2018-09-19 23:45:52 +10:00
Damien Elmes
499f673cff
add public key for release signing 2018-09-18 10:40:45 +10:00
Damien Elmes
ae3c0416db fix catch of access denied error 2018-09-17 23:38:19 +10:00
Damien Elmes
742fe274dd fix exporting of v2 colpkg in non-English language
https://anki.tenderapp.com/discussions/ankidesktop/29661-error-exporting-decks
2018-09-14 19:35:52 +10:00
Damien Elmes
b75d9040de fix stripping of html in conditional replacement 2018-09-13 14:38:18 +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
b5785f7ec8 add a small margin between buttons during review 2018-09-07 15:51:21 +10:00
Damien Elmes
b25a1fdc53 bump version 2018-09-05 20:23:39 +10:00
Damien Elmes
ee5675ef5b days since creation needs to be calculated relative to rollover
https://anki.tenderapp.com/discussions/ankidesktop/29502-next-day-starts-experimental-v2-scheduler-bug
2018-09-05 20:21:30 +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