Commit Graph

1617 Commits

Author SHA1 Message Date
Damien Elmes
575f61c384 tweaks to interval constraining
- move fuzzing into _constrainedIvl() so it's applied prior to limits
like maxIvl

- don't fuzz early reviews, so cards get the same interval if a filtered
deck is rebuilt again
2018-01-14 12:16:53 +10:00
Damien Elmes
765ec0fb36 use the review queue for undue reviews 2018-01-14 12:16:53 +10:00
Damien Elmes
563e93b0ba ensure due reviews+resched off works 2018-01-14 12:16:53 +10:00
Damien Elmes
68445d7243 add test for new position preservation 2018-01-14 12:16:53 +10:00
Damien Elmes
4070f4eef8 schedtest changes, squashed from local branch 2018-01-14 12:16:53 +10:00
Damien Elmes
1c390218fc fixes to progress window
- make sure _shown reset to False on finish()
- ignore calls to .update() after finish() called, which can happen with
async signals in the sync code
2018-01-14 12:16:47 +10:00
Damien Elmes
9bc0e99e2c
Merge pull request #222 from tmiasko/narrow-browser-window
Make it possible to create narrow browser window.
2018-01-13 20:46:25 +10:00
Damien Elmes
ae7200204b
Merge pull request #221 from dubiousjim/patch-1
Factor out definition of context menu in reviewer.py
2018-01-13 20:45:54 +10:00
Tomasz Miąsko
be140c0993 Make it possible to create narrow browser window. 2018-01-12 13:46:14 +01:00
dubiousjim
df1704f578
Factor out definition of context menu in reviewer.py
Handle definition of context menu in same way that shortcutKeys are handled. This makes it easier for add-ons to modify the context menu without needing to re-implement the whole showContextMenu method.
2018-01-07 18:19:49 +01:00
Damien Elmes
c34cd62070 update LICENSE to match source code
https://anki.tenderapp.com/discussions/beta-testing/920-anki-210-beta-26#comment_44446480
2018-01-06 19:07:56 +09:00
Damien Elmes
fb5ba26ce1 Merge branch 'master' of github.com:dae/anki 2018-01-03 12:17:56 +09:00
Damien Elmes
c08512e9d1
Merge pull request #220 from ottopasuuna/fix-csv-import
Fix string decode error when importing csv files
2018-01-03 13:17:48 +10:00
Carl Hofmeister
baee6916e7 Fix string decode error when importing csv files 2017-12-31 14:01:47 -06:00
Damien Elmes
fc79f74e46 bigger margins in reviewer 2017-12-28 20:15:11 +10:00
Damien Elmes
5ad8f67f12 move away from qprogressdialog
qprogressdialog has been the source of a number of problems in the past,
and the most recent issue is that it's showing the progress dialog
early, regardless of what the minimum duration is set to. since we're
already using our own logic for deciding when to show the dialog, it's
easier to move to a normal dialog box

also prevent timers from firing while a progress dialog is visible, or
if the refresh timer fires we end up with the same issue.

https://anki.tenderapp.com/discussions/beta-testing/949-anki-stops-when-field-is-added
2017-12-28 18:31:05 +10:00
Damien Elmes
ab46a4530c
Merge pull request #219 from kerrickstaley/localhost
Bind mediaserver on 127.0.0.1 instead of localhost
2017-12-26 12:42:35 +10:00
Kerrick Staley
61b4a6b655 Bind mediaserver on 127.0.0.1 instead of localhost 2017-12-24 23:10:07 -08:00
Damien Elmes
bf95b3f671 bump version 2017-12-24 22:27:09 +10:00
Damien Elmes
3e05002421 don't make the body margin depend on text size 2017-12-24 22:26:55 +10:00
Damien Elmes
110fe33b64
Merge pull request #218 from aakatov/master
Fix play sound with HTML special symbols in its filename
2017-12-24 10:43:44 +10:00
aakatov
6c61dc180b fix play sound with HTML special symbols in its filename 2017-12-23 12:36:26 +03:00
Damien Elmes
ef323e2d35 bump version 2017-12-22 21:48:13 +10:00
Damien Elmes
ace01a21bc different cloze colour in night mode 2017-12-20 16:05:28 +10:00
Damien Elmes
65b826d787 refuse to run on qt 5.10
- on Linux and Windows, opening the browser and stats window back and
forth multiple times triggers a crash in the GL libraries, even with
software rendering enabled. Will try again when .1 is out
- on Mac, shortcut keys fire multiple times:
https://bugreports.qt.io/browse/QTBUG-65184
2017-12-18 14:50:14 +10:00
Damien Elmes
405cea6a60 add context menu to browser 2017-12-14 14:49:51 +10:00
Damien Elmes
7981db1466 more raw string literals 2017-12-13 14:34:54 +10:00
Damien Elmes
435afed325 fix error when importing 2017-12-12 11:55:27 +10:00
Damien Elmes
576c2b38b2 fix mpv warnings 2017-12-11 17:26:25 +10:00
Damien Elmes
81d4b77ee1 more open() and regex strings 2017-12-11 17:25:51 +10:00
Damien Elmes
3b71f8e44e move regex flags to start of string 2017-12-11 16:42:19 +10:00
Damien Elmes
7ac601f0af fix 'unclosed file' warnings with python -Wall 2017-12-11 16:38:15 +10:00
Damien Elmes
bc65baeff7 cgi.escape is deprecated 2017-12-11 16:20:00 +10:00
Damien Elmes
fccfdef73d add a flag to keep editor buttons enabled when no field selected 2017-12-08 21:06:16 +10:00
Damien Elmes
774c19e83e add the ability to disable cert verification 2017-12-07 17:15:20 +10:00
Damien Elmes
39c0a57b13 work around pops in recording start
https://anki.tenderapp.com/discussions/ankidesktop/26005-when-recording-sound-on-mbp

on my machine, the pops start around sample 2048 of a 44.1khz recording,
and only for the first recording after the audio hardware has gone to
sleep
2017-12-05 11:07:52 +10:00
Damien Elmes
ea5f8eed36 bump version 2017-12-04 12:58:29 +10:00
Damien Elmes
341da7385a ignore editor shortcuts when no field focused 2017-12-04 12:53:28 +10:00
Damien Elmes
c451141f97 play question audio when preview set to 'show both sides' 2017-12-04 12:45:22 +10:00
Damien Elmes
c67fc3e769 fix time translation patch 2017-12-04 12:33:23 +10:00
Damien Elmes
fcccf12ba6 night mode 2017-12-04 12:20:56 +10:00
Damien Elmes
15e102e047 make sure to preserve focus when reloading on editFocusLost 2017-12-04 12:03:01 +10:00
Damien Elmes
84dd488d21 add catalan 2017-12-03 16:06:56 +10:00
Damien Elmes
7b271381e8 Merge branch 'master' of github.com:dae/anki 2017-12-01 17:05:20 +10:00
Damien Elmes
2c5752420c
Merge pull request #217 from Derbeth/in-time
Allow to better translate "in x minutes"
2017-12-01 17:04:58 +10:00
Piotr Kubowicz
879ca0b72b Allow to better translate "in x minutes"
"There is 1 minute" and "in 1 minute" need to be translated
differently in Slavic languages.

Additionally remove unused afterTimeTable.
2017-11-30 20:03:51 +01:00
Damien Elmes
b85cc4321b move overflow-wrap into body, apply to editor too 2017-11-29 16:19:34 +10:00
Damien Elmes
eda1849c33 force break word when it hits the reviewer margin 2017-11-28 09:52:56 +10:00
Damien Elmes
9e5b909070 note media check stage in sync dialog 2017-11-27 11:21:03 +10:00
Damien Elmes
3bf7f19843 bump version 2017-11-27 11:17:42 +10:00