David Snopek
db96bc1ac7
* Fixed 'cards' report
...
* Allow adjusting width/height
* Wrap the individual reports so we can do special styling if necessary
2013-07-26 20:43:03 +01:00
David Snopek
be72e8ef25
Generate collection/deck graphs.
2013-07-26 20:16:26 +01:00
David Snopek
2239fb8f41
Added 'stats_report' for cards.
2013-07-26 19:25:42 +01:00
David Snopek
b97f34d741
Allow passing order into 'find_cards'.
2013-07-26 19:16:26 +01:00
David Snopek
0798415076
* Fixed bug in 'find_cards'.
...
* Seperated CSS and HTML on the cards.
2013-07-26 14:09:25 +01:00
David Snopek
dbed1ef303
Fixed adding/removing tags via card (no unit tests, yet :-/)
2013-07-26 13:38:50 +01:00
David Snopek
80f2136805
Got 'create_dynamic_deck' actually working in integration.
2013-07-24 21:29:26 +01:00
David Snopek
3fe1e0eb06
Implemented 'create_dynamic_deck' for custom study options.
2013-07-24 20:17:52 +01:00
David Snopek
46dab1c612
Added 'list_tags'.
2013-07-24 19:28:24 +01:00
David Snopek
e228c0739b
Fixed 'extend_scheduler_limits'.
2013-07-24 17:15:59 +01:00
David Snopek
1348950875
Attempt to allow the user to configure the scheduler.
2013-07-24 17:06:08 +01:00
David Snopek
e582d8284b
* Added the ability to suspend/unsuspend cards.
...
* Added the ability to add/remove tags.
2013-07-23 00:33:53 +01:00
David Snopek
28ad457773
Began testing and fleshing out the NoteHandler.
2013-07-22 23:48:06 +01:00
David Snopek
0b7628f5e4
Began fleshing out the CardHandler.
2013-07-22 23:35:03 +01:00
David Snopek
34cb8fe09b
Did some refactoring moving the 'next_card' stuff into the CollectionHandler.
2013-07-22 22:37:34 +01:00
David Snopek
ffde4a7ff6
* Added sessions and refactored the handler arguments to only take the collection and (new) request object
...
* Got 'answer_card' actually working
* Added some support for the translation built into Anki
2013-07-22 20:11:53 +01:00
David Snopek
9a97d6524e
Changed extension so that GitHub will show it right!
2013-07-18 02:23:58 +01:00
David Snopek
d73401ac6b
Changed INSTALL.txt to README.txt.
2013-07-18 02:22:21 +01:00
David Snopek
9207f3bce4
* Simplified logging helper.
...
* Fixed think-o in how to close the CollectionWrapper inside a ThreadingCollectionWrapper.
2013-07-18 02:17:36 +01:00
David Snopek
f891a939c3
Updated the supervisord example config.
2013-07-17 19:19:37 +01:00
David Snopek
45efa650d5
Refactor adding our default note for testing.
2013-07-17 17:47:53 +01:00
David Snopek
4e8f1d217e
Forgot to test the answer buttons too!
2013-07-17 17:37:11 +01:00
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