Commit Graph

548 Commits (5fe554f6d68a748cf7d194354a1d1d7a93bade79)

Author SHA1 Message Date
Bob Mottram 7e48beb0fe Remove role delegation
The keeps the handling of roles very simple
2021-05-13 20:58:16 +01:00
Bob Mottram 57015d6000 Unit tests for skills functions 2021-05-13 15:13:27 +01:00
Bob Mottram 6929fb8c96 Add camera properties 2021-05-11 13:36:35 +01:00
Bob Mottram 79e1633ebc Move city functions to their own module 2021-05-10 19:53:20 +01:00
Bob Mottram 0011f1a40b Improve locations coords 2021-05-10 14:43:38 +01:00
Bob Mottram 75be6ddfee Decoy is a more descriptive term 2021-05-10 12:19:42 +01:00
Bob Mottram 0493405f26 Add city model 2021-05-10 11:46:45 +01:00
Bob Mottram 67ab24db90 Default geolocation 2021-05-09 20:29:53 +01:00
Bob Mottram 05f1ada1c1 Spoof gps metadata on images 2021-05-09 20:11:05 +01:00
Bob Mottram fc6e85b6ca Make the display of account and version info within nodeinfo metadata opt-in 2021-05-03 11:05:05 +01:00
Bob Mottram aed2713c5c Test for removing post interactions 2021-04-30 12:45:46 +01:00
Bob Mottram 10492581ff Fix new http signature test 2021-04-04 22:30:26 +01:00
Bob Mottram 6dc3e51550 strip 2021-04-04 21:52:56 +01:00
Bob Mottram 9176e3d146 Extraneous prints 2021-04-04 21:47:02 +01:00
Bob Mottram 6e03698235 Strip header 2021-04-04 21:41:55 +01:00
Bob Mottram b0e099fc7f Extra debug 2021-04-04 21:34:42 +01:00
Bob Mottram 10482ed149 New 2021-04-04 09:27:46 +01:00
Bob Mottram 647004489e Unit test failure message 2021-04-04 09:19:35 +01:00
Bob Mottram 5c1db15723 Highlight inbox posts addressed to you 2021-03-23 11:22:09 +00:00
Bob Mottram 02cbf4a2b9 Convert html paragraphs 2021-03-23 10:52:10 +00:00
Bob Mottram dbad3f2fbd Adding spaces after full stops 2021-03-23 10:38:03 +00:00
Bob Mottram 96cbed7dd1 Remove leading space from links 2021-03-22 14:36:27 +00:00
Bob Mottram eb9135ac3e Another long lines failure case 2021-03-17 21:17:27 +00:00
Bob Mottram 67f63c5119 Set pgp public key from desktop client 2021-03-17 20:18:00 +00:00
Bob Mottram 840aca1808 Allow collection synchronization within http headers 2021-03-14 17:53:47 +00:00
Bob Mottram 7345381f85 Debug 2021-03-14 15:25:49 +00:00
Bob Mottram 3b5dba87c3 Tidying of encrypted message detection 2021-03-12 12:04:34 +00:00
Bob Mottram c88bdf1cd9 Tidying detection of encrypted messages 2021-03-12 09:50:08 +00:00
Bob Mottram 43e98aba6d Opportunistic encryption of DMs sent via notification client 2021-03-11 20:33:45 +00:00
Bob Mottram b7c1b02346 Decrypt pgp encrypted DMs 2021-03-11 17:15:32 +00:00
Bob Mottram 09a7b3200b Test for extracting pgp key from message 2021-03-11 14:23:03 +00:00
Bob Mottram 724da883e6 Test that all emojis have images 2021-03-08 18:47:55 +00:00
Bob Mottram 9f19313d3c Waiting for keypress 2021-03-04 14:36:24 +00:00
Bob Mottram 30e11be0b0 Split camelcase display names for speaker clarity 2021-03-03 20:34:55 +00:00
Bob Mottram f0659f2dd2 Test for web link replacement in the speaker interface 2021-03-01 21:46:44 +00:00
Bob Mottram f76c173f59 Don't use payload function when parsing form-data 2021-03-01 10:02:55 +00:00
Bob Mottram b07bc917f4 Handle multi-line markdown quotes 2021-02-26 23:13:33 +00:00
Bob Mottram fc4e2fc702 Support quotes in markdown 2021-02-26 23:00:06 +00:00
Bob Mottram 7dbaaa267a Support for markdown images 2021-02-26 15:20:43 +00:00
Bob Mottram 75249cf554 Markdown emphasis 2021-02-25 10:54:38 +00:00
Bob Mottram b8ac29a515 Displaying welcome screen 2021-02-24 21:17:08 +00:00
Bob Mottram 32eb256a49 Welcome text in markdown 2021-02-24 20:37:59 +00:00
Bob Mottram 0b7d96f48c Tidying 2021-02-22 18:27:04 +00:00
Bob Mottram 3d1c440584 Support for new style of http signatures 2021-02-22 18:20:33 +00:00
Bob Mottram 56e9130287 Unit test for verifying new http signature type 2021-02-22 14:03:24 +00:00
Bob Mottram 4edc3af8f7 Invert logic 2021-02-22 10:09:56 +00:00
Bob Mottram 68d3f3ee91 Broch mode 2021-02-15 22:06:53 +00:00
Bob Mottram b16fb0d24c Improve checking of site active status
This uses a defluffed version of webchk
2021-02-10 11:24:34 +00:00
Bob Mottram 530f573763 Use the followed actor so that we don't need to be concerned about what the users path is 2021-02-09 19:02:10 +00:00
Bob Mottram 890c8856a8 More thorough validation of hashtags and nicknames 2021-02-09 14:41:32 +00:00
Bob Mottram 7de4e24f2e Latin-script special characters are valid 2021-02-09 13:28:42 +00:00
Bob Mottram 1af83ed1aa Replace nickname in cached html 2021-02-02 21:08:33 +00:00
Bob Mottram 8bbd9b6173 Check for dangerous markup in display name and clearly indicate adversaries 2021-01-31 11:05:17 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 2e26a05568 Tidying 2021-01-25 12:25:21 +00:00
Bob Mottram fd12451f5a Tests for international domain handling 2021-01-25 12:24:40 +00:00
Bob Mottram 0e4d504c50 Mastodon Id is a number 2021-01-22 13:32:37 +00:00
Bob Mottram 579aa7f63d Add migrations option to check for moved follows 2021-01-09 15:08:26 +00:00
Bob Mottram cfaf5a5792 Deprecate blurhashes
They were computationally expensive, and similar functionality could be achieved in a simpler way with css
2021-01-07 15:38:55 +00:00
Bob Mottram 7387f7f5e9 Extra test 2021-01-05 23:09:04 +00:00
Bob Mottram 2c2476f3c0 Option to enforce json signature checks 2021-01-05 10:29:37 +00:00
Bob Mottram 9bdfec94f0 Fix jsonld signatures
Also some schemas are no longer remotely accessed
2021-01-04 19:02:24 +00:00
Bob Mottram 77f965162c Enable checking of json signatures on inbox posts 2021-01-03 18:20:25 +00:00
Bob Mottram b9d33296a1 Check for changing json signature 2021-01-03 15:27:59 +00:00
Bob Mottram 8c3ca5a69c Valid 2021-01-03 14:34:27 +00:00
Bob Mottram 1a74ec6d53 Failing test for json signature failure 2021-01-03 14:31:35 +00:00
Bob Mottram 2bbdbe9774 Add ftp as a supported link type 2021-01-02 10:37:19 +00:00
Bob Mottram b3bb866f69 Remove option to follow new actor
It wasn't implemented, and doing so could create an oprn relay situation where the authenticity of posts becomes obscured
2020-12-26 10:22:56 +00:00
Bob Mottram 7c2786535e Call graph colors 2020-12-23 19:55:51 +00:00
Bob Mottram db875e375c Link color 2020-12-23 18:15:30 +00:00
Bob Mottram f7d9864093 Module colors 2020-12-23 17:56:25 +00:00
Bob Mottram d3261de520 Plot modules call graph 2020-12-23 16:19:18 +00:00
Bob Mottram 549faf8b85 Remove unit tests from dot diagram 2020-12-23 14:19:06 +00:00
Bob Mottram 76a634b9dd sfdp settings 2020-12-23 13:41:54 +00:00
Bob Mottram 72b07306f9 Change dot command 2020-12-23 13:09:44 +00:00
Bob Mottram cfd1e7b24c Fix function tests 2020-12-23 12:48:50 +00:00
Bob Mottram 0aa42a1d71 Allow more time 2020-12-23 10:58:50 +00:00
Bob Mottram 61280ac6d0 Clustering of dot diagram 2020-12-22 23:26:09 +00:00
Bob Mottram 82a7cb2cb2 Image format 2020-12-22 23:09:09 +00:00
Bob Mottram b927863f7e Instructions for converting to image 2020-12-22 23:04:17 +00:00
Bob Mottram b42964ff59 Save call graph as dot diagram 2020-12-22 22:55:45 +00:00
Bob Mottram fa0bdab523 Tidying 2020-12-22 21:27:46 +00:00
Bob Mottram 3ff0866deb Test that number of function arguments match 2020-12-22 21:24:46 +00:00
Bob Mottram 49e052d5f0 Tidying 2020-12-22 19:29:14 +00:00
Bob Mottram 152d6228c7 Tidying 2020-12-22 19:28:34 +00:00
Bob Mottram ce885947ca Variable name 2020-12-22 18:20:32 +00:00
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
Bob Mottram 31e40671a9 Remove debug 2020-07-08 16:21:04 +01:00
Bob Mottram 4c14d4a649 Remove html from searched profile descriptions 2020-07-07 15:18:02 +01:00
Bob Mottram 3ec54282dc Include calendar file in tests 2020-07-03 22:56:38 +01:00
Bob Mottram 36994134c2 Function not needed 2020-06-26 10:42:24 +00:00
Bob Mottram 125ead6f8b Function to extract mentions as a string 2020-06-26 09:11:47 +00:00
Bob Mottram 0e3c41db2b When deleting a post also remove it from the recent posts cache in memory 2020-06-24 14:30:50 +01:00
Bob Mottram dc9ae0c117 qrcode dependencies on parabola 2020-06-22 17:55:19 +01:00
Bob Mottram 18b80efcb7 Remove experimental semantics 2020-06-16 21:33:17 +01:00
Bob Mottram bbb767ae45 More signature tests 2020-06-15 14:35:33 +01:00
Bob Mottram 8245c35f46 Add jsonLD signing functions 2020-06-15 13:37:53 +01:00
Bob Mottram 5ba0e38090 Remove formatting such as bold and italics from posts
This is to be conformant with what Mastodon is doing. Probably markdown should be an optional extra
2020-06-14 14:25:38 +01:00
Bob Mottram f5e9db1dd6 Simpler single you test 2020-06-14 10:23:21 +01:00
Bob Mottram b6fd9f211f Fix accusatory count 2020-06-14 10:21:37 +01:00
Bob Mottram 0132674ea3 Label accusatory posts 2020-06-12 12:50:49 +01:00