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

3784 commits

Author SHA1 Message Date
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