0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-19 06:58:53 +02:00
Commit graph

3284 commits

Author SHA1 Message Date
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
Jason Volk
593c21ce46 ircd:Ⓜ️:vm: Minor init/fini infolog msg tweak. 2019-08-16 02:19:48 -07:00
Jason Volk
87717bc10b modules/console: Augment room state rebuild present with remote_joined_only option. 2019-08-16 02:19:48 -07:00
Jason Volk
7fb0958080 ircd::json::tuple: Split additional non-member templates into header; constexpr member get()/at(). 2019-08-15 00:05:48 -07:00
Jason Volk
08120bb194 modules/client/rooms/relations: Improve w/ chunked encoding; visibility checks; event append. (#126) 2019-08-14 23:56:24 -07:00
Jason Volk
74bd6cfabf modules/client/rooms: Implement Client (unstable) rooms/relations. (Closes #126) 2019-08-14 09:28:05 -07:00
Jason Volk
f9d9d5ef55 modules/m_init_backfill: Disable by default for now. 2019-08-14 09:13:29 -07:00
Jason Volk
58b4fe8d2b modules/client/sync/rooms/unread_notifications: Apply the exposure depth paradigm to linear update. 2019-08-14 03:34:24 -07:00
Jason Volk
c01f19080b ircd:Ⓜ️:init::backfill: add conf item to enable worker. 2019-08-14 02:47:39 -07:00
Jason Volk
e6a9394a46 ircd:Ⓜ️:init::backfill: Acquire remote head.
ircd:Ⓜ️:init::backfill: To the fetch unit.
2019-08-14 02:38:02 -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
67f6a36b3f ircd:Ⓜ️:fetch: Declare lt operators above request set. 2019-08-13 23:39:05 -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
623a283671 modules/client/directory/room: Implement Client 10.2.3 DELETE roomAlias. 2019-08-13 22:12:48 -07:00
Jason Volk
da495a8810 modules/client/directory/room: Require authentication for PUT. 2019-08-13 22:09:25 -07:00
Jason Volk
423284547d modules/client/directory/room: Remove power check. (Fixes #128) 2019-08-13 22:01:51 -07:00
Jason Volk
e828dfbf13 mocdules/client/directory/room: Move existing check into loop; add comments. 2019-08-13 22:00:49 -07:00
Jason Volk
743c2331ae modules/client/directory/room: Fix type for log va_rtti. 2019-08-13 21:40:51 -07:00
Jason Volk
6df832607f modules: Use m.notice msgtype for html responses. 2019-08-13 07:15:39 -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
94354e2d63 modules/client/thirdparty/protocols: Update the URL to shut R!ot up. [skip ci] 2019-08-13 00:08:32 -07:00
Jason Volk
84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk
2f4b05afdf modules/client/notifications: Add stub array. (#87) 2019-08-12 04:26:22 -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
a4d61ba51b modules/m_receipt: Only broadcast if the user has membership=join. 2019-08-12 03:40:56 -07:00
Jason Volk
9b2a227294 modules/web_hook: Fix quotations around author name. 2019-08-12 03:29:11 -07:00
Jason Volk
ad571640e0 ircd:Ⓜ️:events: Reduce call count in for_each_sender loop. 2019-08-12 03:03:37 -07:00
Jason Volk
ddfae956d2 modules/client/directory/user: Add avatar_url and display_name to results.
modules/client/directory/user: Increase buffer size.
2019-08-12 03:03:37 -07:00
Jason Volk
2c57890e0f modules/client/sync: Increase the linear buffer size. 2019-08-12 01:39:16 -07:00
Jason Volk
53b54e0f62 modules/client/sync/rooms/state: Fix left rooms members droptimization. 2019-08-12 01:39:16 -07:00
Jason Volk
947ac356d0 modules/m_command: Add support for public response-to-room. 2019-08-12 01:39:16 -07:00
Jason Volk
2d928bfa4a modules/console: Use m::room_id() for room id cmd. 2019-08-12 01:39:16 -07:00
Jason Volk
4ab2623ef2 modules/conf: Don't rehash on run; don't rehash on !conf create either. 2019-08-12 01:39:16 -07:00
Jason Volk
b60edf3212 ircd:Ⓜ️ Eliminate the !nodes room related. 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
cd477e8ce7 modules/console: Add some basic feedback on user mxid cmd. 2019-08-12 01:39:16 -07:00
Jason Volk
a4cb296099 modules/m_user: Eliminate the !users room from m::create(user). 2019-08-12 01:39:16 -07:00
Jason Volk
3dfd8e5c75 modules/client/directory/user: Modernize w/ m::users:: and json::stack. 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
8779cfd866 ircd:Ⓜ️ Move m::users to module. 2019-08-11 23:30:50 -07:00
Jason Volk
7315c37018 modules/console: Improve format for v3+ rooms. 2019-08-11 18:18:45 -07:00
Jason Volk
aa4147b02a ircd:Ⓜ️:sync: Fix conditions for non-phased non-initial sync items. 2019-08-11 08:15:36 -07:00
Jason Volk
9bab532c3e ircd:Ⓜ️:sync: Add interruption points in polylog caller; state iteration. 2019-08-11 08:00:41 -07:00
Jason Volk
f4b860e612 modules/client/sync/rooms/state: Remove assertion. 2019-08-11 05:20:39 -07:00
Jason Volk
f8df61536a modules/m_presence: Modernize; remove old flag. 2019-08-11 04:38:50 -07:00
Jason Volk
f14a23aaf6 modules/client/sync/presence: Disable interruption on concurrent wait. 2019-08-11 04:38:50 -07:00