0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 12:48:54 +02:00
Commit graph

2546 commits

Author SHA1 Message Date
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
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