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

4328 commits

Author SHA1 Message Date
Jason Volk
2a75027118 modules/console: Improve error msg for peer not found. 2020-04-30 06:29:19 -07:00
Jason Volk
347c600b41 modules/console: Translate a log level string to number in log level cmd. 2020-04-30 03:20:49 -07:00
Jason Volk
b37df3f719 modules/admin: Implement GET (undocumented) /admin/users/@user/admin. 2020-04-30 01:12:46 -07:00
Jason Volk
becd247de3 modules/console: Add shortcut for 'room get ...' cmd w/ direct 'room_id type state_key' 2020-04-28 22:09:36 -07:00
Jason Volk
175c1d817d modules/client/sync/rooms: Fix range upper bound for switching to polylog. 2020-04-28 03:41:07 -07:00
Jason Volk
ed807ce423 modules/client/sync/rooms/state: Hoist conditional branch to polylog phased. 2020-04-28 03:29:50 -07:00
Jason Volk
db2a03b6c3 modules/client/sync/rooms/state: Query supplied filter for lazyload_members; rename conf item. 2020-04-28 03:04:48 -07:00
Jason Volk
3f46930776 modules/client/sync/rooms/timeline: Fix invite-accept condition for linear to polylog. 2020-04-28 01:56:35 -07:00
Jason Volk
8239c35095 modules/console: Allow direct type,state_key parameters in redact cmd. 2020-04-28 01:56:35 -07:00
Jason Volk
b49927de38 modules/client/sync/rooms/state: Fix placement of branch from linear to polylog. 2020-04-28 00:44:17 -07:00
Jason Volk
ba5e001003 modules/client/sync/rooms/timeline: Minor group conditions. 2020-04-27 23:35:06 -07:00
Jason Volk
8c4aa37c41 modules/console: Allow vmlog during eval cmd; improve cmd. 2020-04-27 18:36:15 -07:00
Jason Volk
5614abc3ba modules/console: Default to @ircd when redact cmd sender not specified. 2020-04-27 16:36:54 -07:00
Jason Volk
7159249f70 modules/client/keys: Reapportion missing request header buffer. 2020-04-27 16:06:28 -07:00
Jason Volk
0f18b8dc8d modules/console: Fix room state rebuild's room_id parameter translation. 2020-04-27 13:29:47 -07:00
Jason Volk
12d4b6b53e modules/client/keys: Add limits on dynamic buffer calculations. 2020-04-27 13:26:42 -07:00
Jason Volk
a14dcc325f modules/client/keys/query: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -07:00
Jason Volk
3b9898836c modules/client/keys/claim: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -07:00
Jason Volk
01c76b078f ircd:Ⓜ️ Disable server notifications for apropos evals. 2020-04-27 13:18:45 -07:00
Jason Volk
fef7faaf23 modules/console: Add space after key in conf list output. 2020-04-27 01:10:51 -07:00
Jason Volk
c027a567ce ircd:Ⓜ️:sync: Move args structure to central lib; eliminate local module header. 2020-04-27 00:16:58 -07:00
Jason Volk
9bbc5834af ircd: Add missing globular_imatch. 2020-04-26 17:02:21 -07:00
Jason Volk
37335a68d7 ircd:Ⓜ️ Wrap all queries into ircd::server through fed suite. 2020-04-25 21:13:57 -07:00
Jason Volk
215e79b870 modules/federation/sender: Eliminate internal node error bit. 2020-04-25 18:34:17 -07:00
Jason Volk
774a365465 modules/federation/sender: Combine and eliminate internal header. 2020-04-25 18:19:44 -07:00
Jason Volk
42f952a438 modules/federation/sender: Remove incorrect call to panicking(); log and stop propagation. 2020-04-25 18:19:40 -07:00
Jason Volk
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -07:00
Jason Volk
637b6ecede ircd::net::dns::cache: Move cache waiter calling out of module. 2020-04-25 00:28:39 -07:00
Jason Volk
dd603f3d07 modules/client/sync/rooms/state: Fix missing branch to switch to polylog on join. 2020-04-24 18:22:44 -07:00
Jason Volk
c3d5f6d45d modules/client/sync/to_device: Fix to_device linear sync handler. 2020-04-24 15:24:37 -07:00
Jason Volk
5baf053423 modules/client/sync/to_device: Elide device_id in event; simplify. 2020-04-24 14:37:41 -07:00
Jason Volk
a3e48d7757 modules/client/sync/rooms/timeline: Fix user's room messages leaking into timeline result. 2020-04-24 13:24:15 -07:00
Jason Volk
32230ed2d4 ircd::ctx: Profile peak stack usage at slice leave event. 2020-04-23 12:41:39 -07:00
Jason Volk
5a27958fa0 ircd::ctx: Unify access to ctx::stack, expose structure; remove cruft. 2020-04-23 12:41:38 -07:00
Jason Volk
05b24b1ef3 modules/federation/sender: Add the special case to ensure sends after kicks/bans. 2020-04-23 04:19:53 -07:00
Jason Volk
406a893f80 modules/console: Allow better remote host derivation from any alias argument in fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
47867d2b68 modules/console: Allow count parameter to be specified without remote for fed backfill. 2020-04-23 01:09:21 -07:00
Jason Volk
0f74e9327d modules/console: Add log flush cmd. 2020-04-22 08:23:55 -07:00
Jason Volk
0a4bec978c ircd::net::dns::cache: Use better buffer size constant. 2020-04-22 03:48:16 -07:00
Jason Volk
260bc798d7 modules/federation/send: Fix swapped eval opts. 2020-04-21 23:07:17 -07:00
Jason Volk
b06a32691c modules/federation/query: Improve server results in room directory query. 2020-04-21 23:05:28 -07:00
Jason Volk
0568719030 modules/client/rooms/join: Convey any available (non-spec) server_name to m::join(). 2020-04-21 23:05:28 -07:00
Jason Volk
b471713582 modules/client/join: Convey available server_name data to join system. 2020-04-21 23:05:28 -07:00
Jason Volk
912bcd3a3c modules/console: Evaluate auth_chain in fed state eval. 2020-04-21 03:34:38 -07:00
Jason Volk
cbcd6c288c modules/m_control: Don't propagate exception after unloading the module it originated from. 2020-04-21 03:08:54 -07:00
Jason Volk
22df705df3 modules/console: Use structured decomposition; minor cleanup; improve formatting. 2020-04-21 03:02:41 -07:00
Jason Volk
48e4316144 modules/console: Use dynamic instead of tls buffers here. 2020-04-21 02:56:10 -07:00
Jason Volk
fa8bc645af modules/client/sync/rooms/timeline: Fix join event not updating client state. 2020-04-20 18:14:52 -07:00
Jason Volk
f8c98015f8 modules/client/sync/rooms/timeline: Fix rejoin events not appearing in timeline in linear handler. 2020-04-20 18:14:52 -07:00
Jason Volk
b798864d18 modules/client/rooms/invite: Capture additional r0.6.0 required fields. 2020-04-20 00:51:01 -07:00
Jason Volk
59e24e19bd modules/federation/send: Relax default restrictions on parallel evaluations. 2020-04-20 00:38:14 -07:00
Jason Volk
1a0a24d91a modules/client/keys/claim: Use proper resource method flag. 2020-04-19 23:25:03 -07:00
Jason Volk
6943187149 modules/console: Add room power grant / revoke cmds. 2020-04-19 06:13:23 -07:00
Jason Volk
d8d5671e1e modules/console: Add a room power cmd. 2020-04-19 06:13:23 -07:00
Jason Volk
0b41a1e78d ircd:Ⓜ️:room::power: Simplify iteration interface. 2020-04-19 06:13:23 -07:00
Jason Volk
a6cf4c3c91 ircd::fs: Refactor base paths into conf::items. 2020-04-19 06:13:23 -07:00
Jason Volk
8e42efae02 modules/federation/send: Enable the prev_wait functionality for evals from here. 2020-04-17 18:00:58 -07:00
Jason Volk
5c0ad71066 ircd:Ⓜ️:vm::fetch: Add conf item for in-flight race check interval time. 2020-04-17 18:00:58 -07:00
Jason Volk
de8f32e86a ircd:Ⓜ️:vm::fetch: Add vm::opts and conf items for prev fetch wait backoff. 2020-04-17 18:00:58 -07:00
Jason Volk
6124bf612c modules/m_vm_fetch: Allow prev_fetch to check if events arrived elsehow while waiting. 2020-04-16 18:53:29 -07:00
Jason Volk
7b0f17368d modules/m_vm_fetch: Minor cleanup. 2020-04-16 18:53:18 -07:00
Jason Volk
1f8e07d73d modules/client/join: Minor clarify that event_id is returned here. 2020-04-16 17:11:20 -07:00
Jason Volk
fc5e607dce modules/console: Forward fed version on room ID or alias to feds version cmd. 2020-04-16 17:00:48 -07:00
Jason Volk
c576c0765a modules/client/sync/to_device: Conditions to pass to_device '*'. 2020-04-16 15:56:48 -07:00
Jason Volk
ad4f28a2ce modules/client/keys/claim: Improve errorlog message for keys claim. 2020-04-16 15:46:20 -07:00
Jason Volk
d475d86be7 modules/client/publicrooms: Improve pagination logic related; remvoe default limit. 2020-04-16 13:55:52 -07:00
Jason Volk
028db422be modules/client/rooms/invite: Fix event_id to array x-value. 2020-04-15 22:15:00 -07:00
Jason Volk
5d9c022f75 modules/client/rooms/invite: Check if remote already signed the invite before requesting. 2020-04-15 22:01:51 -07:00
Jason Volk
9db5919d6c modules/client/rooms/invite: Fix log namespace; fix use after move; add debuglog. 2020-04-15 20:51:13 -07:00
Jason Volk
2eb5300713 modules/m_vm_fetch: Workaround for loss of PDU lookahead and the zealous fetch problem. 2020-04-15 20:06:41 -07:00
Jason Volk
d1a5930ba9 modules/client/login: Fix for fully qualified requested device_id; verify hostpart. 2020-04-15 17:29:13 -07:00
Jason Volk
b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -07:00
Jason Volk
3fc4bac384 Merge branch 'master' of https://github.com/yangm97/construct 2020-04-15 16:25:59 -07:00
Jason Volk
2b6b69658b modules/client/rooms/initialsync: Support limit query parameter. 2020-04-15 16:09:55 -07:00
Jason Volk
44b8c6da71 modules/client/rooms/initialsync: Optimize state iteration w/o event_id indirection. 2020-04-15 16:09:55 -07:00
Yan Minari
24cb228901
feat(bridge): relax register flow for AS puppet registration
Signed-off-by: Yan Minari <yangm97@gmail.com>
2020-04-15 16:07:02 -03:00
Jason Volk
a7cc30b046 modules/client/sync/device_one_time_keys_count: Fix erroneous result placement. 2020-04-14 20:33:55 -07:00
Jason Volk
df39547fa1 modules/client/sync/account_data: Fix return value from push_rules handler when no rules. 2020-04-14 19:25:48 -07:00
Jason Volk
9d5d2cc184 modules/client/sync: Minor indentation [skip ci]. 2020-04-14 19:14:09 -07:00
Jason Volk
1edc00d6e5 modules/client/register: Add branch for authenticated user requests. 2020-04-14 18:32:41 -07:00
Jason Volk
ae68e4f93a modules/client/register: Use m::resource to ensure features at this endpoint. 2020-04-14 18:30:41 -07:00
Jason Volk
75a8b2b621 modules/client/login: Support both full mxid and localpart to login. 2020-04-14 18:25:16 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
868b515c67 modules/media: Implement r0.6.0-13.8.2.6 GET conf𝑖g. 2020-04-14 01:34:59 -07:00
Jason Volk
a7d1bc9419 modules/m_room_member: Remove cruft. 2020-04-13 16:59:30 -07:00
Jason Volk
592f6fe673 modules/client/register: Use better default flows. 2020-04-13 16:02:52 -07:00
Jason Volk
ea194d9b85 modules/console: Add name filter condition to ctx list cmd. 2020-04-13 14:16:31 -07:00
Jason Volk
0ff5ac43a6 ircd:Ⓜ️:resource::request: Eliminate origin w/ node_id. 2020-04-12 17:09:14 -07:00
Jason Volk
3c8a8d01aa ircd:Ⓜ️:bridge: Add timeout conf item; fix queries; add console cmd. 2020-04-11 20:13:15 -07:00
Jason Volk
926c5914a8 ircd:Ⓜ️:bridge: Add config iteration w/ console cmd. 2020-04-11 18:36:33 -07:00
Jason Volk
21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk
e26b14c10a modules/m_control: Workaround the control room hook regression. 2020-04-10 19:29:17 -07:00
Jason Volk
cddc124f94 modules/m_control: Minor cleanup. 2020-04-10 19:29:17 -07:00
Jason Volk
0b5716762d modules/client/user: Minor fix formatting. 2020-04-10 19:29:17 -07:00
Jason Volk
a6ee1a3cec modules/client/keys/claim: Increase default timeouts quia synapse. 2020-04-10 19:29:17 -07:00
Jason Volk
433a3b3007 ircd:Ⓜ️:app: Rename everything to bridge:: add basic query; simplify config interface. 2020-04-10 19:29:17 -07:00
Jason Volk
ce5ebd4a1a modules/client/sync/presence: Assert content.user_id made it to presence linear. 2020-04-08 20:16:02 -07:00
Jason Volk
2451e3933f modules/client/rooms/messages: Add postprefetching loop to optimize pagination. 2020-04-08 13:49:06 -07:00
Jason Volk
8af5eea783 modules/client/rooms/messages: Fix loop condition off by one. 2020-04-08 13:26:50 -07:00
Jason Volk
eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk
4108945a2c ircd:Ⓜ️:app: Reorg from old module stubs; start central unit. 2020-04-07 12:50:33 -07:00
Jason Volk
fe63f9a3db modules/key/query: Implement federation 3.3.2.2 POST method. 2020-04-07 11:57:12 -07:00
Jason Volk
f93ad3d816 modules/key/query: Implement federation 3.3.2.1 key query GET handler. 2020-04-07 11:48:59 -07:00
Jason Volk
124bfc4783 modules/federation/rooms: Ensure m::resource::response is used here. 2020-04-07 10:52:15 -07:00
Jason Volk
9a0a3dfbf1 ircd:Ⓜ️:vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases. 2020-04-07 10:52:15 -07:00
Jason Volk
4e18b56896 modules/m_vm_fetch: Fix delicate conversion (regression ffdf1632f5). 2020-04-07 10:52:14 -07:00
Jason Volk
ca29c2ef7b modules/federation: Add rooms module; add complexity handler stub. 2020-04-05 19:00:32 -07:00
Jason Volk
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
ffdf1632f5 modules/m_vm_fetch: Minor clarity for result object. 2020-04-05 17:08:58 -07:00
Jason Volk
c76e394a8c modules/console: Fix loop on multiple context id's to interrupt/terminate cmds. 2020-04-05 14:32:21 -07:00
Jason Volk
e089103a30 modules/m_vm_fetch: Tweak interrupt propagation paths; fix specific propagations. 2020-04-03 17:37:34 -07:00
Jason Volk
27a015b9dc modules/client/sync: Minor cleanup; use structured binding for m::top().
modules/client/events: Minor cleanup; use structured binding for m::top().
2020-04-03 15:17:35 -07:00
Jason Volk
c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk
22e71d57e2 modules/federation/user_device: Mark use of zero value for stream_id here. 2020-04-02 17:16:27 -07:00
Jason Volk
1cabd663fb modules/federation: Add comments in txn handler; minor cleanup. 2020-04-02 14:41:11 -07:00
Jason Volk
c973062086 modules/console: Add user devices preliminary omni update trigger cmd. 2020-04-01 20:18:25 -07:00
Jason Volk
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk
6c0e6d49fb ircd:Ⓜ️:device: Remove remaining access_token_to_id interface related. 2020-04-01 17:35:10 -07:00
Jason Volk
08525e95d0 modules/console: Add device_id to user tokens list cmd. 2020-04-01 17:33:55 -07:00
Jason Volk
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -07:00
Jason Volk
93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk
327407cc76 modules/client/send_to_device: Propagate interrupts.
modules/m_device_list_update: Propagate interrupts.
2020-04-01 13:44:39 -07:00
Jason Volk
926bd56bde modules/m_device_list_update: Add functionality to hook; switch to vm.effect. 2020-04-01 13:44:38 -07:00
Jason Volk
746689086a modules/federation/user_keys_claim: Implement 22.1 POST /user/keys/claim. 2020-03-31 17:27:19 -07:00
Jason Volk
1680e5107b modules/m_relation: Fix event_id unmarshal. 2020-03-31 16:50:07 -07:00
Jason Volk
0bb3a33fa2 modules/client/keys/claim: Relax user mxid construction in response; minor cleanup. 2020-03-31 16:02:14 -07:00
Jason Volk
0d9ddbdc53 modules/federation/send: Improve exception handling and propagation. 2020-03-31 14:50:46 -07:00
Jason Volk
cec762de94 modules/client/send_to_device: Move target into content.
modules/federation/sender: Adjust special cases.
2020-03-31 14:17:44 -07:00
Jason Volk
82e01fcc09 modules/client/register_email: Allow and default undefined id_server property. 2020-03-31 13:39:19 -07:00
Jason Volk
31aa8a0d0c modules/client/versions: Add m.require_identity_server. 2020-03-31 13:39:19 -07:00
Jason Volk
07d7dc2801 modules/client/keys/device_signing/upload: Add flows object on error. 2020-03-31 13:11:41 -07:00
Jason Volk
13054243a5 modules/client/sync/presence: Add mitsein condition to linear handler. 2020-03-31 12:54:49 -07:00
Jason Volk
954381b280 modules/client/room_keys/keys: Implement GET method (partial). 2020-03-31 12:12:08 -07:00
Jason Volk
b75e0a20e1 modules/client/room_keys/keys: Implement PUT method. 2020-03-31 12:11:56 -07:00
Jason Volk
5d685e6b40 modules/client/sync/to_device: Add linear handler.
modules/client/sync/to_device: Reduce event append between handlers.
2020-03-31 10:37:50 -07:00
Jason Volk
44218e9d86 modules/client/sync/to_device: Condition for specific syncing device on polylog. 2020-03-30 22:04:29 -07:00
Jason Volk
b2b1db1eb2 modules/client/sync/to_device: Use m::room::type events iterator for polylog. 2020-03-30 21:55:23 -07:00
Jason Volk
b710ed8862 modules/client/room_keys/version: Implement DELETE method. 2020-03-30 19:13:44 -07:00
Jason Volk
2cbd0c736a modules/client/keys/device_signing/upload: Requisite stub; request elements. 2020-03-30 19:02:28 -07:00
Jason Volk
d28730538c modules/client/room_keys/version: Implement GET method. 2020-03-30 19:02:28 -07:00
Jason Volk
45b58902b1 modules/client/room_keys/version: Implement POST method. 2020-03-30 18:51:35 -07:00
Jason Volk
45d7201ca8 modules/client/keys/signatures/upload: Candidate implementation. 2020-03-30 17:00:34 -07:00
Jason Volk
a9214f796b modules/client/keys: Stub handler modules for device_signing/upload and signatures/upload. 2020-03-30 15:30:20 -07:00
Jason Volk
2e7962216b ircd:Ⓜ️:client_versions: Add support for e2e cross signing. 2020-03-30 14:03:53 -07:00
Jason Volk
9de467e15e ircd:Ⓜ️:client_version: Add support for label_based_filtering. 2020-03-30 14:03:53 -07:00
Jason Volk
39c55a8979 modules/client/devices: Remove the unstable path handlers. 2020-03-28 17:48:24 -07:00
Jason Volk
988cc896e1 modules/client/room_keys: Start room_keys/versions room_keys/keys handler stubs. 2020-03-28 17:10:32 -07:00
Jason Volk
6b8e25800c modules/client/devices: Fix device_id parameter position. 2020-03-28 16:43:10 -07:00
Jason Volk
b95f6e1af4 modules/m_vm_fetch: Fixes for exception propagation and reporting. 2020-03-28 12:17:12 -07:00
Jason Volk
02430413ef modules/client/pushrules: Insert rule_id to rule on upload rather than outputs. 2020-03-27 10:40:43 -07:00
Jason Volk
f20bdbceb8 modules/magick: Appease clang's reachability analysis here. 2020-03-27 09:34:43 -07:00
Jason Volk
fb59da6bbb modules/web_hook: Additional spacing adjustments related 7a0da02bf6. 2020-03-27 09:34:22 -07:00
Jason Volk
d9ceeb4e9d Merge branch 'master' of https://github.com/disobeyedtoast/charybdis 2020-03-26 19:46:32 -07:00
Jason Volk
7a0da02bf6 modules/web_hook: Tweak spacing on pull request. 2020-03-26 19:44:00 -07:00
disobeyedtoast
04ab35988b
Update magick.cc 2020-03-27 02:30:00 +00:00
Jason Volk
27324d42bc modules/client/sync/rooms/unread_notifications: Elide highlight counting when !notification_count. 2020-03-26 18:25:06 -07:00
Jason Volk
f6bef2770d modules/console: Fix room_id check on valid empty argument to user notifications cmd. 2020-03-26 17:20:06 -07:00
Jason Volk
a398a1f5c0 modules/client/pushrules: Fix erroneous type conversion for bool property. 2020-03-26 17:20:06 -07:00
Jason Volk
107cae9591 modules/client/sync/rooms/unread_notifications: Fix range options to counter. 2020-03-26 12:05:10 -07:00
Jason Volk
106dd18a86 modules/federation/send: Simplify error handling (related 3a696636df).
modules/federation/send: Preliminary setup for error transcription in response.
2020-03-26 12:05:10 -07:00
Jason Volk
6cc7ec3be8 modules/federation/send: Remove deprecated pdu_failures related. 2020-03-26 11:08:03 -07:00
Jason Volk
e92a7efb24 modules/m_receipt: Add back the creation call in the handler for now. 2020-03-25 18:34:29 -07:00
Jason Volk
a9885d4a45 modules/console: Require remote argument when event_id has no host. 2020-03-25 18:27:40 -07:00
Jason Volk
3a696636df modules/federation/send: Stop propagation and log EDU eval errors here. 2020-03-25 18:27:40 -07:00
Jason Volk
967c3109dc modules/client/notifications: Improve iteration finished condition; minor branch unexpect. 2020-03-24 18:09:37 -07:00
Jason Volk
00980b547e modules/console: Add prefix-option in room type cmd. 2020-03-24 17:53:22 -07:00
Jason Volk
5776549efe modules/console: Add more options to the user notifications cmd. 2020-03-24 17:45:48 -07:00
Jason Volk
a549878519 modules/client/sync/rooms/unread_notifications: Reimplement highlight counter w/ notifications. 2020-03-24 16:16:27 -07:00
Jason Volk
4c70d8ce08 ircd:Ⓜ️:user::notifications: Add room_id to opts; prefix keying strategy.
modules/m_push: Add room_id to type generation.
2020-03-24 14:56:30 -07:00
Jason Volk
31fd7e664f modules/console: Add room type cmd. 2020-03-24 14:14:39 -07:00
Jason Volk
70315e2459 modules/media/preview_url: Quash TODO for rfc3986 uri parsing. 2020-03-24 12:14:05 -07:00
Jason Volk
16e800974e modules/media/preview_url: Quash TODO for net::hostport service. 2020-03-24 09:57:45 -07:00
Jason Volk
6f17864cd7 modules/client/notifications: Implement r0.6.0-13.13.1.3.1 GET /notifications. 2020-03-23 18:47:07 -07:00
Jason Volk
932a9974b7 modules/m_push: Highlights to the user's room. 2020-03-23 18:28:39 -07:00
Jason Volk
d9658fcbf2 modules/client/rooms: Stub preliminary upgrade handler. 2020-03-23 13:47:43 -07:00
Jason Volk
ab4b31bc13 ircd:Ⓜ️:user::pushrules: Add event_idx of rule as argument to closures.
ircd:Ⓜ️:user::pushers: Add event_idx of rule as argument to closures.
2020-03-23 13:01:24 -07:00
Jason Volk
439de6fbe6 modules/client/sync: Fix erroneous assertion related f8ed27403e 2020-03-23 13:01:24 -07:00
Jason Volk
5ddb14884c modules/m_push: Cleanup/reorg the match and execute stack. 2020-03-22 22:21:28 -07:00
Jason Volk
41a3040084 modules/m_push: Propagate loop break after highest priority match and action. 2020-03-22 18:18:51 -07:00
Jason Volk
3b564f816a modules/m_push: 'Homeservers MUST NOT notify ... for events ... user has sent themselves.' 2020-03-22 18:18:51 -07:00
Jason Volk
b6ac0cb954 modules/m_push: Consistent log formats for rule paths. 2020-03-22 18:18:51 -07:00
Jason Volk
c2ef709c90 modules/m_push: Add argument for different scopes to rule handler. 2020-03-22 18:18:51 -07:00
Jason Volk
822b422dfe modules: Add preliminary event pushrule evaluation module. 2020-03-22 18:18:50 -07:00
Jason Volk
f8ed27403e modules/client/sync: Fix assertion condition. 2020-03-22 13:12:42 -07:00
Jason Volk
7b076e5bc9 modules/client/sync: Minor reorg. 2020-03-22 13:12:42 -07:00
Jason Volk
ed54618ca4 ircd:Ⓜ️:user: Start a user::notifications interface. 2020-03-21 20:49:54 -07:00
Jason Volk
31d04f7677 modules/console: Add user pushers cmd. 2020-03-21 20:49:54 -07:00
Jason Volk
2762361f03 modules/m_room_power_levels: Minor fix formatting/indentation. 2020-03-21 20:49:54 -07:00
Jason Volk
1a0d617803 modules/client: Implement Client r0.6.0-13.13.1 Pushers. 2020-03-21 11:35:40 -07:00
Jason Volk
925d15f7c0 modules/client/sync/rooms/ephemeral/receipt: Reverse order of receipts for R!ot. 2020-03-21 11:35:40 -07:00
Jason Volk
ebae05d1f3 modules/client/rooms/invite: Increase default timeout et. matrix.org 2020-03-20 14:08:31 -07:00
Jason Volk
43fdec3671 modules/console: Improve user pushrules cmd output. 2020-03-19 16:25:45 -07:00
Jason Volk
f8b99ad26e ircd:Ⓜ️:user: Remove pre-pushrules highlight counter. 2020-03-19 16:01:32 -07:00
Jason Volk
abfb106125 ircd: Rename globular classes to indicate case insensitivity. 2020-03-19 16:01:32 -07:00
Jason Volk
70e32d9292 modules/client/pushrules: Always return 200 on DELETE method for Riot. 2020-03-19 16:01:32 -07:00
Jason Volk
3741f7e7a5 modules/federation/send_join: Integrate /v2/send_join endpoint format. 2020-03-19 09:37:16 -07:00
Jason Volk
ea9ad1622a modules/client/pushrules: Ensure 'enabled' and 'default' from client is proper. 2020-03-18 19:47:18 -07:00
Jason Volk
7d9e992e0d modules/client/pushrules: Support the /actions paths on GET and PUT methods. 2020-03-18 16:57:59 -07:00
Jason Volk
927da1002e modules/client/pushrules: Support the /enabled paths on GET and PUT methods. 2020-03-18 16:48:57 -07:00
Jason Volk
0ee313efc4 modules/client/pushrules: Add handler functionalities; rename namespace. 2020-03-18 16:06:44 -07:00
Jason Volk
f897ebd134 modules/console: Add preliminary user pushrules cmd. 2020-03-18 16:06:44 -07:00
Jason Volk
42a8c30a40 modules/client/sync/account_data: Add linear and polylog sync support for m.push_rules 2020-03-18 16:06:44 -07:00
Jason Volk
da736eb438 modules/client/rooms/invite: Add conf item for remote operation timeout. 2020-03-17 12:01:16 -07:00
Jason Volk
90f628d560 modules/client/rooms/invite: Minor rename remote hook related. 2020-03-17 12:00:40 -07:00
Jason Volk
1bc9246e69 modules/client/rooms/invite: Apply unique bypass to eval; tweak infolog msgs; minor cleanup. 2020-03-17 11:48:22 -07:00
Jason Volk
0d0db66a52 modules/federation/make_leave: Improve error response message. 2020-03-17 08:57:49 -07:00
Jason Volk
cf9ecb2a22 modules/m_room_create: Condition to suppress variable level log msg. 2020-03-16 21:27:11 -07:00
Jason Volk
75327c19f9 modules/console: Improve SST file info table format; addl info; stack buffers. 2020-03-16 21:11:02 -07:00
Jason Volk
6e570bca16 modules/console: Sort SST files list by creation for output. 2020-03-16 19:23:35 -07:00
Jason Volk
4c2ea5c91c modules/web_hook: Add annotation on error state (for cancel). 2020-03-16 18:18:00 -07:00
Jason Volk
f66faaaf8d modules/client/pushrules: Additional handler stubs w/ params. 2020-03-16 17:32:44 -07:00
Jason Volk
006aa4f0e6 modules/console: Allow nil argument to specify target level for all key ranges. 2020-03-16 00:31:35 -07:00
Jason Volk
829516afde ircd::db: Add compaction priority option to descriptor.
ircd:Ⓜ️:dbs: Tune compaction priority algorithm.
2020-03-13 15:12:22 -07:00
Jason Volk
d136fd75f5 modules/media/download: Minor cleanup. 2020-03-13 15:01:07 -07:00
Jason Volk
0fb19b85ca ircd:Ⓜ️:media::file: Adjust download overloads; fix use of empty remote string in messages. 2020-03-13 14:52:08 -07:00
Jason Volk
cf37e364ce modules/console: Add net service console cmd. 2020-03-12 21:09:56 -07:00
Jason Volk
ffcbc87fdd ircd: Rename try_lex_cast to lex_castable. 2020-03-12 21:09:56 -07:00
Jason Volk
59ad4731ae modules/m_relation: Add hook to discover and fetch events from m_relates_to. 2020-03-10 23:03:14 -07:00
Jason Volk
14fffaeded modules/media/media: Fix unnecessary remote stringifies. 2020-03-10 22:14:40 -07:00
Jason Volk
8a769abe05 modules/web_hook: Improve riohtml formatting of PR's. 2020-03-10 08:45:05 -07:00
Jason Volk
bc2a05d563 modules/media/media: Increase default block cache size. 2020-03-09 18:47:13 -07:00
Jason Volk
fe70de48b4 modules/console: Disable additional state fetch from fed state cmd. 2020-03-09 18:47:13 -07:00
Jason Volk
3c87dc2677 modules/federation/query: Fix naked origin without service name. 2020-03-08 10:28:11 -07:00
Jason Volk
abdb7c0f51 ircd:Ⓜ️:media::file::download: Fix critical assertion on context switch. 2020-03-07 23:37:28 -08:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 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
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk
41a6fa4e37 modules/client/rooms/context: Move spec related comment to document variable. 2020-03-06 18:53:00 -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
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
fddeb548a7 ircd::net::dns::resolve: Pass more information SRV key generator. 2020-03-05 14:18:57 -08:00
Jason Volk
ae8b2bc0f8 modules/console: Require hostport param for cmd. 2020-03-05 14:18:57 -08:00
Jason Volk
1bfbcabad9 modules/console: Improve peer request table output. 2020-03-04 11:41:51 -08:00
Jason Volk
df9b429344 ircd:Ⓜ️:vm::fetch: Add conf items to timeout event and state fetching. 2020-03-04 11:15:27 -08:00
Jason Volk
bf2219634a modules/federation: Rename sender.int.h to sender.h. 2020-03-04 11:15:27 -08:00
Jason Volk
f4679e1383 modules/console: Improve peer table output format. 2020-03-04 11:15:27 -08:00
Jason Volk
6e8995f49d ircd:Ⓜ️:vm::fetch: Disable auth fetch on auth chain eval here. 2020-03-03 21:38:46 -08:00
Jason Volk
0be0fe9e82 modules/federation: Fix conf item shared between invite and invite2. 2020-03-03 17:46:28 -08:00
Jason Volk
baadb3d44a modules/m_vm_fetch: Improve logging of state fetch. 2020-03-03 16:21:38 -08:00
Jason Volk
57546ae788 modules/m_vm_fetch: Fix room sounding gauge for state fetch condition. 2020-03-03 16:17:48 -08:00
Jason Volk
6a72671507 modules/federation/send: Add conf items for some pdu eval fetch vmopts. 2020-03-03 16:15:04 -08:00
Jason Volk
64b3edd591 modules/federation/send: Fix bool conf item default. 2020-03-03 16:14:47 -08:00
Jason Volk
5458025a5c modules/m_receipt: Eliminate branch to drop receipts for unknown user here. 2020-03-03 15:22:19 -08:00
Jason Volk
6a27637094 modules/m_room_aliases: Handle and log exception on alias changed effect hook. 2020-03-03 15:09:04 -08:00
Jason Volk
7f2eb104b6 ircd::net::acceptor: Refactor error and limit handling branches; fix reset. 2020-03-03 14:14:43 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk
9f4bc6606e modules/console: Add depth to vm listing; adjust widths. 2020-03-02 19:51:22 -08:00
Jason Volk
cfc199d89e modules/console: Improve output formatting. 2020-03-02 18:34:46 -08:00
Jason Volk
f471093d3e ircd:Ⓜ️:user::rooms: Use _event_state to eliminate the ircd.member type. 2020-03-01 17:13:15 -08:00
Jason Volk
48a8af4252 modules/console: Disable prev fetch on manual feds state eval. 2020-03-01 16:37:29 -08:00
Jason Volk
8a9b06c67e modules/m_receipt: Fix missing prop_mask field.
modules/m_presence: Fix missing prop_mask field.
2020-03-01 13:37:08 -08:00
Jason Volk
9bf174d84b modules/client/rooms/send: Implement txnid check for idempotency of requests. 2020-03-01 12:21:49 -08:00
Jason Volk
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
cdb0df84b8 modules/console: Remove cruft. 2020-02-28 18:02:49 -08:00
Jason Volk
1c305257af modules/m_listen: Increase proffer context stack size. 2020-02-27 16:25:47 -08:00
Jason Volk
1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk
28cc60a909 modules/client/sync/rooms/state: Add linear sync skip condition. 2020-02-24 12:26:51 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
8f5b40e9d5 modules/m_receipt: Disable luser receipt condition on membership. 2020-02-23 16:23:25 -08:00
Jason Volk
c8dc1232ee modules/client/sync: Interrupt longpolling clients for faster graceful shutdown. 2020-02-19 16:25:24 -08:00
Jason Volk
41c36836cc modules/console: Add preliminary db cache each cmd for iteration related. 2020-02-19 13:26:23 -08:00
Jason Volk
3b5bdd7cc8 modules/client/sync: Fix unattended narrowing conversion. 2020-02-19 13:26:13 -08:00
Jason Volk
74c9978800 modules/llvm: Show library information in infolog on init. 2020-02-18 16:09:21 -08:00
Jason Volk
e17ce00f96 modules/llvm: Add logger. 2020-02-18 16:06:21 -08:00
Jason Volk
fd382d88a0 modules/llvm: Add info::versions information. 2020-02-18 16:06:13 -08:00
Jason Volk
c3f0803e49 modules: X-value copy elision hints for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
55f9947b52 modules/web_hook: Add annotation for failure status. 2020-02-12 14:34:26 -08:00
Jason Volk
58382af029 modules/client/sync: Fix warnings for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
9579325506 modules: Stub for llvm. 2020-02-12 14:34:26 -08:00
Jason Volk
2d50569724 modules/magick: Remove unnecessary attributes. 2020-02-11 15:04:50 -08:00
Jason Volk
819e5ea08e modules/magick: Move noreturn attribute to declaration. 2020-02-01 22:18:49 -08:00
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
0c34b92083 modules/client/sync/rooms/ephemeral/receipt: Remove redundant apropos conditions. 2020-01-23 10:52:56 -08:00
Jason Volk
4522c5a7dd modules/console: Improve fed key cmd output. 2020-01-19 05:59:21 -08:00
Jason Volk
86bf383b4d modules: Improve README bullets. 2020-01-11 23:31:53 -08:00
Jason Volk
cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk
a90b4e1344 modules/federation/send: Limit evals per node w/ conf item. 2020-01-07 15:16:34 -08:00
Jason Volk
e0810afd87 modules/client/sync/presence: Skip erroneous user_id's in loop. 2020-01-07 13:43:53 -08:00
Jason Volk
bfdbf60fd1 modules/federation/send: Return HTTP 202 on retry for transaction in progress. 2020-01-07 12:26:31 -08:00
Jason Volk
94c9152061 modules/federation/send: When origin field is used deny on mismatch. 2020-01-06 17:01:21 -08:00
Jason Volk
94aebfb4bf modules/federation/send: urldecode txnid into buffer. 2020-01-06 17:01:21 -08:00
Jason Volk
f952cecfbb ircd:Ⓜ️:vm: Add txnid to opts; propagate from federation send. 2020-01-06 17:01:21 -08:00
Jason Volk
d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk
fb21e0d62e modules/client/profile: Fix check for eptr on rethrow. 2020-01-02 11:16:47 -08:00
Jason Volk
15b9492ea0 modules/client/profile: Simplify empty profile query closure. 2020-01-02 11:16:47 -08:00
Jason Volk
4dcb2ed3a1 modules/console: Replace some larger tls buffers with dynamic. 2019-12-31 12:33:50 -08:00
Jason Volk
c776229112 modules/web_hook: Switch to circle emoji for CI status reaction. 2019-12-22 02:35:51 -08:00
Jason Volk
74b07825aa modules/console: Optional state_key param in room get cmd. 2019-12-22 01:59:04 -08:00
Jason Volk
14774cf3e2 modules/console: Use pretty/pretty_oneline() in node key cmd. 2019-12-21 14:34:28 -08:00
Jason Volk
3852255812 modules/net_dns_cache: Fix regression; always respond to the cache room. 2019-12-11 17:59:06 -08:00
Jason Volk
27065f2bc2 modules/web_hook: Add m.annotation m.reaction replies to push messages based on status. 2019-12-11 14:09:23 -08:00
Jason Volk
4dd37bccbb modules/web_hook: Add the apropos hash to the content body, unstructured for now. 2019-12-11 14:09:23 -08:00
Jason Volk
25fbf51801 modules/console: Improve feds head diagnostic output detail. 2019-12-10 22:07:51 -08:00
Jason Volk
2ea3cdcc9b modules/console: Fix event refs arg requirement; type reflection lookup. 2019-12-10 11:37:09 -08:00
Jason Volk
12b340c093 ircd:Ⓜ️:room::head: Elaborate the prev_events generating interface; add features. 2019-12-10 11:37:09 -08:00
Jason Volk
35d3e71020 modules/client/sync: Fix timeout rel/abs regression. 2019-12-05 10:30:50 -08:00
Jason Volk
6a6f31315b modules/m_vm_fetch: Fix field name. 2019-12-03 20:32:00 -08:00
Jason Volk
03e6a8a867 modules/m_vm_fetch: Fix missing param in debuglog msg. 2019-12-03 20:24:11 -08:00
Jason Volk
6b69e240d8 modules/console: Toggle DWARNING/DERROR to match DEBUG in release-mode compilations. 2019-12-03 16:42:14 -08:00
Jason Volk
6acc0ba4cb modules/console: Allow toggle of ircd::debug in any compilation. 2019-12-03 16:34:07 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
a8c6d63b37 modules/client/sync/rooms/state: Add conf item for lazyload; adjust related. 2019-12-03 11:50:16 -08:00
Jason Volk
745172de1f modules/client/versions: Add a static string listing; add more versions. 2019-12-03 11:39:31 -08:00
Jason Volk
4ca71e21cc modules/console: Increase db cache table hits columns width. 2019-11-30 10:52:51 -08:00
Jason Volk
9bb4936625 modules/client: Minor upgrades to std::clamp/std::minmax templates. 2019-10-10 13:35:02 -07:00
Jason Volk
5c2ce1f20c modules/console: Add for clarity. 2019-10-10 13:08:25 -07:00
Jason Volk
c0fc0a1cad ircd::prof: Add interface to pressure stall information on linux platforms. 2019-10-08 19:30:48 -07:00
Jason Volk
736f8c6ad0 modules/web_hook: Remove quotes around committer name in push handler. 2019-10-08 13:33:03 -07:00
Jason Volk
aa24c43137 modules/web_hook: Embolden the ref name on create/delete events. 2019-10-08 13:31:14 -07:00
Jason Volk
fb15e8c30b modules/web_hook: Support github create event. 2019-10-08 13:26:27 -07:00
Jason Volk
4ee38bc08f modules/client/sync/rooms/state: Hoist event fetchers from loop. 2019-10-07 20:19:41 -07:00
Jason Volk
dae475664a modules/client/rooms/members: Hoist event::fetch instance from loop. 2019-10-07 20:12:16 -07:00
Jason Volk
ccaf730ce1 modules/console: Detect bytes for pretty(iec()) in db ticker output. 2019-10-07 17:41:06 -07:00
Jason Volk
2b2374db6c ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache. 2019-10-05 17:37:44 -07:00
Jason Volk
b5b4f9b4a5 ircd: Update stale README information. [ci skip] 2019-10-05 16:18:09 -07:00
Jason Volk
1980fd5e73 modules/client/rooms/invite: Move invite definition to lib. 2019-10-05 15:50:18 -07:00
Jason Volk
b8439d61a9 modules/client: Fix errant non-m:: resources. 2019-10-04 20:23:59 -07:00
Jason Volk
f8e74fbc36 ircd:Ⓜ️:homeserver: Fix remaining module init for now. 2019-10-04 15:08:49 -07:00
Jason Volk
eaf64ba732 ircd:Ⓜ️ Reduce infolog noise here; fixes. 2019-10-04 13:55:06 -07:00
Jason Volk
6f798df65c ircd:Ⓜ️:homeserver: Refactor conf related; patch self:: related; console cmds. 2019-10-04 13:49:37 -07:00
Jason Volk
08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk
61d050024f modules/net_dns_cache: Fix room creation related; various. 2019-10-03 18:54:35 -07:00
Jason Volk
8764f523d4 ircd:Ⓜ️:vm: Move core from modules to matrix; split units. 2019-10-03 12:14:29 -07:00
Jason Volk
cfc76f1777 ircd::net::dns: Move resolver into libircd proper. 2019-10-03 12:14:29 -07:00
Jason Volk
7e51d5dfca ircd:Ⓜ️:vm: Make debuglog on accept conf item default to true. 2019-10-03 09:26:18 -07:00
Jason Volk
710b97dc62 ircd:Ⓜ️:user: Belated move of m::user definitions into lib. 2019-10-02 18:30:56 -07:00
Jason Volk
dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk
9c49e8bdb5 ircd:Ⓜ️ Remove tls fingerprint related. 2019-09-30 20:38:57 -07:00
Jason Volk
d03cf8f7a8 modules: Re-type matrix resource handlers under m::resource. 2019-09-29 14:00:02 -07:00
Jason Volk
85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk
f6992ca3e1 matrix: Split matrix base unit. 2019-09-27 19:35:26 -07:00
Jason Volk
183e44e0b6 modules: Distill all API's from modules up to matrix lib. 2019-09-27 19:35:26 -07:00
Jason Volk
d3809d43e5 Reorganize Makefiles. 2019-09-27 19:35:26 -07:00
Jason Volk
89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00
Jason Volk
fb3c6b47a4 modules: Split net_dns_cache from net_dns unit; same shared object. 2019-09-27 19:35:26 -07:00
Jason Volk
7934756858 ircd:Ⓜ️ Split user registration API from client/register; minor reorg. 2019-09-27 19:35:26 -07:00
Jason Volk
9c8c13e91d ircd:Ⓜ️ Preliminary module sorting for consolidated libmatrix archive. 2019-09-27 19:35:26 -07:00
Jason Volk
39b84cbb5f modules: Split user profile related API from hooks; into module. 2019-09-27 19:35:26 -07:00
Jason Volk
d7d3b54e5c modules/m_room_message: Split highlight auth hook to module. 2019-09-27 19:35:26 -07:00
Jason Volk
ef7954f994 modules: Split event::horizon / event::pretty to modules. 2019-09-27 19:35:25 -07:00
Jason Volk
aa907ef813 modules: Split m::create() from m_room_create.so to m_create.so 2019-09-27 19:35:25 -07:00
Jason Volk
17ea721eda modules/m_breadcrumb_rooms: Add missing export macros. 2019-09-25 12:56:29 -07:00
Jason Volk
67c00f7283 modules/console: Fix error. 2019-09-24 20:39:48 -07:00
Jason Volk
6dcdbba06b ircd::magick: Minor cleanup. 2019-09-24 18:34:03 -07:00
Jason Volk
7ea609ee67 modules/console: Add events type counts cmd. 2019-09-24 17:40:44 -07:00
Jason Volk
b3f45daff8 modules/client/sync/rooms/ephemeral/receipt: Add prefetch loops for polylog sync. 2019-09-24 16:33:06 -07:00
Jason Volk
0d9d5a8c24 modules/m_breadcrumb_rooms: Update for room::events prefetching interface here. 2019-09-24 16:01:29 -07:00
Jason Volk
8880eadfd5 ircd:Ⓜ️:room::events: Additional prefetch()/preseek() related interfaces. 2019-09-24 15:46:11 -07:00
Jason Volk
080cec4dba modules/client/rooms/members: Replace counterproductive query in prefetch loop. 2019-09-24 15:16:19 -07:00
Jason Volk
4254960ee1 ircd:Ⓜ️ Simplify m::visible(); refactor implementation. 2019-09-24 15:16:19 -07:00
Jason Volk
5d9ec170f8 ircd:Ⓜ️:vm: Add event origin for internal room paranoid check in eval. 2019-09-24 14:31:14 -07:00
Jason Volk
49ce16d74b modules/client/rooms/ephemeral/receipt: Minor cleanup. 2019-09-23 23:26:07 -07:00
Jason Volk
575bacee8d ircd:Ⓜ️:room::events: Simplify count() suite. 2019-09-23 23:26:07 -07:00
Jason Volk
df0fae203e modules/client/initialSync: Simplify json::stack usage. 2019-09-23 20:11:20 -07:00
Jason Volk
a984c2a454 modules/client/sync/to_device: Use m::query(); minor cleanup. 2019-09-23 19:46:32 -07:00
Jason Volk
35f9810dbd modules/client/rooms/members: Fix at token usage. 2019-09-23 14:51:24 -07:00
Jason Volk
82a2f14481 ircd::net::dns::cache: Hook vm.effect rather than vm.notify. 2019-09-23 14:18:22 -07:00
Jason Volk
183acf8efc ircd:Ⓜ️:sync: Increase token buffer; use function reference. 2019-09-23 14:18:22 -07:00
Jason Volk
b518820357 modules/console: Fix argument order. 2019-09-23 13:31:05 -07:00
Jason Volk
7b24eace2b modules/client/rooms/members: Impove/cleanup at/since parameter related. 2019-09-23 13:00:30 -07:00
Jason Volk
2b3de2ea69 ircd::resource: Add assertions; fix error. 2019-09-23 12:58:34 -07:00
Jason Volk
4368f1af7a modules/m_room_member: Move membership hook back to vm.effect for now. 2019-09-22 22:31:07 -07:00
Jason Volk
db74d89f23 modules/m_room_aliases: Add rooms summary trigger on alias change. 2019-09-22 21:47:35 -07:00
Jason Volk
fe0127d0ec modules/m_room_join_rules: Fix room summary trigger. 2019-09-22 21:45:19 -07:00
Jason Volk
16d45ef8d5 modules/m_room_member: Fix m::get() overload for integer value. 2019-09-22 21:09:36 -07:00
Jason Volk
39ade19ae3 ircd::ctx: Switch from steady_timer to deadline_timer. 2019-09-22 20:59:54 -07:00
Jason Volk
a20659b1d8 ircd::ios: Profile the latency of handler execution. 2019-09-22 16:27:54 -07:00
Jason Volk
3de5381d61 modules/console: Minor cleanup; more fences for latency test. 2019-09-21 12:52:36 -07:00
Jason Volk
1731ff8bad modules/client/rooms/leave: Override any mismatch between room and user_room. 2019-09-20 15:20:37 -07:00
Jason Volk
57da17f7fa modules/m_room_member: Add chronology condition for ircd.member state. 2019-09-20 15:20:37 -07:00
Jason Volk
fd30c4701c ircd::net::dns: Wait on cache before resolver on fini; replace regressed (26cd9cec85). 2019-09-20 12:34:10 -07:00
Jason Volk
99d080767f ircd: Add interface to backtrace(3). 2019-09-19 22:07:41 -07:00
Jason Volk
a8b140ad6d modules/conf: Remove noexcept to propagate termination. 2019-09-19 22:07:41 -07:00
Jason Volk
26cd9cec85 ircd::net::dns::resolver: Wait for all tags before net teardown on fini. 2019-09-19 14:03:48 -07:00
Jason Volk
d4b0dbaa8c modules: Move room::events::horizon::rebuild() to m_room_events.so. 2019-09-19 11:08:59 -07:00
Jason Volk
578a0e03fd modules/client/rooms/events: Prevent EDU's from being sent to client here. 2019-09-19 10:20:40 -07:00
Jason Volk
fa698123dc modules/console: Add bare metal latency as control result. 2019-09-19 00:03:05 -07:00
Jason Volk
362122c951 modules/client/sync/rooms/state: Use the viewport size item for iteration depth. 2019-09-18 14:48:32 -07:00
Jason Volk
da6ae72b69 modules/client/sync/rooms/state: Simplify and optimize member event fetching at phase=0. 2019-09-18 14:29:40 -07:00
Jason Volk
2603953809 modules/client/sync/rooms/state: Simplify phase=0 concurrency w/ prefetch. 2019-09-18 14:29:40 -07:00
Jason Volk
6ed0db3274 modules/client/rooms/messages: Abandon prefetching in the messages handler.
Aborted due to collisions and stalls. Note that messages are already prefetched
by the breadcrumb_rooms handler on room change.
2019-09-18 13:09:19 -07:00
Jason Volk
1d449ed134 modules/client/rooms/members: Support multiple membership constraint query paramters for optimization. 2019-09-18 12:30:51 -07:00
Jason Volk
321b7e32c1 modules/client/rooms/forget: Simplify checks. (closes #130) 2019-09-18 12:30:51 -07:00
Jason Volk
11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk
cdce334b80 modules/client/rooms/messages: Hoist prefetching into branch; disable here for now. 2019-09-17 23:17:51 -07:00
Jason Volk
404da37cc4 modules/client/rooms/messages: Cleanup loop; improve prefetch; reduce density of branches. 2019-09-17 22:38:38 -07:00
Jason Volk
be2ae27af6 modules/client/sync/rooms/timeline: Fix loop conditions. 2019-09-17 22:21:55 -07:00
Jason Volk
5bf60df98b ircd:Ⓜ️:event::apend: Skip the redacted query if event is room head. 2019-09-17 21:06:03 -07:00
Jason Volk
fe8f9ee611 modules/client/sync/rooms/timeline: Conditional prev_batch; minor cleanup. 2019-09-17 20:19:27 -07:00
Jason Volk
c77353fd9c modules/client/sync/rooms/timeline: Add conditional prefetch on down iteration. 2019-09-17 20:19:27 -07:00
Jason Volk
252a89fbaa modules/client/rooms/messages: Issue prefetches to pipeline the fetch loop. 2019-09-17 20:17:37 -07:00
Jason Volk
049ac86564 ircd:Ⓜ️:event::append: Minor cleanup; reduce density of branches. 2019-09-17 20:17:37 -07:00
Jason Volk
b3323c3f8d ircd:Ⓜ️:event::append: Add option to bypass redaction query. 2019-09-17 20:17:37 -07:00
Jason Volk
25bcd24e5f ircd:Ⓜ️:media::file: Eliminate block buffering here. 2019-09-17 20:17:37 -07:00
Jason Volk
dc1364c735 ircd:Ⓜ️:media::block: Add zero-copy block::get() closure. 2019-09-17 20:17:37 -07:00
Jason Volk
e357974d6f ircd:Ⓜ️:media::file: Fully pipeline data block and event requests during file read. 2019-09-17 12:41:20 -07:00
Jason Volk
e267b5232d ircd:Ⓜ️:media::block: Add prefetch() to interface. 2019-09-17 11:35:50 -07:00
Jason Volk
fb12a0384e modules/m_breadcrumb_rooms: Hook breadcrumb rooms to track focused room; prefetch viewport. 2019-09-16 19:59:03 -07:00
Jason Volk
05641c356b ircd:Ⓜ️:media::file: Add prefetching for events during read iteration. 2019-09-16 19:59:03 -07:00
Jason Volk
994b42ca71 modules/federation/query: Improve servers list in directory handler. 2019-09-16 19:59:03 -07:00
Jason Volk
2fccad88f2 ircd:Ⓜ️:vm: Tweak debuglog message points; fix missing facilities. 2019-09-16 19:59:03 -07:00
Jason Volk
fd5907a99d ircd:Ⓜ️:vm: Evaluate auth against present and relative state in sequence. 2019-09-16 16:33:47 -07:00
Jason Volk
c0f4640a74 modules/console: Default to local users for users cmd. 2019-09-16 14:08:29 -07:00
Jason Volk
839ca6f000 modules/federation/make_join: Improve error string for propagation. 2019-09-16 13:39:48 -07:00
Jason Volk
8f4def84f4 modules/client/rooms/invite: Remove unnecessary check. 2019-09-16 13:33:35 -07:00
Jason Volk
fc4148d874 ircd:Ⓜ️:room::bootstrap: Relax check; fix error on join after accepting invite. 2019-09-16 13:24:40 -07:00
Jason Volk
c29fca7b4d ircd:Ⓜ️:vm: Ensure eval.event_id is assigned on inject. 2019-09-16 13:24:19 -07:00
Jason Volk
e73ebfd151 ircd:Ⓜ️:fetch: Throw on loop break to properly set request.eptr and finish(). 2019-09-16 12:38:01 -07:00
Jason Volk
c7de8aec82 ircd:Ⓜ️:init::backfill: Only ask the server which provided the unknown head for the event. 2019-09-16 12:30:44 -07:00
Jason Volk
a9b86c5594 ircd:Ⓜ️:fetch: Add an attempt_limit option to interface; minor cleanup. 2019-09-16 12:30:36 -07:00
Jason Volk
2d1911a2b1 ircd:Ⓜ️:fetch: Add conf item for backfill limit default. 2019-09-16 12:12:43 -07:00
Jason Volk
49ed79e9df ircd:Ⓜ️:fetch: Rename opts::limit to opts::backfill_limit. 2019-09-16 12:09:30 -07:00
Jason Volk
a6efe6986c modules/client/sync/rooms/timeline: Add comment. [skip ci] 2019-09-16 12:06:25 -07:00
Jason Volk
2115bf7cf4 ircd:Ⓜ️:user: Move definitions from modules/client to m_user. 2019-09-16 11:03:45 -07:00
Jason Volk
7fa72e8f39 ircd:Ⓜ️ Move the m::redact() definition out of client/rooms modules. 2019-09-16 10:55:23 -07:00
Jason Volk
3f65055892 modules/client/sync/rooms/state: Employ prev_content elision on some appends. 2019-09-15 20:04:23 -07:00
Jason Volk
b4b07debbd ircd:Ⓜ️:event::append: Add option to elide query for state prev_content. 2019-09-15 19:47:03 -07:00
Jason Volk
56e9f5e009 ircd:Ⓜ️:event::append: Only query for ignores for non-self sender; minor cleanup. 2019-09-15 19:36:39 -07:00
Jason Volk
da38ffc49c ircd:Ⓜ️:room::bootstrap: Simplify process; remove cruft. 2019-09-15 19:36:39 -07:00
Jason Volk
f9c47eee58 ircd:Ⓜ️:room::bootstrap: Reuse any existing join event on bootstrap. 2019-09-15 19:36:39 -07:00
Jason Volk
0f00468bb8 modules/client/sync/rooms/timeline: Add case to linear-sync a backfill of timeline events on join. 2019-09-15 19:36:39 -07:00
Jason Volk
ec22842c63 ircd:Ⓜ️:event::append: Fix exclusion of redacts property. 2019-09-15 19:36:39 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
da6fd3e3ab ircd::http: Move version mismatch to unlikely segment.
ircd:Ⓜ️:vm: Reduce branches.

ircd::http: Minor cleanup.
2019-09-14 16:33:14 -07:00
Jason Volk
9319df1a1b ircd:Ⓜ️:rooms::summary: Export state key manip utils to interface. 2019-09-14 16:08:33 -07:00
Jason Volk
1b4693601d modules/console: Add type/sender/state_key to table if available. 2019-09-14 15:49:10 -07:00
Jason Volk
3ac8bd2e60 modules/conf: Bypass update call on init for not-existent items. 2019-09-14 15:30:05 -07:00
Jason Volk
1011e2b9a3 modules/conf: Add conf_updated(event_idx) overload handling errors on event::fetch. 2019-09-14 15:30:05 -07:00
Jason Volk
653fc148d3 ircd:Ⓜ️:fetch: Only check signature for v1 events. 2019-09-14 14:45:19 -07:00
Jason Volk
12d969cdfd ircd:Ⓜ️:fetch: Fix error in signature checker. 2019-09-14 14:18:51 -07:00
Jason Volk
deeb731d42 modules/client/search: Update the handler with skeleton structure. 2019-09-14 13:51:24 -07:00
Jason Volk
2238bf1df3 ircd:Ⓜ️:room::bootstrap: Fix make_join eval options. 2019-09-13 18:41:06 -07:00
Jason Volk
a2ffebeb06 ircd:Ⓜ️:rooms::summary: Use server name as fetch target. 2019-09-13 18:41:06 -07:00
Jason Volk
f8e3030819 modules/client/directory/list: Use local rooms::summary::set() overload. 2019-09-13 18:04:53 -07:00
Jason Volk
9eae6be223 ircd:Ⓜ️:rooms: Add summary iteration based on alias hosts. 2019-09-13 17:48:35 -07:00
Jason Volk
e4a95c9928 ird:Ⓜ️:rooms: Remove summary iteration based on room_id.host(). 2019-09-13 17:45:04 -07:00
Jason Volk
4753e7aada ircd:Ⓜ️:rooms: Only test join_rule if room is not summarized in !public. 2019-09-13 17:26:28 -07:00
Jason Volk
4b949e7b01 modules/m_vm_fetch: Fix state fetch condition. 2019-09-13 16:32:26 -07:00
Jason Volk
97881ac976 ircd:Ⓜ️:vm::eval: Fix generation and scope duration of event_id in array eval. 2019-09-13 15:39:06 -07:00
Jason Volk
0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk
bfc493ce64 ircd:Ⓜ️:vm::fetch: Only synchronize state for the parent eval. 2019-09-13 14:17:11 -07:00
Jason Volk
54c29274f2 ircd:Ⓜ️:room::server_acl: Propagate exceptions through check(). 2019-09-13 14:10:27 -07:00
Jason Volk
c5d9181d23 modules/console: Display number of pdus completed in vm cmd. 2019-09-13 14:06:08 -07:00
Jason Volk
7867bb6a4f modules/m_room_create: Optimize check. 2019-09-13 13:40:24 -07:00
Jason Volk
1e62b68286 ircd:Ⓜ️:vm: Move conform hook to pdu branch. 2019-09-13 13:38:05 -07:00
Jason Volk
4e0db779f7 modules/federation/send: Tweak pdu eval opts. 2019-09-13 13:32:20 -07:00
Jason Volk
e3d0eb34fe ircd:Ⓜ️:vm::fetch: Propagate vm::opts to any recursive eval. 2019-09-13 13:28:23 -07:00
Jason Volk
e71e93fe5f modules/console: Improve client cmd output format. 2019-09-13 12:44:59 -07:00
Jason Volk
2aa218c366 ircd::net::dns::cache: Fix callback loop assumptions.
ircd::net::dns::resolver: Fix the timeout worker iteration approach.
2019-09-12 20:11:48 -07:00
Jason Volk
5fa545f879 modules/m_keys: Minor cleanup. 2019-09-12 20:11:48 -07:00
Jason Volk
1bba6f12a6 modules/console: Fix conditions for done/pipe flag in output. 2019-09-12 20:11:48 -07:00
Jason Volk
5c895ab65f modules/console: Improve vm cmd output. 2019-09-12 20:11:48 -07:00
Jason Volk
a60750ab86 modules/console: Add ios latency diagnostic. 2019-09-12 12:37:49 -07:00
Jason Volk
d3039669f5 ircd::net::dns::cache: Add equality operations for waiter. 2019-09-12 11:57:42 -07:00
Jason Volk
3157aa5405 ircd::net::dns::cache:: Deinline waiter ctor. 2019-09-12 11:57:42 -07:00
Jason Volk
9c68d01d86 ircd:Ⓜ️:room: Remove cruft. 2019-09-12 11:57:42 -07:00
Jason Volk
5c89a2b030 modules/console: Format help cmd list into columns. 2019-09-12 09:57:06 -07:00
Jason Volk
80f8ae9547 ircd::net::dns: Add assertions; expect callback; fix error. 2019-09-11 20:11:09 -07:00
Jason Volk
ba3d82abe7 ircd::server: Use interface function to query canceled. 2019-09-11 18:06:34 -07:00
Jason Volk
c7168d3016 ircd::net::dns::resolver: Increase worker stack sizes. 2019-09-11 15:36:46 -07:00
Jason Volk
2527965c91 ircd:Ⓜ️:vm: Consolidate duplicate eval condition branches. 2019-09-11 13:12:36 -07:00
Jason Volk
83c58cf42e ircd::net::dns: Deduplicate requests at resolve() entry. 2019-09-11 12:17:27 -07:00
Jason Volk
47204888d6 ircd::net::dns: End catch block before invoking callbacks. 2019-09-11 11:50:36 -07:00
Jason Volk
fe4c7bb12e modules/console: Output peer flags in listing. 2019-09-11 11:40:24 -07:00
Jason Volk
f36a743471 ircd:Ⓜ️:vm: Add branch expectations for execute path. 2019-09-11 11:33:53 -07:00
Jason Volk
eee2c9481f modules/console: Add local members counts to room top. 2019-09-11 10:55:19 -07:00
Jason Volk
0241f2b9a1 ircd:Ⓜ️:room::members: Add host argument to interface stack for more efficient queries. 2019-09-11 10:53:48 -07:00
Jason Volk
090fac34bc modules/console: Combine vm/eval cmds; improve output. 2019-09-11 09:49:12 -07:00
Jason Volk
fcb70510ab ircd:Ⓜ️:init::backfill: Increase default concurrent room conf. 2019-09-11 09:16:54 -07:00
Jason Volk
7ca872006e modules/console: Use better status/flags in table output. 2019-09-11 09:16:54 -07:00
Jason Volk
08b3b6cddc ircd:Ⓜ️:fetch: Add run::level check in start(). 2019-09-10 21:39:00 -07:00
Jason Volk
6cbef6b000 modules/console: Additional columns for peer request diagnostic. 2019-09-10 21:39:00 -07:00
Jason Volk
da695998ff ircd::net::dns::cache: Unconditional broadcast after invoking waiting callbacks. 2019-09-10 21:39:00 -07:00
Jason Volk
ec4c6c46ac ircd:Ⓜ️:vm: Partial revert of a35328f38; remove mutex; use sequencing. 2019-09-10 14:45:54 -07:00
Jason Volk
ee3dcf5075 ircd:Ⓜ️:init::backfill: Additional worker terminator based on runlevel change. 2019-09-10 14:30:33 -07:00
Jason Volk
95a8623a51 ircd::net::dns::cache: Delete copy/move semantics for internal buffers. 2019-09-10 14:02:43 -07:00
Jason Volk
09369b19ff ircd:Ⓜ️:init::backfill: Fix stale comment. 2019-09-10 14:02:43 -07:00
Jason Volk
83332a724b ircd:Ⓜ️:init::backfill: Improve graceful termination propagation and handling. 2019-09-10 14:02:43 -07:00
Jason Volk
b28c5e0573 ircd::net::dns::cache: Add a mutex around the waiters list manipulations. 2019-09-10 14:02:43 -07:00
Jason Volk
b6149b429e ircd::ctx::dock: Add noexcept to interface observers.
ircd::ctx: Propagate noexcept on hot leafs;

ircd::ctx::list: Deinline size().
2019-09-10 11:06:11 -07:00
Jason Volk
1c5343be79 modules/m_room_power_levels: Ignore invalid user mxids in array. 2019-09-09 19:59:59 -07:00
Jason Volk
83376d8ed4 modules/console: Add standalone redact cmd. 2019-09-09 19:34:27 -07:00
Jason Volk
7a6c872870 modules/console: Add vg cmd. 2019-09-09 18:04:42 -07:00
Jason Volk
ebb2f21d61 ircd:Ⓜ️:vm: Add stack usage assertion at eval entry. 2019-09-09 12:53:34 -07:00
Jason Volk
db8e28f585 ircd:Ⓜ️:vm: Notify the sequence::dock under fewer conditions. 2019-09-09 12:17:20 -07:00
Jason Volk
6ecca7fcb7 modules/federation/send: Increase coarse timeout for now. 2019-09-09 12:12:42 -07:00
Jason Volk
5b088551ae modules/client/sync: Minor cleanup;
modules/client/sync: Consolidate header.
2019-09-09 12:08:07 -07:00
Jason Volk
3e694d50cf ircd:Ⓜ️:init::backfill: More checks for interruption of loops. 2019-09-09 11:34:18 -07:00
Jason Volk
0862263204 ircd:Ⓜ️:vm: Notify all for sequence::dock on unwind. 2019-09-08 19:58:58 -07:00
Jason Volk
a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk
f942c3ffc6 modules/federation/send: Allow interrupt propagation for eval. 2019-09-08 18:22:05 -07:00
Jason Volk
b3fc7bdb35 modules/m_init_backfill: Reference a static dummy instance for when_any(). 2019-09-08 18:22:05 -07:00
Jason Volk
0bc027ebab modules/net_dns_resolver: Lock tags mutex for cancel_all() on termination; add assertion. 2019-09-08 18:22:05 -07:00
Jason Volk
3e1be63a49 ircd:Ⓜ️:init::backfill: Fix non-volatile reference to result involving extern conf item. 2019-09-08 18:22:05 -07:00
Jason Volk
af1d6e20cd modules/m_room_events: Fix export attribute. 2019-09-08 15:33:56 -07:00