Commit Graph

54 Commits (d4751a47c6471109ff14616b0c159b7f20beb6ad)

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