* __upd__: Add `Comment()` to `diaspy.models.Post.comments` on `diaspy.models.Post...
authorCYBERDEViLNL <CYBERDEViLNL@github.com>
Tue, 18 Dec 2018 23:25:33 +0000 (00:25 +0100)
committerCYBERDEViLNL <CYBERDEViLNL@github.com>
Tue, 18 Dec 2018 23:25:33 +0000 (00:25 +0100)
commitb9d087bbe48c42f8a0cf408dbecf18157e61ae41
tree000a6650d9ea12b2c780f4d5b2fa3971efcf026d
parent8bfe79c780885a202971110b0bfee15e9196fa22
* __upd__:  Add `Comment()` to `diaspy.models.Post.comments` on `diaspy.models.Post.comment()`
* __upd__:  Delete `Comment()` from `diaspy.models.Post.comments` on `diaspy.models.Post.delete_comment()`
* __upd__:  Update `diaspy.models.Post._data["poll"]["participation_count"]` and `diaspy.models.Post._data["poll_participation_answer_id"]` after `diaspy.models.Post.vote_poll()`
* __upd__:  Update `diaspy.models.Post._data["participation"]` on `diaspy.models.Post.subscribe()` and `diaspy.models.Post.unsubscribe()`
* __upd__:  Removed `verify` keyword from `diaspy.connection.Connection` it's methods, it's now done through `**requestKwargs`. Default is still `True`.
* __upd__:  `diaspy.streams.Stream._photoupload()` to more public method `diaspy.streams.Stream.photoupload()`
* __upd__:  Update `diaspy.models.Notification.unread` and `diaspy.models.Notification._data['unread']` on `diasply.models.Notification.mark()`

* __fix__:  Don't update `diaspy.notifications.Notifications` it's `unread_count_by_type` and `unread_count` on `diaspy.notifications.Notifications._expand()` and `diaspy.notifications.Notifications._update()` since it's already done in `diaspy.notifications.Notifications._finalize()`

* __new__:  `diaspy.streams.Generic.deletePostGuid()` deletes `Post` with given `guid` from the local stream object. (If you manualy update a post and find that it's been deleted, call this with the `guid` of the deleted `Post`)
* __new__:  `diaspy.streams.Stream.deletephoto()`
* __new__:  `diaspy.notifications.Notifications.__len__()`
* __new__:  `diaspy.notifications.Notifications.data()`
* __new__:  `diaspy.models.Comments.delete()` deletes comment by `id`.
* __new__:  `diaspy.errors.NotificationError`

Note: the current Camo check will be removed and replaced by nodeInfo soon.
Changelog.markdown
diaspy/connection.py
diaspy/errors.py
diaspy/models.py
diaspy/notifications.py
diaspy/streams.py