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
0117838145 modules/net_dns_resolver: Case transform to lower in make_query(). 2019-08-02 22:03:30 -07:00
Jason Volk
3dfb593dec modules/m_room_aliases: Consolidate state_key creation; case desensitize. 2019-08-02 22:01:00 -07:00
Jason Volk
9563781e35 modules: Add example to readme. 2019-08-02 18:12:34 -07:00
Jason Volk
c147c28808 modules/console: Improve message. 2019-08-02 17:40:44 -07:00
Jason Volk
d8fcbf7325 ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109) 2019-08-02 17:34:31 -07:00
Jason Volk
602e4bb5c3 modules/console: Show expiration time in cache list; improve output. 2019-08-02 16:25:38 -07:00
Jason Volk
7b32e8bbad ircd:Ⓜ️:room::aliases::cache: Improve interface and simplify implementation callstack. 2019-08-02 16:18:01 -07:00
Jason Volk
4482b751a8 modules/m_room_aliases: Make the cache fetch buffer dynamic. (Fixes #104) 2019-08-02 15:16:42 -07:00
Jason Volk
7694a48afa modules/console: Remove the temporary escape workaround in conf list. (Closes #101) 2019-08-02 15:04:29 -07:00
Jason Volk
09b7299ca8 modules/client/sync: Implement full_state request functionality. (#105) 2019-08-02 15:04:29 -07:00
Jason Volk
6495fa55d5 modules/client/sync: Move the sync::args ctor definition into unit. 2019-08-02 15:04:29 -07:00
Jason Volk
92a343f69d modules/m_control: Remove legacy temporary output massaging. (#101) 2019-08-02 15:04:28 -07:00
Jason Volk
739490722e modules/media/media: Branch for conditional loading of magick.so. 2019-08-02 15:04:28 -07:00
Jason Volk
5e3f81685c ircd:Ⓜ️ Shorten matrix log facility names.
modules/m_room_bootstrap: Rename log facility.
2019-07-31 19:43:06 -07:00
Jason Volk
ac3941a2df modules/console: Increase log name width. 2019-07-31 19:43:06 -07:00
Jason Volk
7481f55869 modules/m_room_bootstrap: Simplify event_id check and return. 2019-07-31 19:26:16 -07:00
Jason Volk
3e163d842c ircd:Ⓜ️:bootstrap: Improve error log detail on worker failure. 2019-07-31 17:19:00 -07:00
Jason Volk
7364a4d9b7 modules/console: Add missing sequence number to event info output. 2019-07-30 19:19:01 -07:00
Jason Volk
a209da9926 modules/magick: Call InitializeMagick() first; remove DestroyMagickResources()
Fixes #96.
2019-07-30 19:18:46 -07:00
Jason Volk
72874bfb64 modules/key/query: Minor cleanup. 2019-07-30 16:02:49 -07:00
Jason Volk
96c9443fea modules/m_room_bootstrap: Separate bootstrap worker into internal; catch errors. 2019-07-30 15:53:32 -07:00
Jason Volk
7333be92ca ircd:Ⓜ️:typing: Simplify interface; fix linkages. 2019-07-30 14:21:26 -07:00
Jason Volk
c8a04073f1 ircd:Ⓜ️:typing: Add ircd.typing event; update sync room ephemeral.
Fixes #94.
2019-07-30 14:21:26 -07:00
Jason Volk
d5f64e5a74 Fix build errors for GCC-9.1.
Fixes #93.
2019-07-30 10:28:33 -07:00
Jason Volk
1726a0a698 modules/m_room_bootstrap: Comment on error propagations for various subroutines. 2019-07-29 16:17:01 -07:00
Jason Volk
2b694d2c59 modules/client/send_to_device: Fix lack of exception string in error output. 2019-07-27 18:49:27 -07:00
Jason Volk
9391ee38f4 modules/client/send_to_device: Augment sendToDevice for multiple targets. 2019-07-26 19:52:17 -07:00
Jason Volk
2a736ac581 ircd:Ⓜ️ Fix missing module accoutrements.
ircd:Ⓜ️ Tweak module order.
2019-07-26 17:36:21 -07:00
Jason Volk
78a9b73976 modules/m_fetch: Remove redundant event_id from messages. 2019-07-26 16:19:15 -07:00
Jason Volk
7cb7052273 ircd:Ⓜ️:fetch: Add a room based fetch to interface. 2019-07-26 16:13:58 -07:00
Jason Volk
5edd7a6117 ircd:Ⓜ️:fetch: Whittle down the current interface; remove libircd linkages. 2019-07-26 15:51:15 -07:00
Jason Volk
6993bbfeb8 modules/m_fetch: Fix incorrect log facility. 2019-07-26 15:24:17 -07:00
Jason Volk
6a7e7f448b Improve exception handling around several hook handlers.
Revert "modules/vm: Allow ctx::interrupted to propagate call_hook()."
This also reverts commit cdae254e14.
2019-07-26 15:15:58 -07:00
Jason Volk
e4e15e6391 modules/magick: Simplify syntax. 2019-07-26 15:15:58 -07:00
Jason Volk
dd640266f5 modules/net_dns_resolver: Simplify errorlog msg. 2019-07-25 22:35:07 -07:00
Jason Volk
72f6fc9295 modules/media/thumbnail: Add conf item to disable remote fetch. 2019-07-25 21:43:05 -07:00
Jason Volk
6d4e17a77c modules/media: Hold a reference to magick module. 2019-07-25 21:43:05 -07:00
Jason Volk
3121dc30df modules: Move magick out of media; hold instance from media. 2019-07-25 21:02:48 -07:00
Jason Volk
7b8dfb88f4 ircd:Ⓜ️:event::auth: Transpose several rules; various reorg. 2019-07-25 20:02:29 -07:00
Jason Volk
90fa55ed91 modules/console: Improve event info report output. 2019-07-25 18:57:50 -07:00
Jason Volk
494288ea77 modules/client/sync/rooms/account_data: Ignore since range on room account_data polylog sync. 2019-07-25 15:06:54 -07:00
Jason Volk
b8adc69599 ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
2019-07-25 14:29:07 -07:00
Jason Volk
cdae254e14 modules/vm: Allow ctx::interrupted to propagate call_hook(). 2019-07-25 11:46:45 -07:00
Jason Volk
4051d11812 modules/client/sync/rooms/state: Ensure branch not taken on phased sync. 2019-07-24 17:53:06 -07:00
Jason Volk
df2772c113 modules/client/sync/rooms: Fix buffer sizing constant. 2019-07-24 17:42:31 -07:00
Jason Volk
a9000af369 modules/client/events: Branch for events to allow EDU's without event_id. 2019-07-24 17:37:08 -07:00
Jason Volk
051af41961 modules/client/events: Catch hook handler exception here. 2019-07-24 16:29:44 -07:00
Jason Volk
9e927d1a4d modules/client/sync/rooms/state: Make room_invite_state phased aware. 2019-07-24 15:58:28 -07:00
Jason Volk
5116023cf3 modules/client/sync/rooms/state: Add room avatar to invite state sync.
modules/client/sync/rooms/state: Increment ret after append, not before.

modules/client/sync/rooms/state: Use constructive event::fetch.
2019-07-24 15:34:35 -07:00
Jason Volk
d034ee8dde modules/net_dns_resolver: Add assertion; tweak log format consistency. 2019-07-24 14:24:34 -07:00
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