Commit Graph

347 Commits (7337b961c010e90c0507e594fb94d14811647741)

Author SHA1 Message Date
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
Bob Mottram 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram b8de97a9c3 Configuration for a secondary i2p domain alongside clearnet 2020-06-03 18:38:34 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram aa289fda8a Check for duplicate brackets in content 2020-05-12 10:42:24 +01:00
Bob Mottram 0d77fadc4f Tidying 2020-05-12 10:36:13 +01:00
Bob Mottram 315afa4bd8 Extra checks for bad content format 2020-05-12 10:34:58 +01:00
Bob Mottram a8a0465c01 flake8 format for unit tests 2020-04-05 14:25:47 +01:00
Bob Mottram 9c0664692a Tox test 2020-03-29 10:48:31 +00:00
Bob Mottram f9e8c09826 Decrease line lengths 2020-03-29 09:59:54 +00:00
Bob Mottram 2f46c2b31f Minimum per minute quotas 2020-03-28 11:46:11 +00:00
Bob Mottram 9b5743159b object 2020-03-27 19:54:41 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram 494a9ea94c Allow for tox addresses 2020-03-22 14:29:34 +00:00
Bob Mottram 596d3a8747 cryptodome fallback 2020-03-04 09:59:08 +00:00
Bob Mottram f6869f9308 Use debian cryptodome package 2020-03-04 09:41:21 +00:00
Bob Mottram ca5c0d5f20 Fix network unit test 2020-03-02 21:28:22 +00:00
Bob Mottram b93f5dd10b Optionally use onion address when fetching keys 2020-03-02 13:11:06 +00:00
Bob Mottram b366b9f80f Add onion domain to daemon 2020-03-02 12:41:25 +00:00
Bob Mottram 7c37ffcd36 Save blogs to their own box 2020-02-24 22:34:54 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram 2b6aa3f44b Convert hex to char 2020-02-21 16:58:33 +00:00
Bob Mottram 205ff8b5cb Replace tags with unicode characters 2020-02-21 15:09:31 +00:00
Bob Mottram cc0b6f48e2 Extra emoji fields 2020-02-21 10:19:02 +00:00
Bob Mottram a7b0634d1e Check a few emoji cases 2020-02-21 09:53:36 +00:00
Bob Mottram 4bd90ca3a4 Fixing unit tests 2020-02-19 13:34:24 +00:00
Bob Mottram 55dcdd546d Fix opposite addresses 2020-02-19 13:16:38 +00:00
Bob Mottram 7e8d59e85c Messages 2020-02-19 12:51:14 +00:00
Bob Mottram 4019814a05 Stop existing threads 2020-02-19 12:27:21 +00:00
Bob Mottram 1bb4e08c35 Another test case for long text 2020-01-24 11:27:12 +00:00
Bob Mottram c5b86c1b1d Extra test 2020-01-24 10:52:59 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 29558dabb1 Handle single long lines with no spaces 2019-12-13 12:41:26 +00:00
Bob Mottram 486619e05f Use of blurhash is optional 2019-12-04 11:11:18 +00:00
Bob Mottram 7779ab44e3 Media instance option 2019-11-28 16:16:43 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram 0aedab61fb Handle post cache for undo like 2019-11-24 13:37:34 +00:00
Bob Mottram bd68e84776 Store recent posts in memory for fast access 2019-11-24 11:28:58 +00:00
Bob Mottram 65f54a5aa9 Theme setting functions 2019-11-23 13:04:11 +00:00
Bob Mottram ac2ab89aa6 Use dumps to save json 2019-11-23 10:20:30 +00:00
Bob Mottram 96c56491eb Test for saving and loading json 2019-11-23 10:13:57 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 96fd59d295 Maximum limit on emoji within a post 2019-11-16 14:49:21 +00:00
Bob Mottram 2c8d6721d2 Optionally enable shared inbox 2019-11-15 21:43:20 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram c14ab97586 nodeinfo metadata endpoint 2019-11-13 10:32:12 +00:00
Bob Mottram 80a0560fed Extra test for content length 2019-11-12 18:21:52 +00:00
Bob Mottram 127a60280f Debug in http signature verification 2019-11-12 15:03:17 +00:00
Bob Mottram ffea5b704e Language option 2019-11-11 17:49:08 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram e84bf4d726 Revert "Revert "Use ensure_ascii when encoding to utf8""
This reverts commit 719bfb9f5d.
2019-11-09 12:52:47 +00:00
Bob Mottram 719bfb9f5d Revert "Use ensure_ascii when encoding to utf8"
This reverts commit 440016aa3a.
2019-11-09 12:47:42 +00:00
Bob Mottram 440016aa3a Use ensure_ascii when encoding to utf8 2019-11-09 12:33:48 +00:00
Bob Mottram 92de053e93 Extra commentjson tests 2019-11-09 12:13:39 +00:00
Bob Mottram 78842dff31 Fix network test on commentjson 0.8.2 2019-11-09 11:38:42 +00:00
Bob Mottram 00ec2e1b89 Extra test string 2019-11-09 11:06:19 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram 6e4bd2092c Check that json is available 2019-11-09 09:52:09 +00:00
Bob Mottram f796f3f93b Test for non-ascii characters 2019-11-09 09:50:58 +00:00
Bob Mottram ba5608c705 No suffix 2019-11-04 20:45:10 +00:00
Bob Mottram ed2e97ab55 Try to remove long words 2019-11-04 20:39:14 +00:00
Bob Mottram 14d7e2e2b2 Don't replace emoji within json content 2019-10-29 13:04:38 +00:00
Bob Mottram 255a32c0dc Remove cached post on like update 2019-10-19 18:50:05 +01:00
Bob Mottram d8c4661741 Add queue to send out posts 2019-10-16 19:19:18 +01:00
Bob Mottram 6ea855feef Follow test without capabilities 2019-10-15 10:31:10 +01:00
Bob Mottram b0be557047 Fix status number using sequence data 2019-10-12 13:45:53 +01:00
Bob Mottram 3d9398609c Linebreaks with extra space 2019-10-01 11:36:51 +01:00
Bob Mottram 3c6122c56c Exception handling 2019-09-30 23:39:02 +01:00
Bob Mottram 865b4c3ce9 Hellthread mitigation 2019-09-30 11:15:57 +01:00
Bob Mottram cd30e547b8 Unit test for emoji 2019-09-29 19:48:34 +01:00
Bob Mottram de5e6d449a Start of authenticated fetch support 2019-09-25 10:22:10 +01:00
Bob Mottram e93071af5d Tidying 2019-09-01 09:57:51 +01:00
Bob Mottram 565bf041e2 Handle newlines when adding links 2019-09-01 09:55:05 +01:00
Bob Mottram 2ad1b51f9a Different media types 2019-08-30 16:50:20 +01:00
Bob Mottram 779fc287d1 Version 1.0.0 2019-08-29 14:35:29 +01:00
Bob Mottram 8745f1e063 Optionally limit skills searches to the instance 2019-08-28 10:59:19 +01:00
Bob Mottram f695039e5a Preferred name becomes display name - less ambiguous 2019-08-22 19:36:07 +01:00
Bob Mottram 0bfb3b578e Test for actor parsing 2019-08-21 17:35:46 +01:00
Bob Mottram 848d438767 Function to expire actor cache entries 2019-08-20 10:37:09 +01:00
Bob Mottram 8bd42b9d59 Store cached actors to file 2019-08-20 10:16:03 +01:00
Bob Mottram 94d93eb4ef Remove old test function 2019-08-18 10:45:04 +01:00
Bob Mottram f8cc1873d4 Fixing tests 2019-08-18 10:39:12 +01:00
Bob Mottram 0f01a5a11a post path no longer /inbox 2019-08-17 16:16:27 +01:00
Bob Mottram 896b56b3a0 Avoid post conversions between json and string after digest is calculated 2019-08-17 11:15:01 +01:00
Bob Mottram 707cbd7d56 Ensure port numbers are attached when needed 2019-08-16 21:35:11 +01:00
Bob Mottram 1b1810ff8a Calculate message body digest from incoming bytes to avoid any json conversion issues 2019-08-16 18:19:23 +01:00
Bob Mottram d2394b3a69 Fixing http signatures 2019-08-16 14:47:01 +01:00
Bob Mottram 174e166769 Fix digest encoding 2019-08-16 11:36:41 +01:00
Bob Mottram 977160eecf http signature fixes 2019-08-15 22:34:25 +01:00
Bob Mottram 6855366b4c Remove date 2019-08-15 19:21:43 +01:00
Bob Mottram ef89dda935 Mastodon-style user agent 2019-08-14 21:12:27 +01:00
Bob Mottram 8f620566fc Separate proxy port 2019-08-14 14:52:19 +01:00
Bob Mottram d8126b4ffa Fix test 2019-08-09 17:24:44 +01:00
Bob Mottram 52162d1b9b Add hashtag conversion to html 2019-08-09 12:12:08 +01:00
Bob Mottram d769c5b258 Run test in its own subdirectory 2019-08-09 10:46:33 +01:00
Bob Mottram 0fb0f89462 Add an instance identifier 2019-08-02 13:49:34 +01:00
Bob Mottram 770edd001d Notes on skills 2019-07-19 11:01:24 +01:00
Bob Mottram 05da296cdb delegate option 2019-07-18 17:33:36 +01:00
Bob Mottram 4f6e9eb87f Tests for delegation 2019-07-18 17:21:35 +01:00
Bob Mottram 958e76ea89 Functions for role delegation 2019-07-18 16:09:23 +01:00
Bob Mottram 6204830110 More inbox checks 2019-07-18 12:38:52 +01:00