Commit graph

1812 commits

Author SHA1 Message Date
Glutanimate
335406641a Pass new config on to add-on 2018-07-28 09:25:38 +02:00
Glutanimate
adab94e0ec Only update config if actually modified 2018-07-28 09:09:17 +02:00
Glutanimate
880a1d80d0 Extend add-on API with setConfigUpdatedAction
Allows add-on authors to define an action to be performed upon
manual editing of the add-on configuration through the ConfigEditor
2018-07-28 09:00:49 +02:00
Damien Elmes
d621e3f12a Merge pull request #246 from glutanimate/additional-browser-hotkeys
Add hotkeys for "Invert Selection" and "Reschedule"
2018-07-26 16:31:53 +10:00
Damien Elmes
b6a64991de Merge pull request #245 from glutanimate/fix-findreplace-showinfo-focus
Set showInfo parent explicitly in in browser find and replace
2018-07-26 16:31:13 +10:00
Damien Elmes
c7c559930e Merge pull request #244 from glutanimate/fix-togglefield-reset
Make sure to end model reset when prematurely returning from toggleField
2018-07-26 16:25:01 +10:00
Damien Elmes
d914610e11 Merge pull request #243 from glutanimate/browser-contextmenu-hook
Add a hook to browser.onContextMenu for add-on authors
2018-07-26 16:24:39 +10:00
Damien Elmes
e0f24b626f better handle invalid deck list
deleting will fail if the problem deck is the default deck - better to
rename instead

fixes infinite recursion errors
2018-07-26 11:34:10 +10:00
Glutanimate
5d718a8938 Add hotkeys for "Invert Selection" and "Reschedule" 2018-07-25 12:49:40 +02:00
Glutanimate
2518c13f16 Set showInfo parent explicitly in in browser find and replace
Fixes an issue where focus would be passed over to mw after longer
find and replace processing times.
2018-07-25 12:00:08 +02:00
Glutanimate
574edf9d2c Make sure to end model reset when prematurely returning from toggleField
Fixes an issue where Anki would stall after trying to remove the
last browser column.
2018-07-25 11:52:21 +02:00
Glutanimate
f0f1efd73d Add a hook to browser.onContextMenu for add-on authors
This will grant add-on authors more flexibility in implementing
custom context menu actions.
2018-07-25 11:40:49 +02:00
Damien Elmes
9a0a3a2674 bump version 2018-07-23 13:59:02 +10:00
Damien Elmes
75c25b2b80 save file selector state 2018-07-23 13:57:17 +10:00
Damien Elmes
991aa7d402 fixes for mpv focus switching
- avoid changing focus if an Anki window is already focused
- only try to restore focus when playing videos
2018-07-23 13:57:09 +10:00
Damien Elmes
8d1cc6de23 select current card in card layout from edit current 2018-07-23 12:54:26 +10:00
Damien Elmes
42c590e5b8 select current card when browser opened
https://anki.tenderapp.com/discussions/beta-testing/1208-no-way-to-know-which-card-im-seeing-anymore
2018-07-23 12:50:10 +10:00
Damien Elmes
cd33b6868e fix changes made in Windows IME not being saved
https://anki.tenderapp.com/discussions/ankidesktop/28727-last-japanese-edit-in-a-field-doesnt-take-unless-enter-is-pressed-an-extra-time
2018-07-23 12:23:38 +10:00
Damien Elmes
73ed513408 catch v2 sched export before file created
https://anki.tenderapp.com/discussions/beta-testing/1210-scheduling-error#comment_45692960
2018-07-23 12:01:45 +10:00
Damien Elmes
8f38ddd2b9 leave space after deck:current
https://anki.tenderapp.com/discussions/ankidesktop/28662-add-space-after-deckcurrent
2018-07-23 11:01:21 +10:00
Damien Elmes
d78a6eb3fb fix invalid cards when moving from v2->v1 sched
type needs to be reset from 3->2 when relearning cards removed from
learning

https://anki.tenderapp.com/discussions/beta-testing/1210-scheduling-error
2018-07-16 16:29:53 +10:00
Damien Elmes
3b868c8f31 mention pip+pyqt5 2018-07-12 16:09:14 +10:00
Damien Elmes
134a788f9f bump version 2018-07-11 22:40:05 +10:00
Damien Elmes
2fdd9c89d5 differentiate easy button more when reviewing early
apply half the easy bonus post ivl calculation, or else very early
reviews with longer intervals appear to have the same intervals as
answering 'good'
2018-07-11 22:18:46 +10:00
Damien Elmes
f656a2da09 support customizing hard factor 2018-07-11 21:23:22 +10:00
Damien Elmes
72a8330143 separate cram into review cards(resched=1) and all cards(resched=0)
rescheduling on is useful for preventing extra work, but when applied to
new cards it will leave the user with a large number of reviews
2018-07-11 20:35:08 +10:00
Damien Elmes
4dbf51ef9a don't pull learning cards into v1 filtered deck
preventing emptying is harder - operations like suspending
don't expect remFromDyn() to fail
2018-07-11 20:28:14 +10:00
Damien Elmes
1e63ed2965 remove study card count cap in v2 sched
- cap kept for the deck list, as we need to calculate it for multiple
decks
- v2 sched can calculate review limit faster, as it doesn't have to
check each deck separately
- filtered deck cap is same as in interface
- as this will be deployed on ankiweb, beta clients will need to update
or risk getting sanity check errors when syncing with high due counts
2018-07-11 20:03:36 +10:00
Damien Elmes
7bea0110a4 Merge pull request #241 from jessepeterman/patch-1
Update README.contributing
2018-07-11 15:25:03 +10:00
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
Jesse Peterman
f19ed4b9c7 Update README.contributing
Fixed a few typos
2018-07-10 09:13:10 -07: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