Wykres commitów

525 Commity (e5dd3db0dc4687e46a796ec0d47ab820583a4d43)

Autor SHA1 Wiadomość Data
Jason Robinson dd027d4699 Merge pull request #85 from jaywink/legacy-diaspora-requets-retraction
Support Diaspora legacy request retraction
2017-05-18 22:39:12 +03:00
Jason Robinson 41937389a5 Support Diaspora legacy request retraction 2017-05-18 22:32:31 +03:00
Jason Robinson ec7bf037f5 Add changelog for Follow entity 2017-05-17 23:16:22 +03:00
Jason Robinson 10bb97fed8 Merge pull request #84 from jaywink/contact-entity
Add new Follow base entity and support for DiasporaContact
2017-05-17 23:13:14 +03:00
Jason Robinson 48b6787088 Add new Follow base entity and support for DiasporaContact
The simple follow maps to Diaspora Contact entity with following/sharing both true.

Closes #76
2017-05-17 23:05:07 +03:00
Jason Robinson e0dd39d518 Merge pull request #81 from jaywink/salmon-receive-refactoring
Add support for new style Diaspora Salmon magic envelope in public payloads
2017-05-16 23:00:09 +03:00
Jason Robinson 1a5cb4d163 Add support for new style Diaspora Salmon magic envelope in public payloads
Closes #75
2017-05-16 22:53:50 +03:00
Jason Robinson 064d0fa366 Add IRC chat badge 2017-05-14 16:00:59 +03:00
Jason Robinson 930ea53ec5 Merge pull request #79 from jaywink/diaspora-salmon-changes
Identify new style Diaspora payloads
2017-05-13 00:19:07 +03:00
Jason Robinson 474db3744b Identify new style Diaspora encrypted payload
Refs: #42
2017-05-13 00:12:35 +03:00
Jason Robinson dda596affc Identify new style Diaspora protocol public payload
This change is coming out in Diaspora version 0.7 soon.

Refs: #42
2017-05-12 23:59:30 +03:00
Jason Robinson 273b7ba47a Free up the dependency upper versions
We have good test coverage and do a daily automated build. Free up dependency upper limits and lock them down when problems occur.
2017-05-12 23:20:05 +03:00
Jason Robinson f857fe0ab4 Release 0.11.0 2017-05-08 22:23:10 +03:00
Jason Robinson cb9f4d0f4c Merge pull request #78 from jaywink/signature-fixes
Fix signature validation for Diaspora relayables
2017-05-07 22:24:35 +03:00
Jason Robinson 5b0033fdbc Fix signature validation for Diaspora relayables
Problems if payload text contained unicode.
2017-05-07 22:07:12 +03:00
Jason Robinson 3c714efe4a Add more error logging to Diaspora mappers failed validation 2017-05-07 21:51:13 +03:00
Jason Robinson 0f1d55829b Merge pull request #77 from jaywink/handle-send-helper
Add handle_send outbound helper
2017-05-07 21:35:20 +03:00
Jason Robinson 8478d3b90c Add handle_send outbound helper
Allows sending a single entity to multiple receivers. Currently public Diaspora entities supported.
2017-05-07 21:28:56 +03:00
Jason Robinson 75272cc820 Improve documentation of handle_receive inbound method
Sender returned by the method is confusing as it's not necessarily the author of any of the returned entities. Clarify in the docstring.

Closes #16
2017-05-06 23:15:22 +03:00
Jason Robinson be00546c39 Merge pull request #74 from jaywink/diaspora-relayable-element-order
Save order of elements for Diaspora relayables to the entities
2017-05-06 21:46:44 +03:00
Jason Robinson bf5b4a03b6 Save order of elements for Diaspora relayables to the entities
Refs: diaspora/diaspora_federation#26
2017-05-06 21:24:03 +03:00
Jason Robinson 5309bea06f Merge pull request #73 from jaywink/diaspora-properties
Support new Diaspora XML payload properties and refactor payload processing
2017-05-06 21:01:54 +03:00
Jason Robinson f773e78ebc Add changelog for #60 2017-05-06 20:24:50 +03:00
Jason Robinson b27ecc5223 Refactor processing Diaspora payload xml
New protocol version is dropping the xml/post wrapper elements. Support parsing these payloads plus legacy ones.

Refs: #60
2017-05-06 20:19:40 +03:00
Jason Robinson 7e0651bb35 Support Diaspora payload new properties
Refs: #60
2017-05-06 20:17:19 +03:00
Jason Robinson 3a2910afc2 Merge pull request #72 from jaywink/comments
Add remaining support for Diaspora comments and likes
2017-05-02 22:14:04 +03:00
Jason Robinson e8ad854a6a Copy author_signature to parent_author_signature for relayables
Diaspora currently always requires this, even if they will be the same. It is apparently being removed.
2017-05-02 21:51:20 +03:00
Jason Robinson 906c1e8651 Don't use urlsafe encode/decode methods when signing Diaspora relayables 2017-05-02 21:11:38 +03:00
Jason Robinson ac2eddf23e Ensure get_outbound_entity checks correctly for DiasporaRelayableMixin 2017-05-01 22:49:34 +03:00
Jason Robinson 999c27cd5c Add Diaspora relayable sign as parent 2017-05-01 21:58:00 +03:00
Jason Robinson 7ccc070711 Pass sender_key_fetcher to mappers from inbound handler 2017-05-01 19:27:44 +03:00
Jason Robinson 07d4484077 Add NoSuitableProtocolFoundError to documentation 2017-05-01 18:58:29 +03:00
Jason Robinson c99caa75c4 Improve some docstrings 2017-05-01 18:48:48 +03:00
Jason Robinson 3206cab1e1 Add changelog related to comment and like additions 2017-05-01 17:42:49 +03:00
Jason Robinson e06509af19 Make Diaspora get_full_xml_representation take in private key as param instead of user 2017-05-01 17:32:46 +03:00
Jason Robinson 2a3700b518 Improve tests for relayable signing and verification 2017-05-01 11:37:13 +03:00
Jason Robinson 0a80f17334 PEP8 fixes 2017-05-01 11:01:44 +03:00
Jason Robinson bac0898394 Make DiasporaLike a relayable 2017-05-01 11:00:21 +03:00
Jason Robinson 9e9ded2c3d Remove SignedMixin in favour of base entity signing by default
While the signing methods are empty at the moment, preparation for ActivityPub, where every object would need to be signed separately (as signature is not in payload header but in the object itself), get rid of separate SignedMixin and just have signature and sign() on the base entity. Diaspora entities provide the necessary methods for signing and validation for DiasporaComment currently.
2017-05-01 10:54:31 +03:00
Jason Robinson ce9c3c7ba4 Add create relayable signature method
Includes backwards incompatible changes when creating outbound entities.
2017-05-01 00:42:45 +03:00
Jason Robinson 268afb950b Add relayable signature verification for DiasporaComment 2017-04-30 22:15:57 +03:00
Jason Robinson b24a3370f2 Raise specific exception when Diaspora payload signature verification fails
Also convert another 'assert' to a raise. Asserts might be skipped in production environments.

Closes #61
2017-04-29 22:05:38 +03:00
Jason Robinson a417cdda41 Add example comment payload for signature verification / creation work 2017-04-29 20:37:01 +03:00
Jason Robinson 14030faeb3 Add changelog entry for author_signature and _source_protocol 2017-04-23 22:14:38 +03:00
Jason Robinson a606a7a4d2 Add source protocol name to entity
This could be useful for apps to know which protocol payload the entity was created from.
2017-04-23 22:09:43 +03:00
Jason Robinson ba1365f009 Save Diaspora author_signature to entity 2017-04-23 22:09:04 +03:00
Jason Robinson be329a5fe7 A few code style cleanups in entities/test_base 2017-04-23 21:48:18 +03:00
Jason Robinson 5eabc8faa1 Add SignedMixin to Comment and Reaction entities
Contains a required 'signature' attribute.
2017-04-23 21:47:17 +03:00
Jason Robinson e60275fd6b Remove unnecessary duplicated target_guid in ParticipationMixin 2017-04-23 20:10:37 +03:00
Jason Robinson 98ec137372 Merge pull request #71 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2017-04-08 11:08:44 +03:00