Jason Volk
881d3116cc
modules/client/sync/rooms/account_data: Ensure apropos() hits the linear event coming through.
2019-03-30 14:09:47 -07:00
Jason Volk
efd1124cd7
modules/client/login: Fix loss of value data during device tuple assimilation.
...
modules/client/register: Fix loss of value data during device tuple assimilation.
2019-03-28 21:31:22 -07:00
Jason Volk
8f335ca1bb
modules/client/login: Fix JSON typing of remote IP strings.
...
modules/client/register: Fix JSON typing of remote IP strings.
2019-03-28 17:47:57 -07:00
Jason Volk
e555b91fa5
modules/client/sync/rooms/ephemeral/receipt: Elide syncing user's own receipts.
2019-03-28 17:36:22 -07:00
Jason Volk
6419333457
modules/client/sync/rooms/unread_notifications: Use better counter upper bound.
2019-03-28 00:11:35 -07:00
Jason Volk
0e6e556d50
modules/client/sync: Reuse scratch buffer on longpoll handles.
2019-03-27 23:50:43 -07:00
Jason Volk
5d06042140
modules/client/sync: Use the same linear vector merge in longpoll handler.
2019-03-27 20:28:59 -07:00
Jason Volk
394ec523a2
ircd: Ⓜ️ :sync: Do a full iteration of all linear sync items even if success.
2019-03-27 20:13:04 -07:00
Jason Volk
fc09dd4034
modules/client/rooms/read_markers: Reimplement client 14.6 /read_markers m.fully_read.
2019-03-27 16:54:10 -07:00
Jason Volk
2d459d8da8
modules/client/rooms/receipt: Split m.read logic into subroutine.
2019-03-27 16:14:14 -07:00
Jason Volk
0e5b10816a
modules/client/rooms/receipt: Enforce support for m.read type only.
2019-03-27 15:30:40 -07:00
Jason Volk
54f7ddb6bd
modules/client/rooms/state: Log an error when a state event fetch fails during sync.
2019-03-23 02:45:05 -07:00
Jason Volk
5b951b55c5
modules/vm: Add sequencing points.
...
ircd:Ⓜ️ :vm: Reorganize sequence counters.
2019-03-19 16:31:05 -07:00
Jason Volk
21d8c9ce76
modules/client/rooms/report: Provide missing error string in log message.
2019-03-17 13:41:33 -07:00
Jason Volk
22fe24f54f
modules/client/sync: Add linear buffer size conf item; add help texts to some confs.
2019-03-17 13:24:24 -07:00
Jason Volk
9ab3549660
modules/client/sync: Tweak log message format; cleanup longpoll::accepted struct.
2019-03-17 13:18:33 -07:00
Jason Volk
2158d3e7b6
modules/client/rooms/report: Create !abuse room with !ircd init hook.
2019-03-16 19:38:33 -07:00
Jason Volk
4e618175c7
modules/client/sync: Try to ensure all next_batch tokens are limited to the upper bound.
2019-03-16 18:12:38 -07:00
Jason Volk
7fc68e1933
modules/client/sync: When longpoll hits an unsequenced EDU, the next_batch must repeat the current since token.
2019-03-16 12:59:18 -07:00
Jason Volk
03abdd5ac6
modules/client/sync: Improve since token rejection message.
2019-03-16 12:26:03 -07:00
Jason Volk
b456210f1e
modules/client/directory/list: Preliminary AS 2.3.5.1 PUT list/appservice.
2019-03-15 16:19:05 -07:00
Jason Volk
11afd2e590
modules/client/sync/rooms: Support ignoring invites based on m.ignored_user_list.
2019-03-14 18:11:52 -07:00
Jason Volk
78c18f45ab
Implement client 14.26 Reporting Content.
2019-03-14 16:20:40 -07:00
Jason Volk
86ddcd7149
modules/client/createroom: Implement 13^h^h14.23.3 Server behaviour.
2019-03-14 15:32:06 -07:00
Jason Volk
380032d4a9
ircd: Ⓜ️ :room: Augment m::invite() convenience interface for custom content.
2019-03-14 15:32:06 -07:00
Jason Volk
240c181b16
modules/client/directory/list/room: Complete the missing PUT functionality.
2019-03-14 15:12:40 -07:00
Jason Volk
b1bf848155
modules/client/voip/turnserver: Add conf items for voip turnserver response.
2019-03-14 14:49:04 -07:00
Jason Volk
db9b891493
modules/client/rooms/event: Respond with zero-copy/zero-alloc.
2019-03-14 14:29:59 -07:00
Jason Volk
8ebb51bd9f
modules/client/rooms/state: Refactor GET handlers for chunk streaming and spec behavior.
2019-03-14 14:25:37 -07:00
Jason Volk
42309c1c96
modules/client/rooms/members: Upgrade /members and /joined_members to streamed responses.
2019-03-14 13:55:44 -07:00
Jason Volk
3e72e1277e
modules/client/directory/list: Implement directory list room handlers.
2019-03-14 13:25:28 -07:00
Jason Volk
1f35e9c57e
modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends.
2019-03-13 17:08:35 -07:00
Jason Volk
f745787ce4
modules/client/sync: Check if the client is still alive during longpoll.
2019-03-12 18:41:05 -07:00
Jason Volk
fe778e6ae4
modules/client/sync/rooms: Remove unnecessary checkpoint.
2019-03-12 18:41:05 -07:00
Jason Volk
425364f13e
modules/client/sync/rooms/state: Fix missing append.
2019-03-12 18:41:05 -07:00
Jason Volk
06459e655e
modules/client/sync/to_device: Fix improper seek.
2019-03-12 18:41:05 -07:00
Jason Volk
c416be8398
modules: Replace individual client event appending with m::append().
2019-03-11 16:02:48 -07:00
Jason Volk
daee236126
modules/client: Remove 308 redirects for unstable endpoints.
2019-03-11 10:43:06 -07:00
Jason Volk
e90e4aba42
modules/client/keys/upload: Disable one_time_keys; otherwise it spams the user's room.
2019-03-10 20:47:50 -07:00
Jason Volk
ba09d57d8e
modules/client/rooms/context: Include unsigned data in returned events.
2019-03-09 19:21:44 -08:00
Jason Volk
48ab443ece
modules/client/rooms/messages: Include unsigned data in returned events.
2019-03-09 19:21:22 -08:00
Jason Volk
bfc189da7e
modules/client/rooms/messages: Omit pagination tokens at ends of iteration.
2019-03-09 18:52:48 -08:00
Jason Volk
d8da7814e8
modules/client/rooms/messages: Consider the from token inclusive.
2019-03-09 18:48:08 -08:00
Jason Volk
811e4f8c03
modules/client/rooms/context: Omit pagination tokens for ends of iteration.
2019-03-09 18:16:27 -08:00
Jason Volk
79782958fc
modules/client/sync/rooms/timeline: Add conf item for default limit.
2019-03-09 17:37:48 -08:00
Jason Volk
ce8824a1bd
modules/client/sync/rooms: Reenable per-room debug stats.
2019-03-09 15:17:21 -08:00
Jason Volk
0a8bb92e6d
modules/client/rooms/send: Use vm.post hook site to save transaction_id before notifies.
2019-03-09 12:09:07 -08:00
Jason Volk
58159d3ee6
modules/client/sync: Fix condition to skip linear for longpoll.
2019-03-08 17:47:29 -08:00
Jason Volk
e2d2c7f376
ircd: Ⓜ️ :v1::user: Default to dynamic content buffering; adjust callsite buffer sizes.
2019-03-08 17:11:42 -08:00
Jason Volk
8e2aef32ef
modules/client/sync: Consistent display of next_batch values in debug log msgs.
2019-03-08 15:29:10 -08:00
Jason Volk
fcfcb83d42
modules/client/sync/rooms/timeline: Log dwarning message when transaction_id missing.
2019-03-08 15:02:48 -08:00
Jason Volk
78c888ffae
modules/client/users/openid: Return a better http code here.
2019-03-08 14:33:54 -08:00
Jason Volk
c0d0599b19
modules/client/sync: Tweak next_batch case; add debuglog on timeout branch.
2019-03-08 14:26:23 -08:00
Jason Volk
187eca0e4e
modules/client/sync: Refactor linear sync handlers to assume no implicit path.
2019-03-08 14:19:04 -08:00
Jason Volk
8230819edf
modules/client/sync: Optimize these user state iterations.
2019-03-08 13:42:24 -08:00
Jason Volk
d1e0864590
modules/client/profile: Optimize the user profile iteration.
2019-03-08 11:25:38 -08:00
Jason Volk
cdac039658
modules/client/rooms/leave: Simplify leave endpoint handler.
2019-03-08 10:07:17 -08:00
Jason Volk
60c48d2a83
modules/client/rooms/unban: Implement 10.4.4.2 POST unban.
2019-03-08 09:57:43 -08:00
Jason Volk
cb2c65e8e2
modules/client/rooms/kick: Simplify endpoint handler.
2019-03-08 09:45:50 -08:00
Jason Volk
47216cba91
modules/client/rooms/ban: Implement 10.4.4.1 POST ban.
2019-03-08 09:43:30 -08:00
Jason Volk
3fdb3a420a
modules/client/rooms/forget: Implement 10.4.3.2 POST forget.
2019-03-07 16:26:04 -08:00
Jason Volk
59124a0fe1
modules/client/createroom: Differentiate between spec preset and internal preset strings.
2019-03-07 15:40:45 -08:00
Jason Volk
864c6cc889
modules/client/rooms/send: urldecode type and txnid path parameters.
2019-03-07 15:32:03 -08:00
Jason Volk
cc14164dc8
modules/client/profile: Reuse the profile::set() path in fetch().
2019-03-07 12:14:01 -08:00
Jason Volk
5adfb3ba43
modules/client/sync: Add conf items which override the sync mode selection.
2019-03-07 11:53:58 -08:00
Jason Volk
34561a5659
modules/client/profile: Fix JSON string type assumption for profile values.
2019-03-06 18:17:46 -08:00
Jason Volk
33d3764c71
modules/client/createroom: Make special conditions to optimize user's user rooms.
2019-03-06 17:41:56 -08:00
Jason Volk
9f4890a517
ircd: Ⓜ️ Unify room create interface and paths around createroom tuple.
2019-03-06 15:02:43 -08:00
Jason Volk
dd961fc53d
modules/client/profile: Remove attempt at non-trivial designated initializers.
2019-03-06 10:50:42 -08:00
Jason Volk
eb050591c9
modules/client/profile: Improve profile related for remote users.
2019-03-06 00:12:21 -08:00
Jason Volk
094ae6e997
ircd: Ⓜ️ :user::profile: Add interface for remote profile fetch().
2019-03-06 00:12:21 -08:00
Jason Volk
1f82b884ff
ircd: Ⓜ️ Implement 14.18 Room Tagging.
2019-03-05 18:42:04 -08:00
Jason Volk
8b32f0558d
modules/client/sync/rooms/state: Add unsigned addendum to event output.
2019-03-05 14:43:00 -08:00
Jason Volk
6fed8cc360
modules/client/createroom: Forbid guest access on all presets in violation of the spec.
2019-03-05 14:27:52 -08:00
Jason Volk
00da74fa27
modules/client/createroom: Improve error reporting; add derror log message.
2019-03-05 14:24:31 -08:00
Jason Volk
85b66e2d55
modules/client/sync/rooms/timeline: For non-longpoll, attempt to query transaction_id.
2019-03-05 14:24:08 -08:00
Jason Volk
d30e053e42
modules/client/rooms/send: Save transaction_id's to user's user room.
2019-03-05 14:24:08 -08:00
Jason Volk
78eab2fbcd
modules/client/createroom: Implement the preset string behavior.
2019-03-05 14:24:08 -08:00
Jason Volk
d4b8a8089e
ircd: Ⓜ️ :createroom: Generate default power_levels w/ option for content_override.
2019-03-05 14:24:08 -08:00
Jason Volk
c972683e2c
modules/client/createroom: Set the visibility in the public rooms list; minor cleanup.
2019-03-05 12:51:48 -08:00
Jason Volk
70484be697
modules/client/createroom: Add graceful error handling and granular reporting to client.
2019-03-05 12:42:53 -08:00
Jason Volk
f0598bb27a
modules/client/createroom: Set initial room state from supplied request data.
...
modules/client/createroom: Set the room name and topic if supplied in request.
modules/client/createroom: Set any state events from supplied initial_state.
modules/client/createroom: Invite any users in the supplied invite array.
modules/client/createroom: Set the room's initial guest_access if supplied by user.
2019-03-05 12:23:49 -08:00
Jason Volk
d8a9f484a4
modules/client/rooms/messages: Simplify the messages iteration.
2019-03-04 15:46:44 -08:00
Jason Volk
1dcf36adc8
modules/client/rooms/event: Fix param missing error message.
2019-03-04 14:36:49 -08:00
Jason Volk
19e09b0ad5
ircd: Ⓜ️ :login: Support identifier typed login.
2019-03-04 13:16:14 -08:00
Jason Volk
59973705bb
modules/client/rooms/context: Provide better pagination tokens in response.
2019-03-04 12:43:14 -08:00
Jason Volk
48055345ea
modules/client/rooms/messages: Fix the start pagination token in reponse.
2019-03-04 12:42:58 -08:00
Jason Volk
86e7e78a8a
modules/client/register: Disable guest registration by default for now.
2019-03-04 09:29:27 -08:00
Jason Volk
68ed0d6133
modules/client/register: Add email to the registration flows.
2019-03-04 09:28:02 -08:00
Jason Volk
3099997049
modules/client/sync/rooms/state: Deal with "invite_state" vs. "state".
2019-03-03 16:33:10 -08:00
Jason Volk
e93e460f22
modules/client/sync: Must wait for parallel completion before copying ret.
2019-03-03 16:33:10 -08:00
Jason Volk
f1bca6de7e
modules/client/profile: Return 404 rather than {} for empty profiles.
2019-03-03 16:33:10 -08:00
Jason Volk
295794ec42
ircd: Ⓜ️ :user: Improve user filter interface and module linkage.
2019-03-02 16:49:44 -08:00
Jason Volk
73be558ff2
modules/client/register_available: Deny response when registration disabled.
2019-03-02 16:05:30 -08:00
Jason Volk
3deeab99de
modules/client/register: Allow flows request before denying registration otherwise Riot infinite-loops.
2019-03-02 16:05:30 -08:00
Jason Volk
47bcfaecb4
ircd: Upgrade various templates with argument deduction.
2019-03-02 14:20:52 -08:00
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
7f7ecc90b3
modules/client/rooms/context: Allow a room_id as the event_id and fetch the room head.
2019-03-01 19:02:49 -08:00
Jason Volk
0720b2f4c4
modules/client/events: Implement 14.17.1.1 /events (room previews).
2019-03-01 18:34:53 -08:00
Jason Volk
d50462a9dd
modules/client/rooms: Implement 9.3.8 initialSync (for acquired rooms).
2019-03-01 18:25:37 -08:00