Commit Graph

21 Commits

Author SHA1 Message Date
David Snopek
59f8171798 Serialize more of the card object. 2013-07-17 17:34:34 +01:00
David Snopek
9deb84c6a6 Got the supervisor conf actually working and tested. 2013-07-17 16:07:15 +01:00
David Snopek
a2661400f3 Moved import code into it's own module so things outside of the ImportExportHandler can use it (like a setup_new_collection function). 2013-07-16 20:22:17 +01:00
David Snopek
50bcba34a0 Added an example supervisord config file. 2013-07-16 20:03:48 +01:00
David Snopek
1349178157 Moved logging into a utils module so we don't have to duplicate it. 2013-07-16 19:50:45 +01:00
David Snopek
f33b655717 Integration testing reveals some insanity that snuck into the repo. :-) 2013-07-16 19:45:35 +01:00
David Snopek
540d190c2a Added support for getting the buttons and the estimated interval times (no tests!) 2013-07-16 17:44:09 +01:00
David Snopek
d925cddf17 Implemented import support! 2013-07-16 16:58:04 +01:00
David Snopek
022235ec60 * Simplified the *HandlerGroup to *Handler.
* Added lots of operations connected with models and notes.
2013-07-16 15:12:05 +01:00
David Snopek
93094ebb48 * Added new handler type 'card' and moved the position of 'note'
* Got us actually adding notes and cards to the Anki collection!
2013-07-16 14:20:31 +01:00
David Snopek
a31de8a91a Got almost 80% test coverage of AnkiServer/apps/rest_app.py and fixed some bugs. 2013-07-15 17:11:28 +01:00
David Snopek
57d3ba5445 Refactored AnkiServer/apps/rest_app.py so that it is actually testable. 2013-07-15 16:13:48 +01:00
David Snopek
3a31cb5889 Merge branch 'anki_2_0' of https://github.com/dsnopek/anki-sync-server into anki_2_0 2013-07-15 15:29:29 +01:00
David Snopek
f707c8409c Got nearly 100% test coverage for AnkiServer/collection.py 2013-07-15 15:27:13 +01:00
David Snopek
9f4a3c5373 Corrected INSTALL.txt. 2013-07-14 06:56:46 -05:00
David Snopek
e25cf25684 Squashed commit of the following:
commit cb509e8f75e3dcdbc66327be4bfbf6661aa084b5
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 22:06:28 2013 +0100

    Cut down 'import' statements to only modules actually used.

commit 0ea255115e095e31af5a991e9cce2b5b15cb496d
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 22:00:06 2013 +0100

     * Add getCollectionManager() so that the whole process can share the same ThreadingCollectionManager object.

     * Got the RestApp actually working!

commit 00997bab600b13d4b430ed2c2839b1d2232f55ed
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 21:04:58 2013 +0100

    Got the sync_app working again (more or less)

commit 459c69566bb92d2c0195a384e067d98c059bdea7
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 19:47:40 2013 +0100

    Started implementing test for the RESTful callbacks that PrepECN is going to need.

commit 7ffbac793f9bf45ab9056c1de475422b8742e107
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 17:19:06 2013 +0100

    Started work on a WSGI app for RESTful access to Anki based on Bibliobird code here:

      https://raw.github.com/dsnopek/bbcom/master/AnkiServer/AnkiServer/deck.py

commit 8820411388ce0c2b7b14769c614c22c675d2dbdd
Author: David Snopek <dsnopek@gmail.com>
Date:   Fri Jul 12 15:03:56 2013 +0100

     * Seperated the collection and threading code.

     * Implemented a new interface to interact with the collections, which will hopefully be more transparent and testable.
2013-07-12 22:08:16 +01:00
David Snopek
661662400f Actually integrated the thread_pool into the SyncApp. 2013-04-04 00:42:27 +01:00
David Snopek
775036e3db Reduced the collection.py module to purely managing threads. 2013-04-03 23:42:01 +01:00
David Snopek
457a88d484 Got a complete 'fullup' working! 2013-04-03 22:42:28 +01:00
David Snopek
d425b03d3e Got sync working through part of the 'fullup' process (media is
currently failing).
2013-04-03 20:50:32 +01:00
David Snopek
549d9b1d2c Committed old Anki 1.2 sync server code. It's not very generic. :-/ 2013-04-03 14:31:44 +01:00