Commit Graph

204 Commits (4970b16aca49f31d18983b9f9be5c1f48c8946e8)

Author SHA1 Message Date
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
Bob Mottram 58cab9e5ec Check that feeds look like feeds 2020-10-03 23:20:21 +01:00
Bob Mottram 36893bb208 Function to get a list of rss feeds from file 2020-10-03 23:17:37 +01:00
Bob Mottram e0162738d4 Handle different rss date formats 2020-10-03 22:59:38 +01:00
Bob Mottram e6b66d5cb5 Function to get an rss feed 2020-10-03 22:50:05 +01:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram b064d6f4d6 Deprecate capabilities module 2020-09-27 19:35:35 +01:00
Bob Mottram b8f122004b Less verbose 2020-09-25 15:38:50 +01:00
Bob Mottram a7dc83813c Tidying 2020-06-28 20:04:43 +01:00
Bob Mottram f7abd0d702 Session debug 2020-06-24 09:37:16 +01:00
Bob Mottram 689e9a76cf Don't Keep session alive 2020-06-23 23:17:48 +01:00
Bob Mottram 370bb4b1cf Keep session alive 2020-06-23 23:15:55 +01:00
Bob Mottram b7653b9eb1 More exception handling 2020-06-23 22:39:19 +01:00
Bob Mottram 9fa258dc79 Extra session exception handling 2020-06-23 14:41:12 +01:00
Bob Mottram 72fdb90d17 Try trapping socket errors 2020-06-23 14:28:41 +01:00
Bob Mottram 6610c1a165 Use i2p socks proxy 2020-06-19 23:09:20 +01:00
Bob Mottram 70b0277468 i2p deployment script 2020-06-18 20:17:40 +01:00
Bob Mottram bee0d99ce6 Support for gnunet 2020-06-09 12:51:51 +01:00
Bob Mottram 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram 4fecd1fa3a Session error handling 2020-06-08 19:05:36 +01:00
Bob Mottram 48f0f81a9f Handle errors when creating session 2020-06-08 18:10:53 +01:00
Bob Mottram d652485f8a flake8 format 2020-04-04 12:00:19 +01: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 f0c61e9b3d Show code 2020-02-19 14:16:34 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 50bd337e87 Tidying 2019-11-18 16:55:04 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00