0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-08 19:48:36 +02:00
Commit graph

1848 commits

Author SHA1 Message Date
Jason Volk f2cfa87d49 modules/console: Improve db files output. 2018-09-21 15:09:51 -07:00
Jason Volk 7834c86360 ircd::db: Add support for direct SST file ingestion. 2018-09-21 15:08:57 -07:00
Jason Volk ae36485d13 ircd::db: Add back the target level to range compact. 2018-09-20 23:30:51 -07:00
Jason Volk 9fb0daa69b modules/console: Update/improve db files cmd. 2018-09-20 23:30:50 -07:00
Jason Volk 65882b7afb modules/console: Fix and improve db compact cmd. 2018-09-19 17:16:08 -07:00
Jason Volk 53651ad808 ircd::db: Move database::descriptor out to db::descriptor. 2018-09-19 15:38:37 -07:00
Jason Volk 6a06f2c89e modules/console: More resource information. 2018-09-18 04:26:59 -07:00
Jason Volk 811e9cc95c modules/console: Use client::terminate() now in client clear cmd. 2018-09-18 00:49:36 -07:00
Jason Volk 4660619f4a modules/media/media: Disable bloom; ircd:Ⓜ️:dbs: Disable state_node bloom. 2018-09-17 23:51:55 -07:00
Jason Volk 28df7cc529 modules/media: Increase the block size for media db. 2018-09-17 21:45:32 -07:00
Jason Volk 225d030145 modules/m_typing: Minor cleanup. 2018-09-17 08:09:15 -07:00
Jason Volk c580d42da2 modules/console: Add a date cmd. 2018-09-16 21:38:34 -07:00
Jason Volk 92e169bf58 modules/m_typing: Check if user in apropos room. 2018-09-16 21:28:46 -07:00
Jason Volk 801a88c100 modules/m_typing: Involve remote servers in the typing state for timeouts. 2018-09-16 21:28:45 -07:00
Jason Volk b589ff733f modules/m_typing: Add comments to explain the eval flow. 2018-09-16 20:55:12 -07:00
Jason Volk 3188b03943 ircd:Ⓜ️:typing: Add an iteration of typist state w/ console cmd. 2018-09-16 20:55:12 -07:00
Jason Volk c5e066d078 modules/console: Add uptime cmd. 2018-09-16 20:55:12 -07:00
Jason Volk 46cb5aee41 modules/m_typing: Move non-handler related from client/rooms/typing. 2018-09-16 20:55:12 -07:00
Jason Volk 17e137f52a modules/client/sync: Ensure indexes are a < b. 2018-09-15 19:32:16 -07:00
Jason Volk a13fa1936c Merge branch 'leave-cmd' of https://github.com/mujx/construct 2018-09-15 06:53:26 -07:00
Jason Volk 114bbdb7d0 modules/media/media: Add conf items for enabling caches. 2018-09-15 06:41:34 -07:00
Konstantinos Sideris 2915830f0e Simplify leave command 2018-09-15 14:02:06 +03:00
Jason Volk 5b9a6efc54 modules/console: Add cmd to explore posix env vars. 2018-09-15 03:27:26 -07:00
Jason Volk 1711df33a9 ircd::conf: Use util::callbacks here. 2018-09-15 00:38:45 -07:00
Jason Volk fe26b5e0c0 modules: thread_local mods::import cannot be used or the module gets stuck. 2018-09-14 07:44:44 -07:00
Jason Volk 1dc83d7801 modules/m_user: Search the formatted_body for a user mxid first. 2018-09-14 07:34:05 -07:00
Jason Volk 7b267e1c6d modules/m_room: Fix counting semantic. 2018-09-14 07:34:05 -07:00
Jason Volk a7dbc8e882 modules/client/sync: Add highlight count to sync; reintegrate notification count. 2018-09-14 07:34:05 -07:00
Jason Volk b1cd9edcd2 modules/m_user: Additional derived tools for linear highlight counting. 2018-09-14 07:30:47 -07:00
Jason Volk 5daa57d447 modules/m_user: Add a brute linear highlight counter for user in room. 2018-09-14 07:30:47 -07:00
Jason Volk 6a646f1ba4 modules: Start an m_user module; add preliminary message highlight test. 2018-09-14 05:17:16 -07:00
Jason Volk eab8b87970 modules/console: Remove unnecessary output of the srv_key. 2018-09-14 00:50:14 -07:00
Jason Volk 10981b3529 modules/README: Remove stale information from the modules README. 2018-09-13 23:59:15 -07:00
Jason Volk c4c40ac2e7 modules/console: Add primitive resource cmd for listing registered resources. 2018-09-13 22:23:28 -07:00
Jason Volk e1230f79ff Move modules/static to share/. 2018-09-13 21:17:08 -07:00
Jason Volk 1768cd1041 modules/console: Add net host cache SRV cmd to clear cache entry(s). 2018-09-13 19:49:25 -07:00
Jason Volk 8317773df0 modules/console: Add net host cache A clear cmd to drop a cache entry(s). 2018-09-13 19:49:25 -07:00
Jason Volk 9232319f0c modules/vm: Add eval argument to various hooks; tweak eval struct. 2018-09-13 19:49:25 -07:00
Jason Volk 88c2a22a30 modules/vm: Move some fetch related to vm_fetch; reorg write commitment. 2018-09-13 19:49:25 -07:00
Jason Volk d97a5ac571 ircd:Ⓜ️:vm: Remove the vm::phase; create fetch_hook. 2018-09-13 18:30:40 -07:00
Jason Volk 11948e47ac ircd: Move m::import to mods::import where it is more appropriate. 2018-09-13 18:19:27 -07:00
Jason Volk 52b39f7d2b modules/console: Support directly entering a room alias at the console. 2018-09-13 08:18:31 -07:00
Jason Volk 1562e5533a modules/console: Make room top output more useful. 2018-09-13 08:14:45 -07:00
Jason Volk 6c629d3d89 modules: Fix various m::edu related improper typecasts. 2018-09-13 06:39:04 -07:00
Jason Volk 2eb55ea3a4 modules/client/sync: Hack patch for longpoll/linear sync events routing to the proper rooms.membership structure. 2018-09-13 02:05:16 -07:00
Jason Volk d3766ee0e5 ircd:Ⓜ️ Add room federate query w/ console indicator. 2018-09-12 23:31:32 -07:00
Jason Volk 2ae2bb0eef ircd:Ⓜ️ Add room version query w/ console cmd. 2018-09-12 23:26:15 -07:00
Jason Volk 0695584d2c modules/client/sync: Support notification_count. 2018-09-12 22:32:00 -07:00
Jason Volk 5c879bd380 ircd:Ⓜ️🧾 Start central interface to get receipt information. 2018-09-12 22:32:00 -07:00
Jason Volk f4831c863a modules/m_room: Add interface to count events in a room between two arguments. 2018-09-12 22:32:00 -07:00
Konstantinos Sideris f18aa9fcf7 console: Add leave command for room aliases 2018-09-12 19:54:09 +03:00
Jason Volk 7dd0d3b522 modules/s_control: Revert paranoia. 2018-09-06 23:44:18 -07:00
Jason Volk f24d51c38d modules/client/sync: The structure sent from a longpoll has no need for a state, only timeline. 2018-09-06 23:08:20 -07:00
Jason Volk faf714335c modules/federation/send: Only accept edu's directly from the transmitter. 2018-09-06 06:00:21 -07:00
Jason Volk ee8165dfd4 modules/federation/invite: Enable. 2018-09-05 21:23:50 -07:00
Jason Volk 85aef85f61 ircd:Ⓜ️:vm: Support client unsigned.transaction_id. 2018-09-05 20:16:01 -07:00
Jason Volk 6858ea2bb1 ircd:Ⓜ️:vm: Add commitopts (copts) to vm::accepted structure. 2018-09-05 19:43:09 -07:00
Jason Volk f245fc74c0 modules/console: Add per-cache stats in output to help with churn. 2018-09-05 03:35:35 -07:00
Jason Volk bec1006ba7 modules/media/media: Check for column init for any conf update. 2018-09-05 00:07:49 -07:00
Jason Volk 6f3c7b6f56 modules/media: Fix init ordering and decls. 2018-09-05 00:01:39 -07:00
Jason Volk 11e14bbb37 modules/federation/send: Check for self-sends here. 2018-09-04 23:42:46 -07:00
Jason Volk bfa4d704cc modules/console: No verify on these cmds because they're debug and
perspectives complicates that and defeats the purpose.
2018-09-04 23:28:31 -07:00
Jason Volk 7e6107e0f5 modules/vm: Checkpoint vm fwiw. 2018-09-04 23:28:01 -07:00
Jason Volk 6dc3f4044a modules: Checkpoint vm_fetch fwiw (disabled from active eval codepaths). 2018-09-04 23:27:01 -07:00
Jason Volk 4251a55e53 modules/console: Update event_fetch to use vm fetcher (commit out of order) 2018-09-04 23:25:09 -07:00
Jason Volk 893b633578 modules/console: Add room messages cmd. 2018-09-04 23:24:56 -07:00
Jason Volk 486a40fc39 modules/console: Checkpoint additional key get cmd branch. 2018-09-04 23:22:09 -07:00
Jason Volk 5963786ebf modules/console: Checkpoint the db column drop cmd (incomplete). 2018-09-04 23:21:26 -07:00
Jason Volk 2e96d6fe3b modules/client/rooms/join: Add conf items for bootstrap timeouts. 2018-09-04 23:19:26 -07:00
Jason Volk 58d9bd7ca1 modules/client/rooms/initial_sync: Remove this trash and stub again. 2018-09-04 23:15:37 -07:00
Jason Volk e1b6ff3838 modules/m_presence: Canonize the user_id mismatch check. 2018-09-04 23:05:05 -07:00
Jason Volk a6b4bc976f modules/federation/sender: Checkpoint this until vm notify is fixed. 2018-09-04 22:50:23 -07:00
Jason Volk bc01919298 modules/federation/send: Increase this value for now for spinapps. 2018-09-04 22:49:38 -07:00
Jason Volk 4f2e1a4acd modules: Reduce various chunked json buffer mgmt boilerplates. 2018-09-04 22:48:23 -07:00
Jason Volk 660bfcc03f modules/client/publicrooms: Implement queries for POST version. 2018-09-04 22:41:53 -07:00
Jason Volk c7f211bb18 modules/client/publicrooms: Update stub; restructure POST w/ chunked json. 2018-09-04 22:15:05 -07:00
Jason Volk d4a3b3c91d modules/client/directory/room: Add conf items for alias related. 2018-09-04 21:12:47 -07:00
Jason Volk 84334ef4b4 modules/media/media: Demote mime type mismatch warning to dwarning. 2018-09-04 20:34:50 -07:00
Jason Volk 499e725e73 modules/media/media: Add conf item for download timeout. 2018-09-04 20:34:10 -07:00
Jason Volk 1edab7bb15 modules/media/media: Make conf items for blocks cache size. 2018-09-04 20:33:22 -07:00
Jason Volk d3a8a57295 modules/media/thumbnail: Checkpoint disabling this header for now. 2018-09-04 20:28:07 -07:00
Jason Volk a818610e32 modules/media/upload: Fix content buffer offset. 2018-09-04 20:27:30 -07:00
Jason Volk a806b2d60b modules/m_event: Add modules; move pretty() suite out of ircd:Ⓜ️:. 2018-09-04 20:27:30 -07:00
Jason Volk 67d202a5e4 modules/console: Fix matching condition. 2018-09-04 01:00:04 -07:00
Jason Volk 915bdaa0ee modules/s_control: Otherwise bad things. 2018-09-03 05:05:57 -07:00
Jason Volk 8d62407907 modules/webroot: Make webroot path a conf item. 2018-09-03 04:45:07 -07:00
Jason Volk 21a12cbff1 modules/s_conf: Set the ircd::conf callback and handle. 2018-09-03 04:45:07 -07:00
Jason Volk 63c3dbaaac modules/console: Improve db cache cmd output. 2018-09-03 03:53:36 -07:00
Jason Volk 6311739917 modules/console: Fix table alignment. 2018-09-03 03:48:45 -07:00
Jason Volk f4607904d2 modules/client/rooms/context: Optimize queries with fetch options. 2018-09-03 02:35:11 -07:00
Jason Volk 455ba69b76 modules/client/rooms/context: Visibility check on the state events. 2018-09-03 02:24:22 -07:00
Jason Volk f8fae6ed91 modules/s_conf: Suppress error log msgs at certain times. 2018-09-02 21:57:30 -07:00
Jason Volk 48436fc399 modules/s_conf: Save unseen conf item events after runlevel RUN. 2018-09-02 21:57:30 -07:00
Jason Volk 94a2fdacb5 modules/s_conf: Improve rehashing interface; adjust console cmds. 2018-09-02 21:57:30 -07:00
Jason Volk b30a637dfa modules/console: Add cmds to count peers and DNS cache entries. 2018-09-02 19:24:20 -07:00
Jason Volk 26ed7c2770 ircd::client: Move client make_shared into ircd/client.cc due to SO issues. 2018-09-01 22:35:01 -07:00
Jason Volk 03c353599c modules/s_listen: Clear listeners before static destruction. 2018-09-01 22:23:08 -07:00
Jason Volk 739028eeb5 modules/console: Fix prefix matching in help cmd. 2018-09-01 22:21:42 -07:00
Jason Volk 168b82a972 ircd::client: Improve the acceptance pattern; condition on conf limits. 2018-09-01 22:21:42 -07:00
Jason Volk 8a0749b232 modules/console: Use db::has() rather than db::fetch() for cache prefetching. 2018-09-01 21:16:25 -07:00
Jason Volk f38aadc35b modules/console: Sort clients by id for listing. 2018-09-01 21:16:05 -07:00
Jason Volk 1cedbd7b06 ircd::client: Convert client instance_list to instance_multimap. 2018-09-01 21:05:45 -07:00
Jason Volk 3be110d6ca modules/client/sync: Add prefetching for some polylog sync iterations. 2018-09-01 07:15:03 -07:00
Jason Volk 13c9e5bf6f ircd::client: Add interface to respawn contexts after a terminate w/ console cmd. 2018-09-01 07:15:02 -07:00
Jason Volk 96363a527d modules/client/sync: Simplify stack arguments; addl cleanup. 2018-09-01 07:15:02 -07:00
Jason Volk fce5be0317 modules/console: Fix alignment. 2018-09-01 01:02:57 -07:00
Jason Volk 4819112f54 modules/client/sync: Checkpoint preliminary sync reorg. 2018-09-01 00:51:40 -07:00
Jason Volk ce245cb116 modules/console: Increase this buffer because it's halved for two requests. 2018-08-30 19:36:36 -07:00
Jason Volk 5d82889eae modules/console: Add client clear cmd. 2018-08-30 19:29:47 -07:00
Jason Volk 16f6433230 modules/console: Add net listen load and unload cmds. 2018-08-30 19:25:36 -07:00
Jason Volk 560a5eda44 modules/console: Default empty string for tmp_dh_path param to net listen cmd. 2018-08-30 19:23:50 -07:00
Jason Volk f580cb37d3 modules/s_listen: Add existence checks; improve extern interface. 2018-08-30 19:23:33 -07:00
Jason Volk 871dcbd30c client: Fix alignment of sender name. 2018-08-29 20:43:27 -07:00
Jason Volk 55e161d77e client: Fix bad ref. 2018-08-29 20:43:27 -07:00
Jason Volk 4eef231a27 client: Use room.timeline.modified for rooms list sort for now. 2018-08-29 20:43:27 -07:00
Jason Volk 8cf79948d0 client: Replace unsigned.age sort with attempted depth sort. 2018-08-29 20:43:27 -07:00
Jason Volk 52b01b62dd modules/s_listen: Remove requirement for tmp-dh; handle missing file error. 2018-08-29 20:43:27 -07:00
Jason Volk 72f77b6d22 modules/s_keys: Disable dhparam generation here. 2018-08-29 16:17:25 -07:00
Jason Volk 39756df70f modules/console: Show listener options raw JSON. 2018-08-29 15:55:48 -07:00
Jason Volk c2ae61093a modules/media/media: Minor simplify. 2018-08-28 22:46:23 -07:00
Jason Volk 231c95f29e modules/console: Add the verify-keys regen for new crt cmd. 2018-08-28 16:01:47 -07:00
Jason Volk 60571aabf3 modules/m_receipt: No need to log the id of the receipt saved to user's room. 2018-08-28 15:59:52 -07:00
Jason Volk ed9d8d72ee modules/console: Move this branch to prevent any error'ing before it. 2018-08-28 15:59:08 -07:00
Jason Volk 958b176545 modules/s_keys: Better warning message for user. 2018-08-28 15:10:16 -07:00
Jason Volk 1ae8b8cc4a modules/s_keys: Auto-generate dhparams on key init. 2018-08-28 15:06:07 -07:00
Jason Volk c7ccf8dcc8 modules/s_keys: Fix linkage for create_my_key(). 2018-08-28 15:05:54 -07:00
Jason Volk 02d1cd1115 ircd:Ⓜ️ Add central linkage for m::feds::state. 2018-08-26 07:13:47 -07:00
Jason Volk 4cdec1bce6 modules/federation/federation: Renamespace m::feds to m::feds::v1. 2018-08-25 19:40:51 -07:00
Jason Volk bbdf21e11a modules/console: Add noparse option to fed event. 2018-08-25 14:56:10 -07:00
Jason Volk 170475f374 ircd:Ⓜ️ Add user::events iterator w/ console cmd. 2018-08-24 14:01:32 -07:00
Jason Volk 0f79ad7b08 ircd:Ⓜ️:room: Officiate random_origin w/ central linkage; use view closure. 2018-08-24 04:19:55 -07:00
Jason Volk c280c9cd36 modules/webroot: Fix fs::error propagation. 2018-08-23 04:18:48 -07:00
Jason Volk 6c71f43d1b modules/federation/get_missing_events: Update get_missing_events per spec; and chunked stream. 2018-08-22 21:01:22 -07:00
Jason Volk d7ca00c4a1 modules/console: Add peer error filter option for origins random cmd. 2018-08-22 18:10:39 -07:00
Jason Volk 18b591c298 modules/console: Add console cmd to get random origin. 2018-08-22 17:59:14 -07:00
Jason Volk 8f21451d68 modules/m_room: Add random_origin() function to select a random server. 2018-08-22 17:56:59 -07:00
Jason Volk 3278324db0 modules/federation/query: Respond to directory for room_alias. 2018-08-22 15:17:32 -07:00
Jason Volk 1552b56590 modules/m_room: Add preliminary purge(); add linkage to console cmd. 2018-08-22 11:58:45 -07:00
Jason Volk c1e135967a modules/console: Improve room__top cmd w/ more types. 2018-08-21 08:48:00 -07:00
Jason Volk 351a726ac5 modules/console: cmd to iterate through room state type-strings only. 2018-08-21 08:44:42 -07:00
Jason Volk 89afac86a2 modules/client/rooms/messages: Select default event keys for now. 2018-08-18 22:05:32 -07:00
Jason Volk 926a125303 modules/console: Improve/add db__cache subcmds. 2018-08-18 18:00:45 -07:00
Jason Volk ebd8539ce1 modules/s_listen: Minor cleanup. 2018-08-17 14:28:53 -07:00
Jason Volk 61fade178e ircd::m/modules/key: Various reorg / modularization. 2018-08-17 12:51:49 -07:00
Jason Volk 0f8282489d modules/key: Add directory README. 2018-08-17 12:51:49 -07:00
Jason Volk c4bae9dfa6 modules: Add directory README. 2018-08-17 12:51:49 -07:00
Jason Volk 14bbe13c45 modules/vm: Minor cleanup. 2018-08-17 12:51:48 -07:00
Jason Volk 5cd58caa48 modules/console: Add net listen cmd to add server listening sockets. 2018-08-17 12:51:48 -07:00
Jason Volk 4793545dc2 modules/s_listen: Improve various. 2018-08-17 12:51:48 -07:00
Jason Volk 9a08305bc4 ircd:Ⓜ️ Partial listen init / init related. 2018-08-14 20:09:20 -07:00