Commit Graph

766 Commits

Author SHA1 Message Date
Damien Elmes
d53346d783 limit url unquoting to image tags
this prevents random text like %20 in a field from being converted
when note is saved
2014-08-01 09:42:28 +09:00
Damien Elmes
f8bf8afe4a Revert "remove urllib.unquote() step in editor"
This reverts commit 23cec2d5e9.

without other changes, this causes double escaping when editing
2014-08-01 09:37:23 +09:00
Damien Elmes
dd2b6cb07d ignore >100MB files 2014-07-30 04:32:18 +09:00
Damien Elmes
3ee1937310 we need to count up for downloads
as we're streaming changes we don't know the total amount of downloads
required
2014-07-29 07:37:30 +09:00
Damien Elmes
cf801e4fb4 display more feedback when syncing media
deletes in particular take some time for the server to process, but
don't require much bandwidth, leading to the progress appearing to
have pause when content is actually being processed

this also gives the user an idea of how long the process will take to
complete
2014-07-28 17:00:26 +09:00
Damien Elmes
f5d60c70e2 remove unused functions 2014-07-28 14:28:12 +09:00
Damien Elmes
354fbd33f6 fix media test 2014-07-28 14:26:40 +09:00
Damien Elmes
908c514e58 Merge branch 'master' of https://github.com/sobjornstad/anki 2014-07-23 20:15:29 +09:00
Soren I. Bjornstad
9e69da6c9a use Documents/Anki (in English) if no DocumentsLocation
Otherwise it gets created directly in the home folder, which is
confusing when you would expect that only to happen on older installs
which previously used it.
2014-07-22 11:22:06 -05:00
Soren I. Bjornstad
23cec2d5e9 remove urllib.unquote() step in editor
Fixes bug #950. We need to keep an eye out for media filename problems,
as this line is probably not necessary anymore with changes to the way
Anki handles encoding but could potentially introduce issues.
2014-07-22 10:36:08 -05:00
Soren I. Bjornstad
92072f57cd Merge branch 'master' of https://github.com/dae/anki 2014-07-22 08:58:24 -05:00
Damien Elmes
d43d9fd87a disable more useful msg in disk i/o error case 2014-07-22 08:01:19 +09:00
Damien Elmes
da777160bc bump version 2014-07-21 14:30:32 +09:00
Damien Elmes
f54f5870fa deauthing should reset lastUsn to 0
thanks to houssam for the heads up!
2014-07-20 03:37:31 +09:00
Damien Elmes
ed34d5bc94 bump version 2014-07-18 20:08:33 +09:00
Damien Elmes
3224a155a7 normalize filenames as we sync
user still needs to run "check media" if their fields are encoded
incorrectly, but by fixing on the fly we'll ensure mediaSanity doesn't
fail
2014-07-15 11:49:03 +09:00
Damien Elmes
ba8ed39e13 fix media sync thinking >25 changes is a concurrent update 2014-07-15 11:36:52 +09:00
Damien Elmes
0f6bc861d4 Merge branch 'master' of github.com:dae/anki 2014-07-14 15:09:18 +09:00
Damien Elmes
83e8694740 Merge pull request #86 from julienbaley/duplicate_browser
Remember state of Browser/AddCards window if already open
2014-07-14 15:09:09 +09:00
Julien Baley
ee55d3e96c Do not ignore the state of a window when opening it 2014-07-13 18:42:18 +01:00
Damien Elmes
77c9d5f5f3 tweak dev url 2014-07-12 18:21:49 +09:00
Damien Elmes
944ba2e90f Merge branch 'master' of https://github.com/sobjornstad/anki 2014-07-10 11:10:57 +09:00
Soren I. Bjornstad
c513537c02 Merge branch 'master' of https://github.com/dae/anki 2014-07-09 09:22:40 -05:00
Damien Elmes
d3807e3180 don't redetect delete which leads to sync error 2014-07-08 13:45:29 +09:00
Damien Elmes
df72c5a55f split media and regular server urls 2014-07-08 11:16:51 +09:00
Damien Elmes
1099b743b7 yet another file locking bug: must close prefs.db before moving 2014-07-07 13:18:00 +09:00
Damien Elmes
bbefeb0cfd make sure we don't rename to existing prefs.db.broken 2014-07-07 10:47:57 +09:00
Damien Elmes
760e16dfbf catch more startup errors 2014-07-07 10:41:56 +09:00
Damien Elmes
efbb77c078 add jussi to about 2014-07-07 09:03:58 +09:00
Soren I. Bjornstad
1fc1c56aa9 fix error on stats when translation had %f in different place 2014-07-05 10:39:00 -05:00
Damien Elmes
999c53b5ec fix another downgrade+upgrade bug 2014-07-05 11:37:28 +09:00
Damien Elmes
1cb2aa077a must make sure to detach old media db before renaming 2014-07-05 07:21:32 +09:00
Damien Elmes
a5d9131445 force media resync on deauth 2014-07-04 19:44:15 +09:00
Damien Elmes
014787c4cb log mediaChangesZip() 2014-07-04 18:14:45 +09:00
Damien Elmes
a93c3423e3 must commit on concurrent update 2014-07-04 18:06:40 +09:00
Damien Elmes
653f001da0 Merge pull request #85 from bastik/ideographic-space
add support for ideographic space in card search browser
2014-07-04 09:01:46 +09:00
Damien Elmes
03f9c76b9e Merge branch 'master' of https://github.com/sobjornstad/anki 2014-07-04 06:41:44 +09:00
Soren I. Bjornstad
8e2b653bd0 make path to documents folder translatable 2014-07-03 14:46:34 -05:00
Soren I. Bjornstad
45a6e8cdba fix automatic 'deck:current' missing trailing space
3aeb5d8 accidentally added some duplicate code that made the search
parser run twice and strip the space from the search that had just been
automatically placed in the box.
2014-07-03 14:03:04 -05:00
Paul Hartmann
6877cb0393 add support for ideographic space in card search browser 2014-07-03 18:44:35 +02:00
Damien Elmes
e5a2a9c3f8 make sure users can unload corrupt collection to create new profile 2014-07-02 06:29:53 +09:00
Damien Elmes
06b61fc2c7 Merge branch 'master' of https://github.com/sobjornstad/anki 2014-07-01 06:44:24 +09:00
Soren I. Bjornstad
2d7e1ad017 another translation fix 2014-06-30 09:25:19 -05:00
Damien Elmes
7fa79bf220 Merge branch 'master' of https://github.com/sobjornstad/anki 2014-06-30 15:09:40 +09:00
Soren I. Bjornstad
0071ddfb89 fix ngettext mistake in cards/minute stat
introduced in 46a38f843e
2014-06-29 12:56:05 -05:00
Damien Elmes
0abcc7412f initial zip check should display same zip error message 2014-06-29 05:55:01 +09:00
Damien Elmes
ec5d4b2203 Merge branch 'sobjornstad-master' 2014-06-29 04:07:36 +09:00
Damien Elmes
1e34696c5b Merge branch 'master' of git://github.com/sobjornstad/anki into sobjornstad-master
Conflicts:
	anki/exporting.py
2014-06-29 04:07:00 +09:00
Soren I. Bjornstad
c3434ff751 update note type on apkg import when only templates have changed
Previously, it only updated if card/note count was different, even if
the templates / styling information had been updated.
2014-06-28 13:51:30 -05:00
Soren I. Bjornstad
0c937074eb prevent profiles from getting out of sync when rename fails
If there is an error in renaming the folder, don't write the new profile
name to the database.
2014-06-28 11:31:02 -05:00