0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-06 02:28:38 +02:00
Commit graph

2610 commits

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