0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-03 15:25:21 +02:00
Commit graph

3383 commits

Author SHA1 Message Date
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
bba6981166 ircd::http: Verify HTTP version after request line. 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
395a6ceabd ircd::server: Add request option to control whether content overrun is an error. 2019-03-08 16:52:48 -08:00
Jason Volk
6d9fb00d8c ircd::server: Fix discard buffering. 2019-03-08 16:32:37 -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
01019640cd ircd:Ⓜ️:user::rooms: Optimize user rooms iteration. 2019-03-08 11:22:42 -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
7607978d80 ircd:Ⓜ️ Fix initial events bootstrap regression. 2019-03-08 09:28:34 -08:00
Jason Volk
57f28374c9 ircd::http: Add 428 Precondition Required. 2019-03-07 16:01:19 -08:00
Jason Volk
8c61f6370a ircd::json: Fix serialized type propagation on value copy. 2019-03-07 14:06:06 -08:00
Jason Volk
6af4782922 ircd::http: Elaborate the query string interface with indexing. 2019-03-06 17:21:38 -08:00
Jason Volk
b26d4fee7c ircd:Ⓜ️:event: Fallback to outer membership string (fixes hook membership matching). 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
094ae6e997 ircd:Ⓜ️:user::profile: Add interface for remote profile fetch(). 2019-03-06 00:12:21 -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
a9969bfb4b ircd::net: Show current cipher in handshake debug log msgs. 2019-03-05 11:37:49 -08:00
Jason Volk
a29dfb93f5 ircd::openssl: Add interface to examine cipher lists. 2019-03-05 10:50:12 -08:00
Jason Volk
c87b85eefc ircd:Ⓜ️ Relax the self::host() / my_host(string) test wrt the implied matrix port. 2019-03-05 09:47:54 -08:00
Jason Volk
1bc1b3c207 ircd::fs::aio: Fix bug. 2019-03-05 08:51:47 -08:00
Jason Volk
e33c4861cb ircd::net: Disable TLS 1.0. 2019-03-04 16:48:05 -08:00
Jason Volk
b398e8f424 ircd::net: Ignore empty string values in listener config object. 2019-03-04 16:38:39 -08:00
Jason Volk
5752c32de9 ircd::net: Eliminate the handle_set unset on exception. 2019-03-04 14:29:21 -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
175421f745 ircd::db::env: Default alignments to 1 rather than 0. 2019-03-04 11:36:54 -08:00
Jason Volk
295794ec42 ircd:Ⓜ️:user: Improve user filter interface and module linkage. 2019-03-02 16:49:44 -08:00
Jason Volk
47bcfaecb4 ircd: Upgrade various templates with argument deduction. 2019-03-02 14:20:52 -08:00
Jason Volk
a21e03df27 ircd: Add restart support w/ console cmd. 2019-03-02 14:20:52 -08:00
Jason Volk
ddb69ca01c ircd:Ⓜ️:sync: Improve the debug loghead format and content. 2019-03-02 11:40:51 -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
1d909b2ffc ircd::resource: Use DERROR for >500 codes; use ERROR for 500 or unknown only. 2019-03-01 14:12:50 -08:00
Jason Volk
4612fc6058 ircd::client: Improve exception handling to cover URI's of internal server errors out of handlers. 2019-03-01 13:40:01 -08:00
Jason Volk
8cc46765a3 ircd:Ⓜ️:room::state: Disable history by default with warning for now. 2019-03-01 12:09:11 -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
62d33e2f7a ircd::server: Improve this error information. 2019-03-01 10:07:56 -08:00
Jason Volk
1089530652 ircd::fmt: Narrow long double to double for grammar templates. 2019-02-28 18:09:36 -08:00
Jason Volk
19cc9ccc79 ircd::mods: Use eventual overload directly. 2019-02-28 17:58:35 -08:00
Jason Volk
f373417b0b ircd::fs: Use for_each rather than transform here. 2019-02-28 17:53:01 -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
c90d05a878 ircd::mods: Paranoid checks after load. 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
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
7bcc40f13f ircd:Ⓜ️ Fix count_since prototype; upgrade 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
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
6ab36254c2 ircd::allocator: Add nothrow overload to state / fixed. 2019-02-28 10:49:28 -08:00
Jason Volk
a600a28095 configure: Check for <memory_resource> availability. 2019-02-28 10:24:43 -08:00
Jason Volk
04c02d5e7a ircd:Ⓜ️:room::power: Relax existential condition to allow fallback; minor cleanup. 2019-02-27 20:31:39 -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
0e7fb8051e ircd:Ⓜ️:events: Fix iteration behavior with equal range parameters. 2019-02-27 16:27:04 -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
3f85eb761a ircd::openssl: Include the openssl/asn1.h header. 2019-02-26 18:56:29 -08:00
Jason Volk
ce609c00bf ircd::json: Fix comparison suite for vector::const_iterator. 2019-02-26 18:38:49 -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
dd42e04bb5 ircd::json::stack: Complete the move semantics for entities. 2019-02-26 15:27:03 -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
85cbaffca4 ircd:Ⓜ️🆔 Reuse the rfc3986 grammar with the mxid grammar. 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
7b226d5477 ircd::json: Use the ircd::spirit expectation_failure. 2019-02-26 10:58:05 -08:00
Jason Volk
9aaba79919 ircd::db: Checkpoint coarse configuration values for now. 2019-02-25 18:20:48 -08:00
Jason Volk
2854ea9a0f Makefiles: Remove --gdb-index here because no -gsplit-dwarf used. 2019-02-25 18:20:48 -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
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
ea4912d09a ircd::json::stack: Move final-flush to stack dtor rather than top value dtor. 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
2db5278eb2 ircd::db: Log the error message on database constructor before rethrow. 2019-02-22 15:40:53 -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
d083d09e03 ircd::json: Relax assertion for array::empty() expectations. 2019-02-21 14:11:13 -08:00
Jason Volk
0cb852e732 ircd::json::array: Deinline various. 2019-02-21 14:00:00 -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
18a41f81f1 modules: Move m::device definitions from m_user to m_device. 2019-02-20 09:46:27 -08:00