0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-14 05:51:10 +01:00
Commit graph

2787 commits

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