Commit Graph

114 Commits

Author SHA1 Message Date
Adi Sieker 91a126ab81 added unread count functionality 2011-04-12 23:53:02 +02:00
Adi Sieker 3cc3b9e0ff unread attribute for messages and live api topic.
- added an unread attribute to the message class and populate it
  during sync.
- fixed new topics in the live api.
2011-04-12 20:59:38 +02:00
Adi Sieker fe7c5af03c added implicit sync on accessing a SyncedList. 2011-04-10 23:54:23 +02:00
Adi Sieker bd3c06d2a7 use _create_topic_from_api method and delete slug as a key.
in topic.create use _create_topic_from_api instead of doing it on our own.
messages don't have a slug attribute. So we can't use it as a key.
2011-04-07 23:19:57 +02:00
Adi Sieker ef36a7a07c reworked live api and removed some duplicate code.
The live api call now returns a list of dicts.The
dicts contain the kind and a corresponding object.
2011-03-11 23:56:05 +01:00
Adi Sieker bb871937d4 implemented live api.
simple implementation. we make a blocking call to the url.
if working in a GUI environment where the blocking call would
freeze the GUI. the caller would need to start the live call
in a separate thread and use a Queue to pass back the live data.
2011-03-11 21:41:23 +01:00
Adi Sieker a482303b15 added myself to the AUTHORS file. 2011-03-11 09:08:05 +01:00
Adi Sieker 9ed04d9c27 implemented creae topic api
implemented the api /groups/:group_id/topics/create.json
2011-03-11 09:03:12 +01:00
Adi Sieker 229edd5fa7 added .pyc to the ignore list. 2011-03-11 09:02:19 +01:00
Adi Sieker 9af0259144 implemented create message api.
implemented the API /topics/:topic_id/message/create.json
2011-03-09 23:46:10 +01:00
Adi Sieker 9b7cce6509 don't sync on instatiation.
if we sync on instantiation login happens automatically.
we don't get a chance to call account_verify or rather it
doesn't make sense.
2011-03-09 11:02:32 +01:00
Adi Sieker 77e7901e1f implemented topics and messages.
groups now know their topics and topics know their messages.
the relevant convore apis are:
- /groups/:group_id/topics.json
- /topics/:topic_id/messages.json
2011-03-09 11:00:03 +01:00
Kenneth Reitz 54d78ebe46 unittest2 for python <2.7 2011-02-25 09:19:29 -05:00
Kenneth Reitz 179cef4784 tests 2011-02-25 09:16:06 -05:00
Kenneth Reitz 7fab3abaaa new search api 2011-02-25 09:15:59 -05:00
Kenneth Reitz e490e98add Requests v0.3.0 2011-02-25 09:15:49 -05:00
Kenneth Reitz 17f8c92d12 Search is now a method. 2011-02-22 01:02:16 -05:00
Kenneth Reitz 17447de05a Search endpoint works. 2011-02-21 15:55:24 -05:00
Kenneth Reitz 5377ecfd47 GroupDiscoverSearch started 2011-02-21 15:48:22 -05:00
Kenneth Reitz f0fb680961 Added optional get params. 2011-02-21 15:48:04 -05:00
Kenneth Reitz e24fe6af11 Add groups attr to categories. 2011-02-21 15:41:13 -05:00
Kenneth Reitz ecf15dfbf1 Only store parents if you can. 2011-02-21 15:41:03 -05:00
Kenneth Reitz b82d422b10 better error syntax 2011-02-21 15:40:28 -05:00
Kenneth Reitz 07844037ae Find out more about groups. 2011-02-21 15:39:57 -05:00
Kenneth Reitz 19bdb0a0e0 Added new error handling message passing. 2011-02-21 15:39:37 -05:00
Kenneth Reitz 8b82223b6d Category support 2011-02-21 15:20:52 -05:00
Kenneth Reitz 4c9fbe50a1 setup.py test 2011-02-21 15:04:32 -05:00
Kenneth Reitz 2d4c4c6593 that'll fix that 2011-02-21 15:00:22 -05:00
Kenneth Reitz 34e3c4984b much better minitest 2011-02-21 15:00:16 -05:00
Kenneth Reitz a49b0fc2b7 Real tests w/ configuration. 2011-02-21 14:51:54 -05:00
Kenneth Reitz d093b3ab2e no need for that anymore 2011-02-21 14:51:40 -05:00
Kenneth Reitz 3eb21e19e9 Python 2.5 support, simplejson if <2.6 2011-02-21 14:23:58 -05:00
Kenneth Reitz 22658f6386 AnyJSON notice. 2011-02-21 14:22:02 -05:00
Kenneth Reitz a420529574 Anyjson, docstrings 2011-02-21 14:21:56 -05:00
Kenneth Reitz d24543ea8f whitespace cleanup 2011-02-21 14:21:36 -05:00
Kenneth Reitz 7020cd52a5 using anyjson instead of built-in json module 2011-02-21 14:16:18 -05:00
Kenneth Reitz 545e8f5ad9 Vendorized anyjson 2011-02-21 14:15:56 -05:00
Kenneth Reitz 1dd27988ca added __docformat__ 2011-02-21 14:15:45 -05:00
Kenneth Reitz 814258e081 Added authors and manifest. 2011-02-21 13:40:31 -05:00
Kenneth Reitz 711ae414aa can't support everything. yet. 2011-02-21 13:37:50 -05:00
Kenneth Reitz 6678a07b2e no longer empty file 2011-02-21 13:25:02 -05:00
Kenneth Reitz 577058d3ca ISCL 2011-02-21 13:24:31 -05:00
Kenneth Reitz 10221e8f7c requests ftw 2011-02-21 13:23:12 -05:00
Kenneth Reitz 2274f55c0e tox configuration 2011-02-21 13:20:45 -05:00
Kenneth Reitz 454a8bac60 for now 2011-02-21 13:15:20 -05:00
Kenneth Reitz 109e51954c new style api get call 2011-02-21 13:12:50 -05:00
Kenneth Reitz 78fc750a02 new-style classes, not self-instantiating 2011-02-21 13:12:29 -05:00
Kenneth Reitz 804bc230b0 use new api for group pulls 2011-02-21 02:27:04 -05:00
Kenneth Reitz 85b615c460 added HACKING file 2011-02-21 02:26:41 -05:00
Kenneth Reitz c86ec88c4c Added skeleton Category 2011-02-20 14:49:37 -05:00