Commit Graph

594 Commits (3f53b0651772b1d604bb039b0fcdb3e6d9ae4a95)

Author SHA1 Message Date
Bob Mottram ca258d3351 Only applies to create 2019-09-28 14:22:18 +01:00
Bob Mottram dd3ba06447 Include announces in media timeline 2019-09-28 13:48:33 +01:00
Bob Mottram 0b2a7c1676 Extra media check 2019-09-28 13:27:48 +01:00
Bob Mottram 4b3ab2940f media timeline 2019-09-28 12:40:42 +01:00
Bob Mottram 8ed3f132be Media timeline 2019-09-28 12:29:42 +01:00
Bob Mottram 06b936f62e Use scandir 2019-09-27 13:09:04 +01:00
Bob Mottram 23cf6f724a Extra timeline checks 2019-09-24 23:24:45 +01:00
Bob Mottram 72867fd7bc Handle paging of inbox and outbox 2019-09-24 23:02:13 +01:00
Bob Mottram 70a9fb0929 Fix the counting of posts 2019-09-24 22:56:53 +01:00
Bob Mottram a117b21009 Use shared inbox for replies timeline 2019-09-24 22:41:48 +01:00
Bob Mottram 5155c1f05e Tidying 2019-09-24 22:16:44 +01:00
Bob Mottram aa6510baf2 Increase max posts 2019-09-24 14:29:58 +01:00
Bob Mottram 3bd99d04ca Increase max posts 2019-09-24 14:27:16 +01:00
Bob Mottram 526f69c8b9 Replies check 2019-09-23 22:14:34 +01:00
Bob Mottram 534948b8fe Avoid clashing replies path 2019-09-23 21:43:18 +01:00
Bob Mottram f7419c1f21 Tidying 2019-09-23 21:31:49 +01:00
Bob Mottram 5179a87198 else 2019-09-23 21:16:59 +01:00
Bob Mottram 7bc44d10d3 Reverse logic 2019-09-23 21:16:36 +01:00
Bob Mottram bae658a1d7 Check for actor 2019-09-23 21:15:21 +01:00
Bob Mottram b8be75c3f4 Colon 2019-09-23 21:10:04 +01:00
Bob Mottram 7ed6728594 Replies timeline 2019-09-23 20:53:18 +01:00
Bob Mottram e53b6c5ff6 Exception handling for loading json files 2019-09-17 13:14:36 +01:00
Bob Mottram f0fb417df3 Check for none 2019-09-16 14:06:38 +01:00
Bob Mottram 0d51133942 Convert to string 2019-09-16 12:45:04 +01:00
Bob Mottram 91534ba302 Increase maximum posts 2019-09-14 21:47:05 +01:00
Bob Mottram 47225c686b Storing avatars in cache 2019-09-14 18:12:03 +01:00
Bob Mottram 35531bda86 Loop through dictionary 2019-09-14 12:21:59 +01:00
Bob Mottram 0710f3d38a Improve archiving by extracting status code 2019-09-14 12:18:34 +01:00
Bob Mottram a4e8282028 Don't need to sort keys 2019-09-11 17:12:26 +01:00
Bob Mottram 8997b77277 Displaying questions 2019-09-06 16:08:32 +01:00
Bob Mottram f440cdec24 Comment 2019-09-05 12:37:41 +01:00
Bob Mottram 536731f256 Check that webfinger returns a valid actor url 2019-09-03 19:38:52 +01:00
Bob Mottram 8f346fffef Better handling of actor parsing 2019-09-02 10:43:43 +01:00
Bob Mottram 753eb34bde Parsing post collections from pleroma 2019-09-01 14:13:52 +01:00
Bob Mottram c8142aa022 Use activity instead of ld 2019-09-01 13:09:29 +01:00
Bob Mottram a662ffa2a2 Switch to activity+json 2019-09-01 12:52:46 +01:00
Bob Mottram 35dac59e8f Capital 2019-09-01 11:11:06 +01:00
Bob Mottram 830b6c2d00 Function name 2019-08-30 19:45:14 +01:00
Bob Mottram f7d2537085 Rename function 2019-08-30 19:32:34 +01:00
Bob Mottram 2ad1b51f9a Different media types 2019-08-30 16:50:20 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram e3eb74e65b with 2019-08-26 18:44:21 +01:00
Bob Mottram cb5594d0ca If an instance has no shared inbox then send posts to individual inboxes 2019-08-26 18:42:06 +01:00
Bob Mottram e07d5cfcb4 From name 2019-08-26 14:34:41 +01:00
Bob Mottram 3042b84a16 Return boolean from post 2019-08-26 13:10:19 +01:00
Bob Mottram 12cce673e5 Show post result 2019-08-26 12:09:25 +01:00
Bob Mottram 2236306f11 Improve post checking when constructing timelines 2019-08-25 18:12:48 +01:00
Bob Mottram f35d589f1c Remove whitespace 2019-08-25 17:10:49 +01:00
Bob Mottram 97487eeb54 Timeline for DMs 2019-08-25 17:09:56 +01:00
Bob Mottram 2186b5e1cd Remove unused ostatus stuff 2019-08-24 17:40:28 +01:00
Bob Mottram eaba779cc1 Application activity 2019-08-23 21:09:00 +01:00
Bob Mottram a608499323 actor inbox 2019-08-23 18:03:50 +01:00
Bob Mottram 46e8870842 Debug 2019-08-23 17:49:26 +01:00
Bob Mottram 5329849483 Send to actor directory 2019-08-23 17:42:59 +01:00
Bob Mottram 84c4dbadd8 Send to inbox 2019-08-23 17:37:15 +01:00
Bob Mottram a162c1f46d users 2019-08-23 17:32:44 +01:00
Bob Mottram 5303be3942 Setting shared inbox actor to @domain@domain 2019-08-23 15:08:10 +01:00
Bob Mottram 377940a31f Shared inbox actor on @domain@domain 2019-08-23 14:47:29 +01:00
Bob Mottram d05a416998 quieten some debug 2019-08-23 11:57:27 +01:00
Bob Mottram fc01d82998 Simulate webfinger for posts to shared inbox 2019-08-22 21:26:57 +01:00
Bob Mottram 00d42a5b34 Shared inbox path 2019-08-22 21:04:59 +01:00
Bob Mottram 9cd87d13d8 Handle of shared inbox 2019-08-22 21:01:01 +01:00
Bob Mottram 2af276f0ae Also handle bot profiles 2019-08-22 20:53:24 +01:00
Bob Mottram ab64f2a2c5 Send profile updates to shared inbox 2019-08-22 20:47:10 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 5def73177e Logging of posts 2019-08-21 22:05:37 +01:00
Bob Mottram 3e1eaf035b Log posts 2019-08-21 21:23:20 +01:00
Bob Mottram 6fae77f138 Special case for updates to followers 2019-08-20 22:09:56 +01:00
Bob Mottram 351a21b397 Debug 2019-08-20 22:04:24 +01:00
Bob Mottram 61f66545a3 Profile update 2019-08-20 21:35:15 +01:00
Bob Mottram aeab76c890 Restore exception 2019-08-20 14:47:39 +01:00
Bob Mottram 8551e1e3a7 Archive daily 2019-08-20 12:51:29 +01:00
Bob Mottram 214bb22898 Without exception 2019-08-20 12:22:41 +01:00
Bob Mottram a589a14ca3 Avoid premature exit 2019-08-20 12:18:01 +01:00
Bob Mottram 193edd2a92 Incrementing the number of posts on a timeline page 2019-08-20 12:10:53 +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 ec6dea1c58 Remove debug 2019-08-19 13:42:24 +01:00
Bob Mottram 4937bf9d91 Mentioned recipients may not exist 2019-08-19 13:40:59 +01:00
Bob Mottram da316ef4d3 More debug 2019-08-19 11:56:49 +01:00
Bob Mottram c400c029ac Avoid including None 2019-08-19 11:52:38 +01:00
Bob Mottram 2fdd5036a4 Adding mentioned recipients to 'to' 2019-08-19 10:37:14 +01:00
Bob Mottram 00e3a094e3 Return list 2019-08-19 10:16:33 +01:00
Bob Mottram f5d1bfeb47 Debug for mentions extraction 2019-08-19 10:11:25 +01:00
Bob Mottram f71dabcbb0 Show json for recipients 2019-08-19 09:58:04 +01:00
Bob Mottram bc3c19fd9c Check for no address 2019-08-18 22:15:09 +01:00
Bob Mottram 494ef3f952 Check that addresses look like addresses 2019-08-18 22:12:37 +01:00
Bob Mottram 83f3cf4059 Debug 2019-08-18 22:08:38 +01:00
Bob Mottram c593aca45d Detect post recipients 2019-08-18 21:54:33 +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 325672208f @context headers 2019-08-18 12:07:06 +01:00
Bob Mottram 1997f9ee1b Print json string 2019-08-18 10:58:28 +01:00
Bob Mottram f8cc1873d4 Fixing tests 2019-08-18 10:39:12 +01:00
Bob Mottram 0f01a5a11a post path no longer /inbox 2019-08-17 16:16:27 +01:00
Bob Mottram 896b56b3a0 Avoid post conversions between json and string after digest is calculated 2019-08-17 11:15:01 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram 972bceeafa Check that port exists 2019-08-16 21:04:24 +01:00
Bob Mottram d2394b3a69 Fixing http signatures 2019-08-16 14:47:01 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram cc81de178f Moderate button 2019-08-12 14:22:17 +01:00
Bob Mottram 3d8277dcab Add moderation status to post 2019-08-11 21:38:10 +01:00
Bob Mottram 33cbe80c20 Fix moderation report sending 2019-08-11 19:32:29 +01:00
Bob Mottram 6a413809a3 Dark theme colors 2019-08-11 14:02:36 +01:00
Bob Mottram 7a83fb7b87 Moderation report title 2019-08-11 12:33:29 +01:00
Bob Mottram 9938be63bf Report post type 2019-08-11 12:25:27 +01:00
Bob Mottram 7462efa1a1 Tidying 2019-08-10 17:55:53 +01:00
Bob Mottram 220f5683b9 Fix tags 2019-08-10 17:55:17 +01:00
Bob Mottram 4dccb042b0 Only public posts with hashtags are indexed 2019-08-10 12:51:54 +01:00
Bob Mottram de382b87a4 Alignment of emoji 2019-08-09 18:42:11 +01:00
Bob Mottram d8126b4ffa Fix test 2019-08-09 17:24:44 +01:00
Bob Mottram 5ed5aa0d33 Emoji in posts 2019-08-09 17:18:00 +01:00
Bob Mottram 52162d1b9b Add hashtag conversion to html 2019-08-09 12:12:08 +01:00
Bob Mottram af32aa08d6 Refactor mentions replacements 2019-08-09 10:09:21 +01:00
Bob Mottram 8fdcb93546 Formatting of ' 2019-08-09 09:46:38 +01:00
Bob Mottram cd01a1f761 Remove debug 2019-08-08 09:58:19 +01:00
Bob Mottram 21ed27209a Debug 2019-08-08 09:44:37 +01:00
Bob Mottram bc8f671eb1 Multi-line 2019-08-08 09:38:40 +01:00
Bob Mottram 47aa3fbc1e Avoid errors when loading inbox queue items 2019-08-05 22:14:38 +01:00
Bob Mottram 4dbf07031a Tidying 2019-08-05 21:08:23 +01:00
Bob Mottram 88b0b13ddc Also send to mentioned recipients 2019-08-05 17:56:32 +01:00
Bob Mottram 7731b0d56a Logic sequence 2019-08-04 22:26:31 +01:00
Bob Mottram 49deddf1dc Refactoring 2019-08-02 19:37:23 +01:00
Bob Mottram fd75e68be3 Viewing replies 2019-08-02 19:04:31 +01:00
Bob Mottram c7ecd001a9 Update announce list for associated post if the announce is sent via c2s 2019-08-01 12:43:22 +01:00
Bob Mottram f8445f9f4c Port numbers on image attachments 2019-07-28 19:06:20 +01:00
Bob Mottram 1c2e073d0c Handle unlisted posts 2019-07-28 12:08:14 +01:00
Bob Mottram e6c246fc8e Connect new posts to web interface 2019-07-27 23:48:34 +01:00
Bob Mottram 643ca568bc Functions for shared items 2019-07-23 13:33:09 +01:00
Bob Mottram 4d7341fb82 Use preferred name when possible 2019-07-22 15:21:49 +01:00
Bob Mottram e4503b7143 Look up avatars for profile screen 2019-07-22 15:09:21 +01:00
Bob Mottram 2b3a947265 Initial html timeline 2019-07-21 10:09:28 +01:00
Bob Mottram 5ea0c88229 List 2019-07-19 19:18:06 +01:00
Bob Mottram 13a58150ff debug 2019-07-19 19:12:50 +01:00
Bob Mottram c24dfc6347 Fix displaying posts 2019-07-19 17:56:55 +01:00
Bob Mottram f229f3bf35 More debug 2019-07-19 16:22:04 +01:00
Bob Mottram 8411b44721 Include port in webfinger 2019-07-19 14:32:58 +01:00
Bob Mottram 982ab616d9 Fix ports on post filenames 2019-07-18 12:35:48 +01:00
Bob Mottram e753f0cf5c c2s public posts 2019-07-17 15:43:51 +01:00
Bob Mottram 3813809958 Fix follower ports 2019-07-16 23:57:45 +01:00
Bob Mottram a819c4ae57 Test for announce via c2s 2019-07-16 20:07:45 +01:00
Bob Mottram c99828c264 Uploading images via c2s 2019-07-16 15:23:06 +01:00
Bob Mottram 92fb124713 c2s send test 2019-07-16 12:33:40 +01:00
Bob Mottram a98facaf33 Fixing c2s 2019-07-16 11:19:04 +01:00
Bob Mottram 18629c88a8 More debug 2019-07-15 19:29:30 +01:00
Bob Mottram a55165c922 c2s sending to named addresses 2019-07-15 19:20:52 +01:00
Bob Mottram c6a93e624d c2s post distribution to followers 2019-07-15 18:22:51 +01:00
Bob Mottram f30f653c0a Format content of posts 2019-07-15 15:41:15 +01:00
Bob Mottram 1f2a3dbb42 Limit inbox queue length 2019-07-15 13:27:26 +01:00
Bob Mottram 090f8eacc3 Remove attachments for deleted posts 2019-07-14 18:02:41 +01:00
Bob Mottram e1a6528307 Tidying 2019-07-14 17:57:06 +01:00
Bob Mottram 9fab084e20 Recursive delete 2019-07-14 17:37:01 +01:00
Bob Mottram 655c03e6a1 Also archive replies 2019-07-14 16:43:02 +01:00
Bob Mottram b5b2d74966 Check capabilities for shared inbox when getting inbox feed 2019-07-14 12:15:28 +01:00
Bob Mottram f6a71b9f35 Match shared inbox to followers on inbox requests 2019-07-14 10:56:48 +01:00
Bob Mottram b2ecda1b2a Proper chronological ordering of posts within boxes 2019-07-14 10:17:50 +01:00
Bob Mottram 7dfa210023 Option for archiving posts 2019-07-12 21:43:55 +01:00
Bob Mottram 0b1e64906e Test for attaching an image 2019-07-12 20:26:54 +01:00
Bob Mottram 83b172d046 Functions for image attachments 2019-07-12 20:08:46 +01:00
Bob Mottram e33bca287a Likes and replies within object 2019-07-12 13:43:18 +01:00
Bob Mottram 29a4af00dd Don't show likes to unauthorized viewers 2019-07-12 12:20:59 +01:00
Bob Mottram 4c298025f4 Add replies section to posts 2019-07-11 14:46:12 +01:00
Bob Mottram 12150b752f Include shared inbox in person inbox GET 2019-07-10 18:03:51 +01:00
Bob Mottram 76e8167ce7 Updating of capabilities 2019-07-09 15:20:23 +01:00
Bob Mottram 1b10d7ef4b Removed unused capabilities functions 2019-07-09 10:20:04 +01:00
Bob Mottram db68b34cc5 Capability on post is a list 2019-07-08 14:30:04 +01:00
Bob Mottram 8a1fd82584 Function for grouping followers by domain 2019-07-08 09:51:33 +01:00
Bob Mottram 356877b98c Test for strict capabilities enforcement 2019-07-07 20:25:38 +01:00
Bob Mottram 46a53072f3 Set capabilities filename when sending post 2019-07-07 17:12:30 +01:00
Bob Mottram e9cf9dfc27 Add capabilities to follow requests 2019-07-07 12:53:32 +01:00
Bob Mottram 03a43f64f1 Fix posts 2019-07-06 22:58:56 +01:00
Bob Mottram 3a6fe719a9 Reduce some line lengths 2019-07-06 18:00:22 +01:00
Bob Mottram ef3a951452 Test for follow request 2019-07-06 14:49:25 +01:00
Bob Mottram 31ccb80830 Always allow capabilities requests 2019-07-06 12:03:51 +01:00
Bob Mottram c9d62e8361 Adding capabilities to posts 2019-07-06 11:33:57 +01:00
Bob Mottram edaf2cb8e6 More generic postPath 2019-07-05 23:13:20 +01:00
Bob Mottram d5ab900570 Capabilities stubs 2019-07-05 21:46:47 +01:00
Bob Mottram b11c8e4735 Return capabilities endpoint 2019-07-05 21:32:21 +01:00
Bob Mottram d257b59c3a Send accept message after follow 2019-07-05 19:57:19 +01:00
Bob Mottram bec891c081 Move function location 2019-07-05 15:39:24 +01:00
Bob Mottram 8b285809c5 Return shared inbox url 2019-07-05 14:50:27 +01:00
Bob Mottram f92ea581c6 Get link to shared inbox from actor 2019-07-05 14:38:29 +01:00
Bob Mottram 3a8801e544 Move function 2019-07-04 20:34:28 +01:00
Bob Mottram fbaf144479 Fix posts option 2019-07-04 18:31:41 +01:00
Bob Mottram b321baf307 Generic in/outbox functions 2019-07-04 17:24:23 +01:00
Bob Mottram e12f0994cf Fixing public key lookup 2019-07-04 15:36:29 +01:00
Bob Mottram c4797d3de2 Authentication debug 2019-07-04 09:56:15 +01:00
Bob Mottram 6602d0b78e Create id of object 2019-07-03 23:59:56 +01:00
Bob Mottram d3128fe91d Client to server posts overwrite some parameters 2019-07-03 23:16:03 +01:00
Bob Mottram fde8fd4dd9 create wrapping 2019-07-03 22:37:46 +01:00
Bob Mottram 86aaff3c84 Option to use dat urls 2019-07-03 20:00:03 +01:00
Bob Mottram 0a348ac02a Support c2s posts 2019-07-03 16:10:18 +01:00
Bob Mottram 2fe64c7543 Fix raw posts output 2019-07-03 12:24:38 +01:00
Bob Mottram 553349c3f2 Fix getting posts 2019-07-03 11:33:55 +01:00
Bob Mottram 27858b70e9 Tidying of the command arguments 2019-07-03 11:31:02 +01:00
Bob Mottram 435f16e9df Test person creation 2019-07-03 11:04:23 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00
Bob Mottram 306f9edf46 Tidying 2019-07-02 21:54:22 +01:00
Bob Mottram faaccbe1db Consolidate permissions functions 2019-07-02 11:39:55 +01:00
Bob Mottram f609e365da Announce function 2019-07-02 10:25:29 +01:00
Bob Mottram e2de1d1b9c Test servers on different ip addresses 2019-07-01 22:01:43 +01:00
Bob Mottram 22090a1aef Fallbacks for GET and POST locking 2019-07-01 15:30:48 +01:00
Bob Mottram 220c54ba7d Microsecond accurate status numbers 2019-07-01 14:10:17 +01:00
Bob Mottram 832480ef47 Empty cc by default 2019-07-01 13:51:55 +01:00
Bob Mottram ec8b82ec9c Include port numbers in messages 2019-07-01 13:47:08 +01:00
Bob Mottram 156e36aa66 Basedir in public posts 2019-07-01 13:23:15 +01:00
Bob Mottram 503db492e5 Remove cc if not specified 2019-07-01 13:14:49 +01:00
Bob Mottram 79baa0ddf6 Debugging POST 2019-07-01 12:48:54 +01:00
Bob Mottram d160c060c9 Parameter types 2019-07-01 12:09:09 +01:00
Bob Mottram 888e4831f2 base directory in tests 2019-07-01 11:25:03 +01:00
Bob Mottram 006cc3bbb3 Pass base directory as parameter 2019-07-01 10:59:57 +01:00
Bob Mottram d9d5ce94dc Fix http signature with port number 2019-07-01 10:31:02 +01:00
Bob Mottram eeb74f6e16 baseDir as parameter 2019-06-30 23:56:37 +01:00
Bob Mottram 906e3de1de Set up two test servers 2019-06-30 22:20:02 +01:00
Bob Mottram 78a3e96434 Port numbers after domain 2019-06-30 20:01:43 +01:00
Bob Mottram 74629df5c0 Separate thread class 2019-06-30 17:36:58 +01:00
Bob Mottram ff338e4de2 Move webfinger cache 2019-06-30 16:03:26 +01:00
Bob Mottram 4b68f1b437 Use loop 2019-06-30 14:42:45 +01:00
Bob Mottram e673770544 Tidying 2019-06-30 14:42:02 +01:00
Bob Mottram 7615022e08 Copy objects 2019-06-30 14:40:14 +01:00
Bob Mottram 4b28e67a0d Log post results 2019-06-30 14:38:01 +01:00
Bob Mottram 11046d2165 Send posts using retries 2019-06-30 14:20:23 +01:00
Bob Mottram d3e005050e Handler functions for person cache 2019-06-30 12:34:19 +01:00
Bob Mottram cf96832a0b Post header 2019-06-30 12:25:03 +01:00
Bob Mottram 5578972304 Create post 2019-06-30 12:07:39 +01:00
Bob Mottram 32d8119c9b Cache for person actor json 2019-06-30 11:21:07 +01:00
Bob Mottram 3b816df03a Begin on sendpost 2019-06-30 11:14:02 +01:00
Bob Mottram 0edc7df517 Separate function for status number 2019-06-29 23:29:18 +01:00
Bob Mottram 62b990fe5a First and last page numbers 2019-06-29 18:07:43 +01:00
Bob Mottram fd09d2682a paginated outbox 2019-06-29 17:47:37 +01:00
Bob Mottram ffa28e81f8 Combine 2019-06-29 15:41:23 +01:00
Bob Mottram e2aaa123d7 Archive old posts from outbox 2019-06-29 14:44:21 +01:00
Bob Mottram 09aceda930 Don't need a file for outbox feed 2019-06-29 14:26:55 +01:00
Bob Mottram f94f8ae406 Comments 2019-06-29 14:23:46 +01:00
Bob Mottram 255d498cf7 Creating the outbox feed 2019-06-29 14:17:02 +01:00
Bob Mottram 162d3944e4 Deleting posts 2019-06-29 12:47:33 +01:00
Bob Mottram 41d68a0e05 Variable names 2019-06-29 11:59:16 +01:00
Bob Mottram 8defe2003f Replies 2019-06-29 11:41:22 +01:00
Bob Mottram c64ee34355 Content warnings 2019-06-29 11:23:40 +01:00
Bob Mottram b508abaf9d Creating posts 2019-06-29 11:08:59 +01:00
Bob Mottram 1571d350e3 Consistent terminology 2019-06-28 21:43:37 +01:00
Bob Mottram 7e99a5907f Tidying 2019-06-28 20:36:39 +01:00
Bob Mottram 9c2859b616 Posting to inbox 2019-06-28 20:28:36 +01:00
Bob Mottram e5a03e0fe9 Initial 2019-06-28 19:55:29 +01:00