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

1105 commits

Author SHA1 Message Date
Jason Volk 08ea932c59 ircd:Ⓜ️ Simplify/remove homeserver::rooms related. 2019-10-04 12:48:02 -07:00
Jason Volk 723997fd2e ircd:Ⓜ️:homeserver: Additional construction; bootstrap related. 2019-10-03 12:15:23 -07:00
Jason Volk 8764f523d4 ircd:Ⓜ️:vm: Move core from modules to matrix; split units. 2019-10-03 12:14:29 -07:00
Jason Volk dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk 9c49e8bdb5 ircd:Ⓜ️ Remove tls fingerprint related. 2019-09-30 20:38:57 -07:00
Jason Volk 31ee90c056 ircd:Ⓜ️:self: Move the signoff/signon greeting to self.cc. 2019-09-30 14:23:28 -07:00
Jason Volk 0b0e903dc7 construct: Add matrix unit; move instance out from ircd. 2019-09-30 14:23:28 -07:00
Jason Volk 85845dcff2 Abstract ircd::resource from ircd:Ⓜ️:resource; fix header stack. 2019-09-29 14:00:02 -07:00
Jason Volk 5f4d8afd86 ircd:Ⓜ️:user: Remove noexcept for I/O interrupt; minor cleanup. 2019-09-28 01:19:25 -07:00
Jason Volk 8259ac6a31 ircd:Ⓜ️ Improve fetch init/fini for now. 2019-09-27 21:18:07 -07:00
Jason Volk f6992ca3e1 matrix: Split matrix base unit. 2019-09-27 19:35:26 -07:00
Jason Volk 183e44e0b6 modules: Distill all API's from modules up to matrix lib. 2019-09-27 19:35:26 -07:00
Jason Volk 89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00
Jason Volk 7934756858 ircd:Ⓜ️ Split user registration API from client/register; minor reorg. 2019-09-27 19:35:26 -07:00
Jason Volk 0b4ec3873c ircd:Ⓜ️:room: Make inline ctor noexcept. 2019-09-26 14:03:43 -07:00
Jason Volk 8880eadfd5 ircd:Ⓜ️:room::events: Additional prefetch()/preseek() related interfaces. 2019-09-24 15:46:11 -07:00
Jason Volk 4254960ee1 ircd:Ⓜ️ Simplify m::visible(); refactor implementation. 2019-09-24 15:16:19 -07:00
Jason Volk 9cb0f46440 ircd:Ⓜ️:room::events: Cleanup/simplify; reorg interface. 2019-09-24 14:31:14 -07:00
Jason Volk 575bacee8d ircd:Ⓜ️:room::events: Simplify count() suite. 2019-09-23 23:26:07 -07:00
Jason Volk f9e5ece672 ircd:Ⓜ️:get: Fix false assertion when no result. 2019-09-22 21:13:45 -07:00
Jason Volk 083493dd1c ircd:Ⓜ️:room: Minor cleanup; move ctor defs out of class. 2019-09-19 11:31:10 -07:00
Jason Volk c12205e39b ircd:Ⓜ️:room::state: Refactor the prefetch() interface. 2019-09-18 13:39:02 -07:00
Jason Volk 83cce03f6f ircd:Ⓜ️:room::state: Add prefetch() support to state::history/state::space. 2019-09-18 13:30:15 -07:00
Jason Volk 601f26983e ircd:Ⓜ️ Support vector of membership states in optimal aggregate query. 2019-09-18 12:30:51 -07:00
Jason Volk 0d25e68c50 ircd:Ⓜ️ Support query for non-membership with empty string to interface. 2019-09-18 12:30:51 -07:00
Jason Volk 11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk e94a21aa7d ircd:Ⓜ️:redacted: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk 26154de7c4 ircd:Ⓜ️:event::refs: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk a3163a5ae7 ircd:Ⓜ️ Use util::boolean for m::redacted. 2019-09-17 21:06:03 -07:00
Jason Volk b3323c3f8d ircd:Ⓜ️:event::append: Add option to bypass redaction query. 2019-09-17 20:17:37 -07:00
Jason Volk dc1364c735 ircd:Ⓜ️:media::block: Add zero-copy block::get() closure. 2019-09-17 20:17:37 -07:00
Jason Volk e267b5232d ircd:Ⓜ️:media::block: Add prefetch() to interface. 2019-09-17 11:35:50 -07:00
Jason Volk 6102c0a8b2 ircd:Ⓜ️:room::events: Improve comment [skip ci]. 2019-09-17 11:03:30 -07:00
Jason Volk b3f646b478 ircd:Ⓜ️:room::events: Add prefetch() convenience to interface. 2019-09-17 10:35:58 -07:00
Jason Volk a9b86c5594 ircd:Ⓜ️:fetch: Add an attempt_limit option to interface; minor cleanup. 2019-09-16 12:30:36 -07:00
Jason Volk 49ed79e9df ircd:Ⓜ️:fetch: Rename opts::limit to opts::backfill_limit. 2019-09-16 12:09:30 -07:00
Jason Volk 568a2881df ircd:Ⓜ️:event::refs: Branch on the event_idx sentinel here. 2019-09-15 20:21:17 -07:00
Jason Volk b4b07debbd ircd:Ⓜ️:event::append: Add option to elide query for state prev_content. 2019-09-15 19:47:03 -07:00
Jason Volk ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk 6450d38c04 ircd:Ⓜ️:rooms: Split rooms::summary header. 2019-09-14 17:44:49 -07:00
Jason Volk 9319df1a1b ircd:Ⓜ️:rooms::summary: Export state key manip utils to interface. 2019-09-14 16:08:33 -07:00
Jason Volk 5493376731 ircd:Ⓜ️ Start a search namespace; add spec tuple. 2019-09-14 13:51:24 -07:00
Jason Volk 6da9219039 ircd:Ⓜ️:feds: Give the op enum more prominence. 2019-09-13 23:16:07 -07:00
Jason Volk a2ffebeb06 ircd:Ⓜ️:rooms::summary: Use server name as fetch target. 2019-09-13 18:41:06 -07:00
Jason Volk 0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk 54c29274f2 ircd:Ⓜ️:room::server_acl: Propagate exceptions through check(). 2019-09-13 14:10:27 -07:00
Jason Volk 9c68d01d86 ircd:Ⓜ️:room: Remove cruft. 2019-09-12 11:57:42 -07:00
Jason Volk fac2a1e070 ircd:Ⓜ️:vm::eval: Add count(event_id) to static interface. 2019-09-11 12:51:54 -07:00
Jason Volk 0241f2b9a1 ircd:Ⓜ️:room::members: Add host argument to interface stack for more efficient queries. 2019-09-11 10:53:48 -07:00
Jason Volk ec4c6c46ac ircd:Ⓜ️:vm: Partial revert of a35328f38; remove mutex; use sequencing. 2019-09-10 14:45:54 -07:00
Jason Volk ac572aeeaa ircd:Ⓜ️ Add branch and overload for event::id in room_id() suite. 2019-09-09 19:34:27 -07:00
Jason Volk a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk fda4c9d0ce ircd:Ⓜ️:append: Add some \briefs. [skip ci] 2019-09-08 15:33:56 -07:00
Jason Volk 82ef916256 ircd:Ⓜ️:events: Add rebuilder for type/sender meta columns. 2019-09-07 20:35:27 -07:00
Jason Volk 2739696e8f ircd:Ⓜ️:rooms: Add options construction from string; simplify. 2019-09-07 20:05:48 -07:00
Jason Volk 415491b9b6 ircd:Ⓜ️:rooms: Improve options interface for meta-characteristics. 2019-09-07 16:56:17 -07:00
Jason Volk d1a64471a2 ircd:Ⓜ️:room::members: Move the present join optimization implementation from origins. 2019-09-07 16:56:17 -07:00
Jason Volk f186fb6e12 ircd:Ⓜ️:room: Redefine and expand the local_only(room) suite. 2019-09-07 16:06:45 -07:00
Jason Volk 6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk 425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk 6831f195aa ircd:Ⓜ️:room::events: Add viewport metric concept; conf item. 2019-09-05 18:10:44 -07:00
Jason Volk c570e04622 ircd:Ⓜ️:event::prev: Add _events_exist() convenience suite. 2019-09-05 18:10:44 -07:00
Jason Volk f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk 1210523757 ircd::ctx: Support shared futures. 2019-09-03 15:56:14 -07:00
Jason Volk 74679a3a5f ircd:Ⓜ️:fetch: Fix initialization order for server::request buf; add linkage for dtor. 2019-09-03 14:43:34 -07:00
Jason Volk 52fd0d1b2e ircd:Ⓜ️:room::events::missing: Add limited iteration overload. 2019-08-31 00:17:11 -07:00
Jason Volk 003575c418 ircd:Ⓜ️:room::events: Rename missing to horizon; reimplement missing. 2019-08-30 23:43:34 -07:00
Jason Volk 1d835f2ed2 ircd:Ⓜ️:dbs: Minor reorder. 2019-08-30 23:09:21 -07:00
Jason Volk 217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk 3d5b2ca262 ircd:Ⓜ️:room::events::missing: Add count() to interface. 2019-08-30 22:57:15 -07:00
Jason Volk 91862e381f ircd:Ⓜ️ Add additional query() convenience template. 2019-08-30 21:32:02 -07:00
Jason Volk b38cf0012e ircd:Ⓜ️:event::horizon: Improve some comments. 2019-08-30 21:31:40 -07:00
Jason Volk 10cb380473 ircd:Ⓜ️:room::events: Reorg sounding / gaps related interfaces; reorder definitions. 2019-08-30 19:41:48 -07:00
Jason Volk 6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk fc61fd6b70 ircd:Ⓜ️:fetch: Add backfill support; minor reorg. 2019-08-29 22:14:08 -07:00
Jason Volk a93f5a54d6 ircd:Ⓜ️:fetch: Support v1::event_auth operation with interface. 2019-08-29 22:14:07 -07:00
Jason Volk 9b23b4d907 ircd:Ⓜ️:fetch: Add remote hinting to fetch::opts. 2019-08-29 22:14:07 -07:00
Jason Volk ac573cd21d ircd:Ⓜ️:fetch: Cleanup/document interface; add basis for operation abstraction. 2019-08-29 21:32:10 -07:00
Jason Volk fb8e3de485 ircd:Ⓜ️:fed::event: Minor cleanup. 2019-08-29 18:27:08 -07:00
Jason Volk b39676f85a ircd: Add some timepoint convenience macros. 2019-08-29 17:12:15 -07:00
Jason Volk 7be4137c7e ircd:Ⓜ️:feds: Add some comments/documentation. [skip ci] 2019-08-29 14:18:49 -07:00
Jason Volk 035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk 04b17bc9d7 ircd:Ⓜ️:typing: Interface cleanup. 2019-08-28 16:48:36 -07:00
Jason Volk 7b33dd1775 ircd:Ⓜ️🧾 Add briefs on interface. 2019-08-28 14:57:26 -07:00
Jason Volk 1323b30f34 ircd:Ⓜ️:fetch: Move auth_chain() to vm::fetch module. 2019-08-27 20:58:52 -07:00
Jason Volk 766dfe027d ircd:Ⓜ️:keys::cache: Add has() to interface. 2019-08-27 16:26:58 -07:00
Jason Volk c57bc9077c ircd:Ⓜ️:fetch: Add future result interface; refactor eval out of flow. (fixes #103) (closes #131)
modules: Split m_vm_fetch from m_fetch.
2019-08-26 16:17:09 -07:00
Jason Volk 9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk 875b03fa1e ircd:Ⓜ️:room: Simplify prototypes. 2019-08-25 19:44:00 -07:00
Jason Volk 885499ad99 ircd:Ⓜ️:room: Start a spec faithful display_name(room) diagnostic. 2019-08-25 16:05:10 -07:00
Jason Volk 42b689a7a0 ircd:Ⓜ️:room::power: Document with some usage details. 2019-08-25 15:22:43 -07:00
Jason Volk 8ad0d46cff ircd:Ⓜ️:room::state: Move rebuild iterations out from interface. 2019-08-22 08:02:17 -07:00
Jason Volk 652ffa8ea2 ircd:Ⓜ️:room::state: Improve coarse rebuild interface. 2019-08-22 06:02:02 -07:00
Jason Volk 4dba866c64 ircd:Ⓜ️:room::auth: Rename to M_AUTH_FAIL. 2019-08-22 03:15:59 -07:00
Jason Volk 118efe5cc7 ircd:Ⓜ️:room::state: Remove cruft. 2019-08-22 02:38:29 -07:00
Jason Volk 061b85de5b ircd:Ⓜ️:room::auth: Reorg check() stack interface related. 2019-08-22 02:25:03 -07:00
Jason Volk 065c0bd426 ircd:Ⓜ️:media: Start a weak central interface; move core utils into namespace. 2019-08-22 01:53:28 -07:00
Jason Volk 15dc7d17ef modules/m_event: Add pretty_stateline() for state event detail. 2019-08-21 00:40:20 -07:00
Jason Volk 063bd39b09 ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation. 2019-08-20 22:26:52 -07:00
Jason Volk 5e87a2e941 ircd:Ⓜ️:room::auth: Improve error hierarchy. 2019-08-20 22:26:52 -07:00
Jason Volk 7e8d8666ff ircd:Ⓜ️:room::state: Add additional event::idx based tools. 2019-08-20 21:36:36 -07:00
Jason Volk fd953d4b10 ircd:Ⓜ️:events::type: Add has()/has_prefix() to interface. 2019-08-20 21:23:18 -07:00
Jason Volk 204989802d ircd:Ⓜ️:events: Split and reorganize API sections into specific namespaces. 2019-08-20 21:23:18 -07:00
Jason Volk 0e956dbaca ircd:Ⓜ️:dbs: Start a directory README; add some comments. 2019-08-20 21:23:18 -07:00
Jason Volk ac03c9a13b ircd: Use bool return values through prefetching stack. 2019-08-19 21:18:26 -07:00
Jason Volk e58434705e ircd:Ⓜ️:dbs: Augment event_sender with a second key domain. 2019-08-19 18:40:12 -07:00
Jason Volk 0c317bdf9d ircd:Ⓜ️:room::state::space: Add nullary count() to interface. 2019-08-18 08:33:00 -07:00
Jason Volk e38371d50c ircd:Ⓜ️:room: Add basic count() suite. 2019-08-18 08:20:11 -07:00
Jason Volk abca51deea ircd:Ⓜ️:room::power: Add cheap composer for augmented default power_levels content. 2019-08-18 06:38:10 -07:00
Jason Volk 52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk cb94558c4a ircd:Ⓜ️:fed: Remove opts inline constructor due to shared linkage issues. 2019-08-18 04:13:12 -07:00
Jason Volk 8454ae0275 ircd:Ⓜ️:room::head: Simplify interface; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk 59618c6a44 ircd:Ⓜ️ Move event::auth to room::auth; move to module. 2019-08-18 03:09:34 -07:00
Jason Volk 7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk 1541b2d52e ircd:Ⓜ️:user: Move rooms::origins to user::servers interface. 2019-08-17 02:59:13 -07:00
Jason Volk 34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -07:00
Jason Volk 16f1ba2b11 ircd:Ⓜ️:vm: Fix dependence on room_id without bypass mechanism in injector. 2019-08-17 02:59:13 -07:00
Jason Volk c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk 3a0bfc8db9 ircd:Ⓜ️:user::room: Add a one-liner is(user_room) test. 2019-08-16 23:54:04 -07:00
Jason Volk 100f5c646a ircd:Ⓜ️:sync: Fix phased polylog invocation conditions; eliminate initial flag. (#105) 2019-08-16 04:50:39 -07:00
Jason Volk fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk 125ff95875 ircd:Ⓜ️:room::state: Simplify util interface arguments. 2019-08-16 02:25:50 -07:00
Jason Volk d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk aaa015c6b8 ircd:Ⓜ️:name: Add room_version as a property name. 2019-08-16 02:19:48 -07:00
Jason Volk 1c42206307 ircd:Ⓜ️:feds: Add an exclude_myself option. 2019-08-14 01:52:32 -07:00
Jason Volk 3d808022ed ircd:Ⓜ️:feds: Rename interface function. 2019-08-14 01:26:02 -07:00
Jason Volk fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk c95d1e56ee ircd:Ⓜ️:init: Add preliminary worker context loop for backfill unit. (#78) 2019-08-13 23:39:05 -07:00
Jason Volk 1bea1d2265 ircd:Ⓜ️:room::origins: Add empty(). 2019-08-13 05:35:42 -07:00
Jason Volk 74cef5d74d ircd:Ⓜ️:rooms: Add room::lonly() related to interface. 2019-08-13 05:09:14 -07:00
Jason Volk c7f9521a3f ircd:Ⓜ️:users: Rename for consistency. 2019-08-13 03:00:08 -07:00
Jason Volk ea4d74967b ircd:Ⓜ️:events: Improve header comments.
ircd:Ⓜ️:dbs: Fix typos.
2019-08-13 01:22:13 -07:00
Jason Volk 84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk 76889eab6e ircd:Ⓜ️:user::highlight: Add for_each() to interface; simplify stack (#87). 2019-08-12 04:10:28 -07:00
Jason Volk f74ddd0171 ircd:Ⓜ️ Add back the id::NODE sigil; add to room_id() translation. 2019-08-12 01:39:16 -07:00
Jason Volk f24bf54799 ircd:Ⓜ️ Eliminate the user::users room references. 2019-08-12 01:39:16 -07:00
Jason Volk 0c05241fec ircd:Ⓜ️:users: Refactor !users room out of the users:: interface. 2019-08-11 23:30:50 -07:00
Jason Volk 9a3f37c0af ircd:Ⓜ️:sync: Remove cruft. 2019-08-11 07:51:42 -07:00
Jason Volk 8bce90fbf3 modules/client/keys/upload: Properly implement one_time_keys upload. (Fixes #9) 2019-08-09 23:34:20 -07:00
Jason Volk 3fe4baba4f ircd:Ⓜ️:user::highlight: Improve highlight matching quality. (Fixes #122) 2019-08-07 18:42:20 -07:00
Jason Volk ac14be5a01 ircd:Ⓜ️:user::highlight: Match -at-room. (Closes #118) 2019-08-07 00:41:08 -07:00
Jason Volk e0fec1e81d modules/client/sync: Add device_id to sync data. 2019-08-06 19:18:03 -07:00
Jason Volk f3ada0ed9c ircd:Ⓜ️:device: Add access_token_to_id() lookup suite. 2019-08-06 18:33:42 -07:00
Jason Volk eddc5b3b55 ircd:Ⓜ️:event::append: Add properties mask to opts; centralize. (Fixes #119) 2019-08-05 17:54:00 -07:00
Jason Volk 3dfb593dec modules/m_room_aliases: Consolidate state_key creation; case desensitize. 2019-08-02 22:01:00 -07:00
Jason Volk be4a33c136 ircd:Ⓜ️🆔 Increase the buf SIZE constant to the next pow2. 2019-08-02 22:00:58 -07:00
Jason Volk d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00