Anki/aqt
Damien Elmes 14f4107dfd deal with onclick handlers that don't return false
Because <base> is set to the media server URL, <a href='#' ...> causes
a page transition from the current setHtml() page data. Previous Qt
versions allowed us to just ignore the request, but now returning False
in acceptNavigationRequest() causes the subsequent page navigation to
be rejected as well, resulting in no visible change when clicking on a
deck in the deck list.

To deal with this, Anki will now warn when such navigation requests
come in, as the anchors need to be updated to return false. pycmd()
has been updated to return false to make returning in onclick easier.

Also use QUrl.matches() instead of converting the potentially long
URL to a string.
2018-10-23 16:47:01 +10:00
..
__init__.py disable proxy support if 127.0.0.1 is not bypassed 2018-10-11 15:49:04 +10:00
about.py add Arman to about 2018-09-24 14:46:44 +10:00
addcards.py onReset() already sets note; don't need to do it twice 2018-04-30 15:15:43 +10:00
addons.py add missing translation line 2018-09-24 14:48:08 +10:00
browser.py add rowChanged hook and ensure singleCard attr exists 2018-09-24 17:29:19 +10:00
clayout.py make the "type:" input readonly in the front preview 2018-08-28 09:01:17 +08:00
customstudy.py separate cram into review cards(resched=1) and all cards(resched=0) 2018-07-11 20:35:08 +10:00
deckbrowser.py deal with onclick handlers that don't return false 2018-10-23 16:47:01 +10:00
deckchooser.py fix ampersands appearing in deck names 2017-07-28 17:40:26 +10:00
deckconf.py handle conf group with string id 2018-08-09 15:03:19 +10:00
downloader.py fix error on add-on download 2017-08-26 19:55:39 +10:00
dyndeckconf.py add custom steps back to v1 sched options 2018-04-30 16:26:43 +10:00
editcurrent.py select current card in card layout from edit current 2018-07-23 12:54:26 +10:00
editor.py Properly escape pasted URLs 2018-09-29 00:47:45 +00:00
errors.py fix error reporting when collection not open 2018-06-21 15:51:32 +10:00
exporting.py fix exporting not working with regular scheduler 2018-08-07 14:27:48 +10:00
fields.py show field numbers for easier positioning 2017-10-05 14:52:05 +10:00
importing.py catch .anki(2) imports 2018-09-27 11:35:21 +10:00
main.py fix deck list getting stuck when building filtered deck 2018-09-05 20:02:40 +10:00
mediasrv.py Bind mediaserver on 127.0.0.1 instead of localhost 2017-12-24 23:10:07 -08:00
modelchooser.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
models.py drop experimental prewrap mode 2017-10-25 19:18:00 +10:00
overview.py increase overview width 2018-09-28 17:54:43 +10:00
preferences.py add hw accel toggle to prefs 2018-08-30 13:39:04 +10:00
profiles.py use custom mpv config folder 2018-09-24 16:26:08 +10:00
progress.py work around progress dlg hang at startup on osx 2018-01-14 19:29:56 +10:00
qt.py allow startup on qt 5.11 2018-10-23 16:03:27 +10:00
reviewer.py fix error when review button deselected 2018-09-26 16:31:31 +10:00
sound.py work around pops in recording start 2017-12-05 11:07:52 +10:00
stats.py default to desktop in getSaveFile; don't force desktop in stats 2017-09-10 16:42:29 +10:00
studydeck.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
sync.py prevent new users from downloading accidentally 2018-09-05 19:53:41 +10:00
tagedit.py hack around premature completer deletion 2018-04-18 13:21:10 +10:00
taglimit.py ctrl+d to deselect all in tag picker 2017-10-16 15:31:29 +10:00
toolbar.py don't require collection for top toolbar 2018-10-12 12:08:19 +10:00
update.py use requests for http; add progress info back 2017-01-08 19:06:32 +10:00
utils.py don't save window geom when window is fullscreen 2018-08-08 12:30:58 +10:00
webview.py deal with onclick handlers that don't return false 2018-10-23 16:47:01 +10:00
winpaths.py fix winpaths for py3 2018-08-08 23:31:18 +10:00