0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 12:28:52 +01:00
Commit graph

1948 commits

Author SHA1 Message Date
Jason Volk
330fe74035 ircd::db: Add file_count and bytes aggregator for all columns in db. 2018-04-17 14:13:36 -07:00
Jason Volk
6ef68a8f4e ircd:Ⓜ️ Show content bytes in pretty(event). 2018-04-17 02:51:44 -07:00
Jason Volk
8a829435cd ircd:Ⓜ️:vm: Special case sequence number zero for iterator. 2018-04-16 23:30:57 -07:00
Jason Volk
bcd704826c ircd:Ⓜ️:vm: Move db::txn to the stack; use automatic reserve option. 2018-04-16 17:28:26 -07:00
Jason Volk
b729338037 ircd:Ⓜ️:room: Move event::fetch outside loop to prevent constructions. 2018-04-16 15:58:26 -07:00
Jason Volk
d5cd5dea09 ircd:Ⓜ️:vm: Sequence iteration interface. 2018-04-16 15:58:02 -07:00
Jason Volk
b320d8ece1 ircd:Ⓜ️:vm: Integrate sequence counting. 2018-04-16 15:20:08 -07:00
Jason Volk
d5087f4e8f ircd:Ⓜ️:dbs: Add event sequence column. 2018-04-16 15:20:08 -07:00
Jason Volk
dcacc5af0a ircd:Ⓜ️:vm: Add db::txn allocation reservation options. 2018-04-16 15:20:08 -07:00
Jason Volk
e009d6763e ircd::db: Fix issues with txn interface. 2018-04-16 15:20:08 -07:00
Jason Volk
cae6964fa5 ircd:Ⓜ️:vm: Add missing INTERRUPT fault to reflect switch. 2018-04-16 13:48:16 -07:00
Jason Volk
60b9960c3d ircd:Ⓜ️ Tweaks to bootstrap / init task ordering. 2018-04-15 18:02:41 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
49d83de384 ircd::net: Propagate ctx interruption to socket. 2018-04-15 17:46:20 -07:00
Jason Volk
f4b2273a4b ircd::net: Add a semaphore to the socket timer to invalidate queued callbacks. 2018-04-15 17:46:20 -07:00
Jason Volk
5be18475df ircd::net: Move scope_timeout from socket:: to net:: w/ exposure. 2018-04-15 16:43:09 -07:00
Jason Volk
6d88ee339d ircd:Ⓜ️:dbs: Rename room_origins to room_joined. 2018-04-15 16:43:09 -07:00
Jason Volk
7b54dba291 ircd::db: Expose an interface for some counters; add ticker command. 2018-04-15 16:43:09 -07:00
Jason Volk
416d199736 ircd:Ⓜ️ Fix pretty(event) formatting. 2018-04-15 04:16:40 -07:00
Jason Volk
2dad8d8832 ircd::net::dns: Empty cache key assertions. 2018-04-15 02:44:28 -07:00
Jason Volk
0c78bf7a9b ircd::db: Add compaction interface. 2018-04-15 02:42:57 -07:00
Jason Volk
f7f2194745 ircd::db: Reenable the histogram collection. 2018-04-15 00:36:33 -07:00
Jason Volk
0a3259afae ircd::db: Custom table opts; table cache; introduce the bloom filter. 2018-04-14 23:10:09 -07:00
Jason Volk
f37176d698 ircd::net::dns: Enforce min ttl for cache entries; add conf option. 2018-04-14 18:35:48 -07:00
Jason Volk
de295777d0 ircd::net::dns: Improve/fix cache management related. 2018-04-14 18:13:19 -07:00
Jason Volk
b9cf0c9796 ircd::rfc1035: Comparison operator suite for record types. 2018-04-14 17:34:07 -07:00
Jason Volk
1ad4d58e43 ircd::net::dns: Move cache interfaces into cache class. 2018-04-14 17:34:07 -07:00
Jason Volk
756840b42c ircd::client: Add unique client id monotonic counter. 2018-04-14 17:15:06 -07:00
Jason Volk
69b0066c15 ircd::resource: Add routine to warmup caches after origin verification. 2018-04-14 17:15:06 -07:00
Jason Volk
cf22eacfd3 ircd::net::dns: Add static fire-and-forget callbacks for prefetching. 2018-04-14 17:15:06 -07:00
Jason Volk
e3b97871f9 ircd: Add function to return daemon's uptime. 2018-04-14 17:15:06 -07:00
Jason Volk
deb1a0a979 ircd::resource: Add chunked encoding response suite. 2018-04-13 23:19:43 -07:00
Jason Volk
3f72b7ce19 ircd::db: Update gopts; add seqnum option; fix missing readahead. 2018-04-13 22:46:31 -07:00
Jason Volk
7c92eb2757 ircd::server: Use system time for error time state. 2018-04-13 20:02:48 -07:00
Jason Volk
dc81d77c19 ircd::net: Improve/comment on various sundry DNS cache related. 2018-04-13 18:34:48 -07:00
Jason Volk
6ca4f6eec5 ircd::net: Expose interface for socket stat counter. 2018-04-13 17:24:07 -07:00
Jason Volk
69aeddad61 ircd::client: Reference the client's request handling context via class member. 2018-04-13 17:03:17 -07:00
Jason Volk
414133ba55 ircd::resource: Reset the client.request object after request. 2018-04-13 16:52:38 -07:00
Jason Volk
dd69acbad3 ircd::json::stack: Handle and properly propagate flusher exception out of stack. 2018-04-13 16:03:34 -07:00
Jason Volk
0b217b3474 ircd::client: Improve request exception propagation; propagate ctx::interrupted. 2018-04-13 15:46:16 -07:00
Jason Volk
14d90bf4a9 ircd:Ⓜ️:vm: Move temporary m.room.member effect to modules/m_room_member. 2018-04-13 14:54:11 -07:00
Jason Volk
45f8239f9b ircd:Ⓜ️:vm: Properly propagate a context interruption to the evaluator. 2018-04-12 23:07:46 -07:00
Jason Volk
56234556e8 ircd:Ⓜ️ Real uses for this prefer to include the user in the iteration. 2018-04-12 23:07:46 -07:00
Jason Volk
bd4a16fab1 ircd::db: Tweak sundry open options. 2018-04-12 23:07:46 -07:00
Jason Volk
b5dd434e7c ircd::db: Adjust db open and close log messages for where waiting happens. 2018-04-12 23:07:46 -07:00
Jason Volk
ae528af7cd ircd::db: Reduce the offloading to a wieldy statement. 2018-04-12 23:07:46 -07:00
Jason Volk
9dfd9f8258 ircd::net: No propagation from accept/handshake handlers; use debug error. 2018-04-12 23:07:45 -07:00
Jason Volk
cee7a17330 ircd:Ⓜ️:dbs: Purge old cruft; add various \briefs. 2018-04-12 23:07:45 -07:00
Jason Volk
455ff99b93 ircd::db: Error reporting and fallbacks for db property queries. 2018-04-12 23:07:45 -07:00
Jason Volk
a628f88206 ircd:Ⓜ️:room: Adjust expectations for fetching event after index seek. 2018-04-12 14:10:45 -07:00
Jason Volk
0a1a35fdf4 ircd:Ⓜ️:room::members: Improve interface; add user::id specific iteration closure. 2018-04-12 14:10:03 -07:00
Jason Volk
f9ade26b24 ircd:Ⓜ️:dbs: Workaround issues with incorrect std::tuple references. 2018-04-12 14:08:48 -07:00
Jason Volk
8bf0b4d093 ircd::net: Assert proper socket object semantics. 2018-04-12 12:52:14 -07:00
Jason Volk
28488eb54b ircd:Ⓜ️ Add messages iteration convenience interface to m::room. 2018-04-12 02:14:10 -07:00
Jason Volk
54e3719097 ircd::json: Consolidate authority for value defined() semantics. 2018-04-11 23:40:31 -07:00
Jason Volk
97ec3a62ab ircd::json: Fix bugs related to bool type. 2018-04-11 23:40:30 -07:00
Jason Volk
ed637d48f0 ircd:Ⓜ️:dbs: Fix issues with origins index key split. 2018-04-11 23:40:30 -07:00
Jason Volk
b3fa735f8d ircd:Ⓜ️ Minor constness fixes. 2018-04-11 23:40:30 -07:00
Jason Volk
8011b7dd9f ircd:Ⓜ️:room: Fix exception coming out of loop. 2018-04-11 23:40:30 -07:00
Jason Volk
4db39a1bcb ircd:Ⓜ️:state: Use loop condition rather than exception catch. 2018-04-11 23:40:30 -07:00
Jason Volk
9336b28095 ircd:Ⓜ️:state: Bound the stack frame size. 2018-04-11 23:40:30 -07:00
Jason Volk
b16aa7f55c ircd:Ⓜ️:state: Add get_node(nothrow) overload. 2018-04-11 23:40:30 -07:00
Jason Volk
82ef048d3f ircd:Ⓜ️ More complete presence interface getter interface stack. 2018-04-11 23:09:49 -07:00
Jason Volk
75fdf2f518 ircd:Ⓜ️:user: Add naive user commonality interface. 2018-04-11 23:09:49 -07:00
Jason Volk
867a3aa9dc ircd:Ⓜ️:user::rooms: Allow empty membership string intuitive behavior. 2018-04-11 15:56:37 -07:00
Jason Volk
33ca15e45d ircd:Ⓜ️:user::rooms: Add a count() interface. 2018-04-11 15:47:51 -07:00
Jason Volk
55e4a8fcaf ircd:Ⓜ️ Split user's rooms iteration into separate interface. 2018-04-11 15:38:01 -07:00
Jason Volk
66e81327d0 ircd:Ⓜ️ Order rooms.h below user.h; add alias interface for user's rooms. 2018-04-11 15:10:45 -07:00
Jason Volk
e9df8b699c ircd:Ⓜ️ Add user room membership convenience interface; apply. 2018-04-11 14:18:38 -07:00
Jason Volk
516d1797c9 ircd::server: Clear op_fini flag on err_clear(). 2018-04-10 21:02:34 -07:00
Jason Volk
baf8b192b1 ircd::json: Add the stack flusher semantic. 2018-04-10 19:32:56 -07:00
Jason Volk
9270937957 ircd::json: Simplify internal stack appending; pass expected append size. 2018-04-10 17:00:57 -07:00
Jason Volk
b244959c35 ircd::json: Fix stack::object error. 2018-04-10 15:11:44 -07:00
Jason Volk
bc4cb5cf8c ircd::json: Allow stack objects to have dtor called manually to close JSON. 2018-04-10 14:17:56 -07:00
Jason Volk
102ef2cb47 ircd::json: Object semantics for json::stack classes. 2018-04-10 13:48:14 -07:00
Jason Volk
d3805b410e ircd:Ⓜ️:v1: Add conf item for fetch_head timeout. 2018-04-10 13:20:31 -07:00
Jason Volk
fe90dd4d63 ircd:Ⓜ️ Add convenience interface for rooms / iterations. 2018-04-09 20:12:03 -07:00
Jason Volk
952571a3ad ircd:Ⓜ️ Add key iteration to room::state interface. 2018-04-09 19:24:56 -07:00
Jason Volk
28d4ebfba2 ircd::db: Improve the db::has() query: no value read when using iterator. 2018-04-09 16:57:13 -07:00
Jason Volk
dc5a1554f6 ircd::db: Fallback wo/ user equality comparator. 2018-04-09 16:50:50 -07:00
Jason Volk
294aec368c ircd:Ⓜ️:dbs: Fix issues with prefixing related. 2018-04-09 16:50:50 -07:00
Jason Volk
963853ee10 ircd:Ⓜ️ Add init argument to pass dbopts. 2018-04-09 15:57:08 -07:00
Jason Volk
1268d90fb0 ircd::db: RocksDB to 5.12.2. 2018-04-09 15:57:05 -07:00
Jason Volk
e160205959 ircd::db: Mark sundry db open options related. 2018-04-09 15:56:14 -07:00
Jason Volk
3e27f5be06 ircd::db: Fix/tweak db fsck log messages. 2018-04-09 11:52:06 -07:00
Jason Volk
343a1f38a3 ircd::db: Improve dbopts string manipulation related. 2018-04-09 11:51:36 -07:00
Jason Volk
6dcc7e29df ircd::fmt: Leave useful note for assertion. 2018-04-09 11:48:20 -07:00
Jason Volk
572996ae23 ircd::client: Demote inactivity log message. 2018-04-09 10:17:57 -07:00
Jason Volk
23b1a7e032 ircd::db: Workaround issue querying the filtration after db reopen. 2018-04-08 22:11:29 -07:00
Jason Volk
7fb3047f68 ircd:Ⓜ️ 11.18.2.1 account_data w/ central linkage. 2018-04-08 22:11:29 -07:00
Jason Volk
8625823d23 ircd:Ⓜ️:v1: Add public_rooms requestor. 2018-04-08 22:11:28 -07:00
Jason Volk
5621da53bc ircd:Ⓜ️:v1: Add event_auth requestor. 2018-04-08 12:35:27 -07:00
Jason Volk
f3539f3dbe ircd:Ⓜ️ Switch to ripemd160 for user::room. 2018-04-08 12:29:55 -07:00
Jason Volk
dcd343356d ircd::openssl: Use custom internal allocation strategy. 2018-04-08 12:29:55 -07:00
Jason Volk
eb1d1c2482 ircd::openssl: Eliminate allocation of hashing ctx for oneshot ctor. 2018-04-08 12:29:55 -07:00
Jason Volk
d41096cf15 ircd::openssl: Assertions for hashing ctx existing. 2018-04-08 12:29:52 -07:00
Jason Volk
c04ea62135 ircd:#️⃣ Deinline the abstract finalize() defaulter. 2018-04-08 12:29:29 -07:00
Jason Volk
5f441c417f ircd::openssl: Support ripemd160. 2018-04-08 12:29:25 -07:00
Jason Volk
37a0b0362b ircd::net::dns: Post callback away from timeout worker ctx's stack. 2018-04-07 11:20:22 -07:00
Jason Volk
fb6a4fc6ac ircd::ctx: Bypass the exception_handler assertion if on bare metal. 2018-04-07 11:08:07 -07:00