0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00
Commit graph

1643 commits

Author SHA1 Message Date
Jason Volk
b8267feaac modules/m_room: Add prev_events generator. 2018-06-01 16:10:54 -07:00
Jason Volk
5ce4fb3fd3 modules/media/media: Manually close db on fini w/ note. 2018-06-01 05:38:50 -07:00
Jason Volk
f41c50af5b Makefile: ld.gold arguments package. 2018-05-31 16:32:55 -07:00
Jason Volk
fba300d900 modules/federation/event: Convert endpoint to use json::stack response. 2018-05-31 11:40:18 -07:00
Jason Volk
7b9e5f944d modules/m_room_history_visibility: Add node visibility test. 2018-05-31 11:34:44 -07:00
Jason Volk
e798d81306 modules/console: Add event visible diagnostic cmd. 2018-05-31 11:13:15 -07:00
Jason Volk
3b7df8069b modules/console: Add room visible diagnostic cmd. 2018-05-31 11:09:33 -07:00
Jason Volk
499c6f4f21 modules/console: Allow empty event_id to indicate the present state. 2018-05-31 11:09:14 -07:00
Jason Volk
289f9faf4a modules/console: Add argument to list single peer; left justify hostname. 2018-05-31 10:48:41 -07:00
Jason Volk
d2df4ca02d modules/m_room: Checkin the refs flag on head__modify. 2018-05-31 09:34:53 -07:00
Jason Volk
7a93d798d8 modules/m_room: Add no-cache for iterations. 2018-05-31 09:31:22 -07:00
Jason Volk
bb779b03e9 modules/m_room: Add is_complete(room) diagnostic w/ console cmd. 2018-05-31 09:18:57 -07:00
Jason Volk
b2a8149901 modules/m_room_history_visibility: Visibility rules for lusers. 2018-05-31 07:56:41 -07:00
Jason Volk
118671309d modules/federation: Add various visibility conditionals. 2018-05-31 05:56:02 -07:00
Jason Volk
9028b1350a modules/client/rooms/messages: Add visibility conditionals. 2018-05-31 05:45:29 -07:00
Jason Volk
9496f042b3 modules/client/rooms/context: Add event visibility conditionals. 2018-05-31 04:49:21 -07:00
Jason Volk
6671122997 ircd:Ⓜ️ Rework visibility interface for empty mxid's as part of a public test. 2018-05-31 04:25:04 -07:00
Jason Volk
5d471b51b8 modules/client/rooms: Implement context endpoint. 2018-05-31 03:24:07 -07:00
Jason Volk
c7155c3835 modules/console: List user read ignores when target is omitted. 2018-05-31 02:48:09 -07:00
Jason Volk
f37e090233 modules/client/rooms/receipt: Support read.ignore for rooms and senders; update console cmd. 2018-05-30 13:32:27 -07:00
Jason Volk
411d637c84 modules/console: Add compose send cmd. 2018-05-30 10:05:23 -07:00
Jason Volk
7471417091 modules/console: Add compose copy cmd. 2018-05-30 10:05:01 -07:00
Jason Volk
60fcb54815 modules/console: Add options param for compose final cmd. 2018-05-30 10:04:44 -07:00
Jason Volk
fd0648471f modules/console: Add tag commit count to peer table. 2018-05-30 08:18:40 -07:00
Jason Volk
9787885ca4 modules/console: Add peer close cmd. 2018-05-30 04:59:05 -07:00
Jason Volk
8a173d802d modules/console: Use fs::fd for loopy io. 2018-05-30 04:59:04 -07:00
Jason Volk
3854bbaedd modules/root: Use fs::fd to read and serve static content. 2018-05-30 04:59:04 -07:00
Jason Volk
fea14c2d41 modules/console: Fix user room presence query event type. 2018-05-29 13:02:28 -07:00
Jason Volk
960c94d4eb modules/m_presence: Add additional presence spam filtering logic. 2018-05-29 13:02:28 -07:00
Jason Volk
5f067c2ce6 modules/console: Add peer cancel cmd. 2018-05-29 12:10:51 -07:00
Jason Volk
de8e7b5908 ircd:Ⓜ️:vm: Move eval entry related into modules/vm; convert phase to struct. 2018-05-29 04:05:50 -07:00
Jason Volk
52767c836f modules/client: Stub search endpoint. 2018-05-29 04:01:36 -07:00
Jason Volk
2ba495eb8b modules/m_presence: Move some externs from client/presence; update linkages. 2018-05-28 01:31:45 -07:00
Jason Volk
9714d1ee15 ircd:Ⓜ️ Reorg event visibility interface; update linkages. 2018-05-28 00:33:21 -07:00
Jason Volk
84c57addba modules/m_typing: Opt to not notify federation for this m.typing eval. 2018-05-27 19:56:28 -07:00
Jason Volk
88d3026cc7 ircd:Ⓜ️:vm: More granular notification broadcast options. 2018-05-27 19:56:04 -07:00
Jason Volk
7bbcf63d8a modules/console: Update the m_room/head_modify prototype. 2018-05-27 08:39:49 -07:00
Jason Volk
8dc3e7c758 modules/console: Add compose finalizer convenience. 2018-05-27 08:39:49 -07:00
Jason Volk
0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk
9a697783a9 modules/client/rooms/receipt: Add feature to not send read receipts to certain users. 2018-05-26 05:28:49 -07:00
Jason Volk
05147794c8 modules/client/rooms/receipt: Add log message for the local commit path. 2018-05-26 04:24:12 -07:00
Jason Volk
b305a328ed modules/s_conf: Avoid throwing an error for non-existent keys during startup. 2018-05-25 21:06:32 -07:00
Jason Volk
42af033421 modules/s_conf: Provide linkage for conf "rehash" w/ console cmd. 2018-05-25 20:37:33 -07:00
Jason Volk
d77ab74289 modules/m_room: Add manual head modify w/ console cmd suite. 2018-05-25 19:35:29 -07:00
Jason Volk
67e31ed481 modules/console: Add conf item for events dump buffer size; use various size constants. 2018-05-25 18:35:40 -07:00
Jason Volk
a45365ee98 ircd::allocator: Add global allocator profiling suite. 2018-05-25 03:07:30 -07:00
Jason Volk
e2f77e9873 modules/console: Appropriate type in events iteration closures. 2018-05-24 21:36:20 -07:00
Jason Volk
b38bac6a74 modules/console: Allow direction argument for all events iteration ala room events. 2018-05-24 21:32:20 -07:00
Jason Volk
6e3a6d171e modules/console: Move event__dump to events__dump. 2018-05-24 21:00:16 -07:00
Jason Volk
ff21175036 ircd::db: Integrate checkpointing with database name and path schema. 2018-05-24 20:52:49 -07:00
Jason Volk
628f589988 modules/m_room: Simplify: use existing api. 2018-05-24 03:46:54 -07:00
Jason Volk
4ce29f1d22 ircd::db: Add cache clear interface w/ console cmd. 2018-05-24 01:18:58 -07:00
Jason Volk
7bfe9e94a1 ircd::db: Default to no checksums on all reads; add conf item; adjust opts. 2018-05-23 18:45:27 -07:00
Jason Volk
77755a2ab4 ircd::db: Add interface to rocksdb iostats w/ console cmd. 2018-05-23 16:57:49 -07:00
Jason Volk
91dbd0d58e modules/console: Optimize the room members read query here. 2018-05-23 16:49:41 -07:00
Jason Volk
7d82b27907 modules/console: Default to membership=join for rooms members read; no head on fed backfill. 2018-05-23 16:29:17 -07:00
Jason Volk
1c20df652b ircd::db: Elaborate interface to the rocksdb perf_context. 2018-05-23 16:27:44 -07:00
Jason Volk
60bd4f2346 modules/m_room_history_visibility: Fix extern nombre linkage; checkpoint info log msg. 2018-05-23 04:23:31 -07:00
Jason Volk
08d8ea02b8 modules/console: Hide db tickers of zero unless -a; tweak db base cmd output. 2018-05-23 04:16:30 -07:00
Jason Volk
ac4e6b23f4 modules/m_room: Add preliminary room turbulence analysis. 2018-05-23 02:03:29 -07:00
Jason Volk
8a65e1d077 modules/m_receipt: Fix additional json::undefined_number related. 2018-05-23 01:32:21 -07:00
Jason Volk
31ceecc838 modules/console: Make the default_synapse a conf::item. 2018-05-23 00:46:21 -07:00
Jason Volk
120e296756 modules/console: Increase the default synapse. 2018-05-23 00:43:25 -07:00
Jason Volk
67ddd4bf87 modules/console: Add preliminary composer suite. 2018-05-22 23:02:37 -07:00
Jason Volk
725e339405 modules/m_room: More sensible head reset operation. 2018-05-22 18:50:48 -07:00
Jason Volk
8b15512849 ircd::db: Add database's unique id string interface. 2018-05-22 17:01:01 -07:00
Jason Volk
078b991621 modules/console: Accept a list of ctx id arguments to cmds. 2018-05-22 05:49:38 -07:00
Jason Volk
4cc8ba0b79 modules/m_room: Add head reset w/ console cmd. 2018-05-22 05:16:36 -07:00
Jason Volk
8e804ff48d modules/m_room: Add head rebuilder w/ console cmd. 2018-05-22 02:58:21 -07:00
Jason Volk
53ba8dafcc modules/client/sync: Add some default fopts. 2018-05-22 01:13:38 -07:00
Jason Volk
7707d0edd1 modules/console: Add client cmd argument to show single client by id. 2018-05-22 01:00:22 -07:00
Jason Volk
7e8ec1ca63 ircd::ctx: Support interrupt suppression; suite. 2018-05-22 00:22:56 -07:00
Jason Volk
d56241657f modules/federation/sender: Use json::undefined_integer here. 2018-05-21 17:46:19 -07:00
Jason Volk
198dd95573 modules/console: Output levels when no setter argument supplied. 2018-05-21 17:16:02 -07:00
Jason Volk
c22ae75010 modules/console: Black out log levels not compiled in. 2018-05-21 17:09:37 -07:00
Jason Volk
ca1fbfec55 modules/client/rooms/receipt: Add committal from the receipt post handler. 2018-05-21 00:01:28 -07:00
Jason Volk
78513d7998 modules/console: Split room members cmd for full event and just user_id. 2018-05-20 20:18:19 -07:00
Jason Volk
67b7a58f42 ircd:Ⓜ️ Additional event/room visibility linkage and preliminary hook. 2018-05-20 20:15:50 -07:00
Jason Volk
52e4c8b0ff modules/federation/send: Use proper undefined_integer symbol. 2018-05-20 19:10:56 -07:00
Jason Volk
3774b61cb8 modules/client/register: Add conf item to enable/disable registration. 2018-05-20 18:39:33 -07:00
Jason Volk
6bacfb6cb7 modules/client/register: Remove the first user thing. 2018-05-20 18:39:33 -07:00
Jason Volk
c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk
1103eb7fa8 modules/console: Improve event cmd. 2018-05-20 05:26:14 -07:00
Jason Volk
b65ff7ea53 modules/m_room_history_visibility: Add preliminary stub. 2018-05-19 18:49:08 -07:00
Jason Volk
4b554f4605 modules/console: Add ctx term cmd. 2018-05-19 18:49:08 -07:00
Jason Volk
9e793fde82 modules/key/keys: Minor reduction. 2018-05-19 18:49:07 -07:00
Jason Volk
34d1abb062 modules/console: Add event fetch + sign cmd. 2018-05-19 18:49:07 -07:00
Jason Volk
4be4186730 modules/console: Add state tuple output to room top cmd. 2018-05-19 18:49:07 -07:00
Jason Volk
0839d929c8 modules: Rename s_state to m_room. 2018-05-19 18:49:07 -07:00
Jason Volk
31d0f9daed ircd:Ⓜ️:dbs: Rename opts.idx to opts.event_idx; split internal related. 2018-05-19 18:49:07 -07:00
Jason Volk
d1f7dd9da6 modules/m_room_create: Checkpoint basic condition. 2018-05-19 18:49:07 -07:00
Jason Volk
902d48d702 modules/Makefile.am: Add missing s_state related. 2018-05-19 18:49:07 -07:00
Jason Volk
47e5e94ac1 modules/client/sync: Ignore errs for graceful degradation w/o killing entire polylog sync. 2018-05-19 18:49:06 -07:00
Jason Volk
631020d932 modules/client/sync: Force next_batch values to be quoted strings. 2018-05-19 18:49:06 -07:00
Jason Volk
11df089f30 modules/s_state: Preliminary tree rebuild from forward iteration; console cmd. 2018-05-19 18:49:06 -07:00
Jason Volk
99553dd7e7 modules/console: Adjust width of state root node id in output. 2018-05-19 18:49:06 -07:00
Jason Volk
7d6baec6b9 modules/console: Use params for cmd. 2018-05-19 18:49:06 -07:00
Jason Volk
bf6b50348a modules/client/pushrules: Update stub to be a directory. 2018-05-19 18:49:06 -07:00
Jason Volk
8146b730e2 modules/key/keys: Fix cache query for empty key_id: find latest key. 2018-05-19 18:49:06 -07:00
Jason Volk
ebcf5206e6 modules/s_state: Fix missing MAPI header. 2018-05-19 18:49:06 -07:00
Jason Volk
97f38507e0 modules: Move state rebuild from client/state to s_state. 2018-05-19 18:49:05 -07:00
Jason Volk
4e87408ae5 modules/console: Improve db cache output table. 2018-05-19 18:49:05 -07:00
Jason Volk
4093082cc3 modules/vm: Move state existence check above prev check. 2018-05-19 18:49:05 -07:00
Jason Volk
887cd2398d modules/vm: Reorg the main eval exception handlers. 2018-05-19 18:49:05 -07:00
Jason Volk
b1a71e0a71 modules/console: Add cache line to db base cmd. 2018-05-19 18:49:05 -07:00
Jason Volk
73cdee1cae modules/console: Add db cache information cmd. 2018-05-19 18:49:05 -07:00
Jason Volk
61630ea308 modules/console: Improve db base cmd output. 2018-05-19 18:49:04 -07:00
Jason Volk
9f5e79aa00 modules/console: Add peer find cmd. 2018-05-19 18:49:04 -07:00
Jason Volk
915076296f ircd:Ⓜ️ Convert hook to template. 2018-05-19 18:49:04 -07:00
Jason Volk
163fc25790 modules/client/sync: Use real exception handler; fix polylog call; fix presence key; unlocker. 2018-05-19 18:49:04 -07:00
Jason Volk
f79000b18d modules/client/sync: Add flush high-watermark conf item. 2018-05-19 18:49:04 -07:00
Jason Volk
90ea0b4547 modules/console: Add feds perspective cmd. 2018-05-19 18:49:04 -07:00
Jason Volk
cd3d790d54 modules/console: Add feds heads grid; related cleanup. 2018-05-19 18:49:04 -07:00
Jason Volk
b00da0f95f modules/federation/federation: Split apart feds head; add feds perspective. 2018-05-19 18:49:04 -07:00
Jason Volk
69debc0d2b modules/console: Add a cmd to trigger the present state reindexer for a room. 2018-05-19 18:49:03 -07:00
Jason Volk
5590238b1f modules/client/rooms: Add a state reindexer routine. 2018-05-19 18:49:03 -07:00
Jason Volk
8f3b84fff9 modules/console: Add more output to the db base cmd. 2018-05-19 18:49:03 -07:00
Jason Volk
9e1dd0abe1 modules/client/rooms/messages: Count filter misses w/ conf limit; fix alloc size. 2018-05-19 18:49:03 -07:00
Jason Volk
61ddfb080e modules/key: Remove stale assertion. 2018-05-19 18:49:03 -07:00
Jason Volk
e2e8172bfd modules: Add join rules hook stub; remove remaining tmp_effects from vm. 2018-05-19 18:49:03 -07:00
Jason Volk
385e08cd62 modules/vm: Move create effects from vm to m_room_create hook. 2018-05-19 18:49:03 -07:00
Jason Volk
b414593443 modules/console: Add user filter cmd. 2018-05-19 18:49:02 -07:00
Jason Volk
1d7fce8368 ircd:Ⓜ️ Reorg filter interface and linkage related. 2018-05-19 18:49:02 -07:00
Jason Volk
3ec5df018a modules/client/rooms/messages: Add filtered messages pagination. 2018-05-19 18:49:02 -07:00
Jason Volk
ea73700103 ircd:Ⓜ️ Add contains_url to filter tuple. 2018-05-19 18:49:02 -07:00
Jason Volk
08c3058fbc ircd:Ⓜ️:vm: Rename some commit opts. 2018-05-19 18:49:02 -07:00
Jason Volk
9136088f26 modules/console: Simplify room members read cmd. 2018-05-19 18:49:02 -07:00
Jason Volk
b2badad065 modules/console: Add node key cmd for single key. 2018-05-19 18:49:02 -07:00
Jason Volk
08fd63bf35 modules/console: Show conformity and hash and sig reports for event cmd. 2018-05-19 18:49:02 -07:00
Jason Volk
53fedc4c4b modules/console: Add basic node cmd w/ node keys iteration. 2018-05-19 18:49:01 -07:00
Jason Volk
dc38da5566 ircd:Ⓜ️ Add missing ADL-converted index(event) calls. 2018-05-19 18:49:01 -07:00
Jason Volk
d9b5a7d26a ircd:Ⓜ️ Improve various keys interfaces. 2018-05-19 18:49:01 -07:00
Jason Volk
523434b313 modules/media/media: Fix linkage of constexpr. 2018-05-10 21:08:58 -07:00
Jason Volk
f160963c02 ircd::db: Split column compact range and files operations for interface. 2018-05-10 17:06:35 -07:00
Jason Volk
dcbbaf2579 ircd::server: Add opts::prio value; special case prio value in link selection. 2018-05-09 17:07:37 -07:00
Jason Volk
c14f268559 ircd:Ⓜ️ ADL the event::fetch::index() suite. 2018-05-09 16:38:11 -07:00
Jason Volk
369582339a modules/client/rooms/receipt: Handle all errors; fixes missing event exceptions. 2018-05-08 19:01:11 -07:00
Jason Volk
a4b1ab4b0e modules/console: Tweak conf list output table. 2018-05-08 16:07:27 -07:00
Jason Volk
8c87fbed46 modules/federation: Add various conf items for flush high-watermarks. 2018-05-08 00:15:18 -07:00
Jason Volk
c1b98f43b3 modules/console: Sort any vector of results for eval. 2018-05-07 16:52:00 -07:00
Jason Volk
b3a063bdac modules/console: Rework fed key query to allow vector of queries. 2018-05-07 16:34:59 -07:00
Jason Volk
fd80a13b15 modules/key/keys: Refactoring of key queries to use m::v1 requests and interface. 2018-05-07 16:34:59 -07:00
Jason Volk
d87bbb4d68 modules/console: Add vm stats cmds. 2018-05-07 16:34:59 -07:00
Jason Volk
957705ad13 modules/console: Add fed keys related. 2018-05-07 16:34:59 -07:00
Jason Volk
1d3f92069f modules/console: Improve output for ctx cmd; add table key. 2018-05-07 12:54:38 -07:00
Jason Volk
4c71ab8fd0 ircd:Ⓜ️🪝 Simplify collections with instance_lists. 2018-05-06 22:28:17 -07:00
Jason Volk
456f8e7ac1 ircd:Ⓜ️ Move vm eval definitions into module. 2018-05-06 22:28:17 -07:00
Jason Volk
68c863e7f9 ircd:Ⓜ️:vm: Reorg commit stack; move room commit thing to m::vm. 2018-05-06 18:02:33 -07:00
Jason Volk
e90603b762 ircd:Ⓜ️🪝 Support arbitrary creation and deletion of hook::site instances. 2018-05-06 14:53:39 -07:00
Jason Volk
003ecf6357 ircd: Remove / update various ctx::interrupted catch blocks for ctx::terminated. 2018-05-06 02:06:08 -07:00