0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-17 05:58:54 +02:00
Commit graph

2947 commits

Author SHA1 Message Date
Jason Volk
9d5edac0b9 modules/federation: Employ check_id() at endpoints claiming event_id path param. 2019-07-10 02:12:16 -07:00
Jason Volk
975e3d8700 modules/client/sync: Fix/improve longpoll behavior as a fallback. 2019-07-09 19:53:25 -07:00
Jason Volk
62ede2f954 modules/client/sync: Update some comments/docs. 2019-07-09 19:22:15 -07:00
Jason Volk
a2177dd096 modules/m_vm: Stop generating empty prev_state in our events; thanks https://github.com/matrix-org/synapse/pull/4837 2019-07-09 17:23:58 -07:00
Jason Volk
6b16bdd76c modules/net_dns: More catch block. 2019-07-09 02:33:27 -07:00
Jason Volk
719a965d9f ircd:Ⓜ️:event: Remove prev_state from top level. 2019-07-09 02:33:27 -07:00
Jason Volk
e0655229c5 ircd::room::auth: Improve make_refs and cleanup interface related. 2019-07-09 02:03:03 -07:00
Jason Volk
aa78f6f85c ircd:Ⓜ️:event::conforms: Update event_id related conditions. 2019-07-08 18:57:45 -07:00
Jason Volk
de97c688cc modules/client/sync: Increase default main buffers. 2019-07-08 06:03:20 -07:00
Jason Volk
5258ffb964 modules/client/sync/rooms/state: Minor simplification. 2019-07-08 06:03:20 -07:00
Jason Volk
d5c035693c ircd:Ⓜ️:user: Add interface to im.vector.riot.breadcrumb_rooms. 2019-07-08 06:03:20 -07:00
Jason Volk
c718d348cb modules/webhook: Minor use literal hasher for case statements. 2019-07-08 06:03:20 -07:00
Jason Volk
61fcc07fcf modules/client/sync: Refactor longpoll handler. 2019-07-08 06:03:20 -07:00
Jason Volk
cbb39105e1 ircd:Ⓜ️:sync: Add next_batch_token to args struct for direct view. 2019-07-08 06:03:20 -07:00
Jason Volk
7dc5d30405 ircd:Ⓜ️:sync: Move data ctor to module. 2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
9007f651ed modules/console: Add an intuitive sync command. 2019-07-08 06:03:20 -07:00
Jason Volk
39164d94b8 modules/console: Minor cleanup / comments. [skip ci] 2019-07-08 06:03:20 -07:00
Jason Volk
dfbc6a136f modules/console: Move client sync cmd to synchron. 2019-07-08 06:03:20 -07:00
Jason Volk
021823ec6d modules/client/rooms/context: Add non-spec param to disappear state entirely from response. 2019-07-08 06:03:20 -07:00
Jason Volk
f21fccbbd7 modules/client/rooms/context: Support filter; respect lazy-loading members in returned state. 2019-07-07 22:06:11 -07:00
Jason Volk
c38b7b583b modules/client/sync/rooms/state: Add proper member events at phase 0. 2019-07-07 06:04:55 -07:00
Jason Volk
b2ced7aea5 modules/client/sync/rooms/state: No need to fetch the creator member on phase 0. 2019-07-07 04:00:48 -07:00
Jason Volk
68ec7b1c5d modules/client/versions: Add the earlier versions. 2019-07-07 03:59:51 -07:00
Jason Volk
bd09a9aba2 modules/client/rooms/members: Implement c2s r0.5.0 query parameters. 2019-07-07 03:59:51 -07:00
Jason Volk
ec6651d76d modules/client/user/filter: Use b64url filter ID's. 2019-07-07 01:11:24 -07:00
Jason Volk
2bd3a8f021 modules/client/sync/rooms/ephemeral/receipt: Make the search depth a conf item. 2019-07-06 23:20:43 -07:00
Jason Volk
3816d4104a ircd:Ⓜ️:sync: Fix loghead/console formatting. 2019-07-06 22:27:51 -07:00
Jason Volk
6fb6f096de modules/client/sync: Pack the upper-bound into the phased polylog since token. 2019-07-06 22:25:16 -07:00
Jason Volk
5c8425d047 modules/client/sync: Add comments to main frame. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
c6a9cf3849 modules/client/sync: Split internal sync.h header. 2019-07-06 19:05:36 -07:00
Jason Volk
1177368723 modules/client/sync/rooms/summary: Add preliminary m.heroes array to summary. 2019-07-06 18:53:45 -07:00
Jason Volk
c54c2fb9d0 modules/client/capabilities: Fix m.room.version->default serialization type.
modules/client/capabilities: Add room version "4" and "5" with unstable disposition for now.
2019-07-06 18:17:35 -07:00
Jason Volk
ff4fefe99c modules/client/capabilities: Move handler into namespace. 2019-07-06 18:11:03 -07:00
Jason Volk
f9dbd306d6 modules/client/versions: Generate response content dynamically. 2019-07-06 17:58:47 -07:00
Jason Volk
17925b2bd9 modules/console: Add more raw output options on several fed cmds. 2019-07-06 17:56:54 -07:00
Jason Volk
375c763f90 modules/client/sync/rooms: Add c2s r0.5.0 rooms.join.summary object. 2019-07-06 17:35:55 -07:00
Jason Volk
2b7d862330 modules/client/sync/rooms/state: Trim the initial crazyloaded state. 2019-07-06 17:35:55 -07:00
Jason Volk
767e18791c modules/client/sync: Fix queue pop. 2019-07-06 05:50:13 -07:00
Jason Volk
23afd0ee37 modules/media/magick: Add a job loghead(). 2019-07-06 05:44:10 -07:00
Jason Volk
5cf7eb9db4 modules/client/sync: Enable crazyloading by default. 2019-07-06 02:06:46 -07:00
Jason Volk
100a5bf518 modules/federation/invite2: Put back the event_id that synapse stripped; various fixes. 2019-07-06 01:25:28 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
1097829102 modules/m_vm: Wrap individual hook calls. 2019-07-05 23:45:00 -07:00
Jason Volk
fa737c0019 modules/vm: Require event_id member. 2019-07-05 23:45:00 -07:00
Jason Volk
4a289c065a ircd:Ⓜ️:event: Add event_id member; reorg ctors. 2019-07-05 23:45:00 -07:00
Jason Volk
8b4b47fd03 modules/federation/invite2: Split out post-processing w/ exception scope. 2019-07-05 23:45:00 -07:00
Jason Volk
fff2891d2d modules/federation/invite: Increase default. 2019-07-05 18:49:57 -07:00
Jason Volk
79b3ec9951 modules/federation/invite2: Recombine event checks subroutine. 2019-07-05 18:49:57 -07:00
Jason Volk
2ee958bd41 modules/media/thumbnail: Add mime type whitelist/blacklist; improve fallback conditions. 2019-07-05 18:37:27 -07:00
Jason Volk
f48182404f modules/media/media: Fix condition variable.
modules/media/media: Minor cleanup.
2019-07-05 17:37:02 -07:00
Jason Volk
b8dfa9ccee ircd::magick: Reorg and elaborate the job state tracking; add interface. 2019-07-05 16:05:36 -07:00
Jason Volk
a6e65d1efe modules/media/magick: Fix assumptions for job demarcation. 2019-07-05 13:48:08 -07:00
Jason Volk
9fc175bf17 modules/client/sync/rooms/state: Send some additional fundamental state events at phase 0. 2019-07-04 03:43:59 -07:00
Jason Volk
8f2495893b modules/client/sync/rooms/state: Send the room creators member event on phase 0. 2019-07-04 03:19:30 -07:00
Jason Volk
d1ecaf5ffb modules/client/sync/rooms/state: Send the user's own member event on phase 0. 2019-07-04 03:07:54 -07:00
Jason Volk
babc28ccd0 modules/client/sync/rooms/timeline: Add conf item for separate phased+initial limit. 2019-07-04 03:05:38 -07:00
Jason Volk
333309e52f modules/client/sync/rooms/timeline: Set initial=true for polylog phased. 2019-07-04 02:32:33 -07:00
Jason Volk
22fd1c4350 modules/client/sync/rooms/unread_notifications: Set initial=true for polylog phased. 2019-07-04 02:29:05 -07:00
Jason Volk
612eeb3b7f ircd::allocator: Add ctrl get()/set() w/ console cmd. 2019-07-04 00:20:49 -07:00
Jason Volk
bc84247519 modules/federation: Implement 12.2 /v2/invite. 2019-07-03 19:58:13 -07:00
Jason Volk
9234fd34a6 modules/client/account: Fix use of deprecated json::object nested traversal API. 2019-07-03 18:57:48 -07:00
Jason Volk
ba1f22640a modules/console: Increase mem info cmd output buffer size. 2019-07-03 18:57:48 -07:00
Jason Volk
9a850c1637 modules/federation/invite: Verify the invite event before adding our signature to it. 2019-06-30 02:11:14 -07:00
Jason Volk
a3da1fd0d0 modules/client/events: Add missing user::room event_append_opts contextual data. 2019-06-29 19:16:20 -07:00
Jason Volk
1f8bff0ef5 modules/client/rooms/initialsync: Add missing event_append_opts contextual data. 2019-06-29 19:16:20 -07:00
Jason Volk
0def9bd5f1 modules/media/magick: Add conf limit for CPU cycles of a running ImageMagick job. 2019-06-29 19:16:20 -07:00
Jason Volk
55bc296068 modules/media/magick: Add conf limit for job based on the span quantum. 2019-06-29 17:31:40 -07:00
Jason Volk
75884a41c6 modules/index: Add magic extension fallback for .wasm application/wasm. 2019-06-29 00:22:35 -07:00
Jason Volk
1636fd795d modules/console: Fix imports misnaming m_conf -> conf. 2019-06-28 22:41:00 -07:00
Jason Volk
61e3fa848c modules/m_user: Determine the best query pattern for highlight count based on cache. 2019-06-28 22:34:41 -07:00
Jason Volk
99cfdb9a86 modules/m_fetch: Ensure request removal from one callsite only. 2019-06-28 22:15:47 -07:00
Jason Volk
6ce67a81a1 ircd:Ⓜ️:user::highlight: Add conf items to toggle counting; improve match detail. 2019-06-27 01:59:19 -07:00
Jason Volk
1f1fa501d5 modules/m_user: Add overload with phased IO: query content after type. 2019-06-27 01:59:03 -07:00
Jason Volk
0fb3f1d8ac ircd:Ⓜ️:user: Modernize the highlight counting interface. 2019-06-27 01:32:16 -07:00
Jason Volk
7494efe743 modules: Remove globally applied third-party build flags; apply per-module flags. 2019-06-27 00:41:58 -07:00
Jason Volk
def6b5130a modules/index: Deprecate the ircd.webroot.path -> ircd.index.path w/ non-breaking carryover. 2019-06-27 00:41:57 -07:00
Jason Volk
7843925335 modules: Disperse modules to eliminate the s_ prefix-space. 2019-06-27 00:41:57 -07:00
Jason Volk
2301d378fa Trim outdated README docs in ircd/ modules/. 2019-06-26 22:56:31 -07:00
Jason Volk
90095b0034 modules/webhook: Handle the github delete event. 2019-06-25 07:58:43 -07:00
Jason Volk
ae83682e2d modules/webhook: Handle the repository github event. 2019-06-25 07:57:41 -07:00
Jason Volk
754adf33ec ircd:Ⓜ️:keys: Add pretty()/pretty_oneline() output diagnostics. 2019-06-25 07:42:13 -07:00
Jason Volk
936ce256da modules/s_keys: Fix regression from c2f86a8094 2019-06-25 06:08:38 -07:00
Jason Volk
80655da66e Misc fixes for clang. 2019-06-24 01:34:14 -07:00
Jason Volk
49ddc6e44e modules: Degrade enum addressing for clang. 2019-06-24 01:33:41 -07:00
Jason Volk
ce7bb21ea4 modules: Disambiguations for clang. 2019-06-24 01:33:41 -07:00
Jason Volk
fc786afbd5 modules/s_dns_resolver: Deconflict resolver instance pointer from typename. 2019-06-24 01:33:41 -07:00
Jason Volk
c692b009a4 Fix -fuse-ld ldflags. 2019-06-24 01:33:41 -07:00
Jason Volk
2f74142737 ircd::db: Fix erroneous calls when stacking overloads.
modules/s_keys: Fix erroneous calls when stacking overloads (regression).
2019-06-24 02:22:55 -06:00
Jason Volk
7906ca1060 modules/console: Combine key / keys cmds. 2019-06-23 16:27:37 -07:00
Jason Volk
37760fe251 ircd:Ⓜ️:keys: Improve key query and cache loop. 2019-06-23 16:27:37 -07:00
Jason Volk
c2f86a8094 ircd:Ⓜ️:keys: Distill out expiration test from verification test. 2019-06-23 16:22:15 -07:00
Jason Volk
fcbd31f672 ircd:Ⓜ️:keys: Add an iteration over node's cached keys. 2019-06-23 15:50:02 -07:00
Jason Volk
82a7d736d1 ircd::fs::path: Use scoped enum for fs::path::base paths. 2019-06-23 07:37:23 -06:00
Jason Volk
53ea7b8658 ircd:Ⓜ️:feds: Add send operation to feds suite.
modules/console: Update console for feds resend.
2019-06-22 20:03:58 -07:00
Jason Volk
7dffdf12e0 modules/s_node: Move functions called my m_event back to libircd for now; tweak module order. 2019-06-22 19:23:45 -06:00
Jason Volk
a371bc3e1f ircd: Fix cast-conversion based reference-constructions. 2019-06-22 17:36:42 -06:00
Jason Volk
534afe8859 ircd: No need to move x-values. 2019-06-22 17:36:42 -06:00
Jason Volk
a67f134a6b ircd:Ⓜ️ Partial migration of m::node to module; modernize legacy extern "C". 2019-06-21 21:02:38 -07:00