diaspy.git
11 years agoSome refactoring in Notification model and streams
Marek Marecki [Sun, 4 Aug 2013 13:30:43 +0000 (15:30 +0200)]
Some refactoring in Notification model and streams

11 years agoNew `models.Comment()` object, `Post()` can now fetch comments
Marek Marecki [Fri, 12 Jul 2013 12:47:56 +0000 (14:47 +0200)]
New `models.Comment()` object, `Post()` can now fetch comments

11 years agoSome bug fixes and small changes
Marek Marecki [Fri, 12 Jul 2013 11:31:36 +0000 (13:31 +0200)]
Some bug fixes and small changes

11 years ago`people.sephandle()` raises `InvalidHandleError`,
Marek Marecki [Fri, 12 Jul 2013 10:47:46 +0000 (12:47 +0200)]
`people.sephandle()` raises `InvalidHandleError`,
`Connection()` has new `schema` parameter,
`Changelog` updated

11 years agoMerge branch 'master' into settings
Marek Marecki [Thu, 11 Jul 2013 23:33:57 +0000 (01:33 +0200)]
Merge branch 'master' into settings

11 years agoChangelog updated for 0.3.0
Marek Marecki [Sun, 7 Jul 2013 23:49:57 +0000 (01:49 +0200)]
Changelog updated for 0.3.0

11 years agoUpdate to version 0.3.0
Marek Marecki [Sun, 7 Jul 2013 23:44:46 +0000 (01:44 +0200)]
Update to version 0.3.0

11 years agoFixed `User()` to make use of `Search().user()`
Marek Marecki [Sun, 7 Jul 2013 16:24:30 +0000 (18:24 +0200)]
Fixed `User()` to make use of `Search().user()`

11 years agoMerge branch 'master' into search
Marek Marecki [Sun, 7 Jul 2013 16:16:42 +0000 (18:16 +0200)]
Merge branch 'master' into search

11 years agoSmall changes in `people.User()`
Marek Marecki [Sun, 7 Jul 2013 16:13:03 +0000 (18:13 +0200)]
Small changes in `people.User()`

11 years agoMerge branch 'master' into search
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

11 years agoSoftware tested and bugs shaken out after refactoring
Marek Marecki [Sun, 7 Jul 2013 16:04:31 +0000 (18:04 +0200)]
Software tested and bugs shaken out after refactoring

11 years agoMoved `User().fetchprofile()` functionality to `Search().users()`
Marek Marecki [Sun, 7 Jul 2013 14:37:36 +0000 (16:37 +0200)]
Moved `User().fetchprofile()` functionality to `Search().users()`

11 years agoHuge refactoring done in many places, bit of redesign of API (can break
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)

11 years agoRefactored `Post()` to use `repr()` on `Connection()`,
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

11 years agoRefactored `Aspect()` to use `repr()` on `Connection()`, refactored it
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

11 years agoRefactored `Conversation()` to use `repr()` function on `Connection()`,
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()`

11 years agonotifications.py refactored to use `repr()` on `Connection()`
Marek Marecki [Sun, 7 Jul 2013 13:06:27 +0000 (15:06 +0200)]
notifications.py refactored to use `repr()` on `Connection()`

11 years agoAdded __repr__() method to Connection()
Marek Marecki [Sun, 7 Jul 2013 12:57:00 +0000 (14:57 +0200)]
Added __repr__() method to Connection()

11 years agoFixed possible bug related to having multiple instances of
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

11 years agoFixed bug in `Search().lookup_user()` now it's `self._connection.get()`
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()`

11 years ago`diaspy/search.py` added to docs index
Marek Marecki [Sun, 7 Jul 2013 08:49:51 +0000 (10:49 +0200)]
`diaspy/search.py` added to docs index

11 years ago`Search().lookup_user()` now returns response code (just in case
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)

11 years agoMoved `lookup_user()` method from `Connection()` to `Search()`
Marek Marecki [Sat, 6 Jul 2013 20:13:53 +0000 (22:13 +0200)]
Moved `lookup_user()` method from `Connection()` to `Search()`

11 years agoMerge branch 'connection-lookup-user' of https://github.com/jaywink/diaspora-api...
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

11 years agoCreated diaspy/search.py module
Marek Marecki [Sat, 6 Jul 2013 19:46:11 +0000 (21:46 +0200)]
Created diaspy/search.py module

11 years agoAdd lookup_user to Connection, it triggers a webfinger lookup on pod when called...
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

11 years agoMerge branch 'master' into settings
Marek Marecki [Sat, 6 Jul 2013 10:33:23 +0000 (12:33 +0200)]
Merge branch 'master' into settings

Conflicts:
diaspy/__init__.py

11 years agoAdded `__version__` to `diaspy/__init__.py`; updated docs
Marek Marecki [Sat, 6 Jul 2013 10:31:39 +0000 (12:31 +0200)]
Added `__version__` to `diaspy/__init__.py`; updated docs

11 years agoMerge branch 'users'
Marek Marecki [Fri, 5 Jul 2013 23:13:14 +0000 (01:13 +0200)]
Merge branch 'users'

11 years agoAdded __str__() and __repr__() to people.User()
Marek Marecki [Fri, 5 Jul 2013 23:12:45 +0000 (01:12 +0200)]
Added __str__() and __repr__() to people.User()

11 years agoSmall changes in models.Aspect regexp
Marek Marecki [Fri, 5 Jul 2013 23:08:02 +0000 (01:08 +0200)]
Small changes in models.Aspect regexp

11 years agoRefactored diaspy.models.Aspect.getUsers(): each step has it's own
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

11 years agoStyle fixes (make style-check)
Marek Marecki [Fri, 5 Jul 2013 22:13:59 +0000 (00:13 +0200)]
Style fixes (make style-check)

11 years agoImprovements and changes in Aspect().getUsers()
Marek Marecki [Thu, 4 Jul 2013 13:53:56 +0000 (15:53 +0200)]
Improvements and changes in Aspect().getUsers()

11 years agoFixed and improved models.Aspect().getUsers()
Marek Marecki [Wed, 3 Jul 2013 19:02:05 +0000 (21:02 +0200)]
Fixed and improved models.Aspect().getUsers()

11 years agoMerge branch 'master' of https://github.com/Javafant/diaspora-api
Marek Marecki [Wed, 3 Jul 2013 18:49:26 +0000 (20:49 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api

11 years agoSometginh broke Aspect().getUsers()
Marek Marecki [Wed, 3 Jul 2013 18:48:59 +0000 (20:48 +0200)]
Sometginh broke Aspect().getUsers()

11 years agoMerge pull request #18 from jaywink/aspect-model-improvements
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

11 years agoAllow initializing Aspect class also using name. Add GitHub standard Python .gitignore
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

11 years agoMerge pull request #17 from jaywink/refactor-people
Moritz Kiefer [Tue, 2 Jul 2013 09:25:20 +0000 (02:25 -0700)]
Merge pull request #17 from jaywink/refactor-people

Refactor people

11 years agoRefactor unnecessary parameter passing from methods within class
Jason Robinson [Mon, 1 Jul 2013 20:04:27 +0000 (23:04 +0300)]
Refactor unnecessary parameter passing from methods within class

11 years agoRefactor long User.__init__ method
Jason Robinson [Mon, 1 Jul 2013 19:56:40 +0000 (22:56 +0300)]
Refactor long User.__init__ method

11 years agoGetting users who are contained in an aspect is now possible
Marek Marecki [Sun, 30 Jun 2013 23:52:56 +0000 (01:52 +0200)]
Getting users who are contained in an aspect is now possible

11 years agoMerge branch 'aspects-add-fix' of https://github.com/jaywink/diaspora-api into contacts
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

11 years agoSome work on `models.Aspect.getUsers()` done
Marek Marecki [Sun, 30 Jun 2013 22:55:23 +0000 (00:55 +0200)]
Some work on `models.Aspect.getUsers()` done

11 years agoStatus code 200 is returned by Diaspora* on a successful addition of user to aspect
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

11 years agoReturn more precise error description when adding to aspects
Jason Robinson [Sun, 30 Jun 2013 21:52:03 +0000 (00:52 +0300)]
Return more precise error description when adding to aspects

11 years agoAllow fetching of data only without posts when creating User, using people.json searc...
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.

11 years agoMerge branch 'master' of https://github.com/Javafant/diaspora-api into contacts
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

11 years agoStuff done
Marek Marecki [Sun, 30 Jun 2013 21:29:14 +0000 (23:29 +0200)]
Stuff done

11 years agoMerge pull request #15 from jaywink/contacts-fetch-fix
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

11 years agoFix Contacts.get actually returning real User classes with guid in correct place...
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

11 years agoStarted development of diaspy/settings.py
Marek Marecki [Thu, 27 Jun 2013 06:08:43 +0000 (08:08 +0200)]
Started development of diaspy/settings.py

11 years agoSmall changes in regexp used for cleaning notifications HTML text,
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.

11 years agoMerge branch 'streams'
Marek Marecki [Wed, 12 Jun 2013 16:52:02 +0000 (18:52 +0200)]
Merge branch 'streams'

11 years agoUpdate to version 0.2.0 (according with semantic versioning)
Marek Marecki [Wed, 12 Jun 2013 05:13:17 +0000 (07:13 +0200)]
Update to version 0.2.0 (according with semantic versioning)

11 years agoMerge branch 'master' of https://github.com/Javafant/diaspora-api to
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

11 years agoSmall change in .gitignore
Marek Marecki [Wed, 12 Jun 2013 05:05:12 +0000 (07:05 +0200)]
Small change in .gitignore

11 years ago`more()` method implemented in generic stream -- now one can get older
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

11 years ago`Notification().who()` now returns list of guids af all users mentioned
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).

11 years agoFurther work on `Notificatin()` model; `str()` and `repr()` support,
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

11 years agoSmall style and code fixes
Marek Marecki [Mon, 10 Jun 2013 15:00:44 +0000 (17:00 +0200)]
Small style and code fixes

11 years agoMore changes in token getting procedure, now you can specify whether
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

11 years agoChanges in login and token obtaining procedures,
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

11 years agoRemoved that annoying print() from `models.Notification()`
Marek Marecki [Sun, 9 Jun 2013 20:30:55 +0000 (22:30 +0200)]
Removed that annoying print() from `models.Notification()`

11 years agoNotifications can now be marked as `read` or `unread`
Marek Marecki [Sun, 9 Jun 2013 20:08:25 +0000 (22:08 +0200)]
Notifications can now be marked as `read` or `unread`

11 years agoWork done to improve notifications
Marek Marecki [Sat, 8 Jun 2013 23:06:59 +0000 (01:06 +0200)]
Work done to improve notifications

11 years agoSome stuff done
Marek Marecki [Wed, 5 Jun 2013 19:43:39 +0000 (21:43 +0200)]
Some stuff done

11 years agoUpdate to 0.1.0
Moritz Kiefer [Sun, 26 May 2013 22:07:01 +0000 (00:07 +0200)]
Update to 0.1.0

11 years agoNew methods in `diaspy.people.Contacts()` (with tests) small changes in
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`

11 years agoFixed bug aspect deletion, initial development for contacts
Marek Marecki [Sun, 26 May 2013 16:01:54 +0000 (18:01 +0200)]
Fixed bug aspect deletion, initial development for contacts

11 years agoMerge branch 'users'
Marek Marecki [Fri, 24 May 2013 20:20:32 +0000 (22:20 +0200)]
Merge branch 'users'

11 years agoMerge branch 'streams'
Marek Marecki [Fri, 24 May 2013 20:09:34 +0000 (22:09 +0200)]
Merge branch 'streams'

11 years agoMerge branch 'master' of https://github.com/Javafant/diaspora-api
Marek Marecki [Fri, 24 May 2013 20:08:58 +0000 (22:08 +0200)]
Merge branch 'master' of https://github.com/Javafant/diaspora-api

11 years agoAdd more documentation for diaspy.people.User()
Marek Marecki [Thu, 23 May 2013 05:19:50 +0000 (07:19 +0200)]
Add more documentation for diaspy.people.User()

11 years agoA bit of refactoring in diaspy.people.User(), it can now accept handle
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

11 years agoLast commit before merging into master:
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`),

11 years agoUnnecessarily complex code removed from Aspects().getID()
Marek Marecki [Mon, 20 May 2013 18:49:38 +0000 (20:49 +0200)]
Unnecessarily complex code removed from Aspects().getID()

11 years agoOne can now remove() aspects by their name, repr(Post) now returns more
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

11 years agoFixed bug in diaspy.models.Post.__str__, added logout() method to
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()

11 years agoRefactoring in Connection() and streams.*,
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

11 years agoStyle check (flake8)
Marek Marecki [Tue, 14 May 2013 20:40:13 +0000 (22:40 +0200)]
Style check (flake8)

11 years agoCHanges in `Connection()` (medium-sized) and `Stream()` (extra small)
Marek Marecki [Sat, 11 May 2013 05:08:57 +0000 (07:08 +0200)]
CHanges in `Connection()` (medium-sized) and `Stream()` (extra small)

11 years agoManual updated for posting and stream
Marek Marecki [Thu, 9 May 2013 07:07:32 +0000 (09:07 +0200)]
Manual updated for posting and stream

11 years ago`Client()` is now ruling-em-all with one post method
Marek Marecki [Tue, 7 May 2013 22:07:35 +0000 (00:07 +0200)]
`Client()` is now ruling-em-all with one post method

11 years agoOne-to-rule-them-all version of `post()` method (with tests)
Marek Marecki [Tue, 7 May 2013 22:01:24 +0000 (00:01 +0200)]
One-to-rule-them-all version of `post()` method (with tests)

11 years agoMerge branch 'people' into streams
Marek Marecki [Tue, 7 May 2013 21:40:45 +0000 (23:40 +0200)]
Merge branch 'people' into streams

Conflicts:
tests.py

11 years agoChanges in `Stream().post_picture()`
Marek Marecki [Tue, 7 May 2013 20:57:12 +0000 (22:57 +0200)]
Changes in `Stream().post_picture()`

11 years agoClient().get_tag() can only return stream
Marek Marecki [Sun, 5 May 2013 22:35:37 +0000 (00:35 +0200)]
Client().get_tag() can only return stream

11 years agoNew Aspect() model and Client() refactored to use it
Marek Marecki [Sun, 5 May 2013 22:29:29 +0000 (00:29 +0200)]
New Aspect() model and Client() refactored to use it

11 years agoDocumentation fixed.
Marek Marecki [Sun, 5 May 2013 21:51:08 +0000 (23:51 +0200)]
Documentation fixed.

11 years agoInitial work on issue #14
Marek Marecki [Sun, 5 May 2013 21:33:14 +0000 (23:33 +0200)]
Initial work on issue #14

11 years agoTests updated
Marek Marecki [Sun, 5 May 2013 19:08:07 +0000 (21:08 +0200)]
Tests updated

11 years agoChanges in tests configuration, small refactoring of `User()`
Marek Marecki [Fri, 3 May 2013 20:37:03 +0000 (22:37 +0200)]
Changes in tests configuration, small refactoring of `User()`

11 years agoImprovements in `User()`, new tests, updated information about tests
Marek Marecki [Fri, 3 May 2013 19:56:51 +0000 (21:56 +0200)]
Improvements in `User()`, new tests, updated information about tests

11 years agoMerge branch 'streams' into people
Marek Marecki [Fri, 3 May 2013 19:21:22 +0000 (21:21 +0200)]
Merge branch 'streams' into people

11 years agoFix in `diaspy.streams.FollowedTags` method `add()`: doesn't crash when
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

11 years agoFirst test for diaspy.people.User() object
Marek Marecki [Fri, 3 May 2013 19:03:18 +0000 (21:03 +0200)]
First test for diaspy.people.User() object

11 years agoNew `diaspy.people.User()` object (plus manual)
Marek Marecki [Fri, 3 May 2013 18:41:12 +0000 (20:41 +0200)]
New `diaspy.people.User()` object (plus manual)