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

3332 commits

Author SHA1 Message Date
Jason Volk 299e4a2256 ircd::net::dns::resolver: Disable interrupt on shutdown; obtain mutex. 2019-08-25 17:33:06 -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 4bf39ee1f2 modules: Start an m.room.name module w/ length check conforms hook. 2019-08-25 14:28:20 -07:00
Jason Volk c1e3b9f405 modules/console: Add a user mitsein command. 2019-08-25 14:28:20 -07:00
Jason Volk 5870f1d90b modules/client/sync/rooms/timeline: Improve messages iteration event_idx/event_id seek related. 2019-08-25 13:59:05 -07:00
Jason Volk 9a7f53e33c modules/magick: Document and improve #89 solution. 2019-08-25 13:54:05 -07:00
Jason Volk 3d445fd26c modules/client/rooms/members: Add prefetch iterations. 2019-08-24 20:37:37 -07:00
Jason Volk 24a27f4a20 modules/magick: (Fixes #89) 2019-08-24 20:26:05 -07:00
Jason Volk ca681b8c3c modules/conf: Prefetch on init. 2019-08-24 19:41:57 -07:00
Jason Volk 7d6180dd23 modules/m_init_backfill: Bypass initial backfill on read_only/write_avoid. 2019-08-24 19:19:34 -07:00
Jason Volk 48dfc78473 modules/client/send_to_device: Add origin to injected event. 2019-08-23 21:13:53 -07:00
Jason Volk 01936d1a7f modules/m_vm: Condition room_id validity (for alternative targets). 2019-08-23 21:12:16 -07:00
Jason Volk 1677137440 modules/client/keys/query: Break up large json::stack append. 2019-08-23 18:40:06 -07:00
Jason Volk 1a5f27a2de modules/client/keys/query: Increase buffer. 2019-08-23 18:27:51 -07:00
Jason Volk 29ab5a7563 Revert "modules/m_init_backfill: Disable by default for now."
This reverts commit f9d9d5ef55.
2019-08-23 18:01:43 -07:00
Jason Volk 9877d3bdf0 ircd:Ⓜ️:vm: Conditions for present state table. 2019-08-23 17:17:01 -07:00
Jason Volk c4d10e3c5a modules/m_event: Tweak flags. 2019-08-23 16:27:32 -07:00
Jason Volk e39a0807a2 modules/console: Improve user read output. 2019-08-23 16:09:52 -07:00
Jason Volk 97c9e4e04d modules/m_command: Enrich the arguments for the read command. 2019-08-23 15:11:28 -07:00
Jason Volk 60de3edb6f modules/m_receipt: Minor rename. 2019-08-23 14:54:37 -07:00
Jason Volk 01a751ca96 modules/console: Add rooms head reset cmd. 2019-08-22 09:26:02 -07:00
Jason Volk 8ad0d46cff ircd:Ⓜ️:room::state: Move rebuild iterations out from interface. 2019-08-22 08:02:17 -07:00
Jason Volk 5a22fa7370 ircd:Ⓜ️:room::auth: Propagate interruption. 2019-08-22 07:03:59 -07:00
Jason Volk 7bd716a103 ircd:Ⓜ️:room::auth: Improve conditions to conduct check. 2019-08-22 06:02:02 -07:00
Jason Volk 652ffa8ea2 ircd:Ⓜ️:room::state: Improve coarse rebuild interface. 2019-08-22 06:02:02 -07:00
Jason Volk cf662a833a modules/m_event: Simplify format. 2019-08-22 03:18:58 -07:00
Jason Volk 118efe5cc7 ircd:Ⓜ️:room::state: Remove cruft. 2019-08-22 02:38:29 -07:00
Jason Volk ac08202346 ircd:Ⓜ️:room::auth::check: Query for user mxid state_key only. 2019-08-22 02:25:03 -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 d3a82de4cd modules/console: Improve room state output with pretty_stateline(). 2019-08-21 02:29:09 -07:00
Jason Volk 586468501f modules/console: Show some top auth data in room top. 2019-08-21 01:33:05 -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 d55bb7a762 modules/m_room_create: Fix overzealous condition. 2019-08-20 22:59:05 -07:00
Jason Volk 04efec92e3 modules/console: Improve room state space output format. 2019-08-20 22:57:17 -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 224c67032a modules/console: Show help rather than bad command if possible. 2019-08-20 21:23:18 -07:00
Jason Volk a5e422cc03 modules/console: Minor simplify cmd. 2019-08-20 21:23:18 -07:00
Jason Volk 2638a316b6 modules/magick: Add missing export attributes. 2019-08-20 21:23:18 -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 d320ce0b47 modules/console: Add basic room messages count as default for room count cmd. 2019-08-20 21:23:18 -07:00
Jason Volk 9a0e9c0356 modules/console: Add room head count cmd. 2019-08-20 01:25:18 -07:00
Jason Volk 26058e86ce ircd:Ⓜ️:users: Improve users iteration w/ optimized events:: interface. 2019-08-19 19:44:03 -07:00
Jason Volk 6a8a7451d9 ircd:Ⓜ️:events: Optimize query pattern for sender iterations. 2019-08-19 19:35:58 -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 14a0834c48 modules/web_hook: Support organization/member_invited action. 2019-08-19 15:29:40 -07:00
Jason Volk 50d18d73cb modules/web_hook: Support organization/member_removed detail; tweak format. 2019-08-19 15:23:54 -07:00
Jason Volk bfc6a522f2 modules/console: Improve room top format. 2019-08-18 08:48:26 -07:00
Jason Volk 7016241df2 modules/client/rooms/state: Fix param check; avoid parv[] assertions. 2019-08-18 07:31:40 -07:00
Jason Volk 4d88f4bb4f ircd:Ⓜ️:create: Implement trusted_private_chat preset power_levels. 2019-08-18 06:48:13 -07:00
Jason Volk 3418f85a67 Revert "m::create: Ensure m.room.join_rules event is created on spec preset rooms."
This reverts commit 0a2510bc89.
2019-08-18 06:15:02 -07:00
Jason Volk 163fda95e0 modules/federation/make_leave: Send room_version in response top level. (#18) 2019-08-18 05:59:55 -07:00
Jason Volk 19c2d7da8e ircd:Ⓜ️:room::auth: Fix incorrectly resolved index() call. (#18) 2019-08-18 05:56:08 -07:00
Jason Volk 52657ca410 ircd:Ⓜ️:room::auth::chain: Simplify interface. 2019-08-18 05:46:42 -07:00
Jason Volk 8baa2265e4 modules/m_room_join_rules: Fix circular dep w/ specific import. (#109) 2019-08-18 05:34:59 -07:00
Jason Volk a49560cd1a modules/console: Fix argument interpretation to make the state::space key properly. 2019-08-18 04:57:18 -07:00
Jason Volk 01df345789 modules/m_room_auth: Add room check to rule 2. 2019-08-18 04:13:12 -07:00
Jason Volk 911e68e5f5 ircd:Ⓜ️:room::auth: Fetch join_rules for invite auth_events. 2019-08-18 04:13:12 -07:00
Jason Volk 17846bdeb1 modules/net_dns: Simplify room create hook related. 2019-08-18 03:09:34 -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 e3ced849ee ircd:Ⓜ️:room: Remove old cruft. 2019-08-18 00:32:01 -07:00
Jason Volk 59a6d4f6b5 modules: Stub modules in place for m_event/m_room; reorder load list. 2019-08-18 00:32:00 -07:00
Jason Volk 1ec8ab2d0d modules/key/server: Fix assertion from 7420bf1156. (Fixes #129) 2019-08-17 11:58:46 -07:00
Jason Volk 8b41b95067 modules/m_room_member: Relax target member auth event check in 5. c. iii. 2019-08-17 11:53:31 -07:00
Jason Volk 23a5c99165 modules/federation/invite2: Fix room version unquoting. (#18) 2019-08-17 11:50:08 -07:00
Jason Volk 5e6fcf8758 modules/m_room_member: Only enforce 5. b. iii. if sender member auth event supplied in the tab. 2019-08-17 09:42:48 -07:00
Jason Volk 7fa5948fd3 modules/vm: Check auth during eval. 2019-08-17 08:34:46 -07:00
Jason Volk b18a1a3ebd modules/client/createroom: Remove the parent property. 2019-08-17 08:30:58 -07:00
Jason Volk 1e8b5b91da modules/client/send_to_device: Fix top object. 2019-08-17 07:54:16 -07:00
Jason Volk 167c669468 modules/m_typing: Fix origin property requirement. (regression from c760eb0a) 2019-08-17 04:17:36 -07:00
Jason Volk c63374849a modules/client/sync/rooms/ephemeral/receipt: Make ephemeral/receipt phase aware; no initial. 2019-08-17 04:13:57 -07:00
Jason Volk 9bab37d585 modules/client/sync/rooms/account_data: Make handler phase aware. (closes #105) 2019-08-17 03:43:01 -07:00
Jason Volk add1bb6dac modules/m_room_power_levels: Use exception for failure. 2019-08-17 03:29:09 -07:00
Jason Volk 45a435d8f9 modules/console: Add cmd to set a user presence. 2019-08-17 02:59:13 -07:00
Jason Volk ad126fecdf modules/federation/sender: Add branch to support send from user to servers in all rooms. 2019-08-17 02:59:13 -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 9973c80916 modules/m_presence: Move federation send hook here; complete functionality. 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 5f4b6d5f1a ircd:Ⓜ️:user::filter: Move remaining to module. 2019-08-16 22:18:30 -07:00
Jason Volk a295d52f89 modules/client/sync/presence: Elide offline presence events on initial sync. 2019-08-16 06:35:18 -07:00
Jason Volk 09b52a2e65 modules/m_room_redaction: Make redacts target room check an auth rule. 2019-08-16 05:32:32 -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 34c1b13fa3 modules/client/profile: Ensure there's an eptr before calling rethrow. 2019-08-16 02:19:49 -07:00
Jason Volk d17286515b ircd:Ⓜ️:room::state: Simplify/consolidate iteration interface. 2019-08-16 02:19:49 -07:00
Jason Volk 6727f14326 modules/console: Use the interface provided prefix type iteration here. 2019-08-16 02:19:49 -07:00
Jason Volk 5ce05fade4 modules/client/sync/rooms/state: Log an error on unexpected fetch failure. 2019-08-16 02:19:49 -07:00
Jason Volk dc47cc7a93 modules/client/profile: Wrap and rethrow remote http error in m::error here. 2019-08-16 02:19:49 -07:00
Jason Volk ec96b6564b modules/net_dns: Improve module init/fini; add cache completion waiter. 2019-08-16 02:19:49 -07:00
Jason Volk 49e1fd1eea ircd:Ⓜ️ Move user::mitsein to module. (#109) 2019-08-16 02:19:49 -07:00
Jason Volk 76de6b4ac2 ircd:Ⓜ️:create: Cleanup/Comments for m.room.create/room create related. 2019-08-16 02:19:49 -07:00
Jason Volk 65e79a584a ircd:Ⓜ️ Improve room_version event_id related conditions. 2019-08-16 02:19:48 -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 183241b506 modules/client/presence: Remove presence lists stub. (matrix-org/matrix-doc#1817) 2019-08-16 02:19:48 -07:00