0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-24 12:58:21 +02:00
Commit graph

11753 commits

Author SHA1 Message Date
Jason Volk 932a9974b7 modules/m_push: Highlights to the user's room. 2020-03-23 18:28:39 -07:00
Jason Volk 93cd2ededc ircd:Ⓜ️:user::notifications: Add unit; develop interface; add type generation. 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 503db45a64 ircd:Ⓜ️:push: Fix constness. 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 98562fe488 ircd:Ⓜ️:push: Add tool to determine if rule has highlight tweak set. 2020-03-22 20:04:16 -07:00
Jason Volk c4c1c47351 ircd:Ⓜ️:push: Add tool to query if an action is notifying or not. 2020-03-22 20:00:14 -07:00
Jason Volk 2a301d6b2a ircd:Ⓜ️:push: Search formatted_body for contains_user_mxid. 2020-03-22 18:34:42 -07:00
Jason Volk edecb8b9ae ircd:Ⓜ️:push: Use zero-copy closure to fetch displayname. 2020-03-22 18:34:42 -07:00
Jason Volk 7ca990e1ee ircd:Ⓜ️:push: Fix stale assertion. 2020-03-22 18:18:51 -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 fc63e102fa ircd:Ⓜ️:push: Add non-spec condition kind 'state_key_user_mxid'. 2020-03-22 18:18:51 -07:00
Jason Volk f58cfed6e9 ircd:Ⓜ️:push: Add non-spec condition kind 'contains_user_mxid'. 2020-03-22 18:18:51 -07:00
Jason Volk aeefb8a155 ircd:Ⓜ️:push: Fixes for the event_match condition functor. 2020-03-22 18:18:51 -07:00
Jason Volk 5bd8178c94 ircd::json: Add conditional constexpr assignment check during tuple iteration. 2020-03-22 18:18:50 -07:00
Jason Volk 822b422dfe modules: Add preliminary event pushrule evaluation module. 2020-03-22 18:18:50 -07:00
Jason Volk 643efbfad7 ircd:Ⓜ️:push: Log a debug error for unknown condition kinds. 2020-03-22 18:18:50 -07:00
Jason Volk 6774ac742a ircd:Ⓜ️:push: Optimize condition order for some default spec rules. 2020-03-22 18:18:50 -07:00
Jason Volk a7a67b0689 ircd:Ⓜ️:user::pushrules: Fix throwing query in nothrow getter. 2020-03-22 18:18:50 -07:00
Jason Volk 55396a9a76 ircd:Ⓜ️:vm: Move the internal(room) query and indicator to outer scope. 2020-03-22 14:03:28 -07:00
Jason Volk 329982f3f1 ircd:Ⓜ️:push: Add iteration for all rules of all users. 2020-03-22 14:03:28 -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 8445cbf83a ircd:Ⓜ️:push: Add log facility for this namespace. 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 27556f2d9c ircd:Ⓜ️:vm::eval: Add member which caches the m::internal(room) result. 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 43dc547200 ircd:Ⓜ️:event: Increase the state_key constant. 2020-03-21 20:49:54 -07:00
Jason Volk 592d8a90c2 ircd:Ⓜ️:vm: Additional sequence barrier for shutdown. 2020-03-21 19:37:23 -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 63be2183f9 ircd:Ⓜ️:user: Add pushers interface. 2020-03-21 11:35:40 -07:00
Jason Volk 245195488c ircd:Ⓜ️:push: Add event type prefix string for pusher. 2020-03-21 11:35:40 -07:00
Jason Volk 435721c971 ircd:Ⓜ️:push: Add match interface; condition table; exception propagation. 2020-03-20 22:25:14 -07:00
Jason Volk f0c08d2a54 ircd::push: Minor reorg; invert interface. 2020-03-20 22:25:14 -07:00
Jason Volk e71f925f2c ircd::http: Add and adjust some HTTP codes from Cloudfackel.
ircd::http: Add 523 Origin Is Unreachable (Cloudfackel).

ircd::http: Add 521 Connection Timed Out (Cloudfackel).
2020-03-20 22:25:14 -07:00
Jason Volk d1ff1aec74 ircd:Ⓜ️:push: Implement r0.6.0-13.13.1.5.3 condition kind subroutine logics. 2020-03-20 22:25:14 -07:00
Jason Volk 1d30da7bf3 ircd:Ⓜ️:vm::eval: Skip any mfetch of keys if verify option deselected. 2020-03-20 14:45:12 -07:00
Jason Volk 8db2bf629e ircd:Ⓜ️:vm: Move vm::eval inner-loop logic into vm::execute; fix room_version/event_id. 2020-03-20 14:26:55 -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 3dc679fbb7 ircd:Ⓜ️:room::bootstrap: Cleanup/Unify a base vm::opts for all evals. 2020-03-20 12:15:40 -07:00
Jason Volk 8ca580362f ircd:Ⓜ️:room::bootstrap: Fix loss of room version information during bootstrap. 2020-03-20 12:04:19 -07:00
Jason Volk 8c8a4c8d09 ircd::fs: Add an RLIMIT_FSIZE sampler in support section. 2020-03-20 11:09:34 -07:00
Jason Volk 4d88f92b76 ircd::fs: Add conf item and call to setrlimit for RLIMIT_NOFILE. 2020-03-20 11:09:34 -07:00