0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-16 05:28:54 +02:00
Commit graph

831 commits

Author SHA1 Message Date
Jason Volk
575bacee8d ircd:Ⓜ️:room::events: Simplify count() suite. 2019-09-23 23:26:07 -07:00
Jason Volk
df0fae203e modules/client/initialSync: Simplify json::stack usage. 2019-09-23 20:11:20 -07:00
Jason Volk
a984c2a454 modules/client/sync/to_device: Use m::query(); minor cleanup. 2019-09-23 19:46:32 -07:00
Jason Volk
35f9810dbd modules/client/rooms/members: Fix at token usage. 2019-09-23 14:51:24 -07:00
Jason Volk
183acf8efc ircd:Ⓜ️:sync: Increase token buffer; use function reference. 2019-09-23 14:18:22 -07:00
Jason Volk
7b24eace2b modules/client/rooms/members: Impove/cleanup at/since parameter related. 2019-09-23 13:00:30 -07:00
Jason Volk
2b3de2ea69 ircd::resource: Add assertions; fix error. 2019-09-23 12:58:34 -07:00
Jason Volk
39ade19ae3 ircd::ctx: Switch from steady_timer to deadline_timer. 2019-09-22 20:59:54 -07:00
Jason Volk
1731ff8bad modules/client/rooms/leave: Override any mismatch between room and user_room. 2019-09-20 15:20:37 -07:00
Jason Volk
578a0e03fd modules/client/rooms/events: Prevent EDU's from being sent to client here. 2019-09-19 10:20:40 -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
6ed0db3274 modules/client/rooms/messages: Abandon prefetching in the messages handler.
Aborted due to collisions and stalls. Note that messages are already prefetched
by the breadcrumb_rooms handler on room change.
2019-09-18 13:09:19 -07:00
Jason Volk
1d449ed134 modules/client/rooms/members: Support multiple membership constraint query paramters for optimization. 2019-09-18 12:30:51 -07:00
Jason Volk
321b7e32c1 modules/client/rooms/forget: Simplify checks. (closes #130) 2019-09-18 12:30:51 -07:00
Jason Volk
11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk
cdce334b80 modules/client/rooms/messages: Hoist prefetching into branch; disable here for now. 2019-09-17 23:17:51 -07:00
Jason Volk
404da37cc4 modules/client/rooms/messages: Cleanup loop; improve prefetch; reduce density of branches. 2019-09-17 22:38:38 -07:00
Jason Volk
be2ae27af6 modules/client/sync/rooms/timeline: Fix loop conditions. 2019-09-17 22:21:55 -07:00
Jason Volk
fe8f9ee611 modules/client/sync/rooms/timeline: Conditional prev_batch; minor cleanup. 2019-09-17 20:19:27 -07:00
Jason Volk
c77353fd9c modules/client/sync/rooms/timeline: Add conditional prefetch on down iteration. 2019-09-17 20:19:27 -07:00
Jason Volk
252a89fbaa modules/client/rooms/messages: Issue prefetches to pipeline the fetch loop. 2019-09-17 20:17:37 -07:00
Jason Volk
8f4def84f4 modules/client/rooms/invite: Remove unnecessary check. 2019-09-16 13:33:35 -07:00
Jason Volk
a6efe6986c modules/client/sync/rooms/timeline: Add comment. [skip ci] 2019-09-16 12:06:25 -07:00
Jason Volk
2115bf7cf4 ircd:Ⓜ️:user: Move definitions from modules/client to m_user. 2019-09-16 11:03:45 -07:00
Jason Volk
7fa72e8f39 ircd:Ⓜ️ Move the m::redact() definition out of client/rooms modules. 2019-09-16 10:55:23 -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
0f00468bb8 modules/client/sync/rooms/timeline: Add case to linear-sync a backfill of timeline events on join. 2019-09-15 19:36:39 -07:00
Jason Volk
ea33e0326e ircd:Ⓜ️:rooms::summary: Refactor for per-origin result synthesis and learning. 2019-09-15 14:59:36 -07:00
Jason Volk
deeb731d42 modules/client/search: Update the handler with skeleton structure. 2019-09-14 13:51:24 -07:00
Jason Volk
f8e3030819 modules/client/directory/list: Use local rooms::summary::set() overload. 2019-09-13 18:04:53 -07:00
Jason Volk
1e62b68286 ircd:Ⓜ️:vm: Move conform hook to pdu branch. 2019-09-13 13:38:05 -07:00
Jason Volk
5b088551ae modules/client/sync: Minor cleanup;
modules/client/sync: Consolidate header.
2019-09-09 12:08:07 -07:00
Jason Volk
29f8309c10 modules/client/rooms/receipt: Use matrix-org/matrix-doc/2285 m.hidden tag for server-side ignores. 2019-09-07 18:42:37 -07:00
Jason Volk
6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk
425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk
652a866a0e modules/client/publicrooms: Improve UX for partial alias search term inputs. 2019-09-05 21:36:16 -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
6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
26e08c2fc4 modules/client/rooms/read_markers: Ignore duplicate m.fully_read submissions from cliot. 2019-08-29 02:17:48 -07:00
Jason Volk
035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk
29b8ec0510 modules/client/sync/rooms/unread_notifications: Faster report from '\read all' command. 2019-08-28 02:06:05 -07:00
Jason Volk
6f60b9bed8 ircd:Ⓜ️ Simplify send() impl linkage. 2019-08-25 19:44:00 -07:00
Jason Volk
9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk
f298e95373 modules: Split out client/user related interface impls. 2019-08-25 19:44:00 -07:00
Jason Volk
8a860b61ce modules: Split m::leave(room) impl from client/rooms. 2019-08-25 19:44:00 -07:00
Jason Volk
2fdbaa88a4 modules/client/rooms/join: Minor modernizations. 2019-08-25 19:44:00 -07:00
Jason Volk
22d5b3350a modules: Split m::join impl out of client/rooms. 2019-08-25 19:43:57 -07:00
Jason Volk
afd918d19a modules/client/keys: Typedefs in anonymous namespace to prevent cross-module linkage. (#109) 2019-08-25 17:37:06 -07:00
Jason Volk
5870f1d90b modules/client/sync/rooms/timeline: Improve messages iteration event_idx/event_id seek related. 2019-08-25 13:59:05 -07:00
Jason Volk
3d445fd26c modules/client/rooms/members: Add prefetch iterations. 2019-08-24 20:37:37 -07:00
Jason Volk
48dfc78473 modules/client/send_to_device: Add origin to injected event. 2019-08-23 21:13:53 -07:00
Jason Volk
1677137440 modules/client/keys/query: Break up large json::stack append. 2019-08-23 18:40:06 -07:00
Jason Volk
1a5f27a2de modules/client/keys/query: Increase buffer. 2019-08-23 18:27:51 -07:00
Jason Volk
7016241df2 modules/client/rooms/state: Fix param check; avoid parv[] assertions. 2019-08-18 07:31:40 -07:00
Jason Volk
4d88f4bb4f ircd:Ⓜ️:create: Implement trusted_private_chat preset power_levels. 2019-08-18 06:48:13 -07:00
Jason Volk
3418f85a67 Revert "m::create: Ensure m.room.join_rules event is created on spec preset rooms."
This reverts commit 0a2510bc89.
2019-08-18 06:15:02 -07:00
Jason Volk
b18a1a3ebd modules/client/createroom: Remove the parent property. 2019-08-17 08:30:58 -07:00
Jason Volk
1e8b5b91da modules/client/send_to_device: Fix top object. 2019-08-17 07:54:16 -07:00
Jason Volk
c63374849a modules/client/sync/rooms/ephemeral/receipt: Make ephemeral/receipt phase aware; no initial. 2019-08-17 04:13:57 -07:00
Jason Volk
9bab37d585 modules/client/sync/rooms/account_data: Make handler phase aware. (closes #105) 2019-08-17 03:43:01 -07:00
Jason Volk
34e87c08c3 ircd:Ⓜ️:user::mitsein: Simplify interface. 2019-08-17 02:59:13 -07:00
Jason Volk
9973c80916 modules/m_presence: Move federation send hook here; complete functionality. 2019-08-17 02:59:13 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
5f4b6d5f1a ircd:Ⓜ️:user::filter: Move remaining to module. 2019-08-16 22:18:30 -07:00
Jason Volk
a295d52f89 modules/client/sync/presence: Elide offline presence events on initial sync. 2019-08-16 06:35:18 -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
fc742ae2d0 ircd: Fix warning/error.
ircd: Minor cleanup.
2019-08-16 03:32:13 -07:00
Jason Volk
34c1b13fa3 modules/client/profile: Ensure there's an eptr before calling rethrow. 2019-08-16 02:19:49 -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
dc47cc7a93 modules/client/profile: Wrap and rethrow remote http error in m::error here. 2019-08-16 02:19:49 -07:00
Jason Volk
76de6b4ac2 ircd:Ⓜ️:create: Cleanup/Comments for m.room.create/room create related. 2019-08-16 02:19:49 -07:00
Jason Volk
cd347d53cb ircd:Ⓜ️:create: Add a central room_version default conf item. 2019-08-16 02:19:48 -07:00
Jason Volk
183241b506 modules/client/presence: Remove presence lists stub. (matrix-org/matrix-doc#1817) 2019-08-16 02:19:48 -07:00
Jason Volk
08120bb194 modules/client/rooms/relations: Improve w/ chunked encoding; visibility checks; event append. (#126) 2019-08-14 23:56:24 -07:00
Jason Volk
74bd6cfabf modules/client/rooms: Implement Client (unstable) rooms/relations. (Closes #126) 2019-08-14 09:28:05 -07:00
Jason Volk
58b4fe8d2b modules/client/sync/rooms/unread_notifications: Apply the exposure depth paradigm to linear update. 2019-08-14 03:34:24 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
623a283671 modules/client/directory/room: Implement Client 10.2.3 DELETE roomAlias. 2019-08-13 22:12:48 -07:00
Jason Volk
da495a8810 modules/client/directory/room: Require authentication for PUT. 2019-08-13 22:09:25 -07:00
Jason Volk
423284547d modules/client/directory/room: Remove power check. (Fixes #128) 2019-08-13 22:01:51 -07:00
Jason Volk
e828dfbf13 mocdules/client/directory/room: Move existing check into loop; add comments. 2019-08-13 22:00:49 -07:00
Jason Volk
743c2331ae modules/client/directory/room: Fix type for log va_rtti. 2019-08-13 21:40:51 -07:00
Jason Volk
94354e2d63 modules/client/thirdparty/protocols: Update the URL to shut R!ot up. [skip ci] 2019-08-13 00:08:32 -07:00
Jason Volk
84e79a64e6 ircd:Ⓜ️:rooms: Refactor interface; split rooms::summary; split module. 2019-08-12 23:55:07 -07:00
Jason Volk
2f4b05afdf modules/client/notifications: Add stub array. (#87) 2019-08-12 04:26:22 -07:00
Jason Volk
ddfae956d2 modules/client/directory/user: Add avatar_url and display_name to results.
modules/client/directory/user: Increase buffer size.
2019-08-12 03:03:37 -07:00
Jason Volk
2c57890e0f modules/client/sync: Increase the linear buffer size. 2019-08-12 01:39:16 -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
3dfd8e5c75 modules/client/directory/user: Modernize w/ m::users:: and json::stack. 2019-08-12 01:39:16 -07:00
Jason Volk
aa4147b02a ircd:Ⓜ️:sync: Fix conditions for non-phased non-initial sync items. 2019-08-11 08:15:36 -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
f14a23aaf6 modules/client/sync/presence: Disable interruption on concurrent wait. 2019-08-11 04:38:50 -07:00
Jason Volk
84d4b091fe modules/client/sync/device_one_time_keys_count: Fix error. 2019-08-10 23:22:28 -07:00
Jason Volk
0a2510bc89 m::create: Ensure m.room.join_rules event is created on spec preset rooms. 2019-08-10 00:16:36 -07:00
Jason Volk
8bce90fbf3 modules/client/keys/upload: Properly implement one_time_keys upload. (Fixes #9) 2019-08-09 23:34:20 -07:00
Jason Volk
ab8771aae3 modules: Fix various hookfn instance constness. 2019-08-09 21:27:41 -07:00