Commit Graph
304 Commits
Author SHA1 Message Date
Christoph Mackandjdoe0 1b1a3d8e22 Define a random skey to return to the client when media syncing begins, so we don't send a null skey value. 2016-04-05 23:21:05 +07:00
Christoph Mackandjdoe0 f03aea67c1 SyncMediaHandler.begin(): return media database usn instead of collection database usn.
If the wrong usn is returned, media syncing on the client will not finish with status "noChanges" even if there have been no changes since the last media sync.
2016-01-24 01:54:35 +07:00
jdoe0 3baad9cfac Fix syncing with AnkiDroid 2015-11-29 11:53:58 +07:00
jdoe0 d3eab4266e Update addon code in README.md 2015-11-27 12:27:07 +07:00
jdoe0 dfe62472a1 Update config file
Add base_media_url.
2015-11-27 12:25:52 +07:00
jdoe0 ab40509cb2 Add missing function _execute_handler_method_in_thread() 2015-11-27 12:17:49 +07:00
jdoe0 8066fba1fe Update for Anki >= 2.0.27
This breaks compatibility with Anki < 2.0.27
2015-11-27 12:17:49 +07:00
jdoe0 40d515234e Update README.md 2014-07-22 20:29:02 +07:00
jdoe0 07ed4dfb75 ankisyncd.sh: Disable python version check 2014-01-18 01:40:43 +07:00
jdoe0 8c3a53c3f4 ankisyncd.sh: Look for 'python2' before checking the version of 'python' 2014-01-10 19:39:57 +07:00
David Snopekandjdoe0 0311e25574 Collection.media.illegal() was renamed to Collection.media.hasIllegal() in Anki 2.0.12. 2014-01-04 21:09:56 +07:00
David Snopekandjdoe0 f210f728ea Updated the bundled Anki 2.0.20 and made some fixes for that version. Fixes #9.
Conflicts:
	AnkiServer/importer.py
	anki-bundled
	tests/test_importer.py
2014-01-04 21:09:23 +07:00
jdoe0 525652dad0 Renamed config file to ankisyncd.conf 2014-01-04 20:06:14 +07:00
jdoe0 bce42dd297 ankisyncd.sh: Check python version and look for python2 if it's not the default
python
2014-01-04 19:58:44 +07:00
jdoe0 29e8f8177e ankisyncd.sh: Use '/usr/bin/env bash' in shebang for better portability 2014-01-04 19:34:58 +07:00
jdoe0 42f91cce80 thread.py: Remove unused imports 2014-01-04 19:31:29 +07:00
jdoe0 8733e5c22a Update README.md 2013-12-22 22:01:44 -06:00
ospalhandjdoe0 b0f4accdce Looks like the old code missed a 'self.'.
Simplified a bit.
2013-12-16 15:49:36 -06:00
ospalhandjdoe0 c0d3b06ea3 Semi-automatically remove trailing whitespace. 2013-12-16 15:49:27 -06:00
jdoe0 e12ecedbf0 Update README.md 2013-12-07 17:29:30 -06:00
Alexander Grünebergandjdoe0 d23dd0122a Fix initial user creation.
sqlite3.connect automatically creates a database file if it doesn't
exist yet. Consequently, os.path.isfile will always return true, the
auth table won't be created, and inserting a user will fail.
2013-12-06 16:19:27 -06:00
David Snopekandjdoe0 33c0fdcd1f Got ankiserverctl.py working on my system, installing into the system bin/ and working with config files in another directory.
Conflicts:
	setup.py
2013-12-06 16:14:22 -06:00
jdoe0 a18d806b06 Update README.md 2013-12-06 15:57:15 -06:00
jdoe0 e1db4aa67f Update README.md 2013-10-29 16:48:02 -05:00
jdoe0 93ad7c5dfe Added launcher script 2013-10-24 04:51:32 -05:00
jdoe0 1bee3298d7 Added wrapper script 2013-10-24 04:44:38 -05:00
jdoe0 1fd9aa5e47 Update README.md 2013-10-20 19:18:48 -05:00
jdoe0 6805ca9936 Update README.md 2013-10-20 18:57:58 -05:00
jdoe0 95ef2b9155 Update README.md 2013-10-20 01:14:11 -05:00
jdoe0 b3e823a19a Update README.md 2013-10-20 01:07:36 -05:00
jdoe0 4e8f16eec8 Updated README 2013-10-20 00:36:27 -05:00
jdoe0 5fe057961e Changed module name to ankisyncd 2013-10-19 00:46:55 -05:00
jdoe0 f6acc0dafb Renamed AnkiServer folder to src 2013-10-13 16:12:25 -05:00
jdoe0 e72635406f Renamed LICENSE.txt to COPYING 2013-10-13 16:10:00 -05:00
jdoe0 fde985651b Remove dotfiles 2013-10-13 16:09:18 -05:00
jdoe0 bd58e02319 Merge sync_app.py from upstream 2013-10-13 16:03:07 -05:00
David Snopekandjdoe0 0daf0a7cd9 Added a LICENSE.txt for the GNU Affero GPL. 2013-08-14 19:20:29 +07:00
jdoe0 64f2f7352a Properly close database connection in DatabaseAuthSyncApp.authenticate() 2013-08-14 19:20:29 +07:00
jdoe0 e0e46904bb Updated README.md 2013-08-14 19:20:29 +07:00
jdoe0 d573bf6b42 Remove things not needed by sync_app 2013-08-14 18:47:47 +07:00
jdoe0 fd58fcd9ec Updated README.md 2013-08-02 11:23:30 +07:00
jdoe0 45d36a7a97 Moved the implementation of sqlite-based authentication to DatabaseAuthSyncApp 2013-08-02 10:57:55 +07:00
jdoe0 942c9b34dc Fixed bad indentation 2013-08-02 10:27:27 +07:00
jdoe0 a99f4f6176 Merge branch 'master' of https://github.com/dsnopek/anki-sync-server 2013-08-02 10:17:59 +07:00
David Snopek 04fb2df995 Correctly store 'time' in the revlog, when 'timerStarted' is passed to 'answer_card'. 2013-08-01 21:45:16 +01:00
jdoe0 c8501cf8aa Merge https://github.com/dsnopek/anki-sync-server 2013-08-02 01:35:27 +07:00
jdoe0 f4cfde621e Put authentication database path in ini file 2013-08-02 01:30:04 +07:00
jdoe0 f17ccd954c Updated README.md 2013-08-02 01:09:28 +07:00
jdoe0 654240abca Added basic authentication support 2013-08-02 00:08:32 +07:00
David Snopek 4e2c697abc Fix for a JSON encoding "quirk" in PHP 2013-08-01 17:29:19 +01:00