Commit Graph

1073 Commits (436791af740b0bc6228078395d982159155fb55a)

Author SHA1 Message Date
Bob Mottram 6f0d4ede53 Authenticated c2s timeline options 2021-03-18 11:03:39 +00:00
Bob Mottram 4804070fd1 Improve c2s debug messages 2021-03-18 10:01:01 +00:00
Bob Mottram 7a91b9b71a Name the actor 2021-03-17 22:11:38 +00:00
Bob Mottram 6dc85f69dc Less verbose 2021-03-14 20:55:37 +00:00
Bob Mottram 041b6f0a8c Less verbose 2021-03-14 20:41:37 +00:00
Bob Mottram 928412c34c Less verbose 2021-03-14 19:53:22 +00:00
Bob Mottram b207d2d674 Less verbose 2021-03-14 19:46:46 +00:00
Bob Mottram a4b7b921de Less verbose when not in debug 2021-03-14 19:32:11 +00:00
Bob Mottram faadca51b6 Less verbose when not in debug 2021-03-14 19:22:58 +00:00
Bob Mottram 41132b7914 Handle empty names 2021-03-12 18:13:51 +00:00
Bob Mottram 4e72aaad53 Comment out tags 2021-03-10 20:39:20 +00:00
Bob Mottram d6efc44fe2 Timeout on post 2021-03-10 19:24:52 +00:00
Bob Mottram 63b7aa6d94 Timeout when sending post via c2s 2021-03-10 19:11:14 +00:00
Bob Mottram 66056face5 Add dm and reply notifications to speaker endpoint 2021-03-09 13:52:02 +00:00
Bob Mottram 741ccf7f59 Tidying 2021-03-07 12:17:06 +00:00
Bob Mottram 3181398df5 Allow video and audio in media timeline 2021-03-07 10:58:18 +00:00
Bob Mottram fb096f5d92 Set variable 2021-03-06 20:00:24 +00:00
Bob Mottram f7e2378581 Tidying 2021-03-05 20:13:35 +00:00
Bob Mottram 5ef83756c3 Missing parameter 2021-03-05 19:37:58 +00:00
Bob Mottram f78fae4031 Use full filename for post reject 2021-03-05 19:29:09 +00:00
Bob Mottram 151fa8cab6 Remove rejected posts from recent posts cache 2021-03-05 19:23:33 +00:00
Bob Mottram e1de415809 Tidying 2021-03-05 19:00:37 +00:00
Bob Mottram 568d73845d Mark announces which are invalid with reject extension 2021-03-05 18:03:15 +00:00
Bob Mottram 9caa658a5e Only add debug if there are a small number of posts 2021-03-05 16:10:25 +00:00
Bob Mottram 2de18f89f2 Debug 2021-03-05 15:59:39 +00:00
Bob Mottram 8689b634d6 Ignore updates or likes 2021-03-05 15:39:03 +00:00
Bob Mottram b18d5b6242 Ensure that items are counted as being added to the timeline 2021-03-05 15:18:32 +00:00
Bob Mottram 429044c937 Ensure the right number of posts per page 2021-03-05 15:01:58 +00:00
Bob Mottram 0b3897b174 Speaking announces 2021-03-03 17:09:31 +00:00
Bob Mottram 2787ceb724 Only speak announces once 2021-03-01 22:59:40 +00:00
Bob Mottram d65764b548 Tidying 2021-02-17 18:10:54 +00:00
Bob Mottram 322651f7fe More descriptive 2021-02-17 14:01:45 +00:00
Bob Mottram 2eb08042f0 Line length 2021-02-17 11:26:14 +00:00
Bob Mottram c89caff090 Fix blog url 2021-02-16 21:00:26 +00:00
Bob Mottram 292fa6fd8f Abbreviate function name 2021-02-11 11:02:05 +00:00
Bob Mottram 9ddad5366b Remove invalid characters from outgoing content warnings 2021-02-11 10:58:51 +00:00
Bob Mottram 6806218202 Screen for outgoing abusive posts 2021-02-11 10:33:56 +00:00
Bob Mottram 2cbcd4eeb2 Tidying 2021-02-11 10:01:27 +00:00
Bob Mottram 2f5d270c3f Set article type 2021-02-10 18:13:41 +00:00
Bob Mottram 1f124e9b5e Set new blog posts as article type 2021-02-10 17:03:51 +00:00
Bob Mottram b16fb0d24c Improve checking of site active status
This uses a defluffed version of webchk
2021-02-10 11:24:34 +00:00
Bob Mottram ae0b1505f9 Join activity has the same meaning as Follow 2021-02-08 14:48:37 +00:00
Bob Mottram 1af83ed1aa Replace nickname in cached html 2021-02-02 21:08:33 +00:00
Bob Mottram 00b7cf430f Apply filters to display name lookups 2021-01-31 11:22:19 +00:00
Bob Mottram 8bbd9b6173 Check for dangerous markup in display name and clearly indicate adversaries 2021-01-31 11:05:17 +00:00
Bob Mottram 9950f42c86 Tidying 2021-01-30 12:48:08 +00:00
Bob Mottram 5c5b715bbe Tidying 2021-01-30 11:59:26 +00:00
Bob Mottram 8299b77942 Check for dangerout markup in downloaded announces 2021-01-30 11:47:09 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 2b1bb3e82f Pinned post endpoint 2021-01-25 14:31:37 +00:00
Bob Mottram 1ec62fa38a Replace @ for webfinger 2021-01-24 22:25:08 +00:00
Bob Mottram 1297af4aec Allow alternate users path 2021-01-24 22:20:23 +00:00
Bob Mottram 87982e0af4 Featured post collection 2021-01-24 21:35:26 +00:00
Bob Mottram 652394a739 Only apply to public posts 2021-01-24 18:35:42 +00:00
Bob Mottram 09b9ec8851 Pinned posts 2021-01-24 18:09:21 +00:00
Bob Mottram f5330c7682 Tidying 2021-01-21 18:12:15 +00:00
Bob Mottram 3d5aad4aa7 Sign the header for returned actors 2021-01-21 15:37:03 +00:00
Bob Mottram 6b1991d472 Check that webfinger exists 2021-01-13 23:43:11 +00:00
Bob Mottram 4da112e672 Show moved address in person options 2021-01-12 11:08:54 +00:00
Bob Mottram 8115fd8953 Indicate the accounts have moved 2021-01-12 10:38:57 +00:00
Bob Mottram 24effb0929 Common words 2021-01-11 20:57:27 +00:00
Bob Mottram e6be377a10 Compare lower case 2021-01-11 14:16:19 +00:00
Bob Mottram 2d31488d49 Remove colon endings and question marks 2021-01-11 14:13:17 +00:00
Bob Mottram 1934a269f1 More common words 2021-01-11 14:05:16 +00:00
Bob Mottram 7d8719161f More common words 2021-01-11 14:01:26 +00:00
Bob Mottram aac3eb816c Remove common words 2021-01-11 13:57:08 +00:00
Bob Mottram 345145927a Calculate word frequencies for account info 2021-01-11 13:14:22 +00:00
Bob Mottram 80587cf83b Also show blocked following on account info 2021-01-11 10:08:05 +00:00
Bob Mottram a19a318f9f Deduplicate 2021-01-10 23:29:03 +00:00
Bob Mottram 926f387b93 Show blocked followers in account info 2021-01-10 23:06:38 +00:00
Bob Mottram de94fdc1f1 Move function 2021-01-10 21:57:53 +00:00
Bob Mottram ccc814daf5 Debug 2021-01-10 10:13:10 +00:00
Bob Mottram e7252a643f Check for single webfinger 2021-01-10 09:51:30 +00:00
Bob Mottram 56ba0f28d7 Abandon 2021-01-10 00:04:17 +00:00
Bob Mottram 57e3a7b6e8 Enumerate 2021-01-09 23:38:04 +00:00
Bob Mottram fcacd440d4 Change position 2021-01-09 23:34:30 +00:00
Bob Mottram f4f946819e Single entry webfinger 2021-01-09 23:32:47 +00:00
Bob Mottram 6352a931ce Instead of checkoing for dms check for public status 2021-01-08 23:28:14 +00:00
Bob Mottram 4f8580dcce Comment 2021-01-08 21:43:04 +00:00
Bob Mottram 80545e279a Don't show DMs if unauthorized 2021-01-08 21:40:24 +00:00
Bob Mottram 155493c0d0 Comment out debug 2021-01-08 19:13:59 +00:00
Bob Mottram cfaf5a5792 Deprecate blurhashes
They were computationally expensive, and similar functionality could be achieved in a simpler way with css
2021-01-07 15:38:55 +00:00
Bob Mottram 9bdfec94f0 Fix jsonld signatures
Also some schemas are no longer remotely accessed
2021-01-04 19:02:24 +00:00
Bob Mottram 8fb223e1aa Revert "Check webfinger exists"
This reverts commit 9efecfc28e.
2020-12-31 12:15:03 +00:00
Bob Mottram 9efecfc28e Check webfinger exists 2020-12-31 10:56:22 +00:00
Bob Mottram 7fbdb2445f Get webfinger from cache 2020-12-30 10:29:14 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram 838d853a59 Tidying of users path detection 2020-12-23 10:57:44 +00:00
Bob Mottram 3ff0866deb Test that number of function arguments match 2020-12-22 21:24:46 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram a7b094f84f Test for stranded functions which aren't called 2020-12-22 12:59:46 +00:00
Bob Mottram b257f90df2 Check the published date on downloaded announces 2020-12-21 20:38:31 +00:00
Bob Mottram 7ee21c5c30 Debug for sending to followers 2020-12-18 19:59:19 +00:00
Bob Mottram af919974d7 Trace parameter 2020-12-18 17:49:17 +00:00
Bob Mottram 22f7f57b74 More debug 2020-12-18 17:08:35 +00:00
Bob Mottram ddaa94146f Tidying 2020-12-18 17:02:26 +00:00
Bob Mottram 0392e69cac Add debug for sending posts 2020-12-18 15:09:41 +00:00
Bob Mottram d8d6751c2f Try two ways of getting the shared inbox 2020-12-18 11:05:31 +00:00
Bob Mottram a15b2be343 Tidying 2020-12-18 10:43:19 +00:00
Bob Mottram 3122b8b3a6 Use id uf url is unavailable 2020-12-17 19:54:07 +00:00
Bob Mottram 18e572e21f Deduplicate blocked posts list 2020-12-17 11:11:31 +00:00
Bob Mottram f289ca3f63 Preceding line breaks 2020-12-16 17:24:56 +00:00
Bob Mottram b5349762b4 List of urls 2020-12-16 17:09:08 +00:00
Bob Mottram a521713cae Show public posts associated with blocked instances 2020-12-16 16:43:51 +00:00
Bob Mottram 7084a2059f Fix port number bug
Not noticed because in the wild port number extensions are rarely used
2020-12-16 11:33:45 +00:00
Bob Mottram 6ec956e312 Tidying 2020-12-16 11:04:46 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram 966dff9921 Fix reply unit test 2020-12-13 20:30:08 +00:00
Bob Mottram 88b0a6aa6f Check if tag already exists 2020-12-13 20:07:45 +00:00
Bob Mottram e9c0c4c3a9 Unit test for getting mentions 2020-12-13 19:05:26 +00:00
Bob Mottram 3872426f35 Ensure that mentions appear in cc 2020-12-13 18:24:25 +00:00
Bob Mottram 70528e5f09 Remove html from display name 2020-12-12 15:14:17 +00:00
Bob Mottram 11f218d532 Tidying 2020-12-08 14:09:54 +00:00
Bob Mottram c715d39b4a Editors can set a hashtag category 2020-12-01 21:44:27 +00:00
Bob Mottram 4dc41efe21 Indicate whether replies exist 2020-11-28 19:39:37 +00:00
Bob Mottram 22bf539b4a No news flag 2020-11-28 18:13:33 +00:00
Bob Mottram 16f4e7a312 Constructing the features timeline 2020-11-28 13:04:30 +00:00
Bob Mottram 5a695d689d Set news flag on blog posts 2020-11-27 19:52:01 +00:00
Bob Mottram 31827f76b3 Create index when saving post to features timeline 2020-11-27 17:55:21 +00:00
Bob Mottram 2091c44731 Features timeline 2020-11-27 14:17:00 +00:00
Bob Mottram c02ab1ad29 Features timeline 2020-11-27 12:54:59 +00:00
Bob Mottram e36c676d3a Features timeline 2020-11-27 12:49:51 +00:00
Bob Mottram 0014e5f6e1 Features timeline function 2020-11-27 12:29:20 +00:00
Bob Mottram a3a022c917 Splitting webapp into smaller modules 2020-11-09 19:41:01 +00:00
Bob Mottram 3c6a35b280 Show citations on new blog post 2020-11-06 11:53:59 +00:00
Bob Mottram c77b18c734 Missing comma 2020-11-06 11:25:23 +00:00
Bob Mottram c734fc175d Check that field separator exists 2020-11-06 11:24:25 +00:00
Bob Mottram 933a11ca72 Check number of fields per citation 2020-11-06 11:23:42 +00:00
Bob Mottram 1e31a05f19 Remove any line ending 2020-11-06 11:22:50 +00:00
Bob Mottram 3f53b06517 Attaching citations to a blog as tags 2020-11-06 11:21:41 +00:00
Bob Mottram 3fd0723684 Remove html before checking for hashtags 2020-10-25 12:47:16 +00:00
Bob Mottram 32758ffe62 Option to archive news posts 2020-10-21 11:39:09 +01:00
Bob Mottram 48aff7b61e Moderators can change newswire posting permission from person options 2020-10-14 10:35:14 +01:00
Bob Mottram 60650eb7e3 Missing parameter 2020-10-13 14:46:16 +01:00
Bob Mottram cbfbb06270 Tidying 2020-10-11 15:27:22 +01:00
Bob Mottram a43e6d6405 Show exception if json-ld signature fails 2020-10-11 15:08:16 +01:00
Bob Mottram 5085587ad4 Editing news posts 2020-10-10 20:14:36 +01:00
Bob Mottram 22f31f0356 More checks that admin user is defined 2020-10-10 17:10:32 +01:00
Bob Mottram da18789946 Don't process content for news posts 2020-10-10 12:38:52 +01:00
Bob Mottram 513d0784e4 Remove debug 2020-10-09 13:52:56 +01:00
Bob Mottram 53ed0774e6 Voting logic 2020-10-09 13:48:13 +01:00
Bob Mottram 0aa5ce374b Debug 2020-10-09 13:31:14 +01:00
Bob Mottram 3ceb900e69 Debug 2020-10-09 13:27:20 +01:00
Bob Mottram 9a341cd793 utc 2020-10-09 13:25:24 +01:00
Bob Mottram 947a13fba2 Voting time period 2020-10-09 13:15:20 +01:00
Bob Mottram 4abd59d30f Missing argument 2020-10-08 20:57:30 +01:00
Bob Mottram b1b9656cb6 Remove debug 2020-10-08 20:50:07 +01:00
Bob Mottram cc642557f4 Apply voting threshold to timeline 2020-10-08 20:47:23 +01:00
Bob Mottram 9e802d52eb Tidying 2020-10-07 23:29:05 +01:00
Bob Mottram 0e370f2229 Missing parameter 2020-10-07 23:25:30 +01:00
Bob Mottram 7469c39017 Strings 2020-10-07 23:17:40 +01:00
Bob Mottram bdd6e756e9 Typo 2020-10-07 23:08:15 +01:00
Bob Mottram e7897d3226 Debug 2020-10-07 23:05:26 +01:00
Bob Mottram dd2c1c99b2 Debug 2020-10-07 22:49:19 +01:00
Bob Mottram 15b15c3a07 Stray comma 2020-10-07 22:40:52 +01:00
Bob Mottram c440e31bc9 Simplify 2020-10-07 22:26:03 +01:00
Bob Mottram ae8c7c6e30 Create news timeline 2020-10-07 19:05:08 +01:00
Bob Mottram 3928340dc9 Move rss posts to news account 2020-10-07 17:55:15 +01:00
Bob Mottram 6208a3f00f Convert rss feed items to activitypub posts 2020-10-07 14:51:29 +01:00
Bob Mottram 7bcabea021 Move news daemon functions 2020-10-07 13:05:49 +01:00
Bob Mottram 9d30158618 News instance type 2020-10-07 10:10:42 +01:00
Bob Mottram f4cb24490a Tidying 2020-10-06 09:58:44 +01:00
Bob Mottram eff4c42fa4 Fix outbox 2020-09-28 11:11:10 +01:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram b064d6f4d6 Deprecate capabilities module 2020-09-27 19:35:35 +01:00
Bob Mottram 803ac11dba Other way around 2020-09-25 15:33:20 +01:00
Bob Mottram 549c531442 Use handles 2020-09-25 15:23:33 +01:00
Bob Mottram b1672fb9d5 Return lists 2020-09-25 15:14:59 +01:00
Bob Mottram 351cb6ad14 Filenames for followers 2020-09-25 14:33:44 +01:00
Bob Mottram e5eaf42a36 Move functions 2020-09-25 14:21:56 +01:00
Bob Mottram 6ac45978e8 Typo 2020-09-25 14:09:20 +01:00
Bob Mottram 1655a68c7c Move function 2020-09-25 13:46:06 +01:00
Bob Mottram 87be0a1efd More verbose 2020-09-25 12:35:44 +00:00
Bob Mottram 88ac5bb75c Checking non-mutual followers 2020-09-25 12:33:28 +00:00
Bob Mottram e70158ed51 Evilness check 2020-09-25 10:12:36 +00:00
Bob Mottram 148fb121b3 Optionally pass session 2020-09-25 10:05:23 +00:00
Bob Mottram d354b8a339 Option to list blocked domains for a handle 2020-09-25 09:52:13 +00:00
Bob Mottram 74a6f286fc Automatic content warnings 2020-09-13 19:56:41 +01:00
Bob Mottram 4d15aab7c7 Comment 2020-08-31 11:02:45 +01:00
Bob Mottram 6e2d2d112f Remove cached html for muted post when state changes 2020-08-31 10:58:29 +01:00
Bob Mottram 42fe4721cc Switch mutes 2020-08-31 10:42:47 +01:00
Bob Mottram 932f5d4a5a Muted post does need to be recreated 2020-08-31 10:38:23 +01:00
Bob Mottram e5eb6efad6 mute icon names the other way around 2020-08-31 10:30:47 +01:00
Bob Mottram f59d411c9e Change mute link 2020-08-31 10:26:23 +01:00
Bob Mottram 74fd37ee00 More debug for mute 2020-08-31 10:16:49 +01:00
Bob Mottram 329c86e731 Implement mute and unmute more efficiently by avoiding regenerating the post 2020-08-31 10:05:20 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 77c5f810f9 Don't write actors to cache while loading the timeline 2020-08-29 11:21:29 +01:00
Bob Mottram 41607d1542 Check that replyTo field is a string 2020-08-28 15:45:07 +01:00
Bob Mottram cabdc9c3c5 Replies to muted posts are also muted 2020-08-27 18:40:09 +01:00
Bob Mottram 593893206c Allow Event activity in timeline 2020-08-26 13:12:43 +01:00
Bob Mottram 0ac5feb992 Use recent posts cache on other timelines 2020-08-26 11:21:24 +01:00
Bob Mottram 08ff5b420c Single events timeline name 2020-08-26 10:29:51 +01:00
Bob Mottram 8d6b8f98b0 Validate content warnings 2020-08-25 20:35:55 +01:00
Bob Mottram 9b2356e195 Add return value 2020-08-25 13:39:17 +01:00
Bob Mottram ffb827fdbb Set event name 2020-08-23 20:06:49 +01:00
Bob Mottram 4d4a19f9a2 Event name 2020-08-23 20:04:11 +01:00
Bob Mottram 0294f1c722 Ticket url in event 2020-08-23 18:50:49 +01:00
Bob Mottram e90f1d4f2c No return object 2020-08-23 16:11:42 +01:00
Bob Mottram 3bd8f96994 Unbreak the unit tests 2020-08-23 15:45:58 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram 3693850be3 Tidying 2020-08-22 10:15:56 +01:00
Bob Mottram 5326583c18 Add uuid to event 2020-08-21 22:42:49 +01:00
Bob Mottram 25e1724691 Extra event attributes 2020-08-21 16:10:47 +00:00
Bob Mottram 43d8fc1863 Add endpoint for new event 2020-08-21 11:08:31 +00:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram 021ce1355c EncryptedMessage type 2020-08-05 13:24:09 +01:00
Bob Mottram 0f075f37e9 Encrypted messages treated as DMs 2020-08-05 13:16:15 +01:00
Bob Mottram 83cac23229 Youtube replacement domain is configurable 2020-08-02 10:51:20 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram e007168cd6 Check for type field 2020-07-11 23:36:52 +01:00
Bob Mottram 22ca09caef Tidying 2020-07-08 14:25:00 +01:00
Bob Mottram 7b06a3b262 Plotting federated instances 2020-07-08 13:28:41 +01:00
Bob Mottram b1516507f8 Allow for accumulating domains 2020-07-08 11:30:29 +01:00
Bob Mottram df48983aae Option to list referenced domains 2020-07-08 11:09:51 +01:00
Bob Mottram 1e8a6fee52 Resolve petnames 2020-06-29 20:15:51 +01:00
Bob Mottram 67c6c16ef4 Extra check 2020-06-28 11:29:20 +01:00
Bob Mottram d0c1546037 Avoid infinite loop when there are no feed items 2020-06-28 11:02:59 +01:00
Bob Mottram cc0d3d34fa Debug 2020-06-28 10:57:07 +01:00
Bob Mottram 0e3c41db2b When deleting a post also remove it from the recent posts cache in memory 2020-06-24 14:30:50 +01:00
Bob Mottram 326fb9fc48 Don't use a separate function for reminder posts 2020-06-24 13:42:07 +01:00
Bob Mottram e1470a7d37 Reminder post content includes handle 2020-06-24 13:33:06 +01:00
Bob Mottram a7b8f7453a Reminder post type, for posting to yourself 2020-06-24 12:53:43 +01:00
Bob Mottram 52d1f30b4f More debug for sessions 2020-06-24 10:04:58 +01:00
Bob Mottram b7653b9eb1 More exception handling 2020-06-23 22:39:19 +01:00
Bob Mottram d94c04b5bb Exception handling while starting followers thread 2020-06-23 15:48:10 +01:00
Bob Mottram afd412118d Don't shuffle 2020-06-23 15:36:38 +01:00
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
Bob Mottram c15fa6b8c0 Remove debug 2019-11-06 14:56:08 +00:00
Bob Mottram 6572e57d9d List index 2019-11-06 14:54:17 +00:00
Bob Mottram 74a0b0b2c1 Get published time 2019-11-06 14:50:17 +00:00
Bob Mottram a24959fa66 Get posts a second time 2019-11-06 13:49:51 +00:00
Bob Mottram a7872e7c7f File path when archiving 2019-11-06 13:49:27 +00:00
Bob Mottram b2f926eaa3 Archive based on creation date of post files 2019-11-06 13:35:25 +00:00
Bob Mottram e6bd4cf1f4 Indents 2019-11-04 13:34:43 +00:00
Bob Mottram 45a2844855 Tidying 2019-11-04 12:46:51 +00:00
Bob Mottram 409bc2103b Fix sending posts to mentions 2019-11-04 12:09:59 +00:00
Bob Mottram 543f0b4d7d Sending to followers thread 2019-11-04 10:43:19 +00:00
Bob Mottram 0b6c6f16e2 Send to followers with delay 2019-11-04 10:14:59 +00:00
Bob Mottram 9412c01223 Extra replace 2019-11-01 10:19:21 +00:00
Bob Mottram 273a8cd358 Replace 's 2019-10-31 22:56:54 +00:00
Bob Mottram 324ab9bf2a Don't show shares if unauthorised 2019-10-31 10:04:49 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram bb5951a74d Don't replace emoji within json content 2019-10-29 13:11:10 +00:00
Bob Mottram 14d7e2e2b2 Don't replace emoji within json content 2019-10-29 13:04:38 +00:00
Bob Mottram e7f377698a Catch all commentjson load errors 2019-10-26 14:01:32 +01:00
Bob Mottram 5f94b413a7 json loading error handling 2019-10-26 13:47:27 +01:00
Bob Mottram cf2be50b48 commentjson exceptions 2019-10-26 13:19:34 +01:00
Bob Mottram 21ce09e192 Exit from retries of unauthorized 2019-10-23 19:44:03 +01:00
Bob Mottram ef7135cd98 Replace exponential backoff with regular retries 2019-10-23 19:28:04 +01:00
Bob Mottram 621795db65 Allow video and audio in media timeline 2019-10-23 14:24:09 +01:00