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

3534 commits

Author SHA1 Message Date
Jason Volk
cb979d96e7 ircd::net::acceptor: Add callback stack framework for dynamic server name identification. 2019-03-13 13:11:53 -07:00
Jason Volk
641a5546ae ircd::net: Fix acceptor's inheritance of net::listener::error. 2019-03-13 13:11:53 -07:00
Jason Volk
71560eafd1 ircd::openssl: Include TLS1 header; start an SNI suite; minor reorg. 2019-03-13 13:11:53 -07:00
Jason Volk
d8ee9e9a10 ircd::net: Use more grammars in net::hostport construction. 2019-03-13 13:11:53 -07:00
Jason Volk
50e7d81d36 ircd::rfc3986: Add interface to extract host and port from remote via grammar. 2019-03-13 13:11:53 -07:00
Jason Volk
f955f1d494 ircd::rfc3986: Add length checks to validations; consolidate validation paths from rfc1035. 2019-03-13 13:11:51 -07:00
Jason Volk
dc377ea695 ircd::rfc1035: Add size constexprs. 2019-03-13 13:10:25 -07:00
Jason Volk
74c7d1d5c1 ircd::rfc1035: Add interface for validations. 2019-03-13 10:14:44 -07:00
Jason Volk
721039f359 ircd::net::acceptor: Add conf::item to blacklist ciphers out of the supported cipher list. 2019-03-12 18:41:05 -07:00
Jason Volk
e4fd5111fa ircd::openssl: Add overload to get cipher list from SSL_CTX. 2019-03-12 18:41:05 -07:00
Jason Volk
969a15c341 ircd::net::acceptor: Add conf::item to specify a default whitelist of ciphers in openssl format. 2019-03-12 18:41:05 -07:00
Jason Volk
72fe68bb29 ircd::stats: Start a preliminary stats system. 2019-03-12 18:41:05 -07:00
Jason Volk
38f7d61020 ircd::net::socket: Add non-blocking check() query with interface. 2019-03-12 18:41:05 -07:00
Jason Volk
4f243826c2 ircd: Remove use of all unwind::exceptional and unwind::nominal devices. 2019-03-12 18:41:05 -07:00
Jason Volk
ae4dc7db9b ircd::net::dns: Add a named logger specifically for net::dns; addl debug msgs. 2019-03-11 18:16:04 -07:00
Jason Volk
c4c95916c2 ircd:Ⓜ️ Add central event append() to compose elaborated json::stack::object for clients. 2019-03-11 16:02:36 -07:00
Jason Volk
f61059a400 ircd:Ⓜ️:room::state: Add prev() and next() reference traversal interface. 2019-03-11 15:06:54 -07:00
Jason Volk
3444bed245 ircd:Ⓜ️:dbs: Add a reverse reference for previous state in event refs index. 2019-03-11 14:46:11 -07:00
Jason Volk
06c548699a ircd:Ⓜ️:dbs: Add a previous state reference to refs meta index. 2019-03-11 13:40:25 -07:00
Jason Volk
d474eed948 ircd::conf: Add more elaborate double-fault handling. 2019-03-11 12:53:22 -07:00
Jason Volk
1fa5ebc415 ircd::conf: Add allocated string get() overloads. 2019-03-11 11:27:57 -07:00
Jason Volk
8353d0a7e9 ircd::conf: Add a size virtual member function to get value size as string. 2019-03-11 11:27:57 -07:00
Jason Volk
b4fabaf14f ircd::openssl: Add interface to tweak ecdh / ciphers / curves. 2019-03-10 16:55:39 -07:00
Jason Volk
a55c549e70 ircd:Ⓜ️:dbs: Add reference index type for m.room.redaction. 2019-03-10 14:52:11 -07:00
Jason Volk
7027264ea2 ircd::util::params: Relax class access. 2019-03-10 14:25:10 -07:00
Jason Volk
d58b67bca8 ircd::net: Split headers for UDP and TCP for listener related. 2019-03-10 14:07:56 -07:00
Jason Volk
c6975804e7 ircd::net: Move acceptors class from being nested in listeners. 2019-03-10 14:04:03 -07:00
Jason Volk
1381524f95 ircd:Ⓜ️:device: Add has(user, device_id, property) overload to interface suite. 2019-03-09 18:48:32 -08:00
Jason Volk
077f8bb546 ircd::logger: Add conf items to control the log mask. 2019-03-09 17:10:49 -08:00
Jason Volk
d763a15edb ircd::tokens: Add token_exists() set membership test. 2019-03-09 17:03:52 -08:00
Jason Volk
312e4958f7 ircd::tokens: Add bool closure for limited for_each iteration. 2019-03-09 17:03:13 -08:00
Jason Volk
6cc17887de ircd::log: Add interface for file mask / unmask; fix constness. 2019-03-09 16:43:27 -08:00
Jason Volk
47446dcd5c ircd:Ⓜ️:vm: Translate vm::fault codes to better specific http::code's for m::error's. 2019-03-09 14:00:00 -08:00
Jason Volk
197168059b ircd:Ⓜ️:vm: Create a conform hook; move checks into conform hookfns. 2019-03-09 14:00:00 -08:00
Jason Volk
e501c6434a modules/vm: Rename commit hook to issue hook; add opts toggle. 2019-03-09 12:13:21 -08:00
Jason Volk
79eed85397 modules/vm: Add a post-write pre-notify hook site. 2019-03-09 12:08:05 -08:00
Jason Volk
e2d2c7f376 ircd:Ⓜ️:v1::user: Default to dynamic content buffering; adjust callsite buffer sizes. 2019-03-08 17:11:42 -08:00
Jason Volk
395a6ceabd ircd::server: Add request option to control whether content overrun is an error. 2019-03-08 16:52:48 -08:00
Jason Volk
98a3535e06 ircd::net: Elaborate ipaddr interface; move apropos string utils from ipport.h 2019-03-08 11:46:50 -08:00
Jason Volk
3a673dadf4 ircd:Ⓜ️:room::state: Extend the for_each stack with optimal type,state_key closure. 2019-03-08 11:21:56 -08:00
Jason Volk
57f28374c9 ircd::http: Add 428 Precondition Required. 2019-03-07 16:01:19 -08:00
Jason Volk
3b34785853 Revert "ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization."
This reverts commit 506531790b.
2019-03-06 17:26:25 -08:00
Jason Volk
6af4782922 ircd::http: Elaborate the query string interface with indexing. 2019-03-06 17:21:38 -08:00
Jason Volk
1e55e56b05 ircd::json::tuple: Tweak the assignment suite to possibly fix issues with nested tuples. 2019-03-06 15:02:43 -08:00
Jason Volk
b534939016 ircd::json::tuple: Improve property semantics. 2019-03-06 15:02:43 -08:00
Jason Volk
9f4890a517 ircd:Ⓜ️ Unify room create interface and paths around createroom tuple. 2019-03-06 15:02:43 -08:00
Jason Volk
85c041c27b ircd:Ⓜ️:room Update version query based on spec room version grammar (string type). 2019-03-06 15:02:43 -08:00
Jason Volk
c2966275c6 ircd:Ⓜ️:room::head: Improve interface/linkage for head utils / prev_events generation. 2019-03-06 00:22:18 -08:00
Jason Volk
1a1939e2c7 ircd:Ⓜ️:room::auth: Improve interface/linkage for auth_events generation. 2019-03-06 00:22:18 -08:00
Jason Volk
506531790b ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization. 2019-03-06 00:12:21 -08:00
Jason Volk
094ae6e997 ircd:Ⓜ️:user::profile: Add interface for remote profile fetch(). 2019-03-06 00:12:21 -08:00
Jason Volk
9c62b0f61a ircd::net::hostport: Add complementary boolean conversion. 2019-03-05 20:49:23 -08:00
Jason Volk
1f82b884ff ircd:Ⓜ️ Implement 14.18 Room Tagging. 2019-03-05 18:42:04 -08:00
Jason Volk
d4b8a8089e ircd:Ⓜ️:createroom: Generate default power_levels w/ option for content_override. 2019-03-05 14:24:08 -08:00
Jason Volk
bbaf38937b ircd:Ⓜ️:room::power: Add util to generate spec-default power_levels content. 2019-03-05 14:24:08 -08:00
Jason Volk
a29dfb93f5 ircd::openssl: Add interface to examine cipher lists. 2019-03-05 10:50:12 -08:00
Jason Volk
63d591b2b8 ircd::util::fpe: Add interface to set the except flag. 2019-03-04 13:20:39 -08:00
Jason Volk
19e09b0ad5 ircd:Ⓜ️:login: Support identifier typed login. 2019-03-04 13:16:14 -08:00
Jason Volk
c0ab6080d8 ircd:Ⓜ️:event: Add membership to event tuple for essential key consideration. 2019-03-03 17:16:20 -08:00
Jason Volk
295794ec42 ircd:Ⓜ️:user: Improve user filter interface and module linkage. 2019-03-02 16:49:44 -08:00
Jason Volk
a21e03df27 ircd: Add restart support w/ console cmd. 2019-03-02 14:20:52 -08:00
Jason Volk
cd5903960d configure: Add and include std <filesystem> header. 2019-03-02 11:40:12 -08:00
Jason Volk
3a08d93c15 ircd:Ⓜ️:event::fetch: Cache the event_idx as a class member. 2019-03-01 15:59:49 -08:00
Jason Volk
c8bce8e251 ircd:Ⓜ️:rooms: Add is_public() test if listed in !public. 2019-03-01 14:51:30 -08:00
Jason Volk
58a98806e9 ircd:Ⓜ️:user::room_account_data: Expose type prefixing in interface. 2019-03-01 12:58:37 -08:00
Jason Volk
56d0292305 ircd: Reduce the size of the lex_cast ringbuffer; deinline the sizes. 2019-03-01 11:47:13 -08:00
Jason Volk
70a47c98b1 ircd: Reduce several strict-overflow & related warnings. 2019-03-01 11:35:07 -08:00
Jason Volk
8fee82b0d6 modules/client/sync: Readd the transaction_id on longpoll; fix ghost events. 2019-02-28 18:28:45 -08:00
Jason Volk
87ace85840 ircd::ctx::promise: Add missing valid() checks on operations. 2019-02-28 17:12:04 -08:00
Jason Volk
9c20d49e33 ircd::resource::response::chunked: Eliminate move semantic. 2019-02-28 17:12:04 -08:00
Jason Volk
fbbbb38e75 ircd::net: Fix alignment of address in net::ipport. 2019-02-28 17:12:04 -08:00
Jason Volk
66249c620f ircd:Ⓜ️:room::state: Add central interface linkage for state utils. 2019-02-28 17:12:04 -08:00
Jason Volk
c969eb2792 ircd:Ⓜ️:event: Typedef an idx_range pair. 2019-02-28 17:12:03 -08:00
Jason Volk
c0009a0745 ircd:Ⓜ️ Add central linkage for is_complete(room). 2019-02-28 17:12:03 -08:00
Jason Volk
43b8ea9de7 ircd:Ⓜ️:room::origins: Improve origins::random import definition. 2019-02-28 17:12:03 -08:00
Jason Volk
af6ac4a2ac ircd: Replace various unwind count patterns with scope_count. 2019-02-28 17:12:03 -08:00
Jason Volk
8054317106 ircd::util: Make scope_count a template. 2019-02-28 17:12:03 -08:00
Jason Volk
8cb5b78807 ircd::resource: Ignore empty chunk from user by default unless explicit. 2019-02-28 17:12:03 -08:00
Jason Volk
7b1ed2e715 ircd::allocator: Add and fix attribute related. 2019-02-28 11:34:45 -08:00
Jason Volk
54224e9679 ircd::ctx: Add allocator to ctx::queue template. 2019-02-28 11:34:45 -08:00
Jason Volk
5e8fce2a40 ircd::allocator: Add twolevel allocator; minor fixes. 2019-02-28 11:34:45 -08:00
Jason Volk
6ab36254c2 ircd::allocator: Add nothrow overload to state / fixed. 2019-02-28 10:49:28 -08:00
Jason Volk
43797c2b74 ircd::ctx::queue: Switch to std::deque backing. 2019-02-28 10:12:30 -08:00
Jason Volk
d41be90197 ircd::buffer: Add parse_buffer variant. 2019-02-28 10:10:43 -08:00
Jason Volk
9e063bbf83 ircd::resource: Add a pending request counter; block destruction of method when pending. 2019-02-27 17:49:40 -08:00
Jason Volk
85cae708db ircd::json: Add candidate vector merge impl. 2019-02-27 15:52:39 -08:00
Jason Volk
33d89755e8 ircd::json: Reorg utility headers; start a tool header. 2019-02-27 12:10:10 -08:00
Jason Volk
9ac64fcff7 ircd::json: Add vector utility methods to interface. 2019-02-27 11:23:52 -08:00
Jason Volk
cc586a352e modules/client/sync: Implement iteration base of linear sync. 2019-02-26 18:04:37 -08:00
Jason Volk
78a1281b1c ircd:Ⓜ️:sync: Make data.out a pointer to the json::stack. 2019-02-26 15:50:58 -08:00
Jason Volk
1ad1c38a53 ircd::resource::response::chunked: Pass buffer_size through the constructor. 2019-02-26 15:37:30 -08:00
Jason Volk
3e1157f043 ircd:Ⓜ️🆔 Add test for whether hostname is an IP literal. 2019-02-26 13:55:01 -08:00
Jason Volk
581fcca2f7 ircd::rfc3986: Expose parsing grammar externally. 2019-02-26 13:52:10 -08:00
Jason Volk
715c4749cd ircd: Start a stdinc grammar header as a front to spirit.h. 2019-02-26 12:57:43 -08:00
Jason Volk
7b226d5477 ircd::json: Use the ircd::spirit expectation_failure. 2019-02-26 10:58:05 -08:00
Jason Volk
f3d4e27b24 ircd:Ⓜ️:room: Start a room statistics interface. 2019-02-25 18:20:48 -08:00
Jason Volk
6f7fc0a837 ircd::db: Add interface to query size of key in column. 2019-02-25 18:17:01 -08:00
Jason Volk
11766b3e04 ircd:Ⓜ️:v1: Remove non-opts overloads; workaround g++-7 compiler bug. 2019-02-25 18:00:39 -08:00
Jason Volk
e7d9350b80 ircd::allocator: Disambiguate allocator constructions. 2019-02-25 18:00:39 -08:00
Jason Volk
b1cff29219 ircd:Ⓜ️:device: Remove internal access_token_id from the enumeration. 2019-02-25 18:00:39 -08:00