Commit Graph

166 Commits (cda663297377c03b0416866f472552874daea442)

Author SHA1 Message Date
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
Bob Mottram 42c2021831 Tidying 2020-03-22 20:59:01 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram da30508d67 Tidying 2020-02-05 17:41:24 +00:00
Bob Mottram 419b5746c7 Check that strings are valid 2020-02-05 17:39:41 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram ad92d8ee08 Tidying 2019-11-03 15:27:29 +00:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram da58015e20 Getting actor if webfinger fails 2019-10-17 16:55:05 +01:00
Bob Mottram 28d30ed497 Check for blocked domains being announced 2019-09-09 17:02:14 +01:00
Bob Mottram a90039b57a Tidying 2019-09-09 16:53:23 +01:00
Bob Mottram cd5af800c2 Allow profile in path 2019-09-09 10:41:31 +01:00
Bob Mottram 8f346fffef Better handling of actor parsing 2019-09-02 10:43:43 +01:00
Bob Mottram 9aa4837775 Check that posts don't contain replies from blocked domains 2019-09-01 20:52:14 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 8bd42b9d59 Store cached actors to file 2019-08-20 10:16:03 +01:00