Jason Robinson [Sun, 30 Jun 2013 22:14:55 +0000 (01:14 +0300)]
Status code 200 is returned by Diaspora* on a successful addition of user to aspect
Jason Robinson [Sun, 30 Jun 2013 21:52:03 +0000 (00:52 +0300)]
Return more precise error description when adding to aspects
Jason Robinson [Sun, 30 Jun 2013 21:48:08 +0000 (00:48 +0300)]
Allow fetching of data only without posts when creating User, using people.json search mechanism (requires handle). Some refactoring, no data saved in User attributes outside data dict.
Moritz Kiefer [Sun, 30 Jun 2013 11:31:19 +0000 (04:31 -0700)]
Merge pull request #15 from jaywink/contacts-fetch-fix
Fix Contacts.get actually returning real User classes
Jason Robinson [Sat, 29 Jun 2013 20:17:40 +0000 (23:17 +0300)]
Fix Contacts.get actually returning real User classes with guid in correct place. Also add handle to User class and add option not to fetch posts, which is used when fetching contacts
Marek Marecki [Wed, 12 Jun 2013 05:13:17 +0000 (07:13 +0200)]
Update to version 0.2.0 (according with semantic versioning)
Marek Marecki [Wed, 12 Jun 2013 05:07:50 +0000 (07:07 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api to
be able to push to it
Marek Marecki [Wed, 12 Jun 2013 05:05:12 +0000 (07:05 +0200)]
Small change in .gitignore
Marek Marecki [Mon, 10 Jun 2013 21:43:24 +0000 (23:43 +0200)]
`Notification().who()` now returns list of guids af all users mentioned
in notification (not only first one).
Marek Marecki [Mon, 10 Jun 2013 21:24:12 +0000 (23:24 +0200)]
Further work on `Notificatin()` model; `str()` and `repr()` support,
`who()` and `when()` methods implemented
Marek Marecki [Mon, 10 Jun 2013 15:00:44 +0000 (17:00 +0200)]
Small style and code fixes
Marek Marecki [Mon, 10 Jun 2013 12:26:20 +0000 (14:26 +0200)]
More changes in token getting procedure, now you can specify whether
you want new token or try to reuse stored one
Marek Marecki [Mon, 10 Jun 2013 12:16:55 +0000 (14:16 +0200)]
Changes in login and token obtaining procedures,
token is now stored and can be reused when new token can be downloaded
Marek Marecki [Sun, 9 Jun 2013 20:30:55 +0000 (22:30 +0200)]
Removed that annoying print() from `models.Notification()`
Marek Marecki [Sun, 9 Jun 2013 20:08:25 +0000 (22:08 +0200)]
Notifications can now be marked as `read` or `unread`
Marek Marecki [Sat, 8 Jun 2013 23:06:59 +0000 (01:06 +0200)]
Work done to improve notifications
Marek Marecki [Wed, 5 Jun 2013 19:43:39 +0000 (21:43 +0200)]
Some stuff done
Moritz Kiefer [Sun, 26 May 2013 22:07:01 +0000 (00:07 +0200)]
Update to 0.1.0
Marek Marecki [Sun, 26 May 2013 21:47:19 +0000 (23:47 +0200)]
New methods in `diaspy.people.Contacts()` (with tests) small changes in
`diaspy.streams.py`
Marek Marecki [Sun, 26 May 2013 16:01:54 +0000 (18:01 +0200)]
Fixed bug aspect deletion, initial development for contacts
Marek Marecki [Fri, 24 May 2013 20:20:32 +0000 (22:20 +0200)]
Merge branch 'users'
Marek Marecki [Fri, 24 May 2013 20:09:34 +0000 (22:09 +0200)]
Merge branch 'streams'
Marek Marecki [Fri, 24 May 2013 20:08:58 +0000 (22:08 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api
Marek Marecki [Thu, 23 May 2013 05:19:50 +0000 (07:19 +0200)]
Add more documentation for diaspy.people.User()
Marek Marecki [Thu, 23 May 2013 04:57:33 +0000 (06:57 +0200)]
A bit of refactoring in diaspy.people.User(), it can now accept handle
or guid as a constructor parameter
Marek Marecki [Mon, 20 May 2013 19:41:45 +0000 (21:41 +0200)]
Last commit before merging into master:
`diaspy.streams.Activity` now inherits from `Stream` and not `Generic`
`diaspy.streams.Aspects` got some refactoring,
new tests added,
testconf file must be updated in order for new tests to run (documented in `testconf.md`),
Marek Marecki [Mon, 20 May 2013 18:49:38 +0000 (20:49 +0200)]
Unnecessarily complex code removed from Aspects().getID()
Marek Marecki [Sun, 19 May 2013 19:31:57 +0000 (21:31 +0200)]
One can now remove() aspects by their name, repr(Post) now returns more
detailed string, new tests
Marek Marecki [Sun, 19 May 2013 19:15:49 +0000 (21:15 +0200)]
Fixed bug in diaspy.models.Post.__str__, added logout() method to
Connection()
Marek Marecki [Thu, 16 May 2013 20:43:34 +0000 (22:43 +0200)]
Refactoring in Connection() and streams.*,
changes in streams.Aspects() - read docstring, new tests
Marek Marecki [Tue, 14 May 2013 20:40:13 +0000 (22:40 +0200)]
Style check (flake8)
Marek Marecki [Sat, 11 May 2013 05:08:57 +0000 (07:08 +0200)]
CHanges in `Connection()` (medium-sized) and `Stream()` (extra small)
Marek Marecki [Thu, 9 May 2013 07:07:32 +0000 (09:07 +0200)]
Manual updated for posting and stream
Marek Marecki [Tue, 7 May 2013 22:07:35 +0000 (00:07 +0200)]
`Client()` is now ruling-em-all with one post method
Marek Marecki [Tue, 7 May 2013 22:01:24 +0000 (00:01 +0200)]
One-to-rule-them-all version of `post()` method (with tests)
Marek Marecki [Tue, 7 May 2013 21:40:45 +0000 (23:40 +0200)]
Merge branch 'people' into streams
Conflicts:
tests.py
Marek Marecki [Tue, 7 May 2013 20:57:12 +0000 (22:57 +0200)]
Changes in `Stream().post_picture()`
Marek Marecki [Sun, 5 May 2013 22:35:37 +0000 (00:35 +0200)]
Client().get_tag() can only return stream
Marek Marecki [Sun, 5 May 2013 22:29:29 +0000 (00:29 +0200)]
New Aspect() model and Client() refactored to use it
Marek Marecki [Sun, 5 May 2013 21:51:08 +0000 (23:51 +0200)]
Documentation fixed.
Marek Marecki [Sun, 5 May 2013 21:33:14 +0000 (23:33 +0200)]
Initial work on issue #14
Marek Marecki [Sun, 5 May 2013 19:08:07 +0000 (21:08 +0200)]
Tests updated
Marek Marecki [Fri, 3 May 2013 20:37:03 +0000 (22:37 +0200)]
Changes in tests configuration, small refactoring of `User()`
Marek Marecki [Fri, 3 May 2013 19:56:51 +0000 (21:56 +0200)]
Improvements in `User()`, new tests, updated information about tests
Marek Marecki [Fri, 3 May 2013 19:21:22 +0000 (21:21 +0200)]
Merge branch 'streams' into people
Marek Marecki [Fri, 3 May 2013 19:19:59 +0000 (21:19 +0200)]
Fix in `diaspy.streams.FollowedTags` method `add()`: doesn't crash when
trying to follow a tag that is already being followed
Marek Marecki [Fri, 3 May 2013 19:03:18 +0000 (21:03 +0200)]
First test for diaspy.people.User() object
Marek Marecki [Fri, 3 May 2013 18:41:12 +0000 (20:41 +0200)]
New `diaspy.people.User()` object (plus manual)
Marek Marecki [Fri, 3 May 2013 15:29:30 +0000 (17:29 +0200)]
Removing followed tags
Marek Marecki [Fri, 3 May 2013 12:12:30 +0000 (14:12 +0200)]
Tests updated
Marek Marecki [Fri, 3 May 2013 12:06:43 +0000 (14:06 +0200)]
Changes in README
Marek Marecki [Fri, 3 May 2013 12:03:42 +0000 (14:03 +0200)]
Merge branch 'streams' of https://github.com/Javafant/diaspora-api into streams
Marek Marecki [Fri, 3 May 2013 12:02:18 +0000 (14:02 +0200)]
Removing aspect functionality moved from Client() to streams.Aspects()
Moritz Kiefer [Fri, 3 May 2013 11:11:07 +0000 (04:11 -0700)]
Merge pull request #13 from marekjm/streams
Streams
Marek Marecki [Fri, 3 May 2013 10:52:21 +0000 (12:52 +0200)]
Changes in Client() initialization, changes in test suite (only one
connection is used now to speed stuff up)
Marek Marecki [Fri, 3 May 2013 10:19:52 +0000 (12:19 +0200)]
Merge branch 'streams' of https://github.com/Javafant/diaspora-api into streams
Conflicts:
diaspy/streams.py
Moritz Kiefer [Fri, 3 May 2013 10:10:24 +0000 (12:10 +0200)]
Rename getToken() to get_token()
Moritz Kiefer [Fri, 3 May 2013 10:07:11 +0000 (12:07 +0200)]
Fix tag following
Marek Marecki [Fri, 3 May 2013 09:16:18 +0000 (11:16 +0200)]
Removed method add() from streams.FollowedTags (docs say: create())
Moritz Kiefer [Fri, 3 May 2013 08:23:12 +0000 (10:23 +0200)]
Merge branch 'streams' of git://github.com/marekjm/diaspora-api into streams
Moritz Kiefer [Fri, 3 May 2013 08:19:28 +0000 (10:19 +0200)]
Increment version to 0.0.2
Marek Marecki [Thu, 2 May 2013 23:31:59 +0000 (01:31 +0200)]
Small fixes in code and tests (added fancy test counter)
Marek Marecki [Thu, 2 May 2013 08:04:06 +0000 (10:04 +0200)]
Changes regarding use of streams in diaspy/client.py
Marek Marecki [Thu, 2 May 2013 07:53:00 +0000 (09:53 +0200)]
Further work being done on streams; all basic streams implemented
Marek Marecki [Wed, 1 May 2013 07:24:12 +0000 (09:24 +0200)]
Stream() moved to `diaspy/streams.py`, Generic() stream implemented
Marek Marecki [Tue, 30 Apr 2013 22:50:45 +0000 (00:50 +0200)]
Small changes in Makefile and code
Marek Marecki [Tue, 30 Apr 2013 22:30:56 +0000 (00:30 +0200)]
Client() rewritten to use Stream() object
Marek Marecki [Tue, 30 Apr 2013 21:09:20 +0000 (23:09 +0200)]
Updated manual
Marek Marecki [Tue, 30 Apr 2013 17:58:03 +0000 (19:58 +0200)]
Code beautifying (flake8)
Marek Marecki [Tue, 30 Apr 2013 17:54:21 +0000 (19:54 +0200)]
Stream() object with some basic functionality implemented (plus manual
and tests)
Marek Marecki [Tue, 16 Apr 2013 19:04:04 +0000 (21:04 +0200)]
Stupid mistake
Moritz Kiefer [Sun, 14 Apr 2013 08:55:44 +0000 (01:55 -0700)]
Merge pull request #12 from marekjm/connection
Connection
Marek Marecki [Sat, 13 Apr 2013 23:18:23 +0000 (01:18 +0200)]
Small changes in `client.py` related to use of `Connection()`
Marek Marecki [Sat, 13 Apr 2013 23:10:34 +0000 (01:10 +0200)]
`diaspy` ported to use `Connection()` object
Marek Marecki [Sat, 13 Apr 2013 10:44:00 +0000 (12:44 +0200)]
Further porting on way to use `Connection()`
Marek Marecki [Fri, 12 Apr 2013 22:29:52 +0000 (00:29 +0200)]
`Connection()` object works, `diaply/client.py` partialy ported
Marek Marecki [Fri, 12 Apr 2013 21:25:45 +0000 (23:25 +0200)]
Initiaial code in `diaspy/connection.py` TODO list
Moritz Kiefer [Sun, 7 Apr 2013 12:32:38 +0000 (05:32 -0700)]
Merge pull request #11 from marekjm/devel
New _sessiondelete() method
Marek Marecki [Sat, 6 Apr 2013 10:01:48 +0000 (12:01 +0200)]
_sessionpost() and _sessiondelete() are now more readable
Marek Marecki [Sat, 6 Apr 2013 09:52:06 +0000 (11:52 +0200)]
_sessiondelete() method in diaspy/client.py implemented,
delete action in other modules is done through this new method
Moritz Kiefer [Sat, 30 Mar 2013 14:45:16 +0000 (07:45 -0700)]
Merge pull request #9 from marekjm/session-refactoring
`diaspy/` modules refactored to use `_sessionpost()` method
Marek Marecki [Sat, 30 Mar 2013 13:30:48 +0000 (14:30 +0100)]
Methods refactored to use _sessionpost(), tox.ini file added
Marek Marecki [Sat, 30 Mar 2013 13:06:13 +0000 (14:06 +0100)]
Merge branch 'master' into session-refactoring
Conflicts:
diaspy/client.py
diaspy/conversations.py
diaspy/models.py
tests.py
Marek Marecki [Sat, 30 Mar 2013 09:21:42 +0000 (10:21 +0100)]
Code cleanup (flake8)
Moritz Kiefer [Fri, 29 Mar 2013 23:33:18 +0000 (00:33 +0100)]
Fixed posting and many style fixes
Marek Marecki [Fri, 29 Mar 2013 16:59:18 +0000 (17:59 +0100)]
Small fix in manual
Moritz Kiefer [Fri, 29 Mar 2013 13:58:02 +0000 (06:58 -0700)]
Merge pull request #8 from marekjm/devel
Changes in `post()` method
Marek Marecki [Fri, 29 Mar 2013 11:50:28 +0000 (12:50 +0100)]
Small changes in test suite, preparation to refactor to _sessionpost()
Marek Marecki [Fri, 29 Mar 2013 11:30:09 +0000 (12:30 +0100)]
get_*() methods refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 11:28:26 +0000 (12:28 +0100)]
Removed unnecessary data obtaining from `get_*` methods
Marek Marecki [Fri, 29 Mar 2013 11:16:45 +0000 (12:16 +0100)]
get_mailbox() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 11:13:04 +0000 (12:13 +0100)]
testconf.py added to .gitingore
Marek Marecki [Fri, 29 Mar 2013 11:12:29 +0000 (12:12 +0100)]
Two tests added
Marek Marecki [Fri, 29 Mar 2013 10:49:44 +0000 (11:49 +0100)]
get_tag() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:44:53 +0000 (11:44 +0100)]
get_mentions() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:40:01 +0000 (11:40 +0100)]
get_user_info() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:37:09 +0000 (11:37 +0100)]
get_stream() and get_notifications() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:10:14 +0000 (11:10 +0100)]
New _sessionget() method. get_token() refactored to use it.
Marek Marecki [Fri, 29 Mar 2013 09:49:16 +0000 (10:49 +0100)]
Merge branch 'posts' into devel
Conflicts:
diaspy/client.py
Marek Marecki [Fri, 29 Mar 2013 09:40:29 +0000 (10:40 +0100)]
Separated post() procedure into data setting and sending