0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-07 01:06:37 +02:00
Commit graph

2470 commits

Author SHA1 Message Date
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
Jason Volk
31f1e28c24 modules/m_receipt: Add implicit receipt generator hook. 2019-03-28 14:05:04 -07:00
Jason Volk
e1446a84da modules/m_receipt: Elide federation broadcasts for receipts of events matching sender. 2019-03-28 14:05:04 -07:00
Jason Volk
c046467348 modules/m_receipt: Consolidate receipt interface; split out federation composer into hook. 2019-03-28 14:05:04 -07:00
Jason Volk
f15769ea0e modules: Add .well-known handler to serve the m::self::servername string for now. 2019-03-28 13:13:35 -07:00
Jason Volk
6419333457 modules/client/sync/rooms/unread_notifications: Use better counter upper bound. 2019-03-28 00:11:35 -07:00
Jason Volk
be9bee5968 modules/m_room: Make notification count iteration upper bound exclusive.
modules/m_user: Make highlight count iteration exclusive.
2019-03-27 23:55:14 -07:00
Jason Volk
0e6e556d50 modules/client/sync: Reuse scratch buffer on longpoll handles. 2019-03-27 23:50:43 -07:00
Jason Volk
5d06042140 modules/client/sync: Use the same linear vector merge in longpoll handler. 2019-03-27 20:28:59 -07:00
Jason Volk
394ec523a2 ircd:Ⓜ️:sync: Do a full iteration of all linear sync items even if success. 2019-03-27 20:13:04 -07:00
Jason Volk
977840a246 modules/s_dns_resolver: Ensure no double-queueing, at cost. 2019-03-27 17:11:12 -07:00
Jason Volk
fc09dd4034 modules/client/rooms/read_markers: Reimplement client 14.6 /read_markers m.fully_read. 2019-03-27 16:54:10 -07:00
Jason Volk
2d459d8da8 modules/client/rooms/receipt: Split m.read logic into subroutine. 2019-03-27 16:14:14 -07:00
Jason Volk
5cfc763002 modules/m_receipt: Add comment to section / minor cleanup. 2019-03-27 16:04:12 -07:00
Jason Volk
745f392855 modules/webhook: Implement github organization type handler and member_added action. 2019-03-27 15:58:33 -07:00
Jason Volk
0e5b10816a modules/client/rooms/receipt: Enforce support for m.read type only. 2019-03-27 15:30:40 -07:00
Jason Volk
ee9e82f53c modules/webhook: Support organization-level webhooks in header display. 2019-03-27 14:46:01 -07:00
Jason Volk
99f3c842d1 modules/webhook: Fix label added listing. 2019-03-27 14:35:55 -07:00
Jason Volk
9c2e0a759a modules/webhook: Handle labels action unlabeled. 2019-03-27 14:33:27 -07:00
Jason Volk
bfda1b35d0 modules/federation/invite: Disable prev event requirement on invite eval. 2019-03-27 14:09:40 -07:00
Jason Volk
0043cb2af7 modules/s_fetch: Add branch for auth chain fetch/eval on missing room state for event. 2019-03-27 14:09:40 -07:00
Jason Volk
1c5b7d2d71 ircd:Ⓜ️:room::auth: Add central interface for chain fetch/eval. 2019-03-27 13:44:33 -07:00
Jason Volk
20d0ea70c2 ircd::ios: Add tsc counters to hook state. 2019-03-27 13:04:12 -07:00
Jason Volk
42d275d787 modules/console: Start an ios cmd. 2019-03-27 13:04:12 -07:00
Jason Volk
d2546120ee ircd: Add descriptor participation for all asynchronous operations. 2019-03-27 13:04:12 -07:00
Jason Volk
92ebdd83a4 modules/console: Minor rename constant. 2019-03-27 13:04:12 -07:00
Jason Volk
939812f6bd modules/vm: Fix #ifdef RB_DEBUG coverage; minor adjust type. 2019-03-25 20:18:33 -07:00
Jason Volk
257b1fa7ff modules/vm: Move the issuing debuglog msg out of execute(). 2019-03-25 20:13:03 -07:00
Jason Volk
bd3bf50c34 modules/s_dns: Fix double-tap; cleanup iteration. 2019-03-25 19:54:11 -07:00
Jason Volk
7d70351f0b modules/s_dns: Ensure cache::put() sends something useful to the cache room. 2019-03-25 19:07:37 -07:00
Jason Volk
84d4ca485b ircd:Ⓜ️:room::state: Add preliminary purge_replaced() w/ console cmd. 2019-03-25 18:39:30 -07:00
Jason Volk
1ffa00adbf ircd:Ⓜ️:room: Add central interface linkage for room::purge(). 2019-03-25 18:04:16 -07:00
Jason Volk
3018062345 modules/m_event: Calculate unsigned.age relative to origin_server_ts. 2019-03-25 17:58:21 -07:00
Jason Volk
a06816b66a modules/console: Prefix event::idx to room events line output. 2019-03-25 17:53:15 -07:00
Jason Volk
dc82c7e855 modules/console: Increase peer and client table widths. 2019-03-25 16:37:11 -07:00
Jason Volk
28569176f2 ircd::net: Use a structured argument to addrs closure; add more data. 2019-03-25 15:18:06 -07:00
Jason Volk
67c1ff06aa modules/s_dns_resolver: Increase the recv context stack size. 2019-03-25 14:37:21 -07:00
Jason Volk
23785910b0 modules/s_dns: Condition response waiting on callback being non-null. 2019-03-25 14:08:14 -07:00
Jason Volk
8c27cb847a ircd::net: Add conditional interface to getifaddrs() w/ console cmd. 2019-03-25 13:56:08 -07:00
Jason Volk
4d3fd753e1 ircd::net: Add interface for listener bound socket information; improve net listen console cmd. 2019-03-25 12:55:59 -07:00
Jason Volk
71b86df0fe ircd::net::dns: Reorg various utilities from dns::cache:: to dns::. 2019-03-24 14:50:26 -07:00
Jason Volk
55af53e2a0 ircd::net::dns::cache: Add addl utils random_choice and is_error(). 2019-03-24 14:47:07 -07:00
Jason Volk
83dcfb05a0 modules/s_dns: Tweak conf TTL defaults; use dynamic content buffer. 2019-03-24 14:06:47 -07:00
Jason Volk
4677e5f443 modules/s_dns: Improve ipport query deduction related. 2019-03-24 14:06:47 -07:00
Jason Volk
a1ac9cb356 ircd::net::dns: Expose more cache utils to public interface. 2019-03-24 14:06:47 -07:00
Jason Volk
54f7ddb6bd modules/client/rooms/state: Log an error when a state event fetch fails during sync. 2019-03-23 02:45:05 -07:00
Jason Volk
17abecff3b modules/s_dns: Default to SRV when deducing for single ipport query. 2019-03-23 02:32:20 -07:00
Jason Volk
3c09d62934 modules/s_dns: Various cleanup / reorg of handlers. 2019-03-23 01:04:41 -07:00
Jason Volk
e6320e0716 modules/federation/state: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:57:18 -07:00
Jason Volk
7f27cdbf1d modules/federation/state_ids: Seek an event_id before starting chunked encoding to allow 404. 2019-03-22 21:06:28 -07:00
Jason Volk
2417d7ac7d modules/m_event: Stub missing sections of event auth checks for now. 2019-03-22 21:06:28 -07:00
Jason Volk
77648137e9 Revert "ircd: Remove use of all unwind::exceptional and unwind::nominal devices."
This reverts commit 4f243826c2.
2019-03-22 21:06:28 -07:00
Jason Volk
dfd9a3ed83 modules/s_dns_resolver: Handle ServFail better with retries so it's not immediately cached.
modules/s_dns_resolver: Increase recv work log level to critical.
2019-03-22 14:28:57 -07:00
Jason Volk
4ec689ef65 modules/s_dns: Handle case for entirely irrelevant records. 2019-03-22 13:51:28 -07:00
Jason Volk
8f41687940 modules/s_dns: Fix exception propagation to callback. 2019-03-22 13:51:28 -07:00
Jason Volk
eee620df3e modules/s_dns: Fix keying for response matching. 2019-03-22 10:50:16 -07:00
Jason Volk
12744182c2 modules/s_dns: Return tag id down stack if possible. 2019-03-22 10:41:26 -07:00
Jason Volk
68e3655a1d ircd::net::dns: Refactor system for the !dns room. 2019-03-21 18:24:36 -07:00
Jason Volk
e133cd5a25 ircd::net: Add specific allow(acceptor) rather than using start(acceptor). 2019-03-21 17:07:35 -07:00
Jason Volk
008dfcb43f ircd:Ⓜ️:vm: Add counters and synchronization for safe module reloading. 2019-03-21 16:46:04 -07:00
Jason Volk
4b7bc1d5b1 modules/vm: Rename/export core functions. 2019-03-21 16:46:04 -07:00
Jason Volk
82378db816 modules/vm: Share transactions between all evals on the same stack; adjust sequence strategy. 2019-03-21 16:46:04 -07:00
Jason Volk
a6a509fe4b modules/webhook: Add issue labels after issue titles. 2019-03-21 12:16:19 -07:00
Jason Volk
9ebc536534 modules/webhook: Use background colors for labels. 2019-03-21 11:54:33 -07:00
Jason Volk
bff7373918 modules/webhook: Support label event types and some actions. 2019-03-21 11:11:08 -07:00
Jason Volk
9333df4950 modules/m_presence: Add conf item to toggle federation incoming. 2019-03-20 20:08:48 -07:00
Jason Volk
d61d443a4c modules/vm: Asynchronous post_hook sequencing. 2019-03-19 18:02:35 -07:00
Jason Volk
9d7c26b376 modules/m_receipt: Fix missing m::log designation. 2019-03-19 16:40:25 -07:00
Jason Volk
5b951b55c5 modules/vm: Add sequencing points.
ircd:Ⓜ️:vm: Reorganize sequence counters.
2019-03-19 16:31:05 -07:00
Jason Volk
4e2a445426 modules/s_dns_cache: Create a DNS cache room. 2019-03-17 15:42:34 -07:00
Jason Volk
a9d8af1bf1 modules/s_listen: Start listener after loading iff run::level::RUN. 2019-03-17 15:30:24 -07:00
Jason Volk
21d8c9ce76 modules/client/rooms/report: Provide missing error string in log message. 2019-03-17 13:41:33 -07:00
Jason Volk
22fe24f54f modules/client/sync: Add linear buffer size conf item; add help texts to some confs. 2019-03-17 13:24:24 -07:00
Jason Volk
9ab3549660 modules/client/sync: Tweak log message format; cleanup longpoll::accepted struct. 2019-03-17 13:18:33 -07:00
Jason Volk
2158d3e7b6 modules/client/rooms/report: Create !abuse room with !ircd init hook. 2019-03-16 19:38:33 -07:00
Jason Volk
4e618175c7 modules/client/sync: Try to ensure all next_batch tokens are limited to the upper bound. 2019-03-16 18:12:38 -07:00
Jason Volk
8450f74450 modules/vm: Increment current_sequence after the debuglog msg. 2019-03-16 18:12:38 -07:00
Jason Volk
cdb8308b02 modules/s_listen: Add runlevel::QUIT handler to stop listener harder. 2019-03-16 16:28:28 -07:00
Jason Volk
f2f2afb8c4 ircd::net: Reorg listener/acceptor external interface. 2019-03-16 16:28:28 -07:00