0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 16:52:44 +01:00
Commit graph

10005 commits

Author SHA1 Message Date
Jason Volk
94148ec80a ircd::json::stack: Use character appends where possible. 2019-07-08 06:03:20 -07:00
Jason Volk
f02b51d647 ircd::mods: Avoid npd warning from assertions. 2019-07-08 06:03:20 -07:00
Jason Volk
c718d348cb modules/webhook: Minor use literal hasher for case statements. 2019-07-08 06:03:20 -07:00
Jason Volk
61fcc07fcf modules/client/sync: Refactor longpoll handler. 2019-07-08 06:03:20 -07:00
Jason Volk
cbb39105e1 ircd:Ⓜ️:sync: Add next_batch_token to args struct for direct view. 2019-07-08 06:03:20 -07:00
Jason Volk
7dc5d30405 ircd:Ⓜ️:sync: Move data ctor to module. 2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
9007f651ed modules/console: Add an intuitive sync command. 2019-07-08 06:03:20 -07:00
Jason Volk
39164d94b8 modules/console: Minor cleanup / comments. [skip ci] 2019-07-08 06:03:20 -07:00
Jason Volk
dfbc6a136f modules/console: Move client sync cmd to synchron. 2019-07-08 06:03:20 -07:00
Jason Volk
021823ec6d modules/client/rooms/context: Add non-spec param to disappear state entirely from response. 2019-07-08 06:03:20 -07:00
Jason Volk
3057e9a328 ircd:Ⓜ️ Move event/get.h down one level. 2019-07-07 22:06:11 -07:00
Jason Volk
f21fccbbd7 modules/client/rooms/context: Support filter; respect lazy-loading members in returned state. 2019-07-07 22:06:11 -07:00
Jason Volk
439402c08c ircd:Ⓜ️ Add an m::query() template suite for DRY'ing common m::get() usage pattern. 2019-07-07 17:58:15 -07:00
Jason Volk
ec8bac81d1 ircd:Ⓜ️:filter: Add missing fields on room_event_filter. 2019-07-07 17:00:36 -07:00
Jason Volk
c38b7b583b modules/client/sync/rooms/state: Add proper member events at phase 0. 2019-07-07 06:04:55 -07:00
Jason Volk
b2ced7aea5 modules/client/sync/rooms/state: No need to fetch the creator member on phase 0. 2019-07-07 04:00:48 -07:00
Jason Volk
7f102e7f8c ircd:Ⓜ️:room: Use scope_restore here. 2019-07-07 03:59:51 -07:00
Jason Volk
cf853cf9ad ircd:Ⓜ️:event: Condition for sentinel return value. 2019-07-07 03:59:51 -07:00
Jason Volk
68ec7b1c5d modules/client/versions: Add the earlier versions. 2019-07-07 03:59:51 -07:00
Jason Volk
bd09a9aba2 modules/client/rooms/members: Implement c2s r0.5.0 query parameters. 2019-07-07 03:59:51 -07:00
Jason Volk
ec6651d76d modules/client/user/filter: Use b64url filter ID's. 2019-07-07 01:11:24 -07:00
Jason Volk
2bd3a8f021 modules/client/sync/rooms/ephemeral/receipt: Make the search depth a conf item. 2019-07-06 23:20:43 -07:00
Jason Volk
3816d4104a ircd:Ⓜ️:sync: Fix loghead/console formatting. 2019-07-06 22:27:51 -07:00
Jason Volk
6fb6f096de modules/client/sync: Pack the upper-bound into the phased polylog since token. 2019-07-06 22:25:16 -07:00
Jason Volk
49264bd13b ircd:Ⓜ️:sync: Add sync item children counter. 2019-07-06 22:25:16 -07:00
Jason Volk
5c8425d047 modules/client/sync: Add comments to main frame. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
c6a9cf3849 modules/client/sync: Split internal sync.h header. 2019-07-06 19:05:36 -07:00
Jason Volk
1177368723 modules/client/sync/rooms/summary: Add preliminary m.heroes array to summary. 2019-07-06 18:53:45 -07:00
Jason Volk
c54c2fb9d0 modules/client/capabilities: Fix m.room.version->default serialization type.
modules/client/capabilities: Add room version "4" and "5" with unstable disposition for now.
2019-07-06 18:17:35 -07:00
Jason Volk
ff4fefe99c modules/client/capabilities: Move handler into namespace. 2019-07-06 18:11:03 -07:00
Jason Volk
f9dbd306d6 modules/client/versions: Generate response content dynamically. 2019-07-06 17:58:47 -07:00
Jason Volk
17925b2bd9 modules/console: Add more raw output options on several fed cmds. 2019-07-06 17:56:54 -07:00
Jason Volk
375c763f90 modules/client/sync/rooms: Add c2s r0.5.0 rooms.join.summary object. 2019-07-06 17:35:55 -07:00
Jason Volk
2b7d862330 modules/client/sync/rooms/state: Trim the initial crazyloaded state. 2019-07-06 17:35:55 -07:00
Jason Volk
767e18791c modules/client/sync: Fix queue pop. 2019-07-06 05:50:13 -07:00
Jason Volk
23afd0ee37 modules/media/magick: Add a job loghead(). 2019-07-06 05:44:10 -07:00
Jason Volk
5cf7eb9db4 modules/client/sync: Enable crazyloading by default. 2019-07-06 02:06:46 -07:00
Jason Volk
100a5bf518 modules/federation/invite2: Put back the event_id that synapse stripped; various fixes. 2019-07-06 01:25:28 -07:00
Jason Volk
13e87b00a1 ircd:Ⓜ️:dbs: Use event_id member. 2019-07-05 23:45:00 -07:00
Jason Volk
dc4d13bca6 ircd:Ⓜ️:event::fetch: Add internal buffer for event::id state. 2019-07-05 23:45:00 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
1097829102 modules/m_vm: Wrap individual hook calls. 2019-07-05 23:45:00 -07:00
Jason Volk
fa737c0019 modules/vm: Require event_id member. 2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk
8b4b47fd03 modules/federation/invite2: Split out post-processing w/ exception scope. 2019-07-05 23:45:00 -07:00
Jason Volk
fff2891d2d modules/federation/invite: Increase default. 2019-07-05 18:49:57 -07:00
Jason Volk
79b3ec9951 modules/federation/invite2: Recombine event checks subroutine. 2019-07-05 18:49:57 -07:00
Jason Volk
2ee958bd41 modules/media/thumbnail: Add mime type whitelist/blacklist; improve fallback conditions. 2019-07-05 18:37:27 -07:00