Commit graph

1782 commits

Author SHA1 Message Date
Damien Elmes
7bc6b2beb0 Merge pull request #240 from maiself/avoid-reordering-when-importing
Avoid reordering entire deck when importing notes
2018-07-11 15:24:13 +10:00
Damien Elmes
933bec4c45 don't attempt to rename profile folder if it's a file 2018-07-11 15:23:24 +10:00
Damien Elmes
7de923b97a no longer using third party icons 2018-07-11 15:23:13 +10:00
Mai Lavelle
8832bfb7ee avoid reordering entire deck when importing notes
No need to reorder existing cards, which may have been manually
ordered by the user, when importing notes if we can give cards
a proper due number from the start. Retrieving any sibling's
due number for this is easy as all relevant cards will have
already been queried for when generating the new cards.
2018-07-06 00:49:47 -04:00
Damien Elmes
dae7f56328 warn and close when media server requests fail 2018-06-29 17:17:13 +10:00
Damien Elmes
9f7464fac2 fix media check with [$]{{c1::a}}{{c2::b}}[/$]
https://anki.tenderapp.com/discussions/ankidesktop/28625-cloze-deletion-in-latex-check-medias-regression-in-21

appears to have broken in 61cc3cec86
2018-06-28 13:11:04 +10:00
Damien Elmes
2949d4ceec bump version 2018-06-25 20:27:45 +10:00
Damien Elmes
51f50e7b4c make sure we don't put suspended leeches back in the learning queue
fixes
https://anki.tenderapp.com/discussions/beta-testing/1119-anki-210-beta-38#comment_45555453
2018-06-25 20:27:26 +10:00
Damien Elmes
18008909a4 face fix cond in sync test 2018-06-25 20:26:24 +10:00
Damien Elmes
dbb1444a38 fix card info dialog size not being remembered 2018-06-25 11:56:27 +10:00
Damien Elmes
b6cbe64314 fix error reporting when collection not open 2018-06-21 15:51:32 +10:00
Damien Elmes
616e59bacc change wording to differentiate from 'browse' in toolbar 2018-06-21 15:23:41 +10:00
Damien Elmes
3486511d02 Merge pull request #239 from emrysn/master
Update lang.py with correct Romanian language option
2018-06-18 10:19:46 +10:00
Floren
b47b28422e Merge pull request #1 from emrysn/lang-ro
Update lang.py with correct Romanian language option
2018-06-16 21:34:52 +03:00
Floren
cb7df4972f Update lang.py 2018-06-16 21:32:47 +03:00
Damien Elmes
580deee1be bump version 2018-06-15 11:59:22 +10:00
Damien Elmes
0a21085374 don't collapse whitespace in extended paste mode
for pre tags
2018-06-15 11:36:12 +10:00
Damien Elmes
5bc2b6395f fix detection of multiline cloze deletions 2018-06-15 11:24:59 +10:00
Damien Elmes
517fd21961 hack to keep scroll position in deckbrowser
noticeable flash when page is redrawn; in the future we'll
need to use js to update the page
2018-06-12 13:46:15 +10:00
Damien Elmes
d3fd519d0b remove comments when stripping
gets rid of unwanted metadata from ms word pastes
2018-06-09 16:27:46 +10:00
Damien Elmes
34eb85cc77 make sure we don't import cards into a filtered deck 2018-06-08 14:51:55 +10:00
Damien Elmes
ae1220aec0 show sched ver in debug info 2018-06-08 12:33:05 +10:00
Damien Elmes
56aec99462 move back to requiring python 3.6
portions of libanki can run on python 3.5, but media syncing will fail
so we require 3.6 when running the GUI
2018-06-07 11:36:11 +10:00
Damien Elmes
d352ec7581 ignore delay in hard case
https://anki.tenderapp.com/discussions/ankidesktop/27627-request-allow-setting-maximum-delay-for-interval-calculation-in-overdue-cards
2018-06-01 12:24:11 +10:00
Damien Elmes
1333019557 bump version 2018-05-31 16:26:31 +10:00
Damien Elmes
d0467b0e65 another many decks speedup 2018-05-31 16:24:34 +10:00
Damien Elmes
b7d3e5fa68 speed up v2 deckDueList() in many decks case 2018-05-31 16:21:33 +10:00
Damien Elmes
69cb9a9d37 fix incorrect scheduling when importing cards in relearning
private link:
https://anki.tenderapp.com/discussions/ankidesktop/28234
2018-05-31 13:27:59 +10:00
Damien Elmes
08538a48dc catch name resolution errors in sync 2018-05-31 13:24:49 +10:00
Damien Elmes
0562c7ba45 need to record active window prior to playing in mpv 2018-05-31 13:22:17 +10:00
Damien Elmes
7b944a46f4 new stats shortcut 2018-05-31 13:05:37 +10:00
Damien Elmes
f8101d0084 fix regular reviews being treated as relearning in v2 sched 2018-05-31 12:44:23 +10:00
Damien Elmes
3b91c1d6c5 cache deck name->obj map to improve many decks case 2018-05-29 19:30:13 +10:00
Damien Elmes
d7fa18c1e6 avoid running on qt 5.11
updates will be needed for Qt's latest round of breaking changes
2018-05-29 19:25:23 +10:00
Damien Elmes
46c8eb00ca sync field contents before applying cloze deletion
based on a patch by dlon:

https://github.com/dae/anki/pull/236
2018-05-28 13:40:35 +10:00
Damien Elmes
9a28fd532a Merge pull request #237 from maharmstone/master
stdHtml: fix certain fonts not working on Linux
2018-05-28 12:15:43 +10:00
Damien Elmes
cc6ad80dd0 add Armenian lang 2018-05-28 11:23:24 +10:00
Mark Harmstone
6f8264d084 stdHtml: fix certain fonts not working on Linux 2018-05-27 21:16:55 +01:00
Damien Elmes
c78b9e8804 include aria-label in top toolbar
qt doesn't seem to support it at the moment though

https://anki.tenderapp.com/discussions/beta-testing/1130-latest-anki-beta-not-accessible-with-voiceover-on-mac-os
2018-05-14 11:24:04 +10:00
Damien Elmes
e6ef4267ca bump version 2018-05-10 16:49:24 +10:00
Damien Elmes
9cdcc99aa7 fix previously pasted image appearing in place of drop/text paste
mime.imageData() was returning stale data, and may have been causing
crashes as well
2018-05-10 16:44:55 +10:00
Damien Elmes
dc1a999991 don't try to use mpv on Windows
some users had mpv lying around from previous installs, and the Windows
implementation seems to hang with the idle hook introduced in the
previous build
2018-05-10 14:50:23 +10:00
Damien Elmes
0487620ce2 bump version 2018-05-01 14:41:18 +10:00
Damien Elmes
38279816eb fix busy cursor in full sync screen 2018-05-01 14:34:03 +10:00
Damien Elmes
a6007a54f3 add space to 'waiting for editing' screen 2018-05-01 13:35:28 +10:00
Damien Elmes
bc90c5b997 Revert "Revert "workaround for some drags not being accepted""
This reverts commit e91f505847.

Without this change, dragging images from Google searches doesn't work on the
latest Chrome (tested on macOS).
2018-05-01 13:24:08 +10:00
Damien Elmes
77b5db4d96 support pasting of images from inlined base64 text
chrome exports image data as text when using 'copy image location'
2018-05-01 13:16:46 +10:00
Damien Elmes
ca14f9e4d9 favour images over urls when pasting
fixes dragging of images from safari+google images, and pasting of
'copy image' from chrome
2018-05-01 12:47:41 +10:00
Damien Elmes
73ddd79967 work around video focus stealing
https://anki.tenderapp.com/discussions/ankidesktop/27401-bug-when-playing-a-video-on-anki-for-mac-anki-lanches-mplayer-and-doesnt-quit-it-or-return-to-anki
2018-04-30 17:12:26 +10:00
Damien Elmes
7ae073e955 check upload doesn't exceed ankiweb limits
better to abort prior to upload instead of giving a misleading error
2018-04-30 16:58:00 +10:00