0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-16 05:28:54 +02:00
Commit graph

1703 commits

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