0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00
Commit graph

2906 commits

Author SHA1 Message Date
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
Jason Volk
4093dc2f85 ircd:Ⓜ️:self::init: Fix keys init; prevent libircd as dependency for module. 2019-06-21 20:29:26 -07:00
Jason Volk
c944818f4b modules/client/rooms: Add pre-checks for membership on the convenience endpoints. 2019-06-21 16:53:26 -07:00
Jason Volk
b7023a6dc7 ircd:Ⓜ️ Reorg keys related interfaces and init. 2019-06-21 16:41:43 -07:00
Jason Volk
87fb5a771e modules/m_presence: Upgrade presence spam log to DWARNING since apparently post-1.0 era now. 2019-06-18 00:22:16 -07:00
Jason Volk
cef538fdf3 modules/client/publicrooms: Fix url decoding of query string arguments. 2019-06-18 00:22:16 -07:00
Jason Volk
f2fb177d7d modules/client/publicrooms: Refresh the cache on request.
fixes #82
2019-06-18 00:22:16 -07:00
Jason Volk
75c125e8aa ircd:Ⓜ️:rooms: Expose fetcher in interface; internal cleanup. 2019-06-17 23:05:31 -07:00
Jason Volk
f24c7c2e82 ircd:Ⓜ️:rooms: Simplify interface. 2019-06-17 16:57:00 -07:00
Jason Volk
160927e119 modules/m_rooms: Minor simplification/cleanup. 2019-06-17 14:47:42 -07:00
Jason Volk
4a7f079b49 modules/client/versions: Claim support for more versions. 2019-06-16 14:04:28 -07:00
Jason Volk
24ce076c3d ircd:Ⓜ️:room::state: Add state::history interface derived from state::space. 2019-06-16 02:17:47 -07:00
Jason Volk
390b8bf2fb ircd:Ⓜ️ Remove remaining vestiges of m::state.
closes #15.
2019-06-15 14:10:36 -07:00
Jason Volk
9b34f75e0d modules/media/thumbnail: Throw better exception type here. 2019-06-15 13:21:11 -07:00
Jason Volk
67c91288e6 modules/webhook: Ignore label actions to reduce noise for now. 2019-06-15 12:32:53 -07:00
Jason Volk
e3acf68bf2 modules/media: Purge the file room after creation if operation does not complete.
Related to #86.
2019-06-15 12:32:43 -07:00
Jason Volk
3d04ed9ad0 configure: Remove the CPPDEFINE for RB_TIME_CONFIGURED. 2019-06-13 15:03:32 -06:00
Jason Volk
98ec2d7008 modules/client/sync: Update README. 2019-06-11 14:51:20 -07:00
Jason Volk
33e23b6fb8 modules/console: Add a specialized proc smaps enhanced command handler. 2019-06-11 13:32:12 -07:00
Jason Volk
2e80a5ab02 modules/client/sync/rooms/state: Make the linear-sync handler able to handle belated state events. 2019-06-08 01:07:16 -07:00
Jason Volk
5cfac64bee modules/console: Swap the conf diff columns. 2019-06-08 01:07:16 -07:00
Jason Volk
abfdb06ebf modules/client/rooms/join: Hard reset the room head after join completes. 2019-06-07 23:01:46 -07:00
Jason Volk
87e8b5eb1f modules/client/sync: Minor reorg; increase default timeout conf items. 2019-06-07 21:56:17 -07:00
Jason Volk
def97cf25b modules/client/rooms/join: Improve lazy chain member event search. 2019-06-07 06:02:19 -07:00
Jason Volk
4f3123be62 modules/client/rooms/join: Use dedicated log facility. 2019-06-07 06:02:19 -07:00
Jason Volk
3d8d71c97c modules/client/rooms/join: Mask nothrow conditions; various fixes. 2019-06-07 06:02:19 -07:00
Jason Volk
8e0ac58987 ircd:Ⓜ️:room: Expose bootstrap to interface. 2019-06-07 04:56:23 -07:00
Jason Volk
1f1b3033f9 modules/console: Add conf diff cmd displaying current values against defaults. 2019-06-07 04:24:28 -07:00
Jason Volk
077e953e3b modules/client/sync/rooms/timeline: Add conf item to toggle excluding state in timeline exposure_depth. 2019-06-07 04:08:35 -07:00
Jason Volk
d15df05966 modules/console: Use the loop eval overload rather than sorting here. 2019-06-07 03:24:24 -07:00
Jason Volk
92761f5d9f modules/client/events: Use the proper m::append event appender. 2019-06-07 02:49:25 -07:00
Jason Volk
b2bb7767a7 modules/client/rooms/join: Spawn context for asynchronous joinstrap; improve various. 2019-06-07 02:49:25 -07:00
Jason Volk
f728906505 modules/client/rooms/join: No need to parse the unused and deprecated origin field here. 2019-06-06 22:39:05 -07:00
Jason Volk
48a8057cb5 modules/client/rooms/join: Tweak the lazychain process; remove cruft. 2019-06-06 21:58:47 -07:00
Jason Volk
e8b61b0caf modules/client/rooms/join: Rename lazychain conf item to lazychain_enable. 2019-06-06 19:41:48 -07:00
Jason Volk
55e2ac98ce modules/client/rooms/join: Implement the lazychain optimization; tweak eval options. 2019-06-06 05:35:21 -07:00
Jason Volk
2b43a5a92b configure: Add --enable-compact for the smallest possible building and linking. 2019-06-06 05:29:07 -07:00
Danilo Spinella
4682e1fae4 ircd: Fix ambiguous references to BSD stringops. 2019-06-06 03:49:54 -07:00
Jason Volk
ed247e6200 modules/client/rooms/join: Implement the Hackfill optimization. 2019-06-06 01:46:07 -07:00
Jason Volk
a20a11722d modules/client/rooms/join: Add conf item for initial backfill amount. 2019-06-06 01:45:21 -07:00
Jason Volk
5994a0820d modules/client/rooms/join: Promote these log message levels. 2019-06-06 01:44:33 -07:00
Jason Volk
25442bdff2 modules/client/sync/rooms/timeline: Consider all events for exposure depth. 2019-06-06 01:09:57 -07:00