Commit Graph

362 Commits (60a00378b2bff6db6c1076b360f775ce50b10d21)

Author SHA1 Message Date
Bob Mottram 2fd901d682 Check that public functions don't begin with _ 2020-12-22 18:16:24 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 0cf0841402 Check that imports are correct 2020-12-22 13:57:24 +00:00
Bob Mottram 59357c0c4f More verbose module checks 2020-12-22 13:04:49 +00:00
Bob Mottram a7b094f84f Test for stranded functions which aren't called 2020-12-22 12:59:46 +00:00
Bob Mottram bb31ce37cd is_alive replaces isAlive 2020-12-18 15:29:12 +00:00
Bob Mottram 886e4f2beb Adjustable timeout for dormant post threads 2020-12-18 11:48:00 +00:00
Bob Mottram 825fb76066 Tidying 2020-12-16 11:19:16 +00:00
Bob Mottram ec87fbf4f8 Date test 2020-12-14 15:17:30 +00:00
Bob Mottram 88b0a6aa6f Check if tag already exists 2020-12-13 20:07:45 +00:00
Bob Mottram 9d176ab77d Unit test for reply to public post 2020-12-13 19:53:31 +00:00
Bob Mottram e9c0c4c3a9 Unit test for getting mentions 2020-12-13 19:05:26 +00:00
Bob Mottram 121a24d432 Test that css is not dangerous 2020-12-13 14:48:45 +00:00
Bob Mottram d6e60ff3d3 Mark dormant followed accounts on profile 2020-12-13 12:44:17 +00:00
Bob Mottram 9ba729c6fd Fix unit test 2020-12-13 11:31:16 +00:00
Bob Mottram 562e154aa9 Too much date checking 2020-12-09 10:38:09 +00:00
Bob Mottram 5c6a45956c Test for creation of news actor 2020-12-06 15:05:22 +00:00
Bob Mottram ad71c09aee Line length 2020-12-06 14:47:06 +00:00
Bob Mottram 9e483bdacf Don't remove radicle links 2020-12-06 10:18:41 +00:00
Bob Mottram 67e06f65c9 Guess hashtag categorisations 2020-12-05 11:11:32 +00:00
Bob Mottram 5d2b45560e Unit test for valid nickname 2020-11-24 10:53:10 +00:00
Bob Mottram ddb11903d4 Create default petname when following 2020-11-23 15:07:55 +00:00
Bob Mottram 3812131758 Test 2020-11-22 20:28:32 +00:00
Bob Mottram 7703a002cd utc offset adjust 2020-11-22 20:18:10 +00:00
Bob Mottram fb5cb31ba1 Improve date parsing tests 2020-11-22 19:13:54 +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 31b12ae207 Unit test for date parsing 2020-11-22 18:43:01 +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 1f1cbd3eea Another script test 2020-11-15 10:36:24 +00:00
Bob Mottram cadd0de15c Don't allow local network access 2020-11-11 09:42:48 +00:00
Bob Mottram 9d89bb5f94 Test for getting the first paragraph 2020-11-08 11:24:43 +00:00
Bob Mottram 888e38a95c Remove debug 2020-11-06 14:37:23 +00:00
Bob Mottram c8858f871a Check the size of individual rss/atom feed items 2020-11-03 16:04:25 +00:00
Bob Mottram cb49d90bb9 Removing long words from feed titles 2020-10-31 23:10:38 +00:00
Bob Mottram 292001479c Publish button position 2020-10-26 21:32:08 +00:00
Bob Mottram 0b02565159 Set position of rss icon within the timeline 2020-10-26 20:32:01 +00:00
Bob Mottram 8934a25123 Option to show icons as buttons 2020-10-25 20:38:01 +00:00
Bob Mottram 3fd0723684 Remove html before checking for hashtags 2020-10-25 12:47:16 +00:00
Bob Mottram 91751a1974 Spacing 2020-10-25 10:24:02 +00:00
Bob Mottram 3d30aa55ce Int cast 2020-10-25 10:10:56 +00:00
Bob Mottram bd77f9f403 Line length 2020-10-25 10:08:02 +00:00
Bob Mottram a4f9d57294 Test for rss hashtag extraction 2020-10-25 10:06:54 +00:00
Bob Mottram 67a3ef538f Add option for timeline button header full screen width 2020-10-24 18:44:41 +01:00
Bob Mottram 98e1805930 Option to show mobile newswire publish as icon or button 2020-10-24 17:04:53 +01:00
Bob Mottram 87604e6d77 Missing parameter 2020-10-23 20:55:03 +01:00
Bob Mottram fa419cf995 Option to set a maximum number of followers per account 2020-10-23 20:48:59 +01:00
Bob Mottram b5d492b668 Optionally allow the news account to be followed 2020-10-23 20:18:13 +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 c9f3d21b41 Support xor in hashtag rules 2020-10-20 10:43:30 +01:00
Bob Mottram 9391fa57c9 Option for maximum mirrored articles 2020-10-19 17:33:58 +01:00
Bob Mottram 2132b01950 Fix tag resolver 2020-10-18 16:10:36 +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 c691cff82d Add hashtag interpreter 2020-10-17 13:05:41 +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 2899768828 Option to only show date at bottom of posts, not time 2020-10-11 19:50:13 +01:00
Bob Mottram 7d4926fed9 Don't use tmp for tests 2020-10-11 14:03:08 +01:00
Bob Mottram d879d20824 Don't use tmp for tests 2020-10-11 14:00:26 +01:00
Bob Mottram 068f3b448b Rename function 2020-10-11 13:41:15 +01:00
Bob Mottram 13c067bfa4 Remove dangerous markup from rss feeds 2020-10-11 10:33:31 +01:00
Bob Mottram 947a13fba2 Voting time period 2020-10-09 13:15:20 +01:00
Bob Mottram 72b5db2d9e Newswire votes threshold 2020-10-08 18:49:03 +01:00
Bob Mottram f3432d96f7 Positive or negative voting on newswire items 2020-10-08 17:31:13 +01:00
Bob Mottram 9d30158618 News instance type 2020-10-07 10:10:42 +01:00
Bob Mottram 3fe7a8c498 Tidying 2020-09-30 23:55:53 +01:00
Bob Mottram 463192242f Fix test 2020-09-30 23:52:39 +01:00
Bob Mottram a9a3a8321d Extra test case 2020-09-30 23:22:42 +01:00
Bob Mottram 3b1e67f87f Remove capabilities options 2020-09-27 20:32:31 +01:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram e5eaf42a36 Move functions 2020-09-25 14:21:56 +01:00
Bob Mottram 08b6d14400 Style of quoted paragraphs 2020-09-14 12:30:56 +01:00
Bob Mottram 488ef5b34d Extra blockquote check 2020-09-14 11:25:12 +01:00
Bob Mottram 1df8451956 Replace email style quote 2020-09-14 10:41:44 +01:00
Bob Mottram 21573b6ca7 Turn email style quotes into blockquotes 2020-09-14 10:33:42 +01:00
Bob Mottram bbe414d3a6 Single and multiple character change test 2020-09-03 19:52:18 +01:00
Bob Mottram e584076aca Unit test for constant time string check 2020-09-03 19:48:32 +01:00
Bob Mottram 7e87bbe2aa Avoid providing password hash match timing clues 2020-09-03 19:13:29 +01:00
Bob Mottram 6568be91ff Constant time password hash match 2020-09-03 19:07:02 +01:00
Bob Mottram 949f54f5f3 Unit test for adding new follow to calendar 2020-09-03 13:16:24 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 77c5f810f9 Don't write actors to cache while loading the timeline 2020-08-29 11:21:29 +01:00
Bob Mottram 0fce258068 Test for translations files 2020-08-26 19:21:57 +01:00
Bob Mottram 8d6b8f98b0 Validate content warnings 2020-08-25 20:35:55 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram c64a8aadc1 Check for allowed comments 2020-08-21 19:32:16 +01:00
Bob Mottram 1983f8935e Fix tests 2020-08-21 18:40:50 +01:00
Bob Mottram ec9941d7ca More actor parsing 2020-08-13 17:41:02 +01:00
Bob Mottram b7be635aa3 Return devices for a handle 2020-08-11 17:18:22 +00:00
Bob Mottram 0b70ee70d8 Test for long hashtag 2020-08-07 21:51:34 +01:00
Bob Mottram 323cb4a91b Replace quotes 2020-08-02 20:16:22 +01:00
Bob Mottram 853ef7af2e Replace quotes 2020-08-02 19:09:50 +01:00
Bob Mottram 5efc685220 Avoid adding quites within markup 2020-08-02 18:17:51 +01:00
Bob Mottram 3c86717fc6 Use html formatting for quotes 2020-08-02 18:01:12 +01:00
Bob Mottram 83cac23229 Youtube replacement domain is configurable 2020-08-02 10:51:20 +01:00
Bob Mottram 9bc6f1691e Configurable default follower approval 2020-07-12 13:31:28 +01:00
Bob Mottram 1a15d07dfd Improve checking for bad markup 2020-07-10 14:15:01 +00:00