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

290 commits

Author SHA1 Message Date
Jason Volk
5eebfbbb90 modules/client/rooms/relations: Respond with newest relations first. (fixes #170) 2022-08-17 18:15:30 -07:00
Jason Volk
8b07815357 modules/client/rooms/relations: Use m::relates interface w/ sender checking; cleanup. 2022-08-17 15:43:22 -07:00
Jason Volk
a8f942d3ee modules/m_command: Fix command and reply detection w/ proper room::message. 2022-08-16 21:20:32 -07:00
Jason Volk
6dd7ed4730 modules/m_command: Support command input w/ reply-to argument context. 2022-08-02 13:18:58 -07:00
Jason Volk
a3dadaf869 Merge branch 'rate_limited_resource_handlers' of https://github.com/kamathmanu/construct 2022-07-20 21:00:17 -07:00
Jason Volk
d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk
db75ca52c4 modules/client/rooms/messages: Relax limit value lex_cast prior to truncation. 2022-07-18 16:58:02 -07:00
Jason Volk
ec55b9b30f ircd:Ⓜ️ Implement matrix-org/matrix-spec-proposals#3316 timestamp massaging. 2022-07-12 08:41:40 -07:00
Jason Volk
4e7f5af457 modules/client: Eliminate internal _append() kludge. 2022-07-01 22:45:34 -07:00
Jason Volk
c39876990d modules/client: Upgrade event::append::opts et al to designated init menus. 2022-07-01 22:21:10 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
472391d5d3 modules/client/rooms: Implement client 11.36.2 GET /hierarchy. 2022-06-19 19:55:02 -07:00
Jason Volk
8af912d6c0 modules/client/rooms: Add v1 url handler. 2022-06-19 12:39:35 -07:00
kamathmanu
e2b7823f6d Added RATE_LIMITED flags for handlers 2021-02-19 09:44:27 -05:00
Jason Volk
2a0fe40d80 modules/client/rooms/report: Use visible messages; add rich reply relation. 2021-02-05 23:39:17 -08:00
Jason Volk
7d713e19ab modules/client/rooms/report: Remove room creator hook cruft for now. 2021-02-05 23:33:16 -08:00
Jason Volk
40eadfaa39 modules/client/rooms/receipt: Add conf item to elide eye-track; optimize query pattern. 2021-02-04 21:13:42 -08:00
Jason Volk
5eb500e69f modules/client/rooms/state: Fix point query response content. 2021-02-02 07:54:26 -08:00
Jason Volk
e30ff075de modules/client/rooms/state: Use event::append for iteration. 2021-02-02 07:54:26 -08:00
Jason Volk
c388361041 modules/m_command: Fix reply to echo event. (related 75589a4794) 2021-02-02 07:54:26 -08:00
Jason Volk
e4969901a1 modules/client/rooms/send: Fix public echo of server-side command input. 2021-01-25 01:55:25 -08:00
Jason Volk
ec0dd70da1 modules/client/rooms/receipt: Set past m.read's to m.hidden but persist for eye attention. 2021-01-25 01:55:25 -08:00
Jason Volk
7645cd3e72 modules/client/rooms: Implement c2s r0.6.1 10.2.4 GET client/rooms/aliases. 2020-12-14 03:22:01 -08:00
Jason Volk
1209705b04 modules/client/rooms/invite: Return better final event_id. 2020-12-06 17:25:21 -08:00
Jason Volk
f26f56d46d modules/client/rooms/redact: Pass txnId path parameter through eval to client. 2020-11-21 02:34:22 -08:00
Jason Volk
58fb551a13 ircd:Ⓜ️:sync: Add inline sequence extraction logic from token.
modules/client: Update sites parsing since tokens.
2020-11-15 05:48:25 -08:00
Jason Volk
9d93d1e71b modules/client/rooms/send: Use m::room::message for single pass. 2020-11-13 21:07:14 -08:00
Jason Volk
6fe770b4bf ircd:Ⓜ️:room::head: Add fetch interface. 2020-11-05 22:10:54 -08:00
Jason Volk
17ca084d45 modules/client/rooms/send: Add truncation workaround for m.new_content excesses. 2020-10-26 23:41:11 -07:00
Jason Volk
b7f2bd8e63 modules/client/rooms/send: Add payload size condition and exception. 2020-10-26 23:41:11 -07:00
Jason Volk
3f6d90c7a8 ircd:Ⓜ️:fed: Move head fetch convenience to room::head interface. 2020-10-14 22:04:04 -07:00
Jason Volk
9a15f712c5 modules/client/rooms/read_markers: Minor cleanup. 2020-09-24 02:58:31 -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
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
f9df9bfbda ircd:Ⓜ️:typing: Move remaining assets into namespace; minor reorg. 2020-04-25 17:34:02 -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
b798864d18 modules/client/rooms/invite: Capture additional r0.6.0 required fields. 2020-04-20 00:51:01 -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
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
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
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
c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk
d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -07:00