Marek Marecki [Tue, 20 Aug 2013 10:59:51 +0000 (12:59 +0200)]
Small changes in connection
Marek Marecki [Sat, 10 Aug 2013 13:16:57 +0000 (15:16 +0200)]
Updated README
Marek Marecki [Sat, 10 Aug 2013 09:27:47 +0000 (11:27 +0200)]
Fixed some bugs in streams
Marek Marecki [Sat, 10 Aug 2013 08:38:25 +0000 (10:38 +0200)]
Some more functions added in settings
Marek Marecki [Thu, 8 Aug 2013 17:53:18 +0000 (19:53 +0200)]
You can now get list of languages in settings
Marek Marecki [Thu, 8 Aug 2013 17:37:09 +0000 (19:37 +0200)]
Merge branch 'devel' into settings
Marek Marecki [Thu, 8 Aug 2013 17:36:33 +0000 (19:36 +0200)]
Initiali work on retrieving languages list
Marek Marecki [Thu, 8 Aug 2013 17:24:01 +0000 (19:24 +0200)]
You can now change language and email using diaspy
Marek Marecki [Thu, 8 Aug 2013 16:51:06 +0000 (18:51 +0200)]
Imporved error message in diaspy.streams.Stream()._photoupload()
Marek Marecki [Thu, 8 Aug 2013 16:23:42 +0000 (18:23 +0200)]
Err, it was kinda stupid to return anything about *deleted* stuff,
removed it
Marek Marecki [Thu, 8 Aug 2013 16:20:16 +0000 (18:20 +0200)]
pydoc will now correctly read doctsing for diaspy/streams.py,
Post().delete_like() now returns error code on success
Marek Marecki [Sun, 4 Aug 2013 13:30:43 +0000 (15:30 +0200)]
Some refactoring in Notification model and streams
Marek Marecki [Fri, 12 Jul 2013 12:47:56 +0000 (14:47 +0200)]
New `models.Comment()` object, `Post()` can now fetch comments
Marek Marecki [Fri, 12 Jul 2013 11:31:36 +0000 (13:31 +0200)]
Some bug fixes and small changes
Marek Marecki [Fri, 12 Jul 2013 10:47:46 +0000 (12:47 +0200)]
`people.sephandle()` raises `InvalidHandleError`,
`Connection()` has new `schema` parameter,
`Changelog` updated
Marek Marecki [Thu, 11 Jul 2013 23:33:57 +0000 (01:33 +0200)]
Merge branch 'master' into settings
Marek Marecki [Sun, 7 Jul 2013 23:49:57 +0000 (01:49 +0200)]
Changelog updated for 0.3.0
Marek Marecki [Sun, 7 Jul 2013 23:44:46 +0000 (01:44 +0200)]
Update to version 0.3.0
Marek Marecki [Sun, 7 Jul 2013 16:24:30 +0000 (18:24 +0200)]
Fixed `User()` to make use of `Search().user()`
Marek Marecki [Sun, 7 Jul 2013 16:16:42 +0000 (18:16 +0200)]
Merge branch 'master' into search
Marek Marecki [Sun, 7 Jul 2013 16:13:03 +0000 (18:13 +0200)]
Small changes in `people.User()`
Marek Marecki [Sun, 7 Jul 2013 16:09:56 +0000 (18:09 +0200)]
Merge branch 'master' into search
Conflicts:
diaspy/errors.py
diaspy/people.py
Marek Marecki [Sun, 7 Jul 2013 16:04:31 +0000 (18:04 +0200)]
Software tested and bugs shaken out after refactoring
Marek Marecki [Sun, 7 Jul 2013 14:37:36 +0000 (16:37 +0200)]
Moved `User().fetchprofile()` functionality to `Search().users()`
Marek Marecki [Sun, 7 Jul 2013 14:11:30 +0000 (16:11 +0200)]
Huge refactoring done in many places, bit of redesign of API (can break
stuff)
Marek Marecki [Sun, 7 Jul 2013 13:35:30 +0000 (15:35 +0200)]
Refactored `Post()` to use `repr()` on `Connection()`,
refactored internals and outer API
Marek Marecki [Sun, 7 Jul 2013 13:25:07 +0000 (15:25 +0200)]
Refactored `Aspect()` to use `repr()` on `Connection()`, refactored it
to use it's own type of exception
Marek Marecki [Sun, 7 Jul 2013 13:18:43 +0000 (15:18 +0200)]
Refactored `Conversation()` to use `repr()` function on `Connection()`,
refactored internals and API of `Conversation()`
Marek Marecki [Sun, 7 Jul 2013 13:06:27 +0000 (15:06 +0200)]
notifications.py refactored to use `repr()` on `Connection()`
Marek Marecki [Sun, 7 Jul 2013 12:57:00 +0000 (14:57 +0200)]
Added __repr__() method to Connection()
Marek Marecki [Sun, 7 Jul 2013 12:49:20 +0000 (14:49 +0200)]
Fixed possible bug related to having multiple instances of
`Connection()` and `User()` in one script
Marek Marecki [Sun, 7 Jul 2013 08:52:24 +0000 (10:52 +0200)]
Fixed bug in `Search().lookup_user()` now it's `self._connection.get()`
instead of `self.get()`
Marek Marecki [Sun, 7 Jul 2013 08:49:51 +0000 (10:49 +0200)]
`diaspy/search.py` added to docs index
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:33:23 +0000 (12:33 +0200)]
Merge branch 'master' into settings
Conflicts:
diaspy/__init__.py
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 [Thu, 27 Jun 2013 06:08:43 +0000 (08:08 +0200)]
Started development of diaspy/settings.py
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()`