Damien Elmes
bc8bd7b092
add decimal ivl fix to fixIntegrity()
2019-01-29 08:17:24 +10:00
Damien Elmes
ff0d478694
add .cursor()
2019-01-29 08:17:10 +10:00
Damien Elmes
914077e807
make sure lapse % doesn't create decimal intervals
...
issue reported on
https://github.com/dae/anki/pull/272
2019-01-29 08:01:23 +10:00
Arthur-Milchior
450f260781
moveTemplate slightly quicker
...
When a template is moved, only move the ord of cards whose position
did change.
2019-01-20 15:46:58 +01:00
Damien Elmes
c292964095
bump version
2019-01-02 15:24:00 +10:00
Damien Elmes
d9e4a1c98b
make sure we normalize deck names on input
...
https://anki.tenderapp.com/discussions/ankidesktop/31635-anki-crashes-when-new-card-is-added
2018-12-24 10:03:59 +10:00
Damien Elmes
bf38475ffc
deck fix print statements may be running in ascii environment
...
this should probably use the collection log in the future
2018-12-24 09:54:59 +10:00
Damien Elmes
ae591ce240
fix recording overflow handling
2018-12-22 13:41:35 +10:00
Damien Elmes
25c4491a21
bump version
2018-12-18 19:42:00 +10:00
Damien Elmes
328c73d0bc
ignore broken reset hooks in database check
...
ideally the original code should be correctly cleaning up the hooks,
but if it does not, then we don't want to repeatedly present the user
with confusing errors when they try to check their database is ok.
2018-12-15 13:14:33 +10:00
Damien Elmes
0c6cd8f1e8
restart mpv if it stops responding
...
https://anki.tenderapp.com/discussions/ankidesktop/31433-error
2018-12-13 21:30:17 +10:00
Damien Elmes
0e62ab7699
bump version
2018-12-13 21:03:56 +10:00
Damien Elmes
6e09d1c6ec
find comparisons needs to be normalized
...
this data should probably be normalized when it's originally
added to the collection
https://anki.tenderapp.com/discussions/ankidesktop/31409-cant-search-by-deck-when-searching-decks-containing-arabic-text
2018-12-13 20:36:04 +10:00
Damien Elmes
9a726d0e4e
bump version
2018-12-10 15:17:21 +10:00
Damien Elmes
87575674f9
scan for due learning cards more frequently
2018-12-10 12:11:45 +10:00
Damien Elmes
2e0ff282cc
disable wal on win32
...
another attempt at fixing 'database locked' errors on windows,
based on the suspicion that pysqlite is holding an open statement
handle that is preventing the switch from wal mode on close
also remove unused sync arg
2018-12-10 09:53:02 +10:00
Alexey Lebedeff
8a992a9f30
Make quotes consistent with surroundings
2018-12-01 10:52:19 +01:00
Alexey Lebedeff
ba67e3e71c
Fix searching for python 3.7
...
3.7 introduced a change to `re.escape()`, which no longer escapes
`%`. By using `re.escape("%")` instead of a literal, we can detect
a proper form at runtime.
2018-11-30 10:44:39 +01:00
Damien Elmes
c1f9f4e277
bump version
2018-11-27 19:40:27 +10:00
Damien Elmes
aeea07498c
update learning cutoff time periodically
...
prevents users from having to leave and return to the deck to show
cards that have become due during the study session
https://anki.tenderapp.com/discussions/ankimobile/8530-ankimobile-with-experimental-schedule-not-showing-due-cards-in-realtime
2018-11-27 19:37:46 +10:00
Damien Elmes
0560b6c4b2
limit find&replace fields to selected notes
2018-11-27 16:42:00 +10:00
Damien Elmes
4fb7fb07fd
find&replace should not be case sensitive on field
2018-11-27 16:34:48 +10:00
Damien Elmes
d532726adb
cap filename length when attaching media to cards
...
https://anki.tenderapp.com/discussions/ankidesktop/30953-can-not-paste-or-upload-images-into-deck
2018-11-27 14:45:38 +10:00
Arthur Milchior
690680bbe3
Using cardIds in AnkiExporter
2018-11-26 10:47:26 +01:00
Arthur-Milchior
708cc0a628
Change order of new cards
...
This commit corrects the following bug:
* Create a note N in an empty deck D of type basic (reverse), with
only some back, no front. Only card 2 will be generated.
* Edit the note, add a front. Card 1 will be generated.
* In the main window, try to learn deck D. In anki, currently, you'll
see Card 2 first. According to the manual (and to my common sens),
it should be Card 1 first.
This commit correct this bug, and ensure that new cards are seen
according to their order, and not to their creation date.
2018-11-20 21:50:36 +01:00
Damien Elmes
28c8d6eefa
be more verbose in importing dialog
...
Many users seem to get confused when duplicates are not imported,
so we list out what's being skipped now to help the users to be able
to search for the content.
2018-11-14 16:58:47 +10:00
Damien Elmes
9b1b142906
bump version
2018-11-13 11:30:27 +10:00
Damien Elmes
f576d19426
improve handling of invalid deck trees
...
- move checking code out of the schedulers and into the deck manager
- ensure we can fix the problem in one loop - the previous recursive
approach could lead to stack overflows if the top level of a large
deck tree was missing. this was also the cause of the sqlite
'interrupted' error that some users were seeing
2018-11-09 15:04:35 +10:00
Damien Elmes
321559c8db
Revert "increase db timeout"
...
This reverts commit 7a2dc6066c .
did not seem to help
2018-10-28 14:17:43 +10:00
Damien Elmes
9d20de871b
run latex commands without bundled libs
...
https://anki.tenderapp.com/discussions/ankidesktop/30531-latex-wont-generate-svgs-automatically-but-will-generate-pngs
2018-10-28 11:41:43 +10:00
Damien Elmes
b3d168664f
bump version
2018-10-25 14:52:49 +10:00
Damien Elmes
416c64c493
prevent infinite loop with invalid template
2018-10-20 19:37:01 +10:00
Damien Elmes
38189f53d0
fix bug in tag deletion
...
https://anki.tenderapp.com/discussions/ankidesktop/30146-removing-single-letter-tags-also-removes-any-other-tags-with-the-letter
2018-10-07 18:21:51 +10:00
Damien Elmes
0735a42cfa
bump version
2018-10-01 15:43:47 +10:00
Damien Elmes
f861faaf83
bump version
2018-09-28 18:49:38 +10:00
giqtaqisi
d10511627c
add support for Lojban
2018-09-26 16:15:07 +00:00
Damien Elmes
9be9d7c576
strictly enforce maxIvl
...
https://anki.tenderapp.com/discussions/ankidesktop/29904-bug-in-v2-scheduler-that-allows-exceeding-the-maximum-review-interval
2018-09-25 09:55:46 +10:00
Damien Elmes
0cfca6d70b
beta version
2018-09-24 19:17:35 +10:00
Damien Elmes
04ef57551e
fix translation path for packaged builds on Linux
2018-09-24 18:23:57 +10:00
Damien Elmes
7a2dc6066c
increase db timeout
...
possible workaround for 'database is locked' when switching
from WAL mode
https://anki.tenderapp.com/discussions/ankidesktop/29751-90dec2fdce28bb9f0bb7571f41edaff258e953d3
2018-09-24 17:25:23 +10:00
Damien Elmes
18af2db5aa
use custom mpv config folder
...
not the first time the default location has caused problems for users
https://anki.tenderapp.com/discussions/ankidesktop/29531-bug-ankis-version-of-mpv-loads-mpvconf-from-configmpv-on-macos
2018-09-24 16:26:08 +10:00
Damien Elmes
e7d8cef8b5
recover from decks with blank sections (eg '::deck')
2018-09-22 16:04:26 +10:00
Damien Elmes
df72b02dda
when rebuilding field cache make sure we don't discard filenames
...
stripHTMLMedia() already used in notes.py
2018-09-20 15:28:28 +10:00
Damien Elmes
2c24401d6b
support timeout customization
2018-09-19 23:47:54 +10:00
Damien Elmes
7d5b78ef95
add missing headers in get calls
2018-09-19 23:45:52 +10:00
Damien Elmes
a6eb0185dd
fix exporting of v2 colpkg in non-English language
...
https://anki.tenderapp.com/discussions/ankidesktop/29661-error-exporting-decks
2018-09-14 19:35:52 +10:00
Damien Elmes
10068e1009
fix stripping of html in conditional replacement
2018-09-13 14:38:18 +10:00
Damien Elmes
5ea4ac0c70
bump version
2018-09-05 20:23:39 +10:00
Damien Elmes
b1cd168447
days since creation needs to be calculated relative to rollover
...
https://anki.tenderapp.com/discussions/ankidesktop/29502-next-day-starts-experimental-v2-scheduler-bug
2018-09-05 20:21:30 +10:00
Damien Elmes
86bf9e53a0
prevent new users from downloading accidentally
2018-09-05 19:53:41 +10:00