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

2895 commits

Author SHA1 Message Date
Jason Volk e0864a1911 ircd::json::stack: Add checkpoint/chase device documentation. 2019-03-30 14:32:51 -07:00
Jason Volk f7fa89b061 ircd::json::stack: Alter checkpoint rollback() behavior to proactive. 2019-03-30 14:13:34 -07:00
Jason Volk a9a6adf28d ircd::json::stack: Add checkpoint ctor option for initial commitment state. 2019-03-30 14:09:47 -07:00
Jason Volk b6732b5fdf ircd::fs::aio: Optimize integer sizes of various stats. 2019-03-30 13:02:03 -07:00
Jason Volk f6f73e87cb ircd::json: Add strict check overload to type() suite. 2019-03-28 21:01:56 -07:00
Jason Volk 653c0bc3cc ircd::json: Cleanup members typedefs / construction stack. 2019-03-28 20:15:22 -07:00
Jason Volk 289aca0c4a ircd::ios: Move descriptor stats into structure. 2019-03-28 17:16:39 -07:00
Jason Volk 79065f805b ircd::ios: Add hook for is_continuation; minor reorg. 2019-03-28 16:56:55 -07:00
Jason Volk 840b3c4b0c ircd::json::stack: Add method to check for pending eptr. 2019-03-28 15:49:48 -07:00
Jason Volk d47518a102 ircd:Ⓜ️:self: Add the servername string to this section; update README. 2019-03-28 13:08:40 -07:00
Jason Volk cc99bd9adf mods::mapi: Change the magic number. 2019-03-28 00:48:10 -07:00
Jason Volk 0043cb2af7 modules/s_fetch: Add branch for auth chain fetch/eval on missing room state for event. 2019-03-27 14:09:40 -07:00
Jason Volk 1c5b7d2d71 ircd:Ⓜ️:room::auth: Add central interface for chain fetch/eval. 2019-03-27 13:44:33 -07:00
Jason Volk 3225c1fdfe ircd::ios: Add interface for user allocation closure at descriptor site. 2019-03-27 13:04:12 -07:00
Jason Volk 02f413c834 ircd::ios: Track current handler like ctx::current. 2019-03-27 13:04:12 -07:00
Jason Volk 55241c5309 ircd::ctx: Expand the reference cycle counting interface. 2019-03-27 13:04:12 -07:00
Jason Volk 20d0ea70c2 ircd::ios: Add tsc counters to hook state. 2019-03-27 13:04:12 -07:00
Jason Volk 28063823dd ircd::ctx: Inline rdtsc(). 2019-03-27 13:04:12 -07:00
Jason Volk d37129ac03 ircd::ios: Add allocation hooks. 2019-03-27 13:04:12 -07:00
Jason Volk d5397c599f ircd::ios: Add asio handler hook framework. 2019-03-27 13:04:12 -07:00
Jason Volk 6fbd29b1ed ircd::ctx: Add context::WAIT_JOIN feature flag. 2019-03-27 13:04:12 -07:00
Jason Volk 08479976ad ircd::allocator: Add simple callback allocator. 2019-03-27 13:04:12 -07:00
Jason Volk 9dac813278 ircd::allocator: Ensure consistent conversion here. 2019-03-27 13:04:12 -07:00
Jason Volk 939812f6bd modules/vm: Fix #ifdef RB_DEBUG coverage; minor adjust type. 2019-03-25 20:18:33 -07:00
Jason Volk 84d4ca485b ircd:Ⓜ️:room::state: Add preliminary purge_replaced() w/ console cmd. 2019-03-25 18:39:30 -07:00
Jason Volk 1ffa00adbf ircd:Ⓜ️:room: Add central interface linkage for room::purge(). 2019-03-25 18:04:16 -07:00
Jason Volk a54c5f44e4 ircd::net: Add conf item to toggle ipv6 for ircd::net::. Auto-detect viability on net::init. 2019-03-25 15:18:06 -07:00
Jason Volk c0cbfd2d23 ircd::net: Add util to detect usable ipv6 interface. 2019-03-25 15:18:06 -07:00
Jason Volk 672e9dd712 ircd::server: Add conf item to toggle ipv6 use. 2019-03-25 15:18:06 -07:00
Jason Volk 28569176f2 ircd::net: Use a structured argument to addrs closure; add more data. 2019-03-25 15:18:06 -07:00
Jason Volk a43c0e5798 ircd::server: Split AAAA and A handlers for chaining. 2019-03-25 14:37:01 -07:00
Jason Volk 8c27cb847a ircd::net: Add conditional interface to getifaddrs() w/ console cmd. 2019-03-25 13:56:08 -07:00
Jason Volk 4d3fd753e1 ircd::net: Add interface for listener bound socket information; improve net listen console cmd. 2019-03-25 12:55:59 -07:00
Jason Volk 46346f504e ircd::rfc3986: Reorg grammar stack; add variable valid() tool. 2019-03-25 12:25:25 -07:00
Jason Volk d149c540f4 ircd::server: Split link opening routine from resolver handler. 2019-03-24 20:50:16 -07:00
Jason Volk a9cff4f073 ircd::rfc3986: Add valid_literal() to interface. 2019-03-24 20:50:16 -07:00
Jason Volk 7f5f07509a ircd::net::dns: Add utils to properly check for empty records in JSON. 2019-03-24 20:13:23 -07:00
Jason Volk 8e15e5d09b ircd::net: Add single-string amalgam construction to ipport. 2019-03-24 19:33:03 -07:00
Jason Volk fe81c30806 ircd::net: Refactor dual stack integration. 2019-03-24 19:33:03 -07:00
Jason Volk c3c99ecea8 ircd::net: Interface support for sockopt IPPROTO_IPV6 IP_V6ONLY. 2019-03-24 16:20:05 -07:00
Jason Volk 138b7bff65 ircd::net: Interface wrap boost::asio::ip::make_address(). 2019-03-24 15:59:46 -07:00
Jason Volk e640e6ac62 ircd::server: Perform DNS resolution sequence and handler logic externally here. 2019-03-24 15:28:07 -07:00
Jason Volk 71b86df0fe ircd::net::dns: Reorg various utilities from dns::cache:: to dns::. 2019-03-24 14:50:26 -07:00
Jason Volk 55af53e2a0 ircd::net::dns::cache: Add addl utils random_choice and is_error(). 2019-03-24 14:47:07 -07:00
Jason Volk dbb965ce48 ircd::server: Add loghead() and display request method/paths in some debug log msgs. 2019-03-24 14:10:11 -07:00
Jason Volk a1ac9cb356 ircd::net::dns: Expose more cache utils to public interface. 2019-03-24 14:06:47 -07:00
Jason Volk 59b0b633cb ircd::mods: Support code and data demangled export sections. 2019-03-24 14:06:47 -07:00
Jason Volk 94ed73a60e ircd::http: Remove gratuitous error constructor; fix 505 response content. 2019-03-23 03:13:11 -07:00
Jason Volk 3c09d62934 modules/s_dns: Various cleanup / reorg of handlers. 2019-03-23 01:04:41 -07:00
Jason Volk 77648137e9 Revert "ircd: Remove use of all unwind::exceptional and unwind::nominal devices."
This reverts commit 4f243826c2.
2019-03-22 21:06:28 -07:00
Jason Volk 712409218e ircd::ctx: Manipulate uncaught exception count on context switch. 2019-03-22 21:06:28 -07:00
Jason Volk 68e3655a1d ircd::net::dns: Refactor system for the !dns room. 2019-03-21 18:24:36 -07:00
Jason Volk e133cd5a25 ircd::net: Add specific allow(acceptor) rather than using start(acceptor). 2019-03-21 17:07:35 -07:00
Jason Volk a9b098a280 ircd: Start a 128bit conditional typedef section in stdinc.h. 2019-03-21 16:46:04 -07:00
Jason Volk 008dfcb43f ircd:Ⓜ️:vm: Add counters and synchronization for safe module reloading. 2019-03-21 16:46:04 -07:00
Jason Volk 07b746d633 ircd::ctx: Add scope_notify device. 2019-03-21 16:46:04 -07:00
Jason Volk 82378db816 modules/vm: Share transactions between all evals on the same stack; adjust sequence strategy. 2019-03-21 16:46:04 -07:00
Jason Volk a7f6549c27 ircd:Ⓜ️:vm: Add tools for evals on a specific stack/ctx. 2019-03-21 14:11:42 -07:00
Jason Volk 507c256eb4 ircd:Ⓜ️:vm: Add loghead convenience. 2019-03-21 12:49:02 -07:00
Jason Volk 5b951b55c5 modules/vm: Add sequencing points.
ircd:Ⓜ️:vm: Reorganize sequence counters.
2019-03-19 16:31:05 -07:00
Jason Volk 620e352a4f ircd::db::txn: Add a state enum to the txn. 2019-03-19 13:39:15 -07:00
Jason Volk d03d2c1944 ircd::net::hostport: Add non-canonicalizing constructor. 2019-03-19 10:11:29 -07:00
Jason Volk dbc2ca3b64 ircd::rfc1035: Add json::stack serializations for record types. 2019-03-19 10:11:29 -07:00
Jason Volk 29ba0d214b ircd::net: Reinterface string(ippaddr) related. 2019-03-18 12:39:21 -07:00
Jason Volk 1ce9ec3f8e ircd::fs::error: Remove fs::error from the ircd::exception hierarchy. 2019-03-16 18:12:38 -07:00
Jason Volk 5364674801 ircd::exception: Experimental elimination of copy and move semantics.
ircd::exception: Virtualize base; minor cleanup.
2019-03-16 17:22:44 -07:00
Jason Volk 2eb9fff55f ircd::net: Reorg acceptor internal control panel; provide external start()/stop(). 2019-03-16 16:28:28 -07:00
Jason Volk f2f2afb8c4 ircd::net: Reorg listener/acceptor external interface. 2019-03-16 16:28:28 -07:00
Jason Volk cff17eaa40 ircd: Add exception tools which elide copying. 2019-03-16 16:28:28 -07:00
Jason Volk 89b258c5a7 ircd::fs: Improve fs::prefetch(). 2019-03-15 21:36:26 -07:00
Jason Volk 4efb3a26fd ircd::fs: Reorg general RWF_ indicators out to fs:: from aio::. 2019-03-15 18:45:32 -07:00
Jason Volk aae00eab7f ircd:Ⓜ️:app: Add configuration access interface for appservice. 2019-03-15 16:19:05 -07:00
Jason Volk ede2439a55 ircd: Add support for configurable soft-assertions. 2019-03-15 16:19:05 -07:00
Jason Volk ddb08a37a4 ircd:Ⓜ️:user: Add framework around m.ignored_user_list; w/ console cmd. 2019-03-14 17:27:45 -07:00
Jason Volk 380032d4a9 ircd:Ⓜ️:room: Augment m::invite() convenience interface for custom content. 2019-03-14 15:32:06 -07:00
Jason Volk 2070a72850 ircd:Ⓜ️:rooms: Add interface to remove entries from the !public room list. 2019-03-14 15:12:40 -07:00
Jason Volk a995a14a3b ircd:Ⓜ️:user: Split user interfaces into headers. 2019-03-14 13:02:27 -07:00
Jason Volk 87144cef77 ircd::fs: Support various RWF flags for operations; also preadv2(). 2019-03-14 12:45:00 -07:00
Jason Volk 56092db18c ircd::fs: Move the reqprio() normalizer from fs::aio:: to fs::. 2019-03-13 19:39:20 -07:00
Jason Volk 1117947a22 ircd::fs::aio: Add support test for RWF_NOWAIT and RWF_APPEND. 2019-03-13 19:38:47 -07:00
Jason Volk 213c46d9f8 ircd::net: Add interface to get cipher list from acceptor w/ console cmd. 2019-03-13 17:32:39 -07:00
Jason Volk 8daddfb84a ircd::net::listener: Add cast for internal acceptor access. 2019-03-13 17:32:16 -07:00
Jason Volk 1f35e9c57e modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends. 2019-03-13 17:08:35 -07:00
Jason Volk 9f67a146f4 modules/m_event: Unconditionally supply an age when no event_idx. 2019-03-13 17:08:35 -07:00
Jason Volk 0158e88949 ircd::info: Get kernel name and version out of utsname if available. 2019-03-13 16:06:41 -07:00
Jason Volk d6e97f6aab ircd::net: Send server name identification when opening client connections. 2019-03-13 13:44:41 -07:00
Jason Volk 59f63841ba ircd::openssl: Interface to set server name indication for client hello. 2019-03-13 13:32:56 -07:00
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