0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 16:52:44 +01:00
Commit graph

3125 commits

Author SHA1 Message Date
Jason Volk
9c7ad47e59 modules/net_dns_resolver: Improve tag.last state decisions for timeouts. 2019-07-24 14:24:34 -07:00
Jason Volk
92f6d7ddb4 modules/m_command: Add ping room cmd; minor cleanup. 2019-07-24 12:31:45 -07:00
Jason Volk
58c83b01a7 ircd:Ⓜ️:feds: Add a closure_cached_errors option.
modules/m_command: Tweak ping options.
2019-07-23 22:46:48 -07:00
Jason Volk
5571eefdb8 modules/m_command: Add a room ping command. 2019-07-23 21:23:22 -07:00
Jason Volk
8f0a71f677 modules/m_room_aliases: Clarify expiration calculation; log dwarning. 2019-07-23 20:51:44 -07:00
Jason Volk
eb3b4d82fb ircd:Ⓜ️:room::members: Simplify and improve interface; callsites. 2019-07-23 19:50:13 -07:00
Jason Volk
8787dcfaf7 modules/console: Fix room members cmd parameter defaultness. 2019-07-23 17:52:50 -07:00
Jason Volk
bde9e16e5c ircd::ctx: Inline cur_slice_cycles().
modules/media/magick: Use this_ctx::cycles_here().

ircd::ctx: Improve prof::cycles API related.
2019-07-23 16:40:29 -07:00
Jason Volk
df11d9bec6 ircd:Ⓜ️:room: Reorient join bootstrap definitions.
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
2019-07-23 16:40:29 -07:00
Jason Volk
32e77c64a8 modules: Add a prescription to the readme. 2019-07-23 16:14:46 -07:00
Jason Volk
0f6e7f5745 modules/client/rooms/join: Fetch keys concurrently in bootstrap auth_chain eval. 2019-07-23 14:41:53 -07:00
Jason Volk
e883f2a42b ircd:Ⓜ️:keys: Add additional fetch to interface. 2019-07-22 20:35:41 -07:00
Jason Volk
f1e3a9c53b ircd:Ⓜ️:keys: Add mass fetcher to interface. 2019-07-22 20:35:41 -07:00
Jason Volk
2dbef7763e ircd:Ⓜ️:feds: Add for_one() internal alternative. 2019-07-22 20:35:41 -07:00
Jason Volk
bdf8a9b43c ircd:Ⓜ️:feds: Clarify function name; relax room_id requirement. 2019-07-22 19:10:19 -07:00
Jason Volk
eb38a9ce15 ircd:Ⓜ️:room::timeline: Improve iteration. 2019-07-22 19:10:19 -07:00
Jason Volk
cc9ce9c8a5 ircd:Ⓜ️:room: Move timeline definitions to module. 2019-07-22 14:30:27 -07:00
Jason Volk
6513fdf19f modules/m_fetch: Call the fetch::clear() (all) on module fini. 2019-07-22 14:23:06 -07:00
Jason Volk
d4510acf9c modules/console: Add state indicator on room gaps output.
modules/console: Minor cleanup fetch cmd section.
2019-07-22 14:20:40 -07:00
Jason Volk
4a37152c6d ircd:Ⓜ️:fetch: Add clear() to interface. 2019-07-22 14:20:21 -07:00
Jason Volk
53e7fe3fef ircd:Ⓜ️:fetch: Remove cruft. 2019-07-22 14:18:13 -07:00
Jason Volk
4c0e7c220b modules/console: Improve event info output fmt.
modules/console: Improve room top servers.
2019-07-21 19:41:01 -07:00
Jason Volk
4178f40ee1 modules/console: Condense room top output.
modules/console: Skip member events on room top.

modules/console: Improve event long info.

modules/console: Add server count to room top.

modules/m_fetch: Minor cleanup.
2019-07-21 18:58:42 -07:00
Jason Volk
6c9dbdbef5 ircd::ctx: Add queued(ctx) state to interface. 2019-07-21 18:07:26 -07:00
Jason Volk
480834f49b modules/m_receipt: Handle event_id construction exceptions without breaking loop. 2019-07-21 14:20:38 -07:00
Jason Volk
38a530391c modules/m_receipt: Minor cleanup / structured bindings. 2019-07-21 14:20:33 -07:00
Jason Volk
8a99d6d44f modules/console: Show aliases on room top cmd output. 2019-07-20 22:33:12 -07:00
Jason Volk
a151eadd62 modules/client/sync: Clarify double deindirection. 2019-07-20 21:42:32 -07:00
Jason Volk
e589e89a2c modules/m_fetch: Fix interface implementations. 2019-07-20 18:42:15 -07:00
Jason Volk
c1d21a9401 modules/m_room_aliases: Various namespace modernizations. 2019-07-20 18:42:15 -07:00
Jason Volk
3100e5ea34 modules/m_room_aliases: Move auth branch to module handler. 2019-07-20 18:42:15 -07:00
Jason Volk
8bbf8c4cbb modules/m_room_create: Minor cleanup. 2019-07-20 18:42:15 -07:00
Jason Volk
9e2e20f3e8 ircd:Ⓜ️:event::auth: Preliminary auth hook. 2019-07-20 18:42:15 -07:00
Jason Volk
2f2bc867fb ircd: Improve various context names for consistency. 2019-07-20 18:42:15 -07:00
Jason Volk
94ceab33a5 modules/client/rooms/join: Minor cleanup. 2019-07-19 23:26:54 -07:00
Jason Volk
f45b3e1cc8 modules/vm: Fix add prev/auth_events conditions. 2019-07-19 23:19:41 -07:00
Jason Volk
c7bd5687f2 modules/m_room_aliases: Always update the cache on effects. 2019-07-19 20:25:43 -07:00
Jason Volk
ee926ff5fb modules/m_room_aliases: Remove old hookfn. 2019-07-19 20:25:32 -07:00
Jason Volk
c4299ee5e2 modules/m_room_canonical_alias: Improve infologging. 2019-07-19 20:18:09 -07:00
Jason Volk
f5716caa50 modules/m_room_canonical_alias: Move handler function into ircd::m. 2019-07-19 20:12:30 -07:00
Jason Volk
9c1739a452 modules/m_vm: Post-write hooks to not propagate exceptions. 2019-07-19 20:12:05 -07:00
Jason Volk
8e73834e7a modules/m_room_canonical_alias: Remove old hookfn. 2019-07-19 19:53:49 -07:00
Jason Volk
dc302601fb modules/m_room_canonical_alias: Improve cache manip in effect hook. 2019-07-19 19:53:05 -07:00
Jason Volk
58b286e651 ircd::log: Make the level enumeration strictly unsigned.
modules/console: Fix sign v. unsign comparison.
2019-07-19 18:17:52 -07:00
Jason Volk
ca21a760a7 modules: Rename net_listener back to m_listen. 2019-07-18 15:09:04 -07:00
Jason Volk
4b831a6a30 modules/client/sync: Decrease the default flush high water mark. 2019-07-17 18:34:42 -07:00
Jason Volk
130a86e27c modules/m_fetch: Use cancel interface; minor cleanup. 2019-07-17 16:24:37 -07:00
Jason Volk
aa8c0487e5 modules/federation/sender: Increase per-event error log level. 2019-07-17 15:20:21 -07:00
Jason Volk
9c94c6ac8f ircd:Ⓜ️ Move user::events definitions to module.
ircd:Ⓜ️ Move user::rooms definitions to module.
2019-07-17 15:05:34 -07:00
Jason Volk
ad834bfc5b ircd:Ⓜ️:vm: Reorganize eval/vm::inject for room version differences; add comment. 2019-07-17 14:53:13 -07:00
Jason Volk
f53ff565e8 modules/vm: Add some conf items to inject; minor improvement. 2019-07-17 10:06:56 -07:00
Jason Volk
671ad292ef modules/console: Add room_tags set cmd. 2019-07-16 19:15:29 -07:00
Jason Volk
979a2b41e3 modules/console: Fix room tags output. 2019-07-16 17:46:50 -07:00
Jason Volk
6804123244 modules/media/magick: Synchronize module unload. 2019-07-16 16:25:08 -07:00
Jason Volk
e0e9e09e67 ircd:Ⓜ️ Make append() return and propagate boolean. 2019-07-16 15:26:15 -07:00
Jason Volk
339e43c004 modules/client/sync: Update readme. 2019-07-16 11:36:03 -07:00
Jason Volk
ecdd5c153c modules/console: Fix old module name references. 2019-07-16 09:33:51 -07:00
Jason Volk
594627e945 modules/client/rooms/join: Minor simplify. 2019-07-15 23:01:17 -07:00
Jason Volk
270cf6564c modules/client/rooms/initialsync: Remove event_id host regression. 2019-07-15 21:22:43 -07:00
Jason Volk
4f88697620 modules/vm: Get room version from create event claim. 2019-07-15 19:04:29 -07:00
Jason Volk
4e5b9696f5 modules/federation/make_join: Room version match against query string params. 2019-07-15 17:36:01 -07:00
Jason Volk
477fc25687 modules/m_room_power_levels: Remove stale hooks.
modules/m_room_create: Remove stale hooks.
2019-07-15 17:20:48 -07:00
Jason Volk
76ed65d36e modules/vm: Improve derror log output on call_hook(). 2019-07-15 17:20:48 -07:00
Jason Volk
449f667dd9 modules/client/rooms/join: Exception handling around bootstrap eval. 2019-07-15 17:20:47 -07:00
Jason Volk
20081ce5c1 modules/console: Output room version in fed head. 2019-07-15 17:20:47 -07:00
Jason Volk
2906eebd3f modules/federation/make_join: Add room_version to make_join response. 2019-07-15 17:20:47 -07:00
Jason Volk
bb7cf992ae modules/client/rooms/join: Throw error rather than returning empty event_id.
modules/client/rooms/join: Minor simplify.

modules/client/rooms/join: Use room room_version in event eval opts.
2019-07-15 15:34:06 -07:00
Jason Volk
6f7949eb2c modules/vm: Better conditions for room_id iov append. 2019-07-15 14:22:45 -07:00
Jason Volk
2f71edf41f modules/client/sync/rooms/state: Supply invite room state on invite.
modules/client/rooms/invite: Add the sender's membership event.
2019-07-15 14:11:22 -07:00
Jason Volk
598585a431 ircd::ctx: Simplify concurrent template.
modules/client/sync: Improve concurrent instantiation sites.
2019-07-15 13:09:33 -07:00
Jason Volk
14040f4917 modules: Simplify comment. 2019-07-15 11:19:14 -07:00
Jason Volk
d61850ecf6 modules/m_user: Simplify linkage. #83 2019-07-15 11:06:01 -07:00
Jason Volk
05711cf5d6 modules: Split user::highlight module. 2019-07-15 11:06:01 -07:00
Jason Volk
f3d22ba98b modules/m_typing: More error reporting around typing-state update. 2019-07-15 09:48:29 -07:00
Jason Volk
e715c135af ircd:Ⓜ️ Split m::user::profile from client handler. 2019-07-14 19:35:28 -07:00
Jason Volk
58aad0194b ircd:Ⓜ️ Move bootstrap to module.
modules/m_init_bootstrap: Trigger bootstrap via import.
2019-07-14 16:07:44 -07:00
Jason Volk
2ad1c3acb9 modules/console: Show joined members count in room top. 2019-07-14 15:26:42 -07:00
Jason Volk
198d3ff884 modules/client/sync/rooms/state: Query for event_idx outside of lock; hint pool. 2019-07-14 15:21:13 -07:00
Jason Volk
e6780c7940 modules/client/createroom: Fix bootstrap regression. 2019-07-14 15:03:54 -07:00
Jason Volk
f355fb3135 modules/m_vm: Minor formatting fix. 2019-07-14 15:03:54 -07:00
Jason Volk
5e15364e42 modules/client/sync/rooms/state: Make initial-phase state event queries concurrent. 2019-07-14 15:03:54 -07:00
Jason Volk
c92b6aafd5 modules/m_fetch: Stub missing cancel() definition for now. 2019-07-14 09:42:43 -07:00
Jason Volk
c1b3dc1142 modules/federation/sender: Don't propagate exceptions outside of the hook handler. 2019-07-13 23:20:03 -07:00
Jason Volk
56ab4f397c modules/federation/invite2: Process the dual-signed event. 2019-07-13 23:20:03 -07:00
Jason Volk
8d8142d5eb modules/client/rooms/invite: Send infolog message on invite reception. 2019-07-13 23:20:03 -07:00
Jason Volk
e82b58728a modules/client/rooms/invite: Send invite_room_state. 2019-07-13 23:20:03 -07:00
Jason Volk
b9df49a891 modules/client/sync/rooms/state: Make special case for invite_state inclusive. 2019-07-13 23:20:03 -07:00
Jason Volk
c7a68a8cb3 ircd::ctx: Fix ctx::parallel argument allocation assumptions.
ircd::ctx: Rename tool.
2019-07-13 23:20:03 -07:00
Jason Volk
63a238fa76 modules/federation/sender: Fix event_id regression. 2019-07-13 23:20:03 -07:00
Jason Volk
9fc5f86886 modules/m_fetch: Fix event construction regression. 2019-07-13 19:28:48 -07:00
Jason Volk
1fa275813c modules/media/magick: Call ::DestroyMagickResources() on module dtor. 2019-07-13 19:28:48 -07:00
Jason Volk
4b961099cc modules/client/createroom: Add default room version conf item; fix create eval. 2019-07-13 19:28:03 -07:00
Jason Volk
6abd1a8173 modules/m_fetch: Fix prev array counting calls. 2019-07-13 19:28:03 -07:00
Jason Volk
2489ae02ff modules/m_fetch: Explicitly cancel request after assignment failure. 2019-07-13 19:28:03 -07:00
Jason Volk
f33f65040d ircd::net::dns::resolver: Increase timeout worker responsiveness. 2019-07-13 19:28:03 -07:00
Jason Volk
df8fd36fde ircd:Ⓜ️:user: Simplify user::room_tags impl w/ modern linkage.
ircd:Ⓜ️:user: Simplify user::room_account_data impl w/ modern linkage.

ircd:Ⓜ️:user: Modernize user::profile impl linkage.

ircd:Ⓜ️:user: Modernize user::account_data impl linkage.

ircd:Ⓜ️:user: Simplify user::ignores impl w/ modern linkage.
2019-07-13 18:15:27 -07:00
Jason Volk
0eda690733 modules/console: Allow iteration of user's room tags in all rooms. 2019-07-13 18:15:27 -07:00
Jason Volk
023167b440 modules/client/sync: Add a 'semaphore mode' for muted sync. 2019-07-12 19:29:51 -07:00
Jason Volk
6b54ab902e modules/client/sync: Minor cleanup of condition statements. 2019-07-12 19:29:51 -07:00
Jason Volk
393e4f32de modules/client/sync: Add comment on the phased sync arg. 2019-07-12 19:29:51 -07:00
Jason Volk
4090b8f3da modules/client/rooms/invite: Use json::stack to generate request content. 2019-07-12 19:29:51 -07:00
Jason Volk
519b19547d modules/console: Fix regression. 2019-07-12 19:29:51 -07:00
Jason Volk
09ea0be2f0 modules/client/rooms/invite: Improve error reporting. 2019-07-12 19:29:51 -07:00
Jason Volk
5c8a97c43e modules/client/rooms/invite: Use the v2 invite api here. 2019-07-12 19:29:51 -07:00
Jason Volk
ce55859fb2 ircd:Ⓜ️ Rename v1 to fed. 2019-07-12 19:29:51 -07:00
Jason Volk
fe4ce5c130 modules/client/rooms/invite: Fix event construction. 2019-07-12 19:29:51 -07:00
Jason Volk
ef670cc8b9 modules/client/createroom: Abort room creation for DM's if error inviting counter-party. 2019-07-12 19:29:51 -07:00
Jason Volk
f4600bb002 modules/client/createroom: Create with room_version 4. 2019-07-12 19:29:51 -07:00
Jason Volk
4353034027 modules/client/events: Prevent seek of event_idx for EDU's. 2019-07-12 19:29:50 -07:00
Jason Volk
76148e2971 modules/client/events: Fix condition; use minmax/minor cleanup. 2019-07-12 19:29:50 -07:00
Jason Volk
b5219750be modules/vm: Move the room_id append up the stack. 2019-07-11 19:34:20 -07:00
Jason Volk
d837753d29 modules/console: Fix an event construction. 2019-07-11 18:58:18 -07:00
Jason Volk
e0ff0dfd3c modules/m_keys: Improve cache::get query. 2019-07-11 18:58:17 -07:00
Jason Volk
88bd487d5d modules/client/events: Fix regression from aebfd8d9ff. 2019-07-11 16:57:41 -07:00
Jason Volk
f53112217f modules/console: Fix unwrapped prev_events iteration. 2019-07-11 16:29:07 -07:00
Jason Volk
3b088e8bc1 modules/federation/get_missing_events: Fix unwrapped prev_events iteration. 2019-07-11 16:24:43 -07:00
Jason Volk
f6f71fbbce modules/m_receipt: Make event_id in content required. 2019-07-11 16:20:26 -07:00
Jason Volk
673da4df1f modules/console: Improve the console eval file cmd. 2019-07-11 15:51:09 -07:00
Jason Volk
f9bd97f8c3 modules/m_vm: Fix hashes addition to the event iov for compat for now. 2019-07-11 15:51:09 -07:00
Jason Volk
d53744b3f8 ircd: Rename gmatch/gequals. 2019-07-11 15:51:09 -07:00
Jason Volk
6032331bf2 ircd:Ⓜ️ Move breadcrumb_rooms interface down one out from m::user::. 2019-07-11 15:51:09 -07:00
Jason Volk
c0402f08f4 ircd::util: Improve the test trigger prototype. 2019-07-10 21:39:47 -07:00
Jason Volk
1b65cc36c8 modules/console: Fix unwrapped prev event iteration.
ircd:Ⓜ️:v1: Fix unwrapped prev event reference.
2019-07-10 07:39:37 -07:00
Jason Volk
4a2b64fe0f modules/client/capabilities: Update capabilities.
closes #27
2019-07-10 07:24:20 -07:00
Jason Volk
c39aad4d3f ircd:Ⓜ️:vm: Factor room_version into eval. 2019-07-10 06:52:56 -07:00
Jason Volk
329972ed01 ircd:Ⓜ️:event: Update the make_id() suite. 2019-07-10 03:50:37 -07:00
Jason Volk
aebfd8d9ff modules/client/events: Pass the event_id on side-channel. 2019-07-10 03:50:37 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
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