Commit Graph

309 Commits (57b96c6c33f4e58bccb3bcfcd2ce575c66d60f90)

Author SHA1 Message Date
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
Bob Mottram b1672fb9d5 Return lists 2020-09-25 15:14:59 +01:00
Bob Mottram 351cb6ad14 Filenames for followers 2020-09-25 14:33:44 +01:00
Bob Mottram e5eaf42a36 Move functions 2020-09-25 14:21:56 +01:00
Bob Mottram 1655a68c7c Move function 2020-09-25 13:46:06 +01:00
Bob Mottram bdb5fa5804 Function for non-mutuals 2020-09-25 10:20:58 +00:00
Bob Mottram 99893e5e23 Don't insist on lowercase handle 2020-09-15 10:16:03 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +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 360b1be9c3 Case insensitive unfollowing 2020-07-14 22:48:39 +01:00
Bob Mottram 838541a0da Use lower case 2020-07-14 21:55:47 +01:00
Bob Mottram 295f2accf8 Button to follow liker 2020-07-14 10:09:33 +01:00
Bob Mottram ee70877aeb Check that webfinger returns a dict 2020-06-23 11:41:12 +01:00
Bob Mottram 7a22130837 Handling of i2p secondary domains 2020-06-03 21:21:44 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram 4608678cae Support hypercore protocol 2020-05-17 10:37:59 +01:00
Bob Mottram a4f824b02d Tidying 2020-04-15 22:45:00 +01:00
Bob Mottram 283a4d54c1 flake8 format 2020-04-03 11:38:44 +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 ca5c0d5f20 Fix network unit test 2020-03-02 21:28:22 +00:00
Bob Mottram 00db8a10d0 Wrong filename 2020-02-22 11:04:08 +00:00
Bob Mottram 4db44418be Add unfollowed file
This prevents received follow accepts from refollowing after an unfollow
2020-02-22 10:50:07 +00:00
Bob Mottram 7e8d59e85c Messages 2020-02-19 12:51:14 +00:00
Bob Mottram cdc2b67bc7 Function for finding mutuals 2020-01-13 16:06:31 +00:00
Bob Mottram 031b788aad Follow requests counter 2020-01-08 15:07:14 +00:00
Bob Mottram 4298de739e Limit the number of manual follow requests 2020-01-03 16:52:31 +00:00
Bob Mottram a82a12418e Timestamp links to post 2020-01-02 22:42:06 +00:00
Bob Mottram a5dffaa5f7 Remember manual follow approvals 2019-12-31 09:23:41 +00:00
Bob Mottram d1493585bc Follow file not strictly required for approval 2019-12-29 13:19:51 +00:00
Bob Mottram 10fde1cb21 Improve manual follow approval 2019-12-29 12:59:13 +00:00
Bob Mottram fbdad05971 Consistent variable name 2019-12-16 10:19:21 +00:00
Bob Mottram b6c2a13390 Remove follow request json after reject 2019-12-16 10:12:44 +00:00
Bob Mottram decafa082d Fix sending of follow rejects 2019-12-16 10:01:57 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram ebea9dd805 Don't use lower case 2019-10-30 21:44:16 +00:00
Bob Mottram 841367fa76 prepend to follow/followers files 2019-10-26 16:15:38 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram db621abb6f Following single user instances 2019-10-21 15:12:22 +01:00
Bob Mottram a29af6581e Receiving follow requests from single user instances 2019-10-21 13:27:47 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram da58015e20 Getting actor if webfinger fails 2019-10-17 16:55:05 +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 dfa183a69b Missing debug 2019-10-15 10:12:58 +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 42a1b4882e Move function to follow send 2019-10-06 11:34:40 +01:00
Bob Mottram 36ffe273be Tidying 2019-10-06 10:57:49 +01:00
Bob Mottram 49a044a2a7 Remove any follow requests rejected for the account being followed 2019-10-06 10:53:53 +01:00
Bob Mottram 9ed20c111e Tidying 2019-10-06 10:48:37 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram faa0b2a8b5 Avoid duplication 2019-09-18 20:10:53 +01:00
Bob Mottram d76c2b8b22 Reverse logic 2019-09-18 20:05:08 +01:00
Bob Mottram 2dcf6a9af1 Don't store follow request if it has already been denied 2019-09-18 20:01:07 +01:00
Bob Mottram 7f9b9c5c92 Typo 2019-09-18 18:31:14 +01:00
Bob Mottram 5e57bf191b Remove from follow requests 2019-09-18 18:30:19 +01:00
Bob Mottram 58579f48a2 Remove handle from follow requests 2019-09-18 18:04:19 +01:00
Bob Mottram 2dbd187031 Send reject activity on manual follow reject 2019-09-09 13:19:00 +01:00
Bob Mottram cd5af800c2 Allow profile in path 2019-09-09 10:41:31 +01:00
Bob Mottram f551325644 Avoid repeated follow approval requests 2019-09-09 09:50:28 +01:00
Bob Mottram 8f346fffef Better handling of actor parsing 2019-09-02 10:43:43 +01:00
Bob Mottram d217762b5e Fix adding followers without approval 2019-09-01 21:28:43 +01:00
Bob Mottram dd450ce413 Remove stars 2019-09-01 21:03:20 +01:00
Bob Mottram b1e6df06a2 Reverse logic 2019-08-31 16:46:38 +01:00
Bob Mottram 64a98b8785 Capital 2019-08-31 16:43:19 +01:00
Bob Mottram 4e0120929c Misleading method name 2019-08-31 16:17:07 +01:00
Bob Mottram 6667e94021 Extra print 2019-08-31 15:42:35 +01:00
Bob Mottram 0ba7f4e8b9 Following 2019-08-31 13:25:42 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram 32127cae18 Check if already a follower 2019-08-26 23:38:09 +01:00
Bob Mottram 91a66a6972 Return true to prevent further follow attempts 2019-08-26 19:41:35 +01:00
Bob Mottram 377940a31f Shared inbox actor on @domain@domain 2019-08-23 14:47:29 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 8bd42b9d59 Store cached actors to file 2019-08-20 10:16:03 +01:00
Bob Mottram f8cc1873d4 Fixing tests 2019-08-18 10:39:12 +01:00
Bob Mottram fe86fe6bf0 Show followers number 2019-08-17 12:48:12 +01:00
Bob Mottram fb5198d2f6 Follow activities 2019-08-16 22:52:11 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +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 4d34d8a3f6 Follow debug 2019-08-15 17:05:28 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram 187de1f95a Accounts 2019-08-07 12:49:38 +01:00
Bob Mottram 54ebf29e45 Obtain nickname 2019-08-04 22:25:19 +01:00
Bob Mottram cdba45bd68 Unfollowing from web interface 2019-07-29 21:36:26 +01:00
Bob Mottram 4bdd930454 Show unfollow if already following 2019-07-29 20:46:30 +01:00