0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02:00
Commit graph

1090 commits

Author SHA1 Message Date
Jason Volk
df522ef8e9 modules/client/search: Add cmd for limit override to workaround pagination bug in Riot. 2022-10-08 16:00:32 -07:00
Jason Volk
5294e607bd modules/client/search: Propagate exceptions from room handler. 2022-10-08 15:39:22 -07:00
Jason Volk
adc7f16831 modules/client/search: Allow empty search term as wildcard match for given filter keys. 2022-10-08 11:22:09 -07:00
Jason Volk
16b9551780 modules/client/sync: Log debug marking polylog prefetch completion. 2022-09-28 10:13:07 -07:00
Jason Volk
a465098693 modules/client/search: Improve argument characters and name intuition. 2022-09-02 11:22:38 -07:00
Jason Volk
53d213f956 modules/client/sync: Enable polylog prefetch w/ conf item; add user::rooms prefetch. 2022-08-19 20:57:35 -07:00
Jason Volk
e556fe248b modules/client/sync/rooms: Minor cleanup polylog inner loop closure. 2022-08-19 20:57:35 -07:00
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
c33ddd278a ircd:Ⓜ️ Use proper character overload for optimal tokens(). 2022-08-02 13:18:58 -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
3064b349dc modules/client/sync/rooms/timeline: Fix redundant private echo of public command. 2022-08-02 13:18:58 -07:00
Jason Volk
5600e28ebc modules/client/search: Add case key command; case-insensitive by default. 2022-07-21 18:28:57 -07:00
Jason Volk
96097045a1 modules/client/search: Abstract term keys iteration for separate feature functions. 2022-07-21 18:28:57 -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
67d6a1da3d modules: Fix some resource handlers outside of m::. 2022-07-18 16:58:01 -07:00
Jason Volk
3d4f65260b modules/client/search: Implement non-standard override syntax. 2022-07-13 22:48:14 -07:00
Jason Volk
7ca36805be modules/client/search: Implement additional result filter features. 2022-07-13 22:48:14 -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
043b55afb7 modules/client/sync/rooms/account_data: Optimize w/ prefetch loop support. 2022-07-09 16:36:12 -07:00
Jason Volk
a06e75c13c modules/client/sync/rooms/account_data: Fix unhandled phase flag behavior. 2022-07-09 16:06:46 -07:00
Jason Volk
f158fedddb modules/client/sync/rooms/unread_notifications: Make this a phased polylog handler. 2022-07-09 16:06:46 -07:00
Jason Volk
ad4a207bdd modules/client/versions: Additional c2s versions. 2022-07-04 22:25:18 -07:00
Jason Volk
9768546c1e modules/client/capabilities: Additional room versions. 2022-07-02 18:59:58 -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
a70359fb9b modules/client/sync/groups: Fix membership query on empty room_id. 2022-06-28 12:37:14 -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
Jason Volk
3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk
014d0281d7 ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
kamathmanu
229fcf6ef9 Ignore rate limiting for pushrules handler 2021-02-19 10:25:35 -05:00
kamathmanu
e2b7823f6d Added RATE_LIMITED flags for handlers 2021-02-19 09:44:27 -05:00
Jason Volk
658c1c6d96 modules/client/sync/rooms/unread_notifications: Count from better marker. 2021-02-13 02:20:35 -08: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
f1f91d63de modules/client/versions: Add e2ee_forced versionic capabilities. 2021-01-30 19:20:55 -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
b26fe736a4 modules/client/keys/query: Respond w/ master/self/user signing keys. 2021-01-04 13:17:30 -08:00
Jason Volk
c852397a7d modules/client/keys/device_signing/upload: Implement c2s r0.6.1 13.11.2.3.2 POST. 2021-01-04 13:01:13 -08:00
Jason Volk
68fc738a3c modules/client/keys/changes: Implement c2s r0.6.1 13.11.5.2.4 keys/changes (changed half). 2021-01-04 08:47:21 -08:00
Jason Volk
a5ddaf0a41 modules/client/sync/rooms/state: Move hero scan count to conf item; dedup constant. 2021-01-04 02:46:48 -08:00
Jason Volk
668e265623 modules/client/keys/device_signing/upload: Add /r0/ handler in addition to /unstable/. 2021-01-04 02:31:41 -08:00
Jason Volk
882c1933fd modules/client/search: Add conf item to override limit parameter. 2021-01-04 02:31:41 -08:00
Jason Volk
544a3651ed modules/client/sync: Add ?pause query string; available to clients to effect 7ec8b78374. 2020-12-29 01:46:36 -08:00
Jason Volk
42b50d9e50 modules/client/sync/rooms/timeline: Add conditions to prevent some ops when discarding. 2020-12-29 01:45:45 -08:00
Jason Volk
7ec8b78374 modules/client/sync: Add pause/freeze behavior synchron for developer diagnostic. 2020-12-28 19:33:14 -08:00
Jason Volk
b9832c3a9e modules/client/search: Implement c2s r0.6.1 13.15.1.1 /client/search (closes #20). 2020-12-28 03:44:21 -08:00
Jason Volk
eefd59d845 modules/client/sync: Fix conditions to duplicate state in timeline; improve inconsistencies. 2020-12-26 11:55:01 -08:00
Danilo Spinella
926de0296c modules: Use complete name for strlcat to avoid collision 2020-12-23 03:56:43 -08:00
Jason Volk
92b960730a ircd:Ⓜ️:sync: Undress since token for clear-cache+reload in R!ot. (matrix-org/matrix-doc/#2855) 2020-12-22 18:40:30 -08:00
Jason Volk
4ec6cf3fab modules/client/sync: Minor cleanup; stale comments. 2020-12-22 18:40:30 -08:00
Jason Volk
f5fe7977ff modules/client/versions: Support r0.6.1. 2020-12-14 03:22:01 -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
8d6bb31818 modules/client/sync/rooms/timeline: Improve skip/reflow conditions; add conf item. 2020-12-10 08:34:22 -08:00
Jason Volk
05242aaa90 modules/client/sync/rooms/state: Fix conditions for state inclusion during polylog/reflow. 2020-12-07 14:18:42 -08:00
Jason Volk
95d692d36a modules/client/sync/rooms/timeline: Show just a few seconds of spinner for User Fixation. 2020-12-06 17:25:21 -08:00
Jason Volk
45409428e6 modules/client/sync/rooms: Assertions for membership query on membership event. 2020-12-06 17:25:21 -08:00
Jason Volk
1209705b04 modules/client/rooms/invite: Return better final event_id. 2020-12-06 17:25:21 -08:00
Jason Volk
dceac7f9fc modules/client/sync: Fix longpoll causality violation; possible skipped or duplicated event. 2020-12-06 12:14:02 -08:00
Jason Volk
d1d34e58a6 modules/client/sync: Use better condition for room data available. 2020-12-06 10:27:27 -08:00
Jason Volk
df9637d3ce modules/client/sync/rooms/timeline: Initialize the prev batch idx to head idx. 2020-12-03 12:51:30 -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
64a57ed4b0 modules/client/sync: Set no-cache on response. 2020-11-13 21:07:14 -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
9950876e09 modules/client/send_to_device: Ensure message_id is json::STRING type. (fixes #169) 2020-11-05 22:10:53 -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
50cb49d558 modules/client/search: Move resources into namespace; add log facility. 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
e0cc786a9d modules/client/sync/rooms/timeline: Fix timeline limited flag condition; minor cleanup. 2020-10-17 21:06:05 -07:00
Jason Volk
93758a7238 modules/client/user/openid: Return something for request_token. 2020-10-16 03:40:14 -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
66525fd6f3 Revert "modules/client/sync/rooms/timeline: Fix polylog limited flag condition."
This reverts commit a5aac0eb1f.
2020-10-06 03:50:02 -07:00
Jason Volk
a5aac0eb1f modules/client/sync/rooms/timeline: Fix polylog limited flag condition. 2020-10-06 00:02:29 -07:00
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