Commit Graph

294 Commits (f8b4e4961def5d094fed3a30f94c9ee440c47751)

Author SHA1 Message Date
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