0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 06:51:08 +01:00
Commit graph

2087 commits

Author SHA1 Message Date
Jason Volk
9601dac9cc ircd: Consolidate stdinc.h and ircd.h and fix precompiled headers. 2018-06-15 16:13:18 -06:00
Jason Volk
0d688b386b ircd::json: Perform unquote() in json::string ctor as described... 2018-06-12 01:00:15 -07:00
Jason Volk
f5b73ce0c4 modules/client/rooms/invite: Fix linkage for invite__foreign routine. 2018-06-12 01:00:15 -07:00
Jason Volk
d912400f32 ircd:Ⓜ️:vm: Move vm submodules ctor/dtor into libircd for recursive issues for now. 2018-06-12 01:00:15 -07:00
Jason Volk
59a39caca3 modules/client/keys: Checkpoint 0-count keys for now. 2018-06-12 01:00:15 -07:00
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
Jason Volk
ab0839c018 modules/client/initialsync: Initial json::stack initial sync stack. 2018-04-10 15:31:10 -07:00
Jason Volk
acf8cf5ae6 modules/client/sync: Checkpoint scaffold non-initial sync w/ initial linkage. 2018-04-10 15:31:10 -07:00
Jason Volk
d4e35476a3 modules/client: Preliminary 6.2.3 /initialSync composite. 2018-04-10 13:15:19 -07:00
Jason Volk
d12b4bd259 modules/console: db flush and sync commands. 2018-04-09 21:23:54 -07:00
Jason Volk
4b201b026e modules/console: Preliminary rooms list base command. 2018-04-09 20:12:03 -07:00
Jason Volk
3ef23fd86b modules/m_presence: Demote the log facility for this warning. 2018-04-09 15:57:08 -07:00
Jason Volk
37a126915b modules/client/user: Validate user path parameter for now. 2018-04-08 22:11:29 -07:00
Jason Volk
7fb3047f68 ircd:Ⓜ️ 11.18.2.1 account_data w/ central linkage. 2018-04-08 22:11:29 -07:00
Jason Volk
564338b2fe modules/console: Add fed public_rooms command. 2018-04-08 22:11:28 -07:00
Jason Volk
8bf7c05ed8 modules/federation/send: Undefined the depth value when creating the edu pseudo-event. 2018-04-08 13:00:35 -07:00
Jason Volk
130c4970b6 modules/console: Sort fed event_auth output by depth. 2018-04-08 12:52:27 -07:00
Jason Volk
9df6d127af ircd:Ⓜ️:v1: event_auth convenience conversion; fed event_auth output. 2018-04-08 12:45:05 -07:00
Jason Volk
99ce3232d4 modules/console: Fix errors. 2018-04-08 12:41:26 -07:00
Jason Volk
d7b3a56882 modules/console: Improve room get (event) cmd; use params; add output opts. 2018-04-08 12:35:27 -07:00
Jason Volk
b497ce35da modules/console: Add fed event_auth command. 2018-04-08 12:35:27 -07:00
Jason Volk
c372b45857 modules/m_presence: For some reason this never looped but feels like it will one day. 2018-04-07 09:57:08 -07:00
Jason Volk
389d5a9f18 modules/client/rooms/receipt: Check for duplicate receipts on commission. 2018-04-07 09:57:08 -07:00
Jason Volk
cb73ba1d10 modules/m_receipt: Send read receipts to the user's room. 2018-04-07 09:57:08 -07:00
Jason Volk
2770c19ac2 modules/console: Source all timeout values from the options structure. 2018-04-07 02:01:04 -07:00
Jason Volk
e7c7a295c4 modules/console: Add an eval option to fed event. 2018-04-07 02:00:30 -07:00
Jason Volk
ac0d7e9a78 modules/console: Minor fixes. 2018-04-07 02:00:08 -07:00
Jason Volk
58af1ae88c construct;modules/s_control: Fix output stream related. 2018-04-06 23:35:09 -07:00
Jason Volk
ade6ad79d9 modules/console: Support alias to id translation for room cmd suite. 2018-04-06 22:23:18 -07:00
Jason Volk
76e5543efa modules/console: Support alias to id translation for fed command suite. 2018-04-06 22:23:18 -07:00
Jason Volk
124102bf2f modules/console: Add fed send command. 2018-04-06 22:23:18 -07:00
Jason Volk
904ec2455f modules/console: Add a fed sync command. 2018-04-06 03:43:31 -07:00
Jason Volk
d3e6b20f14 ircd:Ⓜ️:vm: Distill vm::opts::commit extension from vm::opts. 2018-04-05 23:14:30 -07:00
Jason Volk
c849a30aa1 ircd:Ⓜ️ Improve interface to current event convenience suite. 2018-04-05 22:16:32 -07:00
Jason Volk
8d0681e7b1 ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces. 2018-04-05 22:16:32 -07:00
Jason Volk
022bf95f7f modules/console: Fix fed__head remote opt; various cleanup; named params. 2018-04-05 21:16:51 -07:00
Jason Volk
e6e8a07e99 modules/console: Catch params exception for output to ostream rather than ircd::log. 2018-04-05 20:17:10 -07:00
Jason Volk
f38ed34533 modules/console: Minor cleanup; comments. 2018-04-05 20:01:13 -07:00
Jason Volk
ddeeaf174f modules/client/rooms/invite: Remove unnecessary vararg. 2018-04-05 04:16:13 -07:00
Jason Volk
257276d082 modules/federation: Add backfill_ids endpoint handler. 2018-04-04 22:54:59 -07:00
Jason Volk
aaf4c1f76b modules/console: Add user activation command suite. 2018-04-04 22:54:59 -07:00
Jason Volk
3d056c66d6 modules/console: Relax head/history eval opts for manual fed state/backfill. 2018-04-04 22:54:59 -07:00
Jason Volk
1217d48fc1 modules/console: Add command to change a user's password. 2018-04-04 22:54:59 -07:00
Jason Volk
9fa017e3aa modules/console: Use named params to parse room__set cmd args. 2018-04-04 22:54:59 -07:00
Jason Volk
14608f4c6b modules/client/directory/room: Rewrite json::not_found; move cacher to after. 2018-04-04 22:54:58 -07:00
Jason Volk
7fef6f5f10 modules/client/rooms/messages: json::stack retrofit. 2018-04-04 22:54:58 -07:00
Jason Volk
ca75899407 modules/federation: Backfill. 2018-04-04 22:54:58 -07:00
Jason Volk
ba8171ce63 modules/federation/send_join: Populate the auth_chain array in response. 2018-04-04 22:54:58 -07:00
Jason Volk
1a0c359a6d modules/federation/make_join: Spit out some auth_event for synapse to chew on. 2018-04-04 22:54:58 -07:00
Jason Volk
d09e0dedde modules/federation: Check if origin matches the verified X-Matrix origin for now. 2018-04-04 22:54:58 -07:00
Jason Volk
4ef168386b modules/federation/make_leave: Add missing structure. 2018-04-04 22:54:58 -07:00
Jason Volk
184d00f985 modules/key/server: Only run the seed test ifdef RB_DEBUG. 2018-04-04 01:27:45 -07:00
Jason Volk
d2d6ba0f18 modules/federation: Add send_leave endpoint handler. 2018-04-03 23:34:10 -07:00
Jason Volk
4720431d72 modules/federation: Add make_leave endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
50911da57f modules/federation: Add state endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
dffef130db modules/federation: Add state_ids endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
b767aab018 modules/federation: Add send_join endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
c929a39795 modules/federation/invite: Check path parameters match event in body. 2018-04-03 23:34:09 -07:00
Jason Volk
60f983b953 modules/federation: Add make_join endpoint handler. 2018-04-03 23:34:09 -07:00
Jason Volk
ad9a5f731a modules/m_room_member: Eval foreign invites; committer in modules/client/rooms/invite. 2018-04-03 17:27:34 -07:00
Jason Volk
e78f08e8ff modules/m_room_member: Add mapi header to module. 2018-04-03 17:18:20 -07:00
Jason Volk
b90d4230ca modules/client/rooms/invite: Add invite commit / handler w/ central linkage. 2018-04-03 12:56:46 -07:00
Jason Volk
86b0f8248f modules/console: Add db command to list files. 2018-04-03 11:52:14 -07:00
Jason Volk
66871bd598 modules/federation: Add invite endpoint; functional response w/o eval. 2018-04-02 23:20:50 -07:00
Jason Volk
bf127104f1 modules/federation: Add query endpoint; add profile handler. 2018-04-02 23:20:50 -07:00
Jason Volk
ded4ed507e modules/client/profile: Rewrite m::NOT_FOUND propagation for appropos response. 2018-04-02 22:12:25 -07:00
Jason Volk
7b38d216b4 ircd:Ⓜ️:v1: Fix user devices query and associated console cmd. 2018-04-02 18:40:52 -07:00
Jason Volk
7392469cad modules/console: Fix missing event_id argument option in fed state cmd. 2018-04-02 18:40:52 -07:00
Jason Volk
37ab0ad00d modules/console: Add fed command to get state ids. 2018-04-02 18:40:52 -07:00
Jason Volk
ebdb0896bb client: Checkin disable sending of read receipt for now. 2018-04-02 16:00:05 -07:00
Jason Volk
738eb0782e modules/m_room_member: Add preliminary type stub from hooks out of client/rooms/join. 2018-03-28 22:17:09 -07:00
Jason Volk
15b995cee8 modules/m_presence: Move presence committer/getter into client/presence. 2018-03-28 22:17:09 -07:00
Jason Volk
d48f46a0ac modules/m_typing: Move m.typing committer into client/rooms/typing. 2018-03-28 22:17:09 -07:00
Jason Volk
cbc4852e16 modules/m_receipt: Move m.receipt committer into client/ 2018-03-28 22:17:09 -07:00
Jason Volk
53d7e79c41 modules/m_room_create: Add preliminary type stub from the hooks out of client/createroom. 2018-03-28 22:17:09 -07:00
Jason Volk
46ef2231ab ircd:Ⓜ️ Add a vm::opts* to m:room as a vehicle for opts to eval. 2018-03-28 22:17:09 -07:00
Jason Volk
b938669ba3 modules/federation/send: Remove unnecessary exception handler here. 2018-03-28 18:12:34 -07:00
Jason Volk
16154a21df modules/console: Command to unload a loaded module; + report on reload. 2018-03-28 01:29:58 -07:00
Jason Volk
09f345c7b9 modules/console: Add fed groups console command. 2018-03-28 01:29:58 -07:00
Jason Volk
28c7494acb modules/federation: Add get_groups_publicised stub to shut it up. 2018-03-28 01:29:58 -07:00
Jason Volk
fc212e8399 modules/console: Command to load a module that isn't already loaded. 2018-03-28 00:13:32 -07:00
Jason Volk
98c9e199da modules/console: Add command to list deltas in a single txn by seqnum. 2018-03-27 21:44:01 -07:00
Jason Volk
ce715f62c7 modules/console: Add manual room join w/ injection placement event_id. 2018-03-27 21:44:01 -07:00
Jason Volk
ff1fe4284d ircd:Ⓜ️ Add central linkage for join by alias; move bootstrap to rooms/join. 2018-03-27 21:44:01 -07:00
Jason Volk
b49cdb84e8 modules/federation/sender: Synchronize with vm accept under shared lock. 2018-03-27 01:50:17 -07:00
Jason Volk
47edaed3a6 ircd::server: Add stats for total bytes up and down to peer and links. 2018-03-26 23:29:58 -07:00
Jason Volk
270120c922 ircd::server: Rename _total() to _size() for bytes accounting. 2018-03-26 23:29:58 -07:00
Jason Volk
275fe9d957 modules/client/rooms/read_markers: Handle room_id has read marker. 2018-03-26 23:29:58 -07:00
Jason Volk
80278462e3 modules/federation/sender: Remember how to use own synchronization primitives; fix origin call. 2018-03-26 23:29:57 -07:00
Jason Volk
32f99e75d9 modules/root: Disconnect the client for errors here for now. 2018-03-26 02:33:33 -07:00
Jason Volk
04b4a379bb modules/m_receipt: Checkpoint another level of the madness. 2018-03-26 02:23:20 -07:00
Jason Volk
16483aaea2 modules/console: Support alternative HTML output; start with 'net peer'. 2018-03-26 00:33:26 -07:00
Jason Volk
1ceaa73e5b modules/console: Extend arguments for options string. 2018-03-26 00:12:16 -07:00
Jason Volk
68382cb209 modules/console: Permute the output type again, now with custom wrapper. 2018-03-26 00:04:47 -07:00
Jason Volk
60a28ab5a8 modules/console: Eliminate output stream global; improve output related; various cleanup. 2018-03-25 23:40:35 -07:00
Jason Volk
e4194e3589 modules/console: Add room alias type to room id cmd. 2018-03-25 18:33:40 -07:00
Jason Volk
9830a4347b modules/s_control: Plug the console into the control room. 2018-03-25 18:12:17 -07:00
Jason Volk
f7458f5315 modules/console: Self-reflecting console command tree. 2018-03-25 17:59:07 -07:00
Jason Volk
154f7a9f59 modules/console: Command to raw erase event and rel metadata from db. 2018-03-24 23:29:46 -07:00
Jason Volk
907f2d0435 modules/console: Add net__peer__version to list all gathered peer.server_name. 2018-03-24 18:06:03 -07:00
Jason Volk
065370c38a configure.ac: parameter package. 2018-03-24 03:19:16 -07:00
Jason Volk
429095636f modules/console: Fed event cmd hashes and verifies w/ report. 2018-03-23 00:22:05 -07:00
Jason Volk
5d41b4e00b modules/console: Fix fed event remote argument. 2018-03-23 00:19:55 -07:00
Jason Volk
287b5d6374 modules/console: fed state command mimics fed backfill w/ eval. 2018-03-23 00:19:55 -07:00
Jason Volk
635e09c80e modules/console: Add cmd to iterate event_id txns from seq num w/ limit. 2018-03-22 22:27:12 -07:00
Jason Volk
fcbc2bf650 ircd::db: Add database checkpointing feature. 2018-03-22 20:08:50 -07:00
Jason Volk
faefd5dd64 modules/client/join: Add relevant user profile values to join event iov. 2018-03-22 16:28:43 -07:00
Jason Volk
7bfd050131 modules/client/profile: Various cleanup; use profile suite; urldecode key params. 2018-03-22 16:27:42 -07:00
Jason Volk
2116cf6254 ircd:Ⓜ️ Add user::profile suite w/ linkage to modules/client/profile. 2018-03-22 16:27:15 -07:00
Jason Volk
438762ff8e modules/s_control: Use HTML table for conf list. 2018-03-22 15:16:40 -07:00
Jason Volk
977ebd4e47 modules/console: Start a conf cmd; add direct list subcmd for now. 2018-03-22 14:44:54 -07:00
Jason Volk
9d69e5a405 modules: Export conf item get/set in s_conf; import for s_control interface. 2018-03-22 14:43:18 -07:00
Jason Volk
ce084a1df0 modules/client/root: Stream from aio -> chunked encoding -> you.
Next is the mmap() with ctx::wait for pf w/ mincore() ...
2018-03-22 00:49:54 -07:00
Jason Volk
1846dd379d modules/federation/sender: Consistent origin from node::id; fix curtxn assignment. 2018-03-21 17:12:49 -07:00
Jason Volk
d81291e367 modules: Fix various mapi header names. 2018-03-16 23:48:05 -07:00
Jason Volk
8eb1f4df40 ircd/modules: Consistent hook site names "vm notify" -> "vm.notify". 2018-03-16 21:42:22 -07:00
Jason Volk
bd29dec087 modules/client/rooms/read_markers: Condition on non-empty marker. 2018-03-16 12:47:39 -07:00
Jason Volk
67aaa00b63 modules/federation/sender: Determine a purge flow for errored nodes. 2018-03-15 22:25:16 -07:00
Jason Volk
a48426e25d ircd/modules: Migrate some log messages to new facilities. 2018-03-15 22:25:16 -07:00
Jason Volk
be6a5b7767 modules/m_receipt: Add committer w/ central linkage; read_markers. 2018-03-14 22:53:34 -07:00
Jason Volk
f11c98db34 modules: Add m.receipt; edu handler stack frames. 2018-03-14 21:30:10 -07:00
Jason Volk
ffafb70511 modules/federation/sender: Recv timeout worker only calls cancel, not erase. 2018-03-14 18:09:01 -07:00
Jason Volk
368c803575 modules/client/rooms/typing: Implement typing handler and timeout for our client. 2018-03-14 17:47:59 -07:00
Jason Volk
bda7836ebe ircd:Ⓜ️ Move typing commitment to modules/m_typing; central interface/linkage. 2018-03-14 17:47:59 -07:00
Jason Volk
56b23af467 modules/federation/sender: Unified EDU/PDU path when room_id is available. 2018-03-14 16:26:16 -07:00
Jason Volk
02b6df94f4 modules/federation/sender: Query ircd::server for peer error before new node creation. 2018-03-14 16:26:16 -07:00
Jason Volk
67b2f13c64 modules/client/rooms/typing: Add the typing commitment here for now. 2018-03-14 16:26:16 -07:00
Jason Volk
5a933ee713 modules/federation: Checkpoint preliminary sender. 2018-03-14 16:26:16 -07:00
Jason Volk
dea86cd26e modules/client/profile: Simplify content access; fix unquoting. 2018-03-12 16:12:39 -07:00
Jason Volk
09923ff758 ircd::server: Add external interface to clear a peer error; w/ console command. 2018-03-12 14:20:39 -07:00
Jason Volk
f0b5656fda ircd:Ⓜ️ Push user creation out to module. 2018-03-11 13:40:24 -07:00
Jason Volk
e2569b4cb6 ircd: Disambiguate the litany of response argument variations. 2018-03-09 17:10:45 -08:00
Jason Volk
e123cfb395 modules/console: Add various throwing timeouts. 2018-03-09 17:10:45 -08:00
Jason Volk
b284f707e5 ircd:Ⓜ️:v1: Support query for client_keys; add console command. 2018-03-09 17:10:45 -08:00
Jason Volk
9b6ef1189b ircd:Ⓜ️:v1: Support query for user_devices; add console command. 2018-03-09 17:10:45 -08:00
Jason Volk
08fc944021 ircd:Ⓜ️ Tweak specifics of user/account creation/activation related. 2018-03-09 17:10:45 -08:00
Jason Volk
9fa98055ff modules/federation/get_missing_events: Implement get_missing_events handler. 2018-03-08 21:27:32 -08:00
Jason Volk
003544edad modules/console: Add fed backfill command. 2018-03-08 19:11:47 -08:00
Jason Volk
14a41e9f58 modules/client/join: Checkpoint preliminary bootstrapper. 2018-03-08 16:34:38 -08:00
Jason Volk
84e37b9635 modules/client/account: Fix user account activation related. 2018-03-08 16:29:51 -08:00
Jason Volk
e53582d749 modules/media: Checkpoint preliminary file room concept. 2018-03-08 12:38:02 -08:00
Jason Volk
be2a7007fa ircd:Ⓜ️ Add exists(room_alias) with option for remote query; translate not_found exception. 2018-03-08 11:39:37 -08:00
Jason Volk
51fe770d74 modules: Add m_typing eval stub. 2018-03-08 10:08:38 -08:00
Jason Volk
8d053c9aba modules/m_presence: Add m.presence evaluator. 2018-03-07 13:28:15 -08:00
Jason Volk
901a77266e ircd:Ⓜ️:vm: Massage edus through the core eval path; rename inserted to accept. 2018-03-07 13:28:15 -08:00
Jason Volk
90528245de modules/s_conf: Update conf items from !conf state values on startup. 2018-03-06 11:57:57 -08:00
Jason Volk
143c867ad8 modules: Rename s_console back to console so it's not mapped by ircd:Ⓜ️:modules. 2018-03-06 07:50:14 -08:00
Jason Volk
1a65c1ed47 modules/console: Add fed head command. 2018-03-06 07:50:14 -08:00
Jason Volk
191c9db5c0 modules/console: Add command to get the hashed room id of entity. 2018-03-06 00:24:32 -08:00
Jason Volk
c864a6b446 ircd:Ⓜ️ Move keys related into modules/key; keys into node's room; remaining keys.cc into m.cc. 2018-03-06 00:10:36 -08:00
Jason Volk
71a46f5dc7 modules/key/server: Checkpoint what's here; also reactivate the seeded test. 2018-03-05 23:47:23 -08:00
Jason Volk
63614107f8 ircd:Ⓜ️ Introduce the node and the node::room. 2018-03-05 23:47:23 -08:00
Jason Volk
327e4da356 ircd::server: Rename node to peer. 2018-03-05 06:59:10 -08:00
Jason Volk
76e16927c7 ircd:Ⓜ️ Move user activation definition into client/accounts near is_active(). 2018-03-05 05:24:45 -08:00
Jason Volk
ec0d151827 ircd:Ⓜ️ Move user::password related to modules/client/account/password. 2018-03-05 05:24:45 -08:00
Jason Volk
1723a48e89 ircd:Ⓜ️ Move user::is_active() to modules/client/account. 2018-03-05 05:24:45 -08:00
Jason Volk
f8dc84d46e ircd:Ⓜ️ Modularize the user::activate/user::deactivate definitions. 2018-03-05 05:24:45 -08:00
Jason Volk
01ce9a3d6f ircd:Ⓜ️ Move spec tuples into headers. 2018-03-05 05:24:45 -08:00
Jason Volk
2dc94d7adc modules: Move js modules into js/ 2018-03-05 05:24:45 -08:00
Jason Volk
5c1cb57e9c modules: Reorg conf/console related; add s_control. 2018-03-05 05:24:45 -08:00
Jason Volk
69b0acde63 ircd:Ⓜ️ Preliminary reorg around experimental presence interface. 2018-03-04 08:57:02 -08:00
Jason Volk
5a1d0a9f45 modules/client/register: Fix bug. 2018-03-04 08:57:02 -08:00
Jason Volk
9db8b9d6a5 modules/console: Add 'net node'; default list the nodes. 2018-03-03 10:17:05 -08:00
Jason Volk
69df7add10 modules/console: Add command to iterate the room::origins sequence. 2018-03-03 04:06:49 -08:00
Jason Volk
90e3b90775 ircd:Ⓜ️ Hook ctor rewrites local m::id's with my_host(); update affected hooks. 2018-03-03 04:06:49 -08:00
Jason Volk
389af728c4 modules/client/register: Add preliminary first_user_registered hook. 2018-03-03 01:00:33 -08:00
Jason Volk
6333003aad ircd:Ⓜ️ Move user::activate() out to modules/client/register. 2018-03-03 00:51:27 -08:00
Jason Volk
1736a47068 modules/conf: Improve dump to use formatted HTML; improve hook related. 2018-03-02 23:22:52 -08:00
Jason Volk
150543ae91 ircd:Ⓜ️ Add linkage for user::presence;
modules/client/presence: reorg for linkage; minor cleanup.
2018-03-02 08:02:21 -08:00
Jason Volk
e8fd7eebe0 modules/conf: Introduce the !conf room and the !control interface. 2018-03-02 08:02:21 -08:00
Jason Volk
6dbb1864dd modules/client/rooms/initialsync: Default on the membership check for unauth'ed user. 2018-03-02 08:02:21 -08:00
Jason Volk
51a3e0f33b modules/federation/event: Update event fetch method. 2018-03-02 08:02:20 -08:00
Jason Volk
baa7a80b68 ircd: Various fixes; bump default db LRU cache sizes. 2018-03-02 08:02:20 -08:00
Jason Volk
8dee5dd81e modules/media: Move GIL headers; Update README. 2018-03-02 08:02:20 -08:00
Jason Volk
4c89d17e68 modules/client/publicrooms: Use better hook for creating the public rooms room. 2018-03-02 08:02:20 -08:00
Jason Volk
15ec746fc6 modules/console: Add console command suite to view DNS caches. 2018-03-02 08:02:20 -08:00
Jason Volk
b0730143d1 modules/client/directory/room: Use more exact range on cache response. 2018-03-01 04:47:14 -08:00
Jason Volk
f7a4f5c939 modules/client/rooms/initialsync: Checkpoint what's here for now. 2018-02-28 21:25:25 -08:00
Jason Volk
59cad48ce5 modules/client/directory/room: Add TTL/expiration to cached entries. 2018-02-28 20:53:05 -08:00
Jason Volk
c27e911d26 modules/client/directory/room: Create and use the !alias room to cache room alias queries. 2018-02-28 20:52:58 -08:00
Jason Volk
b90d3a9447 modules/client/profile: Throw out here instead. 2018-02-27 02:44:32 -08:00
Jason Volk
aecbf3ebd0 modules/console: Checkin the room state type count command. 2018-02-27 02:36:08 -08:00
Jason Volk
6f6234fd38 modules/media/thumbnail: Various fixes: use dynamic content; use diff endpoint; throw errors. 2018-02-27 01:42:25 -08:00
Jason Volk
b555e3f446 ircd:Ⓜ️:v1/modules/console: Checkpoint changes to buffers and opts for requests.
Issues:
- The move requirement here for opts is ugly without a better ctor.
- The ad hoc buffer reassignments in m::v1 need to be improved.
2018-02-26 22:02:47 -08:00
Jason Volk
071488d96e modules/client/join: Forward alias join to room_id join; comment. 2018-02-26 20:59:33 -08:00
Jason Volk
3cc3f6da3d modules/media/upload: Checkpoint rename to hash fwiw. 2018-02-26 20:51:42 -08:00
Jason Volk
5c5a5d3c83 modules/media/download: Add the deprecated /v1/ url handler for Riot. 2018-02-26 05:42:46 -08:00
Jason Volk
e67ce2b43e ircd:Ⓜ️ Add room_alias -> room_id outsourcing; plug in modules/client/join. 2018-02-26 04:55:27 -08:00
Jason Volk
e594063e0c modules/client/join: Determine and route room_id_or_sigil appropriately. 2018-02-26 04:32:25 -08:00
Jason Volk
10eb0b3216 modules/media: 11.7.1.4 Thumbnail; remote fetch. 2018-02-26 04:16:51 -08:00
Jason Volk
8f9a4aad7d modules/client/createroom: Add json::tuple of all spec params to parse request. 2018-02-26 01:40:41 -08:00
Jason Volk
e7b6f4bac6 ircd:Ⓜ️ Add vm_notify hook::site; add hook to create public rooms room. 2018-02-26 01:40:41 -08:00
Jason Volk
da8ef9e08e modules/client/events: Update/fix this stub for room previews. 2018-02-25 04:19:37 -08:00
Jason Volk
3d016b9e04 modules/client/rooms: Stub initialSync handler for room previews in Riot. 2018-02-25 04:19:37 -08:00
Jason Volk
c41a3dc25c ircd:Ⓜ️:v1: Add overloads to derive query remote from mxids. 2018-02-25 02:05:43 -08:00
Jason Volk
8c24d590a4 modules/client/profile: Plug in remote user profile query; minor reorg. 2018-02-25 00:38:42 -08:00
Jason Volk
979f585688 modules/client/directory: Plug v1::query::directory into GET directory/room 2018-02-25 00:30:45 -08:00
Jason Volk
42fcdf392e modules/console: Checkpoint additional fed commands. 2018-02-24 23:54:56 -08:00
Jason Volk
bc7efd8bff modules/client: Stub publicised_groups endpoint. 2018-02-24 01:14:26 -08:00
Jason Volk
9d1d0c84a9 modules/client/rooms/messages: Implement pagination tokens. 2018-02-24 01:14:26 -08:00
Jason Volk
6385759769 modules/client/directory/user: Implement user directory result query. 2018-02-23 23:35:09 -08:00