0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-08 09:45:41 +02:00
Commit graph

3835 commits

Author SHA1 Message Date
Jason Volk
a9214f796b modules/client/keys: Stub handler modules for device_signing/upload and signatures/upload. 2020-03-30 15:30:20 -07:00
Jason Volk
2e7962216b ircd:Ⓜ️:client_versions: Add support for e2e cross signing. 2020-03-30 14:03:53 -07:00
Jason Volk
9de467e15e ircd:Ⓜ️:client_version: Add support for label_based_filtering. 2020-03-30 14:03:53 -07:00
Jason Volk
39c55a8979 modules/client/devices: Remove the unstable path handlers. 2020-03-28 17:48:24 -07:00
Jason Volk
988cc896e1 modules/client/room_keys: Start room_keys/versions room_keys/keys handler stubs. 2020-03-28 17:10:32 -07:00
Jason Volk
6b8e25800c modules/client/devices: Fix device_id parameter position. 2020-03-28 16:43:10 -07:00
Jason Volk
b95f6e1af4 modules/m_vm_fetch: Fixes for exception propagation and reporting. 2020-03-28 12:17:12 -07:00
Jason Volk
02430413ef modules/client/pushrules: Insert rule_id to rule on upload rather than outputs. 2020-03-27 10:40:43 -07:00
Jason Volk
f20bdbceb8 modules/magick: Appease clang's reachability analysis here. 2020-03-27 09:34:43 -07:00
Jason Volk
fb59da6bbb modules/web_hook: Additional spacing adjustments related 7a0da02bf6. 2020-03-27 09:34:22 -07:00
Jason Volk
d9ceeb4e9d Merge branch 'master' of https://github.com/disobeyedtoast/charybdis 2020-03-26 19:46:32 -07:00
Jason Volk
7a0da02bf6 modules/web_hook: Tweak spacing on pull request. 2020-03-26 19:44:00 -07:00
disobeyedtoast
04ab35988b
Update magick.cc 2020-03-27 02:30:00 +00:00
Jason Volk
27324d42bc modules/client/sync/rooms/unread_notifications: Elide highlight counting when !notification_count. 2020-03-26 18:25:06 -07:00
Jason Volk
f6bef2770d modules/console: Fix room_id check on valid empty argument to user notifications cmd. 2020-03-26 17:20:06 -07:00
Jason Volk
a398a1f5c0 modules/client/pushrules: Fix erroneous type conversion for bool property. 2020-03-26 17:20:06 -07:00
Jason Volk
107cae9591 modules/client/sync/rooms/unread_notifications: Fix range options to counter. 2020-03-26 12:05:10 -07:00
Jason Volk
106dd18a86 modules/federation/send: Simplify error handling (related 3a696636df).
modules/federation/send: Preliminary setup for error transcription in response.
2020-03-26 12:05:10 -07:00
Jason Volk
6cc7ec3be8 modules/federation/send: Remove deprecated pdu_failures related. 2020-03-26 11:08:03 -07:00
Jason Volk
e92a7efb24 modules/m_receipt: Add back the creation call in the handler for now. 2020-03-25 18:34:29 -07:00
Jason Volk
a9885d4a45 modules/console: Require remote argument when event_id has no host. 2020-03-25 18:27:40 -07:00
Jason Volk
3a696636df modules/federation/send: Stop propagation and log EDU eval errors here. 2020-03-25 18:27:40 -07:00
Jason Volk
967c3109dc modules/client/notifications: Improve iteration finished condition; minor branch unexpect. 2020-03-24 18:09:37 -07:00
Jason Volk
00980b547e modules/console: Add prefix-option in room type cmd. 2020-03-24 17:53:22 -07:00
Jason Volk
5776549efe modules/console: Add more options to the user notifications cmd. 2020-03-24 17:45:48 -07:00
Jason Volk
a549878519 modules/client/sync/rooms/unread_notifications: Reimplement highlight counter w/ notifications. 2020-03-24 16:16:27 -07:00
Jason Volk
4c70d8ce08 ircd:Ⓜ️:user::notifications: Add room_id to opts; prefix keying strategy.
modules/m_push: Add room_id to type generation.
2020-03-24 14:56:30 -07:00
Jason Volk
31fd7e664f modules/console: Add room type cmd. 2020-03-24 14:14:39 -07:00
Jason Volk
70315e2459 modules/media/preview_url: Quash TODO for rfc3986 uri parsing. 2020-03-24 12:14:05 -07:00
Jason Volk
16e800974e modules/media/preview_url: Quash TODO for net::hostport service. 2020-03-24 09:57:45 -07:00
Jason Volk
6f17864cd7 modules/client/notifications: Implement r0.6.0-13.13.1.3.1 GET /notifications. 2020-03-23 18:47:07 -07:00
Jason Volk
932a9974b7 modules/m_push: Highlights to the user's room. 2020-03-23 18:28:39 -07:00
Jason Volk
d9658fcbf2 modules/client/rooms: Stub preliminary upgrade handler. 2020-03-23 13:47:43 -07:00
Jason Volk
ab4b31bc13 ircd:Ⓜ️:user::pushrules: Add event_idx of rule as argument to closures.
ircd:Ⓜ️:user::pushers: Add event_idx of rule as argument to closures.
2020-03-23 13:01:24 -07:00
Jason Volk
439de6fbe6 modules/client/sync: Fix erroneous assertion related f8ed27403e 2020-03-23 13:01:24 -07:00
Jason Volk
5ddb14884c modules/m_push: Cleanup/reorg the match and execute stack. 2020-03-22 22:21:28 -07:00
Jason Volk
41a3040084 modules/m_push: Propagate loop break after highest priority match and action. 2020-03-22 18:18:51 -07:00
Jason Volk
3b564f816a modules/m_push: 'Homeservers MUST NOT notify ... for events ... user has sent themselves.' 2020-03-22 18:18:51 -07:00
Jason Volk
b6ac0cb954 modules/m_push: Consistent log formats for rule paths. 2020-03-22 18:18:51 -07:00
Jason Volk
c2ef709c90 modules/m_push: Add argument for different scopes to rule handler. 2020-03-22 18:18:51 -07:00
Jason Volk
822b422dfe modules: Add preliminary event pushrule evaluation module. 2020-03-22 18:18:50 -07:00
Jason Volk
f8ed27403e modules/client/sync: Fix assertion condition. 2020-03-22 13:12:42 -07:00
Jason Volk
7b076e5bc9 modules/client/sync: Minor reorg. 2020-03-22 13:12:42 -07:00
Jason Volk
ed54618ca4 ircd:Ⓜ️:user: Start a user::notifications interface. 2020-03-21 20:49:54 -07:00
Jason Volk
31d04f7677 modules/console: Add user pushers cmd. 2020-03-21 20:49:54 -07:00
Jason Volk
2762361f03 modules/m_room_power_levels: Minor fix formatting/indentation. 2020-03-21 20:49:54 -07:00
Jason Volk
1a0d617803 modules/client: Implement Client r0.6.0-13.13.1 Pushers. 2020-03-21 11:35:40 -07:00
Jason Volk
925d15f7c0 modules/client/sync/rooms/ephemeral/receipt: Reverse order of receipts for R!ot. 2020-03-21 11:35:40 -07:00
Jason Volk
ebae05d1f3 modules/client/rooms/invite: Increase default timeout et. matrix.org 2020-03-20 14:08:31 -07:00
Jason Volk
43fdec3671 modules/console: Improve user pushrules cmd output. 2020-03-19 16:25:45 -07:00
Jason Volk
f8b99ad26e ircd:Ⓜ️:user: Remove pre-pushrules highlight counter. 2020-03-19 16:01:32 -07:00
Jason Volk
abfb106125 ircd: Rename globular classes to indicate case insensitivity. 2020-03-19 16:01:32 -07:00
Jason Volk
70e32d9292 modules/client/pushrules: Always return 200 on DELETE method for Riot. 2020-03-19 16:01:32 -07:00
Jason Volk
3741f7e7a5 modules/federation/send_join: Integrate /v2/send_join endpoint format. 2020-03-19 09:37:16 -07:00
Jason Volk
ea9ad1622a modules/client/pushrules: Ensure 'enabled' and 'default' from client is proper. 2020-03-18 19:47:18 -07:00
Jason Volk
7d9e992e0d modules/client/pushrules: Support the /actions paths on GET and PUT methods. 2020-03-18 16:57:59 -07:00
Jason Volk
927da1002e modules/client/pushrules: Support the /enabled paths on GET and PUT methods. 2020-03-18 16:48:57 -07:00
Jason Volk
0ee313efc4 modules/client/pushrules: Add handler functionalities; rename namespace. 2020-03-18 16:06:44 -07:00
Jason Volk
f897ebd134 modules/console: Add preliminary user pushrules cmd. 2020-03-18 16:06:44 -07:00
Jason Volk
42a8c30a40 modules/client/sync/account_data: Add linear and polylog sync support for m.push_rules 2020-03-18 16:06:44 -07:00
Jason Volk
da736eb438 modules/client/rooms/invite: Add conf item for remote operation timeout. 2020-03-17 12:01:16 -07:00
Jason Volk
90f628d560 modules/client/rooms/invite: Minor rename remote hook related. 2020-03-17 12:00:40 -07:00
Jason Volk
1bc9246e69 modules/client/rooms/invite: Apply unique bypass to eval; tweak infolog msgs; minor cleanup. 2020-03-17 11:48:22 -07:00
Jason Volk
0d0db66a52 modules/federation/make_leave: Improve error response message. 2020-03-17 08:57:49 -07:00
Jason Volk
cf9ecb2a22 modules/m_room_create: Condition to suppress variable level log msg. 2020-03-16 21:27:11 -07:00
Jason Volk
75327c19f9 modules/console: Improve SST file info table format; addl info; stack buffers. 2020-03-16 21:11:02 -07:00
Jason Volk
6e570bca16 modules/console: Sort SST files list by creation for output. 2020-03-16 19:23:35 -07:00
Jason Volk
4c2ea5c91c modules/web_hook: Add annotation on error state (for cancel). 2020-03-16 18:18:00 -07:00
Jason Volk
f66faaaf8d modules/client/pushrules: Additional handler stubs w/ params. 2020-03-16 17:32:44 -07:00
Jason Volk
006aa4f0e6 modules/console: Allow nil argument to specify target level for all key ranges. 2020-03-16 00:31:35 -07:00
Jason Volk
829516afde ircd::db: Add compaction priority option to descriptor.
ircd:Ⓜ️:dbs: Tune compaction priority algorithm.
2020-03-13 15:12:22 -07:00
Jason Volk
d136fd75f5 modules/media/download: Minor cleanup. 2020-03-13 15:01:07 -07:00
Jason Volk
0fb19b85ca ircd:Ⓜ️:media::file: Adjust download overloads; fix use of empty remote string in messages. 2020-03-13 14:52:08 -07:00
Jason Volk
cf37e364ce modules/console: Add net service console cmd. 2020-03-12 21:09:56 -07:00
Jason Volk
ffcbc87fdd ircd: Rename try_lex_cast to lex_castable. 2020-03-12 21:09:56 -07:00
Jason Volk
59ad4731ae modules/m_relation: Add hook to discover and fetch events from m_relates_to. 2020-03-10 23:03:14 -07:00
Jason Volk
14fffaeded modules/media/media: Fix unnecessary remote stringifies. 2020-03-10 22:14:40 -07:00
Jason Volk
8a769abe05 modules/web_hook: Improve riohtml formatting of PR's. 2020-03-10 08:45:05 -07:00
Jason Volk
bc2a05d563 modules/media/media: Increase default block cache size. 2020-03-09 18:47:13 -07:00
Jason Volk
fe70de48b4 modules/console: Disable additional state fetch from fed state cmd. 2020-03-09 18:47:13 -07:00
Jason Volk
3c87dc2677 modules/federation/query: Fix naked origin without service name. 2020-03-08 10:28:11 -07:00
Jason Volk
abdb7c0f51 ircd:Ⓜ️:media::file::download: Fix critical assertion on context switch. 2020-03-07 23:37:28 -08:00
Jason Volk
44f587714e ircd:Ⓜ️ Tweak various federation request buffer options; related e3e83a6423fd. 2020-03-07 22:02:14 -08:00
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk
55ffdddc6a ircd:Ⓜ️:fed: Refactor all interfaces using abstract request. 2020-03-07 21:33:44 -08:00
Jason Volk
c0a5a7a89e ircd:Ⓜ️ Simplify various interfaces using string rather than net::hostport remotes. 2020-03-07 17:17:46 -08:00
Jason Volk
a068981452 ircd:Ⓜ️:fed: Simplify and rename well known fetch function. 2020-03-07 14:55:50 -08:00
Jason Volk
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk
41a6fa4e37 modules/client/rooms/context: Move spec related comment to document variable. 2020-03-06 18:53:00 -08:00
Jason Volk
6ab71b8fdc ircd:Ⓜ️:fed: Add well-known request for server name resolution w/ console cmd. 2020-03-06 18:28:41 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
c44d732443 ircd:Ⓜ️ Rename v1/v2 namespace to fed. 2020-03-05 20:06:14 -08:00
Jason Volk
fddeb548a7 ircd::net::dns::resolve: Pass more information SRV key generator. 2020-03-05 14:18:57 -08:00
Jason Volk
ae8b2bc0f8 modules/console: Require hostport param for cmd. 2020-03-05 14:18:57 -08:00
Jason Volk
1bfbcabad9 modules/console: Improve peer request table output. 2020-03-04 11:41:51 -08:00
Jason Volk
df9b429344 ircd:Ⓜ️:vm::fetch: Add conf items to timeout event and state fetching. 2020-03-04 11:15:27 -08:00
Jason Volk
bf2219634a modules/federation: Rename sender.int.h to sender.h. 2020-03-04 11:15:27 -08:00
Jason Volk
f4679e1383 modules/console: Improve peer table output format. 2020-03-04 11:15:27 -08:00
Jason Volk
6e8995f49d ircd:Ⓜ️:vm::fetch: Disable auth fetch on auth chain eval here. 2020-03-03 21:38:46 -08:00
Jason Volk
0be0fe9e82 modules/federation: Fix conf item shared between invite and invite2. 2020-03-03 17:46:28 -08:00
Jason Volk
baadb3d44a modules/m_vm_fetch: Improve logging of state fetch. 2020-03-03 16:21:38 -08:00
Jason Volk
57546ae788 modules/m_vm_fetch: Fix room sounding gauge for state fetch condition. 2020-03-03 16:17:48 -08:00
Jason Volk
6a72671507 modules/federation/send: Add conf items for some pdu eval fetch vmopts. 2020-03-03 16:15:04 -08:00
Jason Volk
64b3edd591 modules/federation/send: Fix bool conf item default. 2020-03-03 16:14:47 -08:00
Jason Volk
5458025a5c modules/m_receipt: Eliminate branch to drop receipts for unknown user here. 2020-03-03 15:22:19 -08:00
Jason Volk
6a27637094 modules/m_room_aliases: Handle and log exception on alias changed effect hook. 2020-03-03 15:09:04 -08:00
Jason Volk
7f2eb104b6 ircd::net::acceptor: Refactor error and limit handling branches; fix reset. 2020-03-03 14:14:43 -08:00
Jason Volk
14b962a695 ircd:Ⓜ️:vm: Track evaluation hook phase. 2020-03-02 20:55:08 -08:00
Jason Volk
9f4bc6606e modules/console: Add depth to vm listing; adjust widths. 2020-03-02 19:51:22 -08:00
Jason Volk
cfc199d89e modules/console: Improve output formatting. 2020-03-02 18:34:46 -08:00
Jason Volk
f471093d3e ircd:Ⓜ️:user::rooms: Use _event_state to eliminate the ircd.member type. 2020-03-01 17:13:15 -08:00
Jason Volk
48a8af4252 modules/console: Disable prev fetch on manual feds state eval. 2020-03-01 16:37:29 -08:00
Jason Volk
8a9b06c67e modules/m_receipt: Fix missing prop_mask field.
modules/m_presence: Fix missing prop_mask field.
2020-03-01 13:37:08 -08:00
Jason Volk
9bf174d84b modules/client/rooms/send: Implement txnid check for idempotency of requests. 2020-03-01 12:21:49 -08:00
Jason Volk
cb0363f13c ircd:Ⓜ️:rooms: Add dump to file util w/ console cmd. 2020-02-28 20:19:42 -08:00
Jason Volk
cdb0df84b8 modules/console: Remove cruft. 2020-02-28 18:02:49 -08:00
Jason Volk
1c305257af modules/m_listen: Increase proffer context stack size. 2020-02-27 16:25:47 -08:00
Jason Volk
1bdf52b7bb ircd:Ⓜ️:events: Add preliminary interface to _event_state w/ console cmd. 2020-02-26 18:24:17 -08:00
Jason Volk
28cc60a909 modules/client/sync/rooms/state: Add linear sync skip condition. 2020-02-24 12:26:51 -08:00
Jason Volk
8baaf366c4 ircd:Ⓜ️:event: Fix signature interface regression; optimize call path. 2020-02-24 11:01:52 -08:00
Jason Volk
8f5b40e9d5 modules/m_receipt: Disable luser receipt condition on membership. 2020-02-23 16:23:25 -08:00
Jason Volk
c8dc1232ee modules/client/sync: Interrupt longpolling clients for faster graceful shutdown. 2020-02-19 16:25:24 -08:00
Jason Volk
41c36836cc modules/console: Add preliminary db cache each cmd for iteration related. 2020-02-19 13:26:23 -08:00
Jason Volk
3b5bdd7cc8 modules/client/sync: Fix unattended narrowing conversion. 2020-02-19 13:26:13 -08:00
Jason Volk
74c9978800 modules/llvm: Show library information in infolog on init. 2020-02-18 16:09:21 -08:00
Jason Volk
e17ce00f96 modules/llvm: Add logger. 2020-02-18 16:06:21 -08:00
Jason Volk
fd382d88a0 modules/llvm: Add info::versions information. 2020-02-18 16:06:13 -08:00
Jason Volk
c3f0803e49 modules: X-value copy elision hints for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
55f9947b52 modules/web_hook: Add annotation for failure status. 2020-02-12 14:34:26 -08:00
Jason Volk
58382af029 modules/client/sync: Fix warnings for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
9579325506 modules: Stub for llvm. 2020-02-12 14:34:26 -08:00
Jason Volk
2d50569724 modules/magick: Remove unnecessary attributes. 2020-02-11 15:04:50 -08:00
Jason Volk
819e5ea08e modules/magick: Move noreturn attribute to declaration. 2020-02-01 22:18:49 -08:00
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
0c34b92083 modules/client/sync/rooms/ephemeral/receipt: Remove redundant apropos conditions. 2020-01-23 10:52:56 -08:00
Jason Volk
4522c5a7dd modules/console: Improve fed key cmd output. 2020-01-19 05:59:21 -08:00
Jason Volk
86bf383b4d modules: Improve README bullets. 2020-01-11 23:31:53 -08:00
Jason Volk
cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk
a90b4e1344 modules/federation/send: Limit evals per node w/ conf item. 2020-01-07 15:16:34 -08:00
Jason Volk
e0810afd87 modules/client/sync/presence: Skip erroneous user_id's in loop. 2020-01-07 13:43:53 -08:00
Jason Volk
bfdbf60fd1 modules/federation/send: Return HTTP 202 on retry for transaction in progress. 2020-01-07 12:26:31 -08:00
Jason Volk
94c9152061 modules/federation/send: When origin field is used deny on mismatch. 2020-01-06 17:01:21 -08:00
Jason Volk
94aebfb4bf modules/federation/send: urldecode txnid into buffer. 2020-01-06 17:01:21 -08:00
Jason Volk
f952cecfbb ircd:Ⓜ️:vm: Add txnid to opts; propagate from federation send. 2020-01-06 17:01:21 -08:00
Jason Volk
d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk
fb21e0d62e modules/client/profile: Fix check for eptr on rethrow. 2020-01-02 11:16:47 -08:00
Jason Volk
15b9492ea0 modules/client/profile: Simplify empty profile query closure. 2020-01-02 11:16:47 -08:00
Jason Volk
4dcb2ed3a1 modules/console: Replace some larger tls buffers with dynamic. 2019-12-31 12:33:50 -08:00
Jason Volk
c776229112 modules/web_hook: Switch to circle emoji for CI status reaction. 2019-12-22 02:35:51 -08:00
Jason Volk
74b07825aa modules/console: Optional state_key param in room get cmd. 2019-12-22 01:59:04 -08:00