0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-06 00:35:34 +02:00
Commit graph

1742 commits

Author SHA1 Message Date
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
Jason Volk
c442954e12 ircd:Ⓜ️ Various init reorg related. 2018-08-14 16:47:42 -07:00
Jason Volk
19b4e58944 ircd:Ⓜ️ Rename modules map to imports. 2018-08-14 15:51:57 -07:00
Jason Volk
8fb580aaf5 configure/ircd: Overhaul install system directory related. 2018-08-12 16:30:51 -07:00
Jason Volk
dd037988f3 ircd::m/modules: Update various client listeners w/ callback. 2018-07-06 18:40:15 -07:00
Jason Volk
7f1dc09d52 modules/console: Add room members count cmd. 2018-07-05 15:59:51 -07:00
Jason Volk
918815a874 modules/console: Add db check cmd. 2018-07-05 15:59:26 -07:00
Jason Volk
ae5678269c ircd::js: Fixes for js bitrot / maintenance cleanup. 2018-07-03 15:44:44 -07:00
Jason Volk
8d5229d67d modules/client/sync: Add room account_data to polylog sync. 2018-06-19 21:52:08 -06:00
Jason Volk
7d4eb46a1a ircd:Ⓜ️ Interface/linkage to generate room account_data type string. 2018-06-19 21:47:26 -06:00
Jason Volk
6d81f355dc modules/client/user/rooms: Support room account data. 2018-06-19 21:32:29 -06:00
Jason Volk
15e44463c3 modules/client: Stub joined_groups to shutup Riot. 2018-06-17 21:34:03 -06:00
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