0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-11 02:59:13 +02:00
Commit graph

1165 commits

Author SHA1 Message Date
Jason Volk
b51f49c925 ircd:Ⓜ️:user::register: Fix comment. [ci skip] 2020-04-15 12:11:46 -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
93e878e8ba ircd:Ⓜ️:resource: Add as_token support and puppetting user_id. 2020-04-12 17:10:20 -07:00
Jason Volk
3afae05a3e ircd:Ⓜ️:resource: Cleanup the json::tuple-based request template. 2020-04-12 17:09:56 -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
8a0a31801b ircd:Ⓜ️:bridge: Fix type assumption for config elements. 2020-04-11 18:08:46 -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
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
562eb85b78 ircd:Ⓜ️:event: Fix typo. 2020-04-05 14:32:21 -07:00
Jason Volk
f941c52dee ircd:Ⓜ️ Fix type of membership_positive/membership_negative convenience vectors. 2020-04-03 17:17:35 -07:00
Jason Volk
89ed678ab0 ircd:Ⓜ️:event: Replace with nodiscard attribute. (related f026110b15) 2020-04-03 12:45:42 -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
b31b0eb691 ircd:Ⓜ️:fed: Add convenience delegator for send. 2020-04-01 20:37:51 -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
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
f026110b15 ircd:Ⓜ️ Warning for unused result of non-throwing overloads. 2020-04-01 16:20:11 -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
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
92ad6544b6 ircd:Ⓜ️ Add filter properties for matrix-org/matrix-doc#2326. 2020-03-30 14:03:53 -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
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
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
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
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
503db45a64 ircd:Ⓜ️:push: Fix constness. 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
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
329982f3f1 ircd:Ⓜ️:push: Add iteration for all rules of all users. 2020-03-22 14:03:28 -07:00
Jason Volk
ed54618ca4 ircd:Ⓜ️:user: Start a user::notifications interface. 2020-03-21 20:49:54 -07:00
Jason Volk
8445cbf83a ircd:Ⓜ️:push: Add log facility for this namespace. 2020-03-21 20:49:54 -07:00
Jason Volk
27556f2d9c ircd:Ⓜ️:vm::eval: Add member which caches the m::internal(room) result. 2020-03-21 20:49:54 -07:00
Jason Volk
43dc547200 ircd:Ⓜ️:event: Increase the state_key constant. 2020-03-21 20:49:54 -07:00
Jason Volk
63be2183f9 ircd:Ⓜ️:user: Add pushers interface. 2020-03-21 11:35:40 -07:00
Jason Volk
245195488c ircd:Ⓜ️:push: Add event type prefix string for pusher. 2020-03-21 11:35:40 -07:00
Jason Volk
435721c971 ircd:Ⓜ️:push: Add match interface; condition table; exception propagation. 2020-03-20 22:25:14 -07:00
Jason Volk
f0c08d2a54 ircd::push: Minor reorg; invert interface. 2020-03-20 22:25:14 -07:00
Jason Volk
d1ff1aec74 ircd:Ⓜ️:push: Implement r0.6.0-13.13.1.5.3 condition kind subroutine logics. 2020-03-20 22:25:14 -07:00
Jason Volk
8ca580362f ircd:Ⓜ️:room::bootstrap: Fix loss of room version information during bootstrap. 2020-03-20 12:04:19 -07:00
Jason Volk
fa4160e9a6 ircd::db::dbs: Eliminate strict room::id from event_state tuple; simplify comparator. 2020-03-19 21:54:07 -07:00
Jason Volk
f8b99ad26e ircd:Ⓜ️:user: Remove pre-pushrules highlight counter. 2020-03-19 16:01:32 -07:00
Jason Volk
bab3f959ac ircd:Ⓜ️:push: Move default rules string under rules class; minor reorg. 2020-03-19 16:01:32 -07:00
Jason Volk
a3037b7cd4 ircd:Ⓜ️:user: Add interface definitions for push rule events to user room. 2020-03-18 14:34:29 -07:00
Jason Volk
2aec995edd ircd:Ⓜ️:push: Move path tuple; add type string suite. 2020-03-18 14:34:29 -07:00
Jason Volk
5391ba7b76 ircd:Ⓜ️:push: Add spec-default ruleset object. 2020-03-18 12:27:14 -07:00
Jason Volk
6c807f7e96 ircd:Ⓜ️:push: Add push ruleset, rule, condition, and pushers structures. 2020-03-18 10:42:48 -07:00
Jason Volk
0bb52f57a3 ircd:Ⓜ️:user: Add unit and preliminary interface stubs for pushrules. 2020-03-18 10:42:48 -07:00
Jason Volk
0b8b3ee988 ircd:Ⓜ️:vm: Add an opts.unique bypass option for condition. 2020-03-17 11:48:22 -07:00
Jason Volk
ec5fd98f59 ircd:Ⓜ️:homeserver: Use central imports map; reorder constructions. 2020-03-16 18:17:52 -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
3b2342e001 ircd:Ⓜ️:room::origins: Simplify callstack; remove unused iteration. 2020-03-09 14:41:36 -07:00
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk
63aa71ce58 ircd:Ⓜ️:fed: Implement federation 3.1 well-known for server name resolution. 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
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
a46bf7dcbe ircd::net: Eliminate the legacy canon_port/canon_service defaults.
ircd:Ⓜ️ Move canon_port/canon_service into matrix lib.
2020-03-05 14:18:55 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -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
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
8d9a9eccfb ircd:Ⓜ️:rooms: Add prefetch context on iteration. 2020-02-28 20:19:42 -08:00
Jason Volk
d402eddb98 ircd::run: Place out-of-line default ctor/dtor definitions.
ircd::http::error: Place out-of-line dtor definition.

ircd:Ⓜ️:error: Place out-of-line dtor definition.

ircd::exception: Place out-of-line dtor definition.

ircd:Ⓜ️:vm: Place out-of-line ctor definitions for copts/opts.
2020-02-28 12:36:45 -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
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
a4f48eaab8 ircd:Ⓜ️:vm::eval: Conduct parallel fetch of new keys for vector eval. 2020-02-20 18:43:47 -08:00
Jason Volk
20bc23abde ircd:Ⓜ️:dbs: Replace pairs with tuples for reference lifetime issue w/ clang. 2020-02-20 16:25:51 -08:00
Jason Volk
a13d9282ac ircd:Ⓜ️:vm::eval: Add vector_view construction and eval to interface/stack. 2020-02-20 14:49:33 -08:00
Jason Volk
24325c8fc1 ircd:Ⓜ️ Add overload for nothrow integral m::get w/ defaulting. 2020-02-19 13:27:13 -08:00
Jason Volk
0c1970af0f ircd:Ⓜ️:feds: Add default inline construction to reassert noexcept. 2020-02-19 13:26:05 -08:00
Jason Volk
3c9f0c82e7 ircd:Ⓜ️:matrix: Remove noexcept specifier for clang mangle resolution. 2020-02-11 12:19:32 -08:00
Jason Volk
5993c6cdf4 ircd:Ⓜ️:event::fetch: Minor cleanup. 2020-01-11 23:31:53 -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
68a56374e3 ircd:Ⓜ️:fed: Allow empty response to not throw in convenience cast. 2020-01-05 17:30:58 -08:00
Jason Volk
189b5cfbcd ircd:Ⓜ️:keys: Add back tls_fingerprints due to reintroduction by matrix.org. 2019-12-21 14:34:28 -08:00
Jason Volk
ba5352e560 ircd:Ⓜ️:room: Add annotate() convenience reaction. 2019-12-11 14:09:22 -08:00
Jason Volk
6fa63f8bf0 ircd:Ⓜ️:room: Add react() convenience sender. 2019-12-11 14:07:24 -08:00
Jason Volk
bf2df9c223 ircd:Ⓜ️ Add a tuple structure for m_relates_to. 2019-12-11 11:01:11 -08:00
Jason Volk
8dfbe808d6 ircd:Ⓜ️:room::head: Add room version hint to opts to reduce query. 2019-12-10 12:06:54 -08:00
Jason Volk
5c74bfbd7f ircd:Ⓜ️:event: Add event::my(event::idx) query util; branch for event:🆔:host() use. 2019-12-10 12:06:54 -08:00