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

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)

11 years agoRemoving followed tags
Marek Marecki [Fri, 3 May 2013 15:29:30 +0000 (17:29 +0200)]
Removing followed tags

11 years agoTests updated
Marek Marecki [Fri, 3 May 2013 12:12:30 +0000 (14:12 +0200)]
Tests updated

11 years agoChanges in README
Marek Marecki [Fri, 3 May 2013 12:06:43 +0000 (14:06 +0200)]
Changes in README

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

11 years agoRemoving aspect functionality moved from Client() to streams.Aspects()
Marek Marecki [Fri, 3 May 2013 12:02:18 +0000 (14:02 +0200)]
Removing aspect functionality moved from Client() to streams.Aspects()

11 years agoMerge pull request #13 from marekjm/streams
Moritz Kiefer [Fri, 3 May 2013 11:11:07 +0000 (04:11 -0700)]
Merge pull request #13 from marekjm/streams

Streams

11 years agoChanges in Client() initialization, changes in test suite (only one
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)

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

11 years agoRename getToken() to get_token()
Moritz Kiefer [Fri, 3 May 2013 10:10:24 +0000 (12:10 +0200)]
Rename getToken() to get_token()

11 years agoFix tag following
Moritz Kiefer [Fri, 3 May 2013 10:07:11 +0000 (12:07 +0200)]
Fix tag following

11 years agoRemoved method add() from streams.FollowedTags (docs say: create())
Marek Marecki [Fri, 3 May 2013 09:16:18 +0000 (11:16 +0200)]
Removed method add() from streams.FollowedTags (docs say: create())

11 years agoMerge branch 'streams' of git://github.com/marekjm/diaspora-api into streams
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

11 years agoIncrement version to 0.0.2
Moritz Kiefer [Fri, 3 May 2013 08:19:28 +0000 (10:19 +0200)]
Increment version to 0.0.2

11 years agoSmall fixes in code and tests (added fancy test counter)
Marek Marecki [Thu, 2 May 2013 23:31:59 +0000 (01:31 +0200)]
Small fixes in code and tests (added fancy test counter)

11 years agoChanges regarding use of streams in diaspy/client.py
Marek Marecki [Thu, 2 May 2013 08:04:06 +0000 (10:04 +0200)]
Changes regarding use of streams in diaspy/client.py

11 years agoFurther work being done on streams; all basic streams implemented
Marek Marecki [Thu, 2 May 2013 07:53:00 +0000 (09:53 +0200)]
Further work being done on streams; all basic streams implemented

11 years agoStream() moved to `diaspy/streams.py`, Generic() stream implemented
Marek Marecki [Wed, 1 May 2013 07:24:12 +0000 (09:24 +0200)]
Stream() moved to `diaspy/streams.py`, Generic() stream implemented

11 years agoSmall changes in Makefile and code
Marek Marecki [Tue, 30 Apr 2013 22:50:45 +0000 (00:50 +0200)]
Small changes in Makefile and code

11 years agoClient() rewritten to use Stream() object
Marek Marecki [Tue, 30 Apr 2013 22:30:56 +0000 (00:30 +0200)]
Client() rewritten to use Stream() object

11 years agoUpdated manual
Marek Marecki [Tue, 30 Apr 2013 21:09:20 +0000 (23:09 +0200)]
Updated manual

11 years agoCode beautifying (flake8)
Marek Marecki [Tue, 30 Apr 2013 17:58:03 +0000 (19:58 +0200)]
Code beautifying (flake8)

11 years agoStream() object with some basic functionality implemented (plus manual
Marek Marecki [Tue, 30 Apr 2013 17:54:21 +0000 (19:54 +0200)]
Stream() object with some basic functionality implemented (plus manual
and tests)

11 years agoStupid mistake
Marek Marecki [Tue, 16 Apr 2013 19:04:04 +0000 (21:04 +0200)]
Stupid mistake

11 years agoMerge pull request #12 from marekjm/connection
Moritz Kiefer [Sun, 14 Apr 2013 08:55:44 +0000 (01:55 -0700)]
Merge pull request #12 from marekjm/connection

Connection

11 years agoSmall changes in `client.py` related to use of `Connection()`
Marek Marecki [Sat, 13 Apr 2013 23:18:23 +0000 (01:18 +0200)]
Small changes in `client.py` related to use of `Connection()`

11 years ago`diaspy` ported to use `Connection()` object
Marek Marecki [Sat, 13 Apr 2013 23:10:34 +0000 (01:10 +0200)]
`diaspy` ported to use `Connection()` object

11 years agoFurther porting on way to use `Connection()`
Marek Marecki [Sat, 13 Apr 2013 10:44:00 +0000 (12:44 +0200)]
Further porting on way to use `Connection()`

11 years ago`Connection()` object works, `diaply/client.py` partialy ported
Marek Marecki [Fri, 12 Apr 2013 22:29:52 +0000 (00:29 +0200)]
`Connection()` object works, `diaply/client.py` partialy ported

11 years agoInitiaial code in `diaspy/connection.py` TODO list
Marek Marecki [Fri, 12 Apr 2013 21:25:45 +0000 (23:25 +0200)]
Initiaial code in `diaspy/connection.py` TODO list

11 years agoMerge pull request #11 from marekjm/devel
Moritz Kiefer [Sun, 7 Apr 2013 12:32:38 +0000 (05:32 -0700)]
Merge pull request #11 from marekjm/devel

New _sessiondelete() method

11 years ago_sessionpost() and _sessiondelete() are now more readable
Marek Marecki [Sat, 6 Apr 2013 10:01:48 +0000 (12:01 +0200)]
_sessionpost() and _sessiondelete() are now more readable

11 years ago_sessiondelete() method in diaspy/client.py implemented,
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

11 years agoMerge pull request #9 from marekjm/session-refactoring
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

11 years agoMethods refactored to use _sessionpost(), tox.ini file added
Marek Marecki [Sat, 30 Mar 2013 13:30:48 +0000 (14:30 +0100)]
Methods refactored to use _sessionpost(), tox.ini file added

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

11 years agoCode cleanup (flake8)
Marek Marecki [Sat, 30 Mar 2013 09:21:42 +0000 (10:21 +0100)]
Code cleanup (flake8)

11 years agoFixed posting and many style fixes
Moritz Kiefer [Fri, 29 Mar 2013 23:33:18 +0000 (00:33 +0100)]
Fixed posting and many style fixes

11 years agoSmall fix in manual
Marek Marecki [Fri, 29 Mar 2013 16:59:18 +0000 (17:59 +0100)]
Small fix in manual

11 years agoMerge pull request #8 from marekjm/devel
Moritz Kiefer [Fri, 29 Mar 2013 13:58:02 +0000 (06:58 -0700)]
Merge pull request #8 from marekjm/devel

Changes in `post()` method

11 years agoSmall changes in test suite, preparation to refactor to _sessionpost()
Marek Marecki [Fri, 29 Mar 2013 11:50:28 +0000 (12:50 +0100)]
Small changes in test suite, preparation to refactor to _sessionpost()

11 years agoget_*() methods refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 11:30:09 +0000 (12:30 +0100)]
get_*() methods refactored to use _sessionget()

11 years agoRemoved unnecessary data obtaining from `get_*` methods
Marek Marecki [Fri, 29 Mar 2013 11:28:26 +0000 (12:28 +0100)]
Removed unnecessary data obtaining from `get_*` methods

11 years agoget_mailbox() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 11:16:45 +0000 (12:16 +0100)]
get_mailbox() refactored to use _sessionget()

11 years agotestconf.py added to .gitingore
Marek Marecki [Fri, 29 Mar 2013 11:13:04 +0000 (12:13 +0100)]
testconf.py added to .gitingore

11 years agoTwo tests added
Marek Marecki [Fri, 29 Mar 2013 11:12:29 +0000 (12:12 +0100)]
Two tests added

11 years agoget_tag() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:49:44 +0000 (11:49 +0100)]
get_tag() refactored to use _sessionget()

11 years agoget_mentions() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:44:53 +0000 (11:44 +0100)]
get_mentions() refactored to use _sessionget()

11 years agoget_user_info() refactored to use _sessionget()
Marek Marecki [Fri, 29 Mar 2013 10:40:01 +0000 (11:40 +0100)]
get_user_info() refactored to use _sessionget()

11 years agoget_stream() and get_notifications() 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()

11 years agoNew _sessionget() method. get_token() refactored to use it.
Marek Marecki [Fri, 29 Mar 2013 10:10:14 +0000 (11:10 +0100)]
New _sessionget() method. get_token() refactored to use it.

11 years agoMerge branch 'posts' into devel
Marek Marecki [Fri, 29 Mar 2013 09:49:16 +0000 (10:49 +0100)]
Merge branch 'posts' into devel

Conflicts:
diaspy/client.py

11 years agoSeparated post() procedure into data setting and sending
Marek Marecki [Fri, 29 Mar 2013 09:40:29 +0000 (10:40 +0100)]
Separated post() procedure into data setting and sending

11 years agoFixed list generation in diaspy/client.py
Marek Marecki [Mon, 25 Mar 2013 16:16:38 +0000 (17:16 +0100)]
Fixed list generation in diaspy/client.py