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
Jason Robinson
1609a8448a
Add requires.io badge
...
[ci skip]
2016-05-09 21:43:27 +03:00
Jason Robinson
12454a10ea
Merge pull request #18 from jaywink/entity-tags-fix
...
Don't raise on Post.tags if Post.raw_content is None
2016-05-09 21:39:43 +03:00
Jason Robinson
fde1e988da
Don't raise on Post.tags if Post.raw_content is None
...
Fixes #17
2016-05-09 21:35:42 +03:00
Jason Robinson
cddebf87cd
Install all test files with package
...
Test factories can be useful in building project tests.
2016-04-16 22:28:10 +03:00
Jason Robinson
c71548262f
Add test factory DiasporaPostFactory
2016-04-16 22:15:46 +03:00
Jason Robinson
de87e7e210
Release 0.3.1
2016-04-13 22:14:42 +03:00
Jason Robinson
a04ab0b91b
Merge pull request #14 from jaywink/nodeinfo-wellknown
...
Add support for generating .well-known/nodeinfo
2016-04-13 22:13:49 +03:00
Jason Robinson
3e2a77c490
Add support for generating .well-known/nodeinfo
...
Was forgotten from previous release.
Refs: #11
2016-04-13 21:59:26 +03:00
Jason Robinson
1411c1aadd
Release 0.3.0
2016-04-13 18:47:30 +03:00
Jason Robinson
fd1f5385d3
Merge pull request #13 from jaywink/nodeinfo
...
Add support for NodeInfo document generation
2016-04-12 23:22:46 +03:00
Jason Robinson
69e179f506
Add support for NodeInfo document generation
...
Support for generating NodeInfo documents using the generator `federation.hostmeta.generators.NodeInfo`. Strict validation is skipped by default, but can be enabled by passing in `raise_on_validate` to the `NodeInfo` class. By default a warning will be generated on documents that don't conform with the strict NodeInfo values. This can be disabled by passing in `skip_validate` to the class.
2016-04-12 22:46:43 +03:00
Jason Robinson
e8cc4d7bdd
Release 0.2.0
2016-04-09 13:56:17 +03:00
Jason Robinson
36dac79121
Add a changelog [ci skip]
2016-04-06 22:53:07 +03:00
Jason Robinson
561f2ab87a
Merge pull request #10 from jaywink/participation-models
...
Support Comments and Likes
2016-04-04 22:34:42 +03:00
Jason Robinson
c566a8c628
Remove unused argument to be more landscape brilliant
2016-04-04 22:30:52 +03:00
Jason Robinson
1e8df3f7b0
Fix an erronous super() call
...
Thanks landscape.io for reporting this to me :) At the same time, python3ize some other super calls
2016-04-04 22:25:34 +03:00
Jason Robinson
732d0966a4
Add support for Diaspora Like using Reactions
...
Refs: #4 and #5
2016-04-04 22:05:41 +03:00
Jason Robinson
a2920444ca
Refactor: move diaspora XML generators to entities themselves
...
This change is backwards incompatible. Any implementations wishing to create a valid Post for example for diaspora shouls now use DiasporaPost.
2016-04-03 22:54:32 +03:00
Jason Robinson
62380a5d77
Add support for Comment entity
...
Refs: #4
2016-04-03 22:25:12 +03:00
Jason Robinson
cd8304fcdb
Make BaseEntity.validate call validate_ methods and check _required
2016-04-03 20:20:39 +03:00
Jason Robinson
15fc76b845
Fix entity CreatedAtMixin.created_at to be datetime.now()
2016-04-03 19:57:34 +03:00
Jason Robinson
38c32af798
Merge pull request #6 from jaywink/travisify
...
Add travis config
2016-04-03 17:34:29 +03:00
Jason Robinson
9a2d7a0b82
Add travis config
2016-04-03 17:29:54 +03:00
Jason Robinson
e10dc53454
Merge pull request #2 from waffle-iron/master
...
waffle.io Badge
2016-03-12 22:02:22 +02:00
Making GitHub Delicious
9138419a79
add waffle.io badge
2016-03-12 13:02:08 -07:00
Jason Robinson
f12c9fee25
Add landscape badge
2015-09-20 22:31:49 +03:00
Jason Robinson
8fe7347dec
Add Post.tags property
...
Retrieves a set of unique tags found in the post.
2015-08-09 03:29:08 +03:00
Jason Robinson
94d8aad530
Make DiasporaWebFinger Python2.7 compatible
...
Refs: #1
2015-08-08 02:27:56 +03:00
Jason Robinson
921a9b527d
Always validate .well-known/social-relay when rendering it
...
Not much point in schema otherwise
2015-07-16 23:58:41 +03:00
Jason Robinson
478f55069d
.well-known/social-relay should also define scope
2015-07-16 23:18:14 +03:00
Jason Robinson
bf4e494841
Add support for .well-known/social-relay document
...
Used in apps to provide subscription preferences, see: https://www.loomio.org/d/9vpoe0UR/public-post-federation#comment-730911
2015-07-16 23:01:10 +03:00
Jason Robinson
1055261735
Add hcard template in manifest
2015-07-12 22:24:00 +03:00
Jason Robinson
4a1792065f
Fix path reference to hcard template
2015-07-12 22:11:57 +03:00