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

3826 commits

Author SHA1 Message Date
Jason Volk
f93ad3d816 modules/key/query: Implement federation 3.3.2.1 key query GET handler. 2020-04-07 11:48:59 -07:00
Jason Volk
124bfc4783 modules/federation/rooms: Ensure m::resource::response is used here. 2020-04-07 10:52:15 -07:00
Jason Volk
9a0a3dfbf1 ircd:Ⓜ️:vm: Eliminate fault::INTERRUPT and handle ctx::interrupt directly in all cases. 2020-04-07 10:52:15 -07:00
Jason Volk
4e18b56896 modules/m_vm_fetch: Fix delicate conversion (regression ffdf1632f5). 2020-04-07 10:52:14 -07:00
Jason Volk
ca29c2ef7b modules/federation: Add rooms module; add complexity handler stub. 2020-04-05 19:00:32 -07:00
Jason Volk
5fe4d8c4ad ircd:Ⓜ️:fed: Add rooms::complexity request w/ console cmd. 2020-04-05 19:00:09 -07:00
Jason Volk
ffdf1632f5 modules/m_vm_fetch: Minor clarity for result object. 2020-04-05 17:08:58 -07:00
Jason Volk
c76e394a8c modules/console: Fix loop on multiple context id's to interrupt/terminate cmds. 2020-04-05 14:32:21 -07:00
Jason Volk
e089103a30 modules/m_vm_fetch: Tweak interrupt propagation paths; fix specific propagations. 2020-04-03 17:37:34 -07:00
Jason Volk
27a015b9dc modules/client/sync: Minor cleanup; use structured binding for m::top().
modules/client/events: Minor cleanup; use structured binding for m::top().
2020-04-03 15:17:35 -07:00
Jason Volk
c4d0ffaec9 ircd:Ⓜ️:event::fetch: Move std::nothrow to leading argument for consistency. 2020-04-02 20:01:14 -07:00
Jason Volk
22e71d57e2 modules/federation/user_device: Mark use of zero value for stream_id here. 2020-04-02 17:16:27 -07:00
Jason Volk
1cabd663fb modules/federation: Add comments in txn handler; minor cleanup. 2020-04-02 14:41:11 -07:00
Jason Volk
c973062086 modules/console: Add user devices preliminary omni update trigger cmd. 2020-04-01 20:18:25 -07:00
Jason Volk
fe9635a70e ircd:Ⓜ️:device: Reclassify interface at m::user::devices. 2020-04-01 19:52:31 -07:00
Jason Volk
6c0e6d49fb ircd:Ⓜ️:device: Remove remaining access_token_to_id interface related. 2020-04-01 17:35:10 -07:00
Jason Volk
08525e95d0 modules/console: Add device_id to user tokens list cmd. 2020-04-01 17:33:55 -07:00
Jason Volk
d052249573 ircd:Ⓜ️ Add user::tokens convenience interface; consolidate various direct room access. 2020-04-01 17:30:17 -07:00
Jason Volk
d1812f0c44 ircd:Ⓜ️ Fix m::index() interface for consistent leading std::nothrow_t. 2020-04-01 16:20:11 -07:00
Jason Volk
93665cc587 ircd:Ⓜ️ Fix event_id() interface for consistent leading std::nothrow_t. 2020-04-01 16:03:25 -07:00
Jason Volk
327407cc76 modules/client/send_to_device: Propagate interrupts.
modules/m_device_list_update: Propagate interrupts.
2020-04-01 13:44:39 -07:00
Jason Volk
926bd56bde modules/m_device_list_update: Add functionality to hook; switch to vm.effect. 2020-04-01 13:44:38 -07:00
Jason Volk
746689086a modules/federation/user_keys_claim: Implement 22.1 POST /user/keys/claim. 2020-03-31 17:27:19 -07:00
Jason Volk
1680e5107b modules/m_relation: Fix event_id unmarshal. 2020-03-31 16:50:07 -07:00
Jason Volk
0bb3a33fa2 modules/client/keys/claim: Relax user mxid construction in response; minor cleanup. 2020-03-31 16:02:14 -07:00
Jason Volk
0d9ddbdc53 modules/federation/send: Improve exception handling and propagation. 2020-03-31 14:50:46 -07:00
Jason Volk
cec762de94 modules/client/send_to_device: Move target into content.
modules/federation/sender: Adjust special cases.
2020-03-31 14:17:44 -07:00
Jason Volk
82e01fcc09 modules/client/register_email: Allow and default undefined id_server property. 2020-03-31 13:39:19 -07:00
Jason Volk
31aa8a0d0c modules/client/versions: Add m.require_identity_server. 2020-03-31 13:39:19 -07:00
Jason Volk
07d7dc2801 modules/client/keys/device_signing/upload: Add flows object on error. 2020-03-31 13:11:41 -07:00
Jason Volk
13054243a5 modules/client/sync/presence: Add mitsein condition to linear handler. 2020-03-31 12:54:49 -07:00
Jason Volk
954381b280 modules/client/room_keys/keys: Implement GET method (partial). 2020-03-31 12:12:08 -07:00
Jason Volk
b75e0a20e1 modules/client/room_keys/keys: Implement PUT method. 2020-03-31 12:11:56 -07:00
Jason Volk
5d685e6b40 modules/client/sync/to_device: Add linear handler.
modules/client/sync/to_device: Reduce event append between handlers.
2020-03-31 10:37:50 -07:00
Jason Volk
44218e9d86 modules/client/sync/to_device: Condition for specific syncing device on polylog. 2020-03-30 22:04:29 -07:00
Jason Volk
b2b1db1eb2 modules/client/sync/to_device: Use m::room::type events iterator for polylog. 2020-03-30 21:55:23 -07:00
Jason Volk
b710ed8862 modules/client/room_keys/version: Implement DELETE method. 2020-03-30 19:13:44 -07:00
Jason Volk
2cbd0c736a modules/client/keys/device_signing/upload: Requisite stub; request elements. 2020-03-30 19:02:28 -07:00
Jason Volk
d28730538c modules/client/room_keys/version: Implement GET method. 2020-03-30 19:02:28 -07:00
Jason Volk
45b58902b1 modules/client/room_keys/version: Implement POST method. 2020-03-30 18:51:35 -07:00
Jason Volk
45d7201ca8 modules/client/keys/signatures/upload: Candidate implementation. 2020-03-30 17:00:34 -07:00
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