Damien Elmes
1bb1aecd81
Merge pull request #320 from shanrauf/readme-dev-typo
...
Small README.development error
2019-08-03 09:11:58 +10:00
Shan Rauf
0e8ebee465
Fix readme.development typo
2019-07-29 02:10:34 -07:00
Damien Elmes
4c6b608736
Merge pull request #318 from wgreven/single-config-file-for-colors
...
Allow configuring Anki's color scheme using a single config file on Linux
2019-07-22 10:51:51 +10:00
Damien Elmes
e5194ad208
remove open backup folder link
...
https://anki.tenderapp.com/discussions/ankidesktop/35084-crash-while-trying-to-revert-to-a-backup
2019-07-22 10:49:22 +10:00
Wilco Greven
9b10e3f43e
Set applicationName and desktopFileName before instantiating the application.
...
When these are set after instantiating the application Anki will load both
$XDG CONFIG HOME/.config/Ankirc and $XDG CONFIG HOME/.config/ankirc.
2019-07-20 13:10:59 +02:00
Damien Elmes
79a4f76422
Merge pull request #317 from wgreven/fix-window-icon-on-wayland
...
Show the correct window icon when running on Wayland
2019-07-19 08:37:50 +10:00
Wilco Greven
ffab5d31d4
Set the desktop file name.
...
Otherwise, on Wayland, Anki will look for python3.desktop This fixes the window icon.
2019-07-18 23:14:34 +02:00
Damien Elmes
b503da2648
Merge pull request #316 from vi3itor/master
...
Remove outdated pyqt mentions from README.development
2019-07-17 18:45:04 +10:00
Damien Elmes
4f819d06ec
display a more helpful message when base folder not readable in startup
2019-07-17 17:23:22 +10:00
Victor Khaustov
a76a4f15fe
remove outdated pyqt mentions from Mac section
2019-07-15 12:18:57 +09:00
Damien Elmes
95387af2cd
cleanup recording on cancel
2019-07-14 11:19:29 +10:00
Damien Elmes
7a9508ea75
force default button in record dialog
...
https://anki.tenderapp.com/discussions/ankidesktop/34985-make-save-the-default-option-when-recording-audio
2019-07-12 17:37:25 +10:00
Damien Elmes
00f171e6c3
fix flag changes in browser not syncing
2019-07-09 15:16:02 +10:00
Damien Elmes
6661ba8a77
bump version
2019-06-27 10:27:31 +10:00
Damien Elmes
7b93e9855e
quieten local port message for now
...
the race condition that is causing this still needs to be investigated
2019-06-27 10:01:23 +10:00
Damien Elmes
ce4d18aded
put deck fix messages in the collection log
2019-06-27 09:46:56 +10:00
Damien Elmes
9fc4b55575
fix v2 relearning reset bug
...
https://anki.tenderapp.com/discussions/ankidesktop/34560-schedule-switching-bug
2019-06-14 09:15:48 +10:00
Damien Elmes
9369e99b2a
and test to catch v2 relearning reset bug
...
https://anki.tenderapp.com/discussions/ankidesktop/34560-schedule-switching-bug
2019-06-14 09:15:38 +10:00
Damien Elmes
702788c8d0
bump version
2019-06-11 15:25:45 +10:00
Damien Elmes
c7201b0c3a
prefix non-breaking spaces
...
https://anki.tenderapp.com/discussions/ankidesktop/34512-first-space-is-omitted-when-pasting
2019-06-10 09:41:29 +10:00
Damien Elmes
47478e584f
use screen-relative max height/width
...
this should matche the Anki 2.0 behaviour
2019-06-06 09:53:50 +10:00
Damien Elmes
1a6de042df
fix __renderPage() being called twice
2019-06-01 16:35:19 +10:00
Damien Elmes
ef10d76edb
fix v2 lrn scheduling bug
...
https://anki.tenderapp.com/discussions/ankimobile/9714-deleting-custom-study-deck-skips-learning-step-time
2019-05-31 15:05:12 +10:00
Damien Elmes
bf4b287d15
add unit test for v2 lrn scheduling bug
...
https://anki.tenderapp.com/discussions/ankimobile/9714-deleting-custom-study-deck-skips-learning-step-time
2019-05-31 15:02:58 +10:00
Damien Elmes
e2791d812f
Merge pull request #309 from lovac42/reverted_info
...
added runHooks for reverted cards and state.
2019-05-20 15:03:28 +10:00
Lovac42
a803f4afee
added runHooks for reverted cards and state.
2019-05-17 20:17:36 -04:00
Damien Elmes
3ba559907b
add Anki icon to a few windows
...
thanks to John for the original work on this
https://github.com/dae/anki/pull/308
2019-05-17 15:28:15 +10:00
Damien Elmes
1c47eb73d0
fix preview failing to appear when 'show both sides' enabled
2019-05-17 15:16:13 +10:00
Damien Elmes
329c6d365a
remove trailing <br> tag when pasting
...
https://anki.tenderapp.com/discussions/ankidesktop/33843-anki-2112-adds-br
https://anki.tenderapp.com/discussions/ankidesktop/33977-unwanted-automatic-line-break-insertion-after-pasting-into-a-field
2019-05-17 13:40:23 +10:00
Damien Elmes
1f36a7112f
don't error out when non-latin characters written to js console
...
(some?) macOS users have an ascii encoding, so we need to escape
the non-ascii portions prior to writing
2019-05-17 08:43:25 +10:00
Damien Elmes
0008e6cb3f
Merge pull request #306 from lovac42/master
...
doubleclick addman list
2019-05-15 15:58:43 +10:00
Damien Elmes
86d9b57877
prevent deck chooser from becoming default
...
Qt's behaviour seems to have changed in move to 5.12
2019-05-15 14:50:55 +10:00
Damien Elmes
7aba268d7a
tweak type answer note type
2019-05-14 17:05:37 +10:00
lovac42
f41e791c5a
doubleclick addman list
...
doubleclick on addon manager list opens conf editor.
2019-05-13 17:27:27 -04:00
Damien Elmes
bcb422beda
fix learn steps being assigned on relearn in v2
2019-04-30 09:27:28 +10:00
Damien Elmes
9ce1f051cc
catch add-on deletion failure due to locked files in add-on folder
...
https://anki.tenderapp.com/discussions/add-ons/32676-2112
2019-04-29 18:43:10 +10:00
Damien Elmes
8a63b4712c
on serverAbort, return early
...
- fixes error attempting to access self.client.hostNum
- prevents media sync from running
2019-04-29 18:27:00 +10:00
Damien Elmes
599f57494b
wrap due numbers instead of capping them, and add warning
...
Wrapping (mostly) preserves the original card order, and starting
at 1M makes it easier for users to find the cards with the high
due numbers even after they have wrapped.
related discussion:
https://anki.tenderapp.com/discussions/ankidesktop/33664-due-value-of-new-card-being-1000000
2019-04-29 18:17:33 +10:00
Damien Elmes
3716feb1c4
fix 'open backup' opening to an empty deck list
...
Starting the import in a timer could cause the collection to be unloaded
while the deck list was being displayed, leading to an inconsistent
state.
The timer was originally required to avoid importing on startup,
but profile load is already delayed until after startup these days,
so the workaround should no longer be necessary.
2019-04-29 16:59:29 +10:00
Damien Elmes
c3dc02cd7f
don't require callback for regular deck refresh
...
Ensures that decks refresh properly even if the webview has previously
failed to load due to a bug (such as the render routine being called
while the collection is closed)
2019-04-29 16:46:13 +10:00
Damien Elmes
6594f62f5d
fix stuck webview issue
...
A race condition could cause domDone to get stuck on false, causing
any further bridge messages and setHtml() calls to be ignored. Fix
the issue by clearing pending actions and resetting domDone when
setting HTML.
2019-04-29 16:41:47 +10:00
Damien Elmes
eb46a8509a
bump version
2019-04-29 14:51:34 +10:00
Damien Elmes
70c584671d
cleanup mpv on exit
2019-04-29 14:36:51 +10:00
Damien Elmes
9fb5a3257c
daemonize helper threads so that sys.exit() during startup works
...
with daemonize set to False, the app hangs waiting on the helper threads
2019-04-29 14:36:44 +10:00
Damien Elmes
90dd0efed4
as it's only a testing requirement, move mock into docs instead
2019-04-29 12:40:44 +10:00
Damien Elmes
408e34d108
add missing mock requirement
2019-04-29 12:37:25 +10:00
Damien Elmes
955f21e594
Merge pull request #304 from ErezVolk/jsonschema
...
Use jsonschema for add-on manifests
2019-04-29 12:34:47 +10:00
Damien Elmes
b4019473ab
fix formatting being lost in inter-field pasting on macOS
...
ownsClipboard() always returns false on macOS
regression introduced in PR 274
2019-04-29 12:30:52 +10:00
Damien Elmes
fccb458fda
remove travis notifications
2019-04-25 13:33:18 +10:00
Damien Elmes
b2cfba367e
fix bug caused by user creating profile with trailing space
...
Caught exception:
File "aqt\main.py", line 237, in onOpenBackup
File "aqt\profiles.py", line 264, in backupFolder
File "aqt\profiles.py", line 274, in _ensureExists
File "os.py", line 220, in makedirs
<class 'FileNotFoundError'>: [WinError 3] The system cannot find the path specified: 'C:\\Users\\xxx\\AppData\\Roaming\\Anki2\\xxx \\backups'
2019-04-25 09:37:58 +10:00