Commit Graph

331 Commits (ef3e03093a2b1251a20fbe70a55d62eb0af015e1)

Author SHA1 Message Date
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
Bob Mottram d2ca3af3ec Follow logic 2019-07-29 17:13:48 +01:00
Bob Mottram e6c246fc8e Connect new posts to web interface 2019-07-27 23:48:34 +01:00
Bob Mottram 4d7341fb82 Use preferred name when possible 2019-07-22 15:21:49 +01:00
Bob Mottram e4503b7143 Look up avatars for profile screen 2019-07-22 15:09:21 +01:00
Bob Mottram ed6a98af07 Followers and following on profile screen 2019-07-22 12:44:31 +01:00
Bob Mottram f13751603d Store the follower handle 2019-07-20 14:35:58 +01:00
Bob Mottram f2d5e1e05f Store follow requests if manual approval is needed 2019-07-20 14:31:20 +01:00
Bob Mottram c49eee530d Separate follow accept function 2019-07-20 09:33:18 +01:00
Bob Mottram ebcd8d771d Command to list pending follower approvals 2019-07-19 21:16:37 +01:00
Bob Mottram 365b544d87 Sequence 2019-07-19 21:08:02 +01:00
Bob Mottram 3f7a175cac Save follow requests to file 2019-07-19 21:03:50 +01:00
Bob Mottram cb58d62bcc Only show a limited subset of follows/followers to unauthorized viewers 2019-07-19 09:40:51 +01:00
Bob Mottram 982ab616d9 Fix ports on post filenames 2019-07-18 12:35:48 +01:00
Bob Mottram 6b3de06ec7 Test for unfollowing 2019-07-17 12:54:13 +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 f02839e32f Test follow via c2s 2019-07-16 22:38:06 +01:00
Bob Mottram c301f45b33 Move shared inbox account into daemon 2019-07-11 13:29:31 +01:00
Bob Mottram 21a72b59fc Set default capabilities with options 2019-07-09 18:54:08 +01:00
Bob Mottram 76e8167ce7 Updating of capabilities 2019-07-09 15:20:23 +01:00
Bob Mottram 1b10d7ef4b Removed unused capabilities functions 2019-07-09 10:20:04 +01:00
Bob Mottram 5d9f972a5d Resolving recipients 2019-07-08 23:12:24 +01:00
Bob Mottram 08fdf5fa0a Return capability id and account 2019-07-08 18:15:55 +01:00
Bob Mottram 77e2ec39bc Function for getting the followers of an actor 2019-07-08 17:49:12 +01:00
Bob Mottram db68b34cc5 Capability on post is a list 2019-07-08 14:30:04 +01:00
Bob Mottram 3e3e4fec4e Example json 2019-07-07 14:53:12 +01:00
Bob Mottram e9cf9dfc27 Add capabilities to follow requests 2019-07-07 12:53:32 +01:00
Bob Mottram 748ec8078d Missing basedir 2019-07-06 20:54:09 +01:00
Bob Mottram 03ecaf9a8a Follow request test passes 2019-07-06 20:24:52 +01:00
Bob Mottram 755d28f3e1 Add checks for followers and following 2019-07-06 18:15:03 +01:00
Bob Mottram 3a6fe719a9 Reduce some line lengths 2019-07-06 18:00:22 +01:00
Bob Mottram e3be2f4328 Receive follow accept 2019-07-06 16:17:21 +01:00
Bob Mottram 29fba53e9b Sending accept back from follow request 2019-07-06 14:59:16 +01:00
Bob Mottram e760cb8f4f Test for follow request 2019-07-06 14:52:26 +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 f3065516ae Tidy follow request 2019-07-06 10:36:00 +01:00
Bob Mottram b11c8e4735 Return capabilities endpoint 2019-07-05 21:32:21 +01:00
Bob Mottram d257b59c3a Send accept message after follow 2019-07-05 19:57:19 +01:00
Bob Mottram bec891c081 Move function location 2019-07-05 15:39:24 +01:00
Bob Mottram 410010ec2b Functions for counting followers on a domain 2019-07-05 15:25:15 +01:00
Bob Mottram a0499dc95b Function for getting a list of followers 2019-07-05 13:35:29 +01:00
Bob Mottram 86aaff3c84 Option to use dat urls 2019-07-03 20:00:03 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00
Bob Mottram 306f9edf46 Tidying 2019-07-02 21:54:22 +01:00
Bob Mottram 8276f24468 Tidying 2019-07-02 20:05:59 +01:00
Bob Mottram 4166ce5b70 follow request and receive 2019-07-02 19:38:51 +01:00
Bob Mottram 534cea06f8 Receiving follow requests 2019-07-02 19:17:04 +01:00
Bob Mottram f52fea680d Missing quote 2019-07-02 18:20:15 +01:00
Bob Mottram c71de9e83f Create accounts directory 2019-07-02 18:17:29 +01:00
Bob Mottram faaccbe1db Consolidate permissions functions 2019-07-02 11:39:55 +01:00
Bob Mottram d160c060c9 Parameter types 2019-07-01 12:09:09 +01:00
Bob Mottram 006cc3bbb3 Pass base directory as parameter 2019-07-01 10:59:57 +01:00
Bob Mottram 78a3e96434 Port numbers after domain 2019-06-30 20:01:43 +01:00
Bob Mottram f3f62acec5 Return false if a person cannot be followed 2019-06-29 22:13:44 +01:00
Bob Mottram c2983c5217 Use federation list for followers 2019-06-29 21:34:41 +01:00
Bob Mottram 0765d21b24 Following and followers feeds 2019-06-29 21:21:37 +01:00
Bob Mottram 1bd7a40892 following and followers files 2019-06-29 19:23:13 +01:00