Alain St-Denis
|
7559f16f4f
|
Remove references to http://schema.org from inbound AP contexts.
|
2023-07-26 12:57:47 -04:00 |
Alain St-Denis
|
6fd445382d
|
Allow '-' in tags. Make AP tag discovery more robust.
|
2023-07-26 12:40:46 -04:00 |
Alain St-Denis
|
54a8404c3d
|
Make verify_ld_signature more robust. Make Tombstone objects signable.
|
2023-07-24 08:32:32 -04:00 |
Alain St-Denis
|
091b156703
|
For Person, if the url property is missing, set it to id.
|
2023-07-23 13:03:20 -04:00 |
Alain St-Denis
|
cb96d83793
|
Case insensitive lookup with finger.
|
2023-07-23 10:05:25 -04:00 |
Alain St-Denis
|
d7e6a56eb6
|
AP mention finding and marking now also relying on the url property which is expected to be set as the remote_url property of the client app profiles.
Add the url property to some tests.
The get_profile function now expected to OR the query fields.
|
2023-07-23 08:50:40 -04:00 |
Alain St-Denis
|
d53db6299f
|
Make tag link processing more robust.
|
2023-07-18 12:42:36 -04:00 |
Alain St-Denis
|
c87e1c3dd7
|
Unquote and normalize tag links and add to the set being intersected with the hrefs pulled from Hashtag objects.
|
2023-07-18 09:19:53 -04:00 |
Alain St-Denis
|
4b5a886492
|
Match links with no http prefix. Remove trailing garbage from tags.
|
2023-07-17 11:36:24 -04:00 |
Alain St-Denis
|
33366802c4
|
Move process_text_links back to the client app. Skip related tests. Convert it to BeautifulSoup. Remove unused imports.
|
2023-07-16 07:13:56 -04:00 |
Alain St-Denis
|
0783bf43aa
|
Remove unreachable code. Improve (I hope) the mention regex for raw text.
|
2023-07-15 09:54:41 -04:00 |
Alain St-Denis
|
d577e39777
|
Do not assume that the last part of a mention.href is the user's name. Adjust patterns to match a leading whitespace or the beginning.
|
2023-07-13 11:09:00 -04:00 |
Alain St-Denis
|
47af44582c
|
Do not lowercase the finger attribute. Remove a debug print.
|
2023-07-12 07:32:04 -04:00 |
Alain St-Denis
|
24f5bb21a9
|
Fix some tests and fix code that was failing tests. Catch HTML signatures with invalid padding.
|
2023-07-10 14:39:55 -04:00 |
Alain St-Denis
|
1f8d4ac93f
|
Fix a regression that broke GET requests signature verification.
|
2023-07-10 08:24:33 -04:00 |
Alain St-Denis
|
6d885a5c40
|
Add lemmy namespace.
|
2023-07-09 08:51:10 -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
|
e94533b222
|
Allow Link objects as items of the attachment property. Must be rendered by the client app.
|
2023-06-07 10:34:08 -04:00 |
Alain St-Denis
|
33131bd9fe
|
Remove debug pprint.
|
2023-06-06 18:00:01 -04:00 |
Alain St-Denis
|
f72ecf459a
|
Fix logic error.
|
2023-06-06 17:57:47 -04:00 |
Alain St-Denis
|
63a0e38ac9
|
Fix platform quirks (hubzilla, guppe, bird.makeup) that prevent their profiles processing to fail.
|
2023-06-06 16:52:51 -04:00 |
Alain St-Denis
|
942fa333af
|
Fix validate method signature for Accept and Like (currently unsupported outbound) objects.
|
2023-06-02 08:02:38 -04:00 |
Alain St-Denis
|
8e50267305
|
Get ready to process profile deletes.
|
2023-04-07 12:06:22 -04:00 |
Alain St-Denis
|
6b9c74b793
|
Implement automatic remote profile updates. Reduce remote requests frequency. WIP: implement profile retractions.
|
2023-04-07 12:06:22 -04:00 |
Alain St-Denis
|
0c4f8218c7
|
Make Announce and Delete payloads LD signable.
|
2023-03-30 11:25:58 -04:00 |
Alain St-Denis
|
90db138f62
|
Prevent infinite recursion by not checking retrieved profile signatures.
|
2023-03-27 08:44:48 -04:00 |
Alain St-Denis
|
59d5e99d23
|
Objects extracted from collections don't have _source_object set.
|
2023-03-26 17:32:18 -04:00 |
Alain St-Denis
|
e7d954b788
|
Fixes to address the reviewer's comments. Where appropriate, align with existing code structure.
|
2023-03-26 14:47:40 -04:00 |
Alain St-Denis
|
41785c2fdc
|
Refactor jsonld context management. Move LD signing to entities/activitypub. Move jsonld document_loader caching to __init__.py. Fix tests.
|
2023-03-24 18:34:15 -04:00 |
Alain St-Denis
|
012db475e1
|
Implement LD signature verification.
|
2023-03-12 17:15:47 -04:00 |
Alain St-Denis
|
49b29f6ab4
|
Initial commit
|
2023-03-12 10:11:37 -04:00 |
Alain St-Denis
|
6dc2553197
|
Improve a misleading comment.
|
2023-03-12 09:54:50 -04:00 |
Alain St-Denis
|
7bcb1694d4
|
Revert "Append #nfsw when the AP sensitive property is true."
This reverts commit 1ca67c987e .
|
2023-03-11 18:05:20 -05:00 |
Alain St-Denis
|
c574f69adc
|
Test for the Accept activity on Follow objects. If true, return the Accept activity from to_base.
|
2023-03-01 16:42:09 -05:00 |
Alain St-Denis
|
1ca67c987e
|
Append #nfsw when the AP sensitive property is true.
|
2023-02-25 11:05:29 -05:00 |
Alain St-Denis
|
654a8e4396
|
Validate the actor_id (AP attributedTo) property.
|
2023-02-24 08:30:44 -05:00 |
Alain St-Denis
|
3798d9ddb9
|
Strip query from Hashtag objects href property for platform that don't use the same href in the content (pixelfed).
|
2023-02-22 15:08:22 -05:00 |
Alain St-Denis
|
0e9a74e088
|
Define all Mastodon extensions in patch_context for platforms that assume http://joinmastodon.org/ns is a json-ld document (or just don't care).
|
2023-02-22 12:43:49 -05:00 |
Alain St-Denis
|
492601c32d
|
Catch cases when a CollectionPage next attribute point back to a Collection object.
|
2023-02-22 12:06:01 -05:00 |
Alain St-Denis
|
f84b83cb5c
|
Change the url property field so that Link objects are processed properly.
|
2023-02-22 11:43:55 -05:00 |
Alain St-Denis
|
0688e83240
|
The tag property can also include Emoji objects. Limit to Hashtag.
|
2023-02-21 16:25:54 -05:00 |
Alain St-Denis
|
db0b545f24
|
Try matching against Hashtag objects href property in remove_tag_links.
|
2023-02-21 10:03:25 -05:00 |
Alain St-Denis
|
31e8c9d4c7
|
Revert a change that doesn't fix anything and s
doesn't belong in this PR.
|
2023-02-20 08:00:20 -05:00 |
Alain St-Denis
|
342a239148
|
Fix broken outbound automatic Accept of a Follow request. Fixes https://gitlab.com/jaywink/socialhome/-/issues/619.
|
2023-02-20 07:23:42 -05:00 |
Alain St-Denis
|
1c188fc878
|
do not cache reply collections. properly handle AP payloads where the attributedTo property is an array
|
2023-02-01 15:40:34 +00:00 |
Alain St-Denis
|
6339c58268
|
make sure AP Like objects are a noop
|
2023-01-21 17:49:58 +00: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
|
5a940e75f5
|
Fix get tag room alias and create tag room
Create room needs just the local part while the directory lookup needs the full alias. Adjust as needed.
|
2021-05-09 00:18:28 +03:00 |