0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 16:28:19 +02:00
Commit graph

4481 commits

Author SHA1 Message Date
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
Jason Volk 9abc78a121 modules/console: Merge room messages/text cmds w/ mediated format. 2022-08-19 20:57:35 -07:00
Jason Volk 5eebfbbb90 modules/client/rooms/relations: Respond with newest relations first. (fixes #170) 2022-08-17 18:15:30 -07:00
Jason Volk e2017efcce ircd:Ⓜ️:event::refs: Add reverse iteration; inline interface. 2022-08-17 18:15:30 -07:00
Jason Volk 8b07815357 modules/client/rooms/relations: Use m::relates interface w/ sender checking; cleanup. 2022-08-17 15:43:22 -07:00
Jason Volk 4c938e6658 modules/console: Fix regression 31dad11e16 log levels sampled after first flush.
modules/console: Fix incorrect log level enum order.
2022-08-17 13:05:39 -07:00
Jason Volk 84fcffe331 modules/m_command: Add command to summarize message text of replied event. 2022-08-17 13:05:39 -07:00
Jason Volk f06be9ac8e modules/console: Add room text cmd. 2022-08-17 13:05:39 -07:00
Jason Volk 727749e9de ircd:Ⓜ️:room: Add interface to room messages. 2022-08-17 13:05:39 -07:00
Jason Volk a8f942d3ee modules/m_command: Fix command and reply detection w/ proper room::message. 2022-08-16 21:20:32 -07:00
Jason Volk fedf1e976a ircd:Ⓜ️:relates: Add interface around the rel_type for the relation ref type. 2022-08-16 13:43:00 -07:00
Jason Volk 7469c09130 modules/m_room_message: Stub media-specific effects hook. 2022-08-15 12:38:21 -07:00
Jason Volk 183e18dde5 modules/m_room_message: Use room::message tuple; rename info hook. 2022-08-14 17:27:32 -07:00
Jason Volk 479d22466e ircd:Ⓜ️:vm: Add starting timestamp to eval state w/ specific event eval timestamp.
modules/console: Add eval timestamps to output of vm cmd table.
2022-08-10 18:20:52 -07:00
Jason Volk 94d9444988 ircd:Ⓜ️ Add granular options for pretty_msgline(). 2022-08-10 18:20:52 -07:00
Jason Volk 0e7c12958a modules/console: Use room::type iteration basis for room messages cmd. 2022-08-10 18:20:52 -07:00
Jason Volk e45dc31797 ircd:Ⓜ️:vm::eval: Use closure_bool for_each(); reduce direct instance_list iteration. 2022-08-05 17:57:19 -07:00
Jason Volk 651c5ea140 modules/console: Add event relates cmd for rel_type listing. 2022-08-05 15:07:33 -07:00
Jason Volk 8839f6d273 modules/console: Add gpt tldr cmd diagnostic. 2022-08-02 20:49:34 -07:00
Jason Volk c33ddd278a ircd:Ⓜ️ Use proper character overload for optimal tokens(). 2022-08-02 13:18:58 -07:00
Jason Volk 5039b2df9c modules/m_command: Support typing notifications while command is processing. 2022-08-02 13:18:58 -07:00
Jason Volk 6dd7ed4730 modules/m_command: Support command input w/ reply-to argument context. 2022-08-02 13:18:58 -07:00
Jason Volk 3064b349dc modules/client/sync/rooms/timeline: Fix redundant private echo of public command. 2022-08-02 13:18:58 -07:00
Jason Volk 69dcd7acd9 ircd::mods: Eliminate RTLD_DEEPBIND by linking modules -Bsymbolic. 2022-07-27 16:22:42 -07:00
Jason Volk 5bafcce20a modules/web_hook: Improve alt-text for dockerhub shots. 2022-07-25 17:09:09 -07:00
Jason Volk b1818c8cbb modules/console: Match expression for peer and peer count cmds. 2022-07-24 13:00:03 -07:00
Jason Volk 5600e28ebc modules/client/search: Add case key command; case-insensitive by default. 2022-07-21 18:28:57 -07:00
Jason Volk 96097045a1 modules/client/search: Abstract term keys iteration for separate feature functions. 2022-07-21 18:28:57 -07:00
Jason Volk ba67c583a2 modules/console: Allow event_id argument to fetch content for text to label cmd. 2022-07-21 18:28:57 -07:00
Jason Volk a3dadaf869 Merge branch 'rate_limited_resource_handlers' of https://github.com/kamathmanu/construct 2022-07-20 21:00:17 -07:00
Jason Volk a3a64ace6a modules/console: Fix formatting of TTL in peer table. 2022-07-20 20:05:31 -07:00
Jason Volk 563d732028 modules/console: Improve db bytes cmd output. 2022-07-20 09:56:22 -07:00
Jason Volk 6548fa9c1e modules/console: Swap param order in db txns cmd. 2022-07-20 09:56:22 -07:00
Jason Volk 741c211848 configure: Add conditional flags for forced pch w/ clang. 2022-07-20 09:56:22 -07:00
Jason Volk 216a2b64cb Move -include arguments to preprocessor flags. 2022-07-20 09:56:22 -07:00
Jason Volk d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk db75ca52c4 modules/client/rooms/messages: Relax limit value lex_cast prior to truncation. 2022-07-18 16:58:02 -07:00
Jason Volk 378b9b3acf ircd::resource: Replace resources map with instance_map. 2022-07-18 16:58:02 -07:00
Jason Volk 67d6a1da3d modules: Fix some resource handlers outside of m::. 2022-07-18 16:58:01 -07:00
Jason Volk dc5dc6626b modules/console: Reduce some string literals to character constants. 2022-07-13 22:48:14 -07:00
Jason Volk 3d4f65260b modules/client/search: Implement non-standard override syntax. 2022-07-13 22:48:14 -07:00
Jason Volk 7ca36805be modules/client/search: Implement additional result filter features. 2022-07-13 22:48:14 -07:00
Jason Volk ec55b9b30f ircd:Ⓜ️ Implement matrix-org/matrix-spec-proposals#3316 timestamp massaging. 2022-07-12 08:41:40 -07:00
Jason Volk 043b55afb7 modules/client/sync/rooms/account_data: Optimize w/ prefetch loop support. 2022-07-09 16:36:12 -07:00
Jason Volk a06e75c13c modules/client/sync/rooms/account_data: Fix unhandled phase flag behavior. 2022-07-09 16:06:46 -07:00
Jason Volk f158fedddb modules/client/sync/rooms/unread_notifications: Make this a phased polylog handler. 2022-07-09 16:06:46 -07:00
Jason Volk 9788ce9863 ircd:Ⓜ️:acquire: Add accumulators for acquires and fetches. 2022-07-08 23:24:06 -07:00
Jason Volk f9f5d75ccd modules/console: Improve fetch cmd output fmt. 2022-07-08 23:24:06 -07:00
Jason Volk 4fcd808849 modules/console: Add heading to room acquire table. 2022-07-08 23:24:06 -07:00
Jason Volk 23bb936a44 modules/m_listen: Add crude whitelisting mechanism w/ conf item. 2022-07-07 16:47:55 -07:00
Jason Volk 46cae6f24b modules/m_room_member: Support knocking membership/auth_rules. 2022-07-04 22:25:18 -07:00
Jason Volk 894a2ad679 modules/federation/event: Minor modernizations; fix typos. 2022-07-04 22:25:18 -07:00
Jason Volk ad4a207bdd modules/client/versions: Additional c2s versions. 2022-07-04 22:25:18 -07:00
Jason Volk 4956716431 modules: Fix extra $EXTRA_CPPFLAGS. (related 110610f774) 2022-07-03 15:04:02 -07:00
Jason Volk 9768546c1e modules/client/capabilities: Additional room versions. 2022-07-02 18:59:58 -07:00
Jason Volk eb10f235cf modules/federation: Implement GET /hierarchy. 2022-07-02 13:36:18 -07:00
Jason Volk 94a6cd0d90 ircd::db: Simplify options wrappings; eliminate bitflags. 2022-07-02 12:42:09 -07:00
Jason Volk 4e7f5af457 modules/client: Eliminate internal _append() kludge. 2022-07-01 22:45:34 -07:00
Jason Volk c39876990d modules/client: Upgrade event::append::opts et al to designated init menus. 2022-07-01 22:21:10 -07:00
Jason Volk 091a6fed60 modules/console: Update gpt cmd suite. 2022-07-01 20:17:56 -07:00
Jason Volk 4cf3476e7b modules: Add ld.gold flags section; disable unique symbols. 2022-06-29 19:07:43 -07:00
Jason Volk 29b0523dfc ircd::ios: Consolidate notification interface for now; add atexit related. 2022-06-29 18:20:46 -07:00
Jason Volk 16db9197ad modules/web_hook: Fix annotation association with push event (regression 1abc66dccc). 2022-06-29 14:59:57 -07:00
Jason Volk 5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk b677eeb4b7 Allow various unsigned conversions.
construct: Fix comparison signedness warning.
2022-06-29 14:21:36 -07:00
Jason Volk 899b2bbef5 Fix range loop construction related (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk 08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk a70359fb9b modules/client/sync/groups: Fix membership query on empty room_id. 2022-06-28 12:37:14 -07:00
Jason Volk 110610f774 ircd:Ⓜ️ Tweak symbol related linkflags for library.
Fix $EXTRA_ flags placement; improve Makefile formatting.
2022-06-24 21:31:05 -07:00
Jason Volk 1abc66dccc modules/web_hook: Improve github webhook alt-text for non-html clients. 2022-06-24 17:03:44 -07:00
Jason Volk c56e16e20c modules/web_hook: Add util to extract github repository name/url. 2022-06-24 17:03:44 -07:00
Jason Volk 61d558fc9d ircd: Define all IRCD_USE_ as integers for constexprs. 2022-06-23 09:36:44 -07:00
Jason Volk 67d9bff870 modules/web_hook: Add dockerhub shot handler. 2022-06-21 22:31:55 -07:00
Jason Volk 99f1740289 Fixes for gcc (gnu++20) (gcc-12). 2022-06-20 18:24:55 -07: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 b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk 211ea6ba55 ircd: Fixes for macro collision (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk ffa62d0f4c ircd::json: Remove redundant typedef; simplify.
ircd:Ⓜ️ Fix ambiguous (C++20).
2022-06-19 20:14:22 -07:00
Jason Volk 24fcc7b4bc modules/console: Lower trivial thread-locals. 2022-06-19 20:14:22 -07:00
Jason Volk 147ae27669 modules/media: Improve type and property schema. 2022-06-19 20:14:22 -07:00
Jason Volk 96587f2e6d modules/media: Eliminate blocks database; encode data into event content. (#139) 2022-06-19 20:14:22 -07:00
Jason Volk 472391d5d3 modules/client/rooms: Implement client 11.36.2 GET /hierarchy. 2022-06-19 19:55:02 -07:00
Jason Volk 8af912d6c0 modules/client/rooms: Add v1 url handler. 2022-06-19 12:39:35 -07:00
Jason Volk 07cc3a8f04 modules/console: Avoid reference to pointer of possibly internalized symbol. 2022-06-17 21:11:54 -07:00
Jason Volk 3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk d0a1d32488 ircd::db: Add SST scan interface w/ console suite. 2022-06-17 21:11:52 -07:00
Jason Volk 4499bb0f35 ircd::db: Deprecate forking sst::tool() iface; remove crashy console cmd. 2022-06-17 21:11:52 -07:00
Jason Volk 31431d32c5 ircd: Add utility to beep the pcspeaker. 2021-10-06 16:36:52 -07:00
Jason Volk 20162fd7d5 ircd::gpt: Splits and renames; various reorg. 2021-09-15 01:44:36 -07:00
Jason Volk 43a02bb598 modules/console: Add gpt tokenize diagnostic cmd. 2021-09-14 23:39:55 -07:00