Commit Graph

232 Commits (e0b782fd4fe14cde67ff921885e61cc47e4e3901)

Author SHA1 Message Date
Bob Mottram b0c1cb5712 Extra bad html tag 2019-09-30 12:12:02 +01:00
Bob Mottram 1fa22a6777 If tags are something other than a list then replace with an empty list 2019-09-30 12:05:35 +01:00
Bob Mottram b75faf7ac8 Include post id in reject messages 2019-09-30 11:37:34 +01:00
Bob Mottram 0f2c863e4e Check that number of tags is not too large 2019-09-30 11:35:49 +01:00
Bob Mottram 865b4c3ce9 Hellthread mitigation 2019-09-30 11:15:57 +01:00
Bob Mottram 11f6655530 Show the whole message content 2019-09-30 10:53:43 +01:00
Bob Mottram 4aa56256e8 Validate post content 2019-09-30 10:43:46 +01:00
Bob Mottram c2f8af0bf8 Remove hash ending 2019-09-29 11:41:21 +01:00
Bob Mottram e1ba56bc3d Extra debug 2019-09-29 11:13:00 +01:00
Bob Mottram 3c77111796 Tidying 2019-09-29 10:20:01 +01:00
Bob Mottram d11d8082e9 Download posts for announce activities as they arrive 2019-09-29 10:15:10 +01:00
Bob Mottram e53b6c5ff6 Exception handling for loading json files 2019-09-17 13:14:36 +01:00
Bob Mottram e18fe78b9c Remove cached avatar image after actor update 2019-09-14 19:58:55 +01:00
Bob Mottram e33d306970 Don't overwrite existing inbox arrivals 2019-09-11 18:42:55 +01:00
Bob Mottram 28d30ed497 Check for blocked domains being announced 2019-09-09 17:02:14 +01:00
Bob Mottram cd5af800c2 Allow profile in path 2019-09-09 10:41:31 +01:00
Bob Mottram 8a1fb72ccb Don't accept replies from unidentifiable sources 2019-09-09 10:12:06 +01:00
Bob Mottram 05703db1a3 Handle stray none 2019-09-03 20:53:22 +01:00
Bob Mottram c392da197e Handle replies from blocked domains 2019-09-03 12:27:21 +01:00
Bob Mottram 832c1cd39b Fix cloning of inbox thread 2019-09-03 12:10:53 +01:00
Bob Mottram ad5fb99ea7 Cloning the inbox thread 2019-09-03 11:24:15 +01:00
Bob Mottram d89de123f1 Occasionally try to restore the queue 2019-09-03 10:11:33 +01:00
Bob Mottram 86359ba91a datetime 2019-09-03 10:01:19 +01:00
Bob Mottram ac895d6c90 Show queue length 2019-09-03 09:58:13 +01:00
Bob Mottram 61da9d6af5 Add heartbeat to inbox queue 2019-09-03 09:46:26 +01:00
Bob Mottram 5ca2b1c762 Add a watchdog for the inbox thread 2019-09-02 22:52:43 +01:00
Bob Mottram 8f346fffef Better handling of actor parsing 2019-09-02 10:43:43 +01:00
Bob Mottram 8f23742234 Account 2019-09-01 21:00:45 +01:00
Bob Mottram 3aec37b47e to 2019-09-01 20:56:44 +01:00
Bob Mottram b9310ed9ff Always print 2019-09-01 20:54:02 +01:00
Bob Mottram 9aa4837775 Check that posts don't contain replies from blocked domains 2019-09-01 20:52:14 +01:00
Bob Mottram b9d853ef63 Check actor exists 2019-09-01 20:20:28 +01:00
Bob Mottram c8142aa022 Use activity instead of ld 2019-09-01 13:09:29 +01:00
Bob Mottram 4e0120929c Misleading method name 2019-08-31 16:17:07 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram eaba779cc1 Application activity 2019-08-23 21:09:00 +01:00
Bob Mottram 5303be3942 Setting shared inbox actor to @domain@domain 2019-08-23 15:08:10 +01:00
Bob Mottram 2af276f0ae Also handle bot profiles 2019-08-22 20:53:24 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 8a581ababd Actor within cache 2019-08-22 19:13:07 +01:00
Bob Mottram 9017d7c7b8 Set domain 2019-08-22 19:10:46 +01:00
Bob Mottram e95ac52ca1 Debug 2019-08-22 19:07:29 +01:00
Bob Mottram 2d90c8945c Different domain 2019-08-22 19:03:53 +01:00
Bob Mottram 16939a062d More debug 2019-08-22 19:02:00 +01:00
Bob Mottram 7ca21555a3 Extra checks when receiving actor update 2019-08-22 18:49:57 +01:00
Bob Mottram 49d087a911 Store updated profile in memory cache 2019-08-22 18:33:04 +01:00
Bob Mottram 5891f2ae12 Profile updates 2019-08-22 18:25:12 +01:00
Bob Mottram dec39a18ce Receiving actor updates 2019-08-20 20:41:58 +01:00
Bob Mottram 25b2f3210b Thread for cache expiry 2019-08-20 11:28:05 +01:00
Bob Mottram 848d438767 Function to expire actor cache entries 2019-08-20 10:37:09 +01:00
Bob Mottram 8bd42b9d59 Store cached actors to file 2019-08-20 10:16:03 +01:00
Bob Mottram 600b468409 Handle no returned value 2019-08-18 21:47:12 +01:00
Bob Mottram 115127c730 Add to fields to like activity 2019-08-18 17:49:35 +01:00
Bob Mottram f8efb37c6e Continue even if file exists 2019-08-18 13:06:08 +01:00
Bob Mottram 8d4d09f047 Include accept as a type allowed not to have 'to' 2019-08-18 12:35:26 +01:00
Bob Mottram f8cc1873d4 Fixing tests 2019-08-18 10:39:12 +01:00
Bob Mottram 0bd6eff877 Copy queue file to destination 2019-08-17 13:26:09 +01:00
Bob Mottram 5af97894f4 Check for filename 2019-08-16 23:04:45 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram 55ce8de22b Also replace undo 2019-08-16 20:48:32 +01:00
Bob Mottram db3ecc9511 Convert 'to' and 'cc' strings to lists 2019-08-16 18:51:00 +01:00
Bob Mottram 1b1810ff8a Calculate message body digest from incoming bytes to avoid any json conversion issues 2019-08-16 18:19:23 +01:00
Bob Mottram ffde81d909 testing 2019-08-16 16:04:40 +01:00
Bob Mottram d2394b3a69 Fixing http signatures 2019-08-16 14:47:01 +01:00
Bob Mottram ce708fa7fa Show actor 2019-08-16 10:35:06 +01:00
Bob Mottram e0e259fceb print headers 2019-08-16 09:44:56 +01:00
Bob Mottram bdbcb48d27 Signature 2019-08-16 09:43:53 +01:00
Bob Mottram 292a2a28e7 Use full path when verifying signature 2019-08-16 09:39:01 +01:00
Bob Mottram 8dca9dc9cc More http signature reworking 2019-08-15 23:12:58 +01:00
Bob Mottram 977160eecf http signature fixes 2019-08-15 22:34:25 +01:00
Bob Mottram 28d5dd15a6 Add a to field on follows if it is missing 2019-08-15 18:05:22 +01:00
Bob Mottram 55fa512d54 clear 2019-08-15 17:45:07 +01:00
Bob Mottram dac81b5509 Debug 2019-08-15 17:36:39 +01:00
Bob Mottram 16ae6cb7b3 Create session if it doesn't exist 2019-08-15 17:23:38 +01:00
Bob Mottram b6befa89fd Convert to string 2019-08-15 17:19:57 +01:00
Bob Mottram 5b434cad65 More debug 2019-08-15 17:19:07 +01:00
Bob Mottram 4d34d8a3f6 Follow debug 2019-08-15 17:05:28 +01:00
Bob Mottram 6fbc778609 Extra debug 2019-08-15 09:36:49 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram cc332f316b Deletion of moderation reports 2019-08-12 19:02:29 +01:00
Bob Mottram 28ea6ce342 Limited number of retries to read inbox queue files 2019-08-05 23:38:38 +01:00
Bob Mottram 47aa3fbc1e Avoid errors when loading inbox queue items 2019-08-05 22:14:38 +01:00
Bob Mottram 9772c0116f Missing parameter 2019-08-05 20:30:27 +01:00
Bob Mottram 6821a4ba31 Allow access to shared inbox 2019-08-05 17:05:08 +01:00
Bob Mottram f49a85e4fb Tidying 2019-08-05 11:14:23 +01:00
Bob Mottram 438b778dd3 Remove unused flag 2019-08-05 10:50:45 +01:00
Bob Mottram 13f53414b4 Indentation 2019-08-05 10:28:12 +01:00
Bob Mottram bbae1dc77d Displaying replies to posts selected from the web interface 2019-08-02 19:57:06 +01:00
Bob Mottram fd75e68be3 Viewing replies 2019-08-02 19:04:31 +01:00
Bob Mottram 9c2f3d9e3b Update post shares collection when an announce arrives in inbox 2019-08-01 11:05:31 +01:00
Bob Mottram fcf8399b5a Posting via web interface 2019-07-28 14:30:19 +01:00
Bob Mottram 982ab616d9 Fix ports on post filenames 2019-07-18 12:35:48 +01:00
Bob Mottram c70d37cdf2 More inbox checks 2019-07-18 10:31:29 +01:00
Bob Mottram 985e66f0df Check that posts entering the inbox are valid 2019-07-18 10:26:47 +01:00
Bob Mottram 58c213256c Don't allow federated deletes by default 2019-07-17 19:13:45 +01:00
Bob Mottram 185b9c97c1 Option to not accept deletions 2019-07-17 18:44:26 +01:00
Bob Mottram 27908a5fad Test for post deletion 2019-07-17 18:16:48 +01:00
Bob Mottram 6b3de06ec7 Test for unfollowing 2019-07-17 12:54:13 +01:00
Bob Mottram fc42149e66 Follow checks 2019-07-17 12:28:19 +01:00
Bob Mottram fb31927502 Extra follow checks 2019-07-17 12:24:33 +01:00