Commit Graph

256 Commits (2fcef654a61d4b353b4f622eeb1d95a8654a3fa9)

Author SHA1 Message Date
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
Bob Mottram b71d662d8e Snake case 2021-12-26 17:12:07 +00:00
Bob Mottram a16202afbe Snake case 2021-12-26 15:54:46 +00:00
Bob Mottram 0a2cb81a29 Snake case 2021-12-26 15:13:34 +00:00
Bob Mottram dee60be26b Snake case 2021-12-26 14:47:21 +00:00
Bob Mottram cdf7fbd8ac Snake case 2021-12-26 13:17:46 +00:00
Bob Mottram 79dabfa8fc Snake case 2021-12-26 12:45:03 +00:00
Bob Mottram 8f97b42fd4 Snake case 2021-12-26 12:19:00 +00:00
Bob Mottram a151710ce2 Snake case 2021-12-26 12:02:29 +00:00
Bob Mottram 594b3beb55 Snake case 2021-12-26 10:57:03 +00:00
Bob Mottram 963ed4aa1f Snake case 2021-12-26 10:19:59 +00:00
Bob Mottram 6abe5d83fe Snake case 2021-12-26 10:00:46 +00:00
Bob Mottram 49308fbcb5 Snake case 2021-12-25 23:51:19 +00:00
Bob Mottram 7b41bcb5a1 Snake case 2021-12-25 23:26:38 +00:00
Bob Mottram 4479027aef Snake case 2021-12-25 22:09:19 +00:00
Bob Mottram b028216dfd Snake case 2021-12-25 18:38:19 +00:00
Bob Mottram 5afc4e9e9b Snake case 2021-12-25 18:12:13 +00:00
Bob Mottram 49e7432076 Snake case 2021-12-25 17:09:22 +00:00
Bob Mottram acc780e780 Snake case 2021-12-25 16:17:53 +00:00
Bob Mottram 8c0c6b08ff Exception variable names 2021-12-25 15:28:52 +00:00
Bob Mottram cb0675cf5e File reading exception handling 2021-11-26 12:28:20 +00:00
Bob Mottram 10f24bcc2d Exception prefix 2021-11-25 22:22:54 +00:00
Bob Mottram a2b4efcaaf File write exceptions 2021-11-25 21:18:53 +00:00
Bob Mottram 6953b2cd43 More specific exceptions 2021-11-25 18:42:38 +00:00
Bob Mottram 8c4c1782ad Exceptions when file handling 2021-11-25 17:01:01 +00:00
Bob Mottram 99ae054cf2 Adding debug to exceptions 2021-10-29 17:31:20 +01:00
Bob Mottram e89538de47 Avoid default param, which makes static analysis harder 2021-10-29 15:49:13 +01:00
Bob Mottram 68ad5840eb Show warnings for exceptions 2021-10-29 15:48:24 +01:00
Bob Mottram d2a4444c7e Tidying 2021-10-21 20:19:44 +01:00
Bob Mottram 9ecb745d3d Load all lists and then enable them selectively 2021-10-21 20:00:25 +01:00
Bob Mottram 6a4cb89f58 Check that there are some lists enabled 2021-10-21 15:41:05 +01:00
Bob Mottram b91c6282c7 Configuration parameter for enabling cw lists 2021-10-21 14:36:40 +01:00
Bob Mottram 18d1c54fea Apply cw from lists 2021-10-21 14:08:21 +01:00
Bob Mottram d16942976b cw lists can contain words and domains 2021-10-21 12:17:26 +01:00
Bob Mottram b8c957eb38 Load cw lists at startup 2021-10-21 12:13:24 +01:00
Bob Mottram 198381e99a Tidying 2021-10-13 12:15:06 +01:00
Bob Mottram b8fbc8057b Tidying 2021-10-13 11:37:52 +01:00
Bob Mottram 614e274e24 Tidying 2021-10-13 11:11:02 +01:00
Bob Mottram 8e6084d42d Function to check for presence of actor in activity 2021-10-13 10:33:15 +01:00
Bob Mottram 266bdc0fe5 Delete cached post for muted announces 2021-09-28 17:32:54 +01:00
Bob Mottram 29ac6e95ff Remove cached json for muted announce 2021-09-28 16:48:14 +01:00
Bob Mottram d3e341b594 Also remove cached html for cached referenced post in announce 2021-09-28 16:15:13 +01:00