0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-06 05:48:54 +01:00
Commit graph

3148 commits

Author SHA1 Message Date
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
Jason Volk
5ff021c96b Makefiles: Cleanup linker flags with spaced arguments. 2019-06-05 23:22:05 -07:00
Jason Volk
ceff9f54a4 modules/s_fetch: Add requests limit w/ conf item. 2019-06-05 17:12:02 -07:00
Jason Volk
a99a7e2501 modules/client/sync/rooms/timeline: Add exposure depth condition to not sync irrelevant events. 2019-06-05 17:06:37 -07:00
Jason Volk
359ab6e897 modules/client/rooms/join: Elaborate the join bootstrap stack.
fixes #8
2019-06-05 16:44:16 -07:00
Jason Volk
6982fa2dac modules/client/sync/rooms/account_data: Ignore since range for tags on polylog sync. 2019-06-05 15:18:46 -07:00
Jason Volk
9662d195cf modules/client/directory/user: Modernize user directory query term interpretation. 2019-06-05 01:15:11 -07:00
Jason Volk
1a48bc3899 modules/client/rooms/join: Process send_join response events. 2019-06-04 23:01:39 -07:00
Jason Volk
2c2ea2a668 modules/federation/state: Add non-spec query parameters to toggle items. 2019-06-04 22:06:12 -07:00
Jason Volk
f598c8b34f modules/federation/send_leave: Remove space. 2019-06-04 22:04:26 -07:00
Jason Volk
6ac41d99ac modules/federation/send_join: Add non-spec query parameters to return ids only. 2019-06-04 22:00:52 -07:00
Jason Volk
ba00228a8d modules/federation/send_join: Add query parameters to toggle large datasets in response. 2019-06-04 21:55:51 -07:00
Jason Volk
a51daa7008 modules/federation/invite: Add conf item for venkmanism; minor cleanup. 2019-06-04 21:55:00 -07:00
Jason Volk
baaca77c54 modules/console: Add cmd to list the full event horizon. 2019-06-04 21:42:14 -07:00
Jason Volk
64a7bbed00 modules/s_fetch: Improve timeout and retry algorithm. 2019-06-04 20:12:10 -07:00
Jason Volk
2992a1ae34 modules/console: Make event horizon flush cmd practical for now. 2019-06-04 20:12:10 -07:00
Jason Volk
f5df386e1c ircd:Ⓜ️:fetch: Add a request count() to interface. 2019-06-04 18:50:17 -07:00
Jason Volk
8a6e9158fe ircd::mods::ldso: Add a DT_NEEDED iterator. 2019-06-04 03:18:03 -07:00
Jason Volk
8a69adb9c5 modules/media/thumbnail: Get magick availability this way for now. 2019-06-04 02:22:09 -07:00
Jason Volk
06e7d94aef modules/webhook: Mute all watch events and just allow star events. 2019-06-04 00:35:21 -07:00
Jason Volk
068bb44937 modules/console: Add mod sections cmd. 2019-06-02 16:35:46 -07:00
Jason Volk
3c93458d96 modules/console: Fix mod mangles cmd params. 2019-06-02 16:02:43 -07:00
Jason Volk
db1b7cf5a3 ircd::mods::ldso: Add more primary interface tools; add semantic version parse. 2019-06-02 15:44:55 -07:00
Jason Volk
0658f7c6be modules/client/rooms/join: Bypass dependent fetching and eval on join bootstrap. 2019-06-02 15:44:55 -07:00
Jason Volk
f2e84a6b0e ircd::db: Fix compression identification on init. 2019-06-02 01:15:03 -07:00
Jason Volk
1dc8f999e7 modules/s_fetch: Improve error reporting and reduce warning noise around auth_chain eval. 2019-06-01 18:38:08 -07:00
Jason Volk
3108a4bf9b modules/s_fetch: No need to block on auth_chain fetch individually. 2019-06-01 18:38:08 -07:00
Jason Volk
02794d5d9a modules/s_fetch: Document auth and prev fetch subroutines. 2019-06-01 18:38:08 -07:00
Jason Volk
b570497e75 ircd:Ⓜ️:vm: Improve aggregated eval loop. 2019-06-01 18:38:07 -07:00
Jason Volk
fc9ed2e87e ircd::fmt: Fix specifier escaping. 2019-06-01 02:31:03 -07:00
Jason Volk
9661db89af ircd:Ⓜ️:events: Move file dumper to module. 2019-06-01 00:09:03 -07:00
Jason Volk
ca36b44452 ircd:Ⓜ️:events: Move definitions to module. 2019-05-31 17:53:48 -07:00
Jason Volk
02e9651ab4 modules/webhook: Use boolean return value from handlers to ignore event. 2019-05-31 17:36:45 -07:00
Jason Volk
5238e919fa modules/webhook: Handle the star event. 2019-05-31 17:34:11 -07:00
Jason Volk
eb73595c50 ircd: Apply uniform info::versions for all dependency version identification. 2019-05-31 16:15:01 -07:00
Jason Volk
7d4de7ec82 ircd::info::versions: Rename types to ABI and ABI.
modules/console: Tweak formatting.
2019-05-31 16:14:53 -07:00
Jason Volk
0a225085b3 ircd::info::version: Allow both monotonic and semantic numbers; add string generator ctor. 2019-05-31 14:56:50 -07:00
Jason Volk
1f7ad67805 modules/client/rooms/invite: Move the foreign invite hook here; do namespace modernizations. 2019-05-31 14:21:41 -07:00
Jason Volk
8b648b3b72 modules/m_room_server_acl: Fix missing export tag. 2019-05-31 14:05:50 -07:00
Jason Volk
65fcc17148 ircd::info: Add a dynamic version registry system w/ console cmd. 2019-05-30 21:02:18 -07:00
Jason Volk
a2a2aea483 modules/Makefile: Define IRCD_UNIT_MODULE only for module units. 2019-05-30 18:55:00 -07:00
Jason Volk
7d7df3b44f README: Minor fixes. [skip ci]
modules/media/magick: Fix comment.
2019-05-30 09:52:02 -07:00
Jason Volk
8420d14ff6 modules/media/thumbnail: Implement 13.8.1.4 thumbnail method=crop.
fixes #72.
2019-05-30 06:38:47 -07:00
Jason Volk
a651952eda modules/media/magick: Add composite thumbcropper for matrix. 2019-05-30 06:38:42 -07:00
Jason Volk
c2dc298304 modules/media/magick: Add Xlib display gimmick for debugging. 2019-05-30 06:38:42 -07:00
Jason Volk
5f5318c129 modules/media/magick: Fix return type template. 2019-05-30 06:38:42 -07:00
Jason Volk
4367fa94b7 modules/media/magick: Cleanup and reduce all transform operations in implementation. 2019-05-30 06:38:42 -07:00
Jason Volk
97654606b1 ircd::magick: Add interface for basic scale operation. 2019-05-30 06:13:06 -07:00
Jason Volk
500e3938f6 ircd::magick: Add interface for shave operation. 2019-05-30 06:13:06 -07:00
Jason Volk
c80bc298d0 ircd::magick: Add support for image crop operation. 2019-05-30 06:13:06 -07:00
Jason Volk
e091f09f46 modules/media/thumbnail: Reduce the minimum width and height conf item defaults. 2019-05-30 06:13:06 -07:00
Jason Volk
0f551f9a4f modules/media/magick: Improve exception propagations. 2019-05-30 01:30:00 -07:00
Jason Volk
e2e3d0bc3f modules/media/magick: Add memory hooks; set safe callbacks before lib init. 2019-05-30 01:30:00 -07:00
Jason Volk
1a55c43b0a modules/media/magick: Add conf items for progress yield threshold. 2019-05-30 01:30:00 -07:00
Jason Volk
99f151635a modules/media/thumbnail: Add basic conf items. 2019-05-29 19:20:17 -07:00
Jason Volk
d156965271 modules/media/thumbnail: Implement uncached width and height scale thumbnailing.
closes #40.
2019-05-29 18:18:44 -07:00
Jason Volk
21ca583a2b modules/media/magick: Yield within the progress callback. 2019-05-29 18:18:44 -07:00
Jason Volk
d0fc7350df ircd::magick: Simplify thumbnail interface; no result copy. 2019-05-29 17:21:12 -07:00
Jason Volk
28f86802d2 ircd::mods::ldso: Simplify and extend interface functionality. 2019-05-29 16:09:51 -07:00
Jason Volk
0fd7dd998f modules/media/magick: Stub the progress monitor handler. 2019-05-29 04:55:09 -07:00
Jason Volk
c1433402c0 modules/media/magick: Make greedy use of globals/callbacks; disable their OpenMP threads. 2019-05-29 04:43:14 -07:00
Jason Volk
48c1e30930 modules/media/magick: Use proper log facility in unit. 2019-05-29 04:40:10 -07:00
Jason Volk
2e14bfe337 ircd::magick: Add a thumbnailer. 2019-05-28 23:38:25 -07:00
Jason Volk
16f6fbc352 ircd::magick: Start a central header; add interface support infrastructure. 2019-05-28 23:24:45 -07:00
Jason Volk
582cecccec modules/media: Start an {Image|Graphics}Magick library interface module. 2019-05-28 21:03:01 -07:00
Jason Volk
5bf83776af modules/media: Remove boost GIL stub. 2019-05-28 19:38:39 -07:00
Jason Volk
08fafd44b1 ircd::mods: Add platform-dependent ldso interface. 2019-05-28 15:39:57 -07:00
Jason Volk
7783e1f6ee Define an indicator for all libircd implementation compilation units. 2019-05-27 17:05:07 -07:00
Jason Volk
3060bc2941 modules/console: Stub command-by device_id handler. 2019-05-27 16:37:31 -07:00
Jason Volk
b403fbc421 ircd:Ⓜ️:events: Add event type name iteration.
ircd:Ⓜ️:events: Add sender name iteration.

ircd:Ⓜ️:events: Add origin name iteration.
2019-05-27 16:37:29 -07:00
Jason Volk
bab9d9d033 modules/vm: Create a general vm.access hook; move server_acl to module hookfn. 2019-05-26 21:00:54 -07:00
Jason Volk
645ce4d8e2 modules: Implement 13.29 room server access control list checks.
fixes #47.
2019-05-26 20:41:13 -07:00
Jason Volk
f11126613e modules/m_receipt: Validate user_id hostpart matches origin. 2019-05-26 20:41:13 -07:00
Jason Volk
25dd717b7e ircd:Ⓜ️:room::server_acl: Add a noexcept convenience check. 2019-05-26 20:25:15 -07:00
Jason Volk
eec6c40653 ircd:Ⓜ️ Abort the experimental id::node. 2019-05-26 19:13:20 -07:00
Jason Volk
44cf572ee5 ircd::rfc1035: Rename constant.
ircd::rfc3986: Add additional convenience constants.
2019-05-26 18:37:40 -07:00
Jason Volk
1354066e3d modules/m_room_server_acl: Disregard port for comparison; improve docs; ctor. 2019-05-26 18:37:40 -07:00
Jason Volk
8474b891eb ircd::ctx: Rename function; add overload for total value. 2019-05-26 02:49:24 -07:00
Jason Volk
e038ebfaf1 ircd:Ⓜ️:room: Remove stale comments.
modules/vm: Minor cleanup.
2019-05-26 02:49:24 -07:00
Jason Volk
3c3609baee modules/vm: Remove the unused pool. 2019-05-26 02:49:23 -07:00
Jason Volk
6baff99607 modules/m_room_server_acl: Optimize implementation IO. 2019-05-25 23:08:17 -07:00
Jason Volk
dd441038b1 modules/console: Extend room server_acl cmd to list information. 2019-05-25 20:12:41 -07:00
Jason Volk
a44e491054 ircd:Ⓜ️:room: Add server_acl interface and protocol module. 2019-05-25 20:12:41 -07:00
Jason Volk
91ce49d671 ircd::util: Add a weak interface for the test trigger stub. 2019-05-24 18:24:33 -07:00
Jason Volk
ffda6a0848 modules/s_fetch: Downgrade log level to DERROR for fetch hook error. 2019-05-19 15:28:34 -07:00
Jason Volk
f02a1a2be6 ircd:Ⓜ️:vm: Relax fetch_prev_any enforcement by default. 2019-05-19 15:22:49 -07:00
Jason Volk
e0618dbdd8 modules/s_fetch: Fallback to fetching previous auth events when room is not known yet. 2019-05-17 09:07:01 -07:00
Jason Volk
660e609f31 modules/s_fetch: Belay net::hostport conversion to allow empty. 2019-05-17 08:50:32 -07:00
Jason Volk
9f2b887a22 modules/s_fetch: Fix submit error handling; move definition to unit. 2019-05-17 08:18:31 -07:00
Jason Volk
18354901dc modules/console: Add event horizon flush cmd. 2019-05-17 02:41:36 -07:00
Jason Volk
c119c84c2f ircd:Ⓜ️:event: Augment event::horizon interface allowing full column iteration. 2019-05-17 02:26:27 -07:00
Jason Volk
2a47c82534 modules/s_fetch: Indicate request error with belated removal. 2019-05-17 02:26:27 -07:00
Jason Volk
95fa155bfd modules/console: Unmask all exceptions thrown in looped event evaluations. 2019-05-17 01:41:23 -07:00
Jason Volk
81ae93ecc1 Re-attempt use of .gdb_index section. 2019-05-17 00:44:00 -07:00
Jason Volk
5721920957 ircd:Ⓜ️:event: Start an event::horizon interface around dbs::event_horizon. 2019-05-17 00:07:18 -07:00
Jason Volk
ff61342c01 modules/console: Show number of keys in event_horizon when no event_id given. 2019-05-16 23:30:08 -07:00
Jason Volk
ed11153d27 Allow STB_GNU_UNIQUE for RTLD_DEEPBIND.
modules: Remove cruft; tweak Makefile.
2019-05-16 22:36:19 -07:00
Jason Volk
3b7cc065ad modules/s_command: Improve ping command. 2019-05-16 22:36:19 -07:00
Jason Volk
304c6df468 ircd:Ⓜ️:dbs: Simplify indexers / interface. 2019-05-13 15:25:37 -07:00
Jason Volk
92b5862b86 modules/vm: Log to derror as fallback off opts.errorlog. 2019-05-13 15:25:37 -07:00
Jason Volk
614b9202fc ircd:Ⓜ️:room: Add state::space interface w/ console cmd. 2019-05-13 10:30:12 -07:00
Jason Volk
3293443cb8 ircd:Ⓜ️:vm: Add dbs::write_opts to vm::opts. 2019-05-11 15:30:40 -07:00
Jason Volk
6fe7329189 ircd:Ⓜ️:dbs: Rename room_head_refs to room_head_resolve. 2019-05-11 15:30:23 -07:00
Jason Volk
32cc7ee61a modules/console: Add more details for transaction list. 2019-05-11 15:16:25 -07:00
Jason Volk
3ec009bf6d ircd:Ⓜ️ Rename function. 2019-05-10 00:20:02 -07:00
Jason Volk
ab47188b0a modules/console: More sounding output. 2019-05-10 00:14:55 -07:00
Jason Volk
c311a69c7b ircd:Ⓜ️:room: Add sounding iteration. 2019-05-10 00:06:17 -07:00
Jason Volk
62f1b5a539 ircd:Ⓜ️:dbs: Rename and document various ref types. 2019-05-09 23:13:16 -07:00
Jason Volk
2d209388c1 ircd:Ⓜ️:dbs: Add event_horizon resolver. 2019-05-09 16:58:29 -07:00
Jason Volk
fd514d2416 modules/s_keys: Fix create_my_key() linkage. 2019-05-09 06:15:06 -07:00
Jason Volk
1d30fae3a6 modules/vm: Fix comment. 2019-05-09 04:01:02 -07:00
Jason Volk
4070400261 modules/s_dns: Minor cleanup; move error handling. 2019-05-09 03:01:36 -07:00
Jason Volk
87025e7b41 modules/s_dns: Elide dynamic allocation here. 2019-05-09 02:57:10 -07:00
Jason Volk
74074bfc78 modules/console: Add an event rewrite cmd. 2019-05-07 16:10:24 -07:00
Jason Volk
47f496a155 ircd:Ⓜ️:room::timeline: Checkpoint initial interface. 2019-05-07 16:10:24 -07:00
Jason Volk
180c83634f ircd:Ⓜ️:dbs: Reorg write_opts; throw panic on nul event_idx; various. 2019-05-07 16:10:24 -07:00
Jason Volk
d280bcdec3 modules/console: Allow event::idx argument to event info cmd. 2019-05-07 12:25:50 -07:00
Jason Volk
577bcf0c1a ircd:Ⓜ️:rooms: Partial removal of unnamespaced module definitions. 2019-05-06 11:49:14 -07:00
Jason Volk
250b600ead ircd::resource: Reduce m:: type dependency in request structure. 2019-05-06 11:16:44 -07:00
Jason Volk
72fac0a7df modules: Remove rosegment in modules (reduces mappings). 2019-05-06 10:22:34 -07:00
Jason Volk
a28e7c1e69 modules/console: Show deeper event reference details in event info. 2019-05-05 21:27:02 -07:00
Jason Volk
602e986d20 modules/console: Improve various room cmd output formats. 2019-05-05 20:08:18 -07:00
Jason Volk
b7677df49c modules/console: Add preliminary stats cmd w/ item iteration. 2019-05-05 19:34:24 -07:00
Jason Volk
688340a8a2 ircd:Ⓜ️ Recombine modules/m_room with ircd/m_room for now. 2019-05-05 18:10:51 -07:00
Jason Volk
35f29c411c modules: Update README blerb. 2019-05-03 15:58:39 -07:00
Jason Volk
1d0a7d700d ircd:Ⓜ️ Merge m_event module entirely into ircd/m_event for now. 2019-05-03 15:58:39 -07:00
Jason Volk
84ed175ffe modules/m_event: Transit the m::pretty(event) suite to module. 2019-05-03 15:58:39 -07:00
Jason Volk
9cca4c6a5d modules/s_dns: Improve error handling; invoke the waiting callback on cache::put error.
modules/console: Disable interruptions while waiting for dns callback.
2019-05-02 21:43:27 -07:00
Jason Volk
154eee0ca6 ircd: Make unresolved symbols weak symbols; lazy binding in modules. 2019-05-02 16:45:27 -07:00
Jason Volk
68f82d25a3 Remove no-op linker flag in these contexts. 2019-05-02 16:45:27 -07:00
Jason Volk
f9e858ae9e Add these gold linker section organization options. 2019-05-02 16:45:27 -07:00
Jason Volk
1a266a0651 ircd::mapi: Change header symbol name, visibility; use macro for declaration. 2019-05-02 15:35:26 -07:00
Jason Volk
77a92a1874 modules/s_keys: Reorg free functions into namespace; various cleanup. 2019-05-01 15:40:17 -07:00
Jason Volk
d32fd05a83 modules/key/server: Move static ed25519 test to s_keys from here. 2019-05-01 13:12:27 -07:00
Jason Volk
9b9afdcffc modules/vm: Split txn reserve calculation; minor reorg. 2019-04-30 14:14:08 -07:00
Jason Volk
a5f26db7ea modules/s_fetch: Split hook handler into auth and prev related subroutines. 2019-04-30 14:14:08 -07:00
Jason Volk
4a22071be3 modules/s_fetch: Fix request set insertion. 2019-04-30 13:11:21 -07:00
Jason Volk
0c7dcf6cc7 modules/s_fetch: Use better source node information for auth fetching on miss. 2019-04-29 11:37:48 -07:00
Jason Volk
f3ba0f163b modules/client/sync/rooms/account_data: Eliminate the idx upper bound on room tags selection. 2019-04-29 10:28:55 -07:00
Jason Volk
6d849b5adc modules/vm: Minor cleanup. 2019-04-27 20:01:27 -07:00
Jason Volk
010790550d modules/s_fetch: Fetch auth_chain for parent event rather than missing auth_events. 2019-04-27 20:00:26 -07:00
Jason Volk
e75b75e3f9 modules/client/createroom: More descriptive error propagation here. 2019-04-27 18:33:23 -07:00
Jason Volk
43e36861cc modules/m_room_history_visibility: Add some more rules for node visibility. 2019-04-27 18:32:45 -07:00
Jason Volk
80fb8699a1 ircd:Ⓜ️ Add a membership string size constant. 2019-04-27 18:32:45 -07:00
Jason Volk
f95d66a914 modules/federation/event_auth: Use visibility call for all logic rather than special case here. 2019-04-27 18:32:45 -07:00
Jason Volk
48f339ac82 modules/m_event: Tweak conditions for is_power_event(). 2019-04-27 15:59:56 -07:00
Jason Volk
2e586fe529 modules/s_command: Add a ping command. 2019-04-27 15:41:13 -07:00
Jason Volk
ac6db5ba8d modules/console: Add these bypasses for manual cmds. 2019-04-26 18:57:45 -07:00
Jason Volk
ea7e06fe27 modules/client/rooms/state: Optimize parallel closure invariant. 2019-04-26 06:04:06 -07:00
Jason Volk
6335a0ce09 modules/s_fetch: Use vm::eval array constructor here. 2019-04-26 05:30:21 -07:00
Jason Volk
c8df604d24 modules/s_fetch: Use request.finished=-1 for request gc. 2019-04-26 05:30:21 -07:00
Jason Volk
0b8ebf8d09 modules/s_fetch: Add conf item for auth timeout; tweak event timeout default. 2019-04-26 05:30:21 -07:00
Jason Volk
32bd8a8031 modules/s_fetch: Minor reorg. 2019-04-26 05:30:21 -07:00
Jason Volk
564a64e5d6 modules/s_fetch: Improve recursive eval. 2019-04-26 05:30:21 -07:00
Jason Volk
e7251730a3 modules/s_fetch: Additional debug msgs for synchronous auth_chain fetch. 2019-04-26 05:30:21 -07:00
Jason Volk
c5577e653a modules/m_room_member: Remove old hook. 2019-04-26 03:39:59 -07:00
Jason Volk
396a218e6a modules/s_command: Sketch preliminary handlers with rich responses. 2019-04-26 02:37:21 -07:00
Jason Volk
47247e9f2f modules/console: Fix feds event argument interp. 2019-04-26 01:48:46 -07:00
Jason Volk
e5563586cf ircd:Ⓜ️ Additional room sounding tools; improve console cmd. 2019-04-26 01:47:13 -07:00
Jason Volk
486ca09153 ircd:Ⓜ️ Replace is_complete w/ sounding(); console cmd. 2019-04-26 01:35:39 -07:00
Jason Volk
ba797778d6 ircd:Ⓜ️ Provide event_idx for event after gap to closure. 2019-04-26 01:35:38 -07:00
Jason Volk
e3e9322718 ircd:Ⓜ️ Add a room depth gap sounding suite w/ console cmd. 2019-04-26 01:35:16 -07:00
Jason Volk
e8efe326d6 modules/m_event: Use smalldate() for pretty_oneline(). 2019-04-25 07:30:28 -07:00
Jason Volk
8fda41c2ef modules/s_fetch: Unset the request.origin after failed start. 2019-04-25 06:59:19 -07:00
Jason Volk
0a20ec19c0 modules/s_fetch: Remove cancels on request construction error. 2019-04-25 02:18:03 -07:00
Jason Volk
7d6271aa48 modules/s_fetch: Improve request removal synchronization between workers. 2019-04-25 00:36:38 -07:00
Jason Volk
4b70ae70c7 modules/s_fetch: Use the event origin as fallback host. 2019-04-24 21:31:04 -07:00
Jason Volk
54e5b2273f modules/console: Add a parse alternative to fed event noparse argument. 2019-04-24 21:29:33 -07:00
Jason Volk
83d4ce49b0 modules/console: Add a stringify test cmd. 2019-04-24 21:29:22 -07:00
Jason Volk
c45353efec ircd::json: Preserve string quotes for typed comparisons here. 2019-04-24 19:50:01 -07:00
Jason Volk
75abe2b0f9 modules/console: Add ids_only argument gimmick. 2019-04-24 18:01:31 -07:00
Jason Volk
ae85585454 modules/federation/state_ids: Fix mislabeled name. 2019-04-24 17:23:16 -07:00
Jason Volk
5d97076008 modules/federation/state_ids: Add non-spec optimization query parameters. 2019-04-24 17:12:15 -07:00
Jason Volk
c2e22399ce modules/federation/state_ids: Swap auth_chain and pdu_ids order in response. 2019-04-24 17:10:48 -07:00
Jason Volk
bd37abb14b modules/console: Improve user_id derivation on fed__head; improve params on fed__backfill cmd. 2019-04-24 16:16:57 -07:00
Jason Volk
0cbe9b0afa modules/s_fetch: Clear the origin after cancel so it's not re-attempted. 2019-04-24 14:23:48 -07:00
Jason Volk
5860a395a0 modules/federation/event_auth: Make an exception to the visibility for cases. 2019-04-23 20:03:00 -07:00
Jason Volk
20385e2677 modules/federation/invite: Set enforcement of prev fetching on invite event to false. 2019-04-23 19:23:21 -07:00
Jason Volk
c58a03f30a modules/s_fetch: Use event_auth for all auth event fetches. 2019-04-23 19:17:30 -07:00
Jason Volk
f84e2ce618 modules/s_fetch: Handle more detailed exception types. 2019-04-23 19:08:12 -07:00
Jason Volk
7bdf88bb9e modules/s_fetch: Use proper reset technique on request. 2019-04-23 18:24:11 -07:00
Jason Volk
771e5bb5da modules/s_fetch: Improve conditions checking and throw points. 2019-04-23 18:15:47 -07:00
Jason Volk
8b89b9caaf ircd: Simplify log msgs. 2019-04-23 18:15:47 -07:00
Jason Volk
88f924f27a modules/s_dns_resolver: Wait for tags to finish before terminating assets. 2019-04-23 15:26:44 -07:00
Jason Volk
633802310c modules/client/rooms/context: Fix missing unsigned/transaction_id on returned event. 2019-04-23 15:26:44 -07:00
Jason Volk
93e3431915 modules/m_room: Fix/improve is_complete calculation. 2019-04-23 15:26:44 -07:00
Jason Volk
8208a67e7f modules/s_fetch: Enable by default via conf item. 2019-04-23 13:27:53 -07:00
Jason Volk
b481d994f5 modules/client/sync/rooms/state: Attemt fix "invite_state" vs. "state". 2019-04-22 20:08:29 -07:00
Jason Volk
4b3a828c01 modules/s_fetch: Log errors from the fetch hook handler. 2019-04-22 18:55:34 -07:00
Jason Volk
ee6760a655 modules/s_fetch: Tweak prev event checking options; fix condition; dispatch state_ids(). 2019-04-22 18:55:34 -07:00
Jason Volk
58384a25c7 modules/console: Allow empty arguments to fed cmd. 2019-04-22 18:30:08 -07:00
Jason Volk
d417c7779e modules/m_room_history_visibility: Massage the rules. 2019-04-22 18:30:08 -07:00
Jason Volk
6df0b72e21 modules/s_fetch: Various conditions to bypass fetch. 2019-04-22 18:30:08 -07:00
Jason Volk
ae4ae66f08 modules/client/sync/rooms: Show membership string in debug msg. 2019-04-22 14:47:06 -07:00
Jason Volk
dca95cd1e3 modules/m_direct: Modify the user's account_data for m.direct. 2019-04-22 14:30:55 -07:00
Jason Volk
7117e943ed modules/client/rooms/leave: Call m::leave() to handle POST /leave/. 2019-04-22 14:27:12 -07:00
Jason Volk
4d491340b6 modules/client/rooms/leave: Add missing m::leave definition. 2019-04-22 14:27:12 -07:00
Jason Volk
fd9097cfd4 modules/m_room: Move m::send impl back to client/rooms. 2019-04-22 14:27:12 -07:00
Jason Volk
f3845e11af modules/client/rooms/join: Export namespaced definitions for join. 2019-04-22 14:27:12 -07:00
Jason Volk
f6314a4201 modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize(). 2019-04-22 12:45:45 -07:00
Jason Volk
7d3ccb975a modules/s_fetch: Add dispatch and wait logic to fetch hook handler. 2019-04-22 12:28:45 -07:00
Jason Volk
e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk
56dd0ed8e7 ircd:Ⓜ️:vm: Add opts to pass user_id/node_id of evaluator. 2019-04-22 12:25:50 -07:00
Jason Volk
b683f1d436 modules/vm: Assert options; prevent assignment of eval. 2019-04-22 12:23:37 -07:00
Jason Volk
21a62019f2 modules/vm: Simplify error wrapping on propagation. 2019-04-20 15:03:51 -07:00
Jason Volk
bbc472ad9e modules/s_feds: Devirtualize call to destructor. 2019-04-20 14:20:18 -07:00
Jason Volk
4db52804cb ircd::ctx: Use iteration closure rather than exposing ctx::list. 2019-04-19 20:50:22 -07:00
Jason Volk
454051f9f3 modules/client/sync: Condition for client / socket in longpoll::poll loop. 2019-04-19 18:21:17 -07:00
Jason Volk
8299fd695b modules/m_event: Tweak age calculation relation. 2019-04-19 16:25:14 -07:00
Jason Volk
65e58a1787 modules/console: Start prof cmd suite w/ callgrind hypercall interface. 2019-04-19 06:04:10 -07:00
Jason Volk
ddd06f5fdd modules/s_feds: Fix argument error. 2019-04-18 21:53:07 -07:00
Jason Volk
02b835eb2b ircd:Ⓜ️:feds: Add additional options; document options. 2019-04-18 21:23:00 -07:00
Jason Volk
5ad6d2153e modules/client/keys/query: Eliminate head-of-line timeout; stream results to client as they arrive. 2019-04-18 19:47:33 -07:00
Jason Volk
0176dba9a8 ircd:Ⓜ️:fetch: Consolidate interface; remove unused; reorg. 2019-04-18 19:12:37 -07:00
Jason Volk
d86feb2ae1 modules/console: Add more data to version cmd extended output. 2019-04-18 18:53:23 -07:00
Jason Volk
ebe0f10e28 modules/s_feds: Execute vector of operations concurrently. 2019-04-18 18:24:12 -07:00
Jason Volk
14409232a7 modules/console: Add version cmd. 2019-04-18 16:38:53 -07:00
Jason Volk
4668545688 modules: Move federation/federation to s_feds. 2019-04-18 16:38:53 -07:00
Jason Volk
84ee13742c modules/federation/federation: Use polymorphic request base. 2019-04-18 16:23:03 -07:00
Jason Volk
0edd47d383 ircd:Ⓜ️:feds: Add vector of operations to API. 2019-04-18 15:26:03 -07:00
Jason Volk
02bb466898 modules/client/rooms/messages: Fix pagination token related. 2019-04-18 15:11:48 -07:00
Jason Volk
8428774a25 modules/m_event: Check for target membership auth event first here. 2019-04-18 14:36:17 -07:00
Jason Volk
cdefddf6af modules/client/rooms/messages: Add log facility; add debug msg. 2019-04-18 14:20:47 -07:00
Jason Volk
492d58dd83 modules/client/rooms/context: Add a log facility; debug message. 2019-04-18 14:14:41 -07:00
Jason Volk
5232893c6a ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related. 2019-04-18 05:17:49 -07:00
Jason Volk
bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk
08cd894cd0 ircd:Ⓜ️:feds: Point to the opts in result struct. 2019-04-18 04:15:13 -07:00
Jason Volk
cbad78ffc9 modules/console: Rename fed/s event_auth to auth. 2019-04-18 04:14:50 -07:00
Jason Volk
59982907d3 ircd:Ⓜ️:feds: Add feds::auth; update console cmd. 2019-04-18 04:13:21 -07:00
Jason Volk
871fb748eb ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch. 2019-04-18 01:21:22 -07:00
Jason Volk
672dc48d1d modules/federation/federation: Minor assertion; prevent trouble with ctx::exception_handler. 2019-04-17 23:02:33 -07:00
Jason Volk
8cc01dfc4d modules/federation: Return the response x val rather than default construction in handlers. 2019-04-17 21:34:18 -07:00
Jason Volk
01ac59df82 modules/m_rooms: Don't throw from summary_del() for non-existent room. 2019-04-17 21:05:31 -07:00
Jason Volk
0fa4bdcff7 ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface. 2019-04-17 20:47:50 -07:00
Jason Volk
24b6f59a67 modules: Linker options package; immediate symbol resolution. 2019-04-17 17:34:44 -07:00
Jason Volk
0c6845253d modules/federation/make_leave: Upgrade to json::stack; use m::room:: interfaces. 2019-04-17 07:14:40 -07:00
Jason Volk
fd6c2fb2aa modules/federation/make_join: Upgrade to json::stack; use m::room:: interfaces. 2019-04-17 07:12:22 -07:00
Jason Volk
4f45571526 modules/console: Add raw option for fed head cmd. 2019-04-17 06:51:40 -07:00
Jason Volk
655d56a849 modules/federation: Add access conditions for make_join/make_leave. 2019-04-17 05:24:28 -07:00
Jason Volk
b2bb0b70d2 modules/s_conf: Allow manual updating of persist=false conf::item. 2019-04-17 04:59:00 -07:00
Jason Volk
8060b18aa8 modules/s_dns_resolver: Improve dock notifications; adjust the timeout worker cadence. 2019-04-17 04:26:08 -07:00
Jason Volk
adc2d9d66f modules/federation/federation: Block on destruction of incomplete request. 2019-04-16 18:33:01 -07:00
Jason Volk
77c7b43eea modules/console: Add a demangle cmd. 2019-04-16 16:33:18 -07:00
Jason Volk
34c38b854f modules/m_event: Prevent mixing calculation types; add one to the depth result. 2019-04-16 16:24:44 -07:00
Jason Volk
5fee4a9933 ircd:Ⓜ️:events: Add type-based iteration w/ console cmd. 2019-04-16 16:11:23 -07:00
Jason Volk
b14c2964b4 modules/console: Add events__in dispatcher convenience cmd. 2019-04-16 16:11:23 -07:00
Jason Volk
d2d987f07f modules/s_dns_resolver: Improve error/removal stack; fix double-removal error. 2019-04-16 16:11:23 -07:00
Jason Volk
d96208faaf ircd:Ⓜ️:events: Add iteration tools for events in sender/origin. 2019-04-16 16:11:23 -07:00
Jason Volk
31bbc6b1b4 modules/client/sync/rooms/account_data: Arrange room tags in the initial phase. 2019-04-16 01:32:52 -07:00
Jason Volk
25d153d64c ircd:Ⓜ️:sync: Add an initial phase convenience; add account_data as an initial phase. 2019-04-16 01:32:52 -07:00
Jason Volk
2b759963bd modules/s_listen: Add accept flow control mechanism. 2019-04-15 22:47:24 -07:00
Jason Volk
450e31e333 modules/s_listen: Use tls buffer for these stringifications. 2019-04-15 22:47:24 -07:00
Jason Volk
28f0660a9d modules/s_dns_resolver: Call notify after erasing tag. 2019-04-15 17:49:49 -07:00
Jason Volk
474dff9f9f modules/s_fetch: Simplify origin selection branch. 2019-04-15 17:18:31 -07:00
Jason Volk
01fcef7eed modules/s_fetch: Additional break conditions for request handling loop. 2019-04-15 17:09:35 -07:00
Jason Volk
bdd398719a modules/m_room_aliases: Allow fallback to expired cache data on fetch failure. 2019-04-15 17:09:35 -07:00
Jason Volk
a70d22151f modules/client/sync/rooms: Elide query for room head/depth for EDU's. 2019-04-15 17:09:35 -07:00
Jason Volk
035e03a35e modules/federation/federation: Make all origin string-copying calls the same. 2019-04-15 17:09:35 -07:00
Jason Volk
7d021f9430 ircd::server: Rename server_name to server_version. 2019-04-15 15:23:44 -07:00
Jason Volk
fde3e48fbf modules/s_fetch: Call for explicit destruction/cancel on error. 2019-04-15 15:23:44 -07:00
Jason Volk
77b16f32ce ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
2019-04-15 14:44:58 -07:00
Jason Volk
484d298afb modules/s_fetch: Add proper fetch timeout logic. 2019-04-15 11:37:13 -07:00
Jason Volk
f9025cebb9 ircd: Support read-only and write-avoid modes via conf item / command line. 2019-04-15 11:16:31 -07:00
Jason Volk
8c68a24e1f ircd::ctx::prof: Add cycle counter to ticker array. 2019-04-12 15:58:06 -07:00
Jason Volk
0ce0fe3890 ircd::server: Enable the cancel debug msg.
modules/s_fetch: Improve log level.
2019-04-12 14:26:10 -07:00
Jason Volk
1dcd4c8eb6 modules/s_fetch: Condition fetch::start() on runlevel. 2019-04-12 14:15:32 -07:00
Jason Volk
d090382551 modules/console: Fix missing newline; improve fetch list formatting. 2019-04-12 14:04:09 -07:00
Jason Volk
1063fcb657 modules/s_fetch: Report nr of reaped requests. 2019-04-12 13:03:29 -07:00
Jason Volk
12109be1a7 modules/s_fetch: Use m::event:prev parsing here. 2019-04-12 12:40:10 -07:00
Jason Volk
85359d6662 modules/s_fetch: Use better user_id param on headfill. 2019-04-12 12:34:23 -07:00
Jason Volk
40bc440133 modules/s_fetch: Clear all requests on unload. 2019-04-12 11:34:38 -07:00
Jason Volk
541dbadf2f ircd::buffer: Increase restrictions for unique_buffer<>. 2019-04-12 11:34:00 -07:00
Jason Volk
e90d016d2e modules/s_fetch: Improve error handling on submit()/start(request). 2019-04-12 05:36:04 -07:00
Jason Volk
d7cc387688 modules/s_fetch: Minor simplify start() with prefetch(). 2019-04-12 05:13:42 -07:00
Jason Volk
2822cd0a8a ircd:Ⓜ️:fetch: Add headfill operation. 2019-04-12 05:09:38 -07:00
Jason Volk
eb33688bc1 ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk
8e5c858697 modules/s_fetch: Fix gc iteration conditions. 2019-04-12 03:36:03 -07:00
Jason Volk
c14d67102a ircd:Ⓜ️:fetch: Reorient interface to expose fetch::request. 2019-04-12 03:35:46 -07:00
Jason Volk
eace5e309c ircd:Ⓜ️:feds: Add / upgrade backfill. 2019-04-12 01:53:57 -07:00
Jason Volk
7ca0cd5e34 modules/console: Update the feds event cmd. 2019-04-12 01:12:23 -07:00
Jason Volk
360cc01dc8 ircd:Ⓜ️:feds: Migrate feds::perspective() to interface. 2019-04-12 00:55:16 -07:00
Jason Volk
06e381ce2b ircd:Ⓜ️:feds: Use a misc arg vector of string_view's. 2019-04-12 00:52:29 -07:00
Jason Volk
302969f100 ircd:Ⓜ️:feds: Add namespace \brief. Reorg impl layout. 2019-04-12 00:33:29 -07:00
Jason Volk
dc93610914 ircd:Ⓜ️:feds: Add feds::event to interface. 2019-04-12 00:16:27 -07:00
Jason Volk
2ce53fef3c modules/federation/federation: Abstract the m::feds request process. 2019-04-12 00:09:32 -07:00
Jason Volk
4cd8a0c80d modules/console: Improve formatting of peer request list output. 2019-04-11 22:44:36 -07:00
Jason Volk
4f27526e9b ircd::server: Add monotonic identity counters for peers and links. 2019-04-11 22:26:11 -07:00
Jason Volk
d38c5801c9 ircd::server: Add interface to iterate all requests. 2019-04-11 21:40:59 -07:00
Jason Volk
aad53ba614 modules/s_fetch: Add conf item to toggle central control of unit. 2019-04-11 20:53:57 -07:00
Jason Volk
b353f3d0ac modules/webhook: Toggle non-failure status events via conf item. 2019-04-11 08:24:32 -07:00
Jason Volk
ebdbc0864c modules/s_fetch: Enable recursive fetch. 2019-04-11 08:08:47 -07:00
Jason Volk
4500df4b78 modules/client/rooms/initialsync: Preliminary fetch trigger here.
modules/s_fetch: Start the prev_events fetch here.
2019-04-11 07:01:56 -07:00
Jason Volk
f9fb70ab2a modules/console: Allow empty remote param to trigger the feds overload. 2019-04-11 07:01:56 -07:00
Jason Volk
3ca529e0c6 modules/console: Improve room state cmd output; move old output to room state events. 2019-04-11 07:01:56 -07:00
Jason Volk
c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk
aa5055ced3 modules/console: Use pretty(iec(bytes)) for ctx list stack sizes. 2019-04-11 03:55:51 -07:00
Jason Volk
342ef74382 modules/console: Tweak the state flags characters. 2019-04-10 23:36:16 -07:00
Jason Volk
66c73e2a65 modules/s_fetch: Add a request map cleanup pass. 2019-04-10 23:29:56 -07:00
Jason Volk
de710494d7 modules/console: Fix formatting of ctx list cmd. 2019-04-10 23:16:59 -07:00
Jason Volk
34cbf19466 modules/console: Add notification count and state indication. 2019-04-10 23:04:38 -07:00
Jason Volk
74778bd024 ircd::ios: Add a queued handler counter to stats. 2019-04-10 22:54:13 -07:00
Jason Volk
6fbf2e082b modules/media/media: Minor cleanup. 2019-04-10 22:32:06 -07:00
Jason Volk
562651aa7d ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various. 2019-04-10 22:32:06 -07:00
Jason Volk
1209d47fa5 ircd:Ⓜ️:vm: Add additional vmopts related to fetching. 2019-04-10 22:32:06 -07:00
Jason Volk
0b51a10a44 ircd::fs::aio: Count io_submit() 'stalls' in stats. 2019-04-10 20:18:51 -07:00
Jason Volk
e9a6f2ec92 modules/client/sync: Disable phased sync by default for now until stable. 2019-04-08 06:54:54 -07:00
Jason Volk
77b4ea969f modules/client/sync/rooms/state: Split out the initial sync branch; add room avatar. 2019-04-08 06:11:16 -07:00
Jason Volk
a8b536e420 modules/client/sync: Improve phased initial sync by bursting full room list at phase 0. 2019-04-08 04:43:23 -07:00
Jason Volk
a82410009e ircd:Ⓜ️:sync: Introduce phased polylogarithmic initial sync. 2019-04-08 02:46:49 -07:00
Jason Volk
0f2dcf1706 modules/client/sync: Rename conf item. 2019-04-08 00:03:17 -07:00
Jason Volk
5782f2a5f5 modules/m_rooms: Update module linkage of rooms::for_each(). 2019-04-07 20:15:31 -07:00
Jason Volk
e98e4babce modules: Add preliminary s_command; client command-message support. 2019-04-07 16:22:34 -07:00
Jason Volk
48da29cf2f modules/m_room_history_visibility: Pass the testing event up the stack rather than the vis. event. 2019-04-06 18:40:24 -07:00
Jason Volk
8a8dbea623 ircd:Ⓜ️ Update linkage for m::visible interface. 2019-04-06 18:35:01 -07:00
Jason Volk
30834dfd23 modules/vm: Call the post hook for EDU's as well. 2019-04-06 18:18:17 -07:00
Jason Volk
989b3f0cc3 ircd::rfc1035: Use proper platform byte swapping. 2019-04-06 17:12:01 -07:00
Jason Volk
c3480f9f79 ircd: Rename various matrix loggers; increase log name width. 2019-04-05 18:12:22 -07:00
Jason Volk
8876c89d48 modules/m_typing: Add m.typing logger.
modules/m_receipt: Add an m.receipt log.
2019-04-05 14:38:50 -07:00
Jason Volk
0841b44534 modules/m_presence: Fix logger target for various messages. 2019-04-05 14:05:58 -07:00
Jason Volk
b3038fa5e7 modules/webhook: Handle case for status state error.
[skip ci]
2019-04-04 01:34:47 -07:00
Jason Volk
2e980e967b modules/webhook: Fix spacing for merge pill.
[ci skip]
2019-04-04 01:19:48 -07:00
Jason Volk
d4a17120fe modules/webhook: Add github status handler; add appveyor stub; fix merge font tag. 2019-04-04 00:47:02 -07:00
Jason Volk
96ce15b4d9 modules/webhook: Improve pull request formatting. 2019-04-02 10:46:54 -07:00
Jason Volk
ebcac5e7ae modules/webhook: Add github url prefix stripping help function. 2019-04-02 10:31:39 -07:00
Jason Volk
d0ad243860 modules/client/sync/rooms/account_data: Ensure room_id found on room account_data handlers. 2019-04-02 09:53:02 -07:00
Jason Volk
dab225113d ircd::resource: Handle and generate an OPTIONS response.
fixes #65
2019-03-31 23:08:29 -07:00
Jason Volk
a3ca9a986b modules/client: Stub 14.13.1.3 notifications handler. 2019-03-31 14:03:21 -07:00
Jason Volk
46324b1ac8 modules/client/sync/rooms/timeline: Fix polylog timeline limited indicator. 2019-03-31 13:09:36 -07:00
Jason Volk
7433daa440 modules/client/rooms/context: Minor cleanup extra; remove default token inits. 2019-03-31 00:44:34 -07:00
Jason Volk
40b74a6721 modules/client/rooms/context: Enforce spec event_id param only; fix urldecode condition. 2019-03-31 00:35:34 -07:00
Jason Volk
d3bc65eaa9 modules/m_room_aliases: Additional eval check on state_key; only check TTL for remote aliases. 2019-03-30 19:04:10 -07:00
Jason Volk
1b26999a19 modules/console: Add room alias / room alias cache cmd suite. 2019-03-30 19:04:10 -07:00
Jason Volk
37d1b156e0 modules/client/directory/room: Implement 10.2.1 PUT directory/room/{roomAlias}. 2019-03-30 19:02:11 -07:00
Jason Volk
1cc715f7ce modules/m_room_aliases: Prevent fetching a miss from my host. 2019-03-30 19:02:11 -07:00
Jason Volk
4eba0fcd6f modules/client/directory/room: Remove old alias caching and fetching; reroute central interfaces. 2019-03-30 19:02:11 -07:00
Jason Volk
5b1556eca1 modules/m_room_aliases: Refactor m.room.aliases hooks for new cache. 2019-03-30 19:02:11 -07:00
Jason Volk
9c2b215d60 ircd:Ⓜ️:room::aliases::cache: Add remote fetching; improve interface. 2019-03-30 19:02:11 -07:00
Jason Volk
cd5b93ec27 modules/m_room_aliases: Add cache TTL conf item and conditions. 2019-03-30 19:02:11 -07:00
Jason Volk
8063904c06 ircd:Ⓜ️:room::aliases: Add preliminary aliases cache replacement interface. 2019-03-30 19:02:11 -07:00
Jason Volk
276ba9941d modules/m_room_aliases: Move for_each impl to module. 2019-03-30 18:15:07 -07:00
Jason Volk
317fa612fb ircd:Ⓜ️:room: Add aliases interface. 2019-03-30 18:15:07 -07:00
Jason Volk
19ca15eff7 modules/federation/invite: Minor cleanup. 2019-03-30 15:25:11 -07:00
Jason Volk
98c3c15e89 modules/federation/invite: Attempt to make use of invite_room_state carried in request. 2019-03-30 15:25:05 -07:00
Jason Volk
8f4b8c9726 modules/vm: Restore the txn pointer (to null) after eval. 2019-03-30 15:18:22 -07:00
Jason Volk
a83e304382 modules/client/sync: Manually invalidate checkpoints on known polylog commitments. 2019-03-30 15:02:18 -07:00
Jason Volk
7042d8e041 modules/client/rooms/account_data: Move checkpoint to cover both linear branches. 2019-03-30 14:13:34 -07:00
Jason Volk
f7fa89b061 ircd::json::stack: Alter checkpoint rollback() behavior to proactive. 2019-03-30 14:13:34 -07:00
Jason Volk
881d3116cc modules/client/sync/rooms/account_data: Ensure apropos() hits the linear event coming through. 2019-03-30 14:09:47 -07:00
Jason Volk
9b41f5c13a modules/s_control: Fix context switch in exception handler. 2019-03-28 22:01:42 -07:00
Jason Volk
efd1124cd7 modules/client/login: Fix loss of value data during device tuple assimilation.
modules/client/register: Fix loss of value data during device tuple assimilation.
2019-03-28 21:31:22 -07:00
Jason Volk
94503e6d5f modules/console: Add arguments to allow modification of account_data and room_account_data. 2019-03-28 18:06:46 -07:00
Jason Volk
8f335ca1bb modules/client/login: Fix JSON typing of remote IP strings.
modules/client/register: Fix JSON typing of remote IP strings.
2019-03-28 17:47:57 -07:00
Jason Volk
e555b91fa5 modules/client/sync/rooms/ephemeral/receipt: Elide syncing user's own receipts. 2019-03-28 17:36:22 -07:00
Jason Volk
4480c136ee ircd::ios: Add summation for stats w/ console totals. 2019-03-28 17:22:52 -07:00
Jason Volk
289aca0c4a ircd::ios: Move descriptor stats into structure. 2019-03-28 17:16:39 -07:00
Jason Volk
83593c5533 modules/vm: Fix sequence sharing condition for already retired evals. 2019-03-28 16:22:37 -07:00
Jason Volk
8e23a49ced modules/console: Allow explicit on/off arguments to debug cmd. 2019-03-28 16:16:26 -07:00
Jason Volk
f340e44692 ircd:Ⓜ️:vm: Add event_id and share sequence to the loghead; minor cleanup. 2019-03-28 16:08:45 -07:00
Jason Volk
a889122dcc modules/m_receipt: Additional hook conditions; switch the hooksite; minor cleanup. 2019-03-28 14:45:44 -07:00