0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
Commit graph

8488 commits

Author SHA1 Message Date
Jason Volk
01019640cd ircd:Ⓜ️:user::rooms: Optimize user rooms iteration. 2019-03-08 11:22:42 -08:00
Jason Volk
3a673dadf4 ircd:Ⓜ️:room::state: Extend the for_each stack with optimal type,state_key closure. 2019-03-08 11:21:56 -08:00
Jason Volk
cdac039658 modules/client/rooms/leave: Simplify leave endpoint handler. 2019-03-08 10:07:17 -08:00
Jason Volk
60c48d2a83 modules/client/rooms/unban: Implement 10.4.4.2 POST unban. 2019-03-08 09:57:43 -08:00
Jason Volk
cb2c65e8e2 modules/client/rooms/kick: Simplify endpoint handler. 2019-03-08 09:45:50 -08:00
Jason Volk
47216cba91 modules/client/rooms/ban: Implement 10.4.4.1 POST ban. 2019-03-08 09:43:30 -08:00
Jason Volk
7607978d80 ircd:Ⓜ️ Fix initial events bootstrap regression. 2019-03-08 09:28:34 -08:00
Jason Volk
3fdb3a420a modules/client/rooms/forget: Implement 10.4.3.2 POST forget. 2019-03-07 16:26:04 -08:00
Jason Volk
57f28374c9 ircd::http: Add 428 Precondition Required. 2019-03-07 16:01:19 -08:00
Jason Volk
59124a0fe1 modules/client/createroom: Differentiate between spec preset and internal preset strings. 2019-03-07 15:40:45 -08:00
Jason Volk
864c6cc889 modules/client/rooms/send: urldecode type and txnid path parameters. 2019-03-07 15:32:03 -08:00
Jason Volk
7ea83597e5 modules/media: Assert and condition remote download request isn't for my_host(). 2019-03-07 15:11:27 -08:00
Jason Volk
80743b2fd5 modules/media: Throw better http codes for downloading media. 2019-03-07 15:11:27 -08:00
Jason Volk
8c61f6370a ircd::json: Fix serialized type propagation on value copy. 2019-03-07 14:06:06 -08:00
Jason Volk
cc14164dc8 modules/client/profile: Reuse the profile::set() path in fetch(). 2019-03-07 12:14:01 -08:00
Jason Volk
5adfb3ba43 modules/client/sync: Add conf items which override the sync mode selection. 2019-03-07 11:53:58 -08:00
Jason Volk
34561a5659 modules/client/profile: Fix JSON string type assumption for profile values. 2019-03-06 18:17:46 -08:00
Jason Volk
faf0914f23 modules/console: Add cmd to trigger m::user::profile::fetch(). 2019-03-06 18:17:32 -08:00
Jason Volk
33d3764c71 modules/client/createroom: Make special conditions to optimize user's user rooms. 2019-03-06 17:41:56 -08:00
Jason Volk
3b34785853 Revert "ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization."
This reverts commit 506531790b.
2019-03-06 17:26:25 -08:00
Jason Volk
6af4782922 ircd::http: Elaborate the query string interface with indexing. 2019-03-06 17:21:38 -08:00
Jason Volk
654901d7df modules/vm: Include empty auth_events array in create event rather than undefined. 2019-03-06 15:02:43 -08:00
Jason Volk
90752f1fb4 modules/federation/send_join: Add required spec "origin" in response. 2019-03-06 15:02:43 -08:00
Jason Volk
0c38d78bba modules/federation/send_leave: Respond with so-called empty response. 2019-03-06 15:02:43 -08:00
Jason Volk
b26d4fee7c ircd:Ⓜ️:event: Fallback to outer membership string (fixes hook membership matching). 2019-03-06 15:02:43 -08:00
Jason Volk
1e55e56b05 ircd::json::tuple: Tweak the assignment suite to possibly fix issues with nested tuples. 2019-03-06 15:02:43 -08:00
Jason Volk
b534939016 ircd::json::tuple: Improve property semantics. 2019-03-06 15:02:43 -08:00
Jason Volk
9f4890a517 ircd:Ⓜ️ Unify room create interface and paths around createroom tuple. 2019-03-06 15:02:43 -08:00
Jason Volk
85c041c27b ircd:Ⓜ️:room Update version query based on spec room version grammar (string type). 2019-03-06 15:02:43 -08:00
Jason Volk
dd961fc53d modules/client/profile: Remove attempt at non-trivial designated initializers. 2019-03-06 10:50:42 -08:00
Jason Volk
09c2d7cbe5 modules/federation: Minor cleanup/simplification. 2019-03-06 00:22:18 -08:00
Jason Volk
c2966275c6 ircd:Ⓜ️:room::head: Improve interface/linkage for head utils / prev_events generation. 2019-03-06 00:22:18 -08:00
Jason Volk
1a1939e2c7 ircd:Ⓜ️:room::auth: Improve interface/linkage for auth_events generation. 2019-03-06 00:22:18 -08:00
Jason Volk
eb050591c9 modules/client/profile: Improve profile related for remote users. 2019-03-06 00:12:21 -08:00
Jason Volk
506531790b ircd:Ⓜ️:v1: Remove any opts constructors preventing aggregate initialization. 2019-03-06 00:12:21 -08:00
Jason Volk
094ae6e997 ircd:Ⓜ️:user::profile: Add interface for remote profile fetch(). 2019-03-06 00:12:21 -08:00
Jason Volk
9c62b0f61a ircd::net::hostport: Add complementary boolean conversion. 2019-03-05 20:49:23 -08:00
Jason Volk
1f82b884ff ircd:Ⓜ️ Implement 14.18 Room Tagging. 2019-03-05 18:42:04 -08:00
Jason Volk
9e884b326d modules/webhook: Handle github issue_comment / created action. 2019-03-05 15:23:15 -08:00
Jason Volk
8b32f0558d modules/client/sync/rooms/state: Add unsigned addendum to event output. 2019-03-05 14:43:00 -08:00
Jason Volk
6fed8cc360 modules/client/createroom: Forbid guest access on all presets in violation of the spec. 2019-03-05 14:27:52 -08:00
Jason Volk
00da74fa27 modules/client/createroom: Improve error reporting; add derror log message. 2019-03-05 14:24:31 -08:00
Jason Volk
85b66e2d55 modules/client/sync/rooms/timeline: For non-longpoll, attempt to query transaction_id. 2019-03-05 14:24:08 -08:00
Jason Volk
d30e053e42 modules/client/rooms/send: Save transaction_id's to user's user room. 2019-03-05 14:24:08 -08:00
Jason Volk
78eab2fbcd modules/client/createroom: Implement the preset string behavior. 2019-03-05 14:24:08 -08:00
Jason Volk
d4b8a8089e ircd:Ⓜ️:createroom: Generate default power_levels w/ option for content_override. 2019-03-05 14:24:08 -08:00
Jason Volk
bbaf38937b ircd:Ⓜ️:room::power: Add util to generate spec-default power_levels content. 2019-03-05 14:24:08 -08:00
Jason Volk
c972683e2c modules/client/createroom: Set the visibility in the public rooms list; minor cleanup. 2019-03-05 12:51:48 -08:00
Jason Volk
70484be697 modules/client/createroom: Add graceful error handling and granular reporting to client. 2019-03-05 12:42:53 -08:00
Jason Volk
f0598bb27a modules/client/createroom: Set initial room state from supplied request data.
modules/client/createroom: Set the room name and topic if supplied in request.

modules/client/createroom: Set any state events from supplied initial_state.

modules/client/createroom: Invite any users in the supplied invite array.

modules/client/createroom: Set the room's initial guest_access if supplied by user.
2019-03-05 12:23:49 -08:00