Jason Robinson
8e29497e91
Merge pull request #48 from jaywink/new-magic-envelope
...
New style Diaspora Magic Envelope support
2016-09-13 11:35:22 +03:00
Jason Robinson
0b91e828d4
New style Diaspora Magic Envelope support
...
Not used in actual federation yet. Offers a class to build the envelope separately.
Closes #47
2016-09-13 11:29:13 +03:00
Jason Robinson
1c1bab1277
Always install test reqs with -U flag
2016-09-12 22:02:27 +03:00
Jason Robinson
4b01542fd4
Add changelog for user.private_key change
2016-09-12 21:58:28 +03:00
Jason Robinson
ddc14cfab1
Deprecate receiving user 'key' attribute for Diaspora protocol
...
Instead correct attribute should be 'private_key'. We already use 'private_key' in the message creation code so this is just to unify the user related required attributes.
There is a fallback with 'key' for user objects in the receiving payload part of the Diaspora protocol until 0.8.0.
2016-09-12 21:53:25 +03:00
Jason Robinson
157423efe3
Add pytest-warnings to test reqs
2016-09-12 21:51:00 +03:00
Jason Robinson
8d62831ae9
Release 0.5.0
2016-09-05 23:38:33 +03:00
Jason Robinson
c58d717b78
Merge pull request #46 from jaywink/full-xml-repr
...
Add Diaspora entity utility get_full_xml_representation
2016-09-05 23:38:08 +03:00
Jason Robinson
6cf06e915e
Add Diaspora entity utility get_full_xml_representation
2016-09-05 23:33:35 +03:00
Jason Robinson
66965697b1
Merge pull request #45 from jaywink/send-document
...
Add send_document network utility
2016-09-05 23:04:37 +03:00
Jason Robinson
ee5b16415e
Add send_document network utility
...
It's a wrapper around requests.post that adds the correct user agent and silently captures common requests exceptions and returns them instead.
2016-09-05 22:58:08 +03:00
Jason Robinson
c46114c6be
Merge pull request #44 from jaywink/provider-display-name
...
Add mappings for Post.provider_display_name
2016-09-05 22:35:56 +03:00
Jason Robinson
f979b8e91e
Add mappings for Post.provider_display_name
2016-09-05 22:22:49 +03:00
Jason Robinson
0172690137
Merge pull request #43 from jaywink/to-user-optional
...
Make to_user optional in handle_create_payload
2016-09-05 22:15:36 +03:00
Jason Robinson
c8f436cd4e
Make to_user optional in handle_create_payload
...
Public content does not require a recipient.
2016-09-05 22:09:08 +03:00
Jason Robinson
b2011b3fac
Release 0.4.1
2016-09-04 23:15:39 +03:00
Jason Robinson
5e5ed49967
Merge pull request #41 from jaywink/drop-urlencoding
...
Fixes to Diaspora protocol handling
2016-09-04 23:11:44 +03:00
Jason Robinson
71ff2e7943
Changelog for #41
2016-09-04 23:06:25 +03:00
Jason Robinson
95cf91fcbc
Fix identification of Diaspora protocol message
...
Socialhome was generating correct XML but attributes in different order than it seems other implementations.
2016-09-04 23:06:04 +03:00
Jason Robinson
ebe5a71c26
No need to quote/encode the payload posted out
2016-09-04 22:57:58 +03:00
Jason Robinson
163e93b19c
Add factories.entities.ProfileFactory
2016-08-01 01:49:16 +03:00
Jason Robinson
1b991a4555
Release 0.4.0
2016-07-24 22:06:18 +03:00
Jason Robinson
2423b8f5df
Merge pull request #37 from jaywink/payload-logging
...
Add handle receive payload logging
2016-07-24 22:00:08 +03:00
Jason Robinson
cf62f6fcf1
Add handle receive payload logging
...
Closes #29
2016-07-24 21:54:54 +03:00
Jason Robinson
bcb9647eba
Merge pull request #36 from jaywink/get-user-method
...
Get remote profile method
2016-07-24 20:29:34 +03:00
Jason Robinson
b64031ef29
Add remote profile fetcher
...
High level method to fetch a remote profile. Currently falls back to Diaspora protocol as no others are supported.
Returns a Profile entity.
Closes #15
2016-07-24 20:25:16 +03:00
Jason Robinson
3e73658d65
Add 'guid' and 'public_key' as required for DiasporaHCard generator
...
Leaving these out was a mistake in the initial implementation. Diaspora has these in at least 0.6 development branch.
2016-07-24 14:51:29 +03:00
Jason Robinson
4c1c4d5e53
Merge pull request #35 from jaywink/get-user-method
...
Split federation.controllers to inbound and outbound
2016-07-23 13:42:37 +03:00
Jason Robinson
7b458b7fc7
Split federation.controllers to inbound and outbound
2016-07-23 13:37:56 +03:00
Jason Robinson
f8cc459057
Add changelog entry for #33
...
[ci skip]
2016-07-23 00:23:38 +03:00
Jason Robinson
43fbc4acae
Merge pull request #33 from jaywink/fetch-hcard
...
Add utilities to fetch Diaspora user discovery documents
2016-07-23 00:11:07 +03:00
Jason Robinson
01da1b2ca1
Add .coveragerc
2016-07-22 23:53:14 +03:00
Jason Robinson
bd805b5c31
Add utils for fetching Diaspora discovery related documents
...
hCard, Webfinger and host-meta.
Closes #22
2016-07-22 23:53:14 +03:00
Jason Robinson
1f9c4d8e68
Add utility method to fetch remote document
...
Works with either url or host/path. Falls back to http if needed or SSL connection error (optionally cert error too).
Refs: #22
2016-07-22 23:53:10 +03:00
Jason Robinson
63fe26ff90
Merge pull request #31 from jaywink/profile-entity
...
Add Profile entity
2016-07-20 00:12:53 +03:00
Jason Robinson
3c27abf0a9
Add Profile entity
...
Closes #24
2016-07-20 00:04:46 +03:00
Jason Robinson
08e0abf180
Merge pull request #30 from jaywink/refactor-entity-sending
...
Convert outbound entities to correct protocol types
2016-07-19 21:58:40 +03:00
Jason Robinson
bf348e9544
Convert outbound entities to correct protocol types
...
When sending an entity, first convert it to the correct entity using the protocol entities. If a suitable entity is not found, raise an error.
Closes #27
2016-07-19 21:51:59 +03:00
Jason Robinson
8b880f89a0
Merge pull request #28 from jaywink/request-entity
...
Add Relationship entity
2016-07-18 22:43:17 +03:00
Jason Robinson
08c1d4fa91
Add Relationship entity
...
Relationship base entity which represents relationships between two handles. Types can be following, sharing, ignoring and blocking. The Diaspora counterpart, DiasporaRequest, which represents a sharing/following request is outwards a single entity, but incoming a double entity, handled by creating both a sharing and following version of the relationship.
Closes #26
2016-07-18 22:39:17 +03:00
Jason Robinson
e6d6f7010f
Merge pull request #25 from jaywink/remote-profiles
...
Refactor Diaspora protocol sender handle fetching
2016-07-17 21:07:14 +03:00
Jason Robinson
f69e7bfd8a
Refactor Diaspora protocol sender handle fetching
...
Diaspora private messages don't have a plain text sender handle in the header. One must first
open the message (without verifying it), fetch the sender handle and then verify the content.
Closes #21
2016-07-17 21:02:13 +03:00
Jason Robinson
2ca037e8f5
Add metadata and push 0.3.2 to PyPi
...
[ci skip]
2016-07-15 20:40:33 +03:00
Jason Robinson
247af462b9
Merge pull request #20 from jaywink/dependencies-fixing
...
Unlock more direct dependency version ranges
2016-05-22 21:46:22 +03:00
Jason Robinson
3c6c7f6145
Unlock more direct dependency version ranges
...
Unlock most of the direct dependencies to a certain version range. Unlock all of test requirements to any version.
2016-05-22 21:43:23 +03:00
Jason Robinson
a6863680ef
Release 0.3.2
2016-05-09 22:04:08 +03:00
Jason Robinson
b709622ed2
Merge pull request #19 from jaywink/bump-dependencies
...
Bump lxml and python-dateutil dependencies
2016-05-09 22:02:49 +03:00
Jason Robinson
f1eadbf8d7
Changelog for changed dependencies
2016-05-09 21:58:15 +03:00
Jason Robinson
3b69b632c5
Bump and loosen python-dateutil
2016-05-09 21:56:23 +03:00
Jason Robinson
a6aa6eda0c
Bump and loosen lxml
2016-05-09 21:52:22 +03:00