Commit Graph

1073 Commits (436791af740b0bc6228078395d982159155fb55a)

Author SHA1 Message Date
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
Bob Mottram 5895b3d50b Handle create within announce in public profile feed 2021-09-11 15:12:12 +01:00
Bob Mottram b1ce2ded40 Parsing lemmy-style public feeds 2021-09-11 14:59:40 +01:00
Bob Mottram cd0224e788 Tidying of public feed processing 2021-09-11 14:42:17 +01:00
Bob Mottram 021b7a8494 Try again with different headers 2021-09-11 14:10:50 +01:00
Bob Mottram fd73beb56b Allow unordered items lists 2021-09-11 13:10:44 +01:00
Bob Mottram 7ce82bf81a Caddy header 2021-09-11 11:03:07 +01:00
Bob Mottram 0234b752ce Pass origin domain 2021-09-10 23:08:04 +01:00
Bob Mottram d7cbe93391 More general accept 2021-09-10 22:47:26 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram aa7edaa2c4 Set domain for webfinger 2021-09-08 13:34:13 +01:00
Bob Mottram 36fd03166b Url variable 2021-09-06 09:52:34 +01:00
Bob Mottram 3c2e575ea9 Indentation 2021-09-06 09:50:44 +01:00
Bob Mottram 12c0c64d96 Avoid duplicates 2021-09-06 09:48:58 +01:00
Bob Mottram 3a94d7fb41 Exception handling when deleting files
This can fail if a file is manually deleted or deleted in another thread
2021-09-05 11:17:43 +01:00
Bob Mottram e6fbee9ca8 Handle none inputs 2021-09-02 11:29:35 +01:00
Bob Mottram 152febac88 Attempt to obtain instance actor when using commandline 2021-09-01 18:26:40 +01:00
Bob Mottram 6c0a39c64d Support for authorized fetch using instance actor signing key 2021-08-31 15:17:11 +01:00
Bob Mottram 4d771166e0 Replace /users/ with other possible paths 2021-08-22 19:38:02 +01:00
Bob Mottram 87a7d2e154 Tidying of actor urls 2021-08-14 12:13:39 +01:00
Bob Mottram e91e4a0727 Command option for low bandwidth images 2021-08-13 18:08:50 +01:00
Bob Mottram 2a163cafd0 Muting by conversation ID 2021-08-12 11:22:04 +01:00
Bob Mottram 35a6a1cad1 Less verbose 2021-08-11 13:49:15 +01:00
Bob Mottram 361c8fb6bd Reintroduce conversation field 2021-08-08 17:52:32 +01:00
Bob Mottram 05e7c73b5c No event post type 2021-08-08 15:12:13 +01:00
Bob Mottram a444304eb5 Use the full domain within tokens 2021-08-05 17:46:02 +01:00
Bob Mottram 0f71fae658 Unit test for federated shared items 2021-08-05 12:24:24 +01:00
Bob Mottram ccc0d09ece Test for accessing catalog of local instance 2021-08-04 18:14:23 +01:00
Bob Mottram dcf76f996e Handle actors with no public post feed 2021-08-02 21:43:53 +01:00
Bob Mottram dda607ff00 Remove debug 2021-08-02 21:26:09 +01:00
Bob Mottram 5a442c1d3c Better check for presence of orderedItems 2021-08-02 11:50:32 +01:00
Bob Mottram 3469850199 Fix removal of post interactions 2021-08-01 20:19:45 +01:00
Bob Mottram 9ad912aec5 Tidying 2021-08-01 17:23:32 +01:00
Bob Mottram 6863d3bf62 Check boxname 2021-08-01 17:17:36 +01:00
Bob Mottram 9b7add2f24 Fixing posts option 2021-08-01 15:47:31 +01:00
Bob Mottram b265dbe0b8 Show user feed 2021-08-01 15:11:20 +01:00
Bob Mottram d6ac3b91cb More debug 2021-08-01 14:44:27 +01:00
Bob Mottram cfea4f0c90 Fixing --posts option 2021-08-01 14:25:11 +01:00
Bob Mottram f4e479c423 Check for group account when sending posts 2021-07-31 14:19:45 +01:00
Bob Mottram 40f0aac017 Detecting group handle 2021-07-30 14:00:23 +01:00
Bob Mottram 78d37b16ab Comments 2021-07-29 23:27:54 +01:00
Bob Mottram c9fbc82701 Simplify getting box details 2021-07-29 23:24:22 +01:00
Bob Mottram 4422c69d7f Tidying 2021-07-29 20:12:53 +01:00
Bob Mottram 84ad6d9f4f Send shared items token to domains within the approved federation 2021-07-26 14:12:51 +01:00
Bob Mottram 0c36d99e28 Open blocked links in a different tab 2021-07-23 14:50:32 +01:00
Bob Mottram 4ebbe4916b Extra common words 2021-07-23 13:12:48 +01:00
Bob Mottram 648ec44fab Extra common word 2021-07-23 13:10:17 +01:00
Bob Mottram e23c424162 Extra word exclusion 2021-07-23 13:08:17 +01:00
Bob Mottram 6826fed2e9 Extra character to avoid 2021-07-23 13:05:24 +01:00
Bob Mottram df2a947516 Remove extra character 2021-07-23 12:57:39 +01:00
Bob Mottram 4838dd5e02 More common words 2021-07-23 12:37:37 +01:00
Bob Mottram f1ce208765 More common words 2021-07-23 12:31:23 +01:00
Bob Mottram bb3de9e173 Handling of understood languages prior to automatic translation 2021-07-20 14:33:27 +01:00
Bob Mottram 33ce8fbfb5 Use cached actors when checking understood languages
This improves speed by reducing disk reads
2021-07-19 09:46:21 +01:00
Bob Mottram 93a30f1255 Check that announces are understood 2021-07-18 20:35:34 +01:00
Bob Mottram 50096bff11 Improve handling of contentMap within posts 2021-07-18 15:15:16 +01:00
Bob Mottram 9daac007f7 contentMap language for pinned posts 2021-07-18 11:47:55 +01:00
Bob Mottram f5cbc7f8ee Support language within contentMap 2021-07-18 10:55:49 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram 7511af13d0 Limit the number of times that the same word can be repeated 2021-07-10 10:38:59 +01:00
Bob Mottram 06eb2b96a3 Check for dictionary objects 2021-07-06 11:00:19 +01:00
Bob Mottram 112f4be382 Use with when opening files 2021-07-05 12:48:20 +01:00
Bob Mottram a06186b26e Tidying 2021-07-04 13:50:42 +01:00
Bob Mottram 5d38503baa Deprecate events
Mobilizon does it in a different way
2021-07-01 22:30:36 +01:00
Bob Mottram 1515ef0bc9 DM post arguments 2021-07-01 22:05:22 +01:00
Bob Mottram d24a517942 Followers only post arguments 2021-07-01 21:58:16 +01:00
Bob Mottram e1e545506d Unlisted post arguments 2021-07-01 21:54:33 +01:00
Bob Mottram 2919417e59 Fix blog post arguments 2021-07-01 21:50:18 +01:00
Bob Mottram 9003ae187d Fix public post tests 2021-07-01 21:41:17 +01:00
Bob Mottram 09c3703ba4 Don't need default argument values 2021-07-01 21:11:01 +01:00
Bob Mottram ccddb3c765 dat becomes hyper 2021-07-01 18:59:24 +01:00
Bob Mottram 9907ad65f1 Moderation report for new post 2021-06-27 17:12:10 +01:00
Bob Mottram 8d4879818a Separate function for adding place and time to new post 2021-06-27 16:48:02 +01:00
Bob Mottram 3d67188634 tags is a list 2021-06-27 15:59:45 +01:00
Bob Mottram 810f4986c9 Simplify the main new post construction function 2021-06-27 15:58:54 +01:00
Bob Mottram c5815a2564 Tidying 2021-06-26 22:29:49 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram 6f8060932c Alternative field for indicating no replies 2021-06-25 10:51:54 +01:00
Bob Mottram bb09f2a655 Function to extract port number from domain 2021-06-23 22:44:31 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +01:00
Bob Mottram 214511db01 Over-zealous function use 2021-06-22 21:30:27 +01:00
Bob Mottram 939e053e5b Function to check that activitypub posts have an object dictionary 2021-06-22 16:45:59 +01:00
Bob Mottram 80f43a728a Spaces 2021-06-22 13:42:52 +01:00
Bob Mottram 25d0cd8c65 Use with style when writing files 2021-06-22 13:27:10 +01:00
Bob Mottram 55c351e8a6 Only one argument 2021-06-22 12:01:45 +01:00
Bob Mottram d42ee647d3 Revert "File storage functions"
This reverts commit 9c18e7042e.
2021-06-21 23:53:04 +01:00
Bob Mottram cd008c3013 Revert "Reading functions"
This reverts commit ee0ffade9d.
2021-06-21 23:52:04 +01:00
Bob Mottram ee0ffade9d Reading functions 2021-06-21 23:34:46 +01:00
Bob Mottram 9c18e7042e File storage functions 2021-06-21 22:02:03 +01:00
Bob Mottram eab0a92af9 Include User-Agent within POST 2021-06-20 14:39:53 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram ea6571da4e Don't download self-boosts 2021-06-03 13:17:24 +01:00
Bob Mottram 2c348f3edf Improve error reporting 2021-05-20 13:04:05 +01:00
Bob Mottram 05f1ada1c1 Spoof gps metadata on images 2021-05-09 20:11:05 +01:00
Bob Mottram d8b882c10f Option to spoof image metadata 2021-05-09 13:17:55 +01:00
Bob Mottram 4826f234cc Tidying of newswire voting logic 2021-04-30 14:24:33 +01:00
Bob Mottram aed2713c5c Test for removing post interactions 2021-04-30 12:45:46 +01:00
Bob Mottram 6bb57f11f5 Tidying 2021-04-30 10:48:39 +01:00
Bob Mottram 3af7fbeda5 Debug for timeline 2021-04-30 10:24:56 +01:00
Bob Mottram 4a2137654f More descriptive variable name 2021-04-30 10:17:22 +01:00
Bob Mottram 5f24d6cda4 Show replies 2021-03-23 19:14:49 +00:00
Bob Mottram 54efec157a Smaller timeouts 2021-03-21 13:35:15 +00:00
Bob Mottram 032ebe2a8c Refresh timeline after mute 2021-03-21 13:17:59 +00:00
Bob Mottram 7c2405a9a6 Add to field 2021-03-21 12:44:58 +00:00
Bob Mottram d98dc388d8 Add ignores collection to make mutes visible to c2s 2021-03-21 10:45:24 +00:00
Bob Mottram 44df9eabaf Mute and unmute via c2s 2021-03-20 21:20:41 +00:00
Bob Mottram eada662691 Add a to field to bookmarks 2021-03-20 12:00:00 +00:00
Bob Mottram 01b08104e1 Comment 2021-03-20 10:18:38 +00:00
Bob Mottram 4dcbbc44e9 Fix unit tests 2021-03-19 10:14:57 +00:00
Bob Mottram f1e5db1c18 Assign variable 2021-03-18 23:39:54 +00:00
Bob Mottram e4504593b6 Don't send actor updates to self 2021-03-18 23:25:27 +00:00