Wykres commitów

805 Commity (master)

Autor SHA1 Wiadomość Data
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 7d750d3365 Revert the change in patterns matching beginning or space at the beginning because it prevented the use of markdown on hastags and mentions. 2023-07-14 08:55:30 -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 4dca31b17f Make sure the code block a really ignored. 2023-07-09 06:40:23 -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 60694662a5 Merge branch 'ap-profile-handling' into 'master'
Implement support for automatic remote profile updates and deletion.

See merge request jaywink/federation!176
2023-06-04 13:08:23 +00: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 1e5516ef60 Update changelog. 2023-05-05 09:34:30 -04:00
Alain St-Denis 37a5ea1215 fetch_document: if response.encoding is not set, default to utf-8. 2023-05-04 08:32:17 -04:00
Alain St-Denis 8e50267305 Get ready to process profile deletes. 2023-04-07 12:06:22 -04:00
Alain St-Denis 5ad5212332 Fix circular import error. 2023-04-07 12:06:22 -04:00
Alain St-Denis b3d5e8629c Fix http signature verification for deleted profiles. 2023-04-07 12:06:22 -04:00
Alain St-Denis 24dcbb3d51 Fix logic error. 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 a0c4e7fb6e Merge branch 'ld-signatures' into 'master'
LD signatures and context management

See merge request jaywink/federation!175
2023-04-07 12:57:18 +00: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 26f93ec1be Update changelog. 2023-03-25 08:24:30 -04:00
Alain St-Denis 2f4a3e9c16 Merge branch 'master' into ld-signatures 2023-03-25 07:12:31 -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
Jason Robinson 05105e5c46 Release 0.24.1 2023-03-18 02:08:28 +02:00
Jason Robinson e3474ce284 Explicitly set version in docs/conf.py 2023-03-18 02:06:17 +02:00
Jason Robinson 73b21a688b Remove sphinx specific config part 2023-03-18 02:03:35 +02:00
Jason Robinson b8a6270241 Build docs on python 3.9 2023-03-18 01:59:18 +02:00
Jason Robinson f76f862ddb Release 0.24.0 2023-03-18 01:53:23 +02:00
Alain St-Denis 913bc300df Catch TypeError for import_key. 2023-03-14 20:39:31 -04:00
Alain St-Denis 0d42bb7018 Implement LD signatures for outbound payloads. 2023-03-14 20:20:44 -04:00
Alain St-Denis f787c2f998 Truncate zeros for XSD_DOUBLE values. 2023-03-14 16:03:57 -04:00
Alain St-Denis 3e0259a35e Turn float values with a zero fraction to integers. 2023-03-14 12:47:39 -04:00
Alain St-Denis d27f38dee5 Return if a profile can't be retrieved. 2023-03-13 07:46:38 -04:00
Alain St-Denis 4d923fc0b4 Actually call verify_ld_signature. 2023-03-12 17:36:23 -04:00
Alain St-Denis 9b10ef6779 Add funcy to the reqs 2023-03-12 17:20:16 -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 38fd38101f Merge branch 'various-fixes' into 'master'
Various low hanging fruit fixes

See merge request jaywink/federation!174
2023-03-12 14:01:18 +00:00
Alain St-Denis 6dc2553197 Improve a misleading comment. 2023-03-12 09:54:50 -04: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