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

332 commits

Author SHA1 Message Date
Jason Volk
541accaf7b ircd:Ⓜ️:room::state: Fix missing history query path for has(type). 2020-04-17 23:40:56 -07:00
Jason Volk
01f2564df7 ircd:Ⓜ️:room::state: Optimize has(type). 2020-04-17 23:40:56 -07:00
Jason Volk
43cabd52d5 matrix/Makefile.am: Minor cleanup. 2020-04-17 21:19:28 -07:00
Jason Volk
10a1468676 ircd:Ⓜ️:room::origins: Fix bug causing repeated last result. 2020-04-16 18:04:35 -07:00
Jason Volk
549e4df476 ircd:Ⓜ️:join: Fix condition for bootstrap of local rooms (regression 09ba5ee455). 2020-04-16 17:13:09 -07:00
Jason Volk
09ba5ee455 ircd:Ⓜ️:join: Unify condition for bootstrap; fix bootstrap on invite. 2020-04-16 15:45:07 -07:00
Jason Volk
7e44e524d2 ircd:Ⓜ️:user::devices: Ensure some stream_id value is sent with the device list update. 2020-04-16 14:34:38 -07:00
Jason Volk
6eb1724a2b ircd:Ⓜ️:user::registar: Don't send account.options,registration for puppets. 2020-04-15 17:03:01 -07:00
Jason Volk
b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -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
6bbe8b8855 ircd:Ⓜ️:event::append: Add checkpoint enclosing event object; fix empty object. 2020-04-14 15:31:41 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
cb41660c94 ircd: Applications of loopless copy overload for single character. 2020-04-13 23:58:33 -07:00
Jason Volk
053398c74d ircd:Ⓜ️:room::power: Add defaults m.room.encryption, m.room.server_acl, m.room.tombstone at creator level. 2020-04-13 15:09:59 -07:00
Jason Volk
f511051e56 ircd:Ⓜ️:user::rooms: Add missing default inits for query tuple. 2020-04-13 11:12:21 -07:00
Jason Volk
93e878e8ba ircd:Ⓜ️:resource: Add as_token support and puppetting user_id. 2020-04-12 17:10:20 -07:00
Jason Volk
43f0f198f5 ircd:Ⓜ️:user::registar: Simplify parse for optional string in object. 2020-04-12 17:09:14 -07:00
Jason Volk
817ceee911 ircd:Ⓜ️:resource::request: Fixed buffer for remote string. 2020-04-12 17:09:14 -07:00
Jason Volk
0ff5ac43a6 ircd:Ⓜ️:resource::request: Eliminate origin w/ node_id. 2020-04-12 17:09:14 -07:00
Jason Volk
db33bea8dc ircd:Ⓜ️:resource: Cleanup; simplify resource::request construction. 2020-04-12 15:19:17 -07:00
Jason Volk
3b985043d6 ircd:Ⓜ️:request::x_matrix: Cleanup interface; simplify extra split; structured bindings. 2020-04-12 14:47:20 -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
d4418e3857 ircd:Ⓜ️:homeserver: Create the !bridge room on bootstrap for now. 2020-04-11 17:47:35 -07:00
Jason Volk
b0128a7ecd ircd:Ⓜ️:homeserver: Add missing !control room creation on bootstrap. 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
d340ed1fdd ircd:Ⓜ️:events::rebuild: Minor fix indentation. 2020-04-09 16:38:53 -07:00
Jason Volk
eeac3c1eaa ircd::server: Add more efficient peer error boolean query. 2020-04-07 13:19:16 -07:00
Jason Volk
bd702d0314 ircd:Ⓜ️:vm::execute: Fix determination for internal room on creations. 2020-04-07 12:59:47 -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
1bdc87c55e ircd:Ⓜ️:dbs: Add explicit truncations to limit specific key elements. 2020-04-07 10:52:15 -07:00
Jason Volk
dcd50f3427 ircd:Ⓜ️:user::devices: Drop updates from unknown users. 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
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
c1692de5ed ircd::json: Abstract the source json::object out of m::event for all tuples by default. 2020-04-05 16:15:23 -07:00
Jason Volk
5f5b312a3e ircd:Ⓜ️:dbs: Simplify key decompositions. 2020-04-04 20:34:43 -07:00
Jason Volk
dd9157315c ircd:Ⓜ️:visible: Minor move conditional return before present room construction. 2020-04-03 17:17:29 -07:00
Jason Volk
89be45b42f ircd:Ⓜ️:dbs: Minor cleanup comparators with structured bindings. 2020-04-03 15:26:43 -07:00
Jason Volk
8474cf761c ircd:Ⓜ️:room::head: Fix signed unsigned integer comparison. 2020-04-03 15:17:58 -07:00
Jason Volk
47deac63d3 ircd:Ⓜ️🆔 Fix v3 / v4 validation false negative on construction. 2020-04-03 11:30:37 -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
762a93fe30 ircd:Ⓜ️:vm: Allow dummy events to resolve heads. 2020-04-02 17:16:54 -07:00
Jason Volk
b31b0eb691 ircd:Ⓜ️:fed: Add convenience delegator for send. 2020-04-01 20:37:51 -07:00
Jason Volk
b2a9efc6f9 ircd:Ⓜ️:user::devices: Fix property iteration closure conditions. 2020-04-01 19:52:31 -07:00
Jason Volk
adab45fb6a ircd:Ⓜ️:user::devices: Add existential test before iteration of any properties. 2020-04-01 19:52:31 -07:00
Jason Volk
f51bcf5939 ircd:Ⓜ️:user::devices: Simplify the existential test. 2020-04-01 19:52:31 -07:00
Jason Volk
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -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
88987b0e85 ircd:Ⓜ️:user::pushrules: Use non-throwing query to the room state. 2020-04-01 16:03:25 -07:00
Jason Volk
8b160d218e ircd:Ⓜ️:device: Use non-throwing query for device_id event_idx. 2020-04-01 15:38:51 -07:00
Jason Volk
116b0dfcb7 ircd:Ⓜ️:device_list_update: Add preliminary broadcast; add update on deletion. 2020-04-01 14:11:35 -07:00
Jason Volk
27aea89183 ircd:Ⓜ️:device: Add set overload for device_list_update structure. 2020-04-01 13:44:38 -07:00
Jason Volk
9bca61313e ircd:Ⓜ️:device: Add unconditional direct putter; setter to check for duplicate value. 2020-04-01 13:31:13 -07:00
Jason Volk
135798c8ab ircd:Ⓜ️:device: Reduce/reuse codepath to set property to value. 2020-04-01 12:11:35 -07:00
Jason Volk
9ac34573e5 ircd:Ⓜ️:fed::keys::claim: Fix missing content (regression 55ffdddc6a). 2020-03-31 18:06:36 -07:00
Jason Volk
5db50b0b0c ircd:Ⓜ️:user: Use non-throwing query for is_active(). 2020-03-31 12:40:16 -07:00
Jason Volk
cde3c10a08 ircd:Ⓜ️:device: Simplify del method. 2020-03-31 11:02:20 -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
92ad6544b6 ircd:Ⓜ️ Add filter properties for matrix-org/matrix-doc#2326. 2020-03-30 14:03:53 -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
c6a4ab17c7 ircd:Ⓜ️:dbs: Select room head resolve indexer during event horizon resolve. 2020-03-28 12:17:12 -07:00
Jason Volk
7e99a86512 ircd:Ⓜ️:dbs: Increase some cache defaults. 2020-03-27 13:44:20 -07:00
Jason Volk
3a73336b2d ircd:Ⓜ️:push: Add spec-omitted highlight tweak to .m.rule.contains_user_name. 2020-03-26 17:20:06 -07:00
Jason Volk
5665ae56cf ircd:Ⓜ️:user::notifications: Add sorting for any-room queries here. 2020-03-26 17:20:06 -07:00
Jason Volk
9a49104d28 ircd:Ⓜ️:push: Add undocumented '.m.rule.reaction' server-default rule. 2020-03-26 17:20:06 -07:00
Jason Volk
2ec80d025f ircd:Ⓜ️:vm: Ensure error handling semantics throughout eval stack. 2020-03-26 10:24:35 -07:00
Jason Volk
8efeb1a76a ircd:Ⓜ️:typing: Create non-existing here before sending to user room for now. 2020-03-25 18:31:10 -07:00
Jason Volk
592eb375f6 ircd:Ⓜ️:room::head: Throw error on failure to generate any prev_events. 2020-03-25 18:27:40 -07:00
Jason Volk
1b49d001b2 ircd:Ⓜ️:typing: Log exceptions coming through the vm.eval edu handler. 2020-03-25 18:27:40 -07:00
Jason Volk
1e96e34b54 ircd:Ⓜ️:vm: Set eval event/event_id members in outer frame. 2020-03-25 18:27:40 -07:00
Jason Volk
b8239d45cd ircd:Ⓜ️:dbs: Split dbs unit per column; naming simplifications; major reorg. 2020-03-25 16:08:17 -07:00
Jason Volk
ddbabedf84 ircd:Ⓜ️:event::conforms: Add type and state_key length limitation conditions. 2020-03-25 14:41:16 -07:00
Jason Volk
629617deb9 ircd:Ⓜ️:event::conforms: Add missing origin conditions. 2020-03-25 14:41:16 -07:00
Jason Volk
35a18366b4 ircd:Ⓜ️:user::pushrules: Ensure user-set rules have priority over server-default. 2020-03-24 21:38:58 -07:00
Jason Volk
3472f551eb ircd:Ⓜ️:user::notifications: Optimize with non-querying metadata closure overload. 2020-03-24 16:41:16 -07:00
Jason Volk
8f251dc266 ircd:Ⓜ️:user::notifications: Add unmake_type() inverting tool. 2020-03-24 16:16:16 -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
36b1fa6bde ircd:Ⓜ️:room::type: Add prefix matching option. 2020-03-24 14:50:41 -07:00
Jason Volk
d1f9b11b4c ircd:Ⓜ️:user::notifications: Improve iteration with room::type. 2020-03-24 14:14:39 -07:00
Jason Volk
7a6ba49c34 ircd:Ⓜ️:room: Add type iteration interface. 2020-03-24 14:14:39 -07:00
Jason Volk
256e5ed960 ircd:Ⓜ️:dbs: Add room_type column to schema. 2020-03-24 11:49:15 -07:00
Jason Volk
8d6dfa7cd5 ircd:Ⓜ️ Add room_id(event_idx) to convenience suite. 2020-03-23 20:31:21 -07:00
Jason Volk
7861f77015 ircd:Ⓜ️:push: Add branch to handle other pattern key for content rules. 2020-03-23 19:32:01 -07:00
Jason Volk
93cd2ededc ircd:Ⓜ️:user::notifications: Add unit; develop interface; add type generation. 2020-03-23 18:28:39 -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
98562fe488 ircd:Ⓜ️:push: Add tool to determine if rule has highlight tweak set. 2020-03-22 20:04:16 -07:00
Jason Volk
c4c1c47351 ircd:Ⓜ️:push: Add tool to query if an action is notifying or not. 2020-03-22 20:00:14 -07:00
Jason Volk
2a301d6b2a ircd:Ⓜ️:push: Search formatted_body for contains_user_mxid. 2020-03-22 18:34:42 -07:00
Jason Volk
edecb8b9ae ircd:Ⓜ️:push: Use zero-copy closure to fetch displayname. 2020-03-22 18:34:42 -07:00
Jason Volk
7ca990e1ee ircd:Ⓜ️:push: Fix stale assertion. 2020-03-22 18:18:51 -07:00
Jason Volk
fc63e102fa ircd:Ⓜ️:push: Add non-spec condition kind 'state_key_user_mxid'. 2020-03-22 18:18:51 -07:00
Jason Volk
f58cfed6e9 ircd:Ⓜ️:push: Add non-spec condition kind 'contains_user_mxid'. 2020-03-22 18:18:51 -07:00
Jason Volk
aeefb8a155 ircd:Ⓜ️:push: Fixes for the event_match condition functor. 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
643efbfad7 ircd:Ⓜ️:push: Log a debug error for unknown condition kinds. 2020-03-22 18:18:50 -07:00
Jason Volk
6774ac742a ircd:Ⓜ️:push: Optimize condition order for some default spec rules. 2020-03-22 18:18:50 -07:00
Jason Volk
a7a67b0689 ircd:Ⓜ️:user::pushrules: Fix throwing query in nothrow getter. 2020-03-22 18:18:50 -07:00
Jason Volk
55396a9a76 ircd:Ⓜ️:vm: Move the internal(room) query and indicator to outer scope. 2020-03-22 14:03:28 -07:00