Alain St-Denis
9b10ef6779
Add funcy to the reqs
2023-03-12 17:20:16 -04:00
Jason Robinson
449ea99e97
Switch python-httpsig-socialhome dependency to PyPi packaged version
2023-02-08 16:27:24 +01:00
Jason Robinson
ae720f66b2
Update readme note on AP stabiity and setup.py Python versions
2023-02-08 11:24:49 +01:00
Alain St-Denis
52c96532dc
Update http signatures processing
2023-01-21 15:35:48 +00:00
Alain St-Denis
9df803dafe
Render Activitypub outbound payloads with calamus.
2023-01-07 15:59:38 +00:00
Alain St-Denis
58c8f95e54
Add audio and video media objects and much more.
2022-08-19 17:01:44 +00:00
Jason Robinson
662e2964b6
Feneas GitLab -> GitLab.com updates
2022-06-05 02:50:09 +03:00
Jason Robinson
01357aacb0
Release v0.22.0
2021-08-15 21:26:59 +03:00
Jason Robinson
b7e6181594
Start creating tag rooms and carbon copying posts to them based on the tags they contain
...
This happens for public posts only. Post author appservice users will be invited to the rooms.
2021-05-02 23:18:05 +03:00
Jason Robinson
01dac38921
Add configuration for Matrix appservice registration file
...
Includes a function to print it out in YAML.
Currently requires Django configured.
2020-12-21 23:09:29 +02:00
Jason Robinson
836e19b40d
Remove the network utils `fetch_host_ip_and_country` and `fetch_country_by_ip`
...
The library that was used starting to require an API key.
2020-12-20 02:59:17 +02:00
Jason Robinson
26e6e4d04d
Support and test on python 3.8
2020-12-20 02:51:00 +02:00
Jason Robinson
13f0cf0db6
Stop markdownifying received ActivityPub content
...
It was causing more trouble than benefits. Just accept
HTML content into entities raw_content attribute and
let apps deal with it.
2020-04-12 23:32:42 +03:00
Jason Robinson
47d3d53a18
Add `process_text_links` text utility to linkify URL's in text
...
Moved from Socialhome.
2020-01-26 01:08:54 +02:00
Jason Robinson
3dd18e301e
Merge branch 'markdownify-html' into 'master'
...
Markdownify incoming HTML content from ActivityPub layer
See merge request jaywink/federation!156
2019-08-26 20:01:55 +00:00
Jason Robinson
49da8c0818
Add Python 3.7 to setup.py classifiers. Small tweaks to texts and tags.
2019-08-26 22:26:02 +03:00
Jason Robinson
e92792fa35
Markdownify incoming HTML content from ActivityPub layer
2019-08-25 22:55:00 +03:00
Jason Robinson
564f917f7a
Render content with commonmark, save markdown to source
2019-08-18 04:25:13 +03:00
Jason Robinson
539c7f8bfb
Fix IPData lookup after 3.x version breaking changes
...
Thanks CI! <3
2019-05-12 18:56:40 +03:00
Jason Robinson
dc8edbc7e6
Refactor handle_send function recipients and delivery code
...
The outbound function `outbound.handle_send` parameter `recipients`
structure has changed. It must now be a list of dictionaries,
containing at minimum the following: `fid` for the recipient endpoint,
`protocol` for the protocol to use and `public` as a boolean whether
the payload should be treated as visible to anyone.
For Diaspora private deliveries, also a `public_key` is required
containing the receiver public key. Note that passing in handles as
recipients is not any more possible - always pass in a url for `fid`.
2019-03-17 19:39:55 +02:00
Jason Robinson
3a44534b24
Add cryptography to dependencies
...
Required by requests-http-signatures. Which is a shame since
we already use pycryptodome.
2019-03-16 03:07:31 +02:00
Jason Robinson
2fb2da6955
Work on ActivityPub HTTP signatures and payload delivery
...
Also removes some legacy cruft for the failed Diaspora URI's as ID's experiment.
Refs: #7
2019-03-06 22:42:33 +02:00
Jason Robinson
890e2c940b
Make UserType an attrs class
2018-08-19 22:02:09 +03:00
Jason Robinson
5a01616df1
Fix references to code to point to Feneas gitlab
2018-08-11 22:32:44 +03:00
Jason Robinson
258a067412
Merge branch 'master' into patch-017
2018-08-11 21:50:35 +03:00
Jason Robinson
bc38ac990b
Switch crypto library `pycrypto` to `pycryptodome`
...
This is a more up to date fork of the former. This fixes CVE-2018-6594 found in the former.
**Deployment note.** When updating an application, you *must* uninstall `pycrypto` first, otherwise there will be a conflict if both the versions are installed at the same time. To uninstall, do `pip uninstall pycrypto`.
Release 0.17.0
2018-08-11 21:47:16 +03:00
Jason Robinson
454dc8ccbc
Drop compatibility for Python <= 3.5
2018-07-23 18:33:47 +03:00
Jason Robinson
a2c8d1c061
Switch to ipdata.co service for country lookups
2018-05-27 20:34:47 +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
2a10cb9ffd
Add Python 3.6 to setup.py classifiers
2017-01-12 22:05:19 +02:00
Jason Robinson
7cac9e9227
Fix setup.py classifiers oops for 0.8.0 release
2016-10-09 15:36:28 +03:00
Jason Robinson
3291ce1b3b
Add a few setup.py classifiers
2016-10-04 22:48:52 +03:00
Jason Robinson
a80699df3c
Bump development status to beta
2016-10-04 22:45:52 +03:00
Jason Robinson
c5becee7fe
Rename library to federation
...
Less typing saves lives.
2016-10-04 22:07:24 +03:00
Jason Robinson
667f079942
Improve docs and unify with readme
2016-10-04 21:31:51 +03:00
Jason Robinson
b2011b3fac
Release 0.4.1
2016-09-04 23:15:39 +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
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
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
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
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
de87e7e210
Release 0.3.1
2016-04-13 22:14:42 +03:00
Jason Robinson
1411c1aadd
Release 0.3.0
2016-04-13 18:47:30 +03:00
Jason Robinson
e8cc4d7bdd
Release 0.2.0
2016-04-09 13:56:17 +03:00
Jason Robinson
9a2d7a0b82
Add travis config
2016-04-03 17:29:54 +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