Commit Graph

184 Commits (436791af740b0bc6228078395d982159155fb55a)

Author SHA1 Message Date
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
Bob Mottram 5dc3e11374 Setting recent posts json after mute 2021-09-28 14:24:57 +01:00
Bob Mottram 31a3aeb2dc Save muted status 2021-09-28 14:11:00 +01:00
Bob Mottram 59dc05b0fc Debug 2021-09-28 12:52:25 +01:00
Bob Mottram 8e2f98e930 Debug 2021-09-28 12:50:48 +01:00
Bob Mottram 43e85cc39c Set muted status before saving 2021-09-28 12:23:29 +01:00
Bob Mottram 450a9faf57 Setting ignores on announces 2021-09-28 12:20:14 +01:00
Bob Mottram 26430b2dfe Debug 2021-09-27 21:49:04 +01:00
Bob Mottram f589b31818 Debug 2021-09-27 21:45:09 +01:00
Bob Mottram 9b21ee570b Remove muted json 2021-09-27 21:06:03 +01:00
Bob Mottram 1bb2bf9cc9 Remove html even if post is not in index 2021-09-27 20:58:22 +01:00
Bob Mottram de23673fa2 Extra debug for mute 2021-09-27 20:44:04 +01:00
Bob Mottram 1328063a95 Remove duplication 2021-09-27 20:42:50 +01:00
Bob Mottram a15e905052 Remove html for muted posts 2021-09-27 20:34:32 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 3a94d7fb41 Exception handling when deleting files
This can fail if a file is manually deleted or deleted in another thread
2021-09-05 11:17:43 +01:00
Bob Mottram 87a7d2e154 Tidying of actor urls 2021-08-14 12:13:39 +01:00
Bob Mottram 2a163cafd0 Muting by conversation ID 2021-08-12 11:22:04 +01:00
Bob Mottram 78fba638c3 Don't block self 2021-08-11 22:21:56 +01:00
Bob Mottram e52dde8027 c2s blocking 2021-08-11 22:10:26 +01:00
Bob Mottram 2782a4b8cf Unfollow when blocking 2021-08-11 22:00:01 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 53f6b637bf Tidying 2021-07-13 16:49:29 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram 7e324702ce Module groups 2021-06-25 17:10:09 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +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 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 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 971ace14a8 Support broch mode within general blocking function 2021-06-21 16:56:55 +01:00
Bob Mottram 7c9fc8dfbb Simpler update of blocking cache 2021-06-21 15:39:05 +01:00
Bob Mottram 7d6b6d95fb Additional ise of blocked domains cache 2021-06-21 15:32:17 +01:00
Bob Mottram 1576db8ae3 Tidying 2021-06-21 12:10:08 +01:00
Bob Mottram 727ba3da6f Handle clock resets 2021-06-21 10:40:43 +01:00
Bob Mottram 2e9d1c93d9 Remove newlines 2021-06-21 10:26:13 +01:00
Bob Mottram 084da8d2a4 Cache blocked domains 2021-06-21 10:22:24 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram fc3a5c664c Function to test for account directories 2021-06-07 10:10:52 +01:00
Bob Mottram 2dd4ec4854 Simplify 2021-06-05 14:42:18 +01:00
Bob Mottram dd8b9da31c Only return true if broch mode lapses 2021-06-05 14:38:57 +01:00
Bob Mottram 46accb7b40 NodeInfo metadata is unavailable during broch mode 2021-05-03 11:17:21 +01:00
Bob Mottram d98dc388d8 Add ignores collection to make mutes visible to c2s 2021-03-21 10:45:24 +00:00
Bob Mottram 44df9eabaf Mute and unmute via c2s 2021-03-20 21:20:41 +00:00
Bob Mottram 0f1b7eb67b Set broch mode on daemon start 2021-02-16 09:50:50 +00:00
Bob Mottram 1adc343ebd Improve test for current broch mode 2021-02-15 23:01:07 +00:00
Bob Mottram df550f8e65 After elapsing set broch mode off in config 2021-02-15 22:53:58 +00:00
Bob Mottram f4fdedba87 Include both following and follower domains within broch 2021-02-15 22:42:16 +00:00
Bob Mottram 6b55ceab12 Broch mode elapses 2021-02-15 22:26:25 +00:00
Bob Mottram 68d3f3ee91 Broch mode 2021-02-15 22:06:53 +00:00
Bob Mottram 721ff8ddf5 Instance level allow list 2021-02-15 21:14:05 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 838d853a59 Tidying of users path detection 2020-12-23 10:57:44 +00:00
Bob Mottram c8e9804b4a Tidying 2020-12-16 10:30:54 +00:00
Bob Mottram 60abb1a0a6 Check for blocked hashtag with hash prefix 2020-12-03 19:51:47 +00:00
Bob Mottram 1caa61c94a Additional block check on short domain 2020-10-29 10:36:38 +00:00
Bob Mottram ee9d9a9dc5 Ability to mirror rss feed content 2020-10-19 20:26:58 +01:00
Bob Mottram 08f62aa32c Tidying 2020-09-05 10:42:52 +01:00
Bob Mottram ac67db1679 Easier way to block domains 2020-09-05 10:41:09 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram cc90910908 Don't show long hashtags 2020-08-07 21:40:53 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram 14433d8534 flake8 format 2020-04-05 10:33:23 +01:00
Bob Mottram 032b168d03 Move functions 2020-04-01 20:13:42 +00:00
Bob Mottram 8dd64c187f flake8 style 2020-04-01 20:06:27 +00:00
Bob Mottram 8b4c1103e7 Tidying 2020-03-30 20:09:45 +01:00
Bob Mottram 36267ac5f4 Faster checking for blocked domains 2020-03-28 10:33:04 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00