0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 12:58:53 +01:00
Commit graph

3435 commits

Author SHA1 Message Date
Jason Volk
0862263204 ircd:Ⓜ️:vm: Notify all for sequence::dock on unwind. 2019-09-08 19:58:58 -07:00
Jason Volk
a35328f384 ircd:Ⓜ️:vm: Add inner lock around write commitment. 2019-09-08 19:58:58 -07:00
Jason Volk
f942c3ffc6 modules/federation/send: Allow interrupt propagation for eval. 2019-09-08 18:22:05 -07:00
Jason Volk
b3fc7bdb35 modules/m_init_backfill: Reference a static dummy instance for when_any(). 2019-09-08 18:22:05 -07:00
Jason Volk
0bc027ebab modules/net_dns_resolver: Lock tags mutex for cancel_all() on termination; add assertion. 2019-09-08 18:22:05 -07:00
Jason Volk
3e1be63a49 ircd:Ⓜ️:init::backfill: Fix non-volatile reference to result involving extern conf item. 2019-09-08 18:22:05 -07:00
Jason Volk
af1d6e20cd modules/m_room_events: Fix export attribute. 2019-09-08 15:33:56 -07:00
Jason Volk
e2f2120739 ircd:Ⓜ️:init::backfill: Disable the rooms count estimate at start. 2019-09-07 22:11:18 -07:00
Jason Volk
49752c3663 ircd:Ⓜ️:rooms: Reorder proffer conditions. 2019-09-07 22:03:02 -07:00
Jason Volk
82ef916256 ircd:Ⓜ️:events: Add rebuilder for type/sender meta columns. 2019-09-07 20:35:27 -07:00
Jason Volk
2739696e8f ircd:Ⓜ️:rooms: Add options construction from string; simplify. 2019-09-07 20:05:48 -07:00
Jason Volk
3343585556 modules/console: Add local_only() related information to room top. 2019-09-07 19:29:24 -07:00
Jason Volk
e66bb73c4c ircd:Ⓜ️:init::backfill: Clarify log message; rename function. 2019-09-07 19:23:13 -07:00
Jason Volk
29f8309c10 modules/client/rooms/receipt: Use matrix-org/matrix-doc/2285 m.hidden tag for server-side ignores. 2019-09-07 18:42:37 -07:00
Jason Volk
71027c9383 ircd:Ⓜ️:init::backfill: Only backfill rooms with a locally joined user. 2019-09-07 16:56:17 -07:00
Jason Volk
415491b9b6 ircd:Ⓜ️:rooms: Improve options interface for meta-characteristics. 2019-09-07 16:56:17 -07:00
Jason Volk
7c01d9e77a ircd:Ⓜ️:fetch: Tweak log message format. 2019-09-07 15:32:37 -07:00
Jason Volk
5232da8ea4 ircd:Ⓜ️:init::backfill: Improve infolog msgs; add comments; minor cleanup. 2019-09-07 15:22:12 -07:00
Jason Volk
f092da733c ircd:Ⓜ️:room::events: Make a signed integer comparison here. 2019-09-07 14:53:12 -07:00
Jason Volk
9e5a670b95 modules/console: Move crt to net listen crt.
modules/console: Move typing to user typing.

modules/console: Remove cruft.
2019-09-07 13:50:25 -07:00
Jason Volk
592181a09f modules/net_dns: Ensure placement new pos is a copy of the pointer before inc. 2019-09-07 13:22:36 -07:00
Jason Volk
208c081a62 modules/console: Fix room state space rebuild parameters. 2019-09-06 19:19:06 -07:00
Jason Volk
d3421a8985 modules/console: Add more filtration arguments to peer list cmd.
modules/console: Increase table widths; improve peer request cmd.
2019-09-06 18:37:56 -07:00
Jason Volk
5eb3c7830f ircd:Ⓜ️:init::backfill: Concurrent initial backfill workers. 2019-09-06 16:31:41 -07:00
Jason Volk
5972f65cfb ircd:Ⓜ️:init::backfill: Skip backspill off prev events below the viewport depth. 2019-09-06 16:03:35 -07:00
Jason Volk
deef0777e1 ircd:Ⓜ️:init::backfill: Fetch recent missing events after initial headfill. 2019-09-06 15:50:58 -07:00
Jason Volk
d164c41049 ircd:Ⓜ️:room::events: Increase default. 2019-09-06 15:03:29 -07:00
Jason Volk
3e4918062d ircd:Ⓜ️:init::backfill: Add interruption checks for clean breaks. 2019-09-06 14:53:16 -07:00
Jason Volk
1afa0daf3f modules/m_vm_fetch: Preliminary state acquire hook. 2019-09-06 14:33:35 -07:00
Jason Volk
0bbc45e634 modules/m_vm_fetch: Fix error in debuglog msg. 2019-09-06 14:33:35 -07:00
Jason Volk
e842f6c383 ircd:Ⓜ️🧾 Implement matrix-org/matrix-doc#2285 Hidden read receipts. 2019-09-06 12:18:29 -07:00
Jason Volk
6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk
7d0c44eb3c modules/m_receipt: Add comments/docs on flow. 2019-09-06 10:56:49 -07:00
Jason Volk
91044cf1f0 modules/m_room_join: Remove duplicate join event check until content checked. 2019-09-05 23:25:19 -07:00
Jason Volk
425aa83900 ircd:Ⓜ️:rooms: Add options for user_id / room_alias related. 2019-09-05 21:36:16 -07:00
Jason Volk
652a866a0e modules/client/publicrooms: Improve UX for partial alias search term inputs. 2019-09-05 21:36:16 -07:00
Jason Volk
c006190655 ircd:Ⓜ️:rooms: Allow for full state iteration without server state_key. 2019-09-05 21:36:16 -07:00
Jason Volk
31b67dc646 ircd:Ⓜ️:rooms: Add proffer rule for partial alias search terms. 2019-09-05 21:36:16 -07:00
Jason Volk
b0e60fc3fc modules/m_keys: Fix feds::keys result interpretation. 2019-09-05 21:36:16 -07:00
Jason Volk
51c6620e2c modules/m_vm_fetch: Prevent recursive backfill out of handler; remove viewport condition. 2019-09-05 21:36:16 -07:00
Jason Volk
dfdee1eac9 ircd:Ⓜ️ Consolidate viewport calculation data sources; signed integer conf item. 2019-09-05 21:36:16 -07:00
Jason Volk
9425f26321 modules/m_room_bootstrap: Re-broadcast join event after more servers discovered. 2019-09-05 21:36:16 -07:00
Jason Volk
6300b5a9fb modules/m_vm_fetch: Split and reorg handler stack; add conf items. 2019-09-05 21:36:16 -07:00
Jason Volk
6831f195aa ircd:Ⓜ️:room::events: Add viewport metric concept; conf item. 2019-09-05 18:10:44 -07:00
Jason Volk
f67eafd078 ircd:Ⓜ️:vm::fetch: Remove/reorg stale fetch related options. 2019-09-05 18:10:44 -07:00
Jason Volk
5fddfd5366 modules/m_vm_fetch: Remove evaltab; simplify handlers. 2019-09-04 19:28:42 -07:00
Jason Volk
9e69dff5dd modules/console: Increase width for ip6. 2019-09-04 14:02:38 -07:00
Jason Volk
794ef036e1 modules/m_room_bootstrap: Fetch federation keys for state events concurrently. 2019-09-04 13:39:02 -07:00
Jason Volk
6586a9e084 modules/m_room_bootstrap: Additional infolog messages during process.
modules/m_room_bootstrap: Suppress already-evaluated warnings.
2019-09-04 13:39:00 -07:00
Jason Volk
8d2cc457f1 modules/console: Improve room top missing/gaps output. 2019-09-04 11:56:50 -07:00
Jason Volk
1c16e15753 modules/net_dns: Fix placement offset in results buffer. 2019-09-04 11:12:59 -07:00
Jason Volk
791c64c35b ircd:Ⓜ️:fetch: Clear request on retry; elaborate comparator; minor cleanup. 2019-09-03 22:14:53 -07:00
Jason Volk
957d90e63d modules/federation/send: Quiet vm::fault::EXISTS from the warnlog on eval. 2019-09-03 18:01:50 -07:00
Jason Volk
196ee9e157 modules/m_fetch: Increase worker stack size. 2019-09-03 17:57:32 -07:00
Jason Volk
2c3aca9a4a ircd:Ⓜ️:fetch: Improve handle worker; request_cleanup() related. 2019-09-03 17:55:05 -07:00
Jason Volk
cca4f223ff ircd:Ⓜ️:fetch: Deduplicate requests with shared futures. 2019-09-03 15:56:14 -07:00
Jason Volk
74679a3a5f ircd:Ⓜ️:fetch: Fix initialization order for server::request buf; add linkage for dtor. 2019-09-03 14:43:34 -07:00
Jason Volk
2579313bad modules/console: Remove cruft. 2019-09-03 11:10:30 -07:00
Jason Volk
6e8a7a4162 modules/m_fetch: Fix debuglog msg argument bitrot. 2019-09-03 10:07:08 -07:00
Jason Volk
5c591582a2 modules/m_vm_fetch: Backfill backshore gaps off prev_events. 2019-08-31 02:03:47 -07:00
Jason Volk
1cad69bf41 modules/m_fetch: Simplify/fix comparator suite. 2019-08-31 02:03:47 -07:00
Jason Volk
557c8a3c86 modules/m_room_redaction: Query for sender match rather than event hostpart. 2019-08-31 00:23:45 -07:00
Jason Volk
52fd0d1b2e ircd:Ⓜ️:room::events::missing: Add limited iteration overload. 2019-08-31 00:17:11 -07:00
Jason Volk
a89b5a5662 modules/console: Add recent missing to room top; minor fixes/reorg; formatting. 2019-08-30 23:59:47 -07:00
Jason Volk
003575c418 ircd:Ⓜ️:room::events: Rename missing to horizon; reimplement missing. 2019-08-30 23:43:34 -07:00
Jason Volk
217b2d51d5 ircd:Ⓜ️ Add additional horizon rebuilders. 2019-08-30 22:57:15 -07:00
Jason Volk
91cc12db84 modules/console: Add event horizon rebuild cmd. 2019-08-30 22:57:15 -07:00
Jason Volk
3d5b2ca262 ircd:Ⓜ️:room::events::missing: Add count() to interface. 2019-08-30 22:57:15 -07:00
Jason Volk
56d80751ec ircd:Ⓜ️:room::events::missing: Implement iteration; console cmd. 2019-08-30 22:57:15 -07:00
Jason Volk
10cb380473 ircd:Ⓜ️:room::events: Reorg sounding / gaps related interfaces; reorder definitions. 2019-08-30 19:41:48 -07:00
Jason Volk
6775ee2f3b ircd:Ⓜ️:room: Move m::room::events non-member tools to module; rename/reorg count(). 2019-08-30 16:21:50 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
284bb7653a ircd:Ⓜ️:fetch: Fix lower_bound() result equality check; comparison operations. 2019-08-30 00:01:36 -07:00
Jason Volk
75f726bc9c modules/console: Add recent gaps diagnostic to room top; reduce other output. 2019-08-29 22:27:07 -07:00
Jason Volk
36ce489926 ircd:Ⓜ️:init::backfill: Add hinting to fetch and vmopts; add success infolog msg. 2019-08-29 22:22:28 -07:00
Jason Volk
fc61fd6b70 ircd:Ⓜ️:fetch: Add backfill support; minor reorg. 2019-08-29 22:14:08 -07:00
Jason Volk
3cdedc0030 modules/console: Add a raw argument to fed auth cmd. 2019-08-29 22:14:08 -07:00
Jason Volk
11f1038737 modules/m_vm_fetch: Use m::fetch interface for auth chain. 2019-08-29 22:14:07 -07:00
Jason Volk
8f29d519c1 modules/console: Improve fetch cmd suite. 2019-08-29 22:14:07 -07:00
Jason Volk
a93f5a54d6 ircd:Ⓜ️:fetch: Support v1::event_auth operation with interface. 2019-08-29 22:14:07 -07:00
Jason Volk
9b23b4d907 ircd:Ⓜ️:fetch: Add remote hinting to fetch::opts. 2019-08-29 22:14:07 -07:00
Jason Volk
ac573cd21d ircd:Ⓜ️:fetch: Cleanup/document interface; add basis for operation abstraction. 2019-08-29 21:32:10 -07:00
Jason Volk
26e08c2fc4 modules/client/rooms/read_markers: Ignore duplicate m.fully_read submissions from cliot. 2019-08-29 02:17:48 -07:00
Jason Volk
25464212c6 modules/m_command: Improve tag matching and output in \read command. 2019-08-28 18:07:09 -07:00
Jason Volk
035dbbab88 ircd:Ⓜ️:typing: Add user control over sending and receiving typing events per room. 2019-08-28 16:48:36 -07:00
Jason Volk
04b17bc9d7 ircd:Ⓜ️:typing: Interface cleanup. 2019-08-28 16:48:36 -07:00
Jason Volk
29b8ec0510 modules/client/sync/rooms/unread_notifications: Faster report from '\read all' command. 2019-08-28 02:06:05 -07:00
Jason Volk
4e5d67dfe9 ircd:Ⓜ️:init::backfill: Break from worker loop on runlevel change. 2019-08-27 20:58:52 -07:00
Jason Volk
1323b30f34 ircd:Ⓜ️:fetch: Move auth_chain() to vm::fetch module. 2019-08-27 20:58:52 -07:00
Jason Volk
0001d11b6c ircd:Ⓜ️:init::backfill: Perform eval of room heads. 2019-08-27 18:46:10 -07:00
Jason Volk
8543b4c56a ircd:Ⓜ️:fetch: Add configurable response checking to unit.
ircd:Ⓜ️:fetch: Fix error.
2019-08-27 17:50:02 -07:00
Jason Volk
766dfe027d ircd:Ⓜ️:keys::cache: Add has() to interface. 2019-08-27 16:26:58 -07:00
Jason Volk
3d4ea0a313 modules/m_fetch: Unsplit the header back into the module. 2019-08-27 15:03:44 -07:00
Jason Volk
c57bc9077c ircd:Ⓜ️:fetch: Add future result interface; refactor eval out of flow. (fixes #103) (closes #131)
modules: Split m_vm_fetch from m_fetch.
2019-08-26 16:17:09 -07:00
Jason Volk
30b2f8bfee modules/console: Only show implicit help for negative retval. 2019-08-26 11:36:20 -07:00
Jason Volk
cf1d80c3b4 modules/net_dns: Prevent duplicate error name in exception. 2019-08-26 11:36:20 -07:00
Jason Volk
6f60b9bed8 ircd:Ⓜ️ Simplify send() impl linkage. 2019-08-25 19:44:00 -07:00
Jason Volk
9b5ffb0b1f modules: Split m::createroom related from client/. 2019-08-25 19:44:00 -07:00
Jason Volk
f298e95373 modules: Split out client/user related interface impls. 2019-08-25 19:44:00 -07:00
Jason Volk
8a860b61ce modules: Split m::leave(room) impl from client/rooms. 2019-08-25 19:44:00 -07:00