0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 12:28:52 +01:00
Commit graph

246 commits

Author SHA1 Message Date
Jason Volk
658c1c6d96 modules/client/sync/rooms/unread_notifications: Count from better marker. 2021-02-13 02:20:35 -08: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
42b50d9e50 modules/client/sync/rooms/timeline: Add conditions to prevent some ops when discarding. 2020-12-29 01:45:45 -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
8d6bb31818 modules/client/sync/rooms/timeline: Improve skip/reflow conditions; add conf item. 2020-12-10 08:34:22 -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
95d692d36a modules/client/sync/rooms/timeline: Show just a few seconds of spinner for User Fixation. 2020-12-06 17:25:21 -08:00
Jason Volk
45409428e6 modules/client/sync/rooms: Assertions for membership query on membership event. 2020-12-06 17:25:21 -08:00
Jason Volk
dceac7f9fc modules/client/sync: Fix longpoll causality violation; possible skipped or duplicated event. 2020-12-06 12:14:02 -08:00
Jason Volk
d1d34e58a6 modules/client/sync: Use better condition for room data available. 2020-12-06 10:27:27 -08:00
Jason Volk
df9637d3ce modules/client/sync/rooms/timeline: Initialize the prev batch idx to head idx. 2020-12-03 12:51:30 -08:00
Jason Volk
e0cc786a9d modules/client/sync/rooms/timeline: Fix timeline limited flag condition; minor cleanup. 2020-10-17 21:06:05 -07:00
Jason Volk
66525fd6f3 Revert "modules/client/sync/rooms/timeline: Fix polylog limited flag condition."
This reverts commit a5aac0eb1f.
2020-10-06 03:50:02 -07:00
Jason Volk
a5aac0eb1f modules/client/sync/rooms/timeline: Fix polylog limited flag condition. 2020-10-06 00:02:29 -07:00
Jason Volk
992970bcd9 modules/client/sync/device_lists: Implement changed array for linear sync handler; stub polylog. 2020-09-05 16:51:28 -07:00
Jason Volk
3604e2d078 modules/client/groups: Convert joined_groups response stub to chunked json::stack. 2020-07-31 17:43:57 -07:00
Jason Volk
748c7730b1 modules/client/sync: Preliminary groups sync module stub. 2020-07-30 13:25:43 -07: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
b493b5e39c ircd:Ⓜ️:sync: Assume no to bypass should_ignore() query on rooms prefetch iteration. 2020-05-28 21:55:07 -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
aead45402d ircd:Ⓜ️:sync: Introduce item prefetch feature for polylog mode. 2020-05-28 21:31:28 -07:00
Jason Volk
fbb17b0b48 modules/client/sync/rooms: Minor cleanup. 2020-05-28 21:29:28 -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
a3e7b7dd98 modules/client/sync/device_one_time_keys_count: Fix result placement in /sync response. 2020-05-07 14:14:24 -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
3f46930776 modules/client/sync/rooms/timeline: Fix invite-accept condition for linear to polylog. 2020-04-28 01:56:35 -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
ba5e001003 modules/client/sync/rooms/timeline: Minor group conditions. 2020-04-27 23:35:06 -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
c3d5f6d45d modules/client/sync/to_device: Fix to_device linear sync handler. 2020-04-24 15:24:37 -07:00
Jason Volk
5baf053423 modules/client/sync/to_device: Elide device_id in event; simplify. 2020-04-24 14:37:41 -07:00
Jason Volk
a3e48d7757 modules/client/sync/rooms/timeline: Fix user's room messages leaking into timeline result. 2020-04-24 13:24:15 -07:00
Jason Volk
fa8bc645af modules/client/sync/rooms/timeline: Fix join event not updating client state. 2020-04-20 18:14:52 -07:00
Jason Volk
f8c98015f8 modules/client/sync/rooms/timeline: Fix rejoin events not appearing in timeline in linear handler. 2020-04-20 18:14:52 -07:00
Jason Volk
c576c0765a modules/client/sync/to_device: Conditions to pass to_device '*'. 2020-04-16 15:56:48 -07:00
Jason Volk
a7cc30b046 modules/client/sync/device_one_time_keys_count: Fix erroneous result placement. 2020-04-14 20:33:55 -07:00
Jason Volk
df39547fa1 modules/client/sync/account_data: Fix return value from push_rules handler when no rules. 2020-04-14 19:25:48 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
ce5ebd4a1a modules/client/sync/presence: Assert content.user_id made it to presence linear. 2020-04-08 20:16:02 -07:00
Jason Volk
27a015b9dc modules/client/sync: Minor cleanup; use structured binding for m::top().
modules/client/events: Minor cleanup; use structured binding for m::top().
2020-04-03 15:17:35 -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
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk
93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk
13054243a5 modules/client/sync/presence: Add mitsein condition to linear handler. 2020-03-31 12:54:49 -07:00
Jason Volk
5d685e6b40 modules/client/sync/to_device: Add linear handler.
modules/client/sync/to_device: Reduce event append between handlers.
2020-03-31 10:37:50 -07:00
Jason Volk
44218e9d86 modules/client/sync/to_device: Condition for specific syncing device on polylog. 2020-03-30 22:04:29 -07:00
Jason Volk
b2b1db1eb2 modules/client/sync/to_device: Use m::room::type events iterator for polylog. 2020-03-30 21:55:23 -07:00