0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-23 10:04:47 +02:00
Commit graph

1411 commits

Author SHA1 Message Date
Jason Volk 327e4da356 ircd::server: Rename node to peer. 2018-03-05 06:59:10 -08:00
Jason Volk f7223b0688 ircd::ctx: Consolidate view and shared_view with more template. 2018-03-05 05:49:26 -08:00
Jason Volk ec0d151827 ircd:Ⓜ️ Move user::password related to modules/client/account/password. 2018-03-05 05:24:45 -08:00
Jason Volk f8dc84d46e ircd:Ⓜ️ Modularize the user::activate/user::deactivate definitions. 2018-03-05 05:24:45 -08:00
Jason Volk 01ce9a3d6f ircd:Ⓜ️ Move spec tuples into headers. 2018-03-05 05:24:45 -08:00
Jason Volk bfc2ab4eef ircd:Ⓜ️ Improve error ctor related. 2018-03-05 01:34:03 -08:00
Jason Volk 664bee7f78 ircd::json: Add semantics to prevent json::strung'ing itself. 2018-03-05 01:09:37 -08:00
Jason Volk b37bb580be ircd:Ⓜ️ Deinline these error ctors. 2018-03-05 01:07:52 -08:00
Jason Volk 8b7b8bb584 ircd:Ⓜ️🆔 Add function to update buffer's view after direct write. 2018-03-05 00:52:24 -08:00
Jason Volk cc7dd13e4e ircd::http: Fix enum decl related and struct packing of error. 2018-03-05 00:37:05 -08:00
Jason Volk a39781924c ircd:Ⓜ️ Take this buffer off-stack. 2018-03-04 09:21:51 -08:00
Jason Volk 69b0acde63 ircd:Ⓜ️ Preliminary reorg around experimental presence interface. 2018-03-04 08:57:02 -08:00
Jason Volk e2ddeb4190 ircd:Ⓜ️ Add edu tuples; improve txn tuple typing. 2018-03-04 08:57:01 -08:00
Jason Volk c7ae8d3f27 ircd::server: Fix conditions for link removal from link::close(). 2018-03-04 02:09:41 -08:00
Jason Volk 240e01a9b5 ircd:Ⓜ️ Integrate present room state table optimization into interface. 2018-03-04 02:09:41 -08:00
Jason Volk 5b4c65c875 ircd:Ⓜ️:dbs: Add and use origins key separator; minor cleanup. 2018-03-04 00:30:25 -08:00
Jason Volk 472aaecb0f ircd:Ⓜ️:dbs: Add back the sequential state index for present room state. 2018-03-04 00:30:25 -08:00
Jason Volk 8bb31107bd ircd:Ⓜ️ Relax room ctor event_id parameter for empty string_view{}. 2018-03-04 00:30:25 -08:00
Jason Volk 505b3b5115 ircd: Add non-throwing/defaulting token() overload. 2018-03-03 23:37:17 -08:00
Jason Volk 92bef88b6c ircd::server: Improve tag cancellation/dispersal on closing/shutdown; minor cleanup. 2018-03-03 21:56:50 -08:00
Jason Volk 4df13f5d4f ircd::server: Add conf items for existing todos. 2018-03-03 21:54:42 -08:00
Jason Volk a9b87a5c09 ircd::util: Add pointer transform suite. 2018-03-03 21:53:09 -08:00
Jason Volk c676d56dcd ircd:Ⓜ️ Add room::members::count() with membership=join optimized path. 2018-03-03 10:17:05 -08:00
Jason Volk 7a860964c4 ircd:Ⓜ️ Split the origins iteration to also allow raw key iteration. 2018-03-03 10:17:05 -08:00
Jason Volk 8a5462063e ircd:Ⓜ️ Add util to get membership from either event.membership or event.content. 2018-03-03 10:17:05 -08:00
Jason Volk e95b61d46b ircd:Ⓜ️ Add a room::origins::count()er. 2018-03-03 05:56:42 -08:00
Jason Volk 763c14fb7b ircd:Ⓜ️:dbs: Add crucial member key to origins sequence. 2018-03-03 05:47:15 -08:00
Jason Volk d0ef714179 ircd:Ⓜ️🆔 Tighten exception spec on boolean validators; tweak test grammar. 2018-03-03 05:04:23 -08:00
Jason Volk fa5a30e751 ircd: Add stringops to lstrip/rstrip limited to n count. 2018-03-03 04:06:49 -08:00
Jason Volk 7eff71b9a3 ircd:Ⓜ️ Add function to check if and only if id is a valid localpart. 2018-03-03 04:06:49 -08:00
Jason Volk 6333003aad ircd:Ⓜ️ Move user::activate() out to modules/client/register. 2018-03-03 00:51:27 -08:00
Jason Volk fa3d92103c ircd:Ⓜ️ Add event serial size check; check size during commit. 2018-03-03 00:04:43 -08:00
Jason Volk 304f5422c6 ircd::conf: Add templates for long integer items. 2018-03-02 23:54:35 -08:00
Jason Volk c4d8b17ecb ircd:Ⓜ️ Add convenience sender for org.matrix.custom.html messages. 2018-03-02 23:22:52 -08:00
Jason Volk b840156b37 ircd::server: Add preliminary node error state; keep erroneous node in map as cache. 2018-03-02 22:37:52 -08:00
Jason Volk a99fff0988 ircd:Ⓜ️ Add meta column for sequential presently joined origins iteration. 2018-03-02 22:03:06 -08:00
Jason Volk 94087f6316 ircd:Ⓜ️ Add alternative hook ctor for simple argument syntax reversal. 2018-03-02 21:12:11 -08:00
Jason Volk 1e2dcc41ef ircd::conf: Support std::string item. 2018-03-02 08:02:21 -08:00
Jason Volk 150543ae91 ircd:Ⓜ️ Add linkage for user::presence;
modules/client/presence: reorg for linkage; minor cleanup.
2018-03-02 08:02:21 -08:00
Jason Volk f7034d0bf5 ircd:Ⓜ️ Add convenience notice(room) suite. 2018-03-02 08:02:21 -08:00
Jason Volk f8e356eb0e ircd::conf: Develop conf get/set by string; use mapping by item name. 2018-03-02 08:02:20 -08:00
Jason Volk baa7a80b68 ircd: Various fixes; bump default db LRU cache sizes. 2018-03-02 08:02:20 -08:00
Jason Volk 581e804e37 ircd::net::dns: Use conf item for DNS resolver timeout value. 2018-03-02 08:02:20 -08:00
Jason Volk 97e593a77e ircd: Mein conf. 2018-03-02 08:02:20 -08:00
Jason Volk d54d6b687c ircd::net::dns: Add crucial support for caching errors. 2018-03-02 08:02:20 -08:00
Jason Volk b166d0744d ircd::rfc1035: Ensure record types default-construct the super with their type. 2018-03-01 23:34:59 -08:00
Jason Volk 3aea407a85 ircd::net::dns: Add dns::cache. 2018-03-01 23:08:22 -08:00
Jason Volk b10d3498e3 ircd::rfc1035: Use string_view of namebuf rather than namelen. 2018-03-01 21:47:03 -08:00
Jason Volk 2fcaf8c758 ircd::json: Add default ctor for array/object/vector const_iterators. 2018-02-28 22:33:50 -08:00
Jason Volk c31b072a82 ircd:Ⓜ️ Improve room::membership() convenience query interface. 2018-02-28 21:05:09 -08:00
Jason Volk ff94fdd3a6 ircd::json: Array list protocol for stringifying tuple. 2018-02-28 02:31:13 -08:00
Jason Volk 7a7c1fb542 ircd::buffer: Disambiguate conversion. 2018-02-28 02:23:06 -08:00
Jason Volk 73c667c238 ircd: Add substring replacement stringop. 2018-02-28 00:18:47 -08:00
Jason Volk bd065a826a ircd:Ⓜ️:vm: Add error class; add/checkin options; checkpoint preliminary eval. 2018-02-27 22:57:05 -08:00
Jason Volk 14d5bd4f99 ircd:Ⓜ️:state: Checkpoint removal entry point. 2018-02-27 22:57:05 -08:00
Jason Volk 8f086aaed9 ircd:Ⓜ️ Add convenience operator|= to event::conforms for masking. 2018-02-27 20:55:59 -08:00
Jason Volk ef9646e719 ircd:Ⓜ️ Add exists(event::id) database check. 2018-02-27 20:47:19 -08:00
Jason Volk bd4da0dd0a ircd:Ⓜ️ Consider these not-errors to allow for forward-compat/reuse. 2018-02-27 20:25:23 -08:00
Jason Volk cc6cd58755 ircd::server: Fix dtor condition to cancel request. 2018-02-27 02:41:48 -08:00
Jason Volk fc3b68b9e9 ircd::server: Add more state for async ops; adjust post points. 2018-02-27 01:00:12 -08:00
Jason Volk 7f77c68232 ircd::net/ircd::server: Rename misleading functions. 2018-02-26 22:49:44 -08:00
Jason Volk c412beacbf ircd::server: Add dynamic content allocation after receiving head. 2018-02-26 21:56:05 -08:00
Jason Volk d1b66e2657 ircd:Ⓜ️:v1: Remove all the static default_opts. 2018-02-26 21:43:02 -08:00
Jason Volk e37a8599f7 ircd::fs: Add remove() / rename() support. 2018-02-26 20:45:14 -08:00
Jason Volk 121be689e8 ircd::fs: Fix namespace ambiguities; various interface updates. 2018-02-26 20:35:09 -08:00
Jason Volk e67ce2b43e ircd:Ⓜ️ Add room_alias -> room_id outsourcing; plug in modules/client/join. 2018-02-26 04:55:27 -08:00
Jason Volk 64a77e280d ircd::http: Parse content_type convenience reference in response::head. 2018-02-26 04:00:36 -08:00
Jason Volk 0721d28254 ircd:Ⓜ️🪝 Minor cleanup: move event_match function to hook::. 2018-02-26 01:40:41 -08:00
Jason Volk e259d7bad7 ircd:Ⓜ️🪝 Use union matching strategy by default. 2018-02-26 00:07:53 -08:00
Jason Volk bd14377904 ircd:Ⓜ️ Captain hook. 2018-02-25 23:35:25 -08:00
Jason Volk c41a3dc25c ircd:Ⓜ️:v1: Add overloads to derive query remote from mxids. 2018-02-25 02:05:43 -08:00
Jason Volk 619a5a6a96 ircd:Ⓜ️:v1: Add additional query::profile field overload. 2018-02-25 00:30:45 -08:00
Jason Volk a25b9c84f5 ircd:Ⓜ️ Add missing/matching my(user). 2018-02-25 00:30:45 -08:00
Jason Volk bab52e2967 ircd:Ⓜ️:v1: Add query request; add profile / directory convenience subtypes. 2018-02-24 23:53:32 -08:00
Jason Volk 191167f7ba ircd:Ⓜ️ Add count() interface to room::state. 2018-02-24 19:52:02 -08:00
Jason Volk 4818409b51 ircd:Ⓜ️:state: Strictly use name:: references for all property access. 2018-02-24 19:47:30 -08:00
Jason Volk 114bee0381 ircd::json: Add back support for tuple string reference indexing overloads. 2018-02-24 19:45:57 -08:00
Jason Volk 4643a78c47 ircd:Ⓜ️:state: Add branch accounting to b-tree node. 2018-02-24 19:27:17 -08:00
Jason Volk c95edb5d78 ircd:Ⓜ️ Add BAD_PAGINATION error to common list. 2018-02-23 23:35:09 -08:00
Jason Volk f2a3e2487c ircd:Ⓜ️ Support lower_bound state_key queries into room::state. 2018-02-23 19:39:51 -08:00
Jason Volk 39faaa3a73 ircd::magic: Add namespace \brief. 2018-02-22 20:32:10 -08:00
Jason Volk 7d4d88de73 ircd:Ⓜ️ Move and relink all the state/non-state sends()/message();
modules/client/rooms/state: reorg / renamespacing.
modules/client/rooms/send: renamespacing.
2018-02-22 20:32:10 -08:00
Jason Volk 515370b2c2 ircd:Ⓜ️ Add and apply module importer; replace any module name suffixes. 2018-02-22 20:32:10 -08:00
Jason Volk c6365fc609 ircd:Ⓜ️ Add a 503 UNAVAILABLE wrapping. 2018-02-22 20:32:10 -08:00
Jason Volk 1c8753ba9f ircd::mods: Add default constructions to sym_ptr et al. 2018-02-22 14:30:11 -08:00
Jason Volk 0569b41f4b ircd::mods: Add sym_ptr / import_shared reference ctors. 2018-02-22 14:30:11 -08:00
Jason Volk 52cbf0fc70 ircd: Condition client timeout for longpoll; fix resource request reference. 2018-02-21 17:43:29 -08:00
Jason Volk d50ef4b45f ircd::log: Add interface to toggle facility to console. 2018-02-21 16:13:49 -08:00
Jason Volk bae8e3b869 ircd:Ⓜ️ Add reverse reflection for event::conforms code. 2018-02-21 15:05:27 -08:00
Jason Volk 4f4b53416c ircd:Ⓜ️ Add more event::conforms checks; add skip-checks constructor. 2018-02-21 15:05:27 -08:00
Jason Volk 268861013e ircd::json: Add these for consistency. 2018-02-21 14:24:01 -08:00
Jason Volk a00e305442 ircd:Ⓜ️ Rename event::errors to event::conforms. 2018-02-21 13:43:33 -08:00
Jason Volk c72f7f1e96 ircd:Ⓜ️ Begin an event::errors fundamental conformity report. 2018-02-21 00:13:18 -08:00
Jason Volk 1bf9997086 ircd:Ⓜ️ Deinline these m::event related. 2018-02-20 18:26:54 -08:00
Jason Volk 98ceb154c3 ircd::util: Retype ctype<> for const_buffer; fix return type; simplify loop. 2018-02-20 15:40:40 -08:00
Jason Volk d673ce16d4 ircd::ctx: Relax noinline attribute on prof::stack_usage_here() wrapper. 2018-02-20 15:40:40 -08:00
Jason Volk 3d1409b243 ircd:Ⓜ️ Tighten exception specification for user::is_password(). 2018-02-19 19:45:44 -08:00
Jason Volk 329b1dc514 ircd:Ⓜ️ Add nothrow stack to complement head(room). 2018-02-19 19:45:44 -08:00
Jason Volk c5f4ab4a17 ircd::buffer: Compiler errors when copy source may be string literal. 2018-02-19 19:45:44 -08:00
Jason Volk cede265037 ircd::parse: Add assertive information rather than throwing bad_function_call. 2018-02-19 19:45:44 -08:00
Jason Volk f620bdcb3a ircd:Ⓜ️:v1: Add version request. 2018-02-19 19:45:44 -08:00
Jason Volk eaf8df25c2 ircd::info: Add name string / agency strings. 2018-02-19 16:51:28 -08:00
Jason Volk 622e0a56a6 ircd::buffer: Add operator+ to compute a new buffer at offset. 2018-02-19 16:51:28 -08:00
Jason Volk e9a84ff4d7 ircd::buffer: Improve typography/conversions related issues. 2018-02-19 16:51:28 -08:00
Jason Volk a21b2b28fa ircd::info: Minor reorg / cleanup. 2018-02-19 13:32:34 -08:00
Jason Volk b63bc5e8e6 ircd:Ⓜ️ Expose m::modules / m::listeners externs. 2018-02-19 00:36:45 -08:00
Jason Volk 7142cbf735 ircd: Move magic out of fs::. 2018-02-18 22:54:54 -08:00
Jason Volk de08752853 ircd::net: Remove unused/erroneous has_timeout(). 2018-02-18 22:38:23 -08:00
Jason Volk a8d72ebbaa ircd::json: Ensure rvalue-reference ownership transfer for these ctors. 2018-02-18 22:38:23 -08:00
Jason Volk 23fb76ae8e ircd::json: Improve the member/value construction relationship. 2018-02-18 22:38:23 -08:00
Jason Volk 3683341aa9 ircd::util: Ensure null termination after all direct writes into string. 2018-02-18 22:38:23 -08:00
Jason Volk f8e5ca20d3 ircd::json: Remove the double-indirected member stringify. 2018-02-18 22:35:35 -08:00
Jason Volk 42a22a6c79 ircd::json: Use consumption protocol for create_string closure. 2018-02-18 22:22:38 -08:00
Jason Volk 0e526484ea ircd::json: Ensure iov's are in a fixed location. 2018-02-18 22:18:52 -08:00
Jason Volk 9ebf8b0b73 ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519. 2018-02-18 01:20:39 -08:00
Jason Volk f5197cc8ff ircd::fs: Add magic interface. 2018-02-18 01:12:09 -08:00
Jason Volk 9173c13b89 ircd: Move resource::request related off the stack into client. 2018-02-17 16:17:59 -08:00
Jason Volk 575f5829dd ircd::json: Verifiably pasken the strongly typed object::size() result. 2018-02-17 16:17:59 -08:00
Jason Volk 7e89baf369 ircd: Add resource::method::CONTENT_DISCRETION option flag. 2018-02-17 14:38:49 -08:00
Jason Volk 3709bd5612 ircd: Improve+rename client/resource head_buffer/content_buffer related. 2018-02-17 14:28:06 -08:00
Jason Volk 39d2196336 ircd::json: Modernize json::strung ctor. 2018-02-17 14:07:46 -08:00
Jason Volk 3c359e1dcc ircd:Ⓜ️ Add RoomEventFilter matcher. 2018-02-17 13:08:59 -08:00
Jason Volk d89eaf338c ircd:Ⓜ️ 5 Filter (m::event_filter) matching (without globular). 2018-02-17 13:08:17 -08:00
Jason Volk 4c3d20d959 ircd:Ⓜ️ Purge the m::session. 2018-02-16 16:53:47 -08:00
Jason Volk 7a08fe8181 ircd:Ⓜ️ Deinline these request ctors. 2018-02-16 16:44:57 -08:00
Jason Volk ca7f32a89b ircd:Ⓜ️🆔 Minor cleanup. 2018-02-16 16:33:28 -08:00
Jason Volk 632b1e6f0f ircd:Ⓜ️ Curse the cursor.
modules/console: Update dump; add errcount.
2018-02-16 11:53:42 -08:00
Jason Volk 00e90865d2 ircd:Ⓜ️ Add linear query suite to room interface. 2018-02-15 19:17:09 -08:00
Jason Volk 01251573bc ircd:Ⓜ️ Add redacts to main event; add redact(room, ...) committer. 2018-02-15 16:35:50 -08:00
Jason Volk eab4aef7e6 ircd:Ⓜ️/modules/client: Add device ID generation; use token/password helpers; various comments/cleanup. 2018-02-15 13:55:09 -08:00
Jason Volk 6ece5db391 ircd:Ⓜ️ Add user::room wrapping m::room with buffer of user's user room_id. 2018-02-15 13:40:08 -08:00
Jason Volk 050eacd142 ircd:Ⓜ️ Add m::user helpers to generate password hash and access tokens. 2018-02-15 13:05:00 -08:00
Jason Volk 51b2cafc74 ircd:Ⓜ️ Add experimental sigiled and qualified device MXID. 2018-02-15 13:01:07 -08:00
Jason Volk 7b0c53501a ircd::rand: Modernize interface. 2018-02-15 12:53:00 -08:00
Jason Volk d6ad4ce45e ircd:Ⓜ️ Add some object semantics/restrictions. 2018-02-15 12:11:28 -08:00
Jason Volk 3d216fda84 ircd::util: Use std::all_of for boolean ctype test. 2018-02-15 12:09:17 -08:00
Jason Volk 38454022cd ircd::m/modules: Add M_NEED_MORE_PARAMS. 2018-02-14 22:07:01 -08:00
Jason Volk a7c662529d ircd:Ⓜ️:vm: Remove the fronts map. 2018-02-14 22:07:01 -08:00
Jason Volk 025909e1eb ircd: Move ctype<> into util::; add valid(string_view) boolean convenience. 2018-02-14 14:11:18 -08:00
Jason Volk d32f990c6a ircd:Ⓜ️ Improve room::messages interface as a bidirectional STL iterator. 2018-02-13 14:25:01 -08:00
Jason Volk 6f0ca19df6 ircd:Ⓜ️ Cleanup cruft from m::room; comments; minor. 2018-02-13 14:23:56 -08:00
Jason Volk ad56d381a5 ircd:Ⓜ️:dbs: Add a room_events_key generator which doesn't require event_id. 2018-02-13 14:21:57 -08:00
Jason Volk db4535b049 ircd:📅 Add ostream participants for time_points printing epoch seconds. 2018-02-12 19:30:44 -08:00
Jason Volk 2be10ef206 ircd: Fix/Address client current request flow for longpolls. 2018-02-12 19:30:44 -08:00
Jason Volk 67fba3cd7b ircd:Ⓜ️ Move filters into the user's user room. 2018-02-11 19:46:31 -08:00
Jason Volk 939957c02a ircd:Ⓜ️ Split filter into compilation unit; reactivate interface. 2018-02-11 15:47:24 -08:00
Jason Volk f770a1638e ircd: Update Makefile ordering to reflect current header ordering; commentary. 2018-02-11 15:47:24 -08:00
Jason Volk 0afaa70ccf ircd: Refer to the right access_token in the resource::request struct. 2018-02-10 22:07:06 -08:00
Jason Volk 3e603b86e9 ircd:Ⓜ️ Add the m::room::has(type, state_key) passthru. 2018-02-10 21:42:16 -08:00
Jason Volk a3a3239e6e ircd:Ⓜ️ Add room::messages interface; comment on room::state. 2018-02-10 19:50:53 -08:00