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

2044 commits

Author SHA1 Message Date
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
Jason Volk 0dc8593b9c ircd::net: Add open() option to allow expired certificates. 2018-02-10 18:37:06 -08:00
Jason Volk 43d581f1e9 ircd:Ⓜ️ Add room::get() passthru interface to room::state. 2018-02-10 18:37:06 -08:00
Jason Volk 605fbe1859 ircd:Ⓜ️ Use member buffer caches in m::room::state for the state root/head event. 2018-02-10 18:37:06 -08:00
Jason Volk e368101e54 ircd:Ⓜ️:state: Might as well typedef this id. 2018-02-10 17:33:17 -08:00
Jason Volk 3597d1eb6b ircd:Ⓜ️ Elaborate the event::prev interface with pattern conveniences. 2018-02-10 13:44:54 -08:00
Jason Volk b238818522 ircd:Ⓜ️ Convert room::members/origins iters to test proto; console update; various. 2018-02-10 13:05:01 -08:00
Jason Volk 23387155df ircd:Ⓜ️ Candidate split room::state interface (const part). 2018-02-10 00:41:10 -08:00
Jason Volk 9405166a7a ircd:Ⓜ️:state: Add an unconditional for_each. 2018-02-10 00:41:06 -08:00
Jason Volk 5236a7d129 ircd:Ⓜ️ Add convenience event::fetch::valid() := row::valid(). 2018-02-10 00:39:13 -08:00
Jason Volk 98d3b8bc65 ircd:Ⓜ️:state: Make each() into test() protocol. 2018-02-10 00:38:36 -08:00
Jason Volk 00ed883f22 ircd:Ⓜ️ Typedefs to close over event::id and room::id. 2018-02-09 22:13:18 -08:00
Jason Volk 0bf053197c ircd::json: Massage away json::value template ctor. 2018-02-09 21:33:06 -08:00
Jason Volk 063644feaa ircd:Ⓜ️ Abort the current sorry state of m::io. 2018-02-09 21:33:06 -08:00
Jason Volk 6ff27aa45c ircd:Ⓜ️ Add room.root(); crush pattern. 2018-02-09 13:08:41 -08:00
Jason Volk cf18cdfcb7 ircd:Ⓜ️:state: Add nothrow overloads for value get() suite. 2018-02-09 11:55:49 -08:00
Jason Volk 45f165b462 ircd:Ⓜ️ Add event::fetch: db::cell/db::row aggregate; apply to all pattern. 2018-02-09 11:22:46 -08:00
Jason Volk e0df498415 ircd:Ⓜ️:room: Plug more stuff back in. 2018-02-08 23:23:50 -08:00
Jason Volk a32f93c357 ircd:Ⓜ️:vm: Add specific exception; checkpoint incomplete eval; fix dbref. 2018-02-08 23:23:50 -08:00
Jason Volk ec2f44f409 ircd:Ⓜ️:state: Typedef an id_buffer for better public use. 2018-02-08 21:02:10 -08:00
Jason Volk 39fed550cd ircd:Ⓜ️ Elaborate room.maxdepth() into the m::head(room)/m::depth(room) (non-array) suite. 2018-02-08 20:59:48 -08:00
Jason Volk fd7792d32b ircd:Ⓜ️ Reenable the room::maxdepth() query with efficiency. 2018-02-08 17:19:12 -08:00
Jason Volk 2db910adea ircd:Ⓜ️:dbs: Add room_events key extractor for use with db::index::iterator. 2018-02-08 17:19:04 -08:00
Jason Volk 6e34a4a399 ircd:Ⓜ️:dbs: Add highest->lowest depth comparator for room_events meta. 2018-02-08 17:19:03 -08:00
Jason Volk 2f0c4e004e ircd:Ⓜ️:dbs: Treat room_events as an index column for better behavior. 2018-02-08 16:36:09 -08:00
Jason Volk f096a45e88 ircd:Ⓜ️ Update the common m::error list. 2018-02-08 15:00:53 -08:00
Jason Volk e40f11429e ircd::json: Tuple defined(number) decides on max value rather than zero. 2018-02-08 14:01:53 -08:00
Jason Volk 4540a32948 ircd:Ⓜ️ Events database interface to m::dbs; trim vm; [inconsistent]. 2018-02-08 13:27:49 -08:00
Jason Volk 7346d9dcdb ircd:Ⓜ️:state: Rename head to root. 2018-02-08 13:27:49 -08:00
Jason Volk 230be7d922 ircd:Ⓜ️ Remove the query; remove the query from the cursor. 2018-02-08 13:27:49 -08:00
Jason Volk 5c968f0949 ircd:Ⓜ️:state: Distill out any DB/IO for tree root; split out create(); remove init. 2018-02-08 13:27:49 -08:00
Jason Volk 775f410e63 ircd:Ⓜ️ Update README. 2018-02-08 13:27:48 -08:00
Jason Volk 2b05df12e3 ircd::db: minor cleanup: move this here. 2018-02-07 23:15:17 -08:00
Jason Volk f04ba38b42 ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -08:00
Jason Volk 9de8cb69d2 ircd: Send the aborted array_view fetus to valhalla. 2018-02-07 12:16:17 -08:00
Jason Volk 4623e4448f ircd::http: Add 502 Bad Gateway. 2018-02-07 00:24:54 -08:00
Jason Volk 24fdfdd9fe ircd::server: Fix error; fix regression. 2018-02-07 00:24:54 -08:00
Jason Volk 4b61cd1498 ircd::net: Improve the net::hostport amalgam ctor; comments. 2018-02-07 00:24:54 -08:00
Jason Volk d96ec401bc ircd::net: Remove old cruft exceptions. 2018-02-06 13:20:24 -08:00
Jason Volk 7b4906e85f ircd::net: Throw net::not_found for the ipport_one convenience if no A record. 2018-02-06 13:20:24 -08:00
Jason Volk ee0d6423f3 ircd: Move params back into ircd::util... (w/ manual inclusion). 2018-02-06 13:20:24 -08:00
Jason Volk 4a56c0a1cd ircd::fs: Asynchronous writes to local filesystem. 2018-02-06 00:02:18 -08:00
Jason Volk af62b5f089 ircd:Ⓜ️:state: Proper typedef for value closures. 2018-02-05 21:24:36 -08:00
Jason Volk 49027cc312 ircd:Ⓜ️:state: Optimize DFS branches recursed based on key argument prefix. 2018-02-05 21:24:36 -08:00
Jason Volk 025e1d7c78 ircd:Ⓜ️ Move events database description and instance to libircd. 2018-02-05 21:24:36 -08:00
Jason Volk 06816f9e33 ircd::db: Allow gopts parameter to the cell::seek(). 2018-02-05 21:24:36 -08:00
Jason Volk 9c03fcdb95 ircd:Ⓜ️:state: Basic util suite. 2018-02-05 21:24:36 -08:00
Jason Volk ea35ea5863 ircd:Ⓜ️:state: Cache DB column refs statically and away from API surface. 2018-02-05 21:24:35 -08:00
Jason Volk 42bd702d8f ircd:Ⓜ️:state: Adjust interface for event insertions from m::dbs. 2018-02-05 21:24:35 -08:00
Jason Volk b97f6bf7a9 ircd:Ⓜ️:state: Improve buffer related; fix issues. 2018-02-05 21:24:35 -08:00
Jason Volk d4eeeacdec ircd:Ⓜ️:state: Tweak some issues. 2018-02-05 21:24:35 -08:00
Jason Volk dc361284f0 ircd:Ⓜ️:state: Add a DFS with closure; comments; cleanup. 2018-02-05 21:24:35 -08:00
Jason Volk 10f6402ada ircd::rfc1035: Comments; minor rearrange. 2018-02-05 21:24:35 -08:00
Jason Volk be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk 6b7b3b2db7 ircd:Ⓜ️:state: Cleanup; break down operations. 2018-02-05 18:54:56 -08:00
Jason Volk 565a760255 ircd::net: Integrate SRV query composition; RFC1035 records to the user interface. 2018-02-05 18:54:56 -08:00
Jason Volk faaf950ea4 ircd::rfc1035: Default constructions for resource records. 2018-02-05 18:54:55 -08:00
Jason Volk 3441368b25 ircd::net: Use "service" string in net::hostport. 2018-02-05 18:54:55 -08:00
Jason Volk a9ac7fd8d9 ircd::net: Add constructions for ipport from rfc1035 resource records. 2018-02-05 18:54:55 -08:00
Jason Volk 46bf944227 ircd::rfc1035: Dynamic abstraction for resource records; minor comments. 2018-02-05 18:54:55 -08:00
Jason Volk d53eef4ab6 ircd: Eliminate the raw_buffer concept. 2018-02-05 18:54:55 -08:00
Jason Volk 287331d757 ircd::rfc1035: Simplify the answer record results with a string_view. 2018-02-03 14:10:49 -08:00
Jason Volk cde4507ef6 ircd::rfc1035: Put the record structs into record:: for possible vtable opportunity. 2018-02-03 14:10:49 -08:00
Jason Volk e602b2375d ircd: Exception macros need complete scope to be used outside ircd:: 2018-02-03 14:10:49 -08:00
Jason Volk 229ac50be4 ircd: Move params.h out to construct/ 2018-02-03 14:10:49 -08:00
Jason Volk 63d28a77cc ircd:Ⓜ️:state: Make it right. 2018-02-02 15:06:12 -08:00
Jason Volk 50a0983fa0 ircd:Ⓜ️:state: Make it work. 2018-02-02 14:58:56 -08:00
Jason Volk e3f671a523 ircd::json: Move property.h into tuple/ dir. 2018-02-02 14:58:55 -08:00
Jason Volk 8296adb6c3 ircd:Ⓜ️:state: Try using a separate child array to store values at any level (partial). 2018-02-02 14:58:55 -08:00
Jason Volk c3ceb94478 ircd: These should be rvalue refs. 2018-01-30 23:13:27 -08:00
Jason Volk 6f1220dc5f ircd:Ⓜ️ Cleanup and prep m::state related. 2018-01-30 13:33:17 -08:00
Jason Volk 2e356709bd ircd::json: Break up json.h into util.h 2018-01-30 10:26:46 -08:00
Jason Volk 01235e3851 ircd::json: Add a bang ADL for falsy semantic on object/array. 2018-01-30 10:14:41 -08:00
Jason Volk 365fabe638 ircd::db: Rename iov to txn (since iov should really be a rocksdb::SliceParts). 2018-01-30 09:58:36 -08:00
Jason Volk 08d00bb3c8 ircd::json: Add strongly typed empty() for object/array with an ADL. 2018-01-29 11:59:59 -08:00
Jason Volk aefca6bea4 ircd::json: Move extern const strings out of value.h 2018-01-29 11:59:59 -08:00
Jason Volk 0d8a646ccc ircd:Ⓜ️ Split state:: off dbs::. 2018-01-29 09:36:05 -08:00
Jason Volk f7e928e852 ircd: Simplify various string generations. 2018-01-29 08:39:06 -08:00
Jason Volk bce1206c70 ircd::util: Add string construction buffer closures over a common pattern. 2018-01-29 08:19:14 -08:00
Jason Volk f1611a4a54 ircd: Reorder the headers to allow utils depending on *_view and buffer:: and allocator::... 2018-01-29 08:17:02 -08:00
Jason Volk e23ee1543b ircd::util: Comment on the ircd::string() template; minor cleanup. 2018-01-28 21:30:53 -08:00
Jason Volk 5f6b5852b1 ircd::rfc1035: Add CNAME RR; minor cleanup. 2018-01-28 21:18:26 -08:00
Jason Volk aeaa031cce ircd::rfc1035: Add SRV record RR; add A/AAAA specific RR structs; minor cleanup. 2018-01-28 21:18:26 -08:00
Jason Volk 9a2714f5aa ircd::net: Replace asio::ip::tcp::resolver / threaded getaddrinfo() with solution. 2018-01-28 21:18:26 -08:00
Jason Volk 670b4b8e23 ircd::net: Add UDP analogues for the make_endpoint() related. 2018-01-28 21:18:26 -08:00
Jason Volk 7057e1d98d ircd::rfc1035: Various question / answer development; add header debug. 2018-01-28 21:18:25 -08:00
Jason Volk 68b408a065 ircd: Add allocated string convenience for u2a(). 2018-01-28 21:18:25 -08:00
Jason Volk 513082b656 ircd::net: Reorg DNS related; move resolver into header. 2018-01-28 14:28:33 -08:00
Jason Volk b462f2bbd8 ircd:Ⓜ️ Fix m::error constructor stack for zero-argument exceptions. 2018-01-28 09:09:58 -08:00
Jason Volk 4cfd41327a ircd:Ⓜ️ Checkpoint single-level/splitless state query. 2018-01-28 08:45:09 -08:00
Jason Volk 6bc6d9f8a1 ircd: Minor cleanup. 2018-01-28 08:44:47 -08:00
Jason Volk b926e6b42d ircd::db: Add nothrow overloads to the column viewer. 2018-01-27 10:07:08 -08:00
Jason Volk 917a73d048 ircd: Final hints for devirtualization opportunities. 2018-01-26 21:58:52 -08:00
Jason Volk 4818d7b651 ircd: Fix undefined RB_DEBUG for numerical RB_DEBUG_LEVEL. 2018-01-26 21:49:41 -08:00
Jason Volk 638843ade1 ircd::openssl: Add wrapper to print certificate subject from a PEM buffer. 2018-01-26 19:27:12 -08:00
Jason Volk fd2a7974e8 ircd: Minor cleanup; comments; spacing. 2018-01-26 19:27:12 -08:00
Jason Volk a9cada32db ircd:Ⓜ️ Add dbs namespace; remove old interfaces; checkpoint various. 2018-01-26 18:12:46 -08:00
Jason Volk ed5b4d0641 ircd:Ⓜ️ Room interface related. 2018-01-26 12:23:28 -08:00
Jason Volk 74657fa197 ircd:Ⓜ️ Minor cleanup: remove redundant namespace scope here. 2018-01-26 12:22:06 -08:00
Jason Volk 61e9bd018f ircd::json: Eliminate unnecessary print() overload. 2018-01-26 10:29:36 -08:00
Jason Volk b34608fba2 ircd::db: Update arguments to ircd::buffer; fix error. 2018-01-26 10:29:36 -08:00
Jason Volk 623f4fec8c ircd:Ⓜ️ Suppress subobject linkage warnings here for now. 2018-01-25 12:15:50 -08:00
Jason Volk 610d4ad9da ircd: Minor comment cleanup. 2018-01-25 12:15:40 -08:00
Jason Volk 5ca98e9c9a ircd:Ⓜ️ Move more name strings into name::. 2018-01-24 11:02:56 -08:00
Jason Volk c575016981 ircd: Condition the removal of the node on destruction. 2018-01-24 09:27:01 -08:00
Jason Volk ed4d645523 ircd::server: Flash the HTTP header to a node callback to learn information. 2018-01-24 09:26:27 -08:00
Jason Volk 7bbe116b88 ircd::http: Parse the server string into the response head. 2018-01-24 09:15:16 -08:00
Jason Volk ddc70b014c ircd::json: Add templates to dedup boilerplates for building IOV's. 2018-01-24 08:07:36 -08:00
Jason Volk ac27005cd7 ircd::json: Move these outside of value class. 2018-01-23 21:18:47 -08:00
Jason Volk e4863aa073 ircd::json: Check stringify size on all builds; note valid assert issue. 2018-01-23 20:59:47 -08:00
Jason Volk 755783ade8 ircd::db: cleanup: database::column section to column.h; rocksdb fwdecls to file. 2018-01-23 16:35:28 -08:00
Jason Volk d2f887f778 ircd:Ⓜ️ Move m.room keys to name.h 2018-01-23 16:35:28 -08:00
Jason Volk 56191db9bc ircd:Ⓜ️ Add v1::send response helper; comments; minor cleanup. 2018-01-23 15:07:05 -08:00
Jason Volk 5d1790fb0d ircd::server: Add reference count of pending async handlers. 2018-01-23 15:07:05 -08:00
Jason Volk ec51670600 ircd: Clarify namespaces in include README. 2018-01-23 15:07:05 -08:00
Jason Volk 0c838448c2 ircd:Ⓜ️ Add send/send_join to v1; fix buffer sizes. 2018-01-22 10:06:27 -08:00
Jason Volk a6bc89d960 ircd:Ⓜ️ Remove name cruft. 2018-01-22 03:34:12 -08:00
Jason Volk c79539ebf3 ircd:Ⓜ️ Elaborate v1 federation requests in directory. 2018-01-22 03:34:12 -08:00
Jason Volk 755a6184ce ircd::server: Add options struct argument to request ctor. 2018-01-22 02:41:14 -08:00
Jason Volk 4c62e0c24e ircd::net: Add operator! to hostport; minor cleanup. 2018-01-22 02:06:43 -08:00
Jason Volk c0fa317475 ircd::json: Move tuple into dir; remove some cruft. 2018-01-22 01:07:38 -08:00
Jason Volk 272061d666 ircd::net: Fix comments. 2018-01-22 00:54:53 -08:00
Jason Volk b3b424a531 ircd::net: Add option to bypass CN verification of self-signed certs. 2018-01-22 00:54:53 -08:00
Jason Volk 43923a1cf1 ircd::ctx: Minor formatting. 2018-01-22 00:54:52 -08:00
Jason Volk 152b3c351b ircd::json: Fix README formatting. 2018-01-22 00:54:52 -08:00
Jason Volk f1d659a6c0 ircd::server: Add a complementary upload progress callback. 2018-01-22 00:54:52 -08:00
Jason Volk 9da18261a6 ircd::server: Add an optional download progress callback. 2018-01-22 00:54:52 -08:00
Jason Volk 4ce6a8ac0a ircd: Remove various cruft. 2018-01-22 00:54:52 -08:00
Jason Volk 1d9d5fab49 ircd::info: Involve utsname on supported; improve startup information. 2018-01-22 00:54:52 -08:00
Jason Volk 5133553359 ircd::log: Bring balance to the syntax (global logger only). 2018-01-22 00:54:51 -08:00
Jason Volk 7867e7a0b4 ircd::http: Support view of full URI in the request::head; use in X-Matrix auth. 2018-01-22 00:54:51 -08:00
Jason Volk 0912b5366a ircd: Use intuitive semantics for the strip() suite. 2018-01-22 00:54:51 -08:00
Jason Volk 63ddbf8fbe ircd:Ⓜ️ Add addl name:: keys; cleanup event related. 2018-01-22 00:54:51 -08:00
Jason Volk b05caee36f ircd: Adjust some default timeouts. 2018-01-22 00:54:51 -08:00
Jason Volk 648981a4ce ircd: Add Base58 support. 2018-01-22 00:54:51 -08:00
Jason Volk ba1a0530ff ircd::buffer: Fix reverse iterations. 2018-01-20 13:59:24 -08:00
Jason Volk 103ff45553 ircd::net: Translate operation_canceled into timed_out where appropos. 2018-01-20 13:59:24 -08:00
Jason Volk 617b0d0777 ircd:Ⓜ️ Rework/cleanup request/session related. 2018-01-20 13:58:24 -08:00
Jason Volk 93364b6072 ircd::server: Add content buffer deduction from single in buffer. 2018-01-20 02:30:20 -08:00
Jason Volk a6bdb38e4d ircd::http: Remove the URI composition from the http::request construction. 2018-01-20 02:29:03 -08:00
Jason Volk 275efb3a7b ircd::fmt: Add this overdue conversion. 2018-01-20 02:28:03 -08:00
Jason Volk c28912b085 ircd:Ⓜ️ Create dedicated header for m::name string namespace. 2018-01-19 06:57:38 -08:00
Jason Volk 6e2cf45571 ircd::net: Move acceptor into header; minor cleanup. 2018-01-19 06:55:48 -08:00
Jason Volk f02c31217b ircd::net: Add remote to hostport conversion. 2018-01-19 04:54:14 -08:00