0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00
Commit graph

4472 commits

Author SHA1 Message Date
Jason Volk
cd78f802b2 modules/admin/rooms: Implement GET /forward_extremities. 2023-03-02 21:24:10 -08:00
Jason Volk
4abe844c72 modules/admin: Stub GET /federation. 2023-03-02 21:24:10 -08:00
Jason Volk
fe1dfbce9b modules/admin/users: Implement GET /pushers. 2023-03-02 21:24:09 -08:00
Jason Volk
35e1ba3321 modules/admin/users: Implement GET /devices. 2023-03-02 21:24:09 -08:00
Jason Volk
ba70036789 modules/admin/users: Implement GET /account_data. 2023-03-02 21:24:09 -08:00
Jason Volk
0f4d048fab modules/admin/users: Implement GET /joined_rooms. 2023-03-02 21:24:09 -08:00
Jason Volk
bb0e226760 modules/admin: Implement GET /server_version. 2023-03-02 21:24:09 -08:00
Jason Volk
3dafa47ac3 modules/admin: Apply REQUIRES_OPER method flag; simplify. 2023-03-02 19:42:02 -08:00
Jason Volk
19c740a182 ircd::resource: Separate ircd:Ⓜ️:resource flags out from abstract. 2023-03-02 14:00:44 -08:00
Jason Volk
560bd5edad modules/console: Add param to filter db files cmd output by level. 2023-03-02 00:39:35 -08:00
Jason Volk
d264a5019d modules/console: Query room version for options in stage final cmd. 2023-03-02 00:39:35 -08:00
Jason Volk
ab7dd15618 ircd::db: Add conf items to connect database options to ircd::conf. 2023-02-27 21:52:27 -08:00
Jason Volk
56984d59e9 ircd:Ⓜ️ Fix various occurrences of state_key="" considered falsy. 2023-02-24 18:51:18 -08:00
Jason Volk
ce6b4496b3 modules/federation/make_join: Check visibility only for non-public rooms. 2023-02-24 17:45:35 -08:00
Jason Volk
8fae18d8ea modules/federation: Add missing top-level spec transaction fields. 2023-02-24 16:07:37 -08:00
Jason Volk
4519ecf6e3 modules/federation/send_join: Tolerate join event prev_state not found w/o throwing. 2023-02-24 00:35:49 -08:00
Jason Volk
99f6289922 modules/m_listen: Skip client limits for localhost. #189 2023-02-23 19:42:24 -08:00
Jason Volk
73c5a4f36b modules/federation/sender: Multiple workers; use ctx::queue; fix legacy externs. 2023-02-23 19:03:35 -08:00
Jason Volk
9154233db5 modules/federation/sender: Downgrade flush error to DERROR on shutdown. 2023-02-23 19:03:35 -08:00
Jason Volk
b0ad960bae modules/federation/make_join: Add conf fuse to bypass version compat. 2023-02-22 16:04:12 -08:00
Jason Volk
73f4a68b8f modules/media: Fix missing url decoding of mxc path params. 2023-02-22 16:04:12 -08:00
Jason Volk
314dacdce0 modules/console: Improve bad command error format; improve subcommands display. 2023-02-22 16:04:12 -08:00
Jason Volk
9c856c4f34 modules/client/rooms: Stub GET /threads endpoint. 2023-02-22 16:04:12 -08:00
Jason Volk
e7cf7ab0fc ircd:Ⓜ️:room: Rename room::content to room::iterate and abstract. 2023-02-22 16:04:12 -08:00
Jason Volk
ff666cc75a modules/console: Format db io and perf output into lines. 2023-02-21 10:17:20 -08:00
Jason Volk
cfaf6a90f1 modules/client/rooms/members: Fix missing event::append usage for stream to client. 2023-02-20 15:15:01 -08:00
Jason Volk
93bed7bc63 modules/client/sync/rooms: Fix m.room.create not synced to creator prior to join. 2023-02-20 15:15:01 -08:00
Jason Volk
e479a17f51 modules/console: Display the eval spread as a difference in vm cmd; adjust fmt. 2023-02-19 19:57:14 -08:00
Jason Volk
262bde6fdf ircd:Ⓜ️:vm: Add #DENIED fault code. 2023-02-18 17:35:44 -08:00
Jason Volk
0f3fea3b72 modules/federation/send_join: Implement federation §10.0 Join amplification attack. 2023-02-18 16:41:33 -08:00
Jason Volk
1e0919de71 modules/federation/sender: Add amplification override condition. 2023-02-18 16:41:33 -08:00
Jason Volk
9bf8e08753 modules/federation/sender: Cleanup; separate handle conditions, use m::member(). 2023-02-18 16:41:33 -08:00
Jason Volk
f301d6641c ircd:Ⓜ️ Simplify room::events interface; separate event::fetch. 2023-02-18 16:41:33 -08:00
Jason Volk
04c81a41ed ircd:Ⓜ️ Fix various inconsistent format strings; minor cleanup. 2023-02-17 17:25:58 -08:00
Jason Volk
d28d3d8084 ircd:Ⓜ️:room::events: Move nested interfaces out to room::. 2023-02-17 15:24:23 -08:00
Jason Volk
4e209855de modules/m_room_member: Add configurable to delist public room after last local user leaves. 2023-02-17 14:33:32 -08:00
Jason Volk
b4938361c6 modules/m_room_member: Add configurable hook to purge room after last local user leaves. 2023-02-17 14:22:44 -08:00
Jason Volk
92ca127f54 modules/m_room_join_rules: Refactor effect hook to remove public->invite rooms from directory. 2023-02-17 13:06:35 -08:00
Jason Volk
4edf7f0052 modules/federation/invite: Supplement manual membership check for auth=false. (regression d5c0e6063) 2023-02-16 14:31:51 -08:00
Jason Volk
416066d01b modules/m_bridge_register: Check if existing config is identical to skip overwrite. 2023-02-15 16:44:23 -08:00
Jason Volk
60bff84004 modules/m_bridge: Hook configuration updates to start/stop workers automatically. 2023-02-15 09:42:59 -08:00
Jason Volk
62001d9e7e modules/m_bridge_register: Add del()/add() procedures w/ console cmds. 2023-02-15 09:30:52 -08:00
Jason Volk
032b815276 modules/m_bridge: Minor reorg. 2023-02-15 09:29:41 -08:00
Jason Volk
bc3aa62d59 modules/m_bridge_register: Add module w/ bridge set cmd from yam^h^h^hjson file. (closes #11) 2023-02-14 18:43:33 -08:00
Jason Volk
84539e3d95 ircd:Ⓜ️:user::tokens: Allow undefined device_id in ircd.access_token w/o throwing. 2023-02-13 21:15:38 -08:00
Jason Volk
fb162605a6 modules/m_bridge: Add conf item for backoff, buffer size; rename txn timeout conf. 2023-02-13 19:25:38 -08:00
Jason Volk
f39e25f972 modules/federation/invite: Re-enable auth fetch attempts for non-synapse invites.
ircd:Ⓜ️:vm::fetch: Attempt auth with tolerated failures when opts.auth=false.
2023-02-12 19:26:02 -08:00
Jason Volk
d1c3570e04 modules/client/rooms/members: Move prefetching ahead of responses; optimize prefetched key. 2023-02-11 13:22:53 -08:00
Jason Volk
8d634fb901 ircd:Ⓜ️:dbs: Rename write_opts to opts and split into header. 2023-02-10 23:15:47 -08:00
Jason Volk
0fdeda3743 ircd:Ⓜ️:room: Add consolidated room::purge interface w/ options. 2023-02-10 12:27:52 -08:00
Jason Volk
1910d8e85e ircd:Ⓜ️:event: Add interface to purge event; consolidate; cleanup. 2023-02-09 20:24:36 -08:00
Jason Volk
8ce326da5b modules/client/sync/rooms/ephemeral/receipt: Fix receipts skipped on events prior to range. 2023-02-09 12:11:32 -08:00
Jason Volk
fd6f06c1af Replace various #if 0 with if constexpr for regression visibility. 2023-02-09 11:41:11 -08:00
Jason Volk
aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk
500413701b modules/client/rooms/aliases: Fix spec conformance; only return local aliases. 2023-02-08 13:23:53 -08:00
Jason Volk
81f38c24eb modules/client/sync/rooms/ephemeral/receipt: Optimize w/ dedicated prefetch loop. 2023-02-07 21:49:50 -08:00
Jason Volk
41e6d77fa5 modules/m_listen: Support listener configuration from env vars. #190 2023-02-07 21:00:30 -08:00
Jason Volk
34061a7600 modules/console: Add immutable memtable property queries to db info cmd. 2023-02-07 20:04:26 -08:00
Jason Volk
e6a77a80d6 modules/stats: Fix unbuffered output generating too many chunks. 2023-02-05 20:54:16 -08:00
Jason Volk
db974f6c50 modules/client/room_keys/version: Stub PUT method parameter gathering. 2023-02-05 19:42:28 -08:00
Jason Volk
8bdb266149 modules/console: Allow normal head resolve on manual evals.
(possible regression 1a7447837)
2023-02-04 13:20:44 -08:00
Jason Volk
16c6f41756 modules/console: Avoid flushing output while iterating volatile lists. 2023-02-02 18:51:03 -08:00
Jason Volk
e470c77a75 modules/m_bridge: Add runlevel handler to terminate workers; fix hang prior to unload. 2023-02-02 18:51:03 -08:00
Jason Volk
5e32f88b0d modules/client: Add stub for dehydrated device. 2023-02-02 16:37:03 -08:00
Jason Volk
f5a0a2fe11 modules/client/room_keys/keys: Implement client 11.12.3.2.2 DELETE. 2023-02-02 16:37:03 -08:00
Jason Volk
6033d316f3 modules/client/room_keys/keys: Update method GET for new spec; dedup internal state_key. 2023-02-02 16:37:03 -08:00
Jason Volk
5036879dc4 modules/client/keys/query: Update for new spec format. 2023-02-02 16:37:03 -08:00
Jason Volk
08e01bb9a7 modules/client/versions: Add some more versions. 2023-02-02 16:37:03 -08:00
Jason Volk
3c3fb030bc modules/console: Add room msghtml cmd. 2023-01-28 19:46:43 -08:00
Jason Volk
f99c1e05f4 modules/client/rooms/relations: Fix inclusion of request event in relations response. 2023-01-27 11:18:37 -08:00
Jason Volk
6f002f0b21 modules/console: Add rep prefix cmd. 2023-01-27 11:18:37 -08:00
Jason Volk
ede3d5a651 ircd:Ⓜ️:rooms: Add requesting user_id/node_id to query opts for access ctrl. 2023-01-24 22:44:03 -08:00
Jason Volk
db4ebe1ba7 modules/client/profile: Respond with empty object for user's own empty profile. 2023-01-24 12:13:17 -08:00
Jason Volk
5d73109f0d modules/federation/send_join: Respond with the state and chain prior to the join. 2023-01-19 19:58:23 -08:00
Jason Volk
7d5247d1ca modules/federation/send_join: Support omit_members query parameter.
modules/federation/send_join: Reply with resident-server signed event.

modules/federation/send_join: Respond with servers_in_room.
2023-01-19 19:58:23 -08:00
Jason Volk
3aeeaccd42 modules/client/sync/rooms/state: Skip reflow for own-room join. 2023-01-19 19:58:23 -08:00
Jason Volk
377179a52f modules/m_room_member: Add automatic m.direct account_data for next-generation dm. 2023-01-19 19:58:22 -08:00
Jason Volk
8e3c6ed14d modules/m_room_member: Add next-generation invite behavior. 2023-01-19 19:58:22 -08:00
Jason Volk
6bbde81b44 Ensure EXTRA_*FLAGS is properly appended after other build flags. 2023-01-18 08:11:02 -08:00
Jason Volk
c78ab62227 modules/client/rooms/context: Fix -Wdangling-pointer to an unnamed temporary (gcc-12). 2023-01-15 22:32:00 -08:00
Jason Volk
d5c0e60633 modules/federation/invite: Workaround matrix-org/synapse@c06b2b7142 matrix-org/synapse#13823 2023-01-13 19:37:49 -08:00
Jason Volk
81169ab47a modules/federation/invite: Consolidate eval; elaborate invite_room_state exercise. 2023-01-13 19:37:49 -08:00
Jason Volk
3cc6bdf630 modules/client/sync/rooms/timeline: Fix missed event regression be2ae27af6; cruft. 2023-01-02 20:25:58 +00:00
Jason Volk
ee52a9f24b modules/federation/invite: Fix invite request routing to proper handler version. 2022-11-19 15:21:04 -08:00
Jason Volk
bc6b7486ba modules/web_hook: Update formatting for line-numbered pre tags. 2022-10-12 20:03:01 -07:00
Jason Volk
d750958f4c modules/client/sync/rooms/unread_notifications: Upgrade opts w/ designated init ctor. 2022-10-12 18:53:53 -07:00
Jason Volk
df522ef8e9 modules/client/search: Add cmd for limit override to workaround pagination bug in Riot. 2022-10-08 16:00:32 -07:00
Jason Volk
5294e607bd modules/client/search: Propagate exceptions from room handler. 2022-10-08 15:39:22 -07:00
Jason Volk
adc7f16831 modules/client/search: Allow empty search term as wildcard match for given filter keys. 2022-10-08 11:22:09 -07:00
Jason Volk
baef0e3bc7 ircd:Ⓜ️:trace: Add interface for the trace. 2022-09-28 15:05:43 -07:00
Jason Volk
16b9551780 modules/client/sync: Log debug marking polylog prefetch completion. 2022-09-28 10:13:07 -07:00
Jason Volk
5f758aaa3b ircd:Ⓜ️:events::annotates: Interface to scan the key of the m.annotation rel_type. 2022-09-28 09:55:51 -07:00
Jason Volk
e2d70f249f ircd:Ⓜ️:events::relates: Interface to scan the rel_type of the M_RELATES ref type. 2022-09-28 09:54:10 -07:00
Jason Volk
1915db6d78 modules/m_receipt: Stop propagation of some errors in handler loop. 2022-09-22 13:30:42 -07:00
Jason Volk
a465098693 modules/client/search: Improve argument characters and name intuition. 2022-09-02 11:22:38 -07:00
Jason Volk
ced3df67c6 modules/federation/send: Add m.txn log facility; improve debuglog related. 2022-08-31 13:35:56 -07:00
Jason Volk
239f2fe17c modules/m_signing_key_update: Ignore updates from unknown users w/o error. 2022-08-27 13:38:35 -07:00
Jason Volk
53d213f956 modules/client/sync: Enable polylog prefetch w/ conf item; add user::rooms prefetch. 2022-08-19 20:57:35 -07:00
Jason Volk
e556fe248b modules/client/sync/rooms: Minor cleanup polylog inner loop closure. 2022-08-19 20:57:35 -07:00
Jason Volk
cf8e4092c9 ircd:Ⓜ️:user::rooms: Simplify interface w/ util::closure_bool. 2022-08-19 20:57:35 -07:00