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
9ed04d9c27
implemented creae topic api
...
implemented the api /groups/:group_id/topics/create.json
2011-03-11 09:03:12 +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
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
d093b3ab2e
no need for that anymore
2011-02-21 14:51:40 -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
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
c86ec88c4c
Added skeleton Category
2011-02-20 14:49:37 -05:00
Kenneth Reitz
00b352372c
API refactor
2011-02-20 14:23:20 -05:00
Kenneth Reitz
1464ca50ed
whitespace
2011-02-20 14:23:03 -05:00
Kenneth Reitz
f049323386
Add cached groups to parents.
2011-02-20 14:22:56 -05:00
Kenneth Reitz
d7feb0091d
whitespace
2011-02-20 13:32:09 -05:00
Kenneth Reitz
8e6d69b0e5
Using Synced list.
2011-02-20 13:31:29 -05:00
Kenneth Reitz
5695122056
Convore object is all there is to import.
2011-02-20 13:31:14 -05:00
Kenneth Reitz
a18cbec1c6
SyncedList types built, and it's AWESOME.
2011-02-20 13:30:58 -05:00
Kenneth Reitz
c635ad0370
Abstractions
2011-02-20 13:05:59 -05:00
Kenneth Reitz
530642402c
added GroupsDiscover endpoint.
2011-02-19 21:29:50 -05:00
Kenneth Reitz
932fd1e9dc
friend_list should be friends.
2011-02-19 21:24:39 -05:00
Kenneth Reitz
a47e7e2dee
Added friend_list
2011-02-19 21:23:39 -05:00
Kenneth Reitz
40259d93d6
get/post parameter updates
2011-02-19 20:45:19 -05:00
Kenneth Reitz
c4aa0f485b
Problem solved.
2011-02-19 20:23:16 -05:00
Kenneth Reitz
0bfb6b13f9
ugh
2011-02-19 20:10:17 -05:00
Kenneth Reitz
1b75b13b21
sigh
2011-02-19 19:10:50 -05:00
Kenneth Reitz
bc88adeef1
utc timestamps
2011-02-19 18:59:05 -05:00
Kenneth Reitz
70f628a64c
extracted _safe_request()
...
new api.post function
2011-02-19 16:36:01 -05:00
Kenneth Reitz
5e77e4db1f
utilize new api requests wrapper
2011-02-19 16:29:34 -05:00
Kenneth Reitz
5993dbadfe
API Handling setup
2011-02-19 16:29:15 -05:00