0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
Commit graph

53 commits

Author SHA1 Message Date
Jason Volk
d766564958 ircd:Ⓜ️:fed: Remove any legacy trailing slashes from urls. 2023-01-08 19:26:02 -08:00
Jason Volk
9ffbd8be37 ircd:Ⓜ️:fed: Implement request-side for knock suite. 2022-06-19 20:27:13 -07:00
Jason Volk
da022616d9 ircd:Ⓜ️:fed: Implement request-side for MSC3030 w/ console cmd.
matrix-org/matrix-spec-proposals#3030
2022-06-19 20:27:13 -07:00
Jason Volk
3807a4d832 ircd:Ⓜ️:fed: Add hierarchy request w/ console cmd. 2022-06-19 20:27:13 -07:00
Jason Volk
78257751ba We work hard with our own hands. When we are cursed, we bless; when we are persecuted, we endure it.
-- 1 Corin 4:12
2022-06-17 21:34:02 -07:00
Jason Volk
20204d5917 ircd:Ⓜ️:fed::event_auth: Use single endpoint w/ auth_chain_ids instead of state_ids. 2020-12-10 11:47:52 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
d04008a45f ircd:Ⓜ️:fed: Add non-blocking prelink to interface. 2020-10-16 02:40:39 -07:00
Jason Volk
142179e4a5 ircd:Ⓜ️:fed::well_known: Convert to future interface w/ dummy impl. 2020-10-15 04:55:38 -07:00
Jason Volk
7bac03372d ircd:Ⓜ️:fed: Improve observer interface; employ opts; document/comments. 2020-10-14 22:04:04 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
888c62c156 ircd:Ⓜ️:fed::well_known: Simplify interface; add opts struct. 2020-10-14 22:04:04 -07:00
Jason Volk
f8530e62d8 ircd:Ⓜ️:fed: Remove trailing solidus on request for dendrite. 2020-10-03 02:31:20 -07:00
Jason Volk
f03db0115f ircd:Ⓜ️:fed: Fix content/uri buffer reuse. 2020-10-03 02:31:20 -07:00
Jason Volk
bdf3e0a126 ircd:Ⓜ️:fed: Prevent appending empty id parameters; minor cleanup. 2020-10-03 02:31:20 -07:00
Jason Volk
731dd7c1c0 ircd:Ⓜ️:fed: Fix view pointer to temp rvalue. 2020-10-03 02:31:20 -07:00
Jason Volk
684839235e ircd:Ⓜ️:fed: Remove trailing solidus on send request. 2020-10-01 15:51:59 -07:00
Jason Volk
640e81ef4d ircd:Ⓜ️:fed: Split well_known into namespace into unit. 2020-06-08 16:13:00 -07:00
Jason Volk
761ff66464 ircd:Ⓜ️:fed: Generate POST /publicRooms content by default; add console search param. 2020-05-29 01:34:19 -07:00
Jason Volk
cb310fd75f ircd:Ⓜ️:fed: Increase default well-known timeout. 2020-05-23 10:01:24 -07:00
Jason Volk
5aa0f875d8 ircd:Ⓜ️:fed: Always move result to front of caller buffer. 2020-05-23 10:01:24 -07:00
Jason Volk
7d949427e3 ircd:Ⓜ️:fed: Fix cache content buffer overwrite causing erroneous well-known fallback results. 2020-05-05 16:13:32 -07:00
Jason Volk
970f84304e ircd:Ⓜ️:fed: Remove unused buffer. 2020-05-05 16:05:22 -07:00
Jason Volk
1a1826bded ircd:Ⓜ️:fed: Another attempt at well-known expired-entry fallback. 2020-05-02 23:57:52 -07:00
Jason Volk
9cb01e7237 ircd:Ⓜ️:fed::state: Make event_id parameter optional; remove head fetch. 2020-05-01 08:59:12 -07:00
Jason Volk
a8870908a5 ircd:Ⓜ️:fed: Remove fallback branch. 2020-04-29 03:37:35 -07:00
Jason Volk
f649a31925 ircd:Ⓜ️:fed: Add a default ttl when read from content. 2020-04-29 03:37:35 -07:00
Jason Volk
cffe801148 ircd:Ⓜ️:fed: Simplify cached result copy and test. 2020-04-29 03:37:35 -07:00
Jason Volk
86a601521d ircd:Ⓜ️:fed: Fixes for supplied well-known buffer undersizing. 2020-04-29 03:21:18 -07:00
Jason Volk
4c8e306a94 ircd:Ⓜ️:fed: Improve cache characteristic for fallback on expired records. 2020-04-27 23:35:06 -07:00
Jason Volk
e87a26c142 ircd:Ⓜ️:fed: Use single codepath for request target; use canonize rewrite. 2020-04-26 16:19:37 -07:00
Jason Volk
267e978247 ircd:Ⓜ️:fed: Add indirection interface. 2020-04-25 21:13:57 -07:00
Jason Volk
ea97994fe3 ircd:Ⓜ️:fed: Return origin rather than empty result. 2020-04-25 00:51:38 -07:00
Jason Volk
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
b31b0eb691 ircd:Ⓜ️:fed: Add convenience delegator for send. 2020-04-01 20:37:51 -07:00
Jason Volk
9ac34573e5 ircd:Ⓜ️:fed::keys::claim: Fix missing content (regression 55ffdddc6a). 2020-03-31 18:06:36 -07:00
Jason Volk
4cd625f2e0 ircd:Ⓜ️:fed: I robbed other churches by receiving support from them so as to serve you. -2 Cor. 11:8 (NIV). 2020-03-18 23:02:35 -07:00
Jason Volk
0ad8ccc905 ircd:Ⓜ️:fed: Take no thought how or what to speak: for it shall be given you in that hour. -Mat. 10:19 (DRB) 2020-03-17 08:57:37 -07:00
Jason Volk
82bc4be5e1 ircd:Ⓜ️:fed: Improve conditions to bail before redirect. 2020-03-16 07:53:30 -07:00
Jason Volk
89db4cfe21 ircd:Ⓜ️:fed: Support HTTP redirects when fetching well-known. 2020-03-11 20:45:22 -07:00
Jason Volk
dcfa6c9d48 ircd:Ⓜ️:fed: Add conf item for well-known fetch timeout. 2020-03-11 18:47:17 -07:00
Jason Volk
c4ef486ebd ircd:Ⓜ️:fed: Simplify cache record composition; use json::members iov. 2020-03-09 09:10:45 -07:00
Jason Volk
97747219a4 ircd:Ⓜ️:fed: Rename property in well-known cache record. 2020-03-07 23:59:22 -08:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
63aa71ce58 ircd:Ⓜ️:fed: Implement federation 3.1 well-known for server name resolution. 2020-03-07 21:33:44 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
dddb8e4254 ircd:Ⓜ️:fed: Mitigate some remaining event_id.host() to derive a remote. 2020-03-07 14:55:50 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00