0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00
Commit graph

4322 commits

Author SHA1 Message Date
Jason Volk
014d0281d7 ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
kamathmanu
229fcf6ef9 Ignore rate limiting for pushrules handler 2021-02-19 10:25:35 -05:00
kamathmanu
e2b7823f6d Added RATE_LIMITED flags for handlers 2021-02-19 09:44:27 -05:00
Jason Volk
6c1e9786b5 modules/m_pusher: Fix unread count limited to highlights. 2021-02-15 08:58:36 -08:00
Jason Volk
658c1c6d96 modules/client/sync/rooms/unread_notifications: Count from better marker. 2021-02-13 02:20:35 -08:00
Jason Volk
cf674fcdf7 modules/m_pusher: Count unread highlights instead of unread notifications. 2021-02-11 03:21:08 -08:00
Jason Volk
9417659367 modules/m_pusher: Expand unread counting to all rooms. 2021-02-10 23:38:44 -08:00
Jason Volk
f7293581ec modules/media/thumbnail: Skip animation check if it won't be thumbnailed anyway. 2021-02-09 23:09:55 -08:00
Jason Volk
fdcf12358a modules/key/query: Remove inert condition; always relay pubkey material. 2021-02-09 22:42:55 -08:00
Jason Volk
04389e7a16 modules/m_pusher: Add unread counts to content. 2021-02-09 21:34:03 -08:00
Jason Volk
6bafde3f1c modules/m_pusher: Add conditions for room_name/sender_display_name. 2021-02-09 08:18:28 -08:00
Jason Volk
f78a966833 modules/m_pusher: Fix forcing HTTPS service; use proper rfc3986::uri construction. 2021-02-08 17:56:09 -08:00
Jason Volk
a6061a447a modules/federation/invite: Disable emption checks on invite; fix regression. 2021-02-07 11:16:39 -08:00
Jason Volk
2a0fe40d80 modules/client/rooms/report: Use visible messages; add rich reply relation. 2021-02-05 23:39:17 -08:00
Jason Volk
7d713e19ab modules/client/rooms/report: Remove room creator hook cruft for now. 2021-02-05 23:33:16 -08:00
Jason Volk
2e5da32c7a ircd:Ⓜ️:bridge: Add thirdparty/protocol query. 2021-02-04 21:13:42 -08:00
Jason Volk
40eadfaa39 modules/client/rooms/receipt: Add conf item to elide eye-track; optimize query pattern. 2021-02-04 21:13:42 -08:00
Jason Volk
52ce2bdad8 modules/console: Add stack incore usage to ctx list output. 2021-02-04 21:13:42 -08:00
Jason Volk
7d7846c57a ircd:Ⓜ️:bridge: Refactor query interface; simplify. 2021-02-04 21:13:42 -08:00
Jason Volk
62046f9ab8 modules/m_bridge: Elide io on empty picker kernels. 2021-02-04 19:53:50 -08:00
Jason Volk
506d954fb3 modules/m_bridge: Add room alias match to picker. 2021-02-04 19:53:50 -08:00
Jason Volk
2498b7cd00 modules/m_listen: Add log notice for configured listeners. 2021-02-04 19:53:50 -08:00
Jason Volk
51dd6bfa05 modules/m_bridge: Add event picker; txn append. 2021-02-04 19:53:50 -08:00
Jason Volk
32bd0d7764 modules/m_bridge: Add initialization; worker spawn; cached error handling. 2021-02-04 19:53:50 -08:00
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