Alain St-Denis
783b0ebc14
update changelog.
2024-01-05 16:50:23 -05:00
Alain St-Denis
db87313535
Ignore relayed retractions.
2023-07-27 08:00:41 -04:00
Alain St-Denis
e0993a7f7f
Switch to BeautifulSoup for content processing. Outbound rendered content is now provided by the client app. Mark inbound AP HTML content hashtags and mentions. Fix missing href attribute crashing process_text_links.
2023-07-08 07:34:44 -04:00
Alain St-Denis
1e5516ef60
Update changelog.
2023-05-05 09:34:30 -04:00
Alain St-Denis
26f93ec1be
Update changelog.
2023-03-25 08:24:30 -04:00
Jason Robinson
05105e5c46
Release 0.24.1
2023-03-18 02:08:28 +02:00
Jason Robinson
f76f862ddb
Release 0.24.0
2023-03-18 01:53:23 +02:00
Alain St-Denis
81c5356c41
Re-arrange changelog updates.
2023-03-11 20:10:36 -05:00
Alain St-Denis
bf69c74a63
Changelog updates.
2023-03-11 18:38:56 -05:00
Jason Robinson
8515d538e8
Release v0.23.1
2023-02-08 16:27:47 +01:00
Jason Robinson
449ea99e97
Switch python-httpsig-socialhome dependency to PyPi packaged version
2023-02-08 16:27:24 +01:00
Jason Robinson
1603fd7bf7
Release v0.23.0
2023-02-08 11:27:08 +01:00
Alain St-Denis
5b560efded
update changelog and doc string. django now throws a ModuleNotFound error when it's config can't be found. Catch it.
2023-02-06 09:03:22 -05: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
01357aacb0
Release v0.22.0
2021-08-15 21:26:59 +03:00
Jason Robinson
9244e96682
Changelog for handle_send fix
2021-04-28 22:19:25 +03:00
Jason Robinson
4566b252a1
Changelog for images in markdown fix
2020-12-27 23:08:36 +02:00
Jason Robinson
499d222719
sender_localpart -> shortcode. Give appservices also an exclusive namespace for users and aliases.
2020-12-24 15:36:38 +02:00
Jason Robinson
524e5efbfd
Add Django views for the Matrix appservice transactions
2020-12-23 23:30:05 +02:00
Jason Robinson
449089a59e
Changelog for appservice commit
2020-12-21 23:10:23 +02:00
Jason Robinson
1b461806f0
Add Matrix utility function to register users on Dendrite
2020-12-21 22:05:43 +02:00
Jason Robinson
48be2cbb6e
Add `federation.hostmeta` generators for Matrix client and server well-known files.
...
Django views and url configuration also included for convenience.
2020-12-20 17:55:01 +02:00
Jason Robinson
34d04f01f1
Start new development cycle
2020-12-20 17:21:36 +02:00
Jason Robinson
c2239327c3
Release v0.21.0
2020-12-20 03:11:04 +02:00
Jason Robinson
6b93e325a9
Fix some tests for newer Python version
2020-12-20 03:10: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
1dd92a9b51
Start new dev cycle
2020-12-20 02:50:42 +02:00
Jason Robinson
f5d88b44bb
Release v0.20.0
2020-12-20 02:43:19 +02:00
Jason Robinson
a29ab19166
Extract ActivityPub ID from Diaspora paylaods
...
Extract ActivityPub ID from Diaspora payloads if found as the `activitypub_id` property.
2020-04-25 03:18:21 +03:00
Jason Robinson
e1af61794b
Add AP ID to outbound Diaspora payloads
...
Add ActivityPub ID to outbound Diaspora payloads of types comment, post and profile,
if an URL given as `id`.
2020-04-25 03:04:55 +03:00
Jason Robinson
be89ae5453
Add Diaspora guid/handle to post/profile outbound ActivityPub
...
Add Diaspora extension and guid to outbound ActivityPub payloads, if available. For
profiles, also add handle.
2020-04-25 02:44:02 +03:00
Jason Robinson
9972b9d3fb
Extract Diaspora guid
...
Diaspora entity guid will now be extracted from ActivityPub payloads implementing the Diaspora extension.
2020-04-25 00:32:33 +03:00
Jason Robinson
7c1f1670b1
Fix tags separated by slashes not being identified
...
Fixes socialhome/socialhome#198
2020-04-13 12:40:35 +03:00
Jason Robinson
a2653239d6
Fix some characters stopping tags being identified
...
Closes socialhome/socialhome#222
2020-04-13 11:46:10 +03: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
8200725e72
Add changelog for the relay fixes
2020-04-07 23:16:55 +03:00
Jason Robinson
bdc44ac59c
Don't always crash generating payloads if Django is installed but not configured
2020-02-22 01:32:19 +02:00
Jason Robinson
fd63767263
Fix sharedInbox from remote ActivityPub profiles
...
Fix reading `sharedInbox` from remote ActivityPub profiles. This caused public payloads not
to be deduplicated when sending public payloads to remote ActivityPub servers. Refetching
profiles should now fix this.
Closes #124
2020-02-22 01:31:46 +02:00
Jason Robinson
58d092d5f3
Expand payload_logger to log also protocol and sender
2020-02-20 22:13:26 +02:00
Jason Robinson
cb36a143d4
Add payload logger for handle_send and handle_create_payload
...
Outbound functions `handle_send` and `handle_create_payload` now accept an optional `payload_logger`
parameter. If given it should be a function that takes a `str` or `dict` payload as the only
parameter. This will be called for each generated payload.
2020-02-20 21:55:21 +02:00
Jason Robinson
9cb2509ab6
Add replacer functionality to the find_tags utility
2020-02-17 21:58:00 +02:00
Jason Robinson
b72ce5b870
Use find_tags when calculating tags from RawContentMixin.raw_content
...
Closes #70
2020-02-17 21:10:03 +02:00
Jason Robinson
712c6d2c46
Add `find_tags` text utility to find hashtags from text
...
Refs: https://git.feneas.org/socialhome/socialhome/issues/572
2020-02-17 21:05:36 +02:00
Jason Robinson
50a3e376dd
Don't include OStatus for Mastodon 3.0+ protocols list
...
Refs: https://github.com/thefederationinfo/the-federation.info/issues/217
2020-02-16 16:35:30 +02:00
Jason Robinson
52eb8fc6cd
Linkify URL's in outgoing ActivityPub payloads
...
Refs: #572
2020-01-26 01:21:41 +02: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
c479a42d47
Entities with a `raw_content` field now have URL syntax mentions rendered into a link
...
If Django is configured, a profile will be retrieved using the configured profile
getter function and the profile name or username will be used for the link.
Refs: https://git.feneas.org/socialhome/socialhome/issues/572
2020-01-18 01:39:44 +02:00
Jason Robinson
4c665e8743
Fix some edge case crashes of `handle_send` when there are Diaspora protocol receivers
2020-01-12 23:33:49 +02:00
Jason Robinson
6bc85a3bfa
Loosen validation of `TargetIDMixin`
...
It now requires one of the target attributes
to be set, not just `target_id`. This fixes
follows over the Diaspora protocol which broke
with stricter send validation added in 0.19.0.
2020-01-12 00:56:46 +02:00