0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-09 19:41:22 +01:00
Commit graph

3976 commits

Author SHA1 Message Date
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
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
Jason Volk
e3a6e55808 ircd:Ⓜ️:device: Add unrestricted set() overload. 2019-02-25 18:00:39 -08:00
Jason Volk
af5b0e69a1 modules/client/sync: Employ json::stack::checkpoint using boolean return values in all handlers. 2019-02-24 14:49:29 -08:00
Jason Volk
940975b448 ircd::json::stack: Add checkpoint device. 2019-02-24 14:49:29 -08:00
Jason Volk
ec50b0f76e ircd:Ⓜ️:sync: Make instance-level conf::items for all sync::items. 2019-02-22 17:11:53 -08:00
Jason Volk
603cc98e30 modules/client/sync: Adjust the object creation for handlers; put the room head idx in data. 2019-02-22 16:23:02 -08:00
Jason Volk
c9f8e44c78 ircd:Ⓜ️:sync: Add stats.info conf item; rename debug_stats item. 2019-02-22 15:40:53 -08:00
Jason Volk
a4e709c6d4 ircd:Ⓜ️:sync: Add conf item for polylog item stats to debuglog. 2019-02-22 15:40:52 -08:00
Jason Volk
6ccc171bce ircd:Ⓜ️:v1::user::keys::claim: Add additional convenience construction. 2019-02-21 17:02:41 -08:00
Jason Volk
dd7e31806d ircd:Ⓜ️:v1::user::keys::query: Add another convenient request composer. 2019-02-21 14:57:45 -08:00
Jason Volk
0cb852e732 ircd::json::array: Deinline various. 2019-02-21 14:00:00 -08:00
Jason Volk
08c5de6e2b ircd:Ⓜ️:device: Remove duplicate property; fix closure argument. 2019-02-21 13:42:43 -08:00
Jason Volk
207a12934c ircd:Ⓜ️:user: Reorg user::account_data interface. 2019-02-21 12:11:42 -08:00
Jason Volk
7f37400dcb ircd:Ⓜ️:user: Reorg user::profile interface. 2019-02-21 11:53:25 -08:00
Jason Volk
a3923e8374 ircd:Ⓜ️:device: Typedef device::id; add func to get device from access_token. 2019-02-20 19:08:38 -08:00
Jason Volk
98a8ca7bf2 ircd:Ⓜ️:device: Associate access_token to device. 2019-02-20 15:46:48 -08:00
Jason Volk
d5e8bbbf4a modules: Stub m.device_list_update edu handler; json schema. 2019-02-20 13:36:29 -08:00
Jason Volk
0efd723edb ircd:Ⓜ️:device: Develop interface; use individual state events for properties. 2019-02-20 13:36:29 -08:00
Jason Volk
7c09123a3c ircd:Ⓜ️:room::state: Add a type prefix-domain iteration to state interface. 2019-02-20 13:10:56 -08:00
Jason Volk
a441c77b6b ircd::json: Safer unquote for json::string constructions; specify constructions. 2019-02-20 13:10:56 -08:00
Jason Volk
2b2725f7c1 ircd::json::tuple: Minor cleanup. 2019-02-20 13:10:56 -08:00
Jason Volk
99058105b3 ircd:Ⓜ️:event: Minor move utils to event.h index header. 2019-02-20 13:10:56 -08:00
Jason Volk
b3baebd395 ircd:Ⓜ️:device: Add a proper device interface (sans device::set()). 2019-02-19 17:42:05 -08:00
Jason Volk
9d0542a93a ircd::resource: Add permanent redirect device. 2019-02-19 13:25:32 -08:00
Jason Volk
42a41eeb0d ircd::http: Fix/Add 30x related codes. 2019-02-19 11:34:48 -08:00
Jason Volk
d960a31143 modules/client/register: Set device data on registration w/ login. 2019-02-18 16:50:53 -08:00
Jason Volk
ddf76fe502 ircd:Ⓜ️:register: Use json::string types here; simplify. 2019-02-18 16:44:28 -08:00
Jason Volk
b9822a8c6c ircd::openssl: Return version strings for header and linked library. 2019-02-18 15:12:01 -08:00
Jason Volk
7d449e6e56 ircd:Ⓜ️:login: Use json::string rather than string_view in tuple types; simplify. 2019-02-18 13:42:25 -08:00
Jason Volk
0644db459c ircd:Ⓜ️:event: Add various size constants replacing magic numbers. 2019-02-18 13:42:25 -08:00
Jason Volk
bc0e12e31b ircd:Ⓜ️ Add m.direct_to_device edu schema / header. 2019-02-18 12:23:58 -08:00
Jason Volk
f0ce1cdcae ircd: Split up resource.h. 2019-02-18 11:04:02 -08:00
Jason Volk
9b8f08a6e5 Update README. 2019-02-16 15:27:51 -08:00
Jason Volk
f275cf8c83 ircd:Ⓜ️:event::auth::chain: No closing over full event; overload void closure. 2019-02-16 15:25:36 -08:00
Jason Volk
547c6ca8e5 ircd:Ⓜ️:v1: Add query_auth request. 2019-02-16 15:25:36 -08:00
Jason Volk
551168c643 ircd: Various quietudes. 2019-02-16 15:25:36 -08:00
Jason Volk
9df879a8f8 ircd: Fix additional friend injections. 2019-02-16 13:25:18 -08:00
Jason Volk
d8536ca9a9 ircd: Move fpe into util. 2019-02-16 13:17:44 -08:00
Jason Volk
b623f0ef7d ircd:📅 Suppress warning. 2019-02-16 11:49:59 -08:00
Jason Volk
4f721f48e5 Eliminate friend-injection. 2019-02-15 18:48:59 -08:00
Jason Volk
440cada550 ircd::conf: Use noexcept per recommendation. 2019-02-15 17:12:58 -08:00
Jason Volk
2660b30061 ircd:Ⓜ️:event: Add auth::chain utility. 2019-02-14 16:48:45 -08:00
Jason Volk
194160a735 ircd:Ⓜ️:event::refs: Reorientations for consolidated refs. 2019-02-14 14:02:34 -08:00
Jason Volk
17e1bb96bf ircd:Ⓜ️:dbs: Consolidate event_refs column. Drop prev_events column. 2019-02-14 13:11:37 -08:00
Jason Volk
f48274fc58 ircd:Ⓜ️:event::auth: Preliminary v1 auth rules. 2019-02-13 18:44:26 -08:00
Jason Volk
df64c6e573 ircd:Ⓜ️:room::power: Improve requirements for different constructions. 2019-02-13 16:01:18 -08:00
Jason Volk
11264d2806 ircd:Ⓜ️:room: Add convenience wrapper for event::idx state::get() to interface. 2019-02-13 16:01:18 -08:00
Jason Volk
1a6d173a0b ircd:Ⓜ️:room::state: Change return value from event::id to event::idx for simple get(). 2019-02-13 16:01:18 -08:00
Jason Volk
674373be90 ircd:Ⓜ️:event::auth: Restructure / rename interfaces; move is_power_event() to module. 2019-02-12 17:50:44 -08:00
Jason Volk
aaf80932fe ircd:Ⓜ️:room::auth: Simplify closure requirements. 2019-02-12 17:47:35 -08:00
Jason Volk
74fdda36e2 ircd:Ⓜ️:event::conforms: Add checks for m.room.member state_key. 2019-02-12 17:19:13 -08:00
Jason Volk
7117d4a17c ircd:Ⓜ️:event::conforms: Add check for m.room.aliases sender host vs. state_key. 2019-02-12 15:34:40 -08:00
Jason Volk
903a117bf7 ircd:Ⓜ️:event::conforms: Add check for room_id host matching sender host for create event. 2019-02-12 15:22:53 -08:00
Jason Volk
1bd9ce0d1e ircd:Ⓜ️:event::conforms: Add checks for duplicate / self / missing auth refs. 2019-02-12 15:07:50 -08:00
Jason Volk
20eb440408 ircd:Ⓜ️:event: Improve the event::cache checking behavior. 2019-02-12 14:57:08 -08:00
Jason Volk
2f6384b068 ircd:Ⓜ️:room: Add room::auth interface w/ console cmd. 2019-02-12 12:04:02 -08:00
Jason Volk
8a81a6d24e ircd:Ⓜ️:event::auth: Add comments; remove cruft. 2019-02-12 12:04:01 -08:00
Jason Volk
c204ece49a ircd:Ⓜ️:event: Add std::string overloads to event get() suite. 2019-02-12 10:03:20 -08:00
Jason Volk
a1c8845e1e ircd:Ⓜ️🧾 Normalize module definition names / layout. 2019-02-11 15:57:01 -08:00
Jason Volk
fe25959658 ircd::mods: Checkpoint experimental invocation stack; add sym_ptr::get() ref. 2019-02-11 13:59:18 -08:00
Jason Volk
0a97127c01 ircd::server: Add more blerb to README. 2019-02-11 10:13:38 -08:00
Jason Volk
bc8753e54d ircd::mods: Relax wrapper conversion to impl type. 2019-02-09 18:43:05 -08:00
Jason Volk
2b4e63f6f0 ircd::mods: Rename and expose exports map; add/update console cmds. 2019-02-09 18:43:05 -08:00
Jason Volk
0bd8571612 ircd::mods: Improve path translation for symbols() suite; add comments. 2019-02-09 18:43:05 -08:00
Jason Volk
68be0a321e ircd:Ⓜ️:event: Convert modular components to demangled style. 2019-02-09 18:43:04 -08:00
Jason Volk
7b12718e66 ircd::mods: Improve target symbol name generation. 2019-02-09 18:43:04 -08:00
Jason Volk
09a4878fd1 ircd::mods::mapi: Add export section w/ macro. 2019-02-09 14:44:01 -08:00
Jason Volk
6df8fcf244 ircd::mods: Improve return type deduction. 2019-02-09 14:44:01 -08:00
Jason Volk
c5d993f7c5 ircd::mods: Demangled imports. 2019-02-09 03:08:12 -08:00
Jason Volk
3fcb701b47 ircd::mods: Consolidate codepaths to binding. 2019-02-08 23:50:00 -08:00
Jason Volk
e15045ea3f ircd::mods: Use std map for mangles. 2019-02-08 23:18:46 -08:00
Jason Volk
1b48dd7c68 ircd::mods: Improve section search in symbol tools. 2019-02-08 20:39:30 -08:00
Jason Volk
5d3ce83f52 ircd::buffer: Allow decay-like conversion to begin pointer. 2019-02-08 18:22:40 -08:00
Jason Volk
80a25cf352 ircd:Ⓜ️:event::auth: Add auth chain traversal. 2019-02-08 07:54:03 -08:00
Jason Volk
2b82dfec76 ircd:Ⓜ️:event::auth: Add iteration by type. 2019-02-08 07:53:39 -08:00
Jason Volk
1df1897e6d ircd:Ⓜ️:event::get: Add templates to return integral values. 2019-02-08 07:06:25 -08:00
Jason Volk
ef740d339b ircd:Ⓜ️:event: Add event::auth examination device. 2019-02-08 03:19:54 -08:00
Jason Volk
2a431fa26a ircd:Ⓜ️:dbs: Add event_auth column. 2019-02-08 03:19:54 -08:00
Jason Volk
cbe829368f ircd:Ⓜ️:event: Start an auth header; add is_power_event(). 2019-02-08 03:19:54 -08:00
Jason Volk
0aa977c307 ircd:Ⓜ️:event: Simplify verify stack. 2019-02-07 23:41:29 -08:00
Jason Volk
fb6be95f2c ircd:Ⓜ️:v1: Add the user::keys::claim ctor stack complex; minor cleanup. 2019-02-07 23:09:30 -08:00
Jason Volk
dcb1f2197e ircd:Ⓜ️:v1: Split user:: / user::keys headers. 2019-02-07 22:16:19 -08:00
Jason Volk
e666f72b74 ircd::mods: Toward eliminating boost::filesystem exposure to this unit. 2019-02-07 22:16:19 -08:00
Jason Volk
db552e2ec4 ircd::fs: Add interface to filesystem::relative() function. 2019-02-07 20:49:50 -08:00
Jason Volk
8206aa1ab9 ircd::fs: Add path string convenience templates. 2019-02-07 20:49:50 -08:00
Jason Volk
7b67b106b6 ircd::fs: Add convenience tls scratch buffers for name and path manip. 2019-02-07 20:49:26 -08:00
Jason Volk
9f7db84dd3 ircd::util: Add string_buffer() reclosure template. 2019-02-07 18:29:57 -08:00
Jason Volk
cc636d375f ircd::util: Improve string() suite; add flags for shrink_to_fit(). 2019-02-07 18:03:21 -08:00
Jason Volk
4c43b42f62 ircd::json::stack: Add overload for character append. 2019-02-07 08:19:28 -08:00
Jason Volk
3a8f53e46e ircd:Ⓜ️ Start a device header. 2019-02-07 08:19:27 -08:00
Jason Volk
d5f03fba59 ircd:Ⓜ️:v1: Add ctor stack complex for user::keys::query. 2019-02-07 00:40:48 -08:00
Jason Volk
b687d63169 ircd::ctx: Create and use log facility. 2019-02-07 00:17:26 -08:00
Jason Volk
ce0d974868 ircd:Ⓜ️:v1: Add principals for user::keys::query & claim; remove unstables. 2019-02-07 00:17:26 -08:00
Jason Volk
8eb68c0e2e ircd:Ⓜ️:dbs: Add missing event refs comparator: minor cleanup. 2019-02-06 21:32:26 -08:00
Jason Volk
93fb468ba2 ircd:Ⓜ️:vm: Add tools using the eval instance_list. 2019-02-06 20:54:21 -08:00
Jason Volk
70c901a894 ircd:Ⓜ️:vm: Add json::array eval ctor. 2019-02-06 20:54:04 -08:00
Jason Volk
bb68dfc1e7 ircd:Ⓜ️ Add event::hash(json::object) w/ branch from event.source. 2019-02-06 20:52:42 -08:00
Jason Volk
a36f375162 ircd::json: Max iov::max_size a constexpr. 2019-02-06 20:51:50 -08:00
Jason Volk
e497fe8506 ircd:Ⓜ️:event: Add event_id() convenience suite to reverse index(). 2019-02-06 17:18:38 -08:00
Jason Volk
ec8f0c1e1c ircd:Ⓜ️:event: Add refs interface. 2019-02-06 17:18:38 -08:00
Jason Volk
2586476a57 ircd:Ⓜ️:dbs: Fix prefix related for event_refs column. 2019-02-06 17:18:38 -08:00
Jason Volk
a63f23fc2d ircd::db: Minor reorg; move db::index defs near db::column. 2019-02-06 16:42:27 -08:00
Jason Volk
9bd86e7f69 ircd:Ⓜ️:request: Use conf items for buffer sizes and limits. 2019-02-06 02:34:52 -08:00
Jason Volk
ca4ef84c9f ircd:Ⓜ️:dbs: Add event_refs indexer; reorg event indexers related. 2019-02-05 19:05:17 -08:00
Jason Volk
843f78548b ircd:Ⓜ️:dbs: Add event_refs metadata column. 2019-02-05 19:05:17 -08:00
Jason Volk
6cb4020034 ircd:Ⓜ️:dbs: Rename head/refs options to room_head/room_refs; update vmopts and sites. 2019-02-05 19:05:17 -08:00
Jason Volk
67d57ed2b6 ircd::json: Add a specific escape transform utility to interface. 2019-02-05 15:42:39 -08:00
Jason Volk
c0d575a4ee ircd: Truncate comment. 2019-02-05 04:58:38 -08:00
Jason Volk
4eed3e5ca0 ircd:Ⓜ️🆔 Minor reorg. 2019-02-05 03:09:40 -08:00
Jason Volk
08940bddaf ircd::resource: Add conf items to toggle X-Matrix Authorization. 2019-02-05 01:58:12 -08:00
Jason Volk
f11282f583 ircd::db: Fix prefixed iterator seek to pos::BACK. 2019-02-04 19:45:27 -08:00
Jason Volk
d36a6cd2b0 ircd:Ⓜ️:room: Add index(room::id) convenience to get some integer rep for room. 2019-02-04 19:19:56 -08:00
Jason Volk
7e11176ab7 ircd:Ⓜ️:room::messages: Simplify/optimize seek() functions. 2019-02-04 19:19:56 -08:00
Jason Volk
d5f01d013d ircd::db: Add a last() iterator convenience for column / index. 2019-02-04 19:17:52 -08:00
Jason Volk
5f40d5d91a ircd::db: Add organization section to README. 2019-02-04 13:59:01 -08:00
Jason Volk
d2380ecd36 ircd::json::stack: Add raw rewind method to interface. 2019-01-26 17:01:07 -08:00
Jason Volk
c080d5523c ircd:Ⓜ️:presence: Improve get() interface based on realistic usage needs. 2019-01-26 16:59:12 -08:00
Jason Volk
0b8a2dfae4 ircd:Ⓜ️ Reorder / reorg m_event unit definitions. 2019-01-26 15:24:03 -08:00
Jason Volk
5ae0a521d6 ircd:Ⓜ️:event::fetch: Swap the fallback logic to json query after row query. 2019-01-26 14:06:03 -08:00
Jason Volk
5ce55a9dee ircd:Ⓜ️:event::fetch: Simplify interface; reference opts as class member. 2019-01-26 13:52:33 -08:00
Jason Volk
a30c808b0e ircd: Start a README.md for any directory missing one; fix conformity of existing. 2019-01-26 12:29:08 -08:00
Jason Volk
c458448104 ircd:Ⓜ️:dbs: Drop the origin column. 2019-01-25 17:37:30 -08:00
Jason Volk
3e9b830206 ircd::ctx::parallel: Block interruption when calling sender(). 2019-01-25 17:03:29 -08:00
Jason Volk
b203def78b ircd::mods: Deinline the mapi header ctor. 2019-01-25 14:53:13 -08:00
Jason Volk
246a5faba4 ircd::db: Add interface for range deletions. 2019-01-25 12:32:04 -08:00
Jason Volk
5b3bee79a6 ircd::fs: Normalize buffering for path interface; add path features. 2019-01-25 11:49:24 -08:00
Jason Volk
2886924bf0 ircd::fs: Reorg path interface related. 2019-01-25 10:39:37 -08:00
Jason Volk
5d701601ae ircd:Ⓜ️:dbs: Add indiv meta_block confs for all colums; various meta_block fixes. 2019-01-24 13:34:34 -08:00
Jason Volk
14570f73e3 ircd:Ⓜ️:dbs: Drop the auth_events column. 2019-01-24 13:05:48 -08:00
Jason Volk
695985327e ircd:Ⓜ️:dbs: Drop the redacts column. 2019-01-24 12:52:45 -08:00
Jason Volk
250f315589 ircd:Ⓜ️:dbs: Drop the membership column; minor cleanup / fixes. 2019-01-24 12:52:26 -08:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -08:00
Jason Volk
64229eb755 ircd:Ⓜ️:vm: Expose json_source dbs option to vmopts interface. 2019-01-24 11:37:26 -08:00
Jason Volk
f1a6654f21 ircd:Ⓜ️ Remove any options which toggle full json persistence. 2019-01-24 11:37:26 -08:00
Jason Volk
5ea765642e ircd:Ⓜ️:dbs: Drop the hashes column. 2019-01-24 11:12:41 -08:00
Jason Volk
c551777f7b ircd:Ⓜ️:dbs: Drop the signatures column. 2019-01-24 11:12:15 -08:00
Jason Volk
227ec4add8 ircd::db: Defriend row / cell related. 2019-01-24 10:53:07 -08:00
Jason Volk
a95b688925 ircd:Ⓜ️:dbs: Drop the prev_state column from schema. 2019-01-23 16:11:26 -08:00
Jason Volk
c2521b587b ircd::db: Consider if column dropped for boolean test. 2019-01-23 16:10:22 -08:00
Jason Volk
92154be55d ircd:Ⓜ️ Use event::keys::selection bitset in event::fetch::opts rather than event::keys. 2019-01-23 15:36:02 -08:00
Jason Volk
2b9e2c850e ircd::db: Remove the txn::append template iteration over a json::tuple. 2019-01-23 15:34:56 -08:00
Jason Volk
764585e370 ircd:Ⓜ️:dbs: Move direct column append into function; minor cleanup. 2019-01-23 14:47:47 -08:00
Jason Volk
ecd158f375 ircd::db: Create database/env.h index of all database/env/ headers. 2019-01-23 13:34:50 -08:00
Jason Volk
2547dc8367 ircd::db: Update README. 2019-01-23 13:07:47 -08:00
Jason Volk
623a59e75e ircd::db: Move database.h up from database/ dir; update README. 2019-01-23 13:03:39 -08:00
Jason Volk
79dc0955b4 ircd::ctx::parallel: Fix counter regressions. 2019-01-22 14:25:05 -08:00
Jason Volk
f95ed6851b ircd::json: Deinline / defriend various json::object related. 2019-01-22 12:04:23 -08:00
Jason Volk
39dde3b323 ircd::json: deinline / defriend various json::member related. 2019-01-22 11:43:55 -08:00
Jason Volk
0d78a07f55 ircd::json: Minor reorg / cleanup; improve some thrown errors. 2019-01-22 11:05:30 -08:00
Jason Volk
97181f9eca Revert "ircd:Ⓜ️:event::fetch: Disallow the json query by default for now."
This reverts commit de8d14da5b.
2019-01-21 16:24:09 -08:00
Jason Volk
efc4831497 ircd::json: Improve conformity of various limitation constants. 2019-01-21 14:38:34 -08:00
Jason Volk
defed2c008 ircd::ctx::parallel: Use monotonic counters only; use copy for closure argument. 2019-01-21 12:22:50 -08:00
Jason Volk
9b703f9915 ircd::util: Truncate when stream's tellp is out of range. 2019-01-19 17:01:53 -08:00
Jason Volk
de8d14da5b ircd:Ⓜ️:event::fetch: Disallow the json query by default for now. 2019-01-19 16:50:40 -08:00
Jason Volk
950f989cf0 ircd::crh: Add HMAC support. 2019-01-19 13:20:58 -08:00
Jason Volk
18091eeb46 ircd::crh: Add sha1 hashing device. 2019-01-19 12:25:55 -08:00
Jason Volk
51c5ffbb5e ircd:Ⓜ️:event::fetch: Eliminate the selected_only option; make unconditional. 2019-01-18 14:54:04 -08:00
Jason Volk
b947aee02d ircd:Ⓜ️ Fix subobject-linkage. 2019-01-18 14:54:04 -08:00
Jason Volk
52e6c28383 ircd::ctx::parallel: Simplify internal interface. 2019-01-18 14:54:04 -08:00
Jason Volk
4d05fe0353 ircd:Ⓜ️:event::fetch: Reorg / cleanup internal interface. 2019-01-18 14:33:42 -08:00
Jason Volk
84309261b2 ircd::fs::aio: Even more counters. 2019-01-18 10:14:38 -08:00
Jason Volk
aeea524ac9 ircd::net: Improve listener interface w/ instance reference in callbacks. 2019-01-18 10:14:37 -08:00
Jason Volk
d639eceba2 ircd: Move runlevel related into ircd::run:: namespace. 2019-01-18 09:08:56 -08:00
Jason Volk
8f4fe97286 ircd::ctx::parallel: Various cleanup; clarify counting mechanisms. 2019-01-17 15:51:41 -08:00
Jason Volk
42d9f6dc79 ircd:Ⓜ️:event::fetch: Simplify opts ctor; minor cleanup. 2019-01-17 15:38:00 -08:00
Jason Volk
379d5d5914 ircd::json::tuple: Use a forward here instead. 2019-01-17 14:38:18 -08:00
Jason Volk
c6be968111 ircd::json::tuple: Various keys suite cleanup / simplify. 2019-01-17 14:38:18 -08:00
Jason Volk
82690a3e0c include/ircd/Makefile: Add missing -DPIC on pic target. 2019-01-17 11:06:40 -08:00
Jason Volk
a61d9e5d96 ircd:Ⓜ️:event::fetch: Add option for tight-to-selections. 2019-01-16 18:35:58 -08:00
Jason Volk
a6a740bbf6 ircd::json::tuple: Add selection copy constructor. 2019-01-16 18:35:30 -08:00
Jason Volk
1b9e306ff0 ircd:Ⓜ️:event::fetch: Various fixes / minor reorg. 2019-01-16 18:08:31 -08:00
Jason Volk
47cf369739 ircd::json::tuple: Restrict these ctors. 2019-01-16 17:22:09 -08:00
Jason Volk
fc703660f6 ircd:Ⓜ️ Add selecting-key ctor for event from json::object. 2019-01-16 16:38:14 -08:00
Jason Volk
4dc1e2d7fc ircd::json: Add tuple ctor from json::object with keys selection. 2019-01-16 16:38:14 -08:00
Jason Volk
0cb79728f9 ircd::json::tuple: Add membership test for keys selection. 2019-01-16 16:38:14 -08:00
Jason Volk
2b12c8a9c5 ircd:Ⓜ️:dbs: Use event source if available; add write options. 2019-01-16 15:55:08 -08:00
Jason Volk
f857e25ea7 ircd:Ⓜ️:event: Add a source json::object as a member. 2019-01-16 14:35:10 -08:00
Jason Volk
918bc95d1a ircd::db: Add nothrow column construction overload. 2019-01-16 13:23:00 -08:00
Jason Volk
4ded053406 ircd::db: Add cfid() lookup suite. 2019-01-16 13:21:36 -08:00
Jason Volk
5ae495031f ircd:Ⓜ️:event::fetch: Improve fetch options related; minor cleanup. 2019-01-16 12:19:25 -08:00
Jason Volk
1e7325eb40 ircd::db: Allow default empty index for cell ctor. 2019-01-15 19:03:52 -08:00
Jason Volk
52a9ca9635 ircd:Ⓜ️:vm: Add json vm option. 2019-01-15 19:03:52 -08:00
Jason Volk
c5489cecb0 ircd:Ⓜ️:event::fetch: Add options to seek(); add event_json query branch. 2019-01-15 19:03:52 -08:00
Jason Volk
c314a9bb78 ircd:Ⓜ️:dbs: Add event_json column with conditional indexer. 2019-01-15 15:36:18 -08:00
Jason Volk
7c998e48ed ircd:Ⓜ️:dbs: Cleanup / reorg write-indexers stack. 2019-01-15 13:00:15 -08:00
Jason Volk
1ab20cf721 ircd:Ⓜ️ Reorg / split / de-friend-inject various event interfaces. 2019-01-15 12:49:53 -08:00
Jason Volk
cbf456a388 ircd: Rename and refactor ircd::assertion interface into ircd::panic. 2019-01-13 16:37:31 -08:00
Jason Volk
522656047e ircd:Ⓜ️:events: Add clarification to comment. 2019-01-13 14:02:54 -08:00
Jason Volk
4871928bfa ircd::ctx: Partial de-inline of dock methods. 2019-01-13 13:57:34 -08:00
Jason Volk
3fae228c1a ircd::json: Simplify json::object interface: eliminate path traversing overloads. 2019-01-12 16:47:48 -08:00
Jason Volk
8421dd46b6 modules/client/register: Support the inhibit_login option. 2019-01-12 12:34:34 -08:00
Jason Volk
b42ded1fc7 ircd::http: Add string views to make the raw head data available. 2019-01-12 11:56:00 -08:00
Jason Volk
f6e1311e21 ircd::json: Split path related from util header. 2019-01-12 11:51:15 -08:00
Jason Volk
f55ad72ed5 ircd::db: Maintain our own names for caches. 2019-01-11 16:21:04 -08:00
Jason Volk
1198f7bc56 ircd::json::stack: Add object::append() convenience. 2019-01-10 16:58:44 -08:00
Jason Volk
4c495e1f44 modules/client/sync: Various cleanup / simplify. 2019-01-10 16:58:37 -08:00
Jason Volk
26ee1c9b5c ircd:Ⓜ️ Minor cleanup. 2019-01-10 13:16:41 -08:00
Jason Volk
2d860b25a8 ircd:Ⓜ️:sync: Checkpoint. 2019-01-09 20:39:12 -08:00
Jason Volk
5815fc87c2 ircd:Ⓜ️:events: Simplify interface. 2019-01-09 18:08:29 -08:00
Jason Volk
6c96e0d785 ircd:Ⓜ️:events: Simplify the for_each iteration interface. 2019-01-09 17:11:00 -08:00
Jason Volk
067a2f8651 ircd::util: Use a long double nanoseconds template rep. 2019-01-09 17:05:58 -08:00
Jason Volk
443905859f ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules. 2019-01-08 17:17:41 -08:00
Jason Volk
32aa9b4833 ircd:Ⓜ️ Various cleanup. 2019-01-08 15:53:42 -08:00
Jason Volk
f9ec33916c ircd::json::stack: Add internal convenience member instance in the object and array class. 2019-01-08 15:53:41 -08:00
Jason Volk
ce999b916a ircd::json::stack: Add chase device; add top() conveniences. 2019-01-08 11:06:00 -08:00
Jason Volk
cf6fc070a7 ircd::json::stack: Keep state for member append; null member if no append. 2019-01-07 14:00:24 -08:00
Jason Volk
77295f3a3e ircd::fs: Minor comment clarification. 2019-01-05 17:18:43 -08:00
Jason Volk
005e4217ed ircd::mods: Various cleanup. 2019-01-05 17:18:08 -08:00
Jason Volk
b878f577d5 ircd:Ⓜ️:user: Add a query for user to user visibility. 2019-01-04 14:47:46 -08:00
Jason Volk
61e88e75bc modules/client/sync: Additional sync items reorganization. 2019-01-04 14:47:01 -08:00
Jason Volk
86911226ed ircd:Ⓜ️ Preliminary modular client sync system. 2019-01-03 17:21:02 -08:00
Jason Volk
1cb3db6726 ircd::util: Add scope_restore; remove scope_light because generalized. 2019-01-02 15:19:05 -08:00
Jason Volk
815252e71f ircd: Remove unused ap/cbor on this branch. 2019-01-02 12:27:17 -08:00
Jason Volk
523577c652 ircd::json: Add doc \brief for json::buffer. 2019-01-02 10:48:30 -08:00
Jason Volk
7628b8b7f7 ircd::util: Add scope_count tool. 2019-01-02 10:48:05 -08:00
Jason Volk
09424ab344 ircd::util: Add scope_light tool. 2019-01-02 10:47:56 -08:00
Jason Volk
84265c3a13 ircd::ctx::parallel: Ensure the counters are not affected by exceptions. 2019-01-01 21:15:10 -08:00
Jason Volk
7f4bb1a7db ircd::ctx::parallel: Handle case for empty pool by executing receiver immediately. 2019-01-01 21:15:10 -08:00
Jason Volk
c2103ec0d6 ircd::fs: Add sysfs access interface. 2019-01-01 21:15:10 -08:00
Jason Volk
23c1a87c4c ircd::fs: Add tools for device related. 2019-01-01 19:53:12 -08:00
Jason Volk
254e6c287d ircd::ctx: Synchronize workers before rethrowing the eptr. 2019-01-01 17:05:15 -08:00
Jason Volk
eba727a9db ircd::db: Add a counter for the env pool tasks. 2018-12-31 16:12:10 -08:00
Jason Volk
d983970907 ircd::http: Improve conditions for header generation. 2018-12-31 12:28:28 -08:00
Jason Volk
1ceded5ffa ircd: Cleanup/simplify case-insensitive comparisons. 2018-12-31 12:28:28 -08:00
Jason Volk
57079c0276 ircd::http: Add more functionality to headers class. 2018-12-31 12:28:28 -08:00
Jason Volk
27bd661e5a ircd::parse: Add additional const_buffer construction for parse::buffer. 2018-12-31 12:28:28 -08:00
Jason Volk
d7ee810bc0 ircd::parse: Fix misconstruction; fix loop condition. 2018-12-31 12:28:28 -08:00
Jason Volk
6a25df6582 ircd::http: Check for user supplied header before generating one. 2018-12-30 18:07:18 -08:00
Jason Volk
6e71c05586 ircd:Ⓜ️:error: Improve constructions; ensure json content-type. 2018-12-30 17:35:34 -08:00
Jason Volk
af37529470 ircd:Ⓜ️:vm: Add a second sequence number; split out pdu write function. 2018-12-30 17:09:57 -08:00
Jason Volk
52c3350817 ircd:Ⓜ️:vm: Add http::code to error construction stack. 2018-12-30 16:24:04 -08:00
Jason Volk
56474586a1 ircd:Ⓜ️:vm: Use the proper m::error derived-class construction. 2018-12-30 15:59:18 -08:00
Jason Volk
43a354da49 ircd::util: Add a format option for pretty_nanoseconds() et al for abbreviated units. 2018-12-30 13:38:14 -08:00
Jason Volk
663b164f39 ircd::fs: Abstract the common options into opts struct. 2018-12-29 20:02:22 -08:00
Jason Volk
3466597981 ircd::fs: Various reorg; cleanup. 2018-12-29 19:43:17 -08:00
Jason Volk
c93cd90db1 ircd::aio: Simplify stats. 2018-12-28 16:30:27 -08:00
Jason Volk
30dc2ce7ed ircd::fs: Various cleanup / renames. 2018-12-28 15:30:29 -08:00
Jason Volk
9bdb7410d2 configure: Move boost deprecation warning suppression to asio.h. 2018-12-28 14:35:10 -08:00
Jason Volk
16ebbbfa8a ircd::ctx: Move and adjust default stack size. 2018-12-28 14:07:40 -08:00
Jason Volk
a4ed2debd4 ircd::conf: Update doc related to conf item env vars and the related namespace. 2018-12-28 13:36:23 -08:00
Jason Volk
b50bb8e49b ircd::ios: Add convenience function to check if this thread is same as static. 2018-12-28 13:24:33 -08:00
Jason Volk
c97fcb3b2a ircd::ios: Add function to check if an ios available. 2018-12-28 13:05:03 -08:00
Jason Volk
4a47b39298 ircd::ctx: Create and use an options structure for ctx::pool. 2018-12-28 12:57:32 -08:00
Jason Volk
c9c280c864 ircd::ctx: Simplify queue interface; remove access to dock. 2018-12-28 12:42:08 -08:00
Jason Volk
fe0f548496 ircd::db: Update / cleanup / comment various opts related. 2018-12-28 10:55:57 -08:00
Jason Volk
364302c212 ircd::ctx: Add soft and hard limit logic for submitting to pool. 2018-12-27 17:20:42 -08:00
Jason Volk
73459e75ff ircd::ctx: Update assumptions for yielding during pool submit. 2018-12-27 16:30:04 -08:00
Jason Volk
62bf807ad2 ircd::db: Wire up more IOPriority and write_opts related. 2018-12-27 14:58:04 -08:00
Jason Volk
7f41ca2f48 ircd::fs: Add nodelay option to write_opts; relax the flush on write by default. 2018-12-27 14:58:04 -08:00
Jason Volk
0c5ebde1fc ircd::fs::aio: Add blocking point to manage io_submit's in flight; various reorg. 2018-12-27 14:58:03 -08:00
Jason Volk
69ae8308e5 ircd::fs::aio: Various improvements; fix cancel w/ queue; class member queues rather than tls. 2018-12-27 14:58:03 -08:00
Jason Volk
e58a975750 ircd::fs: Use a nice-style value for request priority; default to zero. 2018-12-27 14:58:03 -08:00
Jason Volk
2f5d175957 ircd::db: Add cached membership test to row interface. 2018-12-26 19:45:04 -08:00
Jason Volk
38920719de ircd:Ⓜ️ Add suite to check if event is cached. 2018-12-26 19:01:13 -08:00
Jason Volk
4c5891e354 ircd::ctx: Block the caller after submit when parallel saturated. 2018-12-26 17:35:49 -08:00
Jason Volk
d80a39097c ircd: Tweak vector_view construction semantics. 2018-12-26 17:19:03 -08:00
Jason Volk
b0d5e5d4c8 ircd::ctx: Improve ctx::parallel template. 2018-12-26 17:19:03 -08:00
Jason Volk
444000faf1 ircd::fs: Add a nodelay option on reads. 2018-12-26 15:42:23 -08:00
Jason Volk
3d79c94bb2 ircd::ctx: Add ctx::parallel device. 2018-12-24 18:36:56 -08:00
Jason Volk
9f70ce1b28 ircd::ctx: Add pool::min() convenience. 2018-12-24 16:20:03 -08:00
Jason Volk
c1c11b4aed ircd::db: Enrich seek(row) opts; add proper error handling and propagation. 2018-12-24 14:33:35 -08:00
Jason Volk
b035bb9824 ircd::db: No need to copy gopts in db::cell related. 2018-12-24 14:32:33 -08:00
Jason Volk
171f5ff623 ircd::fs: Use string_view for error fmt string args. 2018-12-24 13:34:59 -08:00
Jason Volk
2876398c04 ircd::db: Simplify/Consolidate error hierarchy. 2018-12-24 13:32:22 -08:00
Jason Volk
aa166d0c5d ircd::json::stack: Add noexcept for non-throwers called during stack unwinds. 2018-12-24 12:06:57 -08:00
Jason Volk
387e8b8eed ircd::ctx: Improve pool loop; improve log msg; add interruption point. 2018-12-24 12:06:05 -08:00
Jason Volk
b8fd399bf4 ircd::ctx: Remove this export down to ircd::. 2018-12-23 15:23:53 -08:00
Jason Volk
29e7fa3515 ircd::ctx: Use closure for continuation. 2018-12-22 21:03:14 -08:00
Jason Volk
37ba013413 ircd::ctx: Simplify continuation; eliminate to_asio derived type. 2018-12-22 20:11:00 -08:00
Jason Volk
c2b344b74e ircd: Allow exceptions to propagate from various interruptors. 2018-12-22 17:24:48 -08:00
Jason Volk
365cf865d0 ircd::ctx: Various improvements/reorg of continuation/to_asio. 2018-12-22 17:24:48 -08:00
Jason Volk
d5ffc6b0de ircd::ctx: Improve prof related; add full ticker of counters. 2018-12-22 15:17:18 -08:00
Jason Volk
39d4f2fb83 ircd::ctx: Expose the profile state struct in the prof:: interface. 2018-12-22 13:47:13 -08:00
Jason Volk
a590ad1a03 ircd::ctx: Another attempt at using continuation dtor as an interruption point. 2018-12-22 13:36:48 -08:00
Jason Volk
3c4591b121 ircd::fs: Fix fs::error template. 2018-12-21 15:32:12 -08:00
Jason Volk
31ffcfa859 ircd:Ⓜ️🆔 De-template grammars and assume iterator type; minor fixes. 2018-12-21 13:55:11 -08:00
Jason Volk
a5ebc28928 ircd::fs::aio: Reorganize with symbol overriding; add conf items. 2018-12-21 13:04:57 -08:00
Jason Volk
c3d95aa8de ircd::fs: Remove the thread_local convenience for make_iov(). 2018-12-21 12:57:58 -08:00
Jason Volk
2f36fec41a ircd::fs: Cleanup the duplicate support state indicators. 2018-12-21 12:09:44 -08:00
Jason Volk
f9ee616a9a ircd::ctx::prof: Use a profile instance as a totals counter. 2018-12-21 11:55:43 -08:00
Jason Volk
2c5d6bb7ba ircd::fs::aio: Preliminary io_submit queue to leverage disk controller optimizations. 2018-12-21 10:36:05 -08:00
Jason Volk
9d7a53ae49 ircd::ctx: Move resume-interruption point to this_ctx::wait() suite. 2018-12-20 13:27:21 -08:00
Jason Volk
009979a544 ircd:Ⓜ️ Increase error buffer size. 2018-12-19 15:57:23 -08:00
Jason Volk
605cce9ed1 ircd::db: Propagate the FlushOptions.allow_write_stall option; improve sort cmd. 2018-12-19 13:58:09 -08:00
Jason Volk
5a0a9989e4 ircd::log: Rename facility to level. 2018-12-19 12:52:08 -08:00
Jason Volk
b4910319e0 ircd: Add various comments / documentations. 2018-12-19 12:35:21 -08:00
Jason Volk
0017a942e2 ircd::info: Reorganize info. 2018-12-19 12:35:21 -08:00
Jason Volk
566c2ef4ec ircd::conf: Add int32 conf items. 2018-12-18 17:00:11 -08:00
Jason Volk
bd5ecceb65 ircd::info: Reorg / add some more info. 2018-12-18 16:01:45 -08:00
Jason Volk
3afce36dd4 ircd::info: Get sysconf() for maximum AIO operations. 2018-12-18 15:44:43 -08:00
Jason Volk
582628fb71 ircd::fs: Add read/write options to restart operation on EINTR. 2018-12-18 14:44:25 -08:00
Jason Volk
254d5ccb50 ircd::fs: Add 'all' write option with internal loop. 2018-12-18 14:44:25 -08:00
Jason Volk
c312f07893 ircd::buffer: Export buffers:: down to ircd::. 2018-12-18 14:44:25 -08:00
Jason Volk
541b020a19 ircd::db: Add read options for 'aio' and 'all' to file env classes. 2018-12-18 14:44:25 -08:00
Jason Volk
bb3a68a95e ircd::fs: Handle partial reads internally with 'all' option. 2018-12-18 14:44:25 -08:00
Jason Volk
77a84b18d3 ircd::fs: Add offset to make_iov() suite. 2018-12-18 14:21:09 -08:00
Jason Volk
a7b2f76c11 ircd::ctx: Add slice_usage_warning device. 2018-12-17 16:20:53 -08:00
Jason Volk
4686139f8e ircd::ctx: Rework the prof stack to make a public test interface. 2018-12-17 15:24:41 -08:00
Jason Volk
beda5abc2a ircd:Ⓜ️:dbs: Add conf items for some buffer sizes. 2018-12-17 13:18:27 -08:00
Jason Volk
ba10948e9d ircd::ctx: Move principal interruption point into continuation. 2018-12-16 18:37:51 -08:00
Jason Volk
fae947d433 ircd::db: Add a background cancel interface w/ console cmd. 2018-12-16 18:37:51 -08:00
Jason Volk
55023041b8 ircd::db: Reorg environment task pool related. 2018-12-16 18:37:51 -08:00
Jason Volk
2a23d9e6dd ircd::ctx: Add more interface access to pool/queue; various cleanup. 2018-12-16 16:27:11 -08:00
Jason Volk
72859c650b ircd::ctx: Convert various name character strings to string_view. 2018-12-16 16:27:11 -08:00
Jason Volk
a513ba9cf3 ircd::db: Deinline some env::state related. 2018-12-16 16:27:11 -08:00
Jason Volk
e22162f505 ircd::db: Add noexcept specifiers to all port interfaces. 2018-12-16 16:27:11 -08:00
Jason Volk
ad46a3e49a ircd::ctx: Relax object permissions. 2018-12-15 23:05:48 -08:00
Jason Volk
a2a66eb314 ircd::fs: Deinline various error ctor; simplify various error handling. 2018-12-15 20:50:32 -08:00
Jason Volk
3fd689931c ircd::db: Add state and conditions for AIO operations on sequential_file. 2018-12-15 20:29:54 -08:00
Jason Volk
2cc7831770 ircd::fs: Add option to bypass AIO for specific operations. 2018-12-15 18:17:59 -08:00
Jason Volk
70d4b32c3d ircd::db: Add interface for pause/continue of background work w/ console cmd. 2018-12-14 17:27:48 -08:00
Jason Volk
2eaf5c74c2 ircd::fmt: Minor simplify; cleanup. 2018-12-14 15:51:12 -08:00
Jason Volk
c4d5f03725 ircd::fs: Add compat interface for range flush()/sync(). 2018-12-13 18:04:48 -08:00
Jason Volk
5e8d5562da ircd::fs: Simplify interface. 2018-12-13 17:46:08 -08:00
Jason Volk
9d423f84d8 ircd:;fs: Rename various fsync/sync related. 2018-12-13 16:54:09 -08:00
Jason Volk
399198deac ircd::ctx: Add flags for slice and stack usage watchdog exemption. 2018-12-13 16:21:54 -08:00
Jason Volk
e2cb79e28d ircd::db: Minor cleanup; comments. 2018-12-13 13:44:37 -08:00
Jason Volk
04f3dc4d17 ircd::fs: Make fs::error inherit from std::system_error. 2018-12-12 17:32:24 -08:00
Jason Volk
62874ff498 ircd::db: Add src and dst level arguments to db::compact files interface. 2018-12-12 15:53:16 -08:00
Jason Volk
b80735c575 ircd::fs: Add sync()/syncfs(). 2018-12-12 13:16:47 -08:00
Jason Volk
41fd658b24 ircd::db: Add interface to get column and database options. 2018-12-12 10:17:47 -08:00
Jason Volk
a133235f82 ircd::db: Move database::options to db::options. 2018-12-12 10:17:47 -08:00
Jason Volk
e97742ef39 ircd::net: Add loghead() similar to client::loghead(). 2018-12-12 10:12:24 -08:00
Jason Volk
d7da57e073 ircd::db: Add log level interface w/ console cmd. 2018-12-12 10:12:23 -08:00
Jason Volk
76ac576f53 ircd::log: Improve reflection related; add reverse reflection. 2018-12-12 08:47:13 -08:00
Jason Volk
8e11620100 ircd::db: Distinguish range compact from files compact in interface. 2018-12-11 16:30:28 -08:00
Jason Volk
31798dd09a ircd: Add fwd decl for boost::asio::signal_set. 2018-12-11 14:55:10 -08:00
Jason Volk
8d6c7e3576 ircd::db: Add WAL information interface w/ console cmd. 2018-12-10 14:14:55 -08:00
Jason Volk
c3560d4890 ircd::db: Rename database::logs to database::logger. 2018-12-10 13:26:46 -08:00
Jason Volk
97b3003280 ircd: Convert various exception format string arguments to string_view. 2018-12-10 13:14:39 -08:00
Jason Volk
19f1929b1f ircd::log: Use string_view for format string arguments. 2018-12-10 13:02:17 -08:00
Jason Volk
f5b431005d deps: Upgrade RocksDB. 2018-12-10 11:29:38 -08:00
Jason Volk
8cad778565 ircd:Ⓜ️ Add README for m::room directory. 2018-12-10 11:29:32 -08:00
Jason Volk
45bf911952 ircd::conf: Add feature to toggle whether conf item is persisted in a db. 2018-12-08 16:27:32 -08:00
Jason Volk
8739ef90ce ircd::db: Minor cleanup. 2018-12-08 15:37:18 -08:00
Jason Volk
1ba22a21ba ircd: Disperse accumulated global options as conf items in namespaces. 2018-12-08 15:36:34 -08:00
Jason Volk
0c0c3b1f41 ircd: Split runlevel related into header and unit. 2018-12-08 15:15:31 -08:00
Jason Volk
6408ac4592 ircd: Remove the legacy AFP() / AFGP() macros. 2018-12-08 13:51:33 -08:00
Jason Volk
4a2ad1c186 ircd::ctx: Reorg continuation for core wakeup conditions. 2018-12-07 12:31:30 -08:00
Jason Volk
9eabd745f5 ircd::ctx: Minor cleanup. 2018-12-07 12:03:25 -08:00
Jason Volk
3af70e75c3 ircd::ctx: Minor cleanup / struct packing / type. 2018-12-07 10:13:29 -08:00
Jason Volk
4e01d2c0a4 ircd::ctx: Remove local typedef to use outer ircd:: typedef. 2018-12-07 10:13:14 -08:00
Jason Volk
ce237e0b10 ircd::ctx: Export this_ctx:: to ircd. 2018-12-06 19:16:47 -08:00
Jason Volk
6de17431ff ircd: Reverse arguments for url::encode()/decode(); minor reorg. 2018-12-06 16:41:47 -08:00
Jason Volk
2caf425fde ircd::rfc3986: Add form_encode() composer from json::members. 2018-12-06 16:27:05 -08:00
Jason Volk
e4922772f4 ircd::server: Fix issues with non-matrix peer construction. 2018-12-05 19:38:40 -08:00
Jason Volk
3f939367c0 ircd::log: Add console_enable/disable for all facilities. 2018-12-05 19:00:10 -08:00
Jason Volk
99001a4ea5 ircd: Initial ap. 2018-12-05 15:17:00 -08:00
Jason Volk
0c4e39b023 ircd::ctx: Relax assertion. 2018-12-05 15:15:36 -08:00
Jason Volk
10b8db0bb3 ircd::http: Add format string construction for http::error. 2018-12-05 15:15:26 -08:00
Jason Volk
24e423c714 ircd::fs: Add support test for fallocate(). 2018-12-03 12:58:42 -08:00
Jason Volk
47d6fbb35f ircd::fs: Consolidate support tests and indications into namespace. 2018-12-03 12:55:52 -08:00
Jason Volk
f2ecf617ba ircd::db: Stub a place to put the runtime loaded library version information. 2018-12-03 12:30:59 -08:00
Jason Volk
041f6c16c3 ircd::db: Split out header for pos.h from main db.h 2018-12-03 12:20:55 -08:00
Jason Volk
402f0f91f1 ircd::db: Create DBOptions earlier for use when reading column names. 2018-12-02 17:45:36 -08:00
Jason Volk
e8088ce52a ircd::db: Assert synchronization for sequential file operations; update offset on PositionedRead(). 2018-12-02 17:19:13 -08:00
Jason Volk
b088ebf228 ircd:Ⓜ️:app: Add initial application service registration structure; start app handler directory. 2018-12-02 16:50:26 -08:00
Jason Volk
b45b25bdcd ircd::db: Dressing for C99 array on stack here. 2018-12-01 17:07:15 -08:00
Jason Volk
711dfacd9a ircd::fs: Improve strategy for AIO fsync/fdsync related. 2018-12-01 16:10:53 -08:00