Commit Graph

233 Commits (2fcef654a61d4b353b4f622eeb1d95a8654a3fa9)

Author SHA1 Message Date
Bob Mottram 4daec86f2a Support jpeg-xl format 2022-02-06 11:04:49 +00:00
Bob Mottram e29d66ddd6 Version 1.3.0 2022-02-03 13:58:20 +00:00
Bob Mottram 920fe5e2bf Consistent prefix for exception messages 2022-02-03 10:02:41 +00:00
Bob Mottram 5341e5a274 Check that string looks like a url when downloading image 2022-01-05 15:21:44 +00:00
Bob Mottram 36507ea846 Minimal check for url 2022-01-05 15:11:32 +00:00
Bob Mottram 0d5038f204 Return values if invalid url 2021-12-31 10:15:51 +00:00
Bob Mottram 19bd33e885 Check posting to permitted url 2021-12-31 10:14:22 +00:00
Bob Mottram 59c88dd2e0 Snake case 2021-12-31 10:13:21 +00:00
Bob Mottram 9dc9595853 Remove unused variable 2021-12-31 09:53:55 +00:00
Bob Mottram 086c760ace Moving to snake case 2021-12-29 21:55:09 +00:00
Bob Mottram 4f62625a4b Snake case 2021-12-28 16:56:57 +00:00
Bob Mottram 602ab1ad58 Snake case 2021-12-27 20:47:05 +00:00
Bob Mottram 2ab472fad4 Snake case 2021-12-27 15:58:46 +00:00
Bob Mottram c1034b21d1 Snake case 2021-12-26 15:32:00 +00:00
Bob Mottram 1c62dcd906 Snake case 2021-12-26 14:42:21 +00:00
Bob Mottram 6abe5d83fe Snake case 2021-12-26 10:00:46 +00:00
Bob Mottram 77fc7ddc8e Snake case 2021-12-25 23:45:30 +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 3c1c0f2feb Snake case 2021-12-25 21:09:22 +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 be75d250e0 Command to retrieve html for post 2021-12-23 20:59:36 +00:00
Bob Mottram c5bb57a424 Extra types 2021-12-17 12:58:58 +00:00
Bob Mottram 66447bcbf1 Comma 2021-12-17 12:57:08 +00:00
Bob Mottram 9fa69bcc81 Set accept header for favicons 2021-12-17 12:55:30 +00:00
Bob Mottram d5e9652b16 Explicitly detect mime type 2021-12-17 10:15:05 +00:00
Bob Mottram ddd29d8577 Change function names 2021-12-17 10:12:11 +00:00
Bob Mottram 2b74116f12 Tidying 2021-12-17 10:07:49 +00:00
Bob Mottram 823766088e Rename function 2021-12-17 10:04:18 +00:00
Bob Mottram 974e2d0830 Exception handling only where needed 2021-12-17 09:55:19 +00:00
Bob Mottram b5975917a6 Get content type 2021-12-17 09:48:45 +00:00
Bob Mottram 6da17599ca Detect favicon mime type 2021-12-16 23:32:13 +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 5b9af53cf9 Less verbose 2021-11-09 20:11:56 +00:00
Bob Mottram d414e204bb Extra debug 2021-11-01 20:27:29 +00:00
Bob Mottram 4e81096b32 Store custom emoji 2021-11-01 17:12:17 +00:00
Bob Mottram d6150d7fb0 Debug messages for exceptions 2021-10-29 19:48:15 +01:00
Bob Mottram 1244d0fafc Returning error codes from post 2021-10-18 11:20:57 +01:00
Bob Mottram ee11752b0b Include status code in warning 2021-10-18 10:58:41 +01:00
Bob Mottram 3761a3185e Debug 2021-09-20 17:51:53 +01:00
Bob Mottram 9d0764f725 Update diagrams 2021-09-17 16:12:50 +01:00
Bob Mottram 7652da1d91 Include content length in get request headers 2021-09-14 23:13:27 +01:00
Bob Mottram 20b5805e9a Set accept type for signed header 2021-09-14 23:03:26 +01:00
Bob Mottram 0af91ce4b6 Tidying 2021-09-14 22:48:34 +01:00
Bob Mottram 94db0a9520 More unit tests for signing get requests 2021-09-14 22:22:49 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 3cc5e1445c Space 2021-09-08 13:38:22 +01:00
Bob Mottram 619d7d5aa0 Sign get requests if an instance actor key exists 2021-09-08 12:25:11 +01:00
Bob Mottram d9cda14782 Signing GET requests 2021-09-08 11:05:45 +01:00
Bob Mottram a79d2b191d Extra http code 2021-09-07 18:05:26 +01:00
Bob Mottram edeb0d9f1e Extraneous logic 2021-09-01 22:09:24 +01:00
Bob Mottram b66ab9e74a Field not needed 2021-09-01 21:24:01 +01:00
Bob Mottram fed6d0c144 Remove lower case fields 2021-09-01 21:14:16 +01:00
Bob Mottram 9c79aee5c8 Title fields 2021-09-01 21:11:59 +01:00
Bob Mottram 3b0b4076fb Add content length to signed get 2021-09-01 20:29:26 +01:00
Bob Mottram a751dbdf14 Fixing signed get 2021-09-01 19:46:28 +01:00
Bob Mottram 1398685e74 Set domain 2021-09-01 19:02:34 +01:00
Bob Mottram 89f59fa71c Debug 2021-09-01 18:58:42 +01:00
Bob Mottram a3328b33bb Consolidation of Accept within signed GET 2021-08-31 22:57:49 +01:00
Bob Mottram a69ac4c883 Include accept within non-digest http signature 2021-08-31 21:53:53 +01:00
Bob Mottram ed516c8ff7 Get signature with digest 2021-08-31 21:20:58 +01:00
Bob Mottram 73a5182232 Don't include key in debug 2021-08-31 15:27:55 +01:00
Bob Mottram a83c6594d0 Debug signed get 2021-08-31 15:23:50 +01:00
Bob Mottram 6c0a39c64d Support for authorized fetch using instance actor signing key 2021-08-31 15:17:11 +01:00
Bob Mottram 894a8ce3fc Refactoring for signed GET 2021-08-31 10:10:49 +01:00
Bob Mottram 746f58fd7f Placeholder for signed GET 2021-08-30 23:21:14 +01:00
Bob Mottram c559727279 Consistent syntax 2021-08-30 22:44:22 +01:00
Bob Mottram ea980b078f More descriptive 2021-08-30 22:43:23 +01:00
Bob Mottram dcf76f996e Handle actors with no public post feed 2021-08-02 21:43:53 +01:00
Bob Mottram 53f6b637bf Tidying 2021-07-13 16:49:29 +01:00
Bob Mottram 4697de88c0 Detect account directories 2021-07-04 19:01:31 +01:00
Bob Mottram 83b1bfb293 Tidying 2021-07-04 18:55:29 +01:00
Bob Mottram eab0a92af9 Include User-Agent within POST 2021-06-20 14:39:53 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram 7c6e2c6961 Remove redundant check 2021-06-18 12:54:49 +01:00
Bob Mottram cdd0f91dfb Additional debug information on getJson 2021-06-18 12:53:25 +01:00
Bob Mottram c2bc98d4de Set host domain when getting actor 2021-06-18 10:22:16 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram 2c348f3edf Improve error reporting 2021-05-20 13:04:05 +01:00
Bob Mottram 032ebe2a8c Refresh timeline after mute 2021-03-21 13:17:59 +00:00
Bob Mottram 6dc85f69dc Less verbose 2021-03-14 20:55:37 +00:00
Bob Mottram a3be3c1803 Less verbose 2021-03-14 20:15:44 +00:00
Bob Mottram d6efc44fe2 Timeout on post 2021-03-10 19:24:52 +00:00
Bob Mottram 63b7aa6d94 Timeout when sending post via c2s 2021-03-10 19:11:14 +00:00
Bob Mottram 62ae21dd3e json post timeout 2021-03-10 18:41:13 +00:00
Bob Mottram ce3f21f9b1 quiet option when getting json 2021-03-10 15:47:12 +00:00
Bob Mottram 74dc6e10c4 redact rather than remove 2021-03-02 20:44:00 +00:00
Bob Mottram af8c8012eb Remove any authorization details from debug 2021-03-02 20:41:26 +00:00
Bob Mottram d3266f236d Session timeout 2021-03-02 18:02:29 +00:00
Bob Mottram e6b9382a0a Allow incoming posts with failing http signatures provided that they have a json signature which passes
This provides the same level of assurance, but allows posts to arrive via relays
2021-02-14 15:22:03 +00:00
Bob Mottram e321cbd0e5 Debug 2021-02-14 14:05:51 +00:00
Bob Mottram 783711b46f Check if actor has changed
Can sometimes happen if Person Update has not been received
2021-02-14 13:43:05 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 1bb4eab631 Support for svg format images 2021-01-11 22:27:57 +00:00
Bob Mottram a1f677e380 Consistent message 2020-12-18 13:06:26 +00:00
Bob Mottram 3330ed1601 Use spaces for easier debug 2020-12-18 13:04:51 +00:00
Bob Mottram 4d4bdceb76 Move rss functions 2020-10-04 10:51:12 +01:00