Commit Graph

1828 Commits

Author SHA1 Message Date
Damien Elmes
7074893af7 rewrite data uris from html pastes as well 2018-08-08 11:38:45 +10:00
Damien Elmes
0acf9b38a4 support rtl text in sort field in browser 2018-08-08 10:39:54 +10:00
Damien Elmes
2fec9248f8 fix exporting not working with regular scheduler 2018-08-07 14:27:48 +10:00
Damien Elmes
aa6418dd07 bump version to 2.1.0 2018-08-06 14:17:13 +10:00
Damien Elmes
a1d1ea9b23 shortcut to mhchem 2018-08-06 13:17:57 +10:00
Damien Elmes
9fd085af37 don't unmaximize when showing browser
https://anki.tenderapp.com/discussions/beta-testing/1228-anki-210-release-candidate/page/2#comment_45812673
2018-08-01 21:11:35 +10:00
Damien Elmes
c840364cd3 add webm 2018-07-30 12:06:38 +10:00
Damien Elmes
8bce4527ef bump version 2018-07-28 18:50:55 +10:00
Damien Elmes
cbf3240203
Merge pull request #248 from glutanimate/addon-onconfigupdated
Extend add-on API with setConfigUpdatedAction
2018-07-28 18:50:29 +10:00
Damien Elmes
ae46bfa8d1 support dynamic sync url 2018-07-28 18:08:16 +10:00
Glutanimate
8ce7c00d54 Pass new config on to add-on 2018-07-28 09:25:38 +02:00
Glutanimate
ee3357a943 Only update config if actually modified 2018-07-28 09:09:17 +02:00
Glutanimate
8935b99188 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
c15df04622 remove beta warning 2018-07-28 16:44:23 +10:00
Damien Elmes
099bd045d0 default to software rendering on Windows/Linux 2018-07-28 16:43:19 +10:00
Damien Elmes
65f6ddf8d9 v2: limit learn delay fuzz to 5 minutes and sub-day 2018-07-28 13:56:56 +10:00
Damien Elmes
a728595c1d use scheduled ivl in lapse calculation
reverting to 2.0 behaviour

https://anki.tenderapp.com/discussions/effective-learning/1300-lapse-duration-not-being-honored-for-lapses-of-multi-stepday-relearn-cards
2018-07-27 15:02:41 +10:00
Damien Elmes
eb44584b29 chunk deletions to reduce load on AnkiWeb 2018-07-26 21:34:53 +10:00
Damien Elmes
d6874de8c8 strip out unused syncing code 2018-07-26 19:41:52 +10:00
Damien Elmes
8325f5b396
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
9c85e17628
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
5f9a8f7960
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
e8c66af53c
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
4af6aa8584 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
7607a3c73a Add hotkeys for "Invert Selection" and "Reschedule" 2018-07-25 12:49:40 +02:00
Glutanimate
7ea02d5ea9 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
308c23fcba 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
da42ae7396 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
377bb78b88 bump version 2018-07-23 13:59:02 +10:00
Damien Elmes
13b529e77a save file selector state 2018-07-23 13:57:17 +10:00
Damien Elmes
fbeade1f23 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
0fc0616ad1 select current card in card layout from edit current 2018-07-23 12:54:26 +10:00
Damien Elmes
b599b6b26c 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
c3f3a996c5 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
a9f69b329f 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
475e2ab398 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
1ac83b7998 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
be89c7a779 mention pip+pyqt5 2018-07-12 16:09:14 +10:00
Damien Elmes
babc7d6762 bump version 2018-07-11 22:40:05 +10:00
Damien Elmes
9e8648bed7 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
1a617e6d60 support customizing hard factor 2018-07-11 21:23:22 +10:00
Damien Elmes
c60e22fd60 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
13c54e02d8 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
6bd1eed9b6 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
b64bfe858b
Merge pull request #241 from jessepeterman/patch-1
Update README.contributing
2018-07-11 15:25:03 +10:00
Damien Elmes
e006cb9e6e
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
3ff504461d don't attempt to rename profile folder if it's a file 2018-07-11 15:23:24 +10:00
Damien Elmes
5d80dccccb no longer using third party icons 2018-07-11 15:23:13 +10:00
Jesse Peterman
cccc4bc047
Update README.contributing
Fixed a few typos
2018-07-10 09:13:10 -07:00
Mai Lavelle
128bfcd481 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