Commit Graph

2092 Commits (8beca9c3b4e899965df004501b0c8b5710511f5c)

Author SHA1 Message Date
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
Bob Mottram f5930daf41 Expect a user agent 2021-06-20 16:59:16 +01:00
Bob Mottram 0068b2b8cd Unit test for user agent domain 2021-06-20 16:45:29 +01:00
Bob Mottram af556dc134 Show blocked user agents 2021-06-20 16:28:23 +01:00
Bob Mottram 746cc362e6 Show user agent domain in debug 2021-06-20 16:00:07 +01:00
Bob Mottram 072b690f31 User-Agent domain detection 2021-06-20 15:51:03 +01:00
Bob Mottram 1b125711e5 Show user-agent domain 2021-06-20 15:45:39 +01:00
Bob Mottram 4decc56a37 Check user agent domain against calling domain 2021-06-20 15:23:20 +01:00
Bob Mottram 3f653dc90b Check User-Agent during POST 2021-06-20 15:16:04 +01:00
Bob Mottram c76a10480c Check user agent domain is not blocked 2021-06-20 14:25:18 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram 1224540e2c Max age of zero 2021-06-12 23:38:56 +01:00
Bob Mottram f20fcdb300 Tidying 2021-06-12 22:14:00 +01:00
Bob Mottram a9ab1873cd Remove robots 2021-06-12 22:09:10 +01:00
Bob Mottram 38e7dd1898 Extra cache control 2021-06-12 21:16:31 +01:00
Bob Mottram 7659ad2887 Remove expires header 2021-06-12 19:11:44 +01:00
Bob Mottram cf47c90e2c Add expires header 2021-06-12 18:32:14 +01:00
Bob Mottram 6ada1e5668 Restore headers
They're not preventing avatar images from showing
2021-06-12 12:43:41 +01:00
Bob Mottram b11965ca70 No accept ranges 2021-06-11 17:01:19 +01:00
Bob Mottram 4d849f33a8 Change paths for avatars and backgrounds to be similar to Mastodon icon/image 2021-06-10 10:37:44 +01:00
Bob Mottram ec61f16d2e forward or forwarded 2021-06-09 17:35:22 +01:00
Bob Mottram bb3847481f X-Forward 2021-06-09 17:34:21 +01:00
Bob Mottram 1929f97bf4 Option to log login failures to file 2021-06-09 16:19:30 +01:00
Bob Mottram 685ed0c22e Tidying 2021-06-09 15:27:35 +01:00
Bob Mottram f4b0491c34 Get forwarded IP address 2021-06-09 15:01:26 +01:00
Bob Mottram fde879b998 Show failed login attempts 2021-06-09 14:44:31 +01:00
Bob Mottram 194d801af8 Rename variable 2021-06-09 11:11:32 +01:00
Bob Mottram b7d0a83ac4 Extra delay between failed login attempts 2021-06-09 11:09:28 +01:00
Bob Mottram 4899fdea28 More general test for authorized paths 2021-06-07 20:33:54 +01:00
Bob Mottram f1e3a2591c Move function out of daemon 2021-06-07 20:23:48 +01:00
Bob Mottram 2eb101823d Move function out of daemon 2021-06-07 20:18:13 +01:00
Bob Mottram a9f7d38513 Move mastodon API response out of daemon 2021-06-07 20:10:37 +01:00
Bob Mottram ec7f86394c Move set minimal function out of daemon 2021-06-07 19:19:07 +01:00
Bob Mottram dd2f918294 Move minimal function out of daemon 2021-06-07 19:13:48 +01:00
Bob Mottram 54f4e290f3 Move functions out of daemon 2021-06-07 18:55:25 +01:00
Bob Mottram 84d6e50820 Move function out of daemon 2021-06-07 18:49:10 +01:00
Bob Mottram d7266136cc Additional validation prior to inbox queue
This allows AP bogons to be dropped before they hit the disk
2021-06-07 11:03:04 +01:00
Bob Mottram fc3a5c664c Function to test for account directories 2021-06-07 10:10:52 +01:00
Bob Mottram 1fba7b1b37 Less indentation 2021-06-05 13:43:57 +01:00
Bob Mottram 74f2103cc7 Unify permission to publish metadata 2021-06-05 10:22:35 +01:00
Bob Mottram 1d3ff5f628 Remove X-robots 2021-05-31 22:51:30 +01:00
Bob Mottram a9e6c0a533 Remove cache control 2021-05-31 22:43:15 +01:00
Bob Mottram f2954c463f Cache control header 2021-05-31 22:31:06 +01:00
Bob Mottram a68c76a40f No referrer policy 2021-05-31 22:16:51 +01:00
Bob Mottram 2a62dd7e26 Compare using custom submit button text 2021-05-30 18:55:19 +01:00
Bob Mottram d8dff6e804 Custom new post submit button text 2021-05-30 18:38:41 +01:00
Bob Mottram c2a77fdd44 Access keys on edit profile screen 2021-05-30 15:27:26 +01:00
Bob Mottram e7ae1c0561 Importing themes 2021-05-29 12:04:03 +01:00
Bob Mottram a8351756d2 Domain variable 2021-05-28 23:16:34 +01:00
Bob Mottram 55c3c85cf4 Getting exported theme 2021-05-28 23:14:44 +01:00
Bob Mottram 451fbd7f42 Saving theme 2021-05-28 22:52:32 +01:00
Bob Mottram 74116db628 Test for exported theme 2021-05-28 22:46:42 +01:00
Bob Mottram b168fde295 Link to exported theme 2021-05-28 22:39:34 +01:00
Bob Mottram dd347d7c17 Custom emoji endpoint 2021-05-27 23:08:49 +01:00
Bob Mottram e5111dd126 Don't show connection resets 2021-05-20 13:44:49 +01:00
Bob Mottram 2c348f3edf Improve error reporting 2021-05-20 13:04:05 +01:00
Bob Mottram 859ec14ed7 Consistent error message 2021-05-20 12:43:26 +01:00
Bob Mottram cfbd7f86eb Indicate the orifin of the error 2021-05-20 12:41:34 +01:00
Bob Mottram 0c5b44be09 Check authorization 2021-05-20 11:56:11 +01:00
Bob Mottram c6f65aed6a Indicate path for attempted deletes 2021-05-20 11:30:05 +01:00
Bob Mottram bbde34144f Clearing cache when new like is received 2021-05-19 20:35:07 +01:00
Bob Mottram 7a78f8e7d8 Graphic design section on edit profile screen 2021-05-17 18:52:33 +01:00
Bob Mottram da07855e97 Artist role 2021-05-17 17:13:56 +01:00
Bob Mottram 8d6e5812be Get skills list 2021-05-16 18:26:04 +01:00
Bob Mottram 65b0a6b728 Change how roles are represented 2021-05-16 16:10:39 +01:00
Bob Mottram 648666d741 Include spoofed city within person metadata 2021-05-16 10:20:24 +01:00
Bob Mottram 818a920365 Semantic markup for blog posts 2021-05-15 20:39:34 +01:00
Bob Mottram ef5b5d7869 Change function name 2021-05-14 21:02:55 +01:00
Bob Mottram e44ed60ffc roleName becomes a list 2021-05-14 18:56:26 +01:00
Bob Mottram 2c70942481 Convert skills to a list 2021-05-14 18:41:05 +01:00
Bob Mottram 80203466b6 Include metadata on about screen 2021-05-14 12:56:23 +01:00
Bob Mottram 5458aca794 Accessibility metadata on login screen 2021-05-14 12:27:08 +01:00
Bob Mottram 7e48beb0fe Remove role delegation
The keeps the handling of roles very simple
2021-05-13 20:58:16 +01:00
Bob Mottram 57015d6000 Unit tests for skills functions 2021-05-13 15:13:27 +01:00
Bob Mottram 40ed35c239 Skill value 2021-05-13 14:31:42 +01:00
Bob Mottram 0cc86dc131 More standards compliant representation of skills 2021-05-13 14:27:35 +01:00
Bob Mottram 31bed2bdc5 Tidying 2021-05-13 12:19:31 +01:00
Bob Mottram 0f0818994e More standard occupation property 2021-05-13 12:14:14 +01:00
Bob Mottram 4a49ec40e1 Line length 2021-05-12 19:37:58 +01:00
Bob Mottram f1e2f696e8 Remove any html from occupation 2021-05-12 19:37:30 +01:00
Bob Mottram 802136dfba Use variable 2021-05-12 19:34:49 +01:00
Bob Mottram 68fe0ed4f8 Show occupation on profile screen 2021-05-12 19:31:41 +01:00
Bob Mottram c4e367bd6d Occupation on edit profile screen 2021-05-12 19:11:53 +01:00
Bob Mottram 0493405f26 Add city model 2021-05-10 11:46:45 +01:00
Bob Mottram f22e6ee20a Dropdown for spoofed city 2021-05-09 22:21:45 +01:00
Bob Mottram 05f1ada1c1 Spoof gps metadata on images 2021-05-09 20:11:05 +01:00
Bob Mottram d8b882c10f Option to spoof image metadata 2021-05-09 13:17:55 +01:00
Bob Mottram 8623be6939 Locating announce 2021-05-08 16:16:58 +01:00
Bob Mottram bba25d8417 Remove original announce post when unannouncing 2021-05-08 14:14:52 +01:00
Bob Mottram fd51d6322d Tidying 2021-05-04 13:23:52 +01:00
Bob Mottram 8b476f745d Declate before use 2021-05-04 13:04:31 +01:00
Bob Mottram 4b82938b7c Tidying 2021-05-04 11:17:06 +01:00
Bob Mottram eeeec16297 Include documents within nodeinfo 2021-05-04 10:39:15 +01:00
Bob Mottram ea588262ef Bookmarks search 2021-05-03 23:31:06 +01:00
Bob Mottram 501885f5bb Instance metadata options in profile settings 2021-05-03 11:59:28 +01:00
Bob Mottram 46accb7b40 NodeInfo metadata is unavailable during broch mode 2021-05-03 11:17:21 +01:00
Bob Mottram fc6e85b6ca Make the display of account and version info within nodeinfo metadata opt-in 2021-05-03 11:05:05 +01:00
Bob Mottram aed2713c5c Test for removing post interactions 2021-04-30 12:45:46 +01:00