0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-14 14:01:08 +01:00
Commit graph

4635 commits

Author SHA1 Message Date
Jason Volk
c4d041d1ae ircd::json: Inline object::const_iterator comparison suite.
ircd::json: Split object::const_iterator from object header.

ircd::json: Split object::member related from object header.
2020-04-03 11:02:49 -07:00
Jason Volk
17628cbc44 ircd::json: Prevent aggressive unroll into double-jump jam for keys counting. 2020-04-03 08:18:51 -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
af9629324e ircd::rfc3986: Refactor uri encoder/decoder related; reorg.
ircd::rfc3986::encoder: Proper unreserved character selection.

ircd::rfc3986::decoder: Split into safe and unsafe grammars and interface.

ircd::rfc3986::decoder: Use expectation_failure template exception.
2020-03-28 23:39:13 -07:00
Jason Volk
1a2334e6a8 ircd::spirit: Import _pass for phoenix semantic action; minor reorg. 2020-03-28 19:22:38 -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
180963ca22 ircd::net: Add hostport construction from explicit rfc3986::uri. 2020-03-24 12:14:05 -07:00
Jason Volk
f092b4214b ircd::net::hostport: Add missing default port argument for constructor. 2020-03-24 11:55:17 -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
5bd8178c94 ircd::json: Add conditional constexpr assignment check during tuple iteration. 2020-03-22 18:18:50 -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
e71f925f2c ircd::http: Add and adjust some HTTP codes from Cloudfackel.
ircd::http: Add 523 Origin Is Unreachable (Cloudfackel).

ircd::http: Add 521 Connection Timed Out (Cloudfackel).
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
8c8a4c8d09 ircd::fs: Add an RLIMIT_FSIZE sampler in support section. 2020-03-20 11:09:34 -07:00
Jason Volk
a867cfa51a ircd::fs: Add gauge for rlimit_nofile in support section. 2020-03-20 10:56:55 -07:00
Jason Volk
472ce01b50 ircd::fs: Reorg support section and indicators. 2020-03-20 10:56:55 -07:00
Jason Volk
bc836d0fd8 ircd::info: Remove the fixed-rlimit sample section here. 2020-03-20 09:56:58 -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
d87616e2fb ircd::json::strung: Remove duplicate adl interface. 2020-03-19 16:25:45 -07:00
Jason Volk
537bdc5e19 ircd::json: Add tuple get()/at() non-constexpr accessor suite. 2020-03-19 16:01:32 -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
71d6bd66c1 ircd: Use util::boolean for globular suite; apply noexcept; minor simplify. 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
e6c9f757ce ircd::json: Add a members replacement tool. 2020-03-18 19:47:18 -07:00
Jason Volk
476f1d6548 ircd::json: Minor cleanup; header convention. 2020-03-18 19:35:34 -07:00
Jason Volk
13bffdcf55 ircd::db: Increase the default target file size and multiplier; regression a68b96f5e3 2020-03-18 17:13:33 -07:00
Jason Volk
66c4ebfbb4 ircd::json: Add a member replacement tool. 2020-03-18 16:28:16 -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
c3b709dbd7 ircd::run: Add a convenience barrier template tool. 2020-03-16 16:56:07 -07:00
Jason Volk
c815de3621 ircd::run: Rename level IDLE to LOAD; minor reorg. 2020-03-16 16:56:07 -07:00
Jason Volk
59ee170817 ircd::info: Add sysinfo; gather ram and swap totals on init. 2020-03-16 16:56:07 -07:00
Jason Volk
fe8a65953b ircd::fs: Move init check/info out of fs::init for integration w/ info::dump(). 2020-03-16 16:56:06 -07:00
Jason Volk
344510086b ircd: Add vectorized multi-string match tool. 2020-03-14 17:29:32 -07:00
Jason Volk
0eb66b52d4 ircd::util: Apply noexcept to several participating overloads. 2020-03-14 17:15:53 -07:00
Jason Volk
77d3bd352d ircd: Add additional vector convenience typedefs. 2020-03-14 15:21:58 -07:00
Jason Volk
7bbb91889d ircd: Fix define name and conditions. 2020-03-14 15:21:58 -07:00
Jason Volk
a68b96f5e3 ircd::db: Fix claimed descriptor default. 2020-03-14 10:31:47 -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
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
32459bd7f1 ircd: Add multi-string table index util, naive impl. 2020-03-13 11:28:27 -07:00
Jason Volk
2cefc5e248 ircd::http: Optimize head constructions; reduce branch paths. 2020-03-13 11:07:39 -07:00
Jason Volk
da92021818 ircd: Add intrinsic typedef header; update stringops unit. 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
8914af3e84 ircd::net::dns: Add complementary interface to getservbyport(3). 2020-03-12 21:09:56 -07:00
Jason Volk
164b881442 ircd::http: Add code 102 Processing (RFC 2518), 103 Early Hints (RFC 8297). 2020-03-11 18:18:53 -07:00
Jason Volk
6da0ae9c22 ircd::http: Parse response location header. 2020-03-11 16:37:02 -07:00
Jochen Friedrich
b84f3f03ae fixed lookup of boost headers 2020-03-10 13:16:42 -04:00
Jason Volk
3b2342e001 ircd:Ⓜ️:room::origins: Simplify callstack; remove unused iteration. 2020-03-09 14:41:36 -07:00
Jason Volk
a4f18fcd00 ircd::mods::ldso: Add loaded check using the dlfcn method. 2020-03-08 18:55:33 -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
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -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
6679b66806 ircd::prof: Move ctx::syscall_usage_warning into prof. 2020-03-06 15:43:24 -08:00
Jason Volk
726422f576 ircd::prof: Add a log facility for namespace. 2020-03-06 15:43:24 -08:00
Jason Volk
0e25a2e055 ircd::net::dns: Add support for netdb; interface to getservbyname(3). 2020-03-06 15:43:24 -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
14cce54b1f ircd::net: Add missing service(hostport) mutable referencer. 2020-03-05 20:10:35 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
f5d5f6de3b ircd::server: Require service suffix for peer map keying; refactor host canonization. 2020-03-05 20:06:14 -08:00
Jason Volk
65d41d0093 ircd::net::dns::resolver: Copy to preserve service string from hostport in tag. 2020-03-05 14:18:57 -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
e7eb5a62c7 ircd::server: Add peer level aggregate for cleanup_canceled(). 2020-03-04 12:00:39 -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
6ec9867843 ircd::net::acceptor: Add a default proffer callback when none set. 2020-03-03 13:54:14 -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
ac021785a2 ircd::net::hostport: Deinline amalgam constructors. 2020-02-28 10:21:49 -08:00
Jason Volk
a038116a50 ircd::run: Add convenience overload for run::changed. 2020-02-28 09:55:36 -08:00
Jason Volk
a6131d1268 ircd::ctx: Split sleep()/wait() suites into headers. 2020-02-28 09:11:06 -08:00
Jason Volk
92b7ae5c17 ircd::prof: Split cycles into header. 2020-02-27 19:09:10 -08:00
Jason Volk
8ce0c46f63 ircd::server: Minor reorg; section comments. 2020-02-27 15:39:31 -08:00
Jason Volk
bd46cf49ed ircd::spirit: Disable zealous assert for character test in spirit headers. 2020-02-27 12:44:57 -08:00
Jason Volk
c1737e167c ircd::ios: Employ the asio::executor abstraction w/ backward-compat. 2020-02-27 12:44:57 -08:00
Jason Volk
47a5136045 ircd: Additional comments / docs on main mode confs. 2020-02-27 12:44:57 -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
d579dd54aa ircd::util: Add pre-c++2a identity functor template. 2020-02-26 18:10:41 -08:00
Jason Volk
139059f381 ircd: Split panic/terminate exception related into header. 2020-02-26 14:17:43 -08:00
Jason Volk
72b772b530 ircd: Make exception.o as an asio unit for system_error interop; minor comments. 2020-02-26 11:50:10 -08:00
Jason Volk
e36537d8ca ircd::spirit: Fix upstream visibility related 737d9dd162. 2020-02-25 20:04:17 -08:00
Jason Volk
b61a566b03 ircd: Workaround missing boost::begin/boost::end related 737d9dd1626. 2020-02-25 20:04:17 -08:00
Jason Volk
8b45d8e97f ircd::ios: Remove unused fwddecl related 737d9dd1626. 2020-02-25 20:04:17 -08:00
Jason Volk
628b194151 ircd::ctx: Relax member access. 2020-02-24 16:44:15 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
a0af97ae3e ircd: Use universal reference argument for always_assert(). 2020-02-23 20:53:27 -08:00
Jason Volk
4bef7dca7b ircd: Split stdinc into additional macros header. 2020-02-21 12:22:56 -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
c3349b9d40 ircd::ctx::dock: Add convenience interface for interrupt/terminate/notify. 2020-02-19 16:16:53 -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
e886e79073 ircd::db: Inline pointer-conditional overloads for cache interface. 2020-02-19 08:50:36 -08:00
Jason Volk
43f5ebe8e3 ircd::ctx: Inline the interruptible/uninterruptible instanced interface. 2020-02-19 08:40:15 -08:00
Jason Volk
7d4cf45f01 ircd::server: Fix bug when overrun discarded in cancellation buffer. 2020-02-13 16:33:44 -08:00
Jason Volk
c63141c4dc ircd: Complete the assert workaround for clang. 2020-02-12 15:12:03 -08:00
Jason Volk
7669fd53d9 ircd::json: Move exception construction branch to unlikely seg; minor cleanup. 2020-02-12 14:34:26 -08:00
Jason Volk
72642ef556 ircd: Add PBC stub. 2020-02-11 15:47:18 -08:00
Jason Volk
3c9f0c82e7 ircd:Ⓜ️:matrix: Remove noexcept specifier for clang mangle resolution. 2020-02-11 12:19:32 -08:00
Jason Volk
0fd8019149 ircd::ctx: Use thread_local keyword for current. 2020-02-11 12:18:25 -08:00
Jason Volk
1ebe09f36b ircd::json: Resize value bitfields to alignment for movdqa. 2020-02-11 10:12:58 -08:00
Jason Volk
c4f294810c ircd::log: Remove duplicate condition for __assert_fail. 2020-02-10 18:54:59 -08:00