Commit Graph

228 Commits (a580cf8658dd9414f3e5aaa658ce268e5823f9dc)

Author SHA1 Message Date
Bob Mottram cfaf5a5792 Deprecate blurhashes
They were computationally expensive, and similar functionality could be achieved in a simpler way with css
2021-01-07 15:38:55 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram bb31ce37cd is_alive replaces isAlive 2020-12-18 15:29:12 +00:00
Bob Mottram 6ec956e312 Tidying 2020-12-16 11:04:46 +00:00
Bob Mottram 5335a3513c Tidying 2020-12-11 10:22:20 +00:00
Bob Mottram 1b9989bcd3 Missing parameter 2020-12-02 17:02:32 +00:00
Bob Mottram 88cc48480f Tidying 2020-11-22 20:41:01 +00:00
Bob Mottram 3812131758 Test 2020-11-22 20:28:32 +00:00
Bob Mottram 7a01f422cf Set a maximum number of posts to appear in the newswire column 2020-11-22 11:48:53 +00:00
Bob Mottram 5364b71616 Option to allow access to the local network
This might be useful for mesh networks or private networks
2020-11-20 10:58:49 +00:00
Bob Mottram 5c42d47f55 Newswire links directly to sources 2020-11-08 18:29:01 +00:00
Bob Mottram d6b22535f7 Comments 2020-11-08 16:52:57 +00:00
Bob Mottram 9c1c790fd5 Newswire links directly to sources 2020-11-08 16:50:50 +00:00
Bob Mottram 2855af6025 Extra removal 2020-11-08 10:54:29 +00:00
Bob Mottram 6631c04551 Save only if newswire exists 2020-11-03 21:53:29 +00:00
Bob Mottram 2529bce3af Improve session messages 2020-11-03 16:10:54 +00:00
Bob Mottram 0e9bb51985 Re-establish session for newswire if needed 2020-11-03 16:08:31 +00:00
Bob Mottram c8858f871a Check the size of individual rss/atom feed items 2020-11-03 16:04:25 +00:00
Bob Mottram 4c1553e1e7 Check newswire for no return value 2020-11-03 14:41:28 +00:00
Bob Mottram 38b82391b0 Simplify 2020-10-25 14:37:51 +00:00
Bob Mottram cc5884a274 Avoid multiple stores 2020-10-25 14:21:29 +00:00
Bob Mottram 44d48edbc0 Check number of tags 2020-10-25 12:57:14 +00:00
Bob Mottram e5c436fa3f Avoid duplication 2020-10-25 12:22:09 +00:00
Bob Mottram fce789c2e9 Avoid duplication 2020-10-25 12:17:59 +00:00
Bob Mottram 8aecc5827b Avoid matching hashtags with contains operator 2020-10-25 12:15:41 +00:00
Bob Mottram 15cf3f9ee0 Add all hashtags to posts imported from feeds 2020-10-25 12:00:55 +00:00
Bob Mottram 006908c30c Update hashtags after processing 2020-10-25 11:22:52 +00:00
Bob Mottram 742d112018 Hashtag backgrounds 2020-10-23 18:13:02 +01:00
Bob Mottram e521a95e18 Limit the maximum number of hashtags imported from newswire feeds 2020-10-23 15:41:29 +01:00
Bob Mottram 32758ffe62 Option to archive news posts 2020-10-21 11:39:09 +01:00
Bob Mottram 89a9b8d7b3 From operator in hashtag rules 2020-10-20 18:37:15 +01:00
Bob Mottram 77fd759adf Remove escaped html from feeds 2020-10-20 14:07:02 +01:00
Bob Mottram ee76750305 Set content without parsing 2020-10-20 13:49:12 +01:00
Bob Mottram 456b4202b1 Convert dates with offset 2020-10-20 13:37:32 +01:00
Bob Mottram c9f3d21b41 Support xor in hashtag rules 2020-10-20 10:43:30 +01:00
Bob Mottram ddadcf1f8b Onion instances mirror via tor 2020-10-20 10:27:58 +01:00
Bob Mottram 302e1ed036 Handle trailing slashes 2020-10-19 23:21:30 +01:00
Bob Mottram 5297eb1b64 Add index 2020-10-19 23:17:06 +01:00
Bob Mottram 3e08f63cdb News mirror path 2020-10-19 22:19:22 +01:00
Bob Mottram b9fc4bbf6e Modify mirrored news links 2020-10-19 21:43:27 +01:00
Bob Mottram ee9d9a9dc5 Ability to mirror rss feed content 2020-10-19 20:26:58 +01:00
Bob Mottram 9391fa57c9 Option for maximum mirrored articles 2020-10-19 17:33:58 +01:00
Bob Mottram ee6b6b7662 Remove from recent posts cache when clearing post 2020-10-18 21:06:52 +01:00
Bob Mottram 20dd5e069a Clear post from caches before updating 2020-10-18 17:19:28 +01:00
Bob Mottram 2132b01950 Fix tag resolver 2020-10-18 16:10:36 +01:00
Bob Mottram b5541563eb Indentation 2020-10-18 14:31:50 +01:00
Bob Mottram cd7221ddf2 Indentation 2020-10-18 13:56:22 +01:00
Bob Mottram 574dc9d975 Indentation 2020-10-18 13:53:23 +01:00
Bob Mottram 43096d087a Remove condition 2020-10-18 11:35:25 +01:00
Bob Mottram ab48e6d456 Getting tags from posts 2020-10-18 10:28:43 +01:00
Bob Mottram 10d4010cd8 Adding and removing tags 2020-10-18 10:19:38 +01:00
Bob Mottram 651f2b41e4 Example hashtag rule 2020-10-17 20:06:56 +01:00
Bob Mottram 9cb5df52d5 Case insensitive matching for hashtag rules 2020-10-17 20:04:39 +01:00
Bob Mottram da9810e186 Example logic 2020-10-17 19:53:08 +01:00
Bob Mottram dd580be52f Hashtag logic can test for post content 2020-10-17 19:49:43 +01:00
Bob Mottram f934f54528 Test for moderated feed 2020-10-17 18:36:10 +01:00
Bob Mottram aa1017b3a8 Typo 2020-10-17 17:46:21 +01:00
Bob Mottram 30f4a03b5c Blocking news posts with hashtag interpreter 2020-10-17 17:24:47 +01:00
Bob Mottram 22fcc7be06 Apply word filter to newswire 2020-10-17 17:08:07 +01:00
Bob Mottram 18f8643725 Add hashtags for incoming news posts 2020-10-17 14:59:47 +01:00
Bob Mottram 8f41ce4de1 Unused variable 2020-10-17 14:41:20 +01:00
Bob Mottram 4c3106b127 Always true 2020-10-17 14:40:36 +01:00
Bob Mottram ae3b7819c3 Store hashtags on incoming news posts 2020-10-17 14:39:04 +01:00
Bob Mottram 37fee435ec Add a space to separate hashtags 2020-10-17 13:08:20 +01:00
Bob Mottram c691cff82d Add hashtag interpreter 2020-10-17 13:05:41 +01:00
Bob Mottram 18034d20fe Prepare for hashtag processing 2020-10-16 22:33:18 +01:00
Bob Mottram c3dbec6181 Maximum size for rss/atom feeds
Prevents a hacked news source from implementing a denial of service
2020-10-16 12:40:01 +01:00
Bob Mottram 876b29b7be Maximum newswire posts per source is configurable 2020-10-16 11:26:06 +01:00
Bob Mottram ec71ea79b7 Tidying 2020-10-13 09:53:59 +01:00
Bob Mottram 7c769a1c76 Preserve description 2020-10-13 09:50:12 +01:00
Bob Mottram 889d165aa6 Remove parse 2020-10-11 12:01:34 +01:00
Bob Mottram f721f7a1b9 Unquote 2020-10-11 12:00:28 +01:00
Bob Mottram 78286119ea Test with quote 2020-10-11 11:57:18 +01:00
Bob Mottram abcda1af1e Revert 2020-10-11 11:31:26 +01:00
Bob Mottram f3c1482e87 Image width 2020-10-11 11:25:19 +01:00
Bob Mottram caafb4648c Set image width if it exists 2020-10-11 11:10:19 +01:00
Bob Mottram e13cec3bbc Remove tags if there is an image in the rss description 2020-10-11 11:05:06 +01:00
Bob Mottram 13c067bfa4 Remove dangerous markup from rss feeds 2020-10-11 10:33:31 +01:00
Bob Mottram 32e3d3bd28 Remove newline 2020-10-10 12:59:09 +01:00
Bob Mottram 52a66b78d6 More replacement 2020-10-10 12:49:19 +01:00
Bob Mottram da18789946 Don't process content for news posts 2020-10-10 12:38:52 +01:00
Bob Mottram eceb96ec49 Set rss summary 2020-10-10 11:24:40 +01:00
Bob Mottram 5476cb1601 Debug 2020-10-10 11:19:51 +01:00
Bob Mottram a36132bfb7 Remove CDATA 2020-10-10 11:16:06 +01:00
Bob Mottram fc1bc510a6 Replace dash 2020-10-10 11:10:20 +01:00
Bob Mottram c8854f2e3d Extra lines 2020-10-10 11:01:14 +01:00
Bob Mottram 492a6ad343 Replace characters in rss item description 2020-10-10 10:53:56 +01:00
Bob Mottram 33ebaf5eec Add link to rss posts 2020-10-10 10:49:33 +01:00
Bob Mottram 2bdbb82e73 Set content for rss posts 2020-10-10 10:44:26 +01:00
Bob Mottram c2832c0e5e Replace dashes 2020-10-10 10:36:23 +01:00
Bob Mottram 81cc189755 Remove control characters 2020-10-10 09:54:13 +01:00
Bob Mottram acc76cdcd6 No decode 2020-10-10 09:47:58 +01:00
Bob Mottram 33ddf9f62b Decode 2020-10-10 09:45:47 +01:00
Bob Mottram 6f12529f45 Encode as utf-8 2020-10-10 09:43:24 +01:00
Bob Mottram 2d004cf9f2 Parse text from rss before it is used to create ActivityPub posts 2020-10-10 09:38:39 +01:00
Bob Mottram 947a13fba2 Voting time period 2020-10-09 13:15:20 +01:00
Bob Mottram 85162673f5 Add a moderated flag to newswire entries 2020-10-09 11:33:06 +01:00
Bob Mottram 5d4fff9398 Comments 2020-10-09 11:08:01 +01:00
Bob Mottram 105daa49e8 Record the time when rss posts arrived 2020-10-09 11:05:01 +01:00
Bob Mottram b79ce4321f Function name change 2020-10-09 10:43:34 +01:00
Bob Mottram f405dbead3 Save newswire state at time of vote changes 2020-10-09 10:13:16 +01:00
Bob Mottram 344617f8c9 Preserve votes between rss updates 2020-10-09 10:02:01 +01:00
Bob Mottram ea3211e8ed Set filename for rss posts 2020-10-08 15:35:26 +01:00
Bob Mottram e465b91647 Tidying 2020-10-08 13:52:15 +01:00
Bob Mottram 12b37b81d3 Test without html generation 2020-10-08 13:37:14 +01:00
Bob Mottram aa84d0081f Spacing 2020-10-08 13:29:40 +01:00
Bob Mottram bbbf470149 Boxname 2020-10-08 13:28:02 +01:00
Bob Mottram 936b752a0e Populate post cache when importing rss items 2020-10-08 13:13:42 +01:00
Bob Mottram bd4db02b3a Link style 2020-10-08 12:58:48 +01:00
Bob Mottram 5ad810e694 No trailing html 2020-10-08 12:33:15 +01:00
Bob Mottram eca0cbe982 Indicate that imported posts contain news 2020-10-08 10:07:45 +01:00
Bob Mottram 0e370f2229 Missing parameter 2020-10-07 23:25:30 +01:00
Bob Mottram e7897d3226 Debug 2020-10-07 23:05:26 +01:00
Bob Mottram dd2c1c99b2 Debug 2020-10-07 22:49:19 +01:00
Bob Mottram c440e31bc9 Simplify 2020-10-07 22:26:03 +01:00
Bob Mottram e090a3c047 Create public post rather than blog post 2020-10-07 22:11:01 +01:00
Bob Mottram d1e9f113e3 Create public post rather than blog post 2020-10-07 22:10:34 +01:00
Bob Mottram 8982a470ac Cached html location 2020-10-07 21:03:39 +01:00
Bob Mottram f2fbccd014 Sorting order 2020-10-07 20:41:55 +01:00
Bob Mottram 404912cd31 Convert RSS to AP in reverse order 2020-10-07 19:46:42 +01:00
Bob Mottram cbab604acc Append 2020-10-07 19:18:26 +01:00
Bob Mottram 3928340dc9 Move rss posts to news account 2020-10-07 17:55:15 +01:00
Bob Mottram f9517367bb Change newswire link to local if post exists locally 2020-10-07 15:10:06 +01:00
Bob Mottram b353caceb8 Check list length 2020-10-07 14:58:39 +01:00
Bob Mottram c0beeb3e91 Check list length 2020-10-07 14:55:27 +01:00
Bob Mottram 6208a3f00f Convert rss feed items to activitypub posts 2020-10-07 14:51:29 +01:00
Bob Mottram 7bcabea021 Move news daemon functions 2020-10-07 13:05:49 +01:00