0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 03:38:53 +02:00
Commit graph

4297 commits

Author SHA1 Message Date
Jason Volk
207997ac95 ircd:Ⓜ️:bridge: Refactor config interface; remove central !bridge room related. 2021-02-03 18:01:15 -08:00
Jason Volk
16898ba19e modules/m_bridge: Add worker stack; push loop. 2021-02-02 07:54:26 -08:00
Jason Volk
5eb500e69f modules/client/rooms/state: Fix point query response content. 2021-02-02 07:54:26 -08:00
Jason Volk
e30ff075de modules/client/rooms/state: Use event::append for iteration. 2021-02-02 07:54:26 -08:00
Jason Volk
c388361041 modules/m_command: Fix reply to echo event. (related 75589a4794) 2021-02-02 07:54:26 -08:00
Jason Volk
f1f91d63de modules/client/versions: Add e2ee_forced versionic capabilities. 2021-01-30 19:20:55 -08:00
Jason Volk
5a7208729a ircd:Ⓜ️ Add format argument to pretty_msgline(); add text fmt w/ console arg. 2021-01-30 19:20:50 -08:00
Jason Volk
75589a4794 modules/m_command: Add relations on response message. 2021-01-30 19:20:40 -08:00
Jason Volk
3d1795630b modules/console: Additional argument for fully_read diagnostic. 2021-01-26 11:04:24 -08:00
Jason Volk
adb897a444 modules/console: Add argument for eye track diagnostic. 2021-01-26 09:24:03 -08:00
Jason Volk
2aea86eb29 modules/console: Improve information output in user read cmd. 2021-01-25 22:27:44 -08:00
Jason Volk
48f878ab95 modules/console: Add user read count cmd. 2021-01-25 05:01:15 -08:00
Jason Volk
fee73cf03e modules/console: Add room_id argument to user read cmd. 2021-01-25 05:01:15 -08:00
Jason Volk
e4969901a1 modules/client/rooms/send: Fix public echo of server-side command input. 2021-01-25 01:55:25 -08:00
Jason Volk
ec0dd70da1 modules/client/rooms/receipt: Set past m.read's to m.hidden but persist for eye attention. 2021-01-25 01:55:25 -08:00
Jason Volk
744744f88a ircd:Ⓜ️ Query range of messages user is presently engaged in reading. 2021-01-25 00:12:10 -08:00
Jason Volk
2d0a565ede ircd:Ⓜ️ Add viewing(user) for currently viewing room w/ console cmd. 2021-01-25 00:06:19 -08:00
Jason Volk
1d6325949d modules/media/thumbnail: Add bypass for animated PNG thumbnailing. 2021-01-21 22:08:32 -08:00
Jason Volk
485f412eed modules/federation/send: Open JSON top object on all reply branches. 2021-01-12 13:55:45 -08:00
Jason Volk
a49fa17c7e modules: Implement s2s unstable 22.3 m.signing_key_update handler. 2021-01-04 13:17:30 -08:00
Jason Volk
b26fe736a4 modules/client/keys/query: Respond w/ master/self/user signing keys. 2021-01-04 13:17:30 -08:00
Jason Volk
3db37a3a4d modules/federation/user_devices: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
e9239a4135 modules/federation/user_keys_query: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
c852397a7d modules/client/keys/device_signing/upload: Implement c2s r0.6.1 13.11.2.3.2 POST. 2021-01-04 13:01:13 -08:00
Jason Volk
68fc738a3c modules/client/keys/changes: Implement c2s r0.6.1 13.11.5.2.4 keys/changes (changed half). 2021-01-04 08:47:21 -08:00
Jason Volk
a5ddaf0a41 modules/client/sync/rooms/state: Move hero scan count to conf item; dedup constant. 2021-01-04 02:46:48 -08:00
Jason Volk
668e265623 modules/client/keys/device_signing/upload: Add /r0/ handler in addition to /unstable/. 2021-01-04 02:31:41 -08:00
Jason Volk
882c1933fd modules/client/search: Add conf item to override limit parameter. 2021-01-04 02:31:41 -08:00
Jason Volk
544a3651ed modules/client/sync: Add ?pause query string; available to clients to effect 7ec8b78374. 2020-12-29 01:46:36 -08:00
Jason Volk
42b50d9e50 modules/client/sync/rooms/timeline: Add conditions to prevent some ops when discarding. 2020-12-29 01:45:45 -08:00
Jason Volk
562d2b83f2 modules/web_hook: Append emoji to tag create. 2020-12-29 00:42:57 -08:00
Jason Volk
d20e53f33a modules/web_hook: Query proper attributes to determine delete op on push. 2020-12-28 20:51:13 -08:00
Jason Volk
0b798b1bea modules/console: Fix missing coverage of user::mitsein overloads. 2020-12-28 19:33:14 -08:00
Jason Volk
7c29795c68 modules/console: Add user mitsein count cmd. 2020-12-28 19:33:14 -08:00
Jason Volk
7ec8b78374 modules/client/sync: Add pause/freeze behavior synchron for developer diagnostic. 2020-12-28 19:33:14 -08:00
Jason Volk
b9832c3a9e modules/client/search: Implement c2s r0.6.1 13.15.1.1 /client/search (closes #20). 2020-12-28 03:44:21 -08:00
Jason Volk
eefd59d845 modules/client/sync: Fix conditions to duplicate state in timeline; improve inconsistencies. 2020-12-26 11:55:01 -08:00
Jason Volk
e888bf1827 modules/m_receipt: Drop receipts to rooms without any local joined users; minor reorg. 2020-12-26 11:55:01 -08:00
Danilo Spinella
926de0296c modules: Use complete name for strlcat to avoid collision 2020-12-23 03:56:43 -08:00
Jason Volk
bf7acb9e57 modules/web_hook: Add linebreak after PR title if body is empty. 2020-12-22 18:40:30 -08:00
Jason Volk
92b960730a ircd:Ⓜ️:sync: Undress since token for clear-cache+reload in R!ot. (matrix-org/matrix-doc/#2855) 2020-12-22 18:40:30 -08:00
Jason Volk
4ec6cf3fab modules/client/sync: Minor cleanup; stale comments. 2020-12-22 18:40:30 -08:00
Jason Volk
6991ecc764 ircd: Remove various trivial tls bufs. 2020-12-22 18:40:30 -08:00
Jason Volk
07ec766ff9 ircd::ios: Consolidate dispatch/post/defer interfaces; minor fixes. 2020-12-20 06:02:50 -08:00
Jason Volk
f7945918c6 ircd::stats: Use vector for item iteration; add name convenience member. 2020-12-18 04:04:01 -08:00
Jason Volk
1f2abfb64a ircd::ios: Integrate descriptor::stats into ircd::stats system. 2020-12-18 02:42:07 -08:00
Jason Volk
7a11acbacd ircd:Ⓜ️:event: Separate out event::auth from event::prev header, unit, callsites. 2020-12-16 21:39:08 -08:00
Jason Volk
68af933ff7 modules/console: Add missing node_id to various vmopts. 2020-12-15 16:56:07 -08:00
Jason Volk
87c2520b29 modules/console: Remove old cruft. 2020-12-15 16:56:07 -08:00
Jason Volk
01df07717b modules/federation/send: Implement spec txn response output from eval. 2020-12-15 16:56:07 -08:00
Jason Volk
56ea0a14af modules/federation/sender: Use preallocated response content buffer. 2020-12-15 16:56:07 -08:00
Jason Volk
f5fe7977ff modules/client/versions: Support r0.6.1. 2020-12-14 03:22:01 -08:00
Jason Volk
7645cd3e72 modules/client/rooms: Implement c2s r0.6.1 10.2.4 GET client/rooms/aliases. 2020-12-14 03:22:01 -08:00
Jason Volk
ce9cac3d9f modules/federation/publicrooms: Remove constraint on pagination token. (thanks @auscompgeek) 2020-12-12 00:35:36 -08: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
736a6d320c modules/federation/event_auth: Implement auth_chain_ids construct protocol extension. 2020-12-10 08:34:22 -08:00
Jason Volk
d104a8ea0d modules/console: Increase column width for event::id hostpart. 2020-12-10 08:34:22 -08:00
Jason Volk
c8ab0ce239 modules/console: Add event refs count cmd. 2020-12-10 08:34:22 -08:00
Jason Volk
8d6bb31818 modules/client/sync/rooms/timeline: Improve skip/reflow conditions; add conf item. 2020-12-10 08:34:22 -08:00
Jason Volk
5a098566ab modules/console: Hide misleading exit code value until actual exit. 2020-12-09 23:50:49 -08:00
Jason Volk
4b1c8956a6 ircd:Ⓜ️:gossip: Implement multi-round loop; add console cmds. 2020-12-09 20:52:55 -08:00
Jason Volk
23a9589fd4 modules/federation/get_missing_events: Log dwarning msg for missed event seek. 2020-12-09 20:52:55 -08:00
Jason Volk
05242aaa90 modules/client/sync/rooms/state: Fix conditions for state inclusion during polylog/reflow. 2020-12-07 14:18:42 -08:00
Jason Volk
95d692d36a modules/client/sync/rooms/timeline: Show just a few seconds of spinner for User Fixation. 2020-12-06 17:25:21 -08:00
Jason Volk
45409428e6 modules/client/sync/rooms: Assertions for membership query on membership event. 2020-12-06 17:25:21 -08:00
Jason Volk
1209705b04 modules/client/rooms/invite: Return better final event_id. 2020-12-06 17:25:21 -08:00
Jason Volk
dceac7f9fc modules/client/sync: Fix longpoll causality violation; possible skipped or duplicated event. 2020-12-06 12:14:02 -08:00
Jason Volk
d1d34e58a6 modules/client/sync: Use better condition for room data available. 2020-12-06 10:27:27 -08:00
Jason Volk
df9637d3ce modules/client/sync/rooms/timeline: Initialize the prev batch idx to head idx. 2020-12-03 12:51:30 -08:00
Jason Volk
7fe0e9106f ircd:Ⓜ️:vm: Consolidate codepath; eval member counters; fix console related. 2020-12-01 02:11:56 -08:00
Jason Volk
4a715c8f0a ircd:Ⓜ️ Fix missing interrupt propagation in some worker base frames. 2020-12-01 00:00:54 -08:00
Jason Volk
be7bab0c16 modules/m_relation: Fix fetch handler event_id query error. 2020-11-29 23:16:56 -08:00
Jason Volk
0e66160700 modules/console: Add replay option to eval op arguments. 2020-11-27 18:31:18 -08:00
Jason Volk
c97cc4ecb7 modules/console: Add room type count cmd. 2020-11-27 16:58:20 -08:00
Jason Volk
8e79fda31b modules/m_command: Add control command w/ sigil'ed shortcut. 2020-11-27 16:58:20 -08:00
Jason Volk
595c51e17e ircd:Ⓜ️ Pass fetch result origin as node_id to evals. 2020-11-27 16:58:20 -08:00
Jason Volk
7315f5cd49 modules/m_relation: Fix possible use after free.
modules/m_room_redaction: Fix possible use after free.
2020-11-21 17:19:21 -08:00
Jason Volk
f26f56d46d modules/client/rooms/redact: Pass txnId path parameter through eval to client. 2020-11-21 02:34:22 -08:00
Jason Volk
7299b15c6f modules/console: Disable auth fetch for fed auth eval diagnostic. 2020-11-21 00:00:06 -08:00
Jason Volk
0110e803ef modules/console: Add missing result summary to head fetch cmd. 2020-11-20 18:28:32 -08:00
Jason Volk
a5da068d0d ircd:Ⓜ️:room::state: Add fetch interface similar to room::head; w/ console cmd. 2020-11-20 18:28:32 -08:00
Jason Volk
e9fb24bdd9 ircd:Ⓜ️:acquire: Add vm::opts to interface options; add per-operation eval opts. 2020-11-20 16:50:17 -08:00
Jason Volk
ebe958d574 modules/console: Add redactfill command. 2020-11-19 19:06:04 -08:00
Jason Volk
a67e2a6671 modules/console: Add room acquire list w/ argument trapdoor. 2020-11-19 19:06:04 -08:00
Jason Volk
1c0a9f3020 ircd:Ⓜ️:acquire: Use class linkage; tweak option interface; add instance_list. 2020-11-19 19:06:04 -08:00
Jason Volk
92666a5d09 modules/m_command: Add conf whitelist for user access for now. 2020-11-19 19:06:04 -08:00
Jason Volk
99b9ab4167 ircd:Ⓜ️:acquire: Granular targeting options for procurement. 2020-11-18 17:19:07 -08:00
Jason Volk
6711d9a87f modules/console: Modernize w/ named parameters; minor cleanup. 2020-11-16 07:22:12 -08:00
Jason Volk
58fb551a13 ircd:Ⓜ️:sync: Add inline sequence extraction logic from token.
modules/client: Update sites parsing since tokens.
2020-11-15 05:48:25 -08:00
Jason Volk
32732a847b ircd:Ⓜ️ Use canonical path constructions for all generated amalgams. 2020-11-15 02:27:33 -08:00
Jason Volk
48ac55a02a modules/m_command: Add edit command. 2020-11-14 01:03:46 -08:00
Jason Volk
1be8eda7f1 modules/m_command: Add caption command. 2020-11-14 00:59:09 -08:00
Jason Volk
172c192df2 modules/m_command: Simplify output for caught m::error. 2020-11-14 00:59:09 -08:00
Jason Volk
2dc5c852cf modules/m_command: Simplify command string preserved in input property. 2020-11-13 22:49:57 -08:00
Jason Volk
64a57ed4b0 modules/client/sync: Set no-cache on response. 2020-11-13 21:07:14 -08:00
Jason Volk
9d93d1e71b modules/client/rooms/send: Use m::room::message for single pass. 2020-11-13 21:07:14 -08:00
Jason Volk
4521054078 ircd:Ⓜ️:room::events: Remove event_idx value from result twain/hazard tool results. 2020-11-13 00:52:31 -08:00
Jason Volk
d93771b39f modules/console: Add missing event_id parameter to room sounding cmd. 2020-11-13 00:52:31 -08:00
Jason Volk
9bb50284c0 modules/console: Fix room diagnostic recent missing; add oldest missing. 2020-11-11 22:49:39 -08:00
Jason Volk
85bd984da7 ircd:Ⓜ️:events::missing: Reverse primary iteration; improve interface related. 2020-11-11 22:49:39 -08:00
Jason Volk
4212f46372 ircd:Ⓜ️:acquire: Refactor acquire to inline-worker model; add console cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
e2711da664 modules/m_command: Add base error handler. 2020-11-11 22:49:39 -08:00
Jason Volk
d708eca959 modules/m_command: Fix alt text condition. 2020-11-11 22:49:39 -08:00
Jason Volk
aca6aae5fd modules/m_room_tombstone: Invalidate alias cache entries for effect. 2020-11-11 22:49:39 -08:00
Jason Volk
720215b379 modules/m_command: Use result structure; increase buffer size. 2020-11-11 22:49:39 -08:00
Jason Volk
86555fbee6 modules/federation: Deduplicate and integrate /state/ and /state_ids/ in same unit. 2020-11-11 22:49:39 -08:00
Jason Volk
8e17f5d9cb modules/console: Add mc versions cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
ce16b790a5 modules/console: Add limit param to fetch event cmd. 2020-11-11 22:49:39 -08:00
Jason Volk
ec1273e8fa modules/console: Add heading to room events missing; add horizon count output. 2020-11-11 22:49:39 -08:00
Jason Volk
3ae9f7cb82 modules/console: Improve event horizon result detail. 2020-11-11 22:49:39 -08:00
Jason Volk
cb84859ccd modules/federation/backfill: Fix property name (regression 6b1305df8a). 2020-11-08 02:25:31 -08:00
Jason Volk
d3e1997d43 modules/m_room_redaction: Add auth phase fetcher for missing redacts targets. 2020-11-05 22:10:54 -08:00
Jason Volk
4801c7c0b2 modules/m_relation: Fix regressed missing relation target fetch. 2020-11-05 22:10:54 -08:00
Jason Volk
d322a0c52c modules/console: Fix argument value throwing erroneously. 2020-11-05 22:10:54 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
d6200a7ac3 ircd::server: Add DNS expiration TTL state to peer. 2020-11-05 22:10:54 -08:00
Jason Volk
6b1305df8a modules/federation: Replace backfill_ids endpoint with pdu_ids query parameter. 2020-11-05 22:10:53 -08:00
Jason Volk
38e0021fe6 modules/console: Fix off by one for room events output limit param. 2020-11-05 22:10:53 -08:00
Jason Volk
26ca956e5b modules/console: Add room missing/horizon count cmds; add limit param. 2020-11-05 22:10:53 -08:00
Jason Volk
9950876e09 modules/client/send_to_device: Ensure message_id is json::STRING type. (fixes #169) 2020-11-05 22:10:53 -08:00
Jason Volk
e1df7629b5 modules/console: Add get/set top level shortcut cmds. 2020-10-28 12:42:59 -07:00
Jason Volk
ca69e70653 modules/console: Add app signal cmd. 2020-10-28 05:30:35 -07:00
Jason Volk
8f5b4704be modules/m_direct_to_device: Move infolog message to debuglog. 2020-10-28 03:31:55 -07:00
Jason Volk
f026e81a07 ircd: Instrument against string_view(string&&) impossible construction.. 2020-10-28 03:31:55 -07:00
Jason Volk
17ca084d45 modules/client/rooms/send: Add truncation workaround for m.new_content excesses. 2020-10-26 23:41:11 -07:00
Jason Volk
1c33127e8e modules/console: Remove unnecessary db cache info table column. 2020-10-26 23:41:11 -07:00
Jason Volk
50cb49d558 modules/client/search: Move resources into namespace; add log facility. 2020-10-26 23:41:11 -07:00
Jason Volk
b7f2bd8e63 modules/client/rooms/send: Add payload size condition and exception. 2020-10-26 23:41:11 -07:00
Jason Volk
cc8c9942a4 ircd:Ⓜ️:push::request: Add conf item to toggle functionality. 2020-10-25 00:30:35 -07:00
Jason Volk
891cba3fb9 modules/m_pusher: Implement Push Gateway 3.1 POST Server Behavior. (closes #63) 2020-10-25 00:30:35 -07:00
Jason Volk
5265b955f6 modules/m_pusher: Add preliminary pusher hook; worker loop. 2020-10-24 07:31:31 -07:00
Jason Volk
762ab3cadb modules/console: Improve app list output. 2020-10-24 06:27:37 -07:00
Jason Volk
e1e1d2243d modules/m_push: Allow more notification types to user room. 2020-10-24 06:27:36 -07:00
Jason Volk
27fe4a9d81 ircd:Ⓜ️:app: Add restriction binpath; improve stdio to room; improve console cmd. 2020-10-24 06:26:44 -07:00
Jason Volk
f4558a84e6 ircd::exec: Implement callback handler suite; async wait(). 2020-10-24 05:41:46 -07:00
Jason Volk
0d4898b0cd modules/federation/get_missing_events: Use static closure; replace unquote() w/ json::string. 2020-10-24 01:59:11 -07:00
Jason Volk
e79c619ece modules/federation/get_missing_events: Improve limit value clamp; conf items; defaults. 2020-10-24 01:59:11 -07:00
Jason Volk
810036e9f4 modules/m_command: Fix util::timer usage regression in ping cmds. 2020-10-24 01:59:11 -07:00
Jason Volk
5d7f56a5ce ircd:Ⓜ️:app: Application management infrastructure w/ cmd suite. 2020-10-20 23:20:41 -07:00
Jason Volk
5c8c12dd06 modules/console: Add exec cmd suite. 2020-10-20 23:20:41 -07:00
Jason Volk
e0cc786a9d modules/client/sync/rooms/timeline: Fix timeline limited flag condition; minor cleanup. 2020-10-17 21:06:05 -07:00
Jason Volk
f6bc11b76a ircd::vg: Add stack register/deregister to interface.
ircd::vg: Use extern const bool for active(); minor reorg.
2020-10-16 14:32:06 -07:00
Jason Volk
17bcd84425 modules/console: Improve peer table column justifications. 2020-10-16 05:19:14 -07:00
Jason Volk
f1557bee78 modules/widget: Stub GET ui/v1 w/ some params. 2020-10-16 03:48:57 -07:00
Jason Volk
ccdd712188 modules/widget: Stub GET /widget/account. 2020-10-16 03:48:57 -07:00
Jason Volk
7b15568737 modules/widget: Start widget support; stub registration endpoint. 2020-10-16 03:48:57 -07:00
Jason Volk
93758a7238 modules/client/user/openid: Return something for request_token. 2020-10-16 03:40:14 -07:00
Jason Volk
683502fb5b modules/console: Add well-known base cmd; request listing. 2020-10-16 02:40:39 -07:00
Jason Volk
2710701533 modules/key/server: Fix missing urldecode (regression 086dfc4839). 2020-10-16 02:40:39 -07:00
Jason Volk
b679c0aa07 modules/console: Fix param which should be required. 2020-10-16 02:40:39 -07:00