Commit Graph

979 Commits (c24456c42c8028611824920739fd08717ef09547)

Author SHA1 Message Date
Bob Mottram 31a48db4a4 Validation of published date on incoming posts
This mitigates replay attacks, where an otherwise valid post gets endlessly repeated
2020-12-21 10:45:31 +00:00
Bob Mottram 99374a63dc Revert to previous wfRequest 2020-12-19 14:17:30 +00:00
Bob Mottram 8c7071b6e3 Single webfinger 2020-12-18 18:12:33 +00:00
Bob Mottram bb31ce37cd is_alive replaces isAlive 2020-12-18 15:29:12 +00:00
Bob Mottram fa7741a650 Log actor update requests 2020-12-17 20:56:29 +00:00
Bob Mottram c2404d0943 Tidying 2020-12-16 10:48:40 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram f94f6eb997 Don't write time to file if it hasn't changed 2020-12-13 14:31:22 +00:00
Bob Mottram 1cf2ea73f9 Comment 2020-12-13 11:28:23 +00:00
Bob Mottram a23f47cdf3 Keep track of when people that you are following were last seen 2020-12-13 11:27:12 +00:00
Bob Mottram e996141fd8 Spaces 2020-12-12 10:06:03 +00:00
Bob Mottram 14d7985353 Remove icons path argument 2020-12-09 13:31:54 +00:00
Bob Mottram ffdc49a56c Remove icons path variable 2020-12-09 13:08:26 +00:00
Bob Mottram 4d46817350 Simplify 2020-12-05 11:58:03 +00:00
Bob Mottram 67e06f65c9 Guess hashtag categorisations 2020-12-05 11:11:32 +00:00
Bob Mottram ed51cf51e7 Change imports to new modules 2020-11-28 10:54:48 +00:00
Bob Mottram 020c7a1314 Delete button also removed blogs from the news actor 2020-11-27 10:38:51 +00:00
Bob Mottram 5364b71616 Option to allow access to the local network
This might be useful for mesh networks or private networks
2020-11-20 10:58:49 +00:00
Bob Mottram 64348c5161 Misleading function name 2020-11-14 13:03:09 +00:00
Bob Mottram a3a022c917 Splitting webapp into smaller modules 2020-11-09 19:41:01 +00:00
Bob Mottram ddc63da755 Rename module 2020-11-09 13:18:28 +00:00
Bob Mottram fa419cf995 Option to set a maximum number of followers per account 2020-10-23 20:48:59 +01:00
Bob Mottram b5d492b668 Optionally allow the news account to be followed 2020-10-23 20:18:13 +01:00
Bob Mottram 2899768828 Option to only show date at bottom of posts, not time 2020-10-11 19:50:13 +01:00
Bob Mottram d3fc053df9 Space 2020-10-11 14:18:54 +01:00
Bob Mottram cf729200b0 More verbose 2020-10-11 14:18:27 +01:00
Bob Mottram 93e554efb8 Check earlier 2020-10-11 14:15:36 +01:00
Bob Mottram c9981f6936 Check that following file exists 2020-10-11 14:14:28 +01:00
Bob Mottram bbbf470149 Boxname 2020-10-08 13:28:02 +01:00
Bob Mottram 90283d5707 Boxname 2020-10-08 13:16:44 +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 5016a3b2df Additional type checks when receiving post 2020-09-05 17:46:03 +01:00
Bob Mottram 43b1fdf67c functions in utils module 2020-09-05 17:13:25 +01:00
Bob Mottram 605be761ff Add a tags directory if it doesn't exist 2020-09-03 10:09:58 +01:00
Bob Mottram a6a715df63 Indent 2020-09-03 10:01:27 +01:00
sireebob 61ff46ad1c prevent an error for posts missing an inReplyTo key. 2020-09-02 22:42:29 +00:00
Bob Mottram 2dc5bcfdd2 Storing posts 2020-08-29 21:14:44 +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 10a21e797b More checks on replyto 2020-08-28 15:28:59 +01:00
Bob Mottram cabdc9c3c5 Replies to muted posts are also muted 2020-08-27 18:40:09 +01:00
Bob Mottram 7db274b57a Comment 2020-08-27 10:35:26 +01:00
Bob Mottram 8ff510e791 Optionally notify when posts are liked 2020-08-27 10:19:32 +01:00
Bob Mottram dcefa585bb Event edit button 2020-08-26 18:41:38 +01:00
Bob Mottram 673247abf0 debug flag 2020-08-26 12:19:32 +01:00
Bob Mottram a9db0b03ab Updating of recent posts cache for events timeline 2020-08-26 12:10:21 +01:00
Bob Mottram a484936793 More content warning validation 2020-08-25 20:45:15 +01:00
Bob Mottram 9c7895e43a Debug 2020-08-24 15:17:16 +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 c64a8aadc1 Check for allowed comments 2020-08-21 19:32:16 +01:00
Bob Mottram fa0434ca9c Link to event parameters 2020-08-20 18:08:25 +01:00
Bob Mottram f263cef884 Receiving event posts 2020-08-20 17:51:48 +01:00
Bob Mottram a771ce3041 Tidying 2020-08-20 13:11:07 +01:00
Bob Mottram 28830ed660 Consistent append 2020-08-20 12:34:39 +01:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram 37b86507c5 Separate event creation function 2020-08-13 11:58:05 +00:00
Bob Mottram 8735567751 Comments 2020-08-13 09:37:11 +00:00
Bob Mottram 34798bfd15 Check that attributedTo is a string 2020-08-06 17:21:46 +01:00
Bob Mottram 83cac23229 Youtube replacement domain is configurable 2020-08-02 10:51:20 +01:00
Bob Mottram 3333574007 Link to who liked a post 2020-07-13 20:42:30 +01:00
Bob Mottram 6b3e9396d7 Check if post was already liked 2020-07-13 14:36:45 +01:00
Bob Mottram 94b4529cf6 Bad variable reuse 2020-07-13 10:34:04 +01:00
Bob Mottram 092bc00d1e Show errors if like notification cannot be saved 2020-07-13 09:56:24 +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 e61e8bb21b More descriptive 2020-07-11 22:01:08 +01:00
Bob Mottram 1a15d07dfd Improve checking for bad markup 2020-07-10 14:15:01 +00:00
Bob Mottram ac0dd52c78 Check for repeated like notifications 2020-07-08 23:17:21 +01:00
Bob Mottram a70edfab53 Check that the liked post is by this handle 2020-07-08 23:04:17 +01:00
Bob Mottram cfba4874f8 Check for sent like notifications 2020-07-08 22:52:18 +01:00
Bob Mottram 57d64ed033 Check if like notification exists 2020-07-08 22:41:48 +01:00
Bob Mottram 80248889b8 Remove debug 2020-07-08 22:37:03 +01:00
Bob Mottram 81c06ae2f5 Tidying 2020-07-08 22:34:54 +01:00
Bob Mottram 3607bfd439 Check for liking own post 2020-07-08 22:28:44 +01:00
Bob Mottram 10ae18affc Debug 2020-07-08 22:18:50 +01:00
Bob Mottram 290ea18b0b Check nickname and domain 2020-07-08 22:04:19 +01:00
Bob Mottram 61f7a09670 Create notification when likes arrive 2020-07-08 20:49:15 +01:00
Bob Mottram 7d78d27e28 Change name of module 2020-07-03 20:20:31 +01:00
Bob Mottram ebd681d11a Check that an account can receive calendar events from the actor 2020-07-03 19:49:00 +01:00
Bob Mottram a7dc83813c Tidying 2020-06-28 20:04:43 +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 d392e0a15d Regenerate sessions less frequently 2020-06-24 10:40:17 +01:00
Bob Mottram 52d1f30b4f More debug for sessions 2020-06-24 10:04:58 +01: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 72fc823c51 More html validity checks 2020-06-14 14:47:46 +01:00
Bob Mottram 0132674ea3 Label accusatory posts 2020-06-12 12:50:49 +01:00
Bob Mottram 6e769484aa Reduce duplicate prefixes 2020-06-11 13:26:15 +01:00
Bob Mottram d352b27dd8 Tidying 2020-06-11 13:04:42 +01:00
Bob Mottram bee0d99ce6 Support for gnunet 2020-06-09 12:51:51 +01:00
Bob Mottram 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram 99a4b65467 Wait for session 2020-06-08 21:18:02 +01:00
Bob Mottram 7a22130837 Handling of i2p secondary domains 2020-06-03 21:21:44 +01:00
Bob Mottram 20a24edaa8 Less indentation 2020-06-02 10:05:55 +01:00
Bob Mottram 09d63088f0 Remove old hashtags when new ones are created 2020-05-31 17:31:33 +01:00
Bob Mottram 4c356b2fe9 Check for blocked actors within arriving announce posts 2020-05-25 10:21:34 +01:00
Bob Mottram c3c378eb4c Comment 2020-05-22 12:57:15 +00:00
Bob Mottram 83345a6d84 Clear inbox queue when full 2020-05-22 11:48:13 +00:00
Bob Mottram b749b37187 More debug 2020-05-22 11:35:33 +00:00
Bob Mottram e8c45a272f Only add to replies index if incoming post is not a DM 2020-05-17 19:21:38 +01:00
Bob Mottram 4608678cae Support hypercore protocol 2020-05-17 10:37:59 +01:00
Bob Mottram a08f6b273e Missing parameter 2020-05-03 13:12:52 +00:00
Bob Mottram 08f19f2e8d Commit ActivityPub type 2020-05-03 10:56:29 +00:00
Bob Mottram 4fc5afde9c More descriptive git patch notification message 2020-05-03 09:58:51 +00:00
Bob Mottram 5dcc60aa7c ActivityPub signoff added to patches 2020-05-03 09:48:12 +00:00
Bob Mottram 0bea2ab9f9 Remove debug 2020-05-02 18:15:48 +00:00
Bob Mottram 0a2cf0e8b1 Save notification patch content at time of receiving 2020-05-02 17:36:22 +00:00
Bob Mottram e2c7648d0b Prepend From 2020-05-02 17:16:24 +00:00
Bob Mottram 03f88377dd Removing html formatting from patch 2020-05-02 17:06:13 +00:00
Bob Mottram b5053a9155 Formatting content before saving patch 2020-05-02 17:01:58 +00:00
Bob Mottram a99483b3fc Tidying 2020-05-02 16:13:02 +00:00
Bob Mottram 884fb86d1a Debug for git 2020-05-02 14:04:08 +00:00
Bob Mottram 307ae74b29 Debug for git 2020-05-02 13:59:23 +00:00
Bob Mottram 71f8b95adf Use the correct json object 2020-05-02 13:45:49 +00:00
Bob Mottram 17d95ea5f8 Comment 2020-05-02 13:17:02 +00:00
Bob Mottram 78ff64dfc1 Check that message fields exist 2020-05-02 13:14:55 +00:00
Bob Mottram 33458499bb Typo 2020-05-02 12:10:28 +00:00
Bob Mottram 2361301203 Also save content of git patch for use by notification system 2020-05-02 12:02:49 +00:00
Bob Mottram b73aca47c2 Creates a notification file when a git patch is received 2020-05-02 11:20:57 +00:00
Bob Mottram ba042f4dd8 Receiving git patches via the inbox 2020-05-02 11:08:38 +00:00
Bob Mottram 15ba6c3688 Fix warnings 2020-05-02 10:19:24 +00:00
Bob Mottram c79efe6d6f Restart the inbox queue when full 2020-04-27 10:41:38 +01:00
Bob Mottram f3723d4707 Less sleep in inbox queue 2020-04-16 19:25:59 +01:00
Bob Mottram 3045e8c860 Reduce lower bound for maximum posts per minute 2020-04-16 15:37:01 +01:00
Bob Mottram d8aac0a273 Only send one response 2020-04-16 11:14:05 +01:00
Bob Mottram d21b584f78 Tidying 2020-04-16 10:49:57 +01:00
Bob Mottram d81c985e44 Exit loop if no keyId 2020-04-16 10:27:22 +01:00
Bob Mottram 6b092d63ec flake8 format 2020-04-03 16:27:34 +00:00
Bob Mottram 8cb0d18680 Show failed header 2020-03-30 20:35:47 +01:00
Bob Mottram 7cfc046859 More verbose inbox queue processing 2020-03-30 20:32:25 +01:00
Bob Mottram 2f46c2b31f Minimum per minute quotas 2020-03-28 11:46:11 +00:00
Bob Mottram 4e2e1dab21 Simplify 2020-03-25 10:55:47 +00:00
Bob Mottram 305e45ea91 Remove queue file when over quota 2020-03-25 10:52:53 +00:00
Bob Mottram 9333bf012b Account quotas per day 2020-03-25 10:47:13 +00:00
Bob Mottram 05ef1933b4 Quota for domain posts per minute 2020-03-25 10:36:37 +00:00
Bob Mottram 57306c798c Always show over quota messages 2020-03-25 10:23:08 +00:00
Bob Mottram 92c84c4dc2 Daily quotas variable names 2020-03-25 10:21:25 +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 3fe3dd06a9 Sending to followers on onion domains 2020-03-02 16:23:30 +00:00
Bob Mottram b44d364449 Check that onion domain has been given 2020-03-02 13:35:24 +00:00
Bob Mottram b93f5dd10b Optionally use onion address when fetching keys 2020-03-02 13:11:06 +00:00
Bob Mottram 4b46b1f7f5 Pass onion domain to inbox queue 2020-03-02 12:44:41 +00:00
Bob Mottram 8d22d8493a Function moved 2020-02-25 15:24:29 +00:00
Bob Mottram e36b6a8646 Different link for blog posts 2020-02-24 23:14:49 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram c59eb480ae Fix indents 2020-02-21 11:32:43 +00:00
Bob Mottram dfdf4c032e Support use on i2p addresses 2020-02-17 17:18:21 +00:00
Bob Mottram ba091b74e4 Invert logic 2020-02-05 17:30:49 +00:00
Bob Mottram e7239a078b Another content filter check 2020-02-05 17:29:38 +00:00
Bob Mottram 972727cc8b Clearing avatar images from cache before storing updated ones 2020-02-04 19:34:52 +00:00
Bob Mottram a5251ba561 Tidying 2020-02-04 19:20:16 +00:00
Bob Mottram aa2128f51b Unwrapped actor update requests 2020-01-19 21:05:02 +00:00
Bob Mottram 2f00cf06e7 Replace YouTube links, so they get less data 2020-01-15 10:56:39 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram e886e81778 Timestamp in tag file 2019-12-12 19:24:18 +00:00
Bob Mottram 2da2a331c2 Tidying 2019-12-12 19:18:29 +00:00
Bob Mottram fe50d3d677 Update hashtags from announces 2019-12-12 19:13:55 +00:00
Bob Mottram a19e61c90d Add nickname to tag url 2019-12-12 18:56:30 +00:00
Bob Mottram 619cc2b9cb Strip name 2019-12-12 18:17:43 +00:00
Bob Mottram 6df175a641 Filename 2019-12-12 18:14:55 +00:00
Bob Mottram 851ac0fc18 Exception message 2019-12-12 17:49:16 +00:00
Bob Mottram 7eca0b33be Prepend to tags file 2019-12-12 17:47:16 +00:00
Bob Mottram 8ef0a72489 Storing hashtags for incoming posts 2019-12-12 17:34:31 +00:00
Bob Mottram 182c529047 Check for published value 2019-11-29 22:45:56 +00:00
Bob Mottram c94b80a36d Sending out updates when votes on a question change 2019-11-29 22:02:16 +00:00
Bob Mottram d0705c3f98 Get nickname earlier 2019-11-29 19:46:46 +00:00
Bob Mottram 57a7194d5e Update question votes 2019-11-29 19:22:11 +00:00
Bob Mottram e0183a0171 Updating vote counts 2019-11-29 18:46:21 +00:00
Bob Mottram fe3fb78801 Receiving question updates 2019-11-26 10:43:37 +00:00
Bob Mottram 4bea7f3fd2 Pass recent posts cache 2019-11-25 22:37:20 +00:00
Bob Mottram 91058ea30f Update post cache when receiving question updates 2019-11-25 14:05:59 +00:00
Bob Mottram 4d16e41f34 Missing argument 2019-11-24 22:05:46 +00:00
Bob Mottram 880d0ff1c4 Lazy paste 2019-11-24 21:54:46 +00:00
Bob Mottram 7200c12e44 Missing argument 2019-11-24 21:53:25 +00:00
Bob Mottram 1da6bea818 Bookmarks interaction with posts cache 2019-11-24 21:50:18 +00:00
Bob Mottram 7b8925ce08 Missing argument 2019-11-24 21:39:26 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram 0aedab61fb Handle post cache for undo like 2019-11-24 13:37:34 +00:00
Bob Mottram c5204ea1fa Adding json posts to the timeline from cache 2019-11-24 12:12:29 +00:00
Bob Mottram bd68e84776 Store recent posts in memory for fast access 2019-11-24 11:28:58 +00:00
Bob Mottram 1fb7811d08 Always deliver to individual inboxes 2019-11-23 21:18:35 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram abd62d4d6e Remove paths from index 2019-11-18 13:16:21 +00:00
Bob Mottram c789d5bbdc Typo 2019-11-17 14:02:59 +00:00
Bob Mottram 52e1d44021 Adding bookmarks 2019-11-17 14:01:49 +00:00
Bob Mottram 96fd59d295 Maximum limit on emoji within a post 2019-11-16 14:49:21 +00:00
Bob Mottram 1e9bffa6a3 Log time for html cache saves 2019-11-16 14:07:54 +00:00
Bob Mottram c36a8a0401 Reduce indentation 2019-11-16 12:32:28 +00:00
Bob Mottram 3fc0a69e3f Tidying 2019-11-16 12:30:59 +00:00
Bob Mottram b1acdc69ac Prepend zeros 2019-11-16 10:12:40 +00:00
Bob Mottram 7654534777 Log digest calculation time 2019-11-16 10:07:32 +00:00
Bob Mottram 213d4bdf6e Check message length before storage in inbox queue 2019-11-15 23:43:07 +00:00
Bob Mottram bd87d365f0 No pprint 2019-11-15 22:44:10 +00:00
Bob Mottram e0ab020773 Slower inbox checking 2019-11-15 10:39:47 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram da4123b1ec Change heartbeat date format 2019-11-12 21:58:59 +00:00
Bob Mottram 127a60280f Debug in http signature verification 2019-11-12 15:03:17 +00:00
Bob Mottram 12a0943d4b Only show public key in debug 2019-10-29 20:37:55 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram 71af23ff6f Option to only receive DMs from people you follow 2019-10-29 10:49:23 +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 adcc5dcc1c nickname 2019-10-22 21:46:10 +01:00
Bob Mottram ab7ac29d35 Index for media timeline 2019-10-22 21:30:43 +01:00
Bob Mottram b0d6fd80f5 Index for DM timeline 2019-10-22 21:07:12 +01:00
Bob Mottram cd53ee8dff Create replies index 2019-10-22 21:00:00 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 6da5c21edb Tidying 2019-10-21 13:52:22 +01:00
Bob Mottram 15e2805d69 Tidying 2019-10-21 13:49:16 +01:00
Bob Mottram af85e6ce99 Missing import 2019-10-21 12:02:58 +01:00
Bob Mottram 133c858884 Experimentally allow replies to unidentified accounts. Checks can be done later 2019-10-21 11:51:49 +01:00
Bob Mottram 11073cb1f7 Tidying 2019-10-21 11:33:45 +01:00
Bob Mottram 12cabfab26 Reference to announced id 2019-10-21 11:14:36 +01:00
Bob Mottram 38e954af17 Allow announces without status 2019-10-21 10:48:37 +01:00
Bob Mottram be91c3b79c Warning 2019-10-20 13:50:31 +01:00
Bob Mottram 53fc839cae Add exception handling for index 2019-10-20 13:43:59 +01:00
Bob Mottram 8f826a1ac5 Tidying 2019-10-20 12:21:09 +01:00
Bob Mottram 3025922d5c Remove path from index entries 2019-10-20 12:06:12 +01:00
Bob Mottram a318f299ca Write first entry in index 2019-10-20 11:45:12 +01:00
Bob Mottram 6b7120dca7 Add debug 2019-10-20 11:40:09 +01:00
Bob Mottram 0325b044b8 Error message if index isn't updated 2019-10-20 11:35:13 +01:00
Bob Mottram 4beddb1584 Create an index of received posts 2019-10-20 11:25:38 +01:00
Bob Mottram 4ca3ac28cd Replace page number 2019-10-20 09:52:31 +01:00
Bob Mottram 2ef2141a9a Remove cached html announce when its state changes 2019-10-19 19:21:14 +01:00
Bob Mottram 236aef17ba Fix unit test for like 2019-10-19 19:08:47 +01:00
Bob Mottram 255a32c0dc Remove cached post on like update 2019-10-19 18:50:05 +01:00
Bob Mottram 7bb41b4414 json object variable 2019-10-19 14:22:53 +01:00
Bob Mottram 222597f190 Add variable 2019-10-19 14:05:35 +01:00
Bob Mottram 3b688be18b Extra debug 2019-10-19 14:02:41 +01:00
Bob Mottram 192236d58e Check that post was saved 2019-10-19 14:00:46 +01:00
Bob Mottram 1fc5750174 Update html post cache as new posts arrive 2019-10-19 13:37:35 +01:00
Bob Mottram 303f7e2572 Report from with blocked posts 2019-10-18 20:12:21 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 130bd12fb5 Tidying 2019-10-18 10:58:57 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram 335a35b84e Check for blocked domains 2019-10-17 14:18:21 +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 1f0a869fbe Extra checks when removing inbox queue items 2019-10-13 13:22:27 +01:00
Bob Mottram 5979591ad2 Notification file for calendar 2019-10-12 17:05:45 +01:00
Bob Mottram 76ba1858ff Highlight calendar when a new event arrives 2019-10-12 15:31:07 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00
Bob Mottram ffc949406d Remove activity 2019-10-11 19:08:47 +01:00
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram b0bd93e52d Remove trailing activity 2019-10-11 18:12:24 +01:00
Bob Mottram 1811298962 Parse time zone 2019-10-11 17:54:55 +01:00
Bob Mottram f70d482478 tagDict 2019-10-11 17:29:13 +01:00
Bob Mottram 44d7c791b4 Check that calendar event does not already exist 2019-10-11 17:20:16 +01:00
Bob Mottram da7d9b4ea4 Get start time of event 2019-10-11 17:16:56 +01:00
Bob Mottram 2bb7e5f898 Calendar path 2019-10-11 13:33:40 +01:00
Bob Mottram 7ab0901721 Save calendar events to file 2019-10-11 13:31:06 +01:00
Bob Mottram 002c400e40 populate replies later 2019-10-11 13:00:18 +01:00
Bob Mottram 29bf1d4543 Include url within reply file 2019-10-06 16:11:10 +01:00
Bob Mottram 8e780492d3 Include url within notification file 2019-10-06 16:07:40 +01:00
Bob Mottram 193ac8916c Check if mention exists 2019-10-04 16:17:48 +01:00
Bob Mottram 5b1692a3c7 Use full domain 2019-10-04 15:43:46 +01:00
Bob Mottram a478588e1f String 2019-10-04 15:41:23 +01:00
Bob Mottram 5613afb3d8 Create tag list if needed 2019-10-04 15:38:18 +01:00
Bob Mottram 542f3267a1 Add mention for sender to posts sent to group members 2019-10-04 15:36:53 +01:00
Bob Mottram 5fbaf00b04 Include the sending actor in posts to groups 2019-10-04 15:29:40 +01:00
Bob Mottram 4bc99379ab Followers only 2019-10-04 15:18:04 +01:00
Bob Mottram 128579f0dc Tidying 2019-10-04 15:15:46 +01:00
Bob Mottram 80b62314ad Outside of loop 2019-10-04 15:09:48 +01:00
Bob Mottram 33b7393a77 Set subject for posts sent to group 2019-10-04 15:08:57 +01:00
Bob Mottram f8237edd26 Same cc 2019-10-04 15:02:55 +01:00
Bob Mottram d0a0737627 Set recipients to be followers 2019-10-04 15:02:11 +01:00
Bob Mottram f92c172da0 Use the preferred group name 2019-10-04 14:39:41 +01:00
Bob Mottram 8142854dfe Include group name in subject 2019-10-04 14:31:30 +01:00
Bob Mottram 8acb8769b9 Add groups from the commandline 2019-10-04 13:39:46 +01:00
Bob Mottram fa1f51a177 Sending posts to group members 2019-10-04 13:22:56 +01:00
Bob Mottram cf854d0039 Comments 2019-10-04 11:00:57 +01:00
Bob Mottram 00c8d96099 Tidying 2019-10-04 10:58:02 +01:00
Bob Mottram 1043a857aa Prepare for groups 2019-10-04 10:23:38 +01:00
Bob Mottram 4ca765a41d Set actor for reply 2019-10-03 19:07:45 +01:00
Bob Mottram d26610b6da Highlight button when a new reply arrives 2019-10-03 17:37:25 +01:00
Bob Mottram e6c2fc11a3 Highlight DM button when a new DM arrives 2019-10-03 17:22:34 +01:00
Bob Mottram b49a6ff91b Users or profile 2019-10-01 15:29:28 +01:00
Bob Mottram 5b35225532 Handle unwrapped posts 2019-10-01 15:11:15 +01:00
Bob Mottram c8de9ae6c8 Include actor 2019-10-01 15:00:06 +01:00
Bob Mottram e986d30367 Get actor from status 2019-10-01 14:23:22 +01:00
Bob Mottram a94665d9a0 Show actor 2019-10-01 14:10:46 +01:00
Bob Mottram 5c6ca46d8b Tidying 2019-10-01 13:50:06 +01:00
Bob Mottram c1acbf0deb Add a few retries 2019-10-01 13:35:39 +01:00
Bob Mottram 1d3c74bd21 Obtaining actors for replies and announces 2019-10-01 13:28:13 +01:00
Bob Mottram f31a9b4fd1 Debug message 2019-10-01 13:19:50 +01:00
Bob Mottram 5a00ecaf8b Debug message 2019-10-01 13:17:09 +01:00
Bob Mottram 0a99b20f4d Rename function 2019-10-01 13:13:49 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram 2b318435b2 Tidying 2019-09-30 20:39:48 +01:00
Bob Mottram 8b809fc984 Indentation 2019-09-30 20:37:50 +01:00
Bob Mottram 313ce5bd9b Try to obtain actor for person replied to 2019-09-30 20:23:53 +01:00
Bob Mottram aa0656f3dc Obtain actor for announces 2019-09-30 20:13:14 +01:00
Bob Mottram b0c1cb5712 Extra bad html tag 2019-09-30 12:12:02 +01:00
Bob Mottram 1fa22a6777 If tags are something other than a list then replace with an empty list 2019-09-30 12:05:35 +01:00
Bob Mottram b75faf7ac8 Include post id in reject messages 2019-09-30 11:37:34 +01:00
Bob Mottram 0f2c863e4e Check that number of tags is not too large 2019-09-30 11:35:49 +01:00
Bob Mottram 865b4c3ce9 Hellthread mitigation 2019-09-30 11:15:57 +01:00
Bob Mottram 11f6655530 Show the whole message content 2019-09-30 10:53:43 +01:00
Bob Mottram 4aa56256e8 Validate post content 2019-09-30 10:43:46 +01:00
Bob Mottram c2f8af0bf8 Remove hash ending 2019-09-29 11:41:21 +01:00
Bob Mottram e1ba56bc3d Extra debug 2019-09-29 11:13:00 +01:00
Bob Mottram 3c77111796 Tidying 2019-09-29 10:20:01 +01:00
Bob Mottram d11d8082e9 Download posts for announce activities as they arrive 2019-09-29 10:15:10 +01:00
Bob Mottram e53b6c5ff6 Exception handling for loading json files 2019-09-17 13:14:36 +01:00
Bob Mottram e18fe78b9c Remove cached avatar image after actor update 2019-09-14 19:58:55 +01:00
Bob Mottram e33d306970 Don't overwrite existing inbox arrivals 2019-09-11 18:42:55 +01:00
Bob Mottram 28d30ed497 Check for blocked domains being announced 2019-09-09 17:02:14 +01:00
Bob Mottram cd5af800c2 Allow profile in path 2019-09-09 10:41:31 +01:00
Bob Mottram 8a1fb72ccb Don't accept replies from unidentifiable sources 2019-09-09 10:12:06 +01:00
Bob Mottram 05703db1a3 Handle stray none 2019-09-03 20:53:22 +01:00
Bob Mottram c392da197e Handle replies from blocked domains 2019-09-03 12:27:21 +01:00
Bob Mottram 832c1cd39b Fix cloning of inbox thread 2019-09-03 12:10:53 +01:00
Bob Mottram ad5fb99ea7 Cloning the inbox thread 2019-09-03 11:24:15 +01:00
Bob Mottram d89de123f1 Occasionally try to restore the queue 2019-09-03 10:11:33 +01:00
Bob Mottram 86359ba91a datetime 2019-09-03 10:01:19 +01:00
Bob Mottram ac895d6c90 Show queue length 2019-09-03 09:58:13 +01:00
Bob Mottram 61da9d6af5 Add heartbeat to inbox queue 2019-09-03 09:46:26 +01:00
Bob Mottram 5ca2b1c762 Add a watchdog for the inbox thread 2019-09-02 22:52:43 +01:00
Bob Mottram 8f346fffef Better handling of actor parsing 2019-09-02 10:43:43 +01:00
Bob Mottram 8f23742234 Account 2019-09-01 21:00:45 +01:00
Bob Mottram 3aec37b47e to 2019-09-01 20:56:44 +01:00
Bob Mottram b9310ed9ff Always print 2019-09-01 20:54:02 +01:00
Bob Mottram 9aa4837775 Check that posts don't contain replies from blocked domains 2019-09-01 20:52:14 +01:00
Bob Mottram b9d853ef63 Check actor exists 2019-09-01 20:20:28 +01:00
Bob Mottram c8142aa022 Use activity instead of ld 2019-09-01 13:09:29 +01:00
Bob Mottram 4e0120929c Misleading method name 2019-08-31 16:17:07 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram eaba779cc1 Application activity 2019-08-23 21:09:00 +01:00
Bob Mottram 5303be3942 Setting shared inbox actor to @domain@domain 2019-08-23 15:08:10 +01:00
Bob Mottram 2af276f0ae Also handle bot profiles 2019-08-22 20:53:24 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 8a581ababd Actor within cache 2019-08-22 19:13:07 +01:00
Bob Mottram 9017d7c7b8 Set domain 2019-08-22 19:10:46 +01:00
Bob Mottram e95ac52ca1 Debug 2019-08-22 19:07:29 +01:00
Bob Mottram 2d90c8945c Different domain 2019-08-22 19:03:53 +01:00
Bob Mottram 16939a062d More debug 2019-08-22 19:02:00 +01:00
Bob Mottram 7ca21555a3 Extra checks when receiving actor update 2019-08-22 18:49:57 +01:00
Bob Mottram 49d087a911 Store updated profile in memory cache 2019-08-22 18:33:04 +01:00
Bob Mottram 5891f2ae12 Profile updates 2019-08-22 18:25:12 +01:00
Bob Mottram dec39a18ce Receiving actor updates 2019-08-20 20:41:58 +01:00
Bob Mottram 25b2f3210b Thread for cache expiry 2019-08-20 11:28:05 +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 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 f8efb37c6e Continue even if file exists 2019-08-18 13:06:08 +01:00
Bob Mottram 8d4d09f047 Include accept as a type allowed not to have 'to' 2019-08-18 12:35:26 +01:00
Bob Mottram f8cc1873d4 Fixing tests 2019-08-18 10:39:12 +01:00
Bob Mottram 0bd6eff877 Copy queue file to destination 2019-08-17 13:26:09 +01:00
Bob Mottram 5af97894f4 Check for filename 2019-08-16 23:04:45 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram 55ce8de22b Also replace undo 2019-08-16 20:48:32 +01:00
Bob Mottram db3ecc9511 Convert 'to' and 'cc' strings to lists 2019-08-16 18:51:00 +01:00
Bob Mottram 1b1810ff8a Calculate message body digest from incoming bytes to avoid any json conversion issues 2019-08-16 18:19:23 +01:00
Bob Mottram ffde81d909 testing 2019-08-16 16:04:40 +01:00
Bob Mottram d2394b3a69 Fixing http signatures 2019-08-16 14:47:01 +01:00
Bob Mottram ce708fa7fa Show actor 2019-08-16 10:35:06 +01:00
Bob Mottram e0e259fceb print headers 2019-08-16 09:44:56 +01:00
Bob Mottram bdbcb48d27 Signature 2019-08-16 09:43:53 +01:00
Bob Mottram 292a2a28e7 Use full path when verifying signature 2019-08-16 09:39:01 +01:00
Bob Mottram 8dca9dc9cc More http signature reworking 2019-08-15 23:12:58 +01:00
Bob Mottram 977160eecf http signature fixes 2019-08-15 22:34:25 +01:00
Bob Mottram 28d5dd15a6 Add a to field on follows if it is missing 2019-08-15 18:05:22 +01:00
Bob Mottram 55fa512d54 clear 2019-08-15 17:45:07 +01:00
Bob Mottram dac81b5509 Debug 2019-08-15 17:36:39 +01:00
Bob Mottram 16ae6cb7b3 Create session if it doesn't exist 2019-08-15 17:23:38 +01:00
Bob Mottram b6befa89fd Convert to string 2019-08-15 17:19:57 +01:00
Bob Mottram 5b434cad65 More debug 2019-08-15 17:19:07 +01:00
Bob Mottram 4d34d8a3f6 Follow debug 2019-08-15 17:05:28 +01:00
Bob Mottram 6fbc778609 Extra debug 2019-08-15 09:36:49 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram cc332f316b Deletion of moderation reports 2019-08-12 19:02:29 +01:00
Bob Mottram 28ea6ce342 Limited number of retries to read inbox queue files 2019-08-05 23:38:38 +01:00
Bob Mottram 47aa3fbc1e Avoid errors when loading inbox queue items 2019-08-05 22:14:38 +01:00
Bob Mottram 9772c0116f Missing parameter 2019-08-05 20:30:27 +01:00
Bob Mottram 6821a4ba31 Allow access to shared inbox 2019-08-05 17:05:08 +01:00
Bob Mottram f49a85e4fb Tidying 2019-08-05 11:14:23 +01:00
Bob Mottram 438b778dd3 Remove unused flag 2019-08-05 10:50:45 +01:00
Bob Mottram 13f53414b4 Indentation 2019-08-05 10:28:12 +01:00
Bob Mottram bbae1dc77d Displaying replies to posts selected from the web interface 2019-08-02 19:57:06 +01:00
Bob Mottram fd75e68be3 Viewing replies 2019-08-02 19:04:31 +01:00
Bob Mottram 9c2f3d9e3b Update post shares collection when an announce arrives in inbox 2019-08-01 11:05:31 +01:00
Bob Mottram fcf8399b5a Posting via web interface 2019-07-28 14:30:19 +01:00
Bob Mottram 982ab616d9 Fix ports on post filenames 2019-07-18 12:35:48 +01:00
Bob Mottram c70d37cdf2 More inbox checks 2019-07-18 10:31:29 +01:00
Bob Mottram 985e66f0df Check that posts entering the inbox are valid 2019-07-18 10:26:47 +01:00
Bob Mottram 58c213256c Don't allow federated deletes by default 2019-07-17 19:13:45 +01:00
Bob Mottram 185b9c97c1 Option to not accept deletions 2019-07-17 18:44:26 +01:00
Bob Mottram 27908a5fad Test for post deletion 2019-07-17 18:16:48 +01:00
Bob Mottram 6b3de06ec7 Test for unfollowing 2019-07-17 12:54:13 +01:00
Bob Mottram fc42149e66 Follow checks 2019-07-17 12:28:19 +01:00
Bob Mottram fb31927502 Extra follow checks 2019-07-17 12:24:33 +01:00
Bob Mottram a47538653a Include federation list 2019-07-17 11:38:10 +01:00
Bob Mottram c55b5c9e15 unfollowing functions 2019-07-17 11:34:00 +01:00
Bob Mottram 3813809958 Fix follower ports 2019-07-16 23:57:45 +01:00
Bob Mottram 1b3e381bfc Zero values disable quotas 2019-07-15 11:25:13 +01:00
Bob Mottram ce6a60e66e Add quotas 2019-07-15 11:22:19 +01:00
Bob Mottram fb82fd6583 Extra check on received posts 2019-07-15 10:20:16 +01:00
Bob Mottram e0f3ac4e8c Word filters 2019-07-14 21:50:27 +01:00
Bob Mottram 7b8f88fd1b Block incoming items at the earliest stage, before anything is written to file 2019-07-14 21:12:05 +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 cf8fe6c20e Tidying 2019-07-14 16:10:31 +01:00
Bob Mottram 3d6a363e6a When deleting a post also remove its replies 2019-07-14 15:42:00 +01:00
Bob Mottram b5b2d74966 Check capabilities for shared inbox when getting inbox feed 2019-07-14 12:15:28 +01:00
Bob Mottram b2ecda1b2a Proper chronological ordering of posts within boxes 2019-07-14 10:17:50 +01:00
Bob Mottram 7105c0cd79 Maximum replies per post 2019-07-13 22:00:12 +01:00
Bob Mottram ce9f403f92 Checks on public status for viewed replies 2019-07-13 21:16:07 +01:00
Bob Mottram d2fcb37dd9 Handle displaying replies 2019-07-13 20:28:14 +01:00
Bob Mottram 445e49b1d0 Check that object is dict 2019-07-13 15:20:40 +01:00
Bob Mottram ce2d95f338 Reload any outstanding queue items 2019-07-12 22:09:23 +01:00
Bob Mottram 3b7ac2c18d When a reply arrives for a post on this domain update the replied to posts replies list 2019-07-12 13:35:38 +01:00
Bob Mottram c94fc3d1f8 Don't store undo/delete activities 2019-07-12 12:35:03 +01:00
Bob Mottram 050f2f5484 Check that the unannounced post is an announce 2019-07-12 11:09:15 +01:00
Bob Mottram 927f922c85 Tidying 2019-07-12 10:49:12 +01:00
Bob Mottram 5eefc3a8f2 Undoing announce/repeat 2019-07-12 10:41:57 +01:00
Bob Mottram 7a891e4cd2 Undoing likes 2019-07-12 10:10:09 +01:00
Bob Mottram 93eefb1601 Check that actor owns the object to be deleted 2019-07-11 22:42:15 +01:00
Bob Mottram ab475f05f6 Delete activity 2019-07-11 22:38:28 +01:00
Bob Mottram 5d80b5adbc Check that announce activity arrives 2019-07-11 20:31:02 +01:00
Bob Mottram ca0db9e45f Adding test for announce 2019-07-11 18:55:10 +01:00
Bob Mottram f301139626 Receiving likes 2019-07-11 13:59:00 +01:00
Bob Mottram c301f45b33 Move shared inbox account into daemon 2019-07-11 13:29:31 +01:00
Bob Mottram cb79ddb760 Conform to activitystreams collection structure 2019-07-10 19:00:14 +01:00
Bob Mottram dec94017ef If there are only a few inbox posts addressed to followers then move them to the individual addresses dict
We can afford to do a few extra copies, but not hundreds or thousands
2019-07-10 17:20:29 +01:00
Bob Mottram 3396cb7c19 move inbox items addressed to followers into the shared inbox
This avoids multiple copies and so reduces storage space and i/o bandwidth use
2019-07-10 16:33:19 +01:00
Bob Mottram 2558ec297d Tidying 2019-07-10 14:32:47 +01:00
Bob Mottram 9c13891dc7 Creating likes collection 2019-07-10 13:40:31 +01:00
Bob Mottram f4a1cfecce Function for handling checks after capabilities 2019-07-10 10:59:22 +01:00
Bob Mottram 21a72b59fc Set default capabilities with options 2019-07-09 18:54:08 +01:00
Bob Mottram 3fdf7003a8 Tidying 2019-07-09 15:21:32 +01:00
Bob Mottram 76e8167ce7 Updating of capabilities 2019-07-09 15:20:23 +01:00
Bob Mottram db6efd6458 Extra debug message for ocaps failure 2019-07-09 09:44:24 +01:00
Bob Mottram 1d820e2199 Include the handle within the capability id. This improves the matching confidence for shared inbox 2019-07-09 09:39:50 +01:00
Bob Mottram 18f29fb9b0 Improving inbox post distribution 2019-07-09 00:05:48 +01:00
Bob Mottram d3c64fa797 Check capabilities at a later stage in inbox queue processing 2019-07-08 23:22:11 +01:00
Bob Mottram 533d9de8be Tidying 2019-07-08 23:17:12 +01:00
Bob Mottram 5d9f972a5d Resolving recipients 2019-07-08 23:12:24 +01:00
Bob Mottram 7106ad84e6 Refactor inbox capabilities check 2019-07-08 19:55:39 +01:00
Bob Mottram db68b34cc5 Capability on post is a list 2019-07-08 14:30:04 +01:00
Bob Mottram 62dde14bee Sleep first 2019-07-07 23:58:12 +01:00
Bob Mottram 3f97137e3f Add some capabilities 2019-07-07 23:06:46 +01:00
Bob Mottram 356877b98c Test for strict capabilities enforcement 2019-07-07 20:25:38 +01:00
Bob Mottram b9ebf425b1 Option to strictly enforce object capabilities 2019-07-07 18:47:37 +01:00
Bob Mottram 994ce34a76 Check for capabilities storage 2019-07-07 16:51:04 +01:00
Bob Mottram e9cf9dfc27 Add capabilities to follow requests 2019-07-07 12:53:32 +01:00
Bob Mottram 03ecaf9a8a Follow request test passes 2019-07-06 20:24:52 +01:00
Bob Mottram e3be2f4328 Receive follow accept 2019-07-06 16:17:21 +01:00
Bob Mottram ef3a951452 Test for follow request 2019-07-06 14:49:25 +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 d257b59c3a Send accept message after follow 2019-07-05 19:57:19 +01:00
Bob Mottram cdddf40b26 Move shared inbox posts to people who follow 2019-07-05 14:26:54 +01:00
Bob Mottram d0f7ba2a53 Mark queue items as belonging to the shared inbox 2019-07-05 12:39:03 +01:00
Bob Mottram 509ba6b840 Create shared inbox on start of daemon 2019-07-05 12:27:18 +01:00
Bob Mottram 8d02e8fdc2 Fix network test 2019-07-04 21:25:19 +01:00
Bob Mottram 3a8801e544 Move function 2019-07-04 20:34:28 +01:00
Bob Mottram e500d32b15 Reserved usernames 2019-07-04 18:56:25 +01:00
Bob Mottram fbaf144479 Fix posts option 2019-07-04 18:31:41 +01:00
Bob Mottram e12f0994cf Fixing public key lookup 2019-07-04 15:36:29 +01:00
Bob Mottram 08134954bc inbox queue 2019-07-04 13:23:53 +01:00
Bob Mottram 0ddcbdcd96 Include destination filename in queue items 2019-07-04 11:19:15 +01:00
Bob Mottram 0286de6cd1 Timestamp queue items 2019-07-04 11:09:27 +01:00
Bob Mottram 640cf71416 Save posts to inbox to a queue 2019-07-04 11:02:56 +01:00
Bob Mottram 306f9edf46 Tidying 2019-07-02 21:54:22 +01:00
Bob Mottram 20dc823398 Check inbox items for expected params 2019-07-02 16:07:27 +01:00
Bob Mottram faaccbe1db Consolidate permissions functions 2019-07-02 11:39:55 +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 eeb74f6e16 baseDir as parameter 2019-06-30 23:56:37 +01:00
Bob Mottram b508abaf9d Creating posts 2019-06-29 11:08:59 +01:00
Bob Mottram e3eb2e3af9 No self 2019-06-28 23:06:39 +01:00
Bob Mottram c8ff8d3f33 inbox functions 2019-06-28 22:59:54 +01:00