Commit Graph

2451 Commits (9fa69bcc815ce119a55bb9635b10e8a142697f67)

Author SHA1 Message Date
Bob Mottram b65f7722d4 Tidying of new post endpoints 2021-11-03 11:32:38 +00:00
Bob Mottram 0fc18cc7dd Tidying 2021-11-03 11:25:26 +00:00
Bob Mottram 4bcc4930d2 Try custom emoji if default not found 2021-11-01 20:31:35 +00:00
Bob Mottram 4e81096b32 Store custom emoji 2021-11-01 17:12:17 +00:00
Bob Mottram ace5cafa6d Leading zeroes 2021-10-30 20:23:51 +01:00
Bob Mottram 99ae054cf2 Adding debug to exceptions 2021-10-29 17:31:20 +01:00
Bob Mottram 09bb7f99b5 Tidying 2021-10-29 13:52:23 +01:00
Bob Mottram 65d75b2e71 Remove robots.txt
In practice, bots ignore this anyway. Removing it might help with avatar image federation
2021-10-28 23:22:18 +01:00
Bob Mottram 1f073d4745 Add updated fields to avatar and banner when actor is changed 2021-10-28 17:13:22 +01:00
Bob Mottram 63a94cdae8 Add an update timestamp to actor after changes
This is what Roadhouse does, and it's vaguely indicated in the AP spec
2021-10-28 16:59:23 +01:00
Bob Mottram 6f2b02f369 Check for malformed ciphertext within incoming posts 2021-10-28 12:48:05 +01:00
Bob Mottram 3024bd77d3 Semicolon separator 2021-10-28 12:22:08 +01:00
Bob Mottram cbb76eb97b Parsing edit blog post link 2021-10-28 12:20:56 +01:00
Bob Mottram f7dddc7408 Check for invalid local links in incoming posts 2021-10-26 17:06:22 +01:00
Bob Mottram 517bcc6197 Remove old user agent log entries 2021-10-24 19:05:04 +01:00
Bob Mottram 611a6da196 Check that user agent exists 2021-10-24 12:49:01 +01:00
Bob Mottram b6479903cf Check that user agent exists 2021-10-24 12:48:16 +01:00
Bob Mottram b54cc5b006 Ensure that crawler list is not saved too often 2021-10-24 12:20:31 +01:00
Bob Mottram 0c4a3bf968 Only show recent crawlers 2021-10-24 12:11:17 +01:00
Bob Mottram 0d83ad8476 Saving known crawlers list 2021-10-24 12:06:08 +01:00
Bob Mottram 6778be04ae Show list of known crawlers 2021-10-24 10:57:10 +01:00
Bob Mottram 49f28f5528 Log user agents accessing nodeinfo 2021-10-24 10:26:23 +01:00
Bob Mottram 19194f3d30 list 2021-10-23 23:58:18 +01:00
Bob Mottram 8fe8701414 Default user agent blocks 2021-10-23 23:56:16 +01:00
Bob Mottram d36d1817fd Show user agent rather than calling domain 2021-10-23 20:24:42 +01:00
Bob Mottram a661a368ca Show calling domains for API 2021-10-23 19:42:44 +01:00
Bob Mottram e2e8aeafe7 Argument order 2021-10-23 14:43:21 +01:00
Bob Mottram cd1431b7e0 Announce button makes unthreaded post 2021-10-23 14:13:12 +01:00
Bob Mottram 2f0f48c346 Use a ring buffer for outbox threads 2021-10-23 12:58:38 +01:00
Bob Mottram 343c9771bb Use function to generate actor url 2021-10-22 10:10:23 +01:00
Bob Mottram 88c4b14ca3 Updating enabled cw lists 2021-10-21 20:45:39 +01:00
Bob Mottram 2ad58b798e Update selected cw lists 2021-10-21 20:29:08 +01:00
Bob Mottram 9ecb745d3d Load all lists and then enable them selectively 2021-10-21 20:00:25 +01:00
Bob Mottram 7d2b5aa1b3 Debug 2021-10-21 18:36:08 +01:00
Bob Mottram 48c298f5f8 Show selectable lists 2021-10-21 17:58:01 +01:00
Bob Mottram 0c0cbf9485 Enabled lists set from commandline 2021-10-21 15:06:25 +01:00
Bob Mottram 142a68a97c Default cw lists 2021-10-21 14:43:48 +01:00
Bob Mottram b91c6282c7 Configuration parameter for enabling cw lists 2021-10-21 14:36:40 +01:00
Bob Mottram 18d1c54fea Apply cw from lists 2021-10-21 14:08:21 +01:00
Bob Mottram b8c957eb38 Load cw lists at startup 2021-10-21 12:13:24 +01:00
Bob Mottram 1dd5b8d026 Fewer watchpoints 2021-10-20 22:06:00 +01:00
Bob Mottram d43715ab07 Synchonous likes 2021-10-20 20:33:07 +01:00
Bob Mottram 62e9b80b12 Space 2021-10-20 20:28:56 +01:00
Bob Mottram b71c3a80a3 Try threaded send of like button 2021-10-20 20:26:46 +01:00
Bob Mottram 31dbf14cfd Performance monitoring of like button 2021-10-20 19:41:43 +01:00
Bob Mottram 549ddab68c Performance monitoring of announce button 2021-10-20 19:37:57 +01:00
Bob Mottram 1de6b5d09c Maximum posts in a hashtag feed 2021-10-20 17:06:37 +01:00
Bob Mottram 21a3f18132 All GET functions under the same performance group 2021-10-20 10:38:37 +01:00
Bob Mottram 5f6c4fac8d Remove debug 2021-10-19 22:33:56 +01:00
Bob Mottram b92e4a77da Encode 2021-10-19 21:53:11 +01:00
Bob Mottram ebac89fb82 Debug 2021-10-19 21:37:27 +01:00
Bob Mottram 47e006b054 Single = 2021-10-19 21:34:35 +01:00
Bob Mottram 3cd81eaca8 Debug 2021-10-19 21:25:11 +01:00
Bob Mottram 16f8f023e5 Aliases for post and get 2021-10-19 21:21:36 +01:00
Bob Mottram 4d02c11c89 Authorization needs user path 2021-10-19 21:14:45 +01:00
Bob Mottram 029d8bfcbf Showing performance graphs 2021-10-19 21:08:24 +01:00
Bob Mottram 2bd1bef5b4 Loading and saving fitness metrics 2021-10-19 18:35:52 +01:00
Bob Mottram 4f38fd4e29 Performance functiond for POST 2021-10-19 17:58:15 +01:00
Bob Mottram 04d661289a GET performance functions 2021-10-19 17:41:49 +01:00
Bob Mottram 7605f59844 Moving to new performance logging 2021-10-19 14:41:48 +01:00
Bob Mottram a7137b5983 Include debug in profiling functions 2021-10-19 10:22:48 +01:00
Bob Mottram 3edc55341b Filename not json 2021-10-17 17:49:34 +01:00
Bob Mottram 7ee48e6d20 Use like json if available when updating collections 2021-10-17 17:11:38 +01:00
Bob Mottram aa11bb566f Locating announced post 2021-10-17 16:57:16 +01:00
Bob Mottram e59b3c2d82 Return located post 2021-10-17 16:12:15 +01:00
Bob Mottram 4c14d606ef Remove duplicated clear 2021-10-17 13:21:10 +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 9e1cdfe8da Don't change liked object 2021-10-14 23:34:58 +01:00
Bob Mottram b000e0aba9 Receiving likes on announces 2021-10-14 23:29:51 +01:00
Bob Mottram 054f4bde8e Debug 2021-10-14 13:09:45 +01:00
Bob Mottram a5032e0dcc Liking announces 2021-10-13 23:10:23 +01:00
Bob Mottram 3d797a27b7 Liking announces 2021-10-13 22:03:10 +01:00
Bob Mottram bbd54aeda4 Get liked post url from announce 2021-10-13 19:25:05 +01:00
Bob Mottram 00f8531c9c Liking announces 2021-10-13 18:40:42 +01:00
Bob Mottram 247c689c62 Debug 2021-10-13 18:13:12 +01:00
Bob Mottram 8e6084d42d Function to check for presence of actor in activity 2021-10-13 10:33:15 +01:00
Bob Mottram c8a5bd9c36 Include host 2021-10-12 20:33:28 +01:00
Bob Mottram dccb22c393 Media path same as mastodon 2021-10-12 19:20:40 +01:00
Bob Mottram 6a9cd38912 Avatar and header path same as mastodon 2021-10-12 18:53:08 +01:00
Bob Mottram 4103672e07 Don't need content-disposition 2021-10-12 16:20:08 +01:00
Bob Mottram 5c558b1ca0 Add content-disposition for images 2021-10-11 20:33:25 +01:00
Bob Mottram 19ac55aa2d Cache control for images 2021-10-11 14:47:44 +01:00
Bob Mottram 179f36b529 Tidying 2021-10-11 10:42:43 +01:00
Bob Mottram 7047fe4307 Include context with unwrapped json post 2021-10-11 10:34:09 +01:00
Bob Mottram 817c63a4ff Don't include create wrapper for individual posts if /activity is missing 2021-10-11 10:24:19 +01:00
Bob Mottram a439d2c6d7 No longer testing 2021-10-01 10:11:01 +01:00
Bob Mottram c0c4b77481 Missing parameter 2021-09-30 15:22:10 +01:00
Bob Mottram 0c397dba93 Make actor updates as close to what mastodon does as possible 2021-09-30 15:19:01 +01:00
Bob Mottram ab3e3eb772 Set context for outgoing actor updates 2021-09-30 14:28:43 +01:00
Bob Mottram d3e341b594 Also remove cached html for cached referenced post in announce 2021-09-28 16:15:13 +01:00
Bob Mottram 655771d0af Debug 2021-09-28 15:38:52 +01:00
Bob Mottram c53f0631bf mute/unmute options 2021-09-28 15:37:54 +01:00
Bob Mottram a317e69d31 Removing id endings 2021-09-28 11:28:42 +01:00
Bob Mottram 7491a75574 Avoid default argument values to improve static analysis 2021-09-27 13:09:25 +01:00
Bob Mottram 4d0cee8dda Dashes 2021-09-26 21:04:54 +01:00
Bob Mottram df00ffc736 X prefix 2021-09-26 21:04:08 +01:00
Bob Mottram 411cc69099 Extraneous header 2021-09-26 18:32:22 +01:00
Bob Mottram 36e9ec8995 Remove some headers 2021-09-26 18:10:41 +01:00
Bob Mottram dd9f079316 Extra header for images 2021-09-26 17:31:25 +01:00
Bob Mottram 8b60a53239 Try without etag 2021-09-26 17:09:15 +01:00
Bob Mottram b74f19ebbf Only set headers for media 2021-09-26 17:05:36 +01:00
Bob Mottram fbafaca666 Extra access control headers 2021-09-26 16:54:17 +01:00
Bob Mottram 8ae8f2d5a5 Set cache control expires 2021-09-26 16:04:20 +01:00
Bob Mottram bf433e34f0 Don't send 304s for avatars or media 2021-09-26 15:13:28 +01:00
Bob Mottram 827deb8a97 Allow username field detection 2021-09-24 13:51:10 +01:00
Bob Mottram c310b98625 Headers 2021-09-23 19:26:05 +01:00
Bob Mottram 73ee6def62 Tidying 2021-09-23 19:23:11 +01:00
Bob Mottram 2bd88b0b60 Cache header 2021-09-23 19:01:15 +01:00
Bob Mottram 21bbe5f5a9 Terminology for joining and leaving groups 2021-09-21 19:20:20 +01:00
Bob Mottram ac77d4147f Comments 2021-09-21 19:01:45 +01:00
Bob Mottram 221862705e Return to ? 2021-09-21 13:48:40 +01:00
Bob Mottram cada7845a4 Return to ? 2021-09-21 13:25:32 +01:00
Bob Mottram 3761a3185e Debug 2021-09-20 17:51:53 +01:00
Bob Mottram d68f500455 Signing key warnings 2021-09-20 14:20:30 +01:00
Bob Mottram 0b2a881755 Modifying reply dm for accommodation category 2021-09-19 17:54:32 +01:00
Bob Mottram 8672c05bda Semicolon separators 2021-09-19 17:20:12 +01:00
Bob Mottram 076f1ff87c Profile button on shared item 2021-09-19 16:54:51 +01:00
Bob Mottram 4b63bd9b60 Shared item category icons 2021-09-19 14:59:31 +01:00
Bob Mottram fc65d8e598 Set an alternative twitter domain 2021-09-18 18:08:14 +01:00
Bob Mottram 10c164f013 If image was not shown then exit loop 2021-09-16 12:32:37 +01:00
Bob Mottram 79e8df598b Show a default profile background if none was specified in the actor 2021-09-16 12:16:53 +01:00
Bob Mottram 0f218abe23 Instance actor properties 2021-09-14 15:01:59 +01:00
Bob Mottram 7b5fe4af73 Instance actor properties 2021-09-14 14:56:41 +01:00
Bob Mottram 49701c8774 Instance actor properties 2021-09-14 14:54:34 +01:00
Bob Mottram 96c09246c6 Signed GET 2021-09-14 13:36:38 +01:00
Bob Mottram b56d543283 Scan imported themes for svg scripts 2021-09-13 19:50:02 +01:00
Bob Mottram f8957185cd Check for svg files containing scripts at startup 2021-09-13 19:37:51 +01:00
Bob Mottram 1339657344 Remove test 2021-09-13 14:43:32 +01:00
Bob Mottram 7f5eea96c4 Fix syntax 2021-09-12 17:27:05 +01:00
Bob Mottram d3e7cc89f7 json extension not strictly enforced 2021-09-12 17:24:29 +01:00
Bob Mottram 41c6d2e286 Check for users path 2021-09-12 17:04:45 +01:00
Bob Mottram d071081b3a Use calling domain for dfc ontology 2021-09-12 16:55:57 +01:00
Bob Mottram bca995ad54 Check POST to i2p domain 2021-09-12 14:42:18 +01:00
Bob Mottram 13d5a46b1b Tidying 2021-09-12 14:37:36 +01:00
Bob Mottram 126e07df69 Tidying 2021-09-12 14:36:27 +01:00
Bob Mottram 5254c4f536 Test 2021-09-12 14:07:49 +01:00
Bob Mottram 4e29751dba More specific test for missing avatar 2021-09-12 14:02:59 +01:00
Bob Mottram 3267fe395e Debug 2021-09-12 13:51:20 +01:00
Bob Mottram c98eec8b85 Get referer domain from signature 2021-09-12 13:49:51 +01:00
Bob Mottram 8406b8042b Get referer domain from signature 2021-09-12 13:47:18 +01:00
Bob Mottram f3aac82b56 Get referer domain from user agent 2021-09-12 13:37:28 +01:00
Bob Mottram 336a71f162 Get referer domain 2021-09-12 13:18:27 +01:00
Bob Mottram 7845d53408 Allow i2p domain as host 2021-09-12 13:01:58 +01:00
Bob Mottram cff94e7781 No calling domain 2021-09-12 12:39:20 +01:00
Bob Mottram 028f4897bb Allow json ontologies 2021-09-12 11:59:29 +01:00
Bob Mottram f62ff5e748 Send ontology file 2021-09-12 11:59:07 +01:00
Bob Mottram 3220049934 Allow ontologies 2021-09-12 11:52:05 +01:00
Bob Mottram eac1672fee Getting dfc ontologies 2021-09-12 11:47:20 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00