Commit Graph

300 Commits (f188fd3486ef576bc18d4c3c49a43b4112d06737)

Author SHA1 Message Date
Bob Mottram 8e6084d42d Function to check for presence of actor in activity 2021-10-13 10:33:15 +01:00
Bob Mottram bf1255647e Show Leave rather than Unfollow for groups 2021-09-22 10:29:48 +01:00
Bob Mottram 2074fe5235 Debug 2021-09-20 17:14:24 +01:00
Bob Mottram 94e2be67ee Trace for signed json 2021-09-20 17:05:11 +01:00
Bob Mottram bb59ef07de Signed get for inbox url 2021-09-15 15:05:08 +01:00
Bob Mottram 97e5d3c95c Handle errors 2021-09-13 14:41:29 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 3a94d7fb41 Exception handling when deleting files
This can fail if a file is manually deleted or deleted in another thread
2021-09-05 11:17:43 +01:00
Bob Mottram 6c0a39c64d Support for authorized fetch using instance actor signing key 2021-08-31 15:17:11 +01:00
Bob Mottram 1d2ed2bda3 More generic follow url 2021-08-14 13:00:32 +01:00
Bob Mottram 87a7d2e154 Tidying of actor urls 2021-08-14 12:13:39 +01:00
Bob Mottram e775ed4cdf Ensure that groups can't follow groups, to prevent circular reference 2021-08-12 18:50:33 +01:00
Bob Mottram 59fc02c0a7 Group account status 2021-08-12 18:13:18 +01:00
Bob Mottram bcdc9cbf5c Remove debug 2021-08-11 13:46:39 +01:00
Bob Mottram b30d256faa Include to field if following group 2021-08-02 22:09:22 +01:00
Bob Mottram 998f188593 Group account follow request debug 2021-08-02 21:57:44 +01:00
Bob Mottram 7dc79080d0 redhat emoji 2021-08-02 18:05:08 +01:00
Bob Mottram cfea4f0c90 Fixing --posts option 2021-08-01 14:25:11 +01:00
Bob Mottram f4e479c423 Check for group account when sending posts 2021-07-31 14:19:45 +01:00
Bob Mottram bd0e462544 Group prefixes when follower approval is enabled 2021-07-31 13:24:46 +01:00
Bob Mottram d48aff4807 Unit test for following a group 2021-07-31 12:56:28 +01:00
Bob Mottram 4efb5c9a30 Start of unit test for groups 2021-07-30 20:20:49 +01:00
Bob Mottram 71cabd74a2 Unfollowing group handles 2021-07-30 17:06:34 +01:00
Bob Mottram 40f0aac017 Detecting group handle 2021-07-30 14:00:23 +01:00
Bob Mottram 485b537fe7 Users paths 2021-07-29 18:14:33 +01:00
Bob Mottram 3b94048e28 Better support for alternative users paths 2021-07-28 13:49:02 +01:00
Bob Mottram 5e33821b41 Single function defining users paths 2021-07-28 13:08:19 +01:00
Bob Mottram 84ad6d9f4f Send shared items token to domains within the approved federation 2021-07-26 14:12:51 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram 0335e52458 Function to return user paths 2021-07-04 23:58:01 +01:00
Bob Mottram f7ab9733e9 Tidying 2021-07-03 18:51:58 +01:00
Bob Mottram ccddb3c765 dat becomes hyper 2021-07-01 18:59:24 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +01:00
Bob Mottram 939e053e5b Function to check that activitypub posts have an object dictionary 2021-06-22 16:45:59 +01:00
Bob Mottram 25d0cd8c65 Use with style when writing files 2021-06-22 13:27:10 +01:00
Bob Mottram d42ee647d3 Revert "File storage functions"
This reverts commit 9c18e7042e.
2021-06-21 23:53:04 +01:00
Bob Mottram 550a993711 Revert "Storage functions"
This reverts commit feb4286031.
2021-06-21 23:52:50 +01:00
Bob Mottram cd008c3013 Revert "Reading functions"
This reverts commit ee0ffade9d.
2021-06-21 23:52:04 +01:00
Bob Mottram ee0ffade9d Reading functions 2021-06-21 23:34:46 +01:00
Bob Mottram feb4286031 Storage functions 2021-06-21 22:21:43 +01:00
Bob Mottram 9c18e7042e File storage functions 2021-06-21 22:02:03 +01:00
Bob Mottram eab0a92af9 Include User-Agent within POST 2021-06-20 14:39:53 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram fc3a5c664c Function to test for account directories 2021-06-07 10:10:52 +01:00
Bob Mottram 688082f897 Comment 2021-06-07 09:59:43 +01:00
Bob Mottram 97390c9114 Tidying 2021-03-25 12:15:25 +00:00
Bob Mottram ffb47522c1 Accept or deny follow commands for desktop client 2021-03-25 12:07:44 +00:00
Bob Mottram 76fba0e5dd Getting follow requests collection via c2s 2021-03-24 15:07:17 +00:00
Bob Mottram 0f70a98ed4 Get followers list via c2s 2021-03-24 13:52:20 +00:00
Bob Mottram ad1a569c68 Default to false 2021-03-24 13:15:43 +00:00
Bob Mottram 263e28cbc0 Use existing feed function 2021-03-24 12:43:24 +00:00
Bob Mottram 54efec157a Smaller timeouts 2021-03-21 13:35:15 +00:00
Bob Mottram 4804070fd1 Improve c2s debug messages 2021-03-18 10:01:01 +00:00
Bob Mottram 67f63c5119 Set pgp public key from desktop client 2021-03-17 20:18:00 +00:00
Bob Mottram faadca51b6 Less verbose when not in debug 2021-03-14 19:22:58 +00:00
Bob Mottram d60abc89f1 Check for actor in each line of the accept or reject file 2021-03-12 10:52:50 +00:00
Bob Mottram 79faa91534 Removing actors from follow request file 2021-03-12 10:44:37 +00:00
Bob Mottram d6efc44fe2 Timeout on post 2021-03-10 19:24:52 +00:00
Bob Mottram 99035b1b7b Redundant logic 2021-02-24 09:56:08 +00:00
Bob Mottram 764f6673c0 Improve follow checking when a DM arrives 2021-02-24 09:54:37 +00:00
Bob Mottram 530f573763 Use the followed actor so that we don't need to be concerned about what the users path is 2021-02-09 19:02:10 +00:00
Bob Mottram f97d7f4c6a Honk style users path 2021-02-09 17:00:35 +00:00
Bob Mottram ae0b1505f9 Join activity has the same meaning as Follow 2021-02-08 14:48:37 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 03044b9819 Show follows you status on person options 2021-01-02 11:37:24 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram b3bb866f69 Remove option to follow new actor
It wasn't implemented, and doing so could create an oprn relay situation where the authenticity of posts becomes obscured
2020-12-26 10:22:56 +00:00
Bob Mottram 838d853a59 Tidying of users path detection 2020-12-23 10:57:44 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 0cf0841402 Check that imports are correct 2020-12-22 13:57:24 +00:00
Bob Mottram af919974d7 Trace parameter 2020-12-18 17:49:17 +00:00
Bob Mottram 32477e867b Tidying 2020-12-16 11:29:35 +00:00
Bob Mottram c8e9804b4a Tidying 2020-12-16 10:30:54 +00:00
Bob Mottram 8d29ac3cbe Wrong actor url 2020-12-13 22:32:13 +00:00
Bob Mottram a5597d1dcf Non zero value 2020-12-13 22:28:39 +00:00
Bob Mottram 5fe459e656 Debug 2020-12-13 22:24:41 +00:00
Bob Mottram f1886ddd9c Remove newline 2020-12-13 22:24:02 +00:00
Bob Mottram f3e0d4e17c Strip handle 2020-12-13 22:23:39 +00:00
Bob Mottram 498d903511 Remove newlines 2020-12-13 22:20:28 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram 12cccfdeb6 Populate last seen files on startup 2020-12-13 22:01:10 +00:00
Bob Mottram d34d22dc76 Moving functions out of webapp 2020-11-09 15:40:24 +00:00
Bob Mottram 1f023214ab Wrong file 2020-11-06 18:56:53 +00:00
Bob Mottram a4e7ba2fa8 Tidying 2020-10-24 12:11:14 +01:00
Bob Mottram de99260805 Better handling of non-standard actor paths 2020-10-24 12:07:22 +01:00
Bob Mottram 2ae4150ba1 Check for followers with non-standard paths 2020-10-24 10:58:27 +01:00
Bob Mottram 08883564d1 Check if already following with non-standard actor path 2020-10-24 10:52:12 +01:00
Bob Mottram 92256f20f8 Store full actor if not following /users/ convention 2020-10-24 10:43:00 +01:00
Bob Mottram a2db59371b Allow more users paths 2020-10-24 10:28:21 +01:00
Bob Mottram 87604e6d77 Missing parameter 2020-10-23 20:55:03 +01:00
Bob Mottram fa419cf995 Option to set a maximum number of followers per account 2020-10-23 20:48:59 +01:00
Bob Mottram d6b2360860 Optionally allow news account to be followed without request accept 2020-10-23 20:29:19 +01:00
Bob Mottram b5d492b668 Optionally allow the news account to be followed 2020-10-23 20:18:13 +01:00
Bob Mottram b8e45c868a Tidying 2020-10-23 20:05:17 +01:00
Bob Mottram 014336606d Don't allow the news or shared inbox accounts to be followed 2020-10-08 10:33:14 +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