0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00
Commit graph

71 commits

Author SHA1 Message Date
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
Jason Volk f04ba38b42 ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
Jason Volk be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk 69d9d3c062 ircd: Reduce log facility of resource registration. 2018-01-25 17:29:37 -08:00
Jason Volk e63f06ecc2 ircd: Various minor cleanup. 2018-01-22 00:54:52 -08:00
Jason Volk 7867e7a0b4 ircd::http: Support view of full URI in the request::head; use in X-Matrix auth. 2018-01-22 00:54:51 -08:00
Jason Volk facf8e2e78 ircd: Add back URI composition for the X-Matrix auth; report errors to log. 2018-01-22 00:54:51 -08:00
Jason Volk a9dabd661b ircd: Propagate better error back to user here for now. 2018-01-18 03:55:28 -08:00
Jason Volk c83665ca6c ircd: Reorg client; add class members; pointer to current request; conf, etc. 2018-01-13 17:58:11 -08:00
Jason Volk 4d310ac22b ircd: Towards debug message uniformity. 2018-01-11 22:02:34 -08:00
Jason Volk d151d96d83 ircd: Fix/improve response header related. 2018-01-11 22:02:34 -08:00
Jason Volk 04fa556c58 ircd: Reflow the request handlers to give the resource more control over content. 2018-01-11 22:02:34 -08:00
Jason Volk f99461481c ircd: Take some buffers off the stack. 2018-01-11 22:02:34 -08:00
Jason Volk dc4b17f84a ircd/modules: Fix init prio removal related. 2018-01-11 03:24:22 -08:00
Jason Volk c03bb7e4f2 ircd: Various fixes and elaborations to client/net. 2018-01-08 21:49:00 -08:00
Jason Volk f8127957c3 ircd: Various error handling fixes/cleanup. 2018-01-08 03:09:00 -08:00
Jason Volk 4561bb21a0 ircd: Various fixes to net related call points. 2018-01-06 23:27:02 -08:00
Jason Volk 09d0c9b2d6 ircd: Respond with Allow header when 405'ing. 2017-12-24 21:54:59 -07:00
Jason Volk 36142718f6 ircd::http: Massage additional header related into response interface/stack. 2017-12-24 21:54:59 -07:00
Jason Volk c20a2927d0 ircd: Minor reorg client/resource relationship. 2017-12-24 21:54:59 -07:00
Jason Volk 51ebd9c346 ircd::http: Update HTTP send-sides to write to stream_buffer. 2017-12-24 21:54:59 -07:00
Jason Volk f931308850 ircd/modules: Update resource / opts construction arguments. 2017-12-12 14:59:40 -07:00
Jason Volk 1a1a50f5f3 Checkpoint reorganization. 2017-11-30 12:30:19 -08:00
Jason Volk d1f0667b1e ircd: Add validations of outgoing JSON. 2017-11-30 11:23:47 -08:00
Jason Volk 4793e4906c ircd:Ⓜ️ Checkpoint matrix top-half / modules. 2017-11-30 11:23:44 -08:00
Jason Volk ac756a8856 ircd: Use dynamic allocations for these resource response buffers. 2017-11-30 11:23:41 -08:00
Jason Volk f10662fe7d ircd:Ⓜ️ Checkpoint matrix. 2017-11-30 11:23:40 -08:00
Jason Volk 33a35d5244 ircd: Add X-Matrix verification for resources. 2017-10-15 21:30:19 -07:00
Jason Volk 115940e803 ircd::http: Preserve leading slash from user's URL so we can use it for X-Matrix auth. 2017-10-15 21:26:05 -07:00
Jason Volk 18bbf758f3 ircd/modules: Improve path param parsing related; various m:: related. 2017-10-11 20:54:03 -07:00
Jason Volk edcd95cd8f modules/ircd:Ⓜ️ Upgrade various json tuple templates with string literals. 2017-10-11 18:18:19 -07:00
Jason Volk 8a9f2597b9 ircd: Fix http resource lookup. 2017-10-03 04:27:15 -07:00
Jason Volk 20869309a2 Checkpoint matrix with preliminary federation client and keyserver related. 2017-10-03 04:27:15 -07:00
Jason Volk 57f8b28330 ircd: Add X-IRCd-Response-Time header. 2017-10-03 04:17:11 -07:00
Jason Volk 5d7eee1937 ircd:Ⓜ️ Simplify the event query interface by making more internal decisions from query data. 2017-10-03 04:17:08 -07:00
Jason Volk 92a8d8e2bf ircd:Ⓜ️ Improve interfaces; Add prelim sync loop; Add send resource handler. 2017-10-03 04:17:07 -07:00
Jason Volk d4508e157f ircd:Ⓜ️ Deduplicate user related in m::user. Update various resource related. 2017-09-24 20:48:53 -07:00
Jason Volk c032c686f6 Checkpoint matrix application basis. 2017-09-24 18:16:45 -07:00
Jason Volk f060bd4fc5 ircd: Support resource response json::value for array/object values; cleanup. 2017-09-24 18:16:45 -07:00
Jason Volk 7f7ef9a4bf ircd: Add client request timer related. 2017-09-24 18:16:44 -07:00