Jason Volk
|
d65c22fd9f
|
ircd: Use resource log facility for HTTP status related; add path to log msg.
|
2018-10-24 18:24:51 -07:00 |
|
Jason Volk
|
6f2c9631a1
|
ircd::resource: Add snomask'ed log facility.
|
2018-10-24 12:44:13 -07:00 |
|
Jason Volk
|
b9aa697206
|
ircd::resource: Make Access-Control-Allow-Origin response header a conf item.
|
2018-10-02 15:58:03 -07:00 |
|
Jason Volk
|
5b7cf5a8eb
|
ircd::net::dns: Reorg namespace structure related.
|
2018-10-01 12:03:31 -07:00 |
|
Jason Volk
|
da8beda0c3
|
ircd:Ⓜ️🆔 Support intuitive constructions of m::node::id.
|
2018-09-30 17:58:16 -07:00 |
|
Jason Volk
|
771ecaef7e
|
ircd::client: Simplify log calls with single loghead() string.
|
2018-09-27 17:05:19 -07:00 |
|
Jason Volk
|
d6d1deccc6
|
ircd::resource: Tweak resource path search and fallback to webroot.
|
2018-09-13 23:34:40 -07:00 |
|
Jason Volk
|
11948e47ac
|
ircd: Move m::import to mods::import where it is more appropriate.
|
2018-09-13 18:19:27 -07:00 |
|
Jason Volk
|
2140f42cd7
|
ircd::resource: Internalize the buffering boilerplate used with json::stack.
|
2018-09-04 22:03:12 -07:00 |
|
Jason Volk
|
41dd3cca29
|
ircd::resource: Better debug log indication of chunked encoding response.
|
2018-08-25 13:59:22 -07:00 |
|
Jason Volk
|
74bb040b8c
|
ircd::resource: Make response head buffer size a named const; fix comment.
|
2018-08-25 13:58:49 -07:00 |
|
Jason Volk
|
f48ec4a6a4
|
ircd::resource: Minor cleanup.
|
2018-08-22 15:17:55 -07:00 |
|
Jason Volk
|
4ef10e9f9e
|
ircd::resource: Optimize access_token -> user_id query on auth.
|
2018-05-31 04:49:21 -07:00 |
|
Jason Volk
|
1f0225ecdc
|
ircd::resource: Reorg token / x-matrix checks; always try to resolve token if supplied.
|
2018-05-31 04:49:21 -07:00 |
|
Jason Volk
|
54f08c0351
|
ircd::resource: Involve a request context interrupt on timeout.
|
2018-05-28 00:33:21 -07:00 |
|
Jason Volk
|
fc3fd6a8b2
|
ircd::resource: Add a node_id to the resource request struct.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
ba4b3fa145
|
ircd: Minor comments / minor cleanup.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
e3a85fa523
|
ircd::resource: Consistent rstrip of trailing path solidus.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
6feaa95d4b
|
ircd::resource: Add MIME type requirement option for methods.
|
2018-05-09 17:47:09 -07:00 |
|
Jason Volk
|
a054ac6b2f
|
ircd::resource: Clear peer error after peer contacts us.
|
2018-05-02 22:22:12 -07:00 |
|
Jason Volk
|
243b0b7918
|
ircd::resource: Fix resource false matching issue; cleanup.
|
2018-04-23 19:17:03 -07:00 |
|
Jason Volk
|
7889d116f0
|
ircd::resource: Choose better log level based on HTTP response codes.
|
2018-04-23 17:47:10 -07:00 |
|
Jason Volk
|
f808a28664
|
ircd: Add m/m.h to stdinc.h
|
2018-04-22 16:22:02 -07:00 |
|
Jason Volk
|
fcf17db132
|
ircd: Various fixes / cleanup.
|
2018-04-20 15:22:49 -07:00 |
|
Jason Volk
|
19d7e05605
|
ircd::resource: Allow each resource method to specify its timing.
|
2018-04-15 18:02:41 -07:00 |
|
Jason Volk
|
69b0066c15
|
ircd::resource: Add routine to warmup caches after origin verification.
|
2018-04-14 17:15:06 -07:00 |
|
Jason Volk
|
deb1a0a979
|
ircd::resource: Add chunked encoding response suite.
|
2018-04-13 23:19:43 -07:00 |
|
Jason Volk
|
414133ba55
|
ircd::resource: Reset the client.request object after request.
|
2018-04-13 16:52:38 -07:00 |
|
Jason Volk
|
dbba5519f5
|
ircd::resource: Use json::empty_object instead of literal; cleanup debuglog.
|
2018-04-04 22:54:58 -07:00 |
|
Jason Volk
|
b9bb4b4a45
|
ircd::resource: Carry origin in the request object.
|
2018-04-02 23:20:50 -07:00 |
|
Jason Volk
|
a48426e25d
|
ircd/modules: Migrate some log messages to new facilities.
|
2018-03-15 22:25:16 -07:00 |
|
Jason Volk
|
f5904dc69d
|
ircd: Simplify the exception flow for request auth even though it separates throw points.
|
2018-03-11 13:40:24 -07:00 |
|
Jason Volk
|
f11be8a0d8
|
ircd: Replace the client write_closure thing.
|
2018-03-11 13:40:24 -07:00 |
|
Jason Volk
|
bbc1844c61
|
ircd::http: Status code signage consistency.
|
2018-03-11 10:23:06 -07:00 |
|
Jason Volk
|
ba6832b420
|
ircd: Split out allow methods list generator.
|
2018-03-11 10:22:10 -07:00 |
|
Jason Volk
|
e2569b4cb6
|
ircd: Disambiguate the litany of response argument variations.
|
2018-03-09 17:10:45 -08:00 |
|
Jason Volk
|
27b01a58eb
|
ircd: Tweak client stack error related; fix missing content-type; assert all responses.
|
2018-03-09 17:10:45 -08:00 |
|
Jason Volk
|
1dec67d81e
|
ircd: Catch inner timeouts on client request.
|
2018-03-09 17:10:45 -08:00 |
|
Jason Volk
|
1e041deb55
|
ircd: Add head-only resource::response; cleanup comments / cruft.
|
2018-03-08 11:42:43 -08:00 |
|
Jason Volk
|
8c02823d49
|
ircd: Tweak client error handling; fwddecl json::expectation_failure.
|
2018-03-08 07:40:41 -08:00 |
|
Jason Volk
|
8de1fde58c
|
ircd::resource: Minor cleanup; response related.
|
2018-03-05 02:41:24 -08:00 |
|
Jason Volk
|
52cbf0fc70
|
ircd: Condition client timeout for longpoll; fix resource request reference.
|
2018-02-21 17:43:29 -08:00 |
|
Jason Volk
|
9173c13b89
|
ircd: Move resource::request related off the stack into client.
|
2018-02-17 16:17:59 -08:00 |
|
Jason Volk
|
7e89baf369
|
ircd: Add resource::method::CONTENT_DISCRETION option flag.
|
2018-02-17 14:38:49 -08:00 |
|
Jason Volk
|
3709bd5612
|
ircd: Improve+rename client/resource head_buffer/content_buffer related.
|
2018-02-17 14:28:06 -08:00 |
|
Jason Volk
|
2be10ef206
|
ircd: Fix/Address client current request flow for longpolls.
|
2018-02-12 19:30:44 -08:00 |
|
Jason Volk
|
830a4b92a1
|
ircd:Ⓜ️ Add preliminary !@user:host "user's room" to database all things user.
|
2018-02-11 15:47:24 -08:00 |
|
Jason Volk
|
0afaa70ccf
|
ircd: Refer to the right access_token in the resource::request struct.
|
2018-02-10 22:07:06 -08:00 |
|
Jason Volk
|
b1d257c93a
|
ircd: Support authorization: bearer access tokens.
|
2018-02-10 22:03:39 -08:00 |
|
Jason Volk
|
8044fdb3ce
|
ircd: Reenable access token authentication.
|
2018-02-10 22:03:31 -08:00 |
|