0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-09 21:48:55 +02:00
Commit graph

97 commits

Author SHA1 Message Date
Jason Volk 741304271e ircd:Ⓜ️:event::append: Optimize opts, eliminate double-indirection; various reorg. 2023-05-01 10:48:07 -07:00
Jason Volk da8948a740 modules/client/sync/rooms: Rename various conf items from client to m namespace; minor reorg. 2023-03-07 18:28:46 -08:00
Jason Volk 56984d59e9 ircd:Ⓜ️ Fix various occurrences of state_key="" considered falsy. 2023-02-24 18:51:18 -08:00
Jason Volk 93bed7bc63 modules/client/sync/rooms: Fix m.room.create not synced to creator prior to join. 2023-02-20 15:15:01 -08:00
Jason Volk 3aeeaccd42 modules/client/sync/rooms/state: Skip reflow for own-room join. 2023-01-19 19:58:23 -08:00
Jason Volk 4e7f5af457 modules/client: Eliminate internal _append() kludge. 2022-07-01 22:45:34 -07:00
Jason Volk c39876990d modules/client: Upgrade event::append::opts et al to designated init menus. 2022-07-01 22:21:10 -07:00
Jason Volk a5ddaf0a41 modules/client/sync/rooms/state: Move hero scan count to conf item; dedup constant. 2021-01-04 02:46:48 -08:00
Jason Volk eefd59d845 modules/client/sync: Fix conditions to duplicate state in timeline; improve inconsistencies. 2020-12-26 11:55:01 -08:00
Jason Volk 05242aaa90 modules/client/sync/rooms/state: Fix conditions for state inclusion during polylog/reflow. 2020-12-07 14:18:42 -08:00
Jason Volk da43ac3d95 ircd:Ⓜ️:sync: Add flag to trigger re-request forcing focused full_state. 2020-06-03 23:26:08 -07:00
Jason Volk c10036d824 modules/client/sync/rooms/state: Implement prefetch on initial phased polylog. 2020-05-28 21:32:54 -07:00
Jason Volk 67e72539f3 modules/client/sync/rooms: Use timeline.limited=true to eliminate branches to polylog. 2020-05-10 19:23:36 -07:00
Jason Volk 175c1d817d modules/client/sync/rooms: Fix range upper bound for switching to polylog. 2020-04-28 03:41:07 -07:00
Jason Volk ed807ce423 modules/client/sync/rooms/state: Hoist conditional branch to polylog phased. 2020-04-28 03:29:50 -07:00
Jason Volk db2a03b6c3 modules/client/sync/rooms/state: Query supplied filter for lazyload_members; rename conf item. 2020-04-28 03:04:48 -07:00
Jason Volk b49927de38 modules/client/sync/rooms/state: Fix placement of branch from linear to polylog. 2020-04-28 00:44:17 -07:00
Jason Volk c027a567ce ircd:Ⓜ️:sync: Move args structure to central lib; eliminate local module header. 2020-04-27 00:16:58 -07:00
Jason Volk dd603f3d07 modules/client/sync/rooms/state: Fix missing branch to switch to polylog on join. 2020-04-24 18:22:44 -07:00
Jason Volk c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk 28cc60a909 modules/client/sync/rooms/state: Add linear sync skip condition. 2020-02-24 12:26:51 -08:00
Jason Volk a8c6d63b37 modules/client/sync/rooms/state: Add conf item for lazyload; adjust related. 2019-12-03 11:50:16 -08:00
Jason Volk 4ee38bc08f modules/client/sync/rooms/state: Hoist event fetchers from loop. 2019-10-07 20:19:41 -07:00
Jason Volk 362122c951 modules/client/sync/rooms/state: Use the viewport size item for iteration depth. 2019-09-18 14:48:32 -07:00
Jason Volk da6ae72b69 modules/client/sync/rooms/state: Simplify and optimize member event fetching at phase=0. 2019-09-18 14:29:40 -07:00
Jason Volk 2603953809 modules/client/sync/rooms/state: Simplify phase=0 concurrency w/ prefetch. 2019-09-18 14:29:40 -07:00
Jason Volk 3f65055892 modules/client/sync/rooms/state: Employ prev_content elision on some appends. 2019-09-15 20:04:23 -07:00
Jason Volk dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -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 5ce05fade4 modules/client/sync/rooms/state: Log an error on unexpected fetch failure. 2019-08-16 02:19:49 -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 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 e9f148f2a1 modules/client/sync/rooms/state: Unconditionally wait for concurrence to finish. 2019-08-07 18:42:20 -07:00
Jason Volk 9c3a0810cd modules/client/sync/rooms/state: Hoist the event::fetch vector out of the concurrent closure. 2019-08-07 18:42:20 -07:00
Jason Volk 45316906e7 modules/client/sync/rooms/state: Fix repeat timeline membership events in initial phase. 2019-08-07 15:56:39 -07:00
Jason Volk e505c69b82 modules/client/sync/rooms/state: Improve own-membership test; improve return value. 2019-08-07 15:45:09 -07:00
Jason Volk eddc5b3b55 ircd:Ⓜ️:event::append: Add properties mask to opts; centralize. (Fixes #119) 2019-08-05 17:54:00 -07:00
Jason Volk edd41074b8 modules/client/sync/rooms/state: Fix linear sync state transfer on join event. (Fixes #117) 2019-08-04 19:25:36 -07:00
Jason Volk a8e2f7de3e modules/client/sync/rooms/state: Skip member events in some cases by configuration. 2019-08-03 22:38:42 -07:00
Jason Volk 1f08be2a0c modules/client/sync/rooms/state: Only sync phased membership events for join rooms. 2019-08-03 22:09:24 -07:00
Jason Volk e099d7c52b modules/client/sync/rooms/state: Fix errors / rework phased member events. (#105)
modules/client/sync/rooms/state: Minor cleanup.
2019-08-03 22:06:35 -07:00
Jason Volk 432e317314 modules/client/sync/rooms/state: Elide an event index query. 2019-08-03 19:40:52 -07:00
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 4051d11812 modules/client/sync/rooms/state: Ensure branch not taken on phased sync. 2019-07-24 17:53:06 -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 e0e9e09e67 ircd:Ⓜ️ Make append() return and propagate boolean. 2019-07-16 15:26:15 -07:00