Commit Graph

255 Commits (5bd133ffff591df024a26fe3671647c310535318)

Author SHA1 Message Date
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
Bob Mottram 982ab616d9 Fix ports on post filenames 2019-07-18 12:35:48 +01:00
Bob Mottram c70d37cdf2 More inbox checks 2019-07-18 10:31:29 +01:00
Bob Mottram 985e66f0df Check that posts entering the inbox are valid 2019-07-18 10:26:47 +01:00
Bob Mottram 5ff4c121ce Allow deletes in tests 2019-07-17 20:31:52 +01:00
Bob Mottram 58c213256c Don't allow federated deletes by default 2019-07-17 19:13:45 +01:00
Bob Mottram 185b9c97c1 Option to not accept deletions 2019-07-17 18:44:26 +01:00
Bob Mottram 27908a5fad Test for post deletion 2019-07-17 18:16:48 +01:00
Bob Mottram 6b3de06ec7 Test for unfollowing 2019-07-17 12:54:13 +01:00
Bob Mottram dcd0b8eff7 More checks 2019-07-17 12:30:26 +01:00
Bob Mottram fc42149e66 Follow checks 2019-07-17 12:28:19 +01:00
Bob Mottram fb31927502 Extra follow checks 2019-07-17 12:24:33 +01:00
Bob Mottram 3813809958 Fix follower ports 2019-07-16 23:57:45 +01:00
Bob Mottram f02839e32f Test follow via c2s 2019-07-16 22:38:06 +01:00
Bob Mottram a819c4ae57 Test for announce via c2s 2019-07-16 20:07:45 +01:00
Bob Mottram d7598125cf Move images to the media directory 2019-07-16 17:08:21 +01:00
Bob Mottram c99828c264 Uploading images via c2s 2019-07-16 15:23:06 +01:00
Bob Mottram 92fb124713 c2s send test 2019-07-16 12:33:40 +01:00
Bob Mottram a98facaf33 Fixing c2s 2019-07-16 11:19:04 +01:00
Bob Mottram ce6a60e66e Add quotas 2019-07-15 11:22:19 +01:00
Bob Mottram 83c51c062c Less verbose tests 2019-07-14 18:19:00 +01:00
Bob Mottram 50ce56d937 Setting roles 2019-07-14 13:25:16 +01:00
Bob Mottram 065daedba9 Set skill level 2019-07-14 13:08:18 +01:00
Bob Mottram 7105c0cd79 Maximum replies per post 2019-07-13 22:00:12 +01:00
Bob Mottram a44e9f5a3c Tidying 2019-07-13 10:37:17 +01:00
Bob Mottram d89bef6879 Beginning send post option 2019-07-12 23:29:10 +01:00
Bob Mottram 7dfa210023 Option for archiving posts 2019-07-12 21:43:55 +01:00
Bob Mottram 0b1e64906e Test for attaching an image 2019-07-12 20:26:54 +01:00
Bob Mottram 83b172d046 Functions for image attachments 2019-07-12 20:08:46 +01:00
Bob Mottram dca558a0fa Check that announce goes to outbox 2019-07-11 20:34:00 +01:00
Bob Mottram 5d80b5adbc Check that announce activity arrives 2019-07-11 20:31:02 +01:00
Bob Mottram ca0db9e45f Adding test for announce 2019-07-11 18:55:10 +01:00
Bob Mottram f301139626 Receiving likes 2019-07-11 13:59:00 +01:00
Bob Mottram c301f45b33 Move shared inbox account into daemon 2019-07-11 13:29:31 +01:00
Bob Mottram a671ceb952 Etra default capabilities 2019-07-09 19:11:23 +01:00
Bob Mottram 21a72b59fc Set default capabilities with options 2019-07-09 18:54:08 +01:00
Bob Mottram 78e3fcfcf9 Follow command 2019-07-09 16:51:31 +01:00
Bob Mottram 76e8167ce7 Updating of capabilities 2019-07-09 15:20:23 +01:00
Bob Mottram 95c6d9366a Check that queue is empty after test 2019-07-09 09:52:53 +01:00
Bob Mottram 18f29fb9b0 Improving inbox post distribution 2019-07-09 00:05:48 +01:00
Bob Mottram 5d9f972a5d Resolving recipients 2019-07-08 23:12:24 +01:00
Bob Mottram 08fdf5fa0a Return capability id and account 2019-07-08 18:15:55 +01:00
Bob Mottram 77e2ec39bc Function for getting the followers of an actor 2019-07-08 17:49:12 +01:00
Bob Mottram 8a1fd82584 Function for grouping followers by domain 2019-07-08 09:51:33 +01:00
Bob Mottram 62dde14bee Sleep first 2019-07-07 23:58:12 +01:00
Bob Mottram 07f5de5648 Stop eve 2019-07-07 23:38:35 +01:00
Bob Mottram a01138ecf6 Longer waits 2019-07-07 23:29:47 +01:00
Bob Mottram daaea4d5fd Longer waits 2019-07-07 23:26:15 +01:00
Bob Mottram 64440c715e Longer waits 2019-07-07 23:25:22 +01:00
Bob Mottram 356877b98c Test for strict capabilities enforcement 2019-07-07 20:25:38 +01:00
Bob Mottram b9ebf425b1 Option to strictly enforce object capabilities 2019-07-07 18:47:37 +01:00
Bob Mottram d83a063625 Move ocap files to account directories 2019-07-07 17:33:59 +01:00
Bob Mottram 3addf30a9b Test for follow capabilities creation 2019-07-07 17:06:38 +01:00
Bob Mottram 994ce34a76 Check for capabilities storage 2019-07-07 16:51:04 +01:00
Bob Mottram e9cf9dfc27 Add capabilities to follow requests 2019-07-07 12:53:32 +01:00
Bob Mottram 03ecaf9a8a Follow request test passes 2019-07-06 20:24:52 +01:00
Bob Mottram 755d28f3e1 Add checks for followers and following 2019-07-06 18:15:03 +01:00
Bob Mottram ef3a951452 Test for follow request 2019-07-06 14:49:25 +01:00
Bob Mottram c9d62e8361 Adding capabilities to posts 2019-07-06 11:33:57 +01:00
Bob Mottram bec891c081 Move function location 2019-07-05 15:39:24 +01:00
Bob Mottram 94d412a5aa Add other domains 2019-07-05 15:27:48 +01:00
Bob Mottram 410010ec2b Functions for counting followers on a domain 2019-07-05 15:25:15 +01:00
Bob Mottram a0499dc95b Function for getting a list of followers 2019-07-05 13:35:29 +01:00
Bob Mottram 502668fb34 Check that inbox is updated 2019-07-04 21:36:12 +01:00
Bob Mottram 8d02e8fdc2 Fix network test 2019-07-04 21:25:19 +01:00
Bob Mottram 9ba6edd5c7 Test that passwords file gets created 2019-07-04 20:09:48 +01:00
Bob Mottram fbaf144479 Fix posts option 2019-07-04 18:31:41 +01:00
Bob Mottram b321baf307 Generic in/outbox functions 2019-07-04 17:24:23 +01:00
Bob Mottram e12f0994cf Fixing public key lookup 2019-07-04 15:36:29 +01:00
Bob Mottram 50a2f95c9c outbox post authentication 2019-07-04 10:00:53 +01:00
Bob Mottram c4797d3de2 Authentication debug 2019-07-04 09:56:15 +01:00
Bob Mottram f2c596ee2d Authorization for inbox access 2019-07-03 20:32:07 +01:00
Bob Mottram f5df29cda9 Test for changing password 2019-07-03 20:13:23 +01:00
Bob Mottram 86aaff3c84 Option to use dat urls 2019-07-03 20:00:03 +01:00
Bob Mottram be9c2d68d2 Tests for basic authentication 2019-07-03 19:24:44 +01:00
Bob Mottram be525dff0a Debug option 2019-07-03 17:14:45 +01:00
Bob Mottram 0a348ac02a Support c2s posts 2019-07-03 16:10:18 +01:00
Bob Mottram e1f656ffe6 test post creation 2019-07-03 11:09:24 +01:00
Bob Mottram 435f16e9df Test person creation 2019-07-03 11:04:23 +01:00
Bob Mottram c2cc03c76a Change username to nickname 2019-07-03 10:40:27 +01:00
Bob Mottram 983b299792 Test for unfollowing 2019-07-03 10:33:28 +01:00
Bob Mottram 60b59d4f86 Tests for follow functions 2019-07-03 10:24:55 +01:00
Bob Mottram f609e365da Announce function 2019-07-02 10:25:29 +01:00
Bob Mottram e2de1d1b9c Test servers on different ip addresses 2019-07-01 22:01:43 +01:00
Bob Mottram 22090a1aef Fallbacks for GET and POST locking 2019-07-01 15:30:48 +01:00
Bob Mottram 832480ef47 Empty cc by default 2019-07-01 13:51:55 +01:00
Bob Mottram ec8b82ec9c Include port numbers in messages 2019-07-01 13:47:08 +01:00
Bob Mottram 156e36aa66 Basedir in public posts 2019-07-01 13:23:15 +01:00
Bob Mottram 503db492e5 Remove cc if not specified 2019-07-01 13:14:49 +01:00
Bob Mottram 79baa0ddf6 Debugging POST 2019-07-01 12:48:54 +01:00
Bob Mottram d160c060c9 Parameter types 2019-07-01 12:09:09 +01:00
Bob Mottram 888e4831f2 base directory in tests 2019-07-01 11:25:03 +01:00
Bob Mottram d9d5ce94dc Fix http signature with port number 2019-07-01 10:31:02 +01:00