Commit Graph

401 Commits (4bea7f3fd2d5be14c06c30111d4928ab8b33cefd)

Author SHA1 Message Date
Bob Mottram 7e0ae8d8e1 Use index to construct timeline 2019-10-20 12:40:35 +01:00
Bob Mottram 079c5003f6 Archive the index file 2019-10-20 12:18:25 +01:00
Bob Mottram e02fadcef0 Don't use loop 2019-10-20 10:53:25 +01:00
Bob Mottram 71f2b04bfc Exit earlier 2019-10-20 10:51:32 +01:00
Bob Mottram b82a60bf8c Missing parameter 2019-10-20 10:49:26 +01:00
Bob Mottram f3c4baadb1 Only load the following handles once 2019-10-20 10:47:06 +01:00
Bob Mottram ab85b2ea16 Extra parameters 2019-10-20 10:39:07 +01:00
Bob Mottram c86738ef3a Tidying of shared inbox index 2019-10-20 10:36:07 +01:00
Bob Mottram 1aa4559f8b Tidying 2019-10-20 10:22:40 +01:00
Bob Mottram d91efacf4b Extra filename check 2019-10-20 10:14:27 +01:00
Bob Mottram 426873d0a9 New post context 2019-10-19 16:59:49 +01:00
Bob Mottram 4d349544ed Reduce maximum posts 2019-10-19 11:23:49 +01:00
Bob Mottram 514630d3b9 Count posts 2019-10-19 11:19:19 +01:00
Bob Mottram 451684fdca Remove cached posts during archive 2019-10-19 11:10:52 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 4a8d8b34a8 More support for zap style ActivityPub 2019-10-18 10:28:00 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram 385a0ee31d Another block 2019-10-17 17:00:34 +01:00
Bob Mottram da58015e20 Getting actor if webfinger fails 2019-10-17 16:55:05 +01:00
Bob Mottram dd82f0b7c3 Use actor if webfinger fails 2019-10-17 16:18:43 +01:00
Bob Mottram 9ac770dc50 Show errors 2019-10-17 15:44:59 +01:00
Bob Mottram 13a16bec18 Handle errors returned from webfinger 2019-10-17 15:41:47 +01:00
Bob Mottram c0361bd5bf Convert exception to string 2019-10-17 11:26:56 +01:00
Bob Mottram f056c811be More debug for commentjson 2019-10-17 10:40:31 +01:00
Bob Mottram d8c4661741 Add queue to send out posts 2019-10-16 19:19:18 +01:00
Bob Mottram 3b0d441e5b Extra debug 2019-10-16 15:46:29 +01:00
Bob Mottram 4326c67b1a Only save a post log in debug mode 2019-10-16 12:27:43 +01:00
Bob Mottram 9b21151523 Add followers to posts if necessary 2019-10-16 11:58:31 +01:00
Bob Mottram 49d252c0d1 Removing dormant threads 2019-10-16 11:08:21 +01:00
Bob Mottram 85415f579f Exception handling in threaded post 2019-10-14 22:05:14 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram da7d9b4ea4 Get start time of event 2019-10-11 17:16:56 +01:00
Bob Mottram 9be5b928d0 Get time zone 2019-10-10 14:48:05 +01:00
Bob Mottram 65b8a744d1 Check for ending of time 2019-10-10 14:24:29 +01:00
Bob Mottram 34618f64a9 Append seconds 2019-10-10 14:22:38 +01:00
Bob Mottram 892700e057 Param defaults 2019-10-10 14:13:59 +01:00
Bob Mottram 272cc92adf Include event parameters within tags 2019-10-10 14:12:13 +01:00
Bob Mottram fa1f51a177 Sending posts to group members 2019-10-04 13:22:56 +01:00
Bob Mottram 1043a857aa Prepare for groups 2019-10-04 10:23:38 +01:00
Bob Mottram fb5551f1d4 nickname 2019-10-02 16:00:22 +01:00
Bob Mottram cded055acc Add content warnings for replies to posts which have content warnings 2019-10-02 15:40:39 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram 865b4c3ce9 Hellthread mitigation 2019-09-30 11:15:57 +01:00
Bob Mottram f9760476ab Extra debug 2019-09-29 20:39:35 +01:00
Bob Mottram bacc06f416 emoji replacement 2019-09-29 18:42:51 +01:00
Bob Mottram 1b15e9ff43 Separate tag replacement functions 2019-09-29 18:20:10 +01:00
Bob Mottram 1740cfad80 Function name 2019-09-29 18:10:34 +01:00
Bob Mottram 4f39a0c7df Handle tag dictionary 2019-09-29 17:48:07 +01:00
Bob Mottram add425a245 Add function import 2019-09-29 17:30:57 +01:00
Bob Mottram 10d239ef2e Insert emoji 2019-09-29 17:28:02 +01:00
Bob Mottram 59dc9e3441 Tidying 2019-09-28 20:48:29 +01:00
Bob Mottram 4c644b1d1f Move function 2019-09-28 17:58:21 +01:00
Bob Mottram d60173def4 Missing import 2019-09-28 17:31:03 +01:00
Bob Mottram 4670f4cf33 Stray colon 2019-09-28 17:23:02 +01:00
Bob Mottram 4e3d9e75b4 Checking that announces contain images 2019-09-28 17:21:43 +01:00
Bob Mottram 0907932a0a Move function 2019-09-28 17:10:45 +01:00
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