0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-07 06:18:56 +01:00
Commit graph

85 commits

Author SHA1 Message Date
Jason Volk
157805d97b modules/client/sync: Simplify next_batch token decision after linear and longpoll. 2019-03-02 14:20:52 -08:00
Jason Volk
8fee82b0d6 modules/client/sync: Readd the transaction_id on longpoll; fix ghost events. 2019-02-28 18:28:45 -08:00
Jason Volk
9c20d49e33 ircd::resource::response::chunked: Eliminate move semantic. 2019-02-28 17:12:04 -08:00
Jason Volk
70173f5893 modules/client/sync: Use better flush() path. 2019-02-28 17:12:04 -08:00
Jason Volk
af6ac4a2ac ircd: Replace various unwind count patterns with scope_count. 2019-02-28 17:12:03 -08:00
Jason Volk
b8fa7455e9 modules/client/sync: Provide better next_batch after linear iteration. 2019-02-28 12:36:14 -08:00
Jason Volk
9a43a9524c modules/client/sync: Uniform log messages; longpoll error message; various fixes. 2019-02-27 18:49:38 -08:00
Jason Volk
c88d961ad4 modules/client/sync: Implement longpoll sync handler. 2019-02-27 16:27:04 -08:00
Jason Volk
902466450e modules/client/sync: Enable linear sync. 2019-02-27 16:25:37 -08:00
Jason Volk
f91f6226a6 modules/client/sync: Add event_idx to accept struct; move top object construction to handlers. 2019-02-27 16:25:37 -08:00
Jason Volk
a263b2ff40 modules/client/sync: Use resource::response buffer w/ passed size argument. 2019-02-26 18:04:37 -08:00
Jason Volk
cc586a352e modules/client/sync: Implement iteration base of linear sync. 2019-02-26 18:04:37 -08:00
Jason Volk
78a1281b1c ircd:Ⓜ️:sync: Make data.out a pointer to the json::stack. 2019-02-26 15:50:58 -08:00
Jason Volk
af5b0e69a1 modules/client/sync: Employ json::stack::checkpoint using boolean return values in all handlers. 2019-02-24 14:49:29 -08:00
Jason Volk
c9f8e44c78 ircd:Ⓜ️:sync: Add stats.info conf item; rename debug_stats item. 2019-02-22 15:40:53 -08:00
Jason Volk
8c5b1f283f modules/client/sync: Various range check fixes; simplify debug stats. 2019-01-26 17:26:05 -08:00
Jason Volk
fc162b41b3 modules/client/sync: Add a next_batch param to the query args passed to the range upper-bound. 2019-01-26 15:33:11 -08:00
Jason Volk
80b3cd678e modules/client/sync: Reorg / deinline sync args related. 2019-01-26 13:34:57 -08:00
Jason Volk
4c495e1f44 modules/client/sync: Various cleanup / simplify. 2019-01-10 16:58:37 -08:00
Jason Volk
2d860b25a8 ircd:Ⓜ️:sync: Checkpoint. 2019-01-09 20:39:12 -08:00
Jason Volk
443905859f ircd:Ⓜ️:sync: Additional abstraction; checkpoint polylog /sync modules. 2019-01-08 17:17:41 -08:00
Jason Volk
61e88e75bc modules/client/sync: Additional sync items reorganization. 2019-01-04 14:47:01 -08:00
Jason Volk
86911226ed ircd:Ⓜ️ Preliminary modular client sync system. 2019-01-03 17:21:02 -08:00
Jason Volk
3fd61ba361 modules/client/sync: Prefetching defaults to false for now. 2018-12-23 17:41:47 -08:00
Jason Volk
36c1b359ab modules/client/sync: Optimize the room state iteration strategy. 2018-12-19 15:05:07 -08:00
Jason Volk
f44f1cf89d modules/client/sync: Fix sync timeout behavior. 2018-12-01 17:23:42 -08:00
Jason Volk
0da335c03c modules/client/sync: Minor hackstops for now. 2018-11-15 18:39:51 -08:00
Jason Volk
c6e2dbe55b modules/client/sync: Use conf item for linear vs. polylog threshold. 2018-11-04 18:11:37 -08:00
Jason Volk
242516c853 ircd:Ⓜ️ Add central interface for room state prefetch; add console cmd; apply to client sync. 2018-10-23 10:01:36 -07:00
Jason Volk
5a9c264981 modules/client/sync: Promote polylog stats overview log message to infolog. 2018-10-21 00:24:26 -07:00
Jason Volk
8ed4dc9623 modules/client/sync: Add some stats and debug log to sync. 2018-10-18 07:46:53 -07:00
Jason Volk
18977fabe1 modules/client/sync: Condition on conf items for prefetches of polylog state/timeline. 2018-10-16 09:13:53 -07:00
Jason Volk
0843ff5f79 modules/client/sync: Checkpoint some structural changes. 2018-10-14 03:58:26 -07:00
Jason Volk
11818f6c3e modules/client/sync: Minor simplify. 2018-10-09 21:34:58 -07:00
Jason Volk
9aa6e2b768 ircd:Ⓜ️ Rename most vm.notify hooks to vm.effect; Refactor vm::accept related. 2018-10-09 20:56:12 -07:00
Jason Volk
d5c3724428 modules/client/sync: Fix index minmax for stable notification counting. 2018-09-27 00:59:17 -07:00
Jason Volk
8ce3325905 modules/client/sync: Catch and drop exception around account_data. 2018-09-22 16:01:10 -07:00
Jason Volk
17e137f52a modules/client/sync: Ensure indexes are a < b. 2018-09-15 19:32:16 -07:00
Jason Volk
a7dbc8e882 modules/client/sync: Add highlight count to sync; reintegrate notification count. 2018-09-14 07:34:05 -07:00
Jason Volk
2eb55ea3a4 modules/client/sync: Hack patch for longpoll/linear sync events routing to the proper rooms.membership structure. 2018-09-13 02:05:16 -07:00
Jason Volk
0695584d2c modules/client/sync: Support notification_count. 2018-09-12 22:32:00 -07:00
Jason Volk
f24d51c38d modules/client/sync: The structure sent from a longpoll has no need for a state, only timeline. 2018-09-06 23:08:20 -07:00
Jason Volk
85aef85f61 ircd:Ⓜ️:vm: Support client unsigned.transaction_id. 2018-09-05 20:16:01 -07:00
Jason Volk
3be110d6ca modules/client/sync: Add prefetching for some polylog sync iterations. 2018-09-01 07:15:03 -07:00
Jason Volk
96363a527d modules/client/sync: Simplify stack arguments; addl cleanup. 2018-09-01 07:15:02 -07:00
Jason Volk
4819112f54 modules/client/sync: Checkpoint preliminary sync reorg. 2018-09-01 00:51:40 -07:00
Jason Volk
8d5229d67d modules/client/sync: Add room account_data to polylog sync. 2018-06-19 21:52:08 -06:00
Jason Volk
88d3026cc7 ircd:Ⓜ️:vm: More granular notification broadcast options. 2018-05-27 19:56:04 -07:00
Jason Volk
7bfe9e94a1 ircd::db: Default to no checksums on all reads; add conf item; adjust opts. 2018-05-23 18:45:27 -07:00
Jason Volk
53ba8dafcc modules/client/sync: Add some default fopts. 2018-05-22 01:13:38 -07:00