0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-19 23:18:54 +02:00
Commit graph

1317 commits

Author SHA1 Message Date
Jason Volk
3cbf610cd0 ircd:Ⓜ️:user::pushers: Additional derivative utils for interface. 2020-10-25 00:09:59 -07:00
Jason Volk
27fe4a9d81 ircd:Ⓜ️:app: Add restriction binpath; improve stdio to room; improve console cmd. 2020-10-24 06:26:44 -07:00
Jason Volk
5d7f56a5ce ircd:Ⓜ️:app: Application management infrastructure w/ cmd suite. 2020-10-20 23:20:41 -07:00
Jason Volk
b407769e21 ircd:Ⓜ️:fed::well_known: Add condition for result extrication w/ OK code.
ircd:Ⓜ️:fed::well_known: Add internal buffer w/ copy for m_server.
2020-10-20 20:55:30 -07:00
Jason Volk
a9a54f11de ircd:Ⓜ️:feds: Add prelink loop before request loop w/ options toggle. 2020-10-16 02:40:39 -07:00
Jason Volk
d04008a45f ircd:Ⓜ️:fed: Add non-blocking prelink to interface. 2020-10-16 02:40:39 -07:00
Jason Volk
859c488932 ircd::rfc3986: Add REMOTE_MAX / REMOTE_BUFSIZE convenience constexprs. 2020-10-16 02:40:39 -07:00
Jason Volk
c11e8e85ed ircd:Ⓜ️:fed::well_known: Refactor to single-worker pattern. 2020-10-16 01:40:40 -07:00
Jason Volk
142179e4a5 ircd:Ⓜ️:fed::well_known: Convert to future interface w/ dummy impl. 2020-10-15 04:55:38 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
888c62c156 ircd:Ⓜ️:fed::well_known: Simplify interface; add opts struct. 2020-10-14 22:04:04 -07:00
Jason Volk
62fdaaa389 ircd:Ⓜ️:events::refs: Add unbounded column scan w/ console cmd. 2020-10-12 18:07:39 -07:00
Jason Volk
d4f6e3e8ea ircd:Ⓜ️:event::refs: Simplify closure typename. 2020-10-11 11:42:48 -07:00
Jason Volk
e6a7904040 ircd:Ⓜ️:events: Refactor for_each interface; split into raw suite. 2020-10-07 15:12:12 -07:00
Jason Volk
e362a509d8 ircd:Ⓜ️:fetch: Add result check opts to request interface opts; feature authoritative_redactions. 2020-10-03 04:27:52 -07:00
Jason Volk
eb2facbfd2 ircd:Ⓜ️:dbs: Add compression conf items for all columns. 2020-10-01 19:15:15 -07:00
Jason Volk
8e3bf1f458 ircd:Ⓜ️ Remove cruft. [ci skip] 2020-09-30 16:35:34 -07:00
Jason Volk
bd641e76ad ircd:Ⓜ️:event: Compare decoded hash to allow both rfc4648 and rfc1421 compat. 2020-09-28 05:56:03 -07:00
Jason Volk
a73b538349 ircd:Ⓜ️:room: Add contains() tool. 2020-09-27 14:57:07 -07:00
Jason Volk
8bda8cbdc6 ircd:Ⓜ️:event::prev: Add constant value for spec max. 2020-09-17 10:49:41 -07:00
Jason Volk
9165975953 ircd:Ⓜ️:dbs: Supersede index query tool with parallel impl. 2020-09-17 10:49:41 -07:00
Jason Volk
099b6d8301 ircd:Ⓜ️ Add parallel event::idx query to interface. 2020-09-17 10:49:41 -07:00
Jason Volk
0675a621f1 ircd:Ⓜ️:homeserver: Add specific option to toggle initial backfill jobs after startup. 2020-09-16 23:00:58 -07:00
Jason Volk
fb1f36ce72 ircd:Ⓜ️:vm: Remove call operators; inline trivial getter. 2020-09-13 16:10:40 -07:00
Jason Volk
bf8dd39144 ircd:Ⓜ️:vm: Move vector eval related to execute unit. 2020-09-13 16:10:40 -07:00
Jason Volk
1a7447837e ircd:Ⓜ️:vm: Remove legacy options; fix appendix masking. 2020-09-12 07:03:21 -07:00
Jason Volk
12bed2d87b ircd:Ⓜ️:room: Add json::tuple for m.room.message schema; property names. 2020-09-10 23:50:47 -07:00
Jason Volk
5c7007ebef ircd:Ⓜ️:vm::eval: Add coarse limit to options for array evals. 2020-09-07 17:01:45 -07:00
Jason Volk
cc123836ef ircd:Ⓜ️:events: Start a content scanning interface. 2020-09-07 17:01:44 -07:00
Jason Volk
b0a53ffd33 ircd:Ⓜ️:vm: Add option to skip any sorting/reordering for array eval. 2020-08-31 17:18:48 -07:00
Jason Volk
a0f219a91b ircd:Ⓜ️:homeserver: Split bootstrap related into unit. 2020-08-28 05:18:57 -07:00
Jason Volk
8e7c1c3eb2 ircd:Ⓜ️ Rename breadcrumb_rooms to breadcrumbs; related. 2020-08-23 02:32:54 -07:00
Jason Volk
5f96613c27 ircd: Tweak exception stack linkages for optimal code generation. 2020-08-05 19:52:48 -07:00
Jason Volk
1482972e87 ircd:Ⓜ️:error: Use inline linkage for main constructor template. 2020-08-05 18:48:32 -07:00
Jason Volk
9eed4dfa5f ircd:Ⓜ️:event::fetch: Use hidden section for non-plt/internal linkage. 2020-08-02 09:43:39 -07:00
Jason Volk
1877972828 ircd:Ⓜ️:groups: Start namespace, central lib; preliminary client resource module. 2020-07-30 10:24:10 -07:00
Jason Volk
91d57ea989 ircd:Ⓜ️:vm: Add content requirement and redaction hint opts for non-conforming mask. 2020-07-06 17:31:04 -07:00
Jason Volk
bc1e54aa12 ircd:Ⓜ️:event: Minor rename; additional diagnostic arguments. 2020-06-19 22:53:01 -07:00
Jason Volk
46e0625daf ircd:Ⓜ️:event::conforms: Add hashes related codes and conditions. 2020-06-18 22:51:33 -07:00
Jason Volk
acad1fcaba ircd:Ⓜ️:event: Split out hash reimage generator. 2020-06-18 22:41:32 -07:00
Jason Volk
aa655cb745 ircd:Ⓜ️:event: Minor interface reorg. 2020-06-18 22:10:24 -07:00
Jason Volk
4ef7754ed5 ircd:Ⓜ️:room::members: Eliminate unnecessary query to the room state. 2020-06-14 22:05:15 -07:00
Jason Volk
6f508f92a4 ircd:Ⓜ️:acquire: Add a head reset option for now.
ircd:Ⓜ️:init::backfill: Use head reset option for room acquire.
2020-06-12 20:53:16 -07:00
Jason Volk
b70877eee2 ircd:Ⓜ️:event::prev: Add optimal queries for any one reference existing. 2020-06-10 22:36:28 -07:00
Jason Volk
496567b837 ircd:Ⓜ️:event: Add parallel exists() to interface. 2020-06-09 04:38:07 -07:00
Jason Volk
640e81ef4d ircd:Ⓜ️:fed: Split well_known into namespace into unit. 2020-06-08 16:13:00 -07:00
Jason Volk
7af4e85631 ircd:Ⓜ️ Throw better errcode for unverifiable sig; use 403 for failed verify. 2020-06-07 02:24:49 -07:00
Jason Volk
da43ac3d95 ircd:Ⓜ️:sync: Add flag to trigger re-request forcing focused full_state. 2020-06-03 23:26:08 -07:00
Jason Volk
9e96863922 ircd:Ⓜ️:sync: Add flags component to since token. 2020-06-03 22:36:58 -07:00
Jason Volk
d662bdaa3e ircd:Ⓜ️:sync: Add document comments for sync::data members. 2020-06-03 22:36:58 -07:00
Jason Volk
fcd488b409 ircd:Ⓜ️:sync: Centralize all since token related into library suite. 2020-06-03 22:36:58 -07:00
Jason Volk
b8c4bf85e5 ircd:Ⓜ️:sync: Split up sync.h header into directory; move sync::data definition. 2020-06-03 19:39:55 -07:00
Jason Volk
d9cf74ebd6 modules/client/publicrooms: Convey search term to any federation query. 2020-05-29 01:39:25 -07:00
Jason Volk
761ff66464 ircd:Ⓜ️:fed: Generate POST /publicRooms content by default; add console search param. 2020-05-29 01:34:19 -07:00
Jason Volk
aead45402d ircd:Ⓜ️:sync: Introduce item prefetch feature for polylog mode. 2020-05-28 21:31:28 -07:00
Jason Volk
ef022a215f ircd:Ⓜ️🪝 Use nothrow disable_interruption; propagate by default. 2020-05-24 21:06:17 -07:00
Jason Volk
215a0148b4 ircd:Ⓜ️🪝:site: Add interrupt masking feature. 2020-05-18 19:02:49 -07:00
Jason Volk
b91c768c57 ircd:Ⓜ️:vm::eval: Remove sequence_shared state. 2020-05-12 22:27:53 -07:00
Jason Volk
987a3eeb6b ircd:Ⓜ️:vm::eval: Add pointer to parent eval; related utils.
ircd:Ⓜ️:vm::eval: Add pointer to child evals; maintain stack.
2020-05-12 22:27:53 -07:00
Jason Volk
13003986bc ircd:Ⓜ️:vm::eval: Minor static interface reorg. 2020-05-12 22:27:53 -07:00
Jason Volk
3bd3173db0 ircd:Ⓜ️:vm: Replace eval hook::site member with entered hook ptr; add id to console cmd. 2020-05-12 22:27:53 -07:00
Jason Volk
adde714df4 ircd:Ⓜ️🪝 Add callsite overloads which maintain pointer to current hfn. 2020-05-12 19:21:58 -07:00
Jason Volk
38a12ec0f7 ircd:Ⓜ️🪝 Add integer for easier ident; improve log msgs; console cmd. 2020-05-12 19:21:58 -07:00
Jason Volk
a247334744 ircd:Ⓜ️🪝 Minor interface reorg. 2020-05-12 19:21:58 -07:00
Jason Volk
23b7dc62d6 ircd:Ⓜ️🪝 Add documenting comments on namespace, some primary structures. 2020-05-12 19:21:58 -07:00
Jason Volk
46cea198a2 ircd:Ⓜ️:vm: Remove explicit assignments in phase enumeration. 2020-05-12 19:21:58 -07:00
Jason Volk
b764e75692 ircd:Ⓜ️:vm: Additional fetch phases; split fetch hook sites. 2020-05-11 21:14:25 -07:00
Jason Volk
0fd5570c14 ircd:Ⓜ️:vm: Add enumeration for evaluation phases. 2020-05-11 21:14:25 -07:00
Jason Volk
a1708a687e ircd:Ⓜ️:vm: Rename eval.phase to eval.phase_hook. 2020-05-11 19:25:07 -07:00
Jason Volk
b0776fd0f8 ircd:Ⓜ️:homeserver: Preliminary bootstrap from event vector. 2020-05-10 03:52:28 -07:00
Jason Volk
554478da49 ircd:Ⓜ️:homeserver: Consolidate/simplify ctor/dtor for now. 2020-05-10 03:02:20 -07:00
Jason Volk
0bd1d03bbc ircd:Ⓜ️:homeserver: Unload any loaded modules for ctor error. 2020-05-09 19:56:20 -07:00
Jason Volk
befe43f45a ircd:Ⓜ️:acquire: Add options to toggle operations. 2020-05-09 19:01:25 -07:00
Jason Volk
ff96eb803d ircd:Ⓜ️:user: Move is_active() to adl'ed active(). 2020-05-02 23:57:53 -07:00
Jason Volk
4e9664ebce ircd:Ⓜ️:room::auth: Allow an incorrect fifth event; warning remains. 2020-05-01 10:10:17 -07:00
Jason Volk
84347857c6 ircd:Ⓜ️:room::power: Use conf items to seed all default values. 2020-05-01 10:10:17 -07:00
Jason Volk
6bc0d48a38 ircd:Ⓜ️:pretty: Move part of console event cmd into lib util. 2020-05-01 10:10:16 -07:00
Jason Volk
78ea123004 ircd:Ⓜ️:room::power: Consistent integer level and string level conversions. 2020-04-30 18:52:43 -07:00
Jason Volk
cfb9362744 ircd:Ⓜ️:user: Add is_oper() to interface; minor cleanup. 2020-04-30 01:06:01 -07:00
Jason Volk
c4149eba47 ircd:Ⓜ️:sync: Inline apropos() suite. 2020-04-28 03:07:13 -07:00
Jason Volk
9c61677b0b ircd:Ⓜ️:room::auth: Split out event::idx fetch tools; minor reorg. 2020-04-27 22:37:36 -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
e87a26c142 ircd:Ⓜ️:fed: Use single codepath for request target; use canonize rewrite. 2020-04-26 16:19:37 -07:00
Jason Volk
267e978247 ircd:Ⓜ️:fed: Add indirection interface. 2020-04-25 21:13:57 -07:00
Jason Volk
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -07:00
Jason Volk
0b2152a136 ircd:Ⓜ️ Split init::backfill into acquire interface. 2020-04-24 15:24:37 -07:00
Jason Volk
ba06958d69 ircd:Ⓜ️ Start a netburst interface; move cache_warm_origin; invoke from resource. 2020-04-23 05:16:48 -07:00
Jason Volk
87f873ad45 ircd:Ⓜ️:init::backfill: Split gossip routine into separate interface. 2020-04-23 04:19:53 -07:00
Jason Volk
2e2c85902e ircd:Ⓜ️ Add additional membership multi-test convenience tool. 2020-04-23 01:42:41 -07:00
Jason Volk
1882f7b507 ircd:Ⓜ️:node: Start preliminary mitsein interface. 2020-04-23 01:21:55 -07:00
Jason Volk
0c1a54864c ircd:Ⓜ️:dbs::init: Copy string to save original dbpath. 2020-04-22 02:09:32 -07:00
Jason Volk
17d73eeae7 ircd:Ⓜ️:node: Cleanup/reorg node interface related. 2020-04-21 19:22:07 -07:00
Jason Volk
ebeb60a84a ircd:Ⓜ️:keys: Consistent boolean return values from interface. 2020-04-21 19:22:06 -07:00
Jason Volk
538a2dab5c ircd:Ⓜ️:room::bootstrap: Adjust interface allowing for multiple remote server arguments. 2020-04-21 19:22:06 -07:00
Jason Volk
b979a20457 ircd:Ⓜ️:room::bootstrap: Move util to bootstrap::required(). 2020-04-21 00:12:04 -07:00
Jason Volk
69f4c2b224 ircd:Ⓜ️:resource: Obtain version information for request if possible. 2020-04-19 20:20:43 -07:00
Jason Volk
8fda624be2 ircd:Ⓜ️:room::power: Add grant/revoke suite. 2020-04-19 06:13:23 -07:00
Jason Volk
2bf38286ba ircd::fs: Callsite changes for fs::base reorg. 2020-04-19 06:13:23 -07:00
Jason Volk
2c7af26bdc ircd:Ⓜ️:room::power: Add collection iteration. 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
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
3fc4bac384 Merge branch 'master' of https://github.com/yangm97/construct 2020-04-15 16:25:59 -07:00
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