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

281 commits

Author SHA1 Message Date
Jason Volk
bd3e004d70 modules/client/profile: Duplicate check for client put; extended timeout. 2018-04-21 17:28:48 -07:00
Jason Volk
3d5c8a5a2f modules/m_receipt: Deconflict receipt user_room type; add usefulness detection. 2018-04-21 16:52:19 -07:00
Jason Volk
d031d7eec5 modules/client/profile: Update profile for all rooms hook. 2018-04-21 15:45:49 -07:00
Jason Volk
02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk
7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk
7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00
Jason Volk
5b09cdc264 modules/client: Stub various lies to quiet errors in Riot. 2018-04-17 01:15:30 -07:00
Jason Volk
00b46a8885 modules/client/sync: Checkpoint preliminary stateless incremental sync exhibit. 2018-04-16 17:57:41 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
d9a73f3604 modules/client/initialsync: Reorient base frame for resource::response::chunked. 2018-04-13 23:20:46 -07:00
Jason Volk
7b22f65e86 modules/client/initialsync: Terminate client on initialsync exception. 2018-04-13 16:16:07 -07:00
Jason Volk
16239f5e0b modules/client/initialsync: Special case the invite_state key. 2018-04-13 14:45:02 -07:00
Jason Volk
a08684c9e7 modules/client/initialsync: Involve m.receipt m.read for room ephemeral events. 2018-04-12 23:07:45 -07:00
Jason Volk
7bb187eb17 modules/client/initialsync: Remove unnecessary unquote() for object. 2018-04-12 14:15:05 -07:00
Jason Volk
e6888779c9 modules/client/presence: Make m.presence a state singleton in the user's room. 2018-04-12 00:38:18 -07:00
Jason Volk
ef2b4d041b modules/client/initialsync: Catch and log error which broke sync for user reporting. 2018-04-11 23:40:30 -07:00
Jason Volk
1f49f3c193 modules/client/initialsync: Involve presence in initialsync. 2018-04-11 23:40:30 -07:00
Jason Volk
82ef048d3f ircd:Ⓜ️ More complete presence interface getter interface stack. 2018-04-11 23:09:49 -07:00
Jason Volk
55e4a8fcaf ircd:Ⓜ️ Split user's rooms iteration into separate interface. 2018-04-11 15:38:01 -07:00
Jason Volk
e9df8b699c ircd:Ⓜ️ Add user room membership convenience interface; apply. 2018-04-11 14:18:38 -07:00
Jason Volk
777525f85a modules/client/initialsync: Sync global account_data from user's room; minor cleanup. 2018-04-11 13:16:07 -07:00
Jason Volk
fff36e0d42 modules/client/initialsync: Chunked encoded streamed json initial sync. 2018-04-10 19:32:56 -07:00
Jason Volk
ab0839c018 modules/client/initialsync: Initial json::stack initial sync stack. 2018-04-10 15:31:10 -07:00
Jason Volk
acf8cf5ae6 modules/client/sync: Checkpoint scaffold non-initial sync w/ initial linkage. 2018-04-10 15:31:10 -07:00
Jason Volk
d4e35476a3 modules/client: Preliminary 6.2.3 /initialSync composite. 2018-04-10 13:15:19 -07:00
Jason Volk
37a126915b modules/client/user: Validate user path parameter for now. 2018-04-08 22:11:29 -07:00
Jason Volk
7fb3047f68 ircd:Ⓜ️ 11.18.2.1 account_data w/ central linkage. 2018-04-08 22:11:29 -07:00
Jason Volk
389d5a9f18 modules/client/rooms/receipt: Check for duplicate receipts on commission. 2018-04-07 09:57:08 -07:00
Jason Volk
d3e6b20f14 ircd:Ⓜ️:vm: Distill vm::opts::commit extension from vm::opts. 2018-04-05 23:14:30 -07:00
Jason Volk
c849a30aa1 ircd:Ⓜ️ Improve interface to current event convenience suite. 2018-04-05 22:16:32 -07:00
Jason Volk
8d0681e7b1 ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces. 2018-04-05 22:16:32 -07:00
Jason Volk
ddeeaf174f modules/client/rooms/invite: Remove unnecessary vararg. 2018-04-05 04:16:13 -07:00
Jason Volk
14608f4c6b modules/client/directory/room: Rewrite json::not_found; move cacher to after. 2018-04-04 22:54:58 -07:00
Jason Volk
7fef6f5f10 modules/client/rooms/messages: json::stack retrofit. 2018-04-04 22:54:58 -07:00
Jason Volk
ad9a5f731a modules/m_room_member: Eval foreign invites; committer in modules/client/rooms/invite. 2018-04-03 17:27:34 -07:00
Jason Volk
b90d4230ca modules/client/rooms/invite: Add invite commit / handler w/ central linkage. 2018-04-03 12:56:46 -07:00
Jason Volk
ded4ed507e modules/client/profile: Rewrite m::NOT_FOUND propagation for appropos response. 2018-04-02 22:12:25 -07:00
Jason Volk
15b995cee8 modules/m_presence: Move presence committer/getter into client/presence. 2018-03-28 22:17:09 -07:00
Jason Volk
d48f46a0ac modules/m_typing: Move m.typing committer into client/rooms/typing. 2018-03-28 22:17:09 -07:00
Jason Volk
cbc4852e16 modules/m_receipt: Move m.receipt committer into client/ 2018-03-28 22:17:09 -07:00
Jason Volk
46ef2231ab ircd:Ⓜ️ Add a vm::opts* to m:room as a vehicle for opts to eval. 2018-03-28 22:17:09 -07:00
Jason Volk
ff1fe4284d ircd:Ⓜ️ Add central linkage for join by alias; move bootstrap to rooms/join. 2018-03-27 21:44:01 -07:00
Jason Volk
275fe9d957 modules/client/rooms/read_markers: Handle room_id has read marker. 2018-03-26 23:29:58 -07:00
Jason Volk
faefd5dd64 modules/client/join: Add relevant user profile values to join event iov. 2018-03-22 16:28:43 -07:00
Jason Volk
7bfd050131 modules/client/profile: Various cleanup; use profile suite; urldecode key params. 2018-03-22 16:27:42 -07:00
Jason Volk
2116cf6254 ircd:Ⓜ️ Add user::profile suite w/ linkage to modules/client/profile. 2018-03-22 16:27:15 -07:00
Jason Volk
8eb1f4df40 ircd/modules: Consistent hook site names "vm notify" -> "vm.notify". 2018-03-16 21:42:22 -07:00
Jason Volk
bd29dec087 modules/client/rooms/read_markers: Condition on non-empty marker. 2018-03-16 12:47:39 -07:00
Jason Volk
be6a5b7767 modules/m_receipt: Add committer w/ central linkage; read_markers. 2018-03-14 22:53:34 -07:00
Jason Volk
368c803575 modules/client/rooms/typing: Implement typing handler and timeout for our client. 2018-03-14 17:47:59 -07:00
Jason Volk
bda7836ebe ircd:Ⓜ️ Move typing commitment to modules/m_typing; central interface/linkage. 2018-03-14 17:47:59 -07:00
Jason Volk
67b2f13c64 modules/client/rooms/typing: Add the typing commitment here for now. 2018-03-14 16:26:16 -07:00
Jason Volk
dea86cd26e modules/client/profile: Simplify content access; fix unquoting. 2018-03-12 16:12:39 -07:00
Jason Volk
f0b5656fda ircd:Ⓜ️ Push user creation out to module. 2018-03-11 13:40:24 -07:00
Jason Volk
08fc944021 ircd:Ⓜ️ Tweak specifics of user/account creation/activation related. 2018-03-09 17:10:45 -08:00
Jason Volk
14a41e9f58 modules/client/join: Checkpoint preliminary bootstrapper. 2018-03-08 16:34:38 -08:00
Jason Volk
84e37b9635 modules/client/account: Fix user account activation related. 2018-03-08 16:29:51 -08:00
Jason Volk
be2a7007fa ircd:Ⓜ️ Add exists(room_alias) with option for remote query; translate not_found exception. 2018-03-08 11:39:37 -08:00
Jason Volk
901a77266e ircd:Ⓜ️:vm: Massage edus through the core eval path; rename inserted to accept. 2018-03-07 13:28:15 -08:00
Jason Volk
76e16927c7 ircd:Ⓜ️ Move user activation definition into client/accounts near is_active(). 2018-03-05 05:24:45 -08:00
Jason Volk
ec0d151827 ircd:Ⓜ️ Move user::password related to modules/client/account/password. 2018-03-05 05:24:45 -08:00
Jason Volk
1723a48e89 ircd:Ⓜ️ Move user::is_active() to modules/client/account. 2018-03-05 05:24:45 -08:00
Jason Volk
f8dc84d46e ircd:Ⓜ️ Modularize the user::activate/user::deactivate definitions. 2018-03-05 05:24:45 -08:00
Jason Volk
01ce9a3d6f ircd:Ⓜ️ Move spec tuples into headers. 2018-03-05 05:24:45 -08:00
Jason Volk
69b0acde63 ircd:Ⓜ️ Preliminary reorg around experimental presence interface. 2018-03-04 08:57:02 -08:00
Jason Volk
5a1d0a9f45 modules/client/register: Fix bug. 2018-03-04 08:57:02 -08:00
Jason Volk
90e3b90775 ircd:Ⓜ️ Hook ctor rewrites local m::id's with my_host(); update affected hooks. 2018-03-03 04:06:49 -08:00
Jason Volk
389af728c4 modules/client/register: Add preliminary first_user_registered hook. 2018-03-03 01:00:33 -08:00
Jason Volk
6333003aad ircd:Ⓜ️ Move user::activate() out to modules/client/register. 2018-03-03 00:51:27 -08:00
Jason Volk
150543ae91 ircd:Ⓜ️ Add linkage for user::presence;
modules/client/presence: reorg for linkage; minor cleanup.
2018-03-02 08:02:21 -08:00
Jason Volk
6dbb1864dd modules/client/rooms/initialsync: Default on the membership check for unauth'ed user. 2018-03-02 08:02:21 -08:00
Jason Volk
baa7a80b68 ircd: Various fixes; bump default db LRU cache sizes. 2018-03-02 08:02:20 -08:00
Jason Volk
4c89d17e68 modules/client/publicrooms: Use better hook for creating the public rooms room. 2018-03-02 08:02:20 -08:00
Jason Volk
b0730143d1 modules/client/directory/room: Use more exact range on cache response. 2018-03-01 04:47:14 -08:00
Jason Volk
f7a4f5c939 modules/client/rooms/initialsync: Checkpoint what's here for now. 2018-02-28 21:25:25 -08:00
Jason Volk
59cad48ce5 modules/client/directory/room: Add TTL/expiration to cached entries. 2018-02-28 20:53:05 -08:00
Jason Volk
c27e911d26 modules/client/directory/room: Create and use the !alias room to cache room alias queries. 2018-02-28 20:52:58 -08:00
Jason Volk
b90d3a9447 modules/client/profile: Throw out here instead. 2018-02-27 02:44:32 -08:00
Jason Volk
071488d96e modules/client/join: Forward alias join to room_id join; comment. 2018-02-26 20:59:33 -08:00
Jason Volk
e67ce2b43e ircd:Ⓜ️ Add room_alias -> room_id outsourcing; plug in modules/client/join. 2018-02-26 04:55:27 -08:00
Jason Volk
e594063e0c modules/client/join: Determine and route room_id_or_sigil appropriately. 2018-02-26 04:32:25 -08:00
Jason Volk
8f9a4aad7d modules/client/createroom: Add json::tuple of all spec params to parse request. 2018-02-26 01:40:41 -08:00
Jason Volk
e7b6f4bac6 ircd:Ⓜ️ Add vm_notify hook::site; add hook to create public rooms room. 2018-02-26 01:40:41 -08:00
Jason Volk
da8ef9e08e modules/client/events: Update/fix this stub for room previews. 2018-02-25 04:19:37 -08:00
Jason Volk
3d016b9e04 modules/client/rooms: Stub initialSync handler for room previews in Riot. 2018-02-25 04:19:37 -08:00
Jason Volk
c41a3dc25c ircd:Ⓜ️:v1: Add overloads to derive query remote from mxids. 2018-02-25 02:05:43 -08:00
Jason Volk
8c24d590a4 modules/client/profile: Plug in remote user profile query; minor reorg. 2018-02-25 00:38:42 -08:00
Jason Volk
979f585688 modules/client/directory: Plug v1::query::directory into GET directory/room 2018-02-25 00:30:45 -08:00
Jason Volk
bc7efd8bff modules/client: Stub publicised_groups endpoint. 2018-02-24 01:14:26 -08:00
Jason Volk
9d1d0c84a9 modules/client/rooms/messages: Implement pagination tokens. 2018-02-24 01:14:26 -08:00
Jason Volk
6385759769 modules/client/directory/user: Implement user directory result query. 2018-02-23 23:35:09 -08:00
Jason Volk
4a42e9d6b7 ircd:Ⓜ️ Move the rooms commit...thing to modules/client/rooms.
modules/client/rooms: Cleanup; renamespacing.
2018-02-22 20:46:27 -08:00
Jason Volk
7d4d88de73 ircd:Ⓜ️ Move and relink all the state/non-state sends()/message();
modules/client/rooms/state: reorg / renamespacing.
modules/client/rooms/send: renamespacing.
2018-02-22 20:32:10 -08:00
Jason Volk
44ff77a03f ircd:Ⓜ️ Move redact() definition to modules/client/rooms/redact
modules/client/rooms/redact: renamespacing.
2018-02-22 20:32:10 -08:00
Jason Volk
99239c8b95 ircd:Ⓜ️ Move leave() definition to modules/client/rooms/leave. 2018-02-22 20:32:10 -08:00
Jason Volk
116b6e12a6 ircd:Ⓜ️ Move join() definition to modules/client/rooms/join. 2018-02-22 20:32:09 -08:00
Jason Volk
09519174e2 ircd:Ⓜ️ Move room create() definition to modules/client/createroom. 2018-02-22 20:21:47 -08:00
Jason Volk
e6de770499 modules/client/rooms: Spec out the params in the 7.4 endpoints. 2018-02-22 01:35:00 -08:00
Jason Volk
34d1ea4afc modules/client/user: Stub handler for 11.18.2.2 PUT rooms/account_data; fix parv check. 2018-02-21 16:57:41 -08:00
Jason Volk
599b53d20b modules/client/directory/room: Stub missing 7.2.1 PUT; minor cleanup. 2018-02-21 16:57:41 -08:00
Jason Volk
87aece1dd7 modules/client/publicrooms: Checkpoint empty responses. 2018-02-21 15:41:09 -08:00
Jason Volk
d90f369c6d modules/client: Stub unstable thirdparty/protocols to quash Riot error. 2018-02-21 15:41:09 -08:00
Jason Volk
186239a5e4 modules/client/publicrooms: Stub missing 7.5.2 POST method. 2018-02-21 15:40:58 -08:00
Jason Volk
083397c03d modules/client/rooms: Stub the remaining room operation endpoints. 2018-02-21 15:22:04 -08:00
Jason Volk
754a9366fb modules/client/user: Stub openid/ openid/request_token. 2018-02-20 15:40:40 -08:00
Jason Volk
091efbdabe modules/client/directory: Stub user search endpoint. 2018-02-19 19:45:44 -08:00
Jason Volk
ea8dcdf619 modules/client/keys: Stub keys/query for device list. 2018-02-16 17:28:06 -08:00
Jason Volk
da9393016d modules/client: Cleanup/consistency in register/login handle stack. 2018-02-16 17:17:18 -08:00
Jason Volk
06e33f40a1 modules/client/presence: Dup the user_id in the content for now: simpler on out-side. 2018-02-16 13:33:19 -08:00
Jason Volk
023990888b modules/client: Fix error. 2018-02-16 13:33:19 -08:00
Jason Volk
38db46aad4 modules/client/rooms: 6.4.1/6.4.2 PUT state. 2018-02-16 13:33:18 -08:00
Jason Volk
b121c4377b modules/client/rooms: 6.3.5 GET joined_members; minor cleanup. 2018-02-16 12:37:21 -08:00
Jason Volk
a9b42926fa modules/client/events: Dumbstub this endpoint for 11.6 and requiring a room_id for now. 2018-02-16 12:07:12 -08:00
Jason Volk
fa4d31292f modules: Shrink these to a reasonable block size for now. 2018-02-16 11:56:32 -08:00
Jason Volk
33e0d15f28 modules/client: 11.6 Presence to and from the user's user room timeline. 2018-02-15 19:59:59 -08:00
Jason Volk
c6855c58c3 modules/client/devices: Use the id::device; use the user::room. 2018-02-15 17:27:42 -08:00
Jason Volk
f7db9bd92f modules/client/rooms: Add POST variant for redact. 2018-02-15 16:50:08 -08:00
Jason Volk
149db42d4e modules/client/rooms: 6.5.2.1 PUT redact. 2018-02-15 16:50:08 -08:00
Jason Volk
bc186e832d modules/client/register: Checkpoint hardcoded guest-reg block here for now. 2018-02-15 13:55:09 -08:00
Jason Volk
eab4aef7e6 ircd:Ⓜ️/modules/client: Add device ID generation; use token/password helpers; various comments/cleanup. 2018-02-15 13:55:09 -08:00
Jason Volk
27a539f941 modules/client: Cleanup some numbering and descriptions. 2018-02-15 13:40:07 -08:00
Jason Volk
bfcfacfc50 modules/client: 11.9 Device Management (incomplete). 2018-02-14 22:07:01 -08:00
Jason Volk
9da8e233d6 modules/client: Update various thrown errors. 2018-02-14 22:07:01 -08:00
Jason Volk
38454022cd ircd::m/modules: Add M_NEED_MORE_PARAMS. 2018-02-14 22:07:01 -08:00
Jason Volk
24aac22e33 modules/client/account: Stub an account/3pid response. 2018-02-14 22:07:01 -08:00
Jason Volk
5c171d6789 modules/client/profile: 8.2 Profiles :with the user's user room. 2018-02-14 22:06:35 -08:00
Jason Volk
3dd792033b modules/client/account: 3.6.1 GET whoami 2018-02-14 22:06:20 -08:00
Jason Volk
575820d993 modules: Split client/account. 2018-02-14 21:49:46 -08:00
Jason Volk
d4e6e23804 modules: Split client/user. 2018-02-14 21:49:46 -08:00
Jason Volk
c45461d5f6 modules: Split modules/client/rooms; reorg Makefile. 2018-02-14 21:49:46 -08:00
Jason Volk
173d19ee6a modules/client/sync: Give client more async() after /sync 408. 2018-02-13 18:36:30 -08:00
Jason Volk
b06412da76 modules/client/sync: Fix interpretation of the sync timeout query param. 2018-02-12 19:30:44 -08:00
Jason Volk
5f24883c1c modules: Add minimum viable stubs for errorless Riot load.
modules/client/pushrules: Stub arrays for errorless Riot load.
2018-02-12 19:30:44 -08:00
Jason Volk
75dabda9c7 modules/client/sync: Checkpoint sync stubs. 2018-02-12 19:30:44 -08:00
Jason Volk
2be10ef206 ircd: Fix/Address client current request flow for longpolls. 2018-02-12 19:30:44 -08:00
Jason Volk
67fba3cd7b ircd:Ⓜ️ Move filters into the user's user room. 2018-02-11 19:46:31 -08:00
Jason Volk
9c145394f9 modules/client/user: Add base handlers to switch the path params. 2018-02-11 15:47:25 -08:00
Jason Volk
5c641d63ef modules/client/createroom: Update the createRoom endpoint handler. 2018-02-11 15:47:25 -08:00
Jason Volk
bbbb88fe46 modules/client/user: Reactivate the get filter endpoint. 2018-02-11 15:47:25 -08:00
Jason Volk
b86560c5f5 modules/client/sync: Reactivate sync with a trial using user's room. 2018-02-11 15:47:25 -08:00
Jason Volk
830a4b92a1 ircd:Ⓜ️ Add preliminary !@user:host "user's room" to database all things user. 2018-02-11 15:47:24 -08:00
Jason Volk
ca0e488ea5 modules/client/rooms: Reactivate the /messages endpoint (with zero param respect). 2018-02-10 19:56:01 -08:00
Jason Volk
b238818522 ircd:Ⓜ️ Convert room::members/origins iters to test proto; console update; various. 2018-02-10 13:05:01 -08:00
Jason Volk
23387155df ircd:Ⓜ️ Candidate split room::state interface (const part). 2018-02-10 00:41:10 -08:00
Jason Volk
bc4072c4d1 modules/client/rooms: Reinstate the state related endpoints. 2018-02-09 21:34:44 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
622086a12a modules/client/register: Don't require auth object for r0.3.0. 2018-01-29 12:00:00 -08:00
Jason Volk
f12786959e modules/client/register: Fix defaulting empty ?kind= to user. 2018-01-29 12:00:00 -08:00
Jason Volk
a9cada32db ircd:Ⓜ️ Add dbs namespace; remove old interfaces; checkpoint various. 2018-01-26 18:12:46 -08:00
Jason Volk
5ab7dc6421 modules/client: filter_id is the event_id of the filter saved to the filter room... 2018-01-23 18:41:34 -08:00