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

4416 commits

Author SHA1 Message Date
Jason Volk
f06be9ac8e modules/console: Add room text cmd. 2022-08-17 13:05:39 -07:00
Jason Volk
727749e9de ircd:Ⓜ️:room: Add interface to room messages. 2022-08-17 13:05:39 -07:00
Jason Volk
a8f942d3ee modules/m_command: Fix command and reply detection w/ proper room::message. 2022-08-16 21:20:32 -07:00
Jason Volk
fedf1e976a ircd:Ⓜ️:relates: Add interface around the rel_type for the relation ref type. 2022-08-16 13:43:00 -07:00
Jason Volk
7469c09130 modules/m_room_message: Stub media-specific effects hook. 2022-08-15 12:38:21 -07:00
Jason Volk
183e18dde5 modules/m_room_message: Use room::message tuple; rename info hook. 2022-08-14 17:27:32 -07:00
Jason Volk
479d22466e ircd:Ⓜ️:vm: Add starting timestamp to eval state w/ specific event eval timestamp.
modules/console: Add eval timestamps to output of vm cmd table.
2022-08-10 18:20:52 -07:00
Jason Volk
94d9444988 ircd:Ⓜ️ Add granular options for pretty_msgline(). 2022-08-10 18:20:52 -07:00
Jason Volk
0e7c12958a modules/console: Use room::type iteration basis for room messages cmd. 2022-08-10 18:20:52 -07:00
Jason Volk
e45dc31797 ircd:Ⓜ️:vm::eval: Use closure_bool for_each(); reduce direct instance_list iteration. 2022-08-05 17:57:19 -07:00
Jason Volk
651c5ea140 modules/console: Add event relates cmd for rel_type listing. 2022-08-05 15:07:33 -07:00
Jason Volk
8839f6d273 modules/console: Add gpt tldr cmd diagnostic. 2022-08-02 20:49:34 -07:00
Jason Volk
c33ddd278a ircd:Ⓜ️ Use proper character overload for optimal tokens(). 2022-08-02 13:18:58 -07:00
Jason Volk
5039b2df9c modules/m_command: Support typing notifications while command is processing. 2022-08-02 13:18:58 -07:00
Jason Volk
6dd7ed4730 modules/m_command: Support command input w/ reply-to argument context. 2022-08-02 13:18:58 -07:00
Jason Volk
3064b349dc modules/client/sync/rooms/timeline: Fix redundant private echo of public command. 2022-08-02 13:18:58 -07:00
Jason Volk
69dcd7acd9 ircd::mods: Eliminate RTLD_DEEPBIND by linking modules -Bsymbolic. 2022-07-27 16:22:42 -07:00
Jason Volk
5bafcce20a modules/web_hook: Improve alt-text for dockerhub shots. 2022-07-25 17:09:09 -07:00
Jason Volk
b1818c8cbb modules/console: Match expression for peer and peer count cmds. 2022-07-24 13:00:03 -07:00
Jason Volk
5600e28ebc modules/client/search: Add case key command; case-insensitive by default. 2022-07-21 18:28:57 -07:00
Jason Volk
96097045a1 modules/client/search: Abstract term keys iteration for separate feature functions. 2022-07-21 18:28:57 -07:00
Jason Volk
ba67c583a2 modules/console: Allow event_id argument to fetch content for text to label cmd. 2022-07-21 18:28:57 -07:00
Jason Volk
a3dadaf869 Merge branch 'rate_limited_resource_handlers' of https://github.com/kamathmanu/construct 2022-07-20 21:00:17 -07:00
Jason Volk
a3a64ace6a modules/console: Fix formatting of TTL in peer table. 2022-07-20 20:05:31 -07:00
Jason Volk
563d732028 modules/console: Improve db bytes cmd output. 2022-07-20 09:56:22 -07:00
Jason Volk
6548fa9c1e modules/console: Swap param order in db txns cmd. 2022-07-20 09:56:22 -07:00
Jason Volk
741c211848 configure: Add conditional flags for forced pch w/ clang. 2022-07-20 09:56:22 -07:00
Jason Volk
216a2b64cb Move -include arguments to preprocessor flags. 2022-07-20 09:56:22 -07:00
Jason Volk
d4bd109661 modules/media: Remove legacy resources.
modules/federation: Merge invite and invite2 units.

modules/federation: Redact send_join and rooms legacy resources.
2022-07-18 16:58:02 -07:00
Jason Volk
db75ca52c4 modules/client/rooms/messages: Relax limit value lex_cast prior to truncation. 2022-07-18 16:58:02 -07:00
Jason Volk
378b9b3acf ircd::resource: Replace resources map with instance_map. 2022-07-18 16:58:02 -07:00
Jason Volk
67d6a1da3d modules: Fix some resource handlers outside of m::. 2022-07-18 16:58:01 -07:00
Jason Volk
dc5dc6626b modules/console: Reduce some string literals to character constants. 2022-07-13 22:48:14 -07:00
Jason Volk
3d4f65260b modules/client/search: Implement non-standard override syntax. 2022-07-13 22:48:14 -07:00
Jason Volk
7ca36805be modules/client/search: Implement additional result filter features. 2022-07-13 22:48:14 -07:00
Jason Volk
ec55b9b30f ircd:Ⓜ️ Implement matrix-org/matrix-spec-proposals#3316 timestamp massaging. 2022-07-12 08:41:40 -07:00
Jason Volk
043b55afb7 modules/client/sync/rooms/account_data: Optimize w/ prefetch loop support. 2022-07-09 16:36:12 -07:00
Jason Volk
a06e75c13c modules/client/sync/rooms/account_data: Fix unhandled phase flag behavior. 2022-07-09 16:06:46 -07:00
Jason Volk
f158fedddb modules/client/sync/rooms/unread_notifications: Make this a phased polylog handler. 2022-07-09 16:06:46 -07:00
Jason Volk
9788ce9863 ircd:Ⓜ️:acquire: Add accumulators for acquires and fetches. 2022-07-08 23:24:06 -07:00
Jason Volk
f9f5d75ccd modules/console: Improve fetch cmd output fmt. 2022-07-08 23:24:06 -07:00
Jason Volk
4fcd808849 modules/console: Add heading to room acquire table. 2022-07-08 23:24:06 -07:00
Jason Volk
23bb936a44 modules/m_listen: Add crude whitelisting mechanism w/ conf item. 2022-07-07 16:47:55 -07:00
Jason Volk
46cae6f24b modules/m_room_member: Support knocking membership/auth_rules. 2022-07-04 22:25:18 -07:00
Jason Volk
894a2ad679 modules/federation/event: Minor modernizations; fix typos. 2022-07-04 22:25:18 -07:00
Jason Volk
ad4a207bdd modules/client/versions: Additional c2s versions. 2022-07-04 22:25:18 -07:00
Jason Volk
4956716431 modules: Fix extra $EXTRA_CPPFLAGS. (related 110610f774) 2022-07-03 15:04:02 -07:00
Jason Volk
9768546c1e modules/client/capabilities: Additional room versions. 2022-07-02 18:59:58 -07:00
Jason Volk
eb10f235cf modules/federation: Implement GET /hierarchy. 2022-07-02 13:36:18 -07:00
Jason Volk
94a6cd0d90 ircd::db: Simplify options wrappings; eliminate bitflags. 2022-07-02 12:42:09 -07:00
Jason Volk
4e7f5af457 modules/client: Eliminate internal _append() kludge. 2022-07-01 22:45:34 -07:00
Jason Volk
c39876990d modules/client: Upgrade event::append::opts et al to designated init menus. 2022-07-01 22:21:10 -07:00
Jason Volk
091a6fed60 modules/console: Update gpt cmd suite. 2022-07-01 20:17:56 -07:00
Jason Volk
4cf3476e7b modules: Add ld.gold flags section; disable unique symbols. 2022-06-29 19:07:43 -07:00
Jason Volk
29b0523dfc ircd::ios: Consolidate notification interface for now; add atexit related. 2022-06-29 18:20:46 -07:00
Jason Volk
16db9197ad modules/web_hook: Fix annotation association with push event (regression 1abc66dccc). 2022-06-29 14:59:57 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
b677eeb4b7 Allow various unsigned conversions.
construct: Fix comparison signedness warning.
2022-06-29 14:21:36 -07:00
Jason Volk
899b2bbef5 Fix range loop construction related (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
08fce729c5 Fix redundant moves (gcc-11). 2022-06-29 13:26:01 -07:00
Jason Volk
a70359fb9b modules/client/sync/groups: Fix membership query on empty room_id. 2022-06-28 12:37:14 -07:00
Jason Volk
110610f774 ircd:Ⓜ️ Tweak symbol related linkflags for library.
Fix $EXTRA_ flags placement; improve Makefile formatting.
2022-06-24 21:31:05 -07:00
Jason Volk
1abc66dccc modules/web_hook: Improve github webhook alt-text for non-html clients. 2022-06-24 17:03:44 -07:00
Jason Volk
c56e16e20c modules/web_hook: Add util to extract github repository name/url. 2022-06-24 17:03:44 -07:00
Jason Volk
61d558fc9d ircd: Define all IRCD_USE_ as integers for constexprs. 2022-06-23 09:36:44 -07:00
Jason Volk
67d9bff870 modules/web_hook: Add dockerhub shot handler. 2022-06-21 22:31:55 -07:00
Jason Volk
99f1740289 Fixes for gcc (gnu++20) (gcc-12). 2022-06-20 18:24:55 -07:00
Jason Volk
9ffbd8be37 ircd:Ⓜ️:fed: Implement request-side for knock suite. 2022-06-19 20:27:13 -07:00
Jason Volk
da022616d9 ircd:Ⓜ️:fed: Implement request-side for MSC3030 w/ console cmd.
matrix-org/matrix-spec-proposals#3030
2022-06-19 20:27:13 -07:00
Jason Volk
3807a4d832 ircd:Ⓜ️:fed: Add hierarchy request w/ console cmd. 2022-06-19 20:27:13 -07:00
Jason Volk
b815ac8bec ircd::fs: Eliminate user-defined ctors on various opts for designated inits. 2022-06-19 20:27:13 -07:00
Jason Volk
211ea6ba55 ircd: Fixes for macro collision (gnu++20). 2022-06-19 20:14:23 -07:00
Jason Volk
ffa62d0f4c ircd::json: Remove redundant typedef; simplify.
ircd:Ⓜ️ Fix ambiguous (C++20).
2022-06-19 20:14:22 -07:00
Jason Volk
24fcc7b4bc modules/console: Lower trivial thread-locals. 2022-06-19 20:14:22 -07:00
Jason Volk
147ae27669 modules/media: Improve type and property schema. 2022-06-19 20:14:22 -07:00
Jason Volk
96587f2e6d modules/media: Eliminate blocks database; encode data into event content. (#139) 2022-06-19 20:14:22 -07:00
Jason Volk
472391d5d3 modules/client/rooms: Implement client 11.36.2 GET /hierarchy. 2022-06-19 19:55:02 -07:00
Jason Volk
8af912d6c0 modules/client/rooms: Add v1 url handler. 2022-06-19 12:39:35 -07:00
Jason Volk
07cc3a8f04 modules/console: Avoid reference to pointer of possibly internalized symbol. 2022-06-17 21:11:54 -07:00
Jason Volk
3d672ab9bc Rename common instance variables of window_buffer for clarity. 2022-06-17 21:11:53 -07:00
Jason Volk
d0a1d32488 ircd::db: Add SST scan interface w/ console suite. 2022-06-17 21:11:52 -07:00
Jason Volk
4499bb0f35 ircd::db: Deprecate forking sst::tool() iface; remove crashy console cmd. 2022-06-17 21:11:52 -07:00
Jason Volk
31431d32c5 ircd: Add utility to beep the pcspeaker. 2021-10-06 16:36:52 -07:00
Jason Volk
20162fd7d5 ircd::gpt: Splits and renames; various reorg. 2021-09-15 01:44:36 -07:00
Jason Volk
43a02bb598 modules/console: Add gpt tokenize diagnostic cmd. 2021-09-14 23:39:55 -07:00
Jason Volk
9f656b872a modules/web_hook: Remove various code tag blocks. 2021-08-08 09:47:02 -07:00
Jason Volk
8d443ebeb5 modules/web_hook: Handle issue comment. 2021-08-08 09:47:02 -07:00
Jason Volk
f8137c50d0 modules/console: Fix users cmd default condition. 2021-08-01 03:11:45 -07:00
Jason Volk
ef07d978d9 ircd:Ⓜ️:room::message: Add specific logging facility. 2021-05-11 20:56:09 -07:00
Jason Volk
d0c9a16770 ircd:🆑 Add interface for plat/dev info dump w/ console cmd. 2021-05-11 20:56:09 -07:00
Jason Volk
858479b6ab Move -include options from CPPFLAGS to CXXFLAGS. 2021-04-22 12:27:57 -07:00
Jason Volk
9c062d9c3f ircd::gpt::pipe: Correctness; compute loss, statistics; pipeline optimize. 2021-04-22 12:27:57 -07:00
Jason Volk
1870c364f4 ircd::gpt: Reorganize interface. 2021-04-22 12:27:57 -07:00
Jason Volk
5e52f6b97b modules/console: Add gpt suite. 2021-04-22 12:27:56 -07:00
Jason Volk
014d0281d7 ircd::math: Start supplemental library; move log2 constexprs from util. 2021-03-05 13:02:12 -08:00
Jason Volk
3d380d09a3 ircd:Ⓜ️ Fix various const reference range construction warnings in clang. 2021-02-26 14:52:33 -08:00
kamathmanu
229fcf6ef9 Ignore rate limiting for pushrules handler 2021-02-19 10:25:35 -05:00
kamathmanu
e2b7823f6d Added RATE_LIMITED flags for handlers 2021-02-19 09:44:27 -05:00
Jason Volk
6c1e9786b5 modules/m_pusher: Fix unread count limited to highlights. 2021-02-15 08:58:36 -08:00
Jason Volk
658c1c6d96 modules/client/sync/rooms/unread_notifications: Count from better marker. 2021-02-13 02:20:35 -08:00
Jason Volk
cf674fcdf7 modules/m_pusher: Count unread highlights instead of unread notifications. 2021-02-11 03:21:08 -08:00
Jason Volk
9417659367 modules/m_pusher: Expand unread counting to all rooms. 2021-02-10 23:38:44 -08:00
Jason Volk
f7293581ec modules/media/thumbnail: Skip animation check if it won't be thumbnailed anyway. 2021-02-09 23:09:55 -08:00
Jason Volk
fdcf12358a modules/key/query: Remove inert condition; always relay pubkey material. 2021-02-09 22:42:55 -08:00
Jason Volk
04389e7a16 modules/m_pusher: Add unread counts to content. 2021-02-09 21:34:03 -08:00
Jason Volk
6bafde3f1c modules/m_pusher: Add conditions for room_name/sender_display_name. 2021-02-09 08:18:28 -08:00
Jason Volk
f78a966833 modules/m_pusher: Fix forcing HTTPS service; use proper rfc3986::uri construction. 2021-02-08 17:56:09 -08:00
Jason Volk
a6061a447a modules/federation/invite: Disable emption checks on invite; fix regression. 2021-02-07 11:16:39 -08:00
Jason Volk
2a0fe40d80 modules/client/rooms/report: Use visible messages; add rich reply relation. 2021-02-05 23:39:17 -08:00
Jason Volk
7d713e19ab modules/client/rooms/report: Remove room creator hook cruft for now. 2021-02-05 23:33:16 -08:00
Jason Volk
2e5da32c7a ircd:Ⓜ️:bridge: Add thirdparty/protocol query. 2021-02-04 21:13:42 -08:00
Jason Volk
40eadfaa39 modules/client/rooms/receipt: Add conf item to elide eye-track; optimize query pattern. 2021-02-04 21:13:42 -08:00
Jason Volk
52ce2bdad8 modules/console: Add stack incore usage to ctx list output. 2021-02-04 21:13:42 -08:00
Jason Volk
7d7846c57a ircd:Ⓜ️:bridge: Refactor query interface; simplify. 2021-02-04 21:13:42 -08:00
Jason Volk
62046f9ab8 modules/m_bridge: Elide io on empty picker kernels. 2021-02-04 19:53:50 -08:00
Jason Volk
506d954fb3 modules/m_bridge: Add room alias match to picker. 2021-02-04 19:53:50 -08:00
Jason Volk
2498b7cd00 modules/m_listen: Add log notice for configured listeners. 2021-02-04 19:53:50 -08:00
Jason Volk
51dd6bfa05 modules/m_bridge: Add event picker; txn append. 2021-02-04 19:53:50 -08:00
Jason Volk
32bd0d7764 modules/m_bridge: Add initialization; worker spawn; cached error handling. 2021-02-04 19:53:50 -08:00
Jason Volk
207997ac95 ircd:Ⓜ️:bridge: Refactor config interface; remove central !bridge room related. 2021-02-03 18:01:15 -08:00
Jason Volk
16898ba19e modules/m_bridge: Add worker stack; push loop. 2021-02-02 07:54:26 -08:00
Jason Volk
5eb500e69f modules/client/rooms/state: Fix point query response content. 2021-02-02 07:54:26 -08:00
Jason Volk
e30ff075de modules/client/rooms/state: Use event::append for iteration. 2021-02-02 07:54:26 -08:00
Jason Volk
c388361041 modules/m_command: Fix reply to echo event. (related 75589a4794) 2021-02-02 07:54:26 -08:00
Jason Volk
f1f91d63de modules/client/versions: Add e2ee_forced versionic capabilities. 2021-01-30 19:20:55 -08:00
Jason Volk
5a7208729a ircd:Ⓜ️ Add format argument to pretty_msgline(); add text fmt w/ console arg. 2021-01-30 19:20:50 -08:00
Jason Volk
75589a4794 modules/m_command: Add relations on response message. 2021-01-30 19:20:40 -08:00
Jason Volk
3d1795630b modules/console: Additional argument for fully_read diagnostic. 2021-01-26 11:04:24 -08:00
Jason Volk
adb897a444 modules/console: Add argument for eye track diagnostic. 2021-01-26 09:24:03 -08:00
Jason Volk
2aea86eb29 modules/console: Improve information output in user read cmd. 2021-01-25 22:27:44 -08:00
Jason Volk
48f878ab95 modules/console: Add user read count cmd. 2021-01-25 05:01:15 -08:00
Jason Volk
fee73cf03e modules/console: Add room_id argument to user read cmd. 2021-01-25 05:01:15 -08:00
Jason Volk
e4969901a1 modules/client/rooms/send: Fix public echo of server-side command input. 2021-01-25 01:55:25 -08:00
Jason Volk
ec0dd70da1 modules/client/rooms/receipt: Set past m.read's to m.hidden but persist for eye attention. 2021-01-25 01:55:25 -08:00
Jason Volk
744744f88a ircd:Ⓜ️ Query range of messages user is presently engaged in reading. 2021-01-25 00:12:10 -08:00
Jason Volk
2d0a565ede ircd:Ⓜ️ Add viewing(user) for currently viewing room w/ console cmd. 2021-01-25 00:06:19 -08:00
Jason Volk
1d6325949d modules/media/thumbnail: Add bypass for animated PNG thumbnailing. 2021-01-21 22:08:32 -08:00
Jason Volk
485f412eed modules/federation/send: Open JSON top object on all reply branches. 2021-01-12 13:55:45 -08:00
Jason Volk
a49fa17c7e modules: Implement s2s unstable 22.3 m.signing_key_update handler. 2021-01-04 13:17:30 -08:00
Jason Volk
b26fe736a4 modules/client/keys/query: Respond w/ master/self/user signing keys. 2021-01-04 13:17:30 -08:00
Jason Volk
3db37a3a4d modules/federation/user_devices: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
e9239a4135 modules/federation/user_keys_query: Respond w/ master_keys/self_signing_keys. 2021-01-04 13:01:13 -08:00
Jason Volk
c852397a7d modules/client/keys/device_signing/upload: Implement c2s r0.6.1 13.11.2.3.2 POST. 2021-01-04 13:01:13 -08:00
Jason Volk
68fc738a3c modules/client/keys/changes: Implement c2s r0.6.1 13.11.5.2.4 keys/changes (changed half). 2021-01-04 08:47:21 -08:00
Jason Volk
a5ddaf0a41 modules/client/sync/rooms/state: Move hero scan count to conf item; dedup constant. 2021-01-04 02:46:48 -08:00
Jason Volk
668e265623 modules/client/keys/device_signing/upload: Add /r0/ handler in addition to /unstable/. 2021-01-04 02:31:41 -08:00
Jason Volk
882c1933fd modules/client/search: Add conf item to override limit parameter. 2021-01-04 02:31:41 -08:00
Jason Volk
544a3651ed modules/client/sync: Add ?pause query string; available to clients to effect 7ec8b78374. 2020-12-29 01:46:36 -08:00
Jason Volk
42b50d9e50 modules/client/sync/rooms/timeline: Add conditions to prevent some ops when discarding. 2020-12-29 01:45:45 -08:00
Jason Volk
562d2b83f2 modules/web_hook: Append emoji to tag create. 2020-12-29 00:42:57 -08:00