0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-09 11:31:11 +01:00
Commit graph

1003 commits

Author SHA1 Message Date
Jason Volk
eb3a09d5e2 modules/client/capabilities: Fix typo. 2020-10-03 07:29:47 -07:00
Jason Volk
9a15f712c5 modules/client/rooms/read_markers: Minor cleanup. 2020-09-24 02:58:31 -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
5636ad543a modules/client/user/account_data: Minor cleanup. 2020-08-23 02:32:54 -07:00
Jason Volk
e0d6c653f7 modules/client/sync: Remove cache control; fix empty response cache. 2020-08-21 06:20:26 -07:00
Jason Volk
1ab72aa258 modules/client/sync: Add response cache directive. 2020-08-10 03:41:06 -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
1877972828 ircd:Ⓜ️:groups: Start namespace, central lib; preliminary client resource module. 2020-07-30 10:24:10 -07:00
Jason Volk
9c3cd55639 ircd:Ⓜ️:groups: Preliminary stub for client/create_group. 2020-07-30 10:24:10 -07:00
Jason Volk
285b69f049 modules/client/user/rooms: Always return 200 for DELETE tags method. 2020-07-25 03:08:50 -07:00
Jason Volk
200e4c55cf modules/client/register: Disable public registration by default. 2020-06-23 00:55:32 -07:00
Jason Volk
3a7bfdc54a modules/client/rooms/messages: Increase postfetching readahead default; make conf item. 2020-06-18 07:11:40 -07:00
Jason Volk
4304ce1bc0 modules/client/rooms/members: Eliminate the content fetch dependency. 2020-06-13 20:36:21 -07:00
Jason Volk
7f377d6072 modules/client/room_keys/keys: Minor return event_id for trivial completeness. 2020-06-10 22:36:28 -07:00
Jason Volk
dc1e9a3c06 modules/client/room_keys/keys: Increase content maximum for PUT method. 2020-06-08 12:38:41 -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
1d45c9aecd modules/client/sync: Fix unmatched debuglog message at polylog handler completion. 2020-06-03 23:26:08 -07:00
Jason Volk
9e96863922 ircd:Ⓜ️:sync: Add flags component to since token. 2020-06-03 22:36:58 -07:00
Jason Volk
fcd488b409 ircd:Ⓜ️:sync: Centralize all since token related into library suite. 2020-06-03 22:36:58 -07:00
Jason Volk
b8c4bf85e5 ircd:Ⓜ️:sync: Split up sync.h header into directory; move sync::data definition. 2020-06-03 19:39:55 -07:00
Jason Volk
96222340f8 modules/client/sync: Reorder/reorg definitions. 2020-06-03 19:39:55 -07:00
Jason Volk
89264ceff4 modules/client/capabilities: Indicate v6. 2020-05-30 16:45:28 -07:00
Jason Volk
d9cf74ebd6 modules/client/publicrooms: Convey search term to any federation query. 2020-05-29 01:39:25 -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
41932375e3 modules/client/publicrooms: Cleanup/minor modernization. 2020-05-12 23:29:33 -07:00
Jason Volk
b7d8f9c211 modules/client/room_keys/version: Throw coded 404 for no version found. 2020-05-11 02:10: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
450f715f7a modules/client/room_keys/version: Return a dummy response rather than 404. (#141) 2020-05-07 14:23:17 -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
ff96eb803d ircd:Ⓜ️:user: Move is_active() to adl'ed active(). 2020-05-02 23:57:53 -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
7159249f70 modules/client/keys: Reapportion missing request header buffer. 2020-04-27 16:06:28 -07:00
Jason Volk
12d4b6b53e modules/client/keys: Add limits on dynamic buffer calculations. 2020-04-27 13:26:42 -07:00
Jason Volk
a14dcc325f modules/client/keys/query: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -07:00
Jason Volk
3b9898836c modules/client/keys/claim: Dynamic calculation for request buffer. 2020-04-27 13:18:45 -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
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -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
0568719030 modules/client/rooms/join: Convey any available (non-spec) server_name to m::join(). 2020-04-21 23:05:28 -07:00
Jason Volk
b471713582 modules/client/join: Convey available server_name data to join system. 2020-04-21 23:05:28 -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
b798864d18 modules/client/rooms/invite: Capture additional r0.6.0 required fields. 2020-04-20 00:51:01 -07:00
Jason Volk
1a0a24d91a modules/client/keys/claim: Use proper resource method flag. 2020-04-19 23:25:03 -07:00
Jason Volk
1f8e07d73d modules/client/join: Minor clarify that event_id is returned here. 2020-04-16 17:11:20 -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
ad4f28a2ce modules/client/keys/claim: Improve errorlog message for keys claim. 2020-04-16 15:46:20 -07:00
Jason Volk
d475d86be7 modules/client/publicrooms: Improve pagination logic related; remvoe default limit. 2020-04-16 13:55:52 -07:00
Jason Volk
028db422be modules/client/rooms/invite: Fix event_id to array x-value. 2020-04-15 22:15:00 -07:00
Jason Volk
5d9c022f75 modules/client/rooms/invite: Check if remote already signed the invite before requesting. 2020-04-15 22:01:51 -07:00
Jason Volk
9db5919d6c modules/client/rooms/invite: Fix log namespace; fix use after move; add debuglog. 2020-04-15 20:51:13 -07:00
Jason Volk
d1a5930ba9 modules/client/login: Fix for fully qualified requested device_id; verify hostpart. 2020-04-15 17:29:13 -07:00
Jason Volk
b3c6932332 modules/client/register: Refactor bridge codepath; m.login.application_service. 2020-04-15 17:00:05 -07:00
Jason Volk
3fc4bac384 Merge branch 'master' of https://github.com/yangm97/construct 2020-04-15 16:25:59 -07:00
Jason Volk
2b6b69658b modules/client/rooms/initialsync: Support limit query parameter. 2020-04-15 16:09:55 -07:00
Jason Volk
44b8c6da71 modules/client/rooms/initialsync: Optimize state iteration w/o event_id indirection. 2020-04-15 16:09:55 -07:00
Yan Minari
24cb228901
feat(bridge): relax register flow for AS puppet registration
Signed-off-by: Yan Minari <yangm97@gmail.com>
2020-04-15 16:07:02 -03: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
9d5d2cc184 modules/client/sync: Minor indentation [skip ci]. 2020-04-14 19:14:09 -07:00
Jason Volk
1edc00d6e5 modules/client/register: Add branch for authenticated user requests. 2020-04-14 18:32:41 -07:00
Jason Volk
ae68e4f93a modules/client/register: Use m::resource to ensure features at this endpoint. 2020-04-14 18:30:41 -07:00
Jason Volk
75a8b2b621 modules/client/login: Support both full mxid and localpart to login. 2020-04-14 18:25:16 -07:00
Jason Volk
79a4394626 ircd::json::stack: Simplify checkpoint interface controls. 2020-04-14 15:31:41 -07:00
Jason Volk
592f6fe673 modules/client/register: Use better default flows. 2020-04-13 16:02:52 -07:00
Jason Volk
0b5716762d modules/client/user: Minor fix formatting. 2020-04-10 19:29:17 -07:00
Jason Volk
a6ee1a3cec modules/client/keys/claim: Increase default timeouts quia synapse. 2020-04-10 19:29:17 -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
2451e3933f modules/client/rooms/messages: Add postprefetching loop to optimize pagination. 2020-04-08 13:49:06 -07:00
Jason Volk
8af5eea783 modules/client/rooms/messages: Fix loop condition off by one. 2020-04-08 13:26:50 -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
6c0e6d49fb ircd:Ⓜ️:device: Remove remaining access_token_to_id interface related. 2020-04-01 17:35:10 -07:00
Jason Volk
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -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
327407cc76 modules/client/send_to_device: Propagate interrupts.
modules/m_device_list_update: Propagate interrupts.
2020-04-01 13:44:39 -07:00
Jason Volk
0bb3a33fa2 modules/client/keys/claim: Relax user mxid construction in response; minor cleanup. 2020-03-31 16:02:14 -07:00
Jason Volk
cec762de94 modules/client/send_to_device: Move target into content.
modules/federation/sender: Adjust special cases.
2020-03-31 14:17:44 -07:00
Jason Volk
82e01fcc09 modules/client/register_email: Allow and default undefined id_server property. 2020-03-31 13:39:19 -07:00
Jason Volk
31aa8a0d0c modules/client/versions: Add m.require_identity_server. 2020-03-31 13:39:19 -07:00
Jason Volk
07d7dc2801 modules/client/keys/device_signing/upload: Add flows object on error. 2020-03-31 13:11:41 -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
954381b280 modules/client/room_keys/keys: Implement GET method (partial). 2020-03-31 12:12:08 -07:00
Jason Volk
b75e0a20e1 modules/client/room_keys/keys: Implement PUT method. 2020-03-31 12:11:56 -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