Damien Elmes
6f66f11572
Merge pull request #40 from steveaw/add-hooks3
...
Add hooks for context menus
2013-07-16 19:08:59 -07:00
Damien Elmes
4c671b3676
work around linux crash on paste
...
https://anki.tenderapp.com/discussions/ankidesktop/2019-inaccessible-firewall-blocked-media-url-paste-hangs-anki-for-a-minute-until-a-network-is-unreachable-like-message-appears
2013-07-17 10:19:09 +09:00
steveaw
e5bc1650f9
Add hooks for context menus
2013-07-16 17:42:50 +10:00
Damien Elmes
c0454fe3e7
reduce max media count to 100 per chunk
2013-07-12 08:44:27 +09:00
Damien Elmes
2ba8c41fec
replace nbsp with standard space when stripping html
...
fixes https://anki.tenderapp.com/discussions/ankidesktop/1952-duplicate-not-detected-on-paste
2013-07-11 21:23:13 +09:00
Damien Elmes
ffff271362
make sure we strip <!--anki-->
2013-07-11 21:22:51 +09:00
Damien Elmes
0fa9b75af5
fix importing with schema change logic
...
the previous fix for #612 was broken, and led to notes with altered schemas
being imported with the incorrect schema
2013-07-11 18:47:49 +09:00
Damien Elmes
f7c841fba2
Revert "when target add deck changed, switch review deck too ( #695 )"
...
This reverts commit db262031c3
.
This addresses issue #929
2013-07-11 18:17:26 +09:00
Damien Elmes
5ea074ed2a
make sure we always show 3 buttons for cards in initial learning ( #928 )
...
even if there's only a single learning step, the easy bonus means we need to
show both buttons
2013-07-11 17:59:44 +09:00
Damien Elmes
3007d884b8
if there's no html and we have an image, use that ( #915 )
2013-07-11 17:43:18 +09:00
Damien Elmes
e2d2b759a4
refactor media downloading on paste/drop
...
- use html as the first choice for incoming drops/pastes
- when filtering incoming html, automatically localize any remote image
references
- add a special case for pasting/dropping from google images when html
stripping is on
- move filtering code into editor
2013-07-11 17:21:16 +09:00
Damien Elmes
a538e29480
refactor illegal char handling and file adding for media
...
- add writeData() so we can add files to media folder without having to
save them in an intermediate folder first
- we were stripping or checking for illegal filename characters in
multiple places; factor those checks out into separate routines
- add * to invalid char list, and disallow both forward and backslash
- remove size checks in syncAdd(); is handled server-side
2013-07-11 15:33:24 +09:00
Damien Elmes
a3190d52f1
make sure we include 'px' in stats (thanks to steveaw)
2013-07-09 08:14:13 +09:00
Damien Elmes
a1ca03ee17
allow urllib2 to be passed unicode data to send ( #923 )
2013-07-03 04:48:52 +09:00
Damien Elmes
2754ead0a4
don't bug out if cloze:text is invalid ( #925 )
2013-07-03 04:27:46 +09:00
Damien Elmes
2d4b79b490
keep scanning csv until we find non-zero field count ( #920 )
2013-07-03 04:23:33 +09:00
Damien Elmes
56143c346a
fix graph regression caused by div changes ( #913 )
2013-07-03 04:06:44 +09:00
Damien Elmes
64c4f1974b
fall back on regular delete on broken recycle bin ( #926 )
2013-07-03 03:52:16 +09:00
Damien Elmes
2047e5c93c
don't send old backups to the trash ( #912 )
2013-07-03 03:41:41 +09:00
Damien Elmes
157b402495
Merge pull request #37 from hans/patch/924
...
Handle invalid import file argument in both launch cases (single-profile...
2013-07-01 22:30:31 -07:00
Hans Engel
c916fa533f
Handle invalid import file argument in both launch cases (single-profile and multi-profile launch) ( #924 )
2013-06-29 15:08:37 -07:00
Damien Elmes
bf187f5120
Merge pull request #36 from sobjornstad/master
...
Fix incorrect maintenance text
2013-06-25 22:32:37 -07:00
Soren Bjornstad
b5521af059
fix incorrect instructions to "maintenance" menu
...
(on finding an empty card, tells user to go to old location of the empty
cards tool)
2013-06-25 10:59:00 -05:00
Damien Elmes
1a9ef3734e
bump version
2013-06-14 13:15:18 +09:00
Damien Elmes
f2d538d546
catch errors trying to determine fs type
2013-06-14 13:15:05 +09:00
Damien Elmes
077d6b8187
Revert "force webkit to output <br> when enter pressed, instead of div"
...
This reverts commit e63c8e5619
.
2013-06-14 13:11:48 +09:00
Damien Elmes
24995de437
Revert "need to strip trailing <br /> when saving fields"
...
This reverts commit f10b336fb9
.
2013-06-14 13:11:26 +09:00
Damien Elmes
49ea66bca9
Revert "add a hack to prevent double newlines when deleting formatting"
...
This reverts commit ecf9776f90
.
2013-06-14 13:11:04 +09:00
Damien Elmes
e7ec4edf92
fix sync error message bug
2013-06-14 13:06:56 +09:00
Damien Elmes
b71282ea0b
bump version
2013-06-12 11:22:27 +09:00
Damien Elmes
c0e061a9f4
make sure we show correct version when nothing typed in
2013-06-12 11:22:13 +09:00
Damien Elmes
5ec30e6858
allow apostrophe when renaming deck
2013-06-12 11:12:03 +09:00
Damien Elmes
f80d01dc4f
update about
2013-06-12 10:50:57 +09:00
Damien Elmes
426eff4cff
prioritize images over html for now
...
when a user copies an image from the browser to the clipboard, we need to do
this so the image pastes, as we currently don't support images derived from
html pastes (issue 92)
2013-06-10 16:04:58 +09:00
Damien Elmes
a6b44cff01
skip fat32 check on unmapped network drive ( #902 )
2013-06-10 15:32:21 +09:00
Damien Elmes
51121f6e86
escape image links in clayout and preview as well ( #903 )
2013-06-10 15:28:34 +09:00
Damien Elmes
c7b31d28e4
fix unicode error on export ( #904 )
2013-06-10 15:19:44 +09:00
Damien Elmes
9d173f4c83
default to allowing HTML on import
2013-06-10 15:03:26 +09:00
Damien Elmes
8fd4ae7a89
include pyqtconfig until add-ons have a chance to update
2013-06-10 15:03:19 +09:00
Damien Elmes
dbd60dba4b
fix error when opening card layout
2013-06-07 09:51:26 +09:00
Damien Elmes
adaf951a5a
force y axis min of 0 in reps graph too
2013-06-06 08:19:32 +09:00
Damien Elmes
4d2101cf89
dupes->dupe (fix dupe search)
2013-06-06 07:40:18 +09:00
Damien Elmes
daca1af693
compare typed answer in nfc form
2013-06-05 18:39:42 +09:00
Damien Elmes
8e8de1e333
mnemosyne importer tweaks
...
- convert newlines to br
- non-greedy match mnemosyne clozes
2013-06-05 18:39:32 +09:00
Damien Elmes
55ca4b42bb
bump version
2013-06-03 17:53:01 +09:00
Damien Elmes
a4b7a93bcc
mnemosyne importer improvements
...
- support cloze type
- use proper names for front/back, etc
- change <audio> to [sound:]
- change mnemosyne-style latex references
2013-06-03 13:58:40 +09:00
Damien Elmes
161f8bcb31
Merge branch 'master' of github.com:dae/anki
2013-06-02 10:26:22 +09:00
Damien Elmes
d0b31c2446
Merge pull request #32 from sobjornstad/master
...
Fix save image bug
2013-06-01 18:25:51 -07:00
Soren Bjornstad
222b90e640
fix "save image" creating a folder instead of an image
2013-06-01 13:48:24 -05:00
Damien Elmes
5db00d5815
fix find dupes when fieldname case differs
2013-06-01 10:49:33 +09:00