Commit Graph

1185 Commits (633a2a5f4e901b0bf2419377b09d858df51587c5)

Author SHA1 Message Date
Bob Mottram a51bbda2b5 Set user agent for webfinger 2022-05-27 09:59:16 +01:00
Bob Mottram d4631e105e Remove surplus parameter 2022-05-24 09:37:33 +01:00
Bob Mottram cfd15a6206 Set end time for events 2022-05-23 13:14:36 +01:00
Bob Mottram 6bf0798a8d Tidying 2022-05-22 15:15:04 +01:00
Bob Mottram abd4b64884 Include geocoords within Place tags if relevant 2022-05-22 14:47:49 +01:00
Bob Mottram 55fc047686 Add comments 2022-05-20 21:02:08 +01:00
Bob Mottram 7907d79eaa Check if music file hashtag is blocked 2022-05-20 16:55:02 +01:00
Bob Mottram 4a632c1c94 Convert ID3 metadata field on audio attachments into hashtags 2022-05-20 16:18:02 +01:00
Bob Mottram ac8b86059f Only prevent remote DM deletions during archive 2022-05-01 18:14:29 +01:00
Bob Mottram 05efb23a51 Begin support for ipfs 2022-04-29 14:54:13 +01:00
Bob Mottram cb1cd531eb Randomize the sequence of instances a post is sent out to 2022-04-23 11:05:51 +01:00
Bob Mottram 7ccbd54b01 Randomize post sending order so that no accounts is particularly favored 2022-04-23 10:49:30 +01:00
Bob Mottram bcedcd3f06 Don't speak emoji eithin display names 2022-04-21 14:03:40 +01:00
Bob Mottram 39a64844e0 Use contentMap when detecting edited posts 2022-04-13 17:13:12 +01:00
Bob Mottram 8f6980ccab Update edits file for delete-and-redraft edits 2022-04-11 10:59:35 +01:00
Bob Mottram 4be7edd5f5 Handle incoming edited posts 2022-04-09 16:11:22 +01:00
Bob Mottram e2bc95c9db Object copy needs to be inline 2022-04-03 13:43:20 +01:00
Bob Mottram 0fddc2204d Static analysis for thread function arguments 2022-04-03 13:17:00 +01:00
Bob Mottram b6c2067c71 Handle fractional seconds within post published date 2022-03-30 19:13:40 +01:00
Bob Mottram 5320e7ed7b Allow bold markup for bold reading 2022-03-24 14:40:28 +00:00
Bob Mottram f55f7a258f Handle none return valued from nickname 2022-03-23 23:59:29 +00:00
Bob Mottram b68fd5c561 mitm parameter available when generating posts 2022-03-14 19:55:36 +00:00
Bob Mottram 438b6d59ce Debug for rejected announces 2022-03-14 14:50:44 +00:00
Bob Mottram cc9427ae4e Set session on server 2022-03-14 13:29:41 +00:00
Bob Mottram a9ac148e42 Change domain for outgoing posts 2022-03-14 12:06:14 +00:00
Bob Mottram d37e6d2b38 Change outgoing post content if sending to onion or i2p from clearnet 2022-03-14 11:52:41 +00:00
Bob Mottram e3363964d0 Debug showing destination domain 2022-03-14 11:22:28 +00:00
Bob Mottram f9812ce1ed Create sessions for sending posts if needed 2022-03-14 11:07:39 +00:00
Bob Mottram 7145900ff9 Check that original domain is not onion or i2p 2022-03-13 23:42:17 +00:00
Bob Mottram 74dc33b96a Get correct domain for private key when using onion or i2p json send 2022-03-13 20:16:39 +00:00
Bob Mottram ea025e283f Set both ports when sending to non-clearnet instances 2022-03-13 13:09:20 +00:00
Bob Mottram d611889d76 Debug for thread events 2022-03-13 11:01:07 +00:00
Bob Mottram 1119f10140 Use different sessions for sending out posts
Posts addressed to onion instances use the onion session, etc
2022-03-11 22:13:22 +00:00
Bob Mottram 5c98a3be81 Debug when adding to field 2022-03-03 15:28:10 +00:00
Bob Mottram aaf7f299fa Include user agent in sent posts 2022-02-28 11:55:36 +00:00
Bob Mottram 1fa7d63411 Revert "Add user agent to signed outgoing posts"
This reverts commit 7485031219.
2022-02-27 23:55:47 +00:00
Bob Mottram 7485031219 Add user agent to signed outgoing posts 2022-02-27 23:51:20 +00:00
Bob Mottram db3e94f1a4 Extra header fields 2022-02-27 23:46:52 +00:00
Bob Mottram 9b6d4c81d7 Try ld+json signed header is unauthorized on send 2022-02-27 22:28:34 +00:00
Bob Mottram b8e4ecbd66 Misskey-style instance actor endpoint 2022-02-26 17:07:14 +00:00
Bob Mottram c895cdaea5 Debug message for news post 2022-02-25 13:42:36 +00:00
Bob Mottram c41069cf90 Add calendar event parameters when sending c2s post 2022-02-24 14:10:32 +00:00
Bob Mottram 823b4c331d When replying to or bouncing a chat message the post should have ChatMessage type 2022-02-08 12:08:20 +00:00
Bob Mottram edb01af961 Support for receiving ChatMessage activities
Equivalent to a Note DM
2022-02-08 10:33:13 +00:00
Bob Mottram e29d66ddd6 Version 1.3.0 2022-02-03 13:58:20 +00:00
Bob Mottram ee49df6805 Don't send with summaryMap, since this breaks json-ld signatures 2022-01-30 16:25:47 +00:00
Bob Mottram 152babab4c Check that nodeinfo request comes from a real website 2022-01-30 16:19:07 +00:00
Bob Mottram c7f257380d Include summaryMap in new posts 2022-01-28 11:08:30 +00:00
Bob Mottram eb20a723b3 Select appropriate language for summary when replying to posts with cw 2022-01-28 10:54:53 +00:00
Bob Mottram 019e45ded4 Snake case 2022-01-03 15:09:45 +00:00
Bob Mottram 81c3fc8789 Snake case 2021-12-31 17:38:22 +00:00
Bob Mottram 9f5ee4db18 Snake case 2021-12-31 15:40:01 +00:00
Bob Mottram e6f07b2906 Snake case 2021-12-31 15:16:53 +00:00
Bob Mottram 086c760ace Moving to snake case 2021-12-29 21:55:09 +00:00
Bob Mottram 30e04544ae Snake case 2021-12-28 21:55:38 +00:00
Bob Mottram f96495a356 Snake case 2021-12-28 21:36:27 +00:00
Bob Mottram 133566c821 Snake case 2021-12-28 19:33:29 +00:00
Bob Mottram f6e842d6b8 Snake case 2021-12-28 18:13:52 +00:00
Bob Mottram 4f62625a4b Snake case 2021-12-28 16:56:57 +00:00
Bob Mottram c4203bc086 Snake case 2021-12-28 14:55:45 +00:00
Bob Mottram a68667d829 Snake case 2021-12-28 14:41:10 +00:00
Bob Mottram 2c39ccf66a Snake case 2021-12-28 14:01:37 +00:00
Bob Mottram d9ee8a3ff8 Snake case 2021-12-27 22:46:10 +00:00
Bob Mottram 0108eb3fa8 Snake case 2021-12-27 22:38:48 +00:00
Bob Mottram 83880bd0b4 Snake case 2021-12-27 22:32:59 +00:00
Bob Mottram b6ac0d6b24 Snake case 2021-12-27 22:19:18 +00:00
Bob Mottram 88922a9b4f Snake case 2021-12-27 21:42:08 +00:00
Bob Mottram 602ab1ad58 Snake case 2021-12-27 20:47:05 +00:00
Bob Mottram 438dcce9e3 Snake case 2021-12-27 19:33:45 +00:00
Bob Mottram 6ecc96c043 Snake case 2021-12-27 19:26:54 +00:00
Bob Mottram 7e3e299873 Snake case 2021-12-27 19:05:25 +00:00
Bob Mottram 0a1f09175f Snake case 2021-12-27 17:49:35 +00:00
Bob Mottram f15fed2145 Snake case 2021-12-27 17:42:35 +00:00
Bob Mottram 501feef616 Snake case 2021-12-27 15:43:22 +00:00
Bob Mottram b399bdc5ee Snake case 2021-12-27 13:58:17 +00:00
Bob Mottram 48f51887b8 Snake case 2021-12-27 11:20:57 +00:00
Bob Mottram 0e87c9a362 Snake case 2021-12-26 23:41:34 +00:00
Bob Mottram 25a4d98cc6 Snake case 2021-12-26 20:36:08 +00:00
Bob Mottram fb9f938c2c Snake case 2021-12-26 20:20:36 +00:00
Bob Mottram df168c656d Snake case 2021-12-26 20:09:52 +00:00
Bob Mottram 30120348ee Snake case 2021-12-26 20:01:37 +00:00
Bob Mottram 1684bbbbca Snake case 2021-12-26 19:47:06 +00:00
Bob Mottram 413bd33613 Snake case 2021-12-26 19:15:36 +00:00
Bob Mottram b8a3176154 Snake case 2021-12-26 18:17:37 +00:00
Bob Mottram 1b64e604ca Snake case 2021-12-26 18:14:21 +00:00
Bob Mottram 821af94f59 Snake case 2021-12-26 17:53:07 +00:00
Bob Mottram 4cdad10897 Snake case 2021-12-26 17:21:37 +00:00
Bob Mottram b71d662d8e Snake case 2021-12-26 17:12:07 +00:00
Bob Mottram 0a2cb81a29 Snake case 2021-12-26 15:13:34 +00:00
Bob Mottram dee60be26b Snake case 2021-12-26 14:47:21 +00:00
Bob Mottram ae2cef4569 Snake case 2021-12-26 14:11:30 +00:00
Bob Mottram 6604143504 Snake case 2021-12-26 14:08:58 +00:00
Bob Mottram cdf7fbd8ac Snake case 2021-12-26 13:17:46 +00:00
Bob Mottram 79dabfa8fc Snake case 2021-12-26 12:45:03 +00:00
Bob Mottram 4215af54e3 Snake case 2021-12-26 12:31:47 +00:00
Bob Mottram 257f29a815 Snake case 2021-12-26 12:24:40 +00:00
Bob Mottram 8f97b42fd4 Snake case 2021-12-26 12:19:00 +00:00
Bob Mottram a151710ce2 Snake case 2021-12-26 12:02:29 +00:00
Bob Mottram dcafa28ee4 Snake case 2021-12-26 11:29:40 +00:00
Bob Mottram 594b3beb55 Snake case 2021-12-26 10:57:03 +00:00
Bob Mottram 963ed4aa1f Snake case 2021-12-26 10:19:59 +00:00
Bob Mottram 6abe5d83fe Snake case 2021-12-26 10:00:46 +00:00
Bob Mottram 81141ad35b Snake case 2021-12-26 00:07:44 +00:00
Bob Mottram 49308fbcb5 Snake case 2021-12-25 23:51:19 +00:00
Bob Mottram 77fc7ddc8e Snake case 2021-12-25 23:45:30 +00:00
Bob Mottram f087b8589c Snake case 2021-12-25 23:41:17 +00:00
Bob Mottram 3a26274342 Snake case 2021-12-25 23:03:28 +00:00
Bob Mottram 58e396e483 Snake case 2021-12-25 22:28:18 +00:00
Bob Mottram 8a3d87d4a8 Snake case 2021-12-25 22:17:49 +00:00
Bob Mottram 4479027aef Snake case 2021-12-25 22:09:19 +00:00
Bob Mottram 8a0855af4c Snake case 2021-12-25 21:37:41 +00:00
Bob Mottram 3c1c0f2feb Snake case 2021-12-25 21:09:22 +00:00
Bob Mottram bd90c75f32 Snake case 2021-12-25 21:04:51 +00:00
Bob Mottram a7c1c5272b Snake case 2021-12-25 21:02:44 +00:00
Bob Mottram 4f37cc05cd Snake case 2021-12-25 20:55:47 +00:00
Bob Mottram ed8d83c6c7 Snake case 2021-12-25 20:50:24 +00:00
Bob Mottram 2e157b5441 Snake case 2021-12-25 20:43:43 +00:00
Bob Mottram 0203107e1a Snake case 2021-12-25 20:39:35 +00:00
Bob Mottram 2c02ed05eb Snake case 2021-12-25 20:34:38 +00:00
Bob Mottram a2b11135f3 Snake case 2021-12-25 20:17:35 +00:00
Bob Mottram c41d18396e Snake case 2021-12-25 20:14:45 +00:00
Bob Mottram 025178849c Snake case 2021-12-25 20:12:07 +00:00
Bob Mottram a8a4aa3d98 Snake case 2021-12-25 18:54:50 +00:00
Bob Mottram e6f605bdd8 Snake case 2021-12-25 18:20:56 +00:00
Bob Mottram 8c6b0f3149 Snake case 2021-12-25 18:05:01 +00:00
Bob Mottram 935bf87d30 Snake case 2021-12-25 17:15:52 +00:00
Bob Mottram bfb3915407 Snake case 2021-12-25 17:13:38 +00:00
Bob Mottram 49e7432076 Snake case 2021-12-25 17:09:22 +00:00
Bob Mottram acc780e780 Snake case 2021-12-25 16:17:53 +00:00
Bob Mottram 8c0c6b08ff Exception variable names 2021-12-25 15:28:52 +00:00
Bob Mottram 1b2e1befc3 Improve consolidation of mentions during creation of new posts 2021-12-06 19:54:47 +00:00
Bob Mottram 04e7addaf7 Don't remove mentions for public posts 2021-12-06 18:11:17 +00:00
Bob Mottram 52523ad7d9 Unit test for getting actor from replyTo 2021-12-06 16:13:00 +00:00
Bob Mottram 0b26fe7c99 Simplify 2021-12-06 16:02:47 +00:00
Bob Mottram a20003360a Separate public check 2021-12-06 15:43:19 +00:00
Bob Mottram 2b13c7646c When making public replies ensure that the actor replied to is within the CC 2021-12-06 15:26:46 +00:00
Bob Mottram 1f06093819 warning prefix 2021-12-02 14:17:27 +00:00
Bob Mottram 65d15b465b Show unauthorized post 2021-12-02 14:16:38 +00:00
Bob Mottram 10f24bcc2d Exception prefix 2021-11-25 22:22:54 +00:00
Bob Mottram a2b4efcaaf File write exceptions 2021-11-25 21:18:53 +00:00
Bob Mottram 6953b2cd43 More specific exceptions 2021-11-25 18:42:38 +00:00
Bob Mottram e48e2a0fd1 Mark announces with bad ciphertext as rejected 2021-11-22 12:25:35 +00:00
Bob Mottram 44308df999 Check announced posts for invalid ciphertext 2021-11-22 12:10:23 +00:00
Bob Mottram 2ce93f24d7 Page avtivity type 2021-11-18 18:43:58 +00:00
Bob Mottram 68badb0e36 Handle emoji reactions 2021-11-10 12:16:03 +00:00
Bob Mottram aa1a6b97c5 Private pinned posts are not really feasible with the existing authorized get requests 2021-11-09 18:59:36 +00:00
Bob Mottram c5b18b436c Followers only posts can be pinned 2021-11-09 18:03:17 +00:00
Bob Mottram 7d9a31ab91 Private pinned post json endpoint 2021-11-09 17:39:58 +00:00
Bob Mottram ec8ae64937 Set content license on images 2021-11-08 18:09:24 +00:00
Bob Mottram 2607ca87d4 More debug 2021-11-01 18:33:32 +00:00
Bob Mottram 4e81096b32 Store custom emoji 2021-11-01 17:12:17 +00:00
Bob Mottram eeb95973d9 Remove default arguments for better static analysis 2021-10-29 23:40:09 +01:00
Bob Mottram 24ac3184b4 Avoid default arguments, which make static analysis harder 2021-10-29 23:26:45 +01:00
Bob Mottram d6150d7fb0 Debug messages for exceptions 2021-10-29 19:48:15 +01:00
Bob Mottram 0ec2c45b50 Less indentation 2021-10-27 20:38:35 +01:00
Bob Mottram 1761c24bed Check that tags have a type 2021-10-27 16:10:18 +01:00
Bob Mottram aaa201ba9a Resolve posts from Friendica 2021-10-27 13:46:38 +01:00
Bob Mottram a70ca0f0d0 More grammatical 2021-10-27 13:22:47 +01:00
Bob Mottram e2e8aeafe7 Argument order 2021-10-23 14:43:21 +01:00
Bob Mottram 50796afb3c Threaded sending to named addresses 2021-10-20 21:00:09 +01:00
Bob Mottram 31deda0a58 Additional checks 2021-10-18 17:50:27 +01:00
Bob Mottram acc70ae594 Change the way that edited items are compared 2021-10-18 16:20:22 +01:00
Bob Mottram ad72cf11f2 Comments 2021-10-18 11:42:17 +01:00
Bob Mottram f81f6977c2 More general error code checking 2021-10-18 11:23:42 +01:00
Bob Mottram 1244d0fafc Returning error codes from post 2021-10-18 11:20:57 +01:00
Bob Mottram 3edc55341b Filename not json 2021-10-17 17:49:34 +01:00
Bob Mottram e59b3c2d82 Return located post 2021-10-17 16:12:15 +01:00
Bob Mottram 82507d418e Check that attributedTo is a string 2021-10-17 13:33:02 +01:00
Bob Mottram 396edbcc79 Tidying 2021-10-17 12:35:47 +01:00
Bob Mottram 5b5efce7f9 When liking an announce send the like to the original post 2021-10-17 11:02:55 +01:00
Bob Mottram c8946805b9 Reduce the similarity threshold a little 2021-10-15 10:31:40 +01:00
Bob Mottram 67bc0d61f4 Check for edited posts 2021-10-14 16:12:35 +01:00
Bob Mottram 614e274e24 Tidying 2021-10-13 11:11:02 +01:00
Bob Mottram 179f36b529 Tidying 2021-10-11 10:42:43 +01:00
Bob Mottram c2d9aa3f9b Avoid conflic with python 3.10 match keyword 2021-10-07 20:03:01 +01:00
Bob Mottram b46342b455 Same context as mastodon 2021-09-30 10:18:03 +01:00
Bob Mottram a317e69d31 Removing id endings 2021-09-28 11:28:42 +01:00
Bob Mottram c1c47ff94c Checking for muted files 2021-09-27 23:06:37 +01:00
Bob Mottram ef71c04d00 Returned params 2021-09-26 22:30:25 +01:00
Bob Mottram 002877ac45 Number of returned values 2021-09-26 22:28:33 +01:00
Bob Mottram b9c9665f64 Add next field to replies collection 2021-09-26 14:27:06 +01:00
Bob Mottram bf1255647e Show Leave rather than Unfollow for groups 2021-09-22 10:29:48 +01:00
Bob Mottram 6e386a2e79 origin domain 2021-09-20 18:36:58 +01:00
Bob Mottram d62223ca85 origin domain 2021-09-20 18:34:15 +01:00
Bob Mottram 3761a3185e Debug 2021-09-20 17:51:53 +01:00
Bob Mottram 94e2be67ee Trace for signed json 2021-09-20 17:05:11 +01:00
Bob Mottram ac248a9783 Include sourceId in debug 2021-09-20 15:22:41 +01:00
Bob Mottram 4a9ec1d3fb Debug 2021-09-20 14:42:23 +01:00
Bob Mottram d68f500455 Signing key warnings 2021-09-20 14:20:30 +01:00
Bob Mottram fc65d8e598 Set an alternative twitter domain 2021-09-18 18:08:14 +01:00
Bob Mottram bb59ef07de Signed get for inbox url 2021-09-15 15:05:08 +01:00
Bob Mottram eec6e0c049 Debug 2021-09-15 13:07:24 +01:00
Bob Mottram 7c76ff7e21 Getting posts 2021-09-15 13:00:44 +01:00
Bob Mottram 9cd3747dd8 Getting posts 2021-09-15 12:59:13 +01:00
Bob Mottram 54ad4859cd Indicate presence of signing key 2021-09-15 12:09:16 +01:00
Bob Mottram 20b5805e9a Set accept type for signed header 2021-09-14 23:03:26 +01:00
Bob Mottram 94db0a9520 More unit tests for signing get requests 2021-09-14 22:22:49 +01:00
Bob Mottram 5d8e975d3a Fix tests 2021-09-14 14:05:10 +01:00
Bob Mottram 58f4840dd9 Check that actor is returned before showing posts 2021-09-13 15:02:11 +01:00
Bob Mottram 839f1a1a91 Convert announced peertube videos to Note 2021-09-13 12:34:56 +01:00