Marek Marecki [Sat, 6 Jul 2013 20:25:33 +0000 (22:25 +0200)]
`Search().lookup_user()` now returns response code (just in case
somebody would find it useful)
Marek Marecki [Sat, 6 Jul 2013 20:13:53 +0000 (22:13 +0200)]
Moved `lookup_user()` method from `Connection()` to `Search()`
Marek Marecki [Sat, 6 Jul 2013 20:12:39 +0000 (22:12 +0200)]
Merge branch 'connection-lookup-user' of https://github.com/jaywink/diaspora-api into search
Marek Marecki [Sat, 6 Jul 2013 19:46:11 +0000 (21:46 +0200)]
Created diaspy/search.py module
Jason Robinson [Sat, 6 Jul 2013 16:59:28 +0000 (19:59 +0300)]
Add lookup_user to Connection, it triggers a webfinger lookup on pod when called with a Diaspora handle
Marek Marecki [Sat, 6 Jul 2013 10:31:39 +0000 (12:31 +0200)]
Added `__version__` to `diaspy/__init__.py`; updated docs
Marek Marecki [Fri, 5 Jul 2013 23:13:14 +0000 (01:13 +0200)]
Merge branch 'users'
Marek Marecki [Fri, 5 Jul 2013 23:12:45 +0000 (01:12 +0200)]
Added __str__() and __repr__() to people.User()
Marek Marecki [Fri, 5 Jul 2013 23:08:02 +0000 (01:08 +0200)]
Small changes in models.Aspect regexp
Marek Marecki [Fri, 5 Jul 2013 22:48:08 +0000 (00:48 +0200)]
Refactored diaspy.models.Aspect.getUsers(): each step has it's own
method, regexp covers more usernames
Marek Marecki [Fri, 5 Jul 2013 22:13:59 +0000 (00:13 +0200)]
Style fixes (make style-check)
Marek Marecki [Thu, 4 Jul 2013 13:53:56 +0000 (15:53 +0200)]
Improvements and changes in Aspect().getUsers()
Marek Marecki [Wed, 3 Jul 2013 19:02:05 +0000 (21:02 +0200)]
Fixed and improved models.Aspect().getUsers()
Marek Marecki [Wed, 3 Jul 2013 18:49:26 +0000 (20:49 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api
Marek Marecki [Wed, 3 Jul 2013 18:48:59 +0000 (20:48 +0200)]
Sometginh broke Aspect().getUsers()
Moritz Kiefer [Wed, 3 Jul 2013 12:36:06 +0000 (05:36 -0700)]
Merge pull request #18 from jaywink/aspect-model-improvements
Allow initializing Aspect class also using name
Jason Robinson [Wed, 3 Jul 2013 09:52:57 +0000 (12:52 +0300)]
Allow initializing Aspect class also using name. Add GitHub standard Python .gitignore
Moritz Kiefer [Tue, 2 Jul 2013 09:25:20 +0000 (02:25 -0700)]
Merge pull request #17 from jaywink/refactor-people
Refactor people
Jason Robinson [Mon, 1 Jul 2013 20:04:27 +0000 (23:04 +0300)]
Refactor unnecessary parameter passing from methods within class
Jason Robinson [Mon, 1 Jul 2013 19:56:40 +0000 (22:56 +0300)]
Refactor long User.__init__ method
Marek Marecki [Sun, 30 Jun 2013 23:52:56 +0000 (01:52 +0200)]
Getting users who are contained in an aspect is now possible
Marek Marecki [Sun, 30 Jun 2013 22:58:26 +0000 (00:58 +0200)]
Merge branch 'aspects-add-fix' of https://github.com/jaywink/diaspora-api into contacts
Marek Marecki [Sun, 30 Jun 2013 22:55:23 +0000 (00:55 +0200)]
Some work on `models.Aspect.getUsers()` done
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.
Marek Marecki [Sun, 30 Jun 2013 21:29:25 +0000 (23:29 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api into contacts
Marek Marecki [Sun, 30 Jun 2013 21:29:14 +0000 (23:29 +0200)]
Stuff done
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 [Tue, 18 Jun 2013 22:01:13 +0000 (00:01 +0200)]
Small changes in regexp used for cleaning notifications HTML text,
it now includes more characters.
Marek Marecki [Wed, 12 Jun 2013 16:52:02 +0000 (18:52 +0200)]
Merge branch 'streams'
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 [Wed, 12 Jun 2013 05:02:40 +0000 (07:02 +0200)]
`more()` method implemented in generic stream -- now one can get older
posts
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