Commit Graph

596 Commits (933a11ca7293a8e1e5589790305afe827b4e7bb4)

Author SHA1 Message Date
Bob Mottram 34d66a28b2 Shuffle sending to followers so that no particular instance is favored 2020-06-23 12:51:23 +01:00
Bob Mottram ee70877aeb Check that webfinger returns a dict 2020-06-23 11:41:12 +01:00
Bob Mottram 976ee3a89d Check that follower domains are active before sending to them 2020-06-23 10:46:38 +01:00
Bob Mottram 1d92aab187 i2p uses http prefix 2020-06-19 22:50:41 +00:00
Bob Mottram 18b80efcb7 Remove experimental semantics 2020-06-16 21:33:17 +01:00
Bob Mottram 12c7035d50 Abandon accusatory 2020-06-16 21:29:17 +01:00
Bob Mottram 3766f6e9c1 Only jsonld sign if a previous signature does not exist 2020-06-15 14:38:21 +01:00
Bob Mottram 8af75436b6 Add jsonld signatures to posts 2020-06-15 14:08:19 +01:00
Bob Mottram 5ba0e38090 Remove formatting such as bold and italics from posts
This is to be conformant with what Mastodon is doing. Probably markdown should be an optional extra
2020-06-14 14:25:38 +01:00
Bob Mottram 0132674ea3 Label accusatory posts 2020-06-12 12:50:49 +01:00
Bob Mottram 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram 8ed646aed5 More error handling for session creation 2020-06-08 21:22:18 +01:00
Bob Mottram 82007a99ac Tidying 2020-06-07 19:02:20 +01:00
Bob Mottram 88d6ff7b7d Proceed to the next cc 2020-06-07 14:37:41 +01:00
Bob Mottram 07bd5abeb4 Remove duplicated post recipients 2020-06-07 14:35:22 +01:00
Bob Mottram 7a22130837 Handling of i2p secondary domains 2020-06-03 21:21:44 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram a87072e130 Simplify 2020-05-21 23:02:27 +01:00
Bob Mottram f6a52ebb91 Break at end of file 2020-05-21 22:53:12 +01:00
Bob Mottram 3fe81d8d81 No negative page numbers 2020-05-21 22:43:33 +01:00
Bob Mottram f12f659fe2 Bookmarks tidying 2020-05-21 21:48:51 +01:00
Bob Mottram bd32159431 Set box name 2020-05-21 20:48:53 +01:00
Bob Mottram f5321084ff Tidying 2020-05-21 20:28:09 +01:00
Bob Mottram ba88f72871 Tidying 2020-05-21 20:09:28 +01:00
Bob Mottram 34e811f87d Tidying 2020-05-17 12:16:40 +00:00
Bob Mottram a9f3f048ae Remove long words earlier 2020-05-17 10:44:42 +01:00
Bob Mottram 1fc769b217 Remove long words from announced posts 2020-05-17 10:27:51 +01:00
Bob Mottram 6203ba3426 MediaType for content 2020-05-03 14:40:59 +00:00
Bob Mottram 19812b59ef MediaType for content 2020-05-03 14:39:21 +00:00
Bob Mottram 0beeb438ca Comment 2020-05-03 13:18:35 +00:00
Bob Mottram ddb9d4fd82 Remove contentmap for patch posts 2020-05-03 12:52:13 +00:00
Bob Mottram e1951b0bad Convert posts to Commit type if they contain patches 2020-05-03 12:39:54 +00:00
Bob Mottram 08f19f2e8d Commit ActivityPub type 2020-05-03 10:56:29 +00:00
Bob Mottram a4f824b02d Tidying 2020-04-15 22:45:00 +01:00
Bob Mottram da3900c9f1 Don't return 2020-04-04 11:08:37 +01:00
Bob Mottram 17d78a59f6 flake8 format 2020-04-04 11:05:27 +01:00
Bob Mottram 032b168d03 Move functions 2020-04-01 20:13:42 +00:00
Bob Mottram df5effc3c5 Tidying 2020-03-31 11:07:58 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram d9d702ce6e Don't use https when sending to onion address 2020-03-03 19:20:26 +00:00
Bob Mottram 80066532b9 Avoid beautifulsoup 2020-03-03 11:02:34 +00:00
Bob Mottram 91c7d7b226 Typo 2020-03-02 19:31:41 +00:00
Bob Mottram 3fe3dd06a9 Sending to followers on onion domains 2020-03-02 16:23:30 +00:00
Bob Mottram 63a5c76cbe Sending dms to onion domains 2020-03-02 16:11:34 +00:00
Bob Mottram c84fae54f1 Extra checks on announce actor and object 2020-03-01 10:06:55 +00:00
Bob Mottram f3daf353f0 More verbose archiving 2020-02-26 20:39:18 +00:00
Bob Mottram 7c37ffcd36 Save blogs to their own box 2020-02-24 22:34:54 +00:00
Bob Mottram 1f884f010d Blogs timeline 2020-02-24 14:49:43 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram 756119d904 Blog post type 2020-02-24 13:32:19 +00:00
Bob Mottram 075489bea4 Make a copy 2020-02-21 15:20:13 +00:00
Bob Mottram 1d642e0d40 Remove replaced emoji tags 2020-02-21 15:17:55 +00:00
Bob Mottram 2361a6d8fd Use mentions 2020-02-21 15:11:46 +00:00
Bob Mottram 205ff8b5cb Replace tags with unicode characters 2020-02-21 15:09:31 +00:00
Bob Mottram 39c6c42549 Tidying 2020-02-21 12:39:50 +00:00
Bob Mottram 3fff5275db Avoid none objects 2020-02-19 18:55:29 +00:00
Bob Mottram 23978ee799 Missing or 2020-02-19 18:11:21 +00:00
Bob Mottram 3302fdfa6c Support Article activity type 2020-02-19 17:57:59 +00:00
Bob Mottram fad14d0f0c Optionally remove twitter crossposts 2020-02-05 14:57:10 +00:00
Bob Mottram a8a90b9245 Check if announce object is blocked 2020-02-05 11:46:05 +00:00
Bob Mottram 5c2905d57d Add nomadicLocations to actor 2020-01-19 20:19:56 +00:00
Bob Mottram c2187aa007 quieter 2020-01-18 10:47:30 +00:00
Bob Mottram 2a01d5b566 Additional announce block check 2020-01-18 10:39:51 +00:00
Bob Mottram c7d41c24a7 Replace youtube links on announces 2020-01-15 22:31:04 +00:00
Bob Mottram dd41ea979d Save scheduled post with altered parameters 2020-01-13 13:13:40 +00:00
Bob Mottram f7a0890369 Remove debug 2020-01-13 11:45:36 +00:00
Bob Mottram b4bfca3def Move function 2020-01-13 10:49:03 +00:00
Bob Mottram a4b13e5827 New post id 2020-01-12 21:04:20 +00:00
Bob Mottram 6ed8f89c04 Always create file for scheduled posts 2020-01-12 20:53:00 +00:00
Bob Mottram 28ab6b8983 Sending scheduled posts 2020-01-12 20:13:44 +00:00
Bob Mottram 768d8fff4e Scheduled posts are not calendar posts 2020-01-12 13:19:03 +00:00
Bob Mottram a2e083c7a1 Can specify location without time 2020-01-12 13:16:02 +00:00
Bob Mottram faedae33e2 Comment 2020-01-12 12:58:53 +00:00
Bob Mottram 9409f6dcc4 Create a scheduled post index 2020-01-12 12:58:05 +00:00
Bob Mottram 9744db2339 Only create scheduled posts if there is a date and time given 2020-01-12 12:50:52 +00:00
Bob Mottram 7d6b74e961 Scheduled posts go to their own directory 2020-01-12 11:18:49 +00:00
Bob Mottram 484bc2476d Prepend to tags index file 2019-12-17 10:24:52 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram a14bc1fd9c Tidying 2019-12-12 09:58:06 +00:00
Bob Mottram 169ce16da3 Reject announce if it is not a dict 2019-12-04 09:47:35 +00:00
Bob Mottram e663ec0505 Check that announce is a dict 2019-12-04 09:44:41 +00:00
Bob Mottram 37f2ae5776 Remove muted post from cache 2019-12-01 15:19:11 +00:00
Bob Mottram 4d3dab83ae Check for index 2019-12-01 14:43:09 +00:00
Bob Mottram f3af1bb68d String conversion 2019-12-01 14:40:32 +00:00
Bob Mottram c125d4dc69 Add muted parameter to recent posts cache 2019-12-01 14:34:10 +00:00
Bob Mottram fc364b68d9 Debug 2019-12-01 14:03:18 +00:00
Bob Mottram 2c05fbc669 Missing import 2019-12-01 13:57:43 +00:00
Bob Mottram 7ee0f39767 Missing domain 2019-12-01 13:55:24 +00:00
Bob Mottram 06f7b71cb0 Missing import 2019-12-01 13:51:44 +00:00
Bob Mottram ec6bd97e1c Mute button 2019-12-01 13:45:30 +00:00
Bob Mottram 96775d6d66 Remove debug 2019-11-29 23:34:21 +00:00
Bob Mottram 915288c7e1 Debug 2019-11-29 22:52:55 +00:00
Bob Mottram c94b80a36d Sending out updates when votes on a question change 2019-11-29 22:02:16 +00:00
Bob Mottram be96800473 oneOf 2019-11-29 13:54:25 +00:00
Bob Mottram 08811ffcf8 Creating question activity 2019-11-25 22:34:26 +00:00
Bob Mottram c9e5a24826 Remove likes,shares,replies and bookmarks for unauthorized requests on individual posts 2019-11-25 11:04:27 +00:00
Bob Mottram c6d008b28a Allow question updates in timeline 2019-11-25 10:10:59 +00:00
Bob Mottram ae150ca710 Comment out debug 2019-11-24 12:41:48 +00:00
Bob Mottram 342d6a3bd6 Show the post index added from cache 2019-11-24 12:21:13 +00:00
Bob Mottram c5204ea1fa Adding json posts to the timeline from cache 2019-11-24 12:12:29 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 6f33b6f2db Retire old timeline function 2019-11-18 17:04:45 +00:00
Bob Mottram 50bd337e87 Tidying 2019-11-18 16:55:04 +00:00
Bob Mottram 3b83a30e41 Sequence 2019-11-18 15:04:08 +00:00
Bob Mottram 026ef6e194 Increment counter anyway 2019-11-18 14:12:00 +00:00
Bob Mottram 084c5c0cc9 Rename function 2019-11-18 12:57:34 +00:00
Bob Mottram a332ccf219 Remove directories from filename 2019-11-18 12:54:41 +00:00
Bob Mottram 8b6dd0798d Remove colon 2019-11-18 12:50:03 +00:00
Bob Mottram d693bb2e16 No condition 2019-11-18 12:49:41 +00:00
Bob Mottram 4d249faa9c Different indexes 2019-11-18 12:43:21 +00:00
Bob Mottram 8a29d5510c Revert "Always test timeline post type"
This reverts commit fc1878d72a.
2019-11-18 12:40:38 +00:00
Bob Mottram fc1878d72a Always test timeline post type 2019-11-18 12:25:59 +00:00
Bob Mottram e97e223ecb Use post content 2019-11-18 12:02:55 +00:00
Bob Mottram 077709f180 Typo 2019-11-18 11:57:10 +00:00
Bob Mottram 4b1013cd45 Don't load posts twice 2019-11-18 11:55:27 +00:00
Bob Mottram 4401c48682 Bad variable 2019-11-18 11:30:09 +00:00
Bob Mottram 29893507e8 Refactoring timeline generation 2019-11-18 11:28:17 +00:00
Bob Mottram c87713ff79 Use locate 2019-11-18 10:27:34 +00:00
Bob Mottram e1abfed010 Use announce cache 2019-11-17 17:59:27 +00:00
Bob Mottram 1d06970320 Don't show bookmarks to unauthorized users 2019-11-17 16:51:54 +00:00
Bob Mottram 18c2867490 No shared inbox directory for bookmarks 2019-11-17 15:14:06 +00:00
Bob Mottram 3bb0ef5b27 Only use index for bookmarks timeline 2019-11-17 14:36:32 +00:00
Bob Mottram 52e1d44021 Adding bookmarks 2019-11-17 14:01:49 +00:00
Bob Mottram e4c6e2d2f1 Moderation reports are not media items 2019-11-16 22:20:16 +00:00
Bob Mottram d13b2511c2 Moderation reports are not replies 2019-11-16 22:18:20 +00:00
Bob Mottram 26d561d4d7 Fix removals from moderation index 2019-11-16 22:09:54 +00:00
Bob Mottram cb97b5ceb2 Get nickname 2019-11-16 18:14:00 +00:00
Bob Mottram 8ea168c5ab Create index entry for new report 2019-11-16 18:11:30 +00:00
Bob Mottram 28d1869826 dms are not moderation posts 2019-11-16 17:29:02 +00:00
Bob Mottram b4bcbf4a8c Moderation button is highlighted if a new report appears 2019-11-16 15:24:07 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram 246e280231 Also update the create 2019-11-10 12:34:44 +00:00
Bob Mottram 9e53f93997 Mentioned recipients go into 'to' for dms 2019-11-10 12:28:12 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 171f23e751 dms are not necessarily replies 2019-11-09 13:06:38 +00:00
Bob Mottram e84bf4d726 Revert "Revert "Use ensure_ascii when encoding to utf8""
This reverts commit 719bfb9f5d.
2019-11-09 12:52:47 +00:00
Bob Mottram 719bfb9f5d Revert "Use ensure_ascii when encoding to utf8"
This reverts commit 440016aa3a.
2019-11-09 12:47:42 +00:00
Bob Mottram 440016aa3a Use ensure_ascii when encoding to utf8 2019-11-09 12:33:48 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram d258a15283 Debug message when it's really the end 2019-11-07 21:16:40 +00:00
Bob Mottram 4225c40e48 Re-enable shared unbox updates 2019-11-07 21:12:53 +00:00
Bob Mottram 49a1169e67 Longer thread timeout 2019-11-07 21:03:17 +00:00
Bob Mottram dd6916b580 cc to individual recipients 2019-11-07 20:51:29 +00:00
Bob Mottram 57d29d49a0 Extra debug 2019-11-07 19:23:56 +00:00
Bob Mottram a3cc8184bb Send profile updates to individual inboxes 2019-11-07 19:04:55 +00:00
Bob Mottram 897e35afb6 Consistent terminology 2019-11-07 19:01:00 +00:00
Bob Mottram 1a09fa0823 Getting less sleep 2019-11-07 13:38:17 +00:00
Bob Mottram b167c5bae8 Consistent max threads 2019-11-07 13:35:33 +00:00
Bob Mottram f80fd83998 Indentation 2019-11-07 12:56:00 +00:00