Wykres commitów

782 Commity (64590ee4c31ae913426fbce118c41145eed0c4d9)

Autor SHA1 Wiadomość Data
Alain St-Denis 64590ee4c3 Define a woodpecker pipeline 2024-01-20 13:08:59 +00:00
Jason Robinson e0592e17d0 Release 0.25.0 2024-01-06 01:32:31 +02:00
Alain St-Denis d2e0a56c98 set the correct commonmark req. remove traceback from models.py. 2024-01-05 18:26:49 -05:00
Alain St-Denis db8bc1527c beautifulsoup -> beautifulsoup4... 2024-01-05 17:30:37 -05:00
Alain St-Denis 22d9d30869 add beautifulsoup to reqs. 2024-01-05 17:24:34 -05:00
Alain St-Denis 783b0ebc14 update changelog. 2024-01-05 16:50:23 -05:00
Alain St-Denis a21275bbef Merge branch 'various-improvements' into 'master'
Various improvements

See merge request jaywink/federation!180
2023-12-31 14:44:04 +00:00
Alain St-Denis c8ff988d32 handle gotosocial reply collections 2023-12-11 08:21:37 -05:00
Alain St-Denis d4f207ba02 unquote Hashtag objects href 2023-11-25 07:44:33 -05:00
Alain St-Denis 340e5cafe7 quick fix: ensure the to property is an array on outbound AP Profiles 2023-10-31 09:56:22 -04:00
Alain St-Denis ca3f927aa9 fix broken peertube content processing when the content property is missing 2023-10-31 08:36:02 -04:00
Alain St-Denis e0115f7966 Merge branch 'fix-url-regex' into 'master'
Improve the URL regex

See merge request jaywink/federation!178
2023-10-31 11:43:31 +00:00
Alain St-Denis aa351e27e2 fix url regex 2023-10-29 10:03:09 -04:00
Alain St-Denis add80e0f6c
Merge branch 'ap-processing-improvements' into 'master'
Content processing improvements.

See merge request jaywink/federation!177
2023-09-04 21:38:47 +00:00
Alain St-Denis ada8c20d39 Impove the url matching regex. 2023-08-05 11:41:30 -04:00
Alain St-Denis 5dac605c4b Improve URL_PATTERN. 2023-08-02 07:45:57 -04:00
Alain St-Denis 5c168d6630 Rework find_elements to make it more efficient and resilient. 2023-07-27 22:26:45 -04:00
Alain St-Denis db87313535 Ignore relayed retractions. 2023-07-27 08:00:41 -04:00
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 b1bc8e7295 Improve URL pattern.
Make find_elements more robust.
Move process_text_links tests to the client app.
2023-07-18 07:16:33 -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 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