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

661 commits

Author SHA1 Message Date
Jason Volk d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00
Jason Volk 09b7299ca8 modules/client/sync: Implement full_state request functionality. (#105) 2019-08-02 15:04:29 -07:00
Jason Volk 6495fa55d5 modules/client/sync: Move the sync::args ctor definition into unit. 2019-08-02 15:04:29 -07:00
Jason Volk 5e3f81685c ircd:Ⓜ️ Shorten matrix log facility names.
modules/m_room_bootstrap: Rename log facility.
2019-07-31 19:43:06 -07:00
Jason Volk 7333be92ca ircd:Ⓜ️:typing: Simplify interface; fix linkages. 2019-07-30 14:21:26 -07:00
Jason Volk c8a04073f1 ircd:Ⓜ️:typing: Add ircd.typing event; update sync room ephemeral.
Fixes #94.
2019-07-30 14:21:26 -07:00
Jason Volk d5f64e5a74 Fix build errors for GCC-9.1.
Fixes #93.
2019-07-30 10:28:33 -07:00
Jason Volk 2b694d2c59 modules/client/send_to_device: Fix lack of exception string in error output. 2019-07-27 18:49:27 -07:00
Jason Volk 9391ee38f4 modules/client/send_to_device: Augment sendToDevice for multiple targets. 2019-07-26 19:52:17 -07:00
Jason Volk 5edd7a6117 ircd:Ⓜ️:fetch: Whittle down the current interface; remove libircd linkages. 2019-07-26 15:51:15 -07:00
Jason Volk 494288ea77 modules/client/sync/rooms/account_data: Ignore since range on room account_data polylog sync. 2019-07-25 15:06:54 -07:00
Jason Volk b8adc69599 ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk 4051d11812 modules/client/sync/rooms/state: Ensure branch not taken on phased sync. 2019-07-24 17:53:06 -07:00
Jason Volk df2772c113 modules/client/sync/rooms: Fix buffer sizing constant. 2019-07-24 17:42:31 -07:00
Jason Volk a9000af369 modules/client/events: Branch for events to allow EDU's without event_id. 2019-07-24 17:37:08 -07:00
Jason Volk 051af41961 modules/client/events: Catch hook handler exception here. 2019-07-24 16:29:44 -07:00
Jason Volk 9e927d1a4d modules/client/sync/rooms/state: Make room_invite_state phased aware. 2019-07-24 15:58:28 -07:00
Jason Volk 5116023cf3 modules/client/sync/rooms/state: Add room avatar to invite state sync.
modules/client/sync/rooms/state: Increment ret after append, not before.

modules/client/sync/rooms/state: Use constructive event::fetch.
2019-07-24 15:34:35 -07:00
Jason Volk eb3b4d82fb ircd:Ⓜ️:room::members: Simplify and improve interface; callsites. 2019-07-23 19:50:13 -07:00
Jason Volk df11d9bec6 ircd:Ⓜ️:room: Reorient join bootstrap definitions.
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk 0f6e7f5745 modules/client/rooms/join: Fetch keys concurrently in bootstrap auth_chain eval. 2019-07-23 14:41:53 -07:00
Jason Volk a151eadd62 modules/client/sync: Clarify double deindirection. 2019-07-20 21:42:32 -07:00
Jason Volk 94ceab33a5 modules/client/rooms/join: Minor cleanup. 2019-07-19 23:26:54 -07:00
Jason Volk 4b831a6a30 modules/client/sync: Decrease the default flush high water mark. 2019-07-17 18:34:42 -07:00
Jason Volk ad834bfc5b ircd:Ⓜ️:vm: Reorganize eval/vm::inject for room version differences; add comment. 2019-07-17 14:53:13 -07:00
Jason Volk e0e9e09e67 ircd:Ⓜ️ Make append() return and propagate boolean. 2019-07-16 15:26:15 -07:00
Jason Volk 339e43c004 modules/client/sync: Update readme. 2019-07-16 11:36:03 -07:00
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