Commit Graph

1944 Commits (0b2b4de64e66981182e482f05946864a6d0064e7)

Author SHA1 Message Date
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