Commit Graph

124 Commits (404c8d579a67bdf90b18a5e72f5ae92c6fcf5502)

Author SHA1 Message Date
Bob Mottram d571088c2d Extra check that blog post is public 2020-10-25 10:42:38 +00:00
Bob Mottram 15e34237e4 Simplify 2020-10-25 10:18:07 +00:00
Bob Mottram 361df8a2ae Tidy extraction of tags from rss feeds 2020-10-25 10:17:12 +00:00
Bob Mottram e521a95e18 Limit the maximum number of hashtags imported from newswire feeds 2020-10-23 15:41:29 +01:00
Bob Mottram 456b4202b1 Convert dates with offset 2020-10-20 13:37:32 +01:00
Bob Mottram fda4e294f8 Exception warn when converting date 2020-10-20 13:28:15 +01:00
Bob Mottram 4fdecc4f30 Handle dates with offset 2020-10-20 13:22:52 +01:00
Bob Mottram 6411ffcd62 Add a flag to indicate that a newswire feed has its contents mirrored 2020-10-19 15:37:17 +01:00
Bob Mottram ab48e6d456 Getting tags from posts 2020-10-18 10:28:43 +01:00
Bob Mottram b0a80dbb61 Conflicting domains 2020-10-17 21:53:36 +01:00
Bob Mottram 22fcc7be06 Apply word filter to newswire 2020-10-17 17:08:07 +01:00
Bob Mottram c536a8a0c8 Remove hash 2020-10-17 15:42:23 +01:00
Bob Mottram 96221bf86c Tidying 2020-10-17 15:28:42 +01:00
Bob Mottram 7835f02122 Apply hashtag moderation to news feeds 2020-10-17 15:23:35 +01:00
Bob Mottram 5ed417138a Quick check for hashtags 2020-10-16 21:46:34 +01:00
Bob Mottram af3b7baf12 Extract hashtags from newswire feeds 2020-10-16 21:13:23 +01:00
Bob Mottram a5d21852bb Avoid lone hashes 2020-10-16 20:52:27 +01:00
Bob Mottram a60491585e Extract hashtags from feeds 2020-10-16 20:49:34 +01:00
Bob Mottram 5bd133ffff Tidying of newswire dictionary creation 2020-10-16 20:25:55 +01:00
Bob Mottram 0735ceceb2 Missing argument 2020-10-16 13:11:05 +01:00
Bob Mottram d4751a47c6 Check text 2020-10-16 13:03:56 +01:00
Bob Mottram e5950d4363 Reject blocked domains within news feeds 2020-10-16 12:58:31 +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 5c5a25e534 Set an upper limit on the number of newswire posts per rss feed
Helps to avoid having a giant list of items
2020-10-16 11:13:14 +01:00
Bob Mottram 65acb8aa28 Singular 2020-10-13 18:17:17 +01:00
Bob Mottram bf1bf3a46d Title for site rss feed 2020-10-13 18:14:57 +01:00
Bob Mottram fbb230ac5c Don't need replaces 2020-10-10 13:25:07 +01:00
Bob Mottram 098932440c Same date format as rss 2020-10-10 13:24:14 +01:00
Bob Mottram 85162673f5 Add a moderated flag to newswire entries 2020-10-09 11:33:06 +01:00
Bob Mottram 6e77cf7f6b More obvious what list entries mean 2020-10-09 09:40:41 +01:00
Bob Mottram 71a36ec3ee Full url in rss link 2020-10-08 16:07:06 +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
Bob Mottram f46f7e4480 No slash 2020-10-06 22:28:40 +01:00
Bob Mottram 576a2555e2 Voting on newswire items 2020-10-06 21:17:34 +01:00
Bob Mottram adc6cd9317 Show total moderator votes on newswire items 2020-10-06 20:46:22 +01:00
Bob Mottram 83bfd0b40a Three fields in item 2020-10-06 20:19:12 +01:00
Bob Mottram 143354d537 Show approved newswire items in a different style 2020-10-06 20:13:02 +01:00
Bob Mottram 454b4f3348 Backtracking 2020-10-06 19:32:24 +01:00
Bob Mottram 1d7a019217 Backtracking 2020-10-06 19:26:08 +01:00
Bob Mottram fdaf02b5c7 Edit button changes color when there are newswire items to be moderated 2020-10-06 15:32:53 +01:00
Bob Mottram a91f7bbb75 Continue if post is not located 2020-10-06 14:34:04 +01:00
Bob Mottram 96828b6727 Show exception 2020-10-06 14:31:34 +01:00
Bob Mottram f040362ef8 Three params 2020-10-06 14:17:32 +01:00
Bob Mottram bee236a44f Check that post is located 2020-10-06 14:05:15 +01:00
Bob Mottram df7382af19 Test without admin trust 2020-10-06 13:45:35 +01:00
Bob Mottram 3e666a4a91 Moderated posts can be rejected 2020-10-06 13:33:53 +01:00
Bob Mottram d0085e1c33 Comments 2020-10-06 13:15:35 +01:00
Bob Mottram d5248ea2d6 Save the current newswire moderation state to a file 2020-10-06 12:28:32 +01:00
Bob Mottram fc267f8b91 Unique entries in list 2020-10-06 11:37:06 +01:00
Bob Mottram ebb760a3c3 Create a dictionary of blog posts to be moderated 2020-10-06 11:34:56 +01:00
Bob Mottram 2d7e6f4f43 Blog posts going into the newswire may not always be local.
They may be whatever federated to each users blog timeline.
2020-10-06 10:47:58 +01:00
Bob Mottram 77dc42c343 Logic sequence 2020-10-06 10:41:04 +01:00
Bob Mottram 561640abfe Tidying 2020-10-06 10:38:41 +01:00
Bob Mottram c26cfb3c93 Tidying 2020-10-06 10:37:22 +01:00
Bob Mottram 8acf9b2f3e Comment 2020-10-06 10:22:23 +01:00
Bob Mottram f4cb24490a Tidying 2020-10-06 09:58:44 +01:00
Bob Mottram 8ec06c612b The trusted newswire accounts can include nickname only, rather than nick@domain 2020-10-05 19:26:38 +01:00
Bob Mottram 686aa0ec6a Read only 2020-10-05 19:22:26 +01:00
Bob Mottram 228234a4da Have a list of trusted handles permitted to post to the newswire 2020-10-05 19:21:12 +01:00
Bob Mottram 0e7490a44b Don't include blogs from suspended accounts within newswire 2020-10-05 12:30:11 +01:00
Bob Mottram 9b75c034a0 Add local blog posts to the newswire 2020-10-05 12:11:48 +01:00
Bob Mottram aa1e481b10 Date format 2020-10-04 23:16:00 +01:00
Bob Mottram a5291d4106 Date format 2020-10-04 23:12:27 +01:00
Bob Mottram 602714906a Date format 2020-10-04 23:08:13 +01:00
Bob Mottram ece3569b22 Reverse order 2020-10-04 22:45:46 +01:00
Bob Mottram 8078177a0f Restore exception handling for newswire update 2020-10-04 22:33:08 +01:00
Bob Mottram 03ae084037 Create dictionary of rss items 2020-10-04 22:23:33 +01:00
Bob Mottram ff8bdaa9cf Debug 2020-10-04 22:01:17 +01:00
Bob Mottram a4469bd727 Watchdog for updating rss feeds 2020-10-04 21:21:50 +01:00
Bob Mottram aed4cfcbf6 Newswire rss feed 2020-10-04 13:29:07 +01:00
Bob Mottram 3c19ab692d Rename function 2020-10-04 10:59:55 +01:00
Bob Mottram 4d4bdceb76 Move rss functions 2020-10-04 10:51:12 +01:00