Commit Graph

2189 Commits (5be6608610b8da71d03a91292db9136ad43e3b5e)

Author SHA1 Message Date
Bob Mottram 55fa97387e Test for system language 2021-08-02 21:03:37 +01:00
Bob Mottram 773208bffd Always get pages for http requests 2021-08-01 20:46:46 +01:00
Bob Mottram efbf3c0178 More debug 2021-08-01 20:43:20 +01:00
Bob Mottram ee365cff13 Returning first page 2021-08-01 20:28:07 +01:00
Bob Mottram 3469850199 Fix removal of post interactions 2021-08-01 20:19:45 +01:00
Bob Mottram 0be2e87ffa Check for outbox in path 2021-08-01 17:39:56 +01:00
Bob Mottram 789a9c374a Page number string 2021-08-01 17:27:10 +01:00
Bob Mottram 0f716bf081 Getting outbox pages 2021-08-01 15:08:02 +01:00
Bob Mottram faa747fc30 Unused endpoints 2021-07-31 21:33:28 +01:00
Bob Mottram e719fb1a16 Mystery endpoint 2021-07-31 21:23:58 +01:00
Bob Mottram 77de16d773 Extra nodeinfo endpoint 2021-07-31 21:16:36 +01:00
Bob Mottram 5c965a57e1 Alternative actor formats 2021-07-31 18:14:25 +01:00
Bob Mottram 4aa692e21d Remove test 2021-07-31 17:40:27 +01:00
Bob Mottram 2f2523212c Test with simplified actor 2021-07-31 17:34:04 +01:00
Bob Mottram d48aff4807 Unit test for following a group 2021-07-31 12:56:28 +01:00
Bob Mottram 71cabd74a2 Unfollowing group handles 2021-07-30 17:06:34 +01:00
Bob Mottram 9f58bb4b6f Change history search prefix so that it can be used for groups 2021-07-29 10:41:44 +01:00
Bob Mottram 7b0c9bc03d Ensure that permissions are enforced when removing shared items 2021-07-28 21:41:57 +01:00
Bob Mottram a77794468a Banner above shared item selected from left column 2021-07-28 20:37:51 +01:00
Bob Mottram 28b3d5b020 Get nickname from path 2021-07-28 20:05:19 +01:00
Bob Mottram 46985b4f0d Left column share links to individual post 2021-07-28 20:00:22 +01:00
Bob Mottram cdb629fd9d Remove debug 2021-07-28 16:15:23 +01:00
Bob Mottram 4b9c826a35 Encode message 2021-07-28 16:13:36 +01:00
Bob Mottram 383bc2f503 Debug 2021-07-28 16:08:42 +01:00
Bob Mottram f8a619a97d Debug 2021-07-28 16:00:28 +01:00
Bob Mottram a5a6f2da89 Removing a shared item 2021-07-28 15:27:20 +01:00
Bob Mottram c41aacba6f Removing share via its itemID 2021-07-28 15:22:06 +01:00
Bob Mottram 4972c68773 Debug 2021-07-28 15:15:54 +01:00
Bob Mottram fd092bd721 Tidying 2021-07-28 11:06:37 +01:00
Bob Mottram 35a1a3ecc9 csv encoding 2021-07-28 11:04:47 +01:00
Bob Mottram ec6820dd9a Item quantity as float 2021-07-28 10:44:19 +01:00
Bob Mottram 44d8afdf41 catalog defaults to json 2021-07-27 22:16:16 +01:00
Bob Mottram c729e85b9e path 2021-07-27 22:08:33 +01:00
Bob Mottram 347d769b0b User access to shared item catalog 2021-07-27 22:04:49 +01:00
Bob Mottram 6e7b508b80 Avoid encode error 2021-07-27 20:53:24 +01:00
Bob Mottram 4f58cc98c1 Replacing colon 2021-07-27 20:48:31 +01:00
Bob Mottram 13443a914d Create directory for shares 2021-07-27 20:03:02 +01:00
Bob Mottram 4cc0bd03d5 Currency placeholder 2021-07-27 19:54:27 +01:00
Bob Mottram f91d93ba05 Debug messages 2021-07-27 19:22:34 +01:00
Bob Mottram dd9f433edb Remove debug 2021-07-27 18:18:03 +01:00
Bob Mottram 3af2a44522 Set domains list 2021-07-27 18:13:44 +01:00
Bob Mottram 92962ad187 Debug 2021-07-27 18:06:44 +01:00
Bob Mottram cc7d7123a7 Field value 2021-07-27 18:01:47 +01:00
Bob Mottram 974b97dc87 Include federated shared items within shares timeline 2021-07-27 15:06:14 +01:00
Bob Mottram 0db65ae069 Convert dfc format to internal shares format 2021-07-27 13:55:44 +01:00
Bob Mottram 4369eac475 Federated shared items catalogs are searchable 2021-07-27 11:59:06 +01:00
Bob Mottram 12011bfdd4 Set shared item federation domains on edit profile screen 2021-07-26 22:01:48 +01:00
Bob Mottram d14055e304 Comments 2021-07-26 19:03:33 +01:00
Bob Mottram a5b97f1d92 Daemon for federating shared items 2021-07-26 18:54:13 +01:00
Bob Mottram c194c3996b Update shared item tokens from inbox posts 2021-07-26 15:41:06 +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 ebac11f502 Invert logic 2021-07-26 13:20:07 +01:00
Bob Mottram d9e32a0719 Alternative enpoint names 2021-07-26 12:33:08 +01:00
Bob Mottram 060efe5851 fast authorization of shared item tokens 2021-07-26 12:24:23 +01:00
Bob Mottram 43d7071ab8 Federation tokens in memory 2021-07-26 12:19:49 +01:00
Bob Mottram 2cfd87d802 Load shared items federation tokens from file 2021-07-26 12:13:59 +01:00
Bob Mottram 3c8e4bb5fb Shared item federation tokens stored as json 2021-07-26 11:00:54 +01:00
Bob Mottram 646254c8a9 Move token generation function 2021-07-26 10:40:51 +01:00
Bob Mottram 4c8b96efc1 Shared item federation uses a simple token 2021-07-26 10:08:36 +01:00
Bob Mottram cf9bffbed7 Generate tokens for shared item federation 2021-07-25 23:47:42 +01:00
Bob Mottram 5ce777eb1b Authentication from shared items federation token list 2021-07-25 22:18:38 +01:00
Bob Mottram f142d9f001 Return http code if not authorized 2021-07-25 15:28:58 +01:00
Bob Mottram 6ee7f2bfbf Return http code if not authorized 2021-07-25 15:27:27 +01:00
Bob Mottram 336c7e8bbb Use file extension to access different catalog formats 2021-07-25 15:19:04 +01:00
Bob Mottram 504101d17e Path on failure 2021-07-25 14:57:45 +01:00
Bob Mottram 102eaf3a00 Comments 2021-07-25 14:47:34 +01:00
Bob Mottram 52e3bc1e8d csv header 2021-07-25 14:43:28 +01:00
Bob Mottram 2c1cd07dcd csv catalog endpoint 2021-07-25 14:30:42 +01:00
Bob Mottram a47faed994 Comment 2021-07-25 14:12:31 +01:00
Bob Mottram dc7851ec6c Authorized access to catalog 2021-07-25 14:09:39 +01:00
Bob Mottram 5421facdb3 Unique share ID for the instance 2021-07-25 10:33:59 +01:00
Bob Mottram 5d5dab6d2f Functions for shares catalog endpoints 2021-07-24 23:08:11 +01:00
Bob Mottram 723e6e7a5e Check for food category before assigning dfc id 2021-07-24 16:05:21 +01:00
Bob Mottram 84bcc6d103 Assign product Ids to shared items 2021-07-24 15:38:43 +01:00
Bob Mottram 67747bad72 Add quantity to shared items 2021-07-24 12:30:46 +01:00
Bob Mottram a3fbea9a69 Validate passwords 2021-07-20 21:39:26 +01:00
Bob Mottram 1544e526c4 Ensure that line endings are removed from changed password 2021-07-20 15:39:43 +01:00
Bob Mottram bb3de9e173 Handling of understood languages prior to automatic translation 2021-07-20 14:33:27 +01:00
Bob Mottram 8f29e1a557 Remove html prior to automatic translation 2021-07-20 11:13:22 +01:00
Bob Mottram 223ee5a5f5 Tidying 2021-07-20 09:41:46 +01:00
Bob Mottram 845740bb01 Fields for changing password 2021-07-20 09:38:39 +01:00
Bob Mottram 3136f428d3 Only show libretranslate options to admin account 2021-07-19 20:58:06 +01:00
Bob Mottram 79b356a374 Support for libretranslate 2021-07-19 20:40:04 +01:00
Bob Mottram 33ce8fbfb5 Use cached actors when checking understood languages
This improves speed by reducing disk reads
2021-07-19 09:46:21 +01:00
Bob Mottram f48b63a892 Check that language for incoming post is understood by the account 2021-07-18 19:33:53 +01:00
Bob Mottram c0a3dd459b Setting permitted post languages on edit profile screen 2021-07-18 19:02:36 +01:00
Bob Mottram 50096bff11 Improve handling of contentMap within posts 2021-07-18 15:15:16 +01:00
Bob Mottram e3e1716f1f Support for contentMap when creating html posts 2021-07-18 12:48:29 +01:00
Bob Mottram 9daac007f7 contentMap language for pinned posts 2021-07-18 11:47:55 +01:00
Bob Mottram f5cbc7f8ee Support language within contentMap 2021-07-18 10:55:49 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram ba77de00b2 Comment 2021-07-12 10:42:08 +01:00
Bob Mottram 13ba1565fa Comment 2021-07-12 10:41:04 +01:00
Bob Mottram 94fb8e5c81 Method name 2021-07-12 10:39:15 +01:00
Bob Mottram 7c270019b0 Only quote tags 2021-07-12 10:27:57 +01:00
Bob Mottram bdda8c9bf4 Quoted redirects 2021-07-12 10:19:53 +01:00
Bob Mottram 4b7ce92ae7 Quoted redirects 2021-07-12 10:18:15 +01:00
Bob Mottram 3231f3356b Error handling for redirect location 2021-07-12 09:59:58 +01:00
Bob Mottram 4a0dd19475 Don't encode 2021-07-12 09:48:14 +01:00
Bob Mottram 3713e9943f Encode redirects 2021-07-12 09:45:36 +01:00
Bob Mottram e8553eb192 Tidying 2021-07-09 21:53:49 +01:00
Bob Mottram d1b1e18af4 Prepend image 2021-07-09 21:26:33 +01:00
Bob Mottram 266eb1af47 Tidying 2021-07-09 21:24:56 +01:00
Bob Mottram 8a1e196b15 Tidying 2021-07-09 21:19:18 +01:00
Bob Mottram dddf2bb57f Checking for images 2021-07-09 21:12:46 +01:00
Bob Mottram c8b39b0449 Check string types 2021-07-09 21:00:02 +01:00
Bob Mottram 19bd991fee Show local post on notification 2021-07-07 13:26:38 +01:00
Bob Mottram d512b23216 Comments 2021-07-07 13:00:35 +01:00
Bob Mottram 5f09f52c9f Tidying of individual post functions 2021-07-07 12:52:25 +01:00
Bob Mottram f6355632ec Less indentation 2021-07-07 12:31:43 +01:00
Bob Mottram e65ad3bcc2 Tidying 2021-07-07 12:03:16 +01:00
Bob Mottram 71c2794a19 Optional notifications for the arrival of posts from low frequency follows 2021-07-06 21:38:08 +01:00
Bob Mottram cc6ce5ee2b Blocked user agents list 2021-07-02 22:14:20 +01:00
Bob Mottram ba126be369 Block user agents from edit profile screen 2021-07-02 21:57:21 +01:00
Bob Mottram 5d38503baa Deprecate events
Mobilizon does it in a different way
2021-07-01 22:30:36 +01:00
Bob Mottram 1515ef0bc9 DM post arguments 2021-07-01 22:05:22 +01:00
Bob Mottram d24a517942 Followers only post arguments 2021-07-01 21:58:16 +01:00
Bob Mottram e1e545506d Unlisted post arguments 2021-07-01 21:54:33 +01:00
Bob Mottram 2919417e59 Fix blog post arguments 2021-07-01 21:50:18 +01:00
Bob Mottram ccddb3c765 dat becomes hyper 2021-07-01 18:59:24 +01:00
Bob Mottram 96a58c4428 Duplicate function 2021-07-01 11:04:14 +01:00
Bob Mottram 0627c10996 Tidying of image formats 2021-07-01 10:51:16 +01:00
Bob Mottram df3de68e52 Don't block crawlers on news instances 2021-06-28 18:28:57 +01:00
Bob Mottram 784aca35f3 Don't block crawlers on news instances 2021-06-28 18:28:14 +01:00
Bob Mottram 29cb994b31 cwtch address in profile 2021-06-27 12:48:03 +01:00
Bob Mottram a194ada543 Module groups 2021-06-26 12:16:41 +01:00
Bob Mottram 7e324702ce Module groups 2021-06-25 17:10:09 +01:00
Bob Mottram d1426a2afd Separate module for minimal button 2021-06-25 16:41:31 +01:00
Bob Mottram 7c0b0fb195 Debug message for broken pipe 2021-06-22 21:51:16 +01:00
Bob Mottram ffd0e15fa2 Ignore broken pipe on write 2021-06-22 17:11:18 +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 b4783c510d Spaces 2021-06-22 13:29:17 +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 31a6dbd657 Handle broken pipe error 2021-06-21 17:38:00 +01:00
Bob Mottram 7209d23ae7 Show more information about errors 2021-06-21 17:32:28 +01:00
Bob Mottram 7d6b6d95fb Additional ise of blocked domains cache 2021-06-21 15:32:17 +01:00
Bob Mottram 9cb89aea90 Slower blocking cache update 2021-06-21 10:38:06 +01:00
Bob Mottram 67ce8e7ece Use blocked cache 2021-06-21 10:27:40 +01:00
Bob Mottram 084da8d2a4 Cache blocked domains 2021-06-21 10:22:24 +01:00
Bob Mottram 0b2b4de64e Block message 2021-06-20 18:50:43 +01:00
Bob Mottram 90d5d04090 Ability to block user agents 2021-06-20 18:48:50 +01:00
Bob Mottram 3030ddcd50 Tidying 2021-06-20 18:04:29 +01:00
Bob Mottram 02b53231b9 Check in lower case 2021-06-20 17:12:19 +01:00
Bob Mottram b45d034332 Reject obvious bots 2021-06-20 17:10:08 +01:00