Commit Graph

1337 Commits (a09da9b85c6c942e7bb0804e4429b59ab6bce2ed)

Author SHA1 Message Date
Bob Mottram 2288af7857 Remove unresolvable privacyHeaders which prevent jsonld signature checks 2024-06-23 13:34:47 +01:00
Bob Mottram 272690b3d3 Include opt-outs inside object 2024-06-23 10:15:46 +01:00
Bob Mottram 95121b9919 opt-out preference signals 2024-06-23 10:11:17 +01:00
Bob Mottram 9dd546b85c json loading retries may not be needed 2024-06-20 11:47:58 +01:00
Bob Mottram 47456239b8 Less indentation 2024-06-19 20:37:03 +01:00
Bob Mottram 8568477a69 Another expected field 2024-06-18 13:54:07 +01:00
Bob Mottram 322e64ba12 More expected fields 2024-06-18 13:51:03 +01:00
Bob Mottram c2e300da8d Expected fields 2024-06-09 18:52:28 +01:00
Bob Mottram 99634b39dc Only report non-zero checks 2024-06-09 18:44:22 +01:00
Bob Mottram 03bac188d8 Check for none 2024-06-09 18:42:49 +01:00
Bob Mottram 1c2b063ccd Missing items 2024-06-09 18:39:15 +01:00
Bob Mottram 9325da91a6 Show novel fields 2024-06-09 18:36:22 +01:00
Bob Mottram ef60035949 Handle the formerRepresentations style of edited posts 2024-06-09 14:52:20 +01:00
Bob Mottram 6ea02514a3 Improve handling of statuses path 2024-05-26 13:04:29 +01:00
Bob Mottram f20eaefa94 Function for accounts data directory 2024-05-12 13:35:26 +01:00
Bob Mottram 86b8e379f1 Remove default function arguments 2024-05-01 11:41:43 +01:00
Bob Mottram 5913ddc823 Remove default function arguments 2024-05-01 11:29:16 +01:00
Bob Mottram a9f49879ce Tidying 2024-04-10 14:32:03 +01:00
Bob Mottram e10f90f121 to and cc should be lists 2024-03-29 15:33:37 +00:00
Bob Mottram 01a8ab59f5 cc should be a list 2024-03-29 15:24:22 +00:00
Bob Mottram ccab03cc2a Allow dict attachments and convert them to lists 2024-03-29 14:52:14 +00:00
Bob Mottram a3b3661e61 Unauthorized requests for premium posts should return an empty set 2024-03-20 22:17:03 +00:00
Bob Mottram 92c1e25d0f Use last entry 2024-03-13 20:11:12 +00:00
Bob Mottram f62ab70c2b More robust checking for icon url 2024-03-13 20:09:03 +00:00
Bob Mottram 60b50bf7ff Check for dict 2024-03-13 20:03:27 +00:00
Bob Mottram 3f0e166f76 Breaking up the giant daemon 2024-03-01 17:10:04 +00:00
Bob Mottram bf228fdb10 Longer variable name 2024-02-25 15:21:23 +00:00
Bob Mottram b33f479a7b Remove default arguments 2024-02-19 17:50:35 +00:00
Bob Mottram 3b4832e1c8 Remove default arguments 2024-02-19 15:53:51 +00:00
Bob Mottram cdd93a7620 Remove default arguments 2024-02-19 15:47:56 +00:00
Bob Mottram 58a1a0b629 Remove default arguments 2024-02-19 15:38:08 +00:00
Bob Mottram 348df2f106 Remove default arguments 2024-02-19 13:33:11 +00:00
Bob Mottram 58fe90f823 Check for people posting their private keys, presumably by accident 2024-02-17 13:48:40 +00:00
Bob Mottram d1e2713cda Shorter warning 2024-02-16 16:48:31 +00:00
Bob Mottram a5a6521c7d Improve support for federated blocks 2024-02-11 13:42:15 +00:00
Bob Mottram 16d98f5fe3 Improve support for federated blocks 2024-02-11 13:07:55 +00:00
Bob Mottram d296f166c5 Apply federated blocks when downloading announces 2024-02-09 22:09:18 +00:00
Bob Mottram 4ba94563fa Use baseexception 2024-02-06 22:12:07 +00:00
Bob Mottram cf5831e20b Use variable names to avoid confusion 2024-02-06 22:08:09 +00:00
Bob Mottram 2a12ab2bc7 Tidying 2024-02-04 13:18:08 +00:00
Bob Mottram 83d5dde8ec Add exception handling when saving files 2024-02-01 13:30:59 +00:00
Bob Mottram a4602fa8d7 Version 1.5.0 2024-01-21 19:01:20 +00:00
Bob Mottram 5ff61bab0e Add cache for automatic content warnings 2024-01-18 13:27:22 +00:00
Bob Mottram abc3fab7a8 Move function 2024-01-17 11:53:56 +00:00
Bob Mottram 3060f95637 Consistent filename 2024-01-17 11:37:19 +00:00
Bob Mottram c2cba96e18 Comments 2024-01-09 17:57:16 +00:00
Bob Mottram e0ea772681 Enable reading friendica-style actors 2024-01-09 16:59:23 +00:00
Bob Mottram d77e4ea9fc Support event objects 2024-01-09 10:41:19 +00:00
Bob Mottram c43f9ce74c Missing object 2024-01-04 16:56:00 +00:00
Bob Mottram 0757a281f4 Allow book listings without cover images 2024-01-03 13:54:33 +00:00
Bob Mottram db4f77e52d Handle inReplyTo in a way that is compatible with bookwyrm 2023-12-24 23:42:38 +00:00
Bob Mottram 080b2ca352 Handle situations where urls are lists 2023-12-09 14:18:24 +00:00
Bob Mottram d40fde1136 Preparing for utcnow deprecation 2023-11-20 22:27:58 +00:00
Bob Mottram a68c12d530 Check that content is returned# 2023-10-29 21:10:02 +00:00
Bob Mottram f447293436 get content when converting video to note 2023-10-29 13:24:52 +00:00
Bob Mottram aed024f21d Tidying 2023-10-25 21:11:24 +01:00
Bob Mottram f94bd588f5 Check for string 2023-10-25 21:00:25 +01:00
Bob Mottram 216f9f578a Support nameMap within actor 2023-10-25 20:55:40 +01:00
Bob Mottram 3f81256a06 Rename function 2023-10-17 10:31:16 +01:00
Bob Mottram 6a45908914 Tidying 2023-10-17 10:27:58 +01:00
Bob Mottram 8f65f6c709 Fix unit tests 2023-10-16 21:44:29 +01:00
Bob Mottram 1b82841125 Allow string to field for Follow 2023-10-16 19:30:54 +01:00
Bob Mottram bad7e4f67b Comments 2023-10-16 14:10:22 +01:00
Bob Mottram ed3c85ec5d Function name 2023-10-16 13:55:59 +01:00
Bob Mottram 05c6d5b794 Consistent sending of json 2023-10-16 13:51:38 +01:00
Bob Mottram 8ff0ec6114 Allow inbox url domain to differ from instance domain when sending signed json
A workaround for wordpress
2023-10-16 10:48:57 +01:00
Bob Mottram 3cebf17bd7 Resolving wordpress actors and posts 2023-10-12 13:59:04 +01:00
Bob Mottram cb611a6e97 Tidying 2023-10-12 13:24:08 +01:00
Bob Mottram 6286c8238a Resolving wordpress-style actors 2023-10-12 13:23:40 +01:00
Bob Mottram 84469d16f0 Extra test for last published 2023-10-02 17:32:53 +01:00
Bob Mottram 4602c7f7bc Add last status date to masto API 2023-10-02 15:09:06 +01:00
Bob Mottram 4825b1d90e Function to get the attributedTo string 2023-09-26 21:25:53 +01:00
Bob Mottram eae05efd4c Log sites which are unavailable 2023-09-15 22:04:31 +01:00
Bob Mottram 73cc5443f0 Remove inbox ending 2023-08-29 12:12:41 +01:00
Bob Mottram 253a85523d Keep track of rejected sends 2023-08-29 11:59:57 +01:00
Bob Mottram 3b9be7e630 More debug 2023-08-28 17:40:29 +01:00
Bob Mottram 3e1af39257 Tidying 2023-08-14 19:46:27 +01:00
Bob Mottram 134b4ec9b2 Handle not object 2023-08-14 17:32:44 +01:00
Bob Mottram ad7bf3c033 Return http codes from get_json 2023-08-13 10:58:02 +01:00
Bob Mottram f2bb43c89e Allow pixelfed style post ids 2023-08-03 15:12:39 +01:00
Bob Mottram 45d72880b7 Space 2023-08-03 14:50:55 +01:00
Bob Mottram c0375fbf73 More compatibility with pixelfed stle location representation 2023-08-03 14:45:47 +01:00
Bob Mottram eca0fa1736 Sanitise links to avoid injection attacks in rendered html 2023-07-12 12:08:02 +01:00
Bob Mottram 5160005509 Improve standards compliance for getting actor public key 2023-07-10 23:30:05 +01:00
Bob Mottram 890ec1b5cb Support for adding chat links to posts 2023-07-10 18:53:56 +01:00
Bob Mottram bbb75ff883 Check that type exists 2023-07-07 09:29:24 +01:00
Bob Mottram aa27e378bf Resolve announces within public feeds 2023-06-18 15:11:56 +01:00
Bob Mottram cfe4545a0d Tidying 2023-06-18 14:38:53 +01:00
Bob Mottram 4caa930f67 Allow pre tag through dangerous markup filter in some cases, then remove it when rendering 2023-05-18 12:15:18 +01:00
Bob Mottram 8efb5bedd4 Crawlable flag 2023-05-17 22:03:23 +01:00
Bob Mottram 51c97949f1 Alternative license representation. See https://blahaj.zone/notes/9ev0kge0aj 2023-05-17 21:31:50 +01:00
Bob Mottram 17520ad6ad Less verbose debug 2023-05-04 12:36:48 +01:00
Bob Mottram 07de8d6b99 Invert logic 2023-04-30 19:04:11 +01:00
Bob Mottram 5c5256cae9 Check for dictionary 2023-04-30 18:46:24 +01:00
Bob Mottram ec821c7742 dms have a different license 2023-04-28 13:38:21 +01:00
Bob Mottram 4e0869830f Additional user paths 2023-04-23 16:55:48 +01:00
Bob Mottram d1236a1816 Payment relationship 2023-04-23 09:41:07 +01:00
Bob Mottram 07345b97cd Detect question rather than vote 2023-04-06 10:34:39 +01:00
Bob Mottram 8f64ecfeb3 Turning off votes applies to announced votes 2023-04-05 22:41:40 +01:00
Bob Mottram 0fea60a988 Debug condition 2023-03-17 22:34:27 +00:00
Bob Mottram 4628375bba Debug 2023-03-17 22:30:47 +00:00
Bob Mottram 9443212820 Followers synchronization header 2023-03-17 21:13:43 +00:00
Bob Mottram 636ca0e7ec Convert markdown formatted posts to html 2023-03-06 12:08:25 +00:00
Bob Mottram 27fce3ba0e Filtering applied to question options 2023-02-28 17:38:04 +00:00
Bob Mottram 8edfc11f55 Questions can be announced 2023-02-28 16:55:40 +00:00
Bob Mottram 7ecab8a500 Debug 2023-02-21 13:43:15 +00:00
Bob Mottram defa0e2c44 Signature time cheching tollerance 2023-02-21 13:26:17 +00:00
Bob Mottram 6b874b84fb Warning 2023-02-21 11:29:28 +00:00
Bob Mottram b1d690e267 Handle error when downloading announce 2023-02-21 11:28:51 +00:00
Bob Mottram dc031cd4a9 Adding support for video transcripts 2023-02-18 22:10:15 +00:00
Bob Mottram d863eb25e4 Three representations of public post 2023-02-09 20:40:42 +00:00
Bob Mottram 997dc511a7 Support alternative license representation 2023-01-23 14:56:17 +00:00
Bob Mottram d9143403fe Add media creator for attachments 2023-01-23 11:33:07 +00:00
Bob Mottram bdde4450c1 Add arguments for media license 2023-01-22 23:47:13 +00:00
Bob Mottram b91a876b75 v1.4.0 2023-01-21 23:03:30 +00:00
Bob Mottram afb8aabf3e Check that user feed exists 2023-01-19 18:44:18 +00:00
Bob Mottram fd5cfa4016 Handle none case 2023-01-19 18:39:55 +00:00
Bob Mottram 9f37dd1368 Comment 2023-01-17 12:44:21 +00:00
Bob Mottram a941308dbe Too many Zs 2023-01-16 15:10:51 +00:00
Bob Mottram d3bd78ba4b Default end time for events 2023-01-16 15:09:41 +00:00
Bob Mottram 008a8d1284 Check that a domain is returned 2023-01-15 14:33:18 +00:00
Bob Mottram dd299c636e Attachment rather than tag 2023-01-13 21:43:14 +00:00
Bob Mottram 1b5594bcbd Add buy link to posts 2023-01-13 19:19:57 +00:00
Bob Mottram 86eb346cf7 'context' is sometimes used to mean the same thing as 'conversation'
This does not appear to be part of the AP spec, but is used in the wild
2023-01-09 11:38:05 +00:00
Bob Mottram 0b6ed0324f Improve checking for content 2023-01-08 22:23:02 +00:00
Bob Mottram 6aecffd75c Announced post could be media without text content 2023-01-08 21:43:59 +00:00
Bob Mottram adf98ebf93 Less strict checking of announce id 2023-01-08 21:41:44 +00:00
Bob Mottram e930eb3aaf Don't apply first post to blogs 2023-01-02 10:41:42 +00:00
Bob Mottram 9446b4ecf9 Less strict parsing of webfinger type 2022-12-30 19:35:10 +00:00
Bob Mottram 4df035baae Refactoring 2022-12-28 10:18:13 +00:00
Bob Mottram 5e0caa2180 Attach content license to posts 2022-12-27 13:15:58 +00:00
Bob Mottram c0174dd33c Comment 2022-12-27 10:41:56 +00:00
Bob Mottram ae45d2d336 Comments 2022-12-27 10:09:38 +00:00
Bob Mottram 888ffdcf6d Fallback without first post 2022-12-27 09:58:52 +00:00
Bob Mottram b22c8c6531 One post overlap 2022-12-26 17:12:35 +00:00
Bob Mottram 2d05e184eb No one post overlap between timeline pages 2022-12-26 16:40:50 +00:00
Bob Mottram 2838f94fb5 Validate actor url from webfinger 2022-12-26 15:41:21 +00:00
Bob Mottram 66203c6558 Expire entries from posts cache 2022-12-25 15:24:49 +00:00
Bob Mottram 6ebb6d45a9 Reverse posts in conversation 2022-12-23 22:10:24 +00:00
Bob Mottram a1bf611ca0 Reverse posts in conversation 2022-12-23 22:01:42 +00:00
Bob Mottram 5493747add Download conversation posts 2022-12-23 19:51:00 +00:00
Bob Mottram c39bb9f396 Tidying 2022-12-18 15:29:54 +00:00
Bob Mottram dea8fab6ce Clear ssml when editing post 2022-12-09 13:40:04 +00:00
Bob Mottram aea5fbae6b Save to both outbox and inbox 2022-12-09 13:00:14 +00:00
Bob Mottram c334db95c7 Maximum preview posts 2022-11-26 11:46:03 +00:00
Bob Mottram cc318218e0 Set number of preview posts on profile screen 2022-11-26 11:34:41 +00:00
Bob Mottram 7b0f76db35 Revert "Check for no return value"
This reverts commit d68becabf7.
2022-11-24 23:25:48 +00:00
Bob Mottram d68becabf7 Check for no return value 2022-11-24 23:07:40 +00:00
Bob Mottram f2c56d6964 Less verbose 2022-11-22 11:09:24 +00:00
Bob Mottram 168dd9d2db Cache directory 2022-11-22 11:06:07 +00:00