Commit Graph

134 Commits (77b6d76c42fb9bb1bdeb0d820684681ccdea8f6c)

Author SHA1 Message Date
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