Commit Graph

1883 Commits

Author SHA1 Message Date
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
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
Damien Elmes
a9e661e8bc
Merge pull request #250 from glutanimate/linux-consistent-theming
Try to more closely imitate native widget theming on Linux
2018-08-31 15:39:56 +10: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
2ff1376336 bump version 2018-08-30 14:34:05 +10: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
ab57faf58e catch suspended new cards w/ wrong due number
https://anki.tenderapp.com/discussions/ankidesktop/29267-01
2018-08-30 12:43:53 +10:00
Damien Elmes
d1a09d5ed1 ignore title in html paste
https://anki.tenderapp.com/discussions/ankidesktop/29375-paste
2018-08-29 18:49:22 +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
daf8d2607a bump version 2018-08-20 14:38:51 +10:00
Damien Elmes
127cfc7772 update file associations 2018-08-20 14:38:22 +10:00
Damien Elmes
30f9d1e9c4 handle 'jpg' and leading space in inlined images 2018-08-20 13:02:30 +10:00
Damien Elmes
b5a8d3f47c bump version 2018-08-09 16:29:43 +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
be067dda56 bump version 2018-08-08 23:48:29 +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