Commit Graph

257 Commits (9ad1fc842fbf17045a1c6b78dbbd99056ff6dbde)

Author SHA1 Message Date
Bob Mottram 594b3beb55 Snake case 2021-12-26 10:57:03 +00:00
Bob Mottram 963ed4aa1f Snake case 2021-12-26 10:19:59 +00:00
Bob Mottram 6abe5d83fe Snake case 2021-12-26 10:00:46 +00:00
Bob Mottram 3a26274342 Snake case 2021-12-25 23:03:28 +00:00
Bob Mottram 4479027aef Snake case 2021-12-25 22:09:19 +00:00
Bob Mottram deb1f8b20a Snake case 2021-12-25 18:57:13 +00:00
Bob Mottram c63e319bb9 Snake case 2021-12-25 18:49:19 +00:00
Bob Mottram 49e7432076 Snake case 2021-12-25 17:09:22 +00:00
Bob Mottram acc780e780 Snake case 2021-12-25 16:17:53 +00:00
Bob Mottram 8c0c6b08ff Exception variable names 2021-12-25 15:28:52 +00:00
Bob Mottram 44daf317fc Check actor bio length 2021-12-19 18:29:43 +00:00
Bob Mottram 7a182248fd Ensure that the image data for svg is a string 2021-12-19 12:37:24 +00:00
Bob Mottram 1aa2993bcc Check svg favicons for dangerous scripts
favicons typically are not svg format, but theoretically it could happen
2021-12-19 12:32:01 +00:00
Bob Mottram 7c8fc0719f Fix extension 2021-12-17 12:10:06 +00:00
Bob Mottram c6516b55c3 Shorter cached favicon filename 2021-12-17 12:01:54 +00:00
Bob Mottram d5e9652b16 Explicitly detect mime type 2021-12-17 10:15:05 +00:00
Bob Mottram 823766088e Rename function 2021-12-17 10:04:18 +00:00
Bob Mottram ca11153a36 Sequence 2021-12-16 23:59:53 +00:00
Bob Mottram 6da17599ca Detect favicon mime type 2021-12-16 23:32:13 +00:00
Bob Mottram e9b98b82ce Dash instead of hash 2021-12-16 22:26:46 +00:00
Bob Mottram e1b349c0fc Favicon path 2021-12-16 22:01:12 +00:00
Bob Mottram 71cf29629a Avoid duplicated function 2021-12-16 21:22:44 +00:00
Bob Mottram 22d2f49f53 Only download favicons once 2021-12-16 21:14:24 +00:00
Bob Mottram 64c41279b4 Save newswire favicons 2021-12-16 20:57:30 +00:00
Bob Mottram 6953b2cd43 More specific exceptions 2021-11-25 18:42:38 +00:00
Bob Mottram 24ac3184b4 Avoid default arguments, which make static analysis harder 2021-10-29 23:26:45 +01:00
Bob Mottram 5913bf3466 Tidying 2021-10-29 20:17:41 +01:00
Bob Mottram b94aaf6e89 Debug not needed 2021-10-29 20:16:06 +01:00
Bob Mottram d6150d7fb0 Debug messages for exceptions 2021-10-29 19:48:15 +01:00
Bob Mottram 619663a3c8 US time zones 2021-10-17 15:24:21 +01:00
Bob Mottram 181455ff8a Extra date format 2021-10-17 15:17:42 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram a8ac86b758 Showing warning about date format 2021-09-07 20:33:27 +01:00
Bob Mottram a1901609bf date format 2021-09-07 20:09:41 +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 970f13c7a3 Avoid circular reference when generating hashtag categories 2021-08-15 12:39:20 +01:00
Bob Mottram 87a7d2e154 Tidying of actor urls 2021-08-14 12:13:39 +01:00
Bob Mottram bb3de9e173 Handling of understood languages prior to automatic translation 2021-07-20 14:33:27 +01:00
Bob Mottram 50096bff11 Improve handling of contentMap within posts 2021-07-18 15:15:16 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 0118168173 Limit word lengths within newswire titles 2021-07-07 15:00:53 +01:00
Bob Mottram 83b1bfb293 Tidying 2021-07-04 18:55:29 +01:00
Bob Mottram 751a0f1f02 Duplicate permitted outbox types 2021-07-04 12:02:08 +01:00
Bob Mottram bc679d8b0a Tidy rss strings 2021-07-04 10:50:09 +01:00
Bob Mottram c41d1e8b7a Module groups 2021-06-26 12:27:14 +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 cd008c3013 Revert "Reading functions"
This reverts commit ee0ffade9d.
2021-06-21 23:52:04 +01:00
Bob Mottram ee0ffade9d Reading functions 2021-06-21 23:34:46 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram d161420471 RSS failures are warnings 2021-05-20 13:52:13 +01:00
Bob Mottram 928412c34c Less verbose 2021-03-14 19:53:22 +00:00
Bob Mottram 79610c8bf8 Be more generous with post recency 2021-03-05 16:48:28 +00:00
Bob Mottram 5257cfe2c8 Remove html from RSS feed titles 2021-02-13 21:48:24 +00:00
Bob Mottram 67172c3165 Invert logic 2021-02-12 12:09:48 +00:00
Bob Mottram b1c301dcb5 Support hashtags in json feeds 2021-02-12 12:09:16 +00:00
Bob Mottram 39a0c7ba9e Remove html from json feeds 2021-02-12 12:02:09 +00:00
Bob Mottram c74b208b53 Counter later 2021-02-12 11:50:05 +00:00
Bob Mottram c0c44e9d1a Result later 2021-02-12 11:47:49 +00:00
Bob Mottram 43ffcd7302 Support json feed 1.1 2021-02-12 11:46:26 +00:00
Bob Mottram 000162d85c Json feed version 2021-02-12 11:30:23 +00:00
Bob Mottram 4308317b3d Support for json feeds on newswire 2021-02-12 11:28:00 +00:00
Bob Mottram eeb095fe8a Only include non-system users blog posts 2021-02-11 12:40:56 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 3c1314d4b4 Remove html from rss feed descriptions 2021-01-11 21:54:25 +00:00
Bob Mottram 3ff0866deb Test that number of function arguments match 2020-12-22 21:24:46 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 96e813181b Move hashtag categories functions to their own module 2020-12-22 10:30:52 +00:00
Bob Mottram 23301b35a5 Validate newswire item dates
So they can't be in the future or too far in the past
2020-12-21 12:11:45 +00:00
Bob Mottram a7d5c50222 Use global filter for newswire 2020-12-19 11:43:20 +00:00
Bob Mottram 77210c0f41 RSS 1.0 header 2020-12-14 20:22:05 +00:00
Bob Mottram f94f242d38 Rss version 2020-12-14 17:18:16 +00:00
Bob Mottram 96c139a63e Support for rss 1.0 feeds 2020-12-14 14:22:44 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram fd07e67f3b Ensure that there isn't any html in feed text 2020-12-12 15:44:43 +00:00
Bob Mottram 562e154aa9 Too much date checking 2020-12-09 10:38:09 +00:00
Bob Mottram 09e980da24 Setting categories from defaults 2020-12-05 14:43:29 +00:00
Bob Mottram 931068d4c2 Default hashtag categories per language 2020-12-05 13:38:07 +00:00
Bob Mottram 60abb1a0a6 Check for blocked hashtag with hash prefix 2020-12-03 19:51:47 +00:00
Bob Mottram 4f740a836c Check for dubious payloads 2020-12-03 10:12:09 +00:00
Bob Mottram 1426fefe5d Apply instance level blocks to hashtag category feeds 2020-12-02 22:40:46 +00:00
Bob Mottram 1b9989bcd3 Missing parameter 2020-12-02 17:02:32 +00:00
Bob Mottram 2f513407e4 Hashtag categories as rss feeds 2020-12-02 16:18:36 +00:00
Bob Mottram 5a449ab4e9 Use published rather than updated for youtube feeds 2020-11-28 20:46:52 +00:00
Bob Mottram 6cb9d7e399 More debug 2020-11-27 22:43:34 +00:00
Bob Mottram a998c0b321 Check that offset exists 2020-11-22 20:37:08 +00:00
Bob Mottram 758380dade Calculate offset 2020-11-22 20:33:24 +00:00
Bob Mottram 7703a002cd utc offset adjust 2020-11-22 20:18:10 +00:00
Bob Mottram 6f5d5f1019 Convert local dates to utc 2020-11-22 19:09:35 +00:00
Bob Mottram fb29da5f7a Date parser returns string 2020-11-22 19:01:18 +00:00
Bob Mottram 61beedd86e Remove debug 2020-11-22 18:46:10 +00:00
Bob Mottram 31b12ae207 Unit test for date parsing 2020-11-22 18:43:01 +00:00
Bob Mottram 86997a1380 Debug 2020-11-22 18:36:17 +00:00
Bob Mottram b90abc6891 Debug 2020-11-22 18:30:59 +00:00
Bob Mottram d505132b17 Published date 2020-11-22 18:28:27 +00:00
Bob Mottram 669a70d0d2 No default append to feed date 2020-11-22 18:25:05 +00:00
Bob Mottram e58effe89d Append UTC 2020-11-22 18:21:20 +00:00
Bob Mottram f892745e8c Tidy parsing of feed dates 2020-11-22 18:14:40 +00:00
Bob Mottram e0e31e8330 Testing sequence for feeds 2020-11-22 16:10:58 +00:00
Bob Mottram a7de74bb81 Plus 2020-11-22 16:02:18 +00:00