Commit Graph

297 Commits (0e8c586bfd0a4e5258b57cbbc80a4432da3b30cf)

Author SHA1 Message Date
Bob Mottram f20eaefa94 Function for accounts data directory 2024-05-12 13:35:26 +01:00
Bob Mottram d0b42d374b When quote toots are enabled individual senders can have them blocked 2024-04-20 14:27:06 +01:00
Bob Mottram 85cc2eb22d Tidying 2024-04-10 13:59:57 +01:00
Bob Mottram 846945832f Lower case 2024-02-11 18:09:08 +00:00
Bob Mottram b638d9623d Blocking handles 2024-02-11 17:50:27 +00:00
Bob Mottram a5a6521c7d Improve support for federated blocks 2024-02-11 13:42:15 +00:00
Bob Mottram 4233310044 Avoid using default paramerers so that static analysis works better 2024-02-11 13:27:52 +00:00
Bob Mottram 0e35ee7f18 Disallow federated blocking of your own domain 2024-02-10 14:49:15 +00:00
Bob Mottram 0e82d56cd0 Try other fields to obtain block strings 2024-02-10 12:21:18 +00:00
Bob Mottram ca0ffdbd6b Federated blocklist enpoint can be a simple list of strings 2024-02-10 12:11:30 +00:00
Bob Mottram dc1c709248 Use debug flag 2024-02-10 11:46:57 +00:00
Bob Mottram de6f415768 Use debug flag 2024-02-10 11:27:24 +00:00
Bob Mottram 79d06dfdfa Remove unused argument 2024-02-10 11:16:06 +00:00
Bob Mottram 00d7012ef9 Remove federated blocks file if endpoints are removed 2024-02-10 10:58:37 +00:00
Bob Mottram 8f07fb95f9 Change headers 2024-02-09 23:49:04 +00:00
Bob Mottram 859d41e869 Loading federated block endpoints 2024-02-09 23:33:13 +00:00
Bob Mottram 6aa13c40b0 Debug 2024-02-09 22:59:48 +00:00
Bob Mottram 4243b81583 Debug 2024-02-09 22:55:15 +00:00
Bob Mottram 399688c06e Debug 2024-02-09 22:52:50 +00:00
Bob Mottram 07ccc9dddd Add debug 2024-02-09 22:29:07 +00:00
Bob Mottram 4238be0745 Load federated blocks from file if needed 2024-02-09 22:23:17 +00:00
Bob Mottram 2ba05bc7ae Use federated block domains 2024-02-09 21:25:40 +00:00
Bob Mottram 7abf819572 Create a daemon to handle federated blocks 2024-02-09 21:00:12 +00:00
Bob Mottram 87f2f94ed3 Beginning of federated blocklists 2024-02-09 18:39:44 +00:00
Bob Mottram a4602fa8d7 Version 1.5.0 2024-01-21 19:01:20 +00:00
Bob Mottram e0ea772681 Enable reading friendica-style actors 2024-01-09 16:59:23 +00:00
Bob Mottram ac3b417b62 Content warnings for military-industrial usa 2023-12-12 18:30:31 +00:00
Bob Mottram d40fde1136 Preparing for utcnow deprecation 2023-11-20 22:27:58 +00:00
Bob Mottram 996d70d74d Comment 2023-09-03 20:18:03 +01:00
Bob Mottram 09b698d02c Blocking reasons file 2023-09-03 20:07:22 +01:00
Bob Mottram ad7bf3c033 Return http codes from get_json 2023-08-13 10:58:02 +01:00
Bob Mottram e227c58ef4 Optionally block military user agents 2023-07-18 15:55:26 +01:00
Bob Mottram 5c4ee4b96c Optionally block military tlds 2023-07-18 15:05:54 +01:00
Bob Mottram beb9f8a033 Optionally supply a reason when using the block button 2023-07-08 11:44:54 +01:00
Bob Mottram d93e780bef Pagination on offers collection 2023-07-05 18:49:34 +01:00
Bob Mottram 97cccda943 Missing parameters 2023-07-05 13:15:00 +01:00
Bob Mottram 5c6a8d7a6d Get blocked collection via commandline 2023-07-05 12:56:02 +01:00
Bob Mottram f252846f7e Blocked collection 2023-07-05 12:16:23 +01:00
Bob Mottram 579a9e88dd Apply blocked nicknames to announces 2023-04-30 10:52:29 +01:00
Bob Mottram a5ac68e698 Fix blocking domain 2023-04-30 10:46:57 +01:00
Bob Mottram 45f561c9ee Global blocks of nicknames 2023-04-30 10:38:20 +01:00
Bob Mottram 163f429575 Check for none 2023-04-29 21:39:32 +01:00
Bob Mottram aa9b2fb1e4 Blocking nicknames at account level 2023-04-29 12:15:07 +01:00
Bob Mottram cec7114709 Block based on nickname 2023-04-29 10:54:29 +01:00
Bob Mottram b12932e075 cwlists in a separate module 2023-03-20 14:50:19 +00:00
Bob Mottram 90a31c45ee Check that the noannounce file exists 2023-03-17 10:18:17 +00:00
Bob Mottram 489082a100 Importing blocks from csv 2023-02-10 18:42:58 +00:00
Bob Mottram f9384492f7 Improve handling of quotes within csv file 2023-02-10 13:38:29 +00:00
Bob Mottram 8198daa3e5 Only split once 2023-02-10 13:16:13 +00:00
Bob Mottram 63a313eb96 Typo 2023-02-10 13:13:05 +00:00
Bob Mottram daea7de461 Export blocked domains as csv 2023-02-10 13:08:41 +00:00
Bob Mottram 50c47b89f8 Import blocked domains from csv 2023-02-10 12:02:10 +00:00
Bob Mottram b91a876b75 v1.4.0 2023-01-21 23:03:30 +00:00
Bob Mottram 008a8d1284 Check that a domain is returned 2023-01-15 14:33:18 +00:00
Bob Mottram 86eb346cf7 'context' is sometimes used to mean the same thing as 'conversation'
This does not appear to be part of the AP spec, but is used in the wild
2023-01-09 11:38:05 +00:00
Bob Mottram 0b6ed0324f Improve checking for content 2023-01-08 22:23:02 +00:00
Bob Mottram 5e28e33dc0 Case insensitive 2022-12-30 21:33:14 +00:00
Bob Mottram 863bf90e25 Not case sensitive 2022-12-30 21:07:19 +00:00
Bob Mottram a6a54607c1 Skip blanks 2022-11-23 19:00:59 +00:00
Bob Mottram 30e515c971 Adding reasons to account level blocks 2022-11-23 18:40:45 +00:00
Bob Mottram c36459f76e Adding account level blocks with reasons 2022-11-23 18:14:46 +00:00
Bob Mottram 738a3faf3c Remove global block reasons 2022-11-23 14:32:11 +00:00
Bob Mottram 7c561a309d Store reasons on global domain blocks 2022-11-23 13:57:38 +00:00
Bob Mottram 8ce0cfcbe1 Update announces allowed 2022-11-08 15:43:26 +00:00
Bob Mottram 6602908522 Ability to block announces from particular accounts or instances 2022-11-08 14:16:19 +00:00
Bob Mottram 762a5bdb3e Check break after walk 2022-07-22 10:58:42 +01:00
Bob Mottram aea6b36cea Also detect titled words 2022-07-18 14:20:03 +01:00
Bob Mottram 65d9b0680a Function for line ending characters 2022-06-21 12:58:50 +01:00
Bob Mottram e1ac8f1ea1 Replace open with text in file function 2022-06-10 14:29:51 +01:00
Bob Mottram 9bab4c1684 Function for checking text in a file 2022-06-10 10:24:11 +01:00
Bob Mottram 72df995204 Tidying 2022-06-09 17:13:16 +01:00
Bob Mottram 5cf0f7ff9a Snake case 2022-06-09 17:06:12 +01:00
Bob Mottram cf27367719 Tidying 2022-06-09 17:05:42 +01:00
Bob Mottram 4308f7501a Explicitly set file encoding 2022-06-09 15:46:30 +01:00
Bob Mottram 5eef7c72e9 Use appropriate session to send follow rejects 2022-06-01 15:26:50 +01:00
Bob Mottram 611c6cab17 Tidying 2022-05-30 13:45:47 +01:00
Bob Mottram cd02056588 Use contentMap within cw list processing 2022-04-13 15:35:11 +01:00
Bob Mottram 4be7edd5f5 Handle incoming edited posts 2022-04-09 16:11:22 +01:00
Bob Mottram 92f3bbb763 Improve user agent blocking 2022-03-31 17:33:21 +01:00
Bob Mottram c395688c18 Improve user agent blocking 2022-03-31 17:14:19 +01:00
Bob Mottram e29d66ddd6 Version 1.3.0 2022-02-03 13:58:20 +00:00
Bob Mottram 1085f97070 Use enumerations 2022-01-08 10:58:54 +00:00
Bob Mottram 1aa79ce198 More checking of variable case 2021-12-30 13:56:38 +00:00
Bob Mottram 507e435a2d Snake case 2021-12-30 10:16:57 +00:00
Bob Mottram 086c760ace Moving to snake case 2021-12-29 21:55:09 +00:00
Bob Mottram 30e04544ae Snake case 2021-12-28 21:55:38 +00:00
Bob Mottram 2c39ccf66a Snake case 2021-12-28 14:01:37 +00:00
Bob Mottram b6ac0d6b24 Snake case 2021-12-27 22:19:18 +00:00
Bob Mottram 3128c724a1 Snake case 2021-12-27 20:38:02 +00:00
Bob Mottram 7e3e299873 Snake case 2021-12-27 19:05:25 +00:00
Bob Mottram 0a1f09175f Snake case 2021-12-27 17:49:35 +00:00
Bob Mottram 355524595c Snake case 2021-12-27 17:46:27 +00:00
Bob Mottram 48f51887b8 Snake case 2021-12-27 11:20:57 +00:00
Bob Mottram 0e87c9a362 Snake case 2021-12-26 23:41:34 +00:00
Bob Mottram 25a4d98cc6 Snake case 2021-12-26 20:36:08 +00:00
Bob Mottram 30120348ee Snake case 2021-12-26 20:01:37 +00:00
Bob Mottram 1684bbbbca Snake case 2021-12-26 19:47:06 +00:00
Bob Mottram bb86551e1c Snake case 2021-12-26 18:46:43 +00:00
Bob Mottram b8a3176154 Snake case 2021-12-26 18:17:37 +00:00
Bob Mottram 73bd65b8a9 Snake case 2021-12-26 17:15:04 +00:00