0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-09 03:21:15 +01:00
Commit graph

1882 commits

Author SHA1 Message Date
Jason Volk
d659b7eaf5 modules/client/rooms/join: Checkpoint bootstrapped join related for now. 2018-06-12 01:00:15 -07:00
Jason Volk
7234f62b6c modules/client/rooms/kick: Implement kick convenience endpoint. 2018-06-12 01:00:15 -07:00
Jason Volk
123edd6ebb modules/federation/federation: Typedef a specific closure prototype here. 2018-06-12 01:00:15 -07:00
Jason Volk
5d79f0e83b modules/console: Checkin various cmds' accumulated vmopts; run head reset after sync cmd. 2018-06-12 01:00:14 -07:00
Jason Volk
c352822d94 modules/m_room: Add util to force event into present state w/ console cmd. 2018-06-12 01:00:14 -07:00
Jason Volk
b4e7bb062c modules: Rename root to webroot. 2018-06-12 01:00:14 -07:00
Jason Volk
eb603c22c1 modules: Add preliminary m_room_aliases protocol suite. 2018-06-12 01:00:14 -07:00
Jason Volk
912562f469 ircd:Ⓜ️:vm: Checkpoint phase-as-class skeleton. 2018-06-12 01:00:14 -07:00
Jason Volk
cc0072df0e modules: Add preliminary m_room_canonical_alias protocol suite. 2018-06-12 01:00:14 -07:00
Jason Volk
5c919d5503 modules/console: Add reqs optarg to client listing cmd. 2018-06-10 23:07:20 -07:00
Jason Volk
3adf45ddc0 modules/console: Cleanup conformity of output from mem cmd. 2018-06-09 14:41:35 -07:00
Jason Volk
acddfa77f8 ircd::allocator: Add mallinfo to string support w/ console command. 2018-06-09 14:37:31 -07:00
Jason Volk
b198e9bef1 modules/console: Add feds auth cmd. 2018-06-08 20:43:59 -07:00
Jason Volk
c9e847cf58 modules/console: Add auth events to fed head cmd. 2018-06-08 20:34:00 -07:00
Jason Volk
1c4e8564b7 modules/console: Add manual user read receipt cmd. 2018-06-08 20:26:14 -07:00
Jason Volk
a683c52c66 modules/console: Add stage broadcast cmd. 2018-06-08 20:25:53 -07:00
Jason Volk
cd611f4245 modules/console: Catch verify errors in fed event. 2018-06-07 18:37:15 -07:00
Jason Volk
ca1507cd48 modules/console: Add user register cmd. 2018-06-07 13:28:50 -07:00
Jason Volk
51d657a533 modules/client/register: Distill for extern linkage; add granular conf items. 2018-06-07 13:20:46 -07:00
Jason Volk
0b226f2633 modules/vm: Show fault code in error log msg. 2018-06-05 11:21:07 -07:00
Jason Volk
de07d32afd ircd/modules: Update various conditional json::iov nodes. 2018-06-05 11:19:40 -07:00
Jason Volk
95f14503cf modules/client/rooms/state: Add conditional event.member for member events. 2018-06-04 23:17:56 -07:00
Jason Volk
9810be9798 modules/federation/get_missing_events: Fix member name. 2018-06-03 19:25:17 -07:00
Jason Volk
252b78b660 modules/console: Add fed frontfill cmd. 2018-06-03 19:25:17 -07:00
Jason Volk
289d855bf2 modules/console: Add empty prev_state in default stage event. 2018-06-03 19:17:03 -07:00
Jason Volk
dc5dab62e8 modules/federation/backfill_ids: Raise default max limit; minor cleanup. 2018-06-03 14:51:47 -07:00
Jason Volk
8bd6cf05b0 modules/vm: Add preliminary vm fetch unit. 2018-06-03 10:02:19 -07:00
Jason Volk
c58e60c122 modules/vm: Move vm::log out of module back to libircd. 2018-06-03 09:58:45 -07:00
Jason Volk
6356f62de2 modules/federation/get_missing_events: No break on missing event; check path parc. 2018-06-02 19:49:38 -07:00
Jason Volk
b79494adb9 modules/federation: Implement event_auth endpoint. 2018-06-02 19:46:58 -07:00
Jason Volk
d437042f38 modules/console: Various improvements to stage. 2018-06-02 14:46:06 -07:00
Jason Volk
e90ed4d41a modules/console: Rename compose to stage. 2018-06-02 09:07:46 -07:00
Jason Volk
da17cb1de2 modules/m_room: Use empty string prev hashes. 2018-06-01 17:45:20 -07:00
Jason Volk
6cd9ad2d6f modules/m_room: Checkin room__herd w/ console cmd. 2018-06-01 17:20:35 -07:00
Jason Volk
9a32f006d7 modules/console: Add compose make vector. 2018-06-01 17:15:56 -07:00
Jason Volk
1e7881ad27 modules/vm: Use generators moved to m_room. 2018-06-01 16:46:58 -07:00
Jason Volk
89f3c538a1 modules/console: Add compose make_auth cmd. 2018-06-01 16:12:09 -07:00
Jason Volk
84b2af6b98 modules/console: Add compose make_prev cmd. 2018-06-01 16:11:47 -07:00
Jason Volk
1025f045e9 modules/m_room: Add auth_events generator. 2018-06-01 16:11:13 -07:00
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
Jason Volk
48055cb276 ircd::ctx: Add special termination interruption to yanagiba the stack. 2018-05-06 02:06:08 -07:00
Jason Volk
1059688d02 ircd::ctx: Add state for stack usage profiling; clarify some interfaces. 2018-05-05 23:14:11 -07:00
Jason Volk
f55304e0a1 ircd::ctx: Add slice total counter; move check_stack after timing sample. 2018-05-05 22:42:25 -07:00
Jason Volk
2167311b2e modules/console: Add fed state args for auth/state and output spacing. 2018-05-05 22:24:25 -07:00
Jason Volk
a3a628c439 modules/console: Add fed state arguments for auth and state. 2018-05-05 22:24:25 -07:00
Jason Volk
1bde28ac17 modules/console: Add event content argument for more detail. 2018-05-05 22:24:25 -07:00
Jason Volk
ea42490b4e ircd::ctx: Consolidate slice timing to tsc; add public interfacing. 2018-05-05 22:24:25 -07:00
Jason Volk
c98481c334 modules/console: Improve feds state output. 2018-05-05 16:49:17 -07:00
Jason Volk
4647e5f1cb modules/console: Checkpoint feds state w/ count output only. 2018-05-05 03:58:59 -07:00
Jason Volk
39d73fac3e modules/federation/federation: Add feds state. 2018-05-05 03:36:47 -07:00
Jason Volk
18634c122b modules/federation/federation: Improve version; move ostream to modules/console. 2018-05-05 03:36:47 -07:00
Jason Volk
f320cbf05d modules/console: Update the room head cmd. 2018-05-04 20:57:28 -07:00
Jason Volk
85db62ff17 modules/console: Add event bad cmd. 2018-05-04 20:43:05 -07:00
Jason Volk
96b84e30ef modules/m_presence: Fix nothrow to not error on usefulness check. 2018-05-04 20:43:05 -07:00
Jason Volk
7f4716c5e5 modules/client/sync: Use a real error log message on polylog sync backout. 2018-05-03 20:11:16 -07:00
Jason Volk
6432245abd modules/s_control: Workaround some issues with output for now. 2018-05-02 22:22:12 -07:00
Jason Volk
fb53069c6f ircd::net::dns Include query in callback arguments to prevent any stale captures. 2018-05-01 18:56:22 -07:00
Jason Volk
25c43b6aa2 modules/console: Add host prefetch by room to cache warm for testing etc. 2018-05-01 14:51:13 -07:00
Jason Volk
f40831c8e6 modules/console: Alias host with net__host for ux. 2018-05-01 14:50:52 -07:00
Jason Volk
7e694c0a50 modules/federation/backfill: Cleanup; increase default limit. 2018-04-30 23:35:53 -07:00
Jason Volk
a03e467cff modules/console: Fetch a head event id as default to feds backfill param. 2018-04-30 22:49:29 -07:00
Jason Volk
1aa3c68724 modules/console: Remove branch for members iteration arguments. 2018-04-30 22:48:30 -07:00
Jason Volk
6a3f30afb6 modules/federation/federation: Improve format of backfill grid. 2018-04-30 22:40:48 -07:00
Jason Volk
6036af66b8 modules/federation: Fix state related event_id parameter. 2018-04-30 10:45:41 -07:00
Jason Volk
fb96f017b7 modules/client/rooms/messages: Chunk direct to socket. 2018-04-30 10:40:52 -07:00
Jason Volk
87f792b8eb modules/federation/backfill_ids: Chunk direct to socket. 2018-04-30 10:38:00 -07:00
Jason Volk
7e96e00184 modules/federation/state_ids: Chunk direct to socket. 2018-04-30 10:35:04 -07:00
Jason Volk
4a25f3be72 modules/federation/backfill: Chunk direct to socket. 2018-04-30 10:25:44 -07:00
Jason Volk
8daa14c2b1 modules/federation/state: Chunk direct to socket. 2018-04-30 10:25:31 -07:00
Jason Volk
de838e982d modules/federation/federation: Show depth in feds head; cleanup unused returns. 2018-04-30 08:54:56 -07:00
Jason Volk
c03ca13f17 modules/federation/federation: Add feds backfill event grid w/ cmd. 2018-04-30 08:51:03 -07:00
Jason Volk
8432d022f5 modules/federation/federation: Improve feds head output. 2018-04-30 08:07:33 -07:00
Jason Volk
65786b77ea modules/media: Add a block database and remove local fs related. 2018-04-30 07:31:11 -07:00
Jason Volk
e6a204263e modules/media: Convey a user_id through the download stack for the file room. 2018-04-30 07:30:34 -07:00
Jason Volk
ec4453404e modules/federation/federation: Split feds version request / response. 2018-04-30 05:43:56 -07:00
Jason Volk
bc5ab4a1b1 modules/federation/federation: Add feds head w/ cmd. 2018-04-30 05:31:38 -07:00
Jason Volk
42b9f06edb modules/federation/federation: Fix references of the origin into the remote. 2018-04-30 05:30:50 -07:00
Jason Volk
44b72023af modules/console: Add room members read cmd. 2018-04-28 21:18:52 -07:00
Jason Volk
cee9130108 modules/m_presence: Demote error log facility for this handler. 2018-04-28 02:47:21 -07:00
Jason Volk
16f16678d8 modules/m_receipt: Shuffle around elements of the receipt vector. 2018-04-28 02:46:11 -07:00
Jason Volk
42f10271ae modules/console: Add placement parameters in some room cmds. 2018-04-28 02:44:07 -07:00
Jason Volk
ec80e3ddef modules/console: Add room send (non-state) cmd. 2018-04-28 00:18:30 -07:00
Jason Volk
54caba349a modules/s_control: Remove unused conf room id buf here. 2018-04-27 21:48:14 -07:00
Jason Volk
49a2cddc45 modules: federation/federation library; move feds commands (prelim). 2018-04-27 18:02:42 -07:00
Jason Volk
bfbeb388f2 modules/console: Fix the fed head user_id argument. 2018-04-27 16:52:02 -07:00
Jason Volk
019628c8a3 modules/m_presence: Ignore presence spam. 2018-04-27 15:27:30 -07:00
Jason Volk
25d6c4d521 modules/client/presence: Stub my user's presence changed hook. 2018-04-27 15:27:09 -07:00
Jason Volk
70f962de4e ircd:Ⓜ️ Elaborate presence interface to fetch full event from user's room. 2018-04-27 15:26:17 -07:00
Jason Volk
8cf95a6ba0 modules/media: Add file download command. 2018-04-27 14:40:44 -07:00
Jason Volk
9168477e69 modules/console: Update room count w/ standard event_filter jsons. 2018-04-26 22:07:03 -07:00
Jason Volk
412c12fd69 modules/console: Fix the state dfs cmd rot. 2018-04-26 21:35:55 -07:00
Jason Volk
4c2f90273a modules/console: Rename room messages to events; add room roots; add special opt. 2018-04-26 21:35:55 -07:00
Jason Volk
8083a5d71c ircd::db: Add WAL fflush; move table flushes to "sort()"; adjust interfaces. 2018-04-26 17:19:29 -07:00
Jason Volk
2625a81279 modules/console: Add hook list / hook base cmd. 2018-04-26 15:32:47 -07:00
Jason Volk
63e662606a modules/console: Add room create cmd. 2018-04-26 15:09:30 -07:00
Jason Volk
e6b06a4522 modules/client/profile: Return 200 rather than 304 for put profile dups. 2018-04-26 03:51:15 -07:00
Jason Volk
d6ce6d9b43 modules/console: Various param improvements. 2018-04-25 23:35:46 -07:00
Jason Volk
bf68626712 modules/media: Distill out download stack w/ concurrent request barrier. 2018-04-25 22:03:50 -07:00
Jason Volk
bffff30ac3 modules/media: Additional checks / cleanup. 2018-04-25 20:52:26 -07:00
Jason Volk
4d3999b7b8 modules/root: Use regular encoding for static content w/ known size. 2018-04-25 18:17:29 -07:00
Jason Volk
bc79fabfef modules/media: Add error logging; various cleanup. 2018-04-24 18:26:35 -07:00
Jason Volk
96b353fa44 modules/console: Add file room cmd to get file room id. 2018-04-24 18:00:11 -07:00
Jason Volk
40a3263ad9 modules/console: Add a feds resend cmd to reaccept direct to sender. 2018-04-24 17:43:45 -07:00
Jason Volk
a068857bb9 modules/media: Provide suitable extern linkage for file_room_id. 2018-04-24 17:41:51 -07:00
Jason Volk
2b6fd1c985 modules/console: Allow lists of module names to mod cmds. 2018-04-24 17:41:25 -07:00
Jason Volk
db21df0c31 ircd: Move mapi.h into mods/. 2018-04-24 01:21:16 -07:00
Jason Volk
0da3b60823 modules/console: Add console command to output user's room's origins. 2018-04-23 19:50:21 -07:00
Jason Volk
6aebe1f01e modules/client/presence: Make redundant status return normally. 2018-04-23 19:17:03 -07:00
Jason Volk
1e0d17935b modules/console: Supply index for event erase write operation. 2018-04-23 18:15:18 -07:00
Jason Volk
d534ee8afa modules/client/presence: Check for redundant status updates from client. 2018-04-23 17:50:47 -07:00
Jason Volk
ed7375a653 modules/s_control: Move conf commands over to modules/console. 2018-04-23 17:20:00 -07:00
Jason Volk
1ab361a733 modules/console: Split net host cache cmd to participate in cmd tree. 2018-04-23 17:20:00 -07:00
Jason Volk
9817a41c18 modules/console: Add log base cmd w/ list of named loggers and status. 2018-04-23 17:20:00 -07:00
Jason Volk
bb0659fd83 modules/console: Add log level adjustment command. 2018-04-23 17:20:00 -07:00
Jason Volk
7e27be36d9 modules/console: Add log mask cmd suite; recategorize log mark cmd under log. 2018-04-23 17:20:00 -07:00
Jason Volk
f9e449dbf5 modules/client/presence: Various cleanup/reorg. 2018-04-23 17:20:00 -07:00
Jason Volk
5b8b35a7c6 modules/client/profile: Nothrow for the existing value check on profile update. 2018-04-23 01:58:54 -07:00
Jason Volk
bfba0ada0c modules/media: Add preview_url stub-plus. 2018-04-23 00:47:03 -07:00
Jason Volk
18e9c792be modules/client/sync: Handle timeout from acceptor dock. 2018-04-22 21:54:06 -07:00
Jason Volk
a5ebd50f55 modules/media: Additional argument to separate server name from actual remote. 2018-04-22 21:10:31 -07:00
Jason Volk
05369c5d3a modules/media: Various cleanup / reenable assertions. 2018-04-22 21:10:31 -07:00
Jason Volk
f808a28664 ircd: Add m/m.h to stdinc.h 2018-04-22 16:22:02 -07:00
Jason Volk
87bd9bc429 ircd:Ⓜ️ Add conf init sequence for m::self related. 2018-04-22 15:18:05 -07:00
Jason Volk
246e20d624 modules/client/rooms/initialsync: Use a conf item here fwiw. 2018-04-21 23:55:27 -07:00
Jason Volk
6dfe99e8e2 modules/publicrooms: Checkin the argument parsing half of this stub. 2018-04-21 23:53:36 -07:00
Jason Volk
9a9420aed7 modules/m_typing: Checkpoint the typing feedback reevaluation. 2018-04-21 23:51:37 -07:00
Jason Volk
5f2e8056d9 modules/client/sync: Checkpoint synchronous longpoll / polylog / prelim linear. 2018-04-21 23:50:16 -07:00
Jason Volk
795f0488e4 modules/s_conf: Handle exception on the update hook. 2018-04-21 22:54:37 -07:00
Jason Volk
bd3e004d70 modules/client/profile: Duplicate check for client put; extended timeout. 2018-04-21 17:28:48 -07:00
Jason Volk
3d5c8a5a2f modules/m_receipt: Deconflict receipt user_room type; add usefulness detection. 2018-04-21 16:52:19 -07:00
Jason Volk
d031d7eec5 modules/client/profile: Update profile for all rooms hook. 2018-04-21 15:45:49 -07:00
Jason Volk
8ced86e503 modules/media/upload: File media in a file room. 2018-04-21 15:22:43 -07:00
Jason Volk
d35a0190f7 modules/media: Add checks for empty parameters / bogus file room hash. 2018-04-21 00:53:08 -07:00
Jason Volk
79e2e698e0 modules/media/download: Get local media from a file room. 2018-04-21 00:51:51 -07:00
Jason Volk
0c7b5effaf modules/console: Plug in some of the command-by-mxid stubs. 2018-04-20 23:54:22 -07:00
Jason Volk
f9c00e4f25 modules/console: Add cmd to iterate room members by origin. 2018-04-20 23:54:22 -07:00
Jason Volk
6b32da764d ircd::client: Remove the asynchronous longpoll state. 2018-04-20 19:54:18 -07:00
Jason Volk
9e9a1449ee modules/console: Add cmd to set column or database runtime options. 2018-04-20 15:22:50 -07:00
Jason Volk
47df72b69b modules/console: Add cmd to mark the log. 2018-04-20 15:22:50 -07:00
Jason Volk
6f90708e46 modules/console: Add cmd to dump info to log. 2018-04-20 15:22:50 -07:00
Jason Volk
fcf17db132 ircd: Various fixes / cleanup. 2018-04-20 15:22:49 -07:00
Jason Volk
885e46788b modules/console: Add ctx interrupt cmd. 2018-04-20 00:51:21 -07:00
Jason Volk
e586e22007 modules/console: Add event cmd idx argument. 2018-04-20 00:44:45 -07:00
Jason Volk
f66acf6f8e modules/console: Add ctx base cmd w/ fallback to ctx list. 2018-04-20 00:44:45 -07:00
Jason Volk
0d4176a960 modules/console: Add events subcommand accepting filter-JSON argument. 2018-04-19 14:23:47 -07:00
Jason Volk
a91c4314d4 modules/console: Add room top command. 2018-04-18 15:05:15 -07:00
Jason Volk
02bc9032e8 ircd:Ⓜ️ Add event::idx to top() tuple. 2018-04-18 15:04:46 -07:00
Jason Volk
7659ef3acc ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers. 2018-04-18 15:03:42 -07:00
Jason Volk
7b514deb80 modules/console: Add db base cmd w/ delegation to db list for empty arguments. 2018-04-18 14:27:18 -07:00
Jason Volk
7f3919dd17 ircd:Ⓜ️ Split events iterations into namespace. 2018-04-18 01:25:54 -07:00
Jason Volk
3b7b6f815e modules/console: Add db bytes command. 2018-04-17 14:14:00 -07:00
Jason Volk
359ff91316 modules/console: Add db stats convenience command to passthru to prop rocksdb.stats. 2018-04-17 13:43:10 -07:00
Jason Volk
5b09cdc264 modules/client: Stub various lies to quiet errors in Riot. 2018-04-17 01:15:30 -07:00
Jason Volk
f0be8745b7 modules/console: Convert event dumper to use vm sequence iteration. 2018-04-16 23:30:14 -07:00
Jason Volk
00b46a8885 modules/client/sync: Checkpoint preliminary stateless incremental sync exhibit. 2018-04-16 17:57:41 -07:00
Jason Volk
f06505a967 modules/console: Basic vm events iteration command. 2018-04-16 16:01:10 -07:00
Jason Volk
e009d6763e ircd::db: Fix issues with txn interface. 2018-04-16 15:20:08 -07:00
Jason Volk
39a5272ee3 modules/console: Improve the events database dump process. 2018-04-15 22:33:44 -07:00
Jason Volk
0504962248 modules/m_presence: Basic exception handling for the edu hook. 2018-04-15 19:58:07 -07:00
Jason Volk
d6e5723014 modules/federation/sender: Fix various issues; propagate context interruption. 2018-04-15 18:02:41 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
7b54dba291 ircd::db: Expose an interface for some counters; add ticker command. 2018-04-15 16:43:09 -07:00
Jason Volk
0c78bf7a9b ircd::db: Add compaction interface. 2018-04-15 02:42:57 -07:00
Jason Volk
f0dc31d284 modules/console: Add ability to query prop for all columns with "**" key. 2018-04-14 22:01:25 -07:00
Jason Volk
3b7816763e modules/console: Tweak formatting for net host cache list. 2018-04-14 18:17:02 -07:00
Jason Volk
ee5c1f27f2 modules/console: Improve formatting for client list output. 2018-04-14 17:34:07 -07:00
Jason Volk
428e209995 modules/console: Filter error peers by default unless argument. 2018-04-14 00:51:58 -07:00
Jason Volk
f4015c597e modules/console: Make mod list the mod base cmd. 2018-04-14 00:51:30 -07:00
Jason Volk
367776ee2d modules/root: Checkpoint cleanup; don't use response::chunked here though:
resource::response::chunked is not used here because if the file is small a
fixed content-length is used rather than chunked-encoding.
2018-04-14 00:25:09 -07:00
Jason Volk
431d5cfc02 modules/console: Add feds version command. 2018-04-13 23:55:38 -07:00
Jason Volk
d9a73f3604 modules/client/initialsync: Reorient base frame for resource::response::chunked. 2018-04-13 23:20:46 -07:00
Jason Volk
e35338b5b2 modules/console: Improve room messages command; incorporate limit argument. 2018-04-13 22:46:31 -07:00
Jason Volk
b95c27826b modules/console: Command to only iterate peers with errors. 2018-04-13 20:02:48 -07:00
Jason Volk
db8972c0ef modules/console: Add client base command to explore the client::list. 2018-04-13 17:40:37 -07:00
Jason Volk
1143789f35 modules/console: Move net peer commands out of net; increase net host cache output widths. 2018-04-13 16:31:37 -07:00
Jason Volk
3f48d3b70a modules/federation/send: Tweak pdu evaluation logging options. 2018-04-13 16:22:13 -07:00
Jason Volk
7b22f65e86 modules/client/initialsync: Terminate client on initialsync exception. 2018-04-13 16:16:07 -07:00
Jason Volk
14d90bf4a9 ircd:Ⓜ️:vm: Move temporary m.room.member effect to modules/m_room_member. 2018-04-13 14:54:11 -07:00
Jason Volk
f557f26322 modules/console: Rename exec cmd to eval; add eval base cmd. 2018-04-13 14:47:17 -07:00
Jason Volk
16239f5e0b modules/client/initialsync: Special case the invite_state key. 2018-04-13 14:45:02 -07:00
Jason Volk
d07da44718 modules/console: Add user rooms command. 2018-04-13 14:04:36 -07:00
Jason Volk
90597bc59c modules/console: Complete the db prop command. 2018-04-12 23:07:45 -07:00
Jason Volk
dc2bd4f66e modules/media: Distill out some current media room functionality. 2018-04-12 23:07:45 -07:00
Jason Volk
9a6dbca127 modules/m_typing: Promote the typing log facility. 2018-04-12 23:07:45 -07:00
Jason Volk
a8b143d6c2 modules/media: Consolidate media modules for easier linkages. 2018-04-12 23:07:45 -07:00
Jason Volk
a08684c9e7 modules/client/initialsync: Involve m.receipt m.read for room ephemeral events. 2018-04-12 23:07:45 -07:00
Jason Volk
7bb187eb17 modules/client/initialsync: Remove unnecessary unquote() for object. 2018-04-12 14:15:05 -07:00
Jason Volk
345870feb9 modules/console: Add basic user read command. 2018-04-12 02:38:56 -07:00
Jason Volk
a41420d9e5 modules/console: Add user presence iteration command. 2018-04-12 02:27:31 -07:00
Jason Volk
5c2b31f93d modules/m_presence: Promote the log message facility. 2018-04-12 01:12:02 -07:00
Jason Volk
e6888779c9 modules/client/presence: Make m.presence a state singleton in the user's room. 2018-04-12 00:38:18 -07:00
Jason Volk
ef2b4d041b modules/client/initialsync: Catch and log error which broke sync for user reporting. 2018-04-11 23:40:30 -07:00
Jason Volk
1f49f3c193 modules/client/initialsync: Involve presence in initialsync. 2018-04-11 23:40:30 -07:00
Jason Volk
82ef048d3f ircd:Ⓜ️ More complete presence interface getter interface stack. 2018-04-11 23:09:49 -07:00
Jason Volk
55e4a8fcaf ircd:Ⓜ️ Split user's rooms iteration into separate interface. 2018-04-11 15:38:01 -07:00
Jason Volk
e9df8b699c ircd:Ⓜ️ Add user room membership convenience interface; apply. 2018-04-11 14:18:38 -07:00
Jason Volk
777525f85a modules/client/initialsync: Sync global account_data from user's room; minor cleanup. 2018-04-11 13:16:07 -07:00
Jason Volk
b305e72cef modules/console: Add feds event command with existential consensus report. 2018-04-11 01:28:01 -07:00
Jason Volk
8dd0c56f7d modules/console: Various fixes; buffer size; params. 2018-04-10 21:04:52 -07:00
Jason Volk
9ed97730e6 modules/console: Command to clear all peer errors. 2018-04-10 21:04:25 -07:00
Jason Volk
fff36e0d42 modules/client/initialsync: Chunked encoded streamed json initial sync. 2018-04-10 19:32:56 -07:00