Damien Elmes
b04c2212b5
stripHTML() should work when tag split over multiple lines
2017-09-30 15:33:05 +10:00
Damien Elmes
8737c6737b
another fix for mathjax+cloze
2017-09-12 13:53:08 +10:00
Damien Elmes
bd414595de
Merge pull request #209 from sieben/simplify_comparisons
...
Simplify comparisons
2017-09-11 15:01:07 +10:00
Damien Elmes
f786ad1594
Merge pull request #208 from sieben/none_comparison
...
Comparison with None shouldn't use equality
2017-09-11 15:01:01 +10:00
Rémy Léone
4446b85ef2
Simplify comparisons
2017-09-10 15:32:51 +02:00
Rémy Léone
8f1ad57931
Comparison with None shouldn't use equality
...
That type of comparisons should always be done with 'is' or 'is not',
never the equality operators.
2017-09-10 15:30:22 +02:00
Rémy Léone
9e574a448b
Remove trailing semicolon
2017-09-10 14:41:38 +02:00
Damien Elmes
67728e73d7
fix broken cloze deletion
2017-09-10 19:51:25 +10:00
Damien Elmes
ce803b9f44
bump version
2017-09-10 18:54:08 +10:00
Damien Elmes
0c80b5454f
use separate .colpkg extension for collection exports
...
- allows translations of filename
- allows users to keep multiple collection exports in the same folder
- provides a clearer distinction between deck and collection packages
- the collection/backup .apkg special cases will continue to work in
future 2.1.x releases
2017-09-10 16:58:55 +10:00
Damien Elmes
593569d0dc
only strip formatting when inside mathjax
2017-09-08 19:35:34 +10:00
Damien Elmes
4990b2f8eb
mathjax tweaks
...
- drop support for $$ in favour of separate opening and closing tags
- add shortcuts to add mathjax
- don't highlight any clozes in blue if field contains mathjax chars
2017-09-08 19:20:37 +10:00
Damien Elmes
bdcc8e284b
re.escape() deck search
2017-09-08 15:13:46 +10:00
Damien Elmes
1d257c05ce
'oldest first' now uses the revlog for correct ordering
2017-09-06 13:02:52 +10:00
Damien Elmes
ca6412b6c9
don't force win32 audio output
...
was added in 2008 as a hack around sound problems users were having, but
it causes problems for other users and prevents overriding in the conf
file, so let's try with the default
report:
https://anki.tenderapp.com/discussions/ankidesktop/24859-poor-playback-with-mono-mp3
originally changed in c50203b9a1
2017-09-04 19:05:02 +10:00
Damien Elmes
62a1382c0d
python 3 doesn't save us from misconfigured locales
2017-09-02 13:59:10 +10:00
Damien Elmes
ecb683cdd1
bump version
2017-08-31 22:00:37 +10:00
Damien Elmes
5fd9228273
handle invalid filename encodings
...
on Linux users can end up creating filenames that can't be encoded to utf8,
which breaks Anki when it tries to store the filename in sqlite
2017-08-31 18:55:25 +10:00
Damien Elmes
c18bd47a6e
scan media each time
...
Experiment with ignoring dirMod and scanning the folder for changes on
each sync. Use scandir() for better performance. Please let me know if
this causes a noticeable slowdown for you.
2017-08-29 10:52:13 +10:00
Damien Elmes
25cb6d3abe
bump version
2017-08-28 22:30:05 +10:00
Damien Elmes
3faa82571c
warn about subfolders
2017-08-28 22:01:13 +10:00
Damien Elmes
ca37b15aa7
bump version
2017-08-26 15:25:10 +10:00
Damien Elmes
2c9f286026
update python ver dep
2017-08-25 16:39:21 +10:00
Damien Elmes
08e0174f2e
remove dupeOnSchemaChange
...
no longer required now that anki 1.x importing dropped
2017-08-21 13:50:11 +10:00
Damien Elmes
ff2e7b9e81
typo in stats
2017-08-21 11:29:54 +10:00
Damien Elmes
3ad9261c8c
catch corrupt media db, fix it in 'check media'
2017-08-17 13:33:54 +10:00
Damien Elmes
e8cc960da3
bump version
2017-08-16 21:53:21 +10:00
Damien Elmes
375c071a26
catch attempts to write outside the media folder
...
big thanks to David Bailey for discovering this
2017-08-16 21:08:46 +10:00
Damien Elmes
af14051637
add check to see if drag&drop caused a recent bug
...
user was getting errors because they had a deck starting with double
quotes
2017-08-15 15:11:59 +10:00
Damien Elmes
a353135af3
add type-in-the-answer note type
2017-08-13 19:42:27 +10:00
Damien Elmes
be1514a97b
bump version
2017-08-12 17:04:53 +10:00
Damien Elmes
b7be2ad744
clear flags on export
2017-08-12 16:13:53 +10:00
Damien Elmes
71101d041a
ditch marked tag in favour of card flags
...
Users can now mark individual cards with one of four different coloured
flags, instead of relying on a tag that applied to the whole note.
- replaced marking functionality in reviewer and browser with new
flag options
- added flag:x search
- marked and leech tags now show in normal tag list in filter screen,
instead of being treated specially
- the other clients will need updating to set and shown the flags, but
flags set in the beta should be preserved by the other clients
2017-08-12 16:08:10 +10:00
Damien Elmes
1c88315e86
bump version
2017-08-10 21:51:46 +10:00
Damien Elmes
94cf132918
make sure exporting ignores subfolders
2017-08-10 21:06:41 +10:00
Damien Elmes
82aeb57318
Revert "experiment with displaying FrontSide under answer"
...
This reverts commit a1b0ddb00c .
2017-08-10 15:04:24 +10:00
Damien Elmes
17693f1b63
bump version
2017-08-08 20:05:20 +10:00
Damien Elmes
d5aede7252
bump version
2017-08-07 18:39:29 +10:00
Damien Elmes
a1b0ddb00c
experiment with displaying FrontSide under answer
...
- avoids having to move eyes to answer section
- the fade out/fade in step feels more natural when the
question section moves
feedback welcome
2017-08-07 18:38:35 +10:00
Damien Elmes
e40445a9c4
bump version
2017-08-06 15:30:41 +10:00
Damien Elmes
072489f436
fix unicode error when generating latex
2017-08-06 13:03:32 +10:00
Damien Elmes
0543a4533b
add devMode flag to utils
...
also remove the extra toolbar call in loadProfile(), as we require a
restart to update the translations anyway
2017-08-01 14:28:13 +10:00
Damien Elmes
d2507899c2
bump version
2017-07-31 16:35:18 +10:00
Damien Elmes
96c737f24f
fix translations on Mac
2017-07-31 13:59:10 +10:00
Damien Elmes
d6a7cc0a51
bump version
2017-07-28 18:38:42 +10:00
Damien Elmes
8cd20f3352
turn latex svg into a note type option
...
needed until the other clients support svgs
2017-07-28 18:38:31 +10:00
Damien Elmes
7ad6966943
split js code out into separate files, mathjax improvements
...
- js code that was previously bundled in .py files is now in the
web folder
- add helpers to create links to bundled files, and update
stdHtml() to accept a list of javascript files to include
instead of text
- render MathJax in card layout and preview screens - these should be
updated in the future to update the document dynamically like the
reviewer does
- start media server earlier so it can be used to serve content for
the toolbar, etc
- work around a bug in WebEngine on Windows that could cause the
media server to hang
2017-07-28 16:35:45 +10:00
Damien Elmes
b1959e5c83
latex fixes
...
- fix the missing replacement tmp.%s
- use a zoom factor of 2 by default
- look for both png and svg files before creating
2017-07-22 12:36:31 +10:00
Damien Elmes
9cda9334d3
Merge pull request #112 from sigkell/master
...
Output SVG instead of PNG for LaTeX
2017-07-22 11:00:13 +10:00
Damien Elmes
8a85471374
bump version
2017-07-20 12:17:59 +10:00