0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-08 03:28:40 +02:00
Commit graph

684 commits

Author SHA1 Message Date
Jason Volk 594627e945 modules/client/rooms/join: Minor simplify. 2019-07-15 23:01:17 -07:00
Jason Volk 270cf6564c modules/client/rooms/initialsync: Remove event_id host regression. 2019-07-15 21:22:43 -07:00
Jason Volk 449f667dd9 modules/client/rooms/join: Exception handling around bootstrap eval. 2019-07-15 17:20:47 -07:00
Jason Volk bb7cf992ae modules/client/rooms/join: Throw error rather than returning empty event_id.
modules/client/rooms/join: Minor simplify.

modules/client/rooms/join: Use room room_version in event eval opts.
2019-07-15 15:34:06 -07:00
Jason Volk 2f71edf41f modules/client/sync/rooms/state: Supply invite room state on invite.
modules/client/rooms/invite: Add the sender's membership event.
2019-07-15 14:11:22 -07:00
Jason Volk 598585a431 ircd::ctx: Simplify concurrent template.
modules/client/sync: Improve concurrent instantiation sites.
2019-07-15 13:09:33 -07:00
Jason Volk e715c135af ircd:Ⓜ️ Split m::user::profile from client handler. 2019-07-14 19:35:28 -07:00
Jason Volk 198d3ff884 modules/client/sync/rooms/state: Query for event_idx outside of lock; hint pool. 2019-07-14 15:21:13 -07:00
Jason Volk e6780c7940 modules/client/createroom: Fix bootstrap regression. 2019-07-14 15:03:54 -07:00
Jason Volk 5e15364e42 modules/client/sync/rooms/state: Make initial-phase state event queries concurrent. 2019-07-14 15:03:54 -07:00
Jason Volk c1b3dc1142 modules/federation/sender: Don't propagate exceptions outside of the hook handler. 2019-07-13 23:20:03 -07:00
Jason Volk 8d8142d5eb modules/client/rooms/invite: Send infolog message on invite reception. 2019-07-13 23:20:03 -07:00
Jason Volk e82b58728a modules/client/rooms/invite: Send invite_room_state. 2019-07-13 23:20:03 -07:00
Jason Volk b9df49a891 modules/client/sync/rooms/state: Make special case for invite_state inclusive. 2019-07-13 23:20:03 -07:00
Jason Volk c7a68a8cb3 ircd::ctx: Fix ctx::parallel argument allocation assumptions.
ircd::ctx: Rename tool.
2019-07-13 23:20:03 -07:00
Jason Volk 4b961099cc modules/client/createroom: Add default room version conf item; fix create eval. 2019-07-13 19:28:03 -07:00
Jason Volk df8fd36fde ircd:Ⓜ️:user: Simplify user::room_tags impl w/ modern linkage.
ircd:Ⓜ️:user: Simplify user::room_account_data impl w/ modern linkage.

ircd:Ⓜ️:user: Modernize user::profile impl linkage.

ircd:Ⓜ️:user: Modernize user::account_data impl linkage.

ircd:Ⓜ️:user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk 023167b440 modules/client/sync: Add a 'semaphore mode' for muted sync. 2019-07-12 19:29:51 -07:00
Jason Volk 6b54ab902e modules/client/sync: Minor cleanup of condition statements. 2019-07-12 19:29:51 -07:00
Jason Volk 393e4f32de modules/client/sync: Add comment on the phased sync arg. 2019-07-12 19:29:51 -07:00
Jason Volk 4090b8f3da modules/client/rooms/invite: Use json::stack to generate request content. 2019-07-12 19:29:51 -07:00
Jason Volk 09ea0be2f0 modules/client/rooms/invite: Improve error reporting. 2019-07-12 19:29:51 -07:00
Jason Volk 5c8a97c43e modules/client/rooms/invite: Use the v2 invite api here. 2019-07-12 19:29:51 -07:00
Jason Volk ce55859fb2 ircd:Ⓜ️ Rename v1 to fed. 2019-07-12 19:29:51 -07:00
Jason Volk fe4ce5c130 modules/client/rooms/invite: Fix event construction. 2019-07-12 19:29:51 -07:00
Jason Volk ef670cc8b9 modules/client/createroom: Abort room creation for DM's if error inviting counter-party. 2019-07-12 19:29:51 -07:00
Jason Volk f4600bb002 modules/client/createroom: Create with room_version 4. 2019-07-12 19:29:51 -07:00
Jason Volk 4353034027 modules/client/events: Prevent seek of event_idx for EDU's. 2019-07-12 19:29:50 -07:00
Jason Volk 76148e2971 modules/client/events: Fix condition; use minmax/minor cleanup. 2019-07-12 19:29:50 -07:00
Jason Volk 88bd487d5d modules/client/events: Fix regression from aebfd8d9ff. 2019-07-11 16:57:41 -07:00
Jason Volk 4a2b64fe0f modules/client/capabilities: Update capabilities.
closes #27
2019-07-10 07:24:20 -07:00
Jason Volk aebfd8d9ff modules/client/events: Pass the event_id on side-channel. 2019-07-10 03:50:37 -07:00
Jason Volk 43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk 975e3d8700 modules/client/sync: Fix/improve longpoll behavior as a fallback. 2019-07-09 19:53:25 -07:00
Jason Volk 62ede2f954 modules/client/sync: Update some comments/docs. 2019-07-09 19:22:15 -07:00
Jason Volk 719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk de97c688cc modules/client/sync: Increase default main buffers. 2019-07-08 06:03:20 -07:00
Jason Volk 5258ffb964 modules/client/sync/rooms/state: Minor simplification. 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 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 f21fccbbd7 modules/client/rooms/context: Support filter; respect lazy-loading members in returned state. 2019-07-07 22:06:11 -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 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 6fb6f096de modules/client/sync: Pack the upper-bound into the phased polylog since token. 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 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 5cf7eb9db4 modules/client/sync: Enable crazyloading by default. 2019-07-06 02:06:46 -07:00
Jason Volk 261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk 9fc175bf17 modules/client/sync/rooms/state: Send some additional fundamental state events at phase 0. 2019-07-04 03:43:59 -07:00
Jason Volk 8f2495893b modules/client/sync/rooms/state: Send the room creators member event on phase 0. 2019-07-04 03:19:30 -07:00
Jason Volk d1ecaf5ffb modules/client/sync/rooms/state: Send the user's own member event on phase 0. 2019-07-04 03:07:54 -07:00
Jason Volk babc28ccd0 modules/client/sync/rooms/timeline: Add conf item for separate phased+initial limit. 2019-07-04 03:05:38 -07:00
Jason Volk 333309e52f modules/client/sync/rooms/timeline: Set initial=true for polylog phased. 2019-07-04 02:32:33 -07:00
Jason Volk 22fd1c4350 modules/client/sync/rooms/unread_notifications: Set initial=true for polylog phased. 2019-07-04 02:29:05 -07:00
Jason Volk 9234fd34a6 modules/client/account: Fix use of deprecated json::object nested traversal API. 2019-07-03 18:57:48 -07:00
Jason Volk a3da1fd0d0 modules/client/events: Add missing user::room event_append_opts contextual data. 2019-06-29 19:16:20 -07:00
Jason Volk 1f8bff0ef5 modules/client/rooms/initialsync: Add missing event_append_opts contextual data. 2019-06-29 19:16:20 -07:00
Jason Volk 6ce67a81a1 ircd:Ⓜ️:user::highlight: Add conf items to toggle counting; improve match detail. 2019-06-27 01:59:19 -07:00
Jason Volk 0fb3f1d8ac ircd:Ⓜ️:user: Modernize the highlight counting interface. 2019-06-27 01:32:16 -07:00
Jason Volk 80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Jason Volk ce7bb21ea4 modules: Disambiguations for clang. 2019-06-24 01:33:41 -07:00
Jason Volk a371bc3e1f ircd: Fix cast-conversion based reference-constructions. 2019-06-22 17:36:42 -06:00
Jason Volk 534afe8859 ircd: No need to move x-values. 2019-06-22 17:36:42 -06:00
Jason Volk c944818f4b modules/client/rooms: Add pre-checks for membership on the convenience endpoints. 2019-06-21 16:53:26 -07:00
Jason Volk cef538fdf3 modules/client/publicrooms: Fix url decoding of query string arguments. 2019-06-18 00:22:16 -07:00
Jason Volk f2fb177d7d modules/client/publicrooms: Refresh the cache on request.
fixes #82
2019-06-18 00:22:16 -07:00
Jason Volk 4a7f079b49 modules/client/versions: Claim support for more versions. 2019-06-16 14:04:28 -07:00
Jason Volk 98ec2d7008 modules/client/sync: Update README. 2019-06-11 14:51:20 -07:00
Jason Volk 2e80a5ab02 modules/client/sync/rooms/state: Make the linear-sync handler able to handle belated state events. 2019-06-08 01:07:16 -07:00
Jason Volk abfdb06ebf modules/client/rooms/join: Hard reset the room head after join completes. 2019-06-07 23:01:46 -07:00
Jason Volk 87e8b5eb1f modules/client/sync: Minor reorg; increase default timeout conf items. 2019-06-07 21:56:17 -07:00
Jason Volk def97cf25b modules/client/rooms/join: Improve lazy chain member event search. 2019-06-07 06:02:19 -07:00
Jason Volk 4f3123be62 modules/client/rooms/join: Use dedicated log facility. 2019-06-07 06:02:19 -07:00
Jason Volk 3d8d71c97c modules/client/rooms/join: Mask nothrow conditions; various fixes. 2019-06-07 06:02:19 -07:00
Jason Volk 8e0ac58987 ircd:Ⓜ️:room: Expose bootstrap to interface. 2019-06-07 04:56:23 -07:00
Jason Volk 077e953e3b modules/client/sync/rooms/timeline: Add conf item to toggle excluding state in timeline exposure_depth. 2019-06-07 04:08:35 -07:00
Jason Volk 92761f5d9f modules/client/events: Use the proper m::append event appender. 2019-06-07 02:49:25 -07:00
Jason Volk b2bb7767a7 modules/client/rooms/join: Spawn context for asynchronous joinstrap; improve various. 2019-06-07 02:49:25 -07:00
Jason Volk f728906505 modules/client/rooms/join: No need to parse the unused and deprecated origin field here. 2019-06-06 22:39:05 -07:00
Jason Volk 48a8057cb5 modules/client/rooms/join: Tweak the lazychain process; remove cruft. 2019-06-06 21:58:47 -07:00
Jason Volk e8b61b0caf modules/client/rooms/join: Rename lazychain conf item to lazychain_enable. 2019-06-06 19:41:48 -07:00
Jason Volk 55e2ac98ce modules/client/rooms/join: Implement the lazychain optimization; tweak eval options. 2019-06-06 05:35:21 -07:00
Danilo Spinella 4682e1fae4 ircd: Fix ambiguous references to BSD stringops. 2019-06-06 03:49:54 -07:00
Jason Volk ed247e6200 modules/client/rooms/join: Implement the Hackfill optimization. 2019-06-06 01:46:07 -07:00
Jason Volk a20a11722d modules/client/rooms/join: Add conf item for initial backfill amount. 2019-06-06 01:45:21 -07:00