0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 20:28:52 +02:00
Commit graph

195 commits

Author SHA1 Message Date
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
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
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
8445cbf83a ircd:Ⓜ️:push: Add log facility for this namespace. 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
592d8a90c2 ircd:Ⓜ️:vm: Additional sequence barrier for shutdown. 2020-03-21 19:37:23 -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
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
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
fa4160e9a6 ircd::db::dbs: Eliminate strict room::id from event_state tuple; simplify comparator. 2020-03-19 21:54:07 -07:00
Jason Volk
de9f054d97 ircd:Ⓜ️:push: Add remaining content server-default rule w/o pattern. 2020-03-19 16:25:45 -07:00
Jason Volk
28626f17c1 ircd:Ⓜ️:user::pushrules: Integrate the default pushrules for the user. 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
014b6e9a9b ircd:Ⓜ️:typing: Add interruption point before wait in loop. 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
bab3f959ac ircd:Ⓜ️:push: Move default rules string under rules class; minor reorg. 2020-03-19 16:01:32 -07:00
Jason Volk
4cd625f2e0 ircd:Ⓜ️:fed: I robbed other churches by receiving support from them so as to serve you. -2 Cor. 11:8 (NIV). 2020-03-18 23:02:35 -07:00
Jason Volk
a3037b7cd4 ircd:Ⓜ️:user: Add interface definitions for push rule events to user room. 2020-03-18 14:34:29 -07:00
Jason Volk
2aec995edd ircd:Ⓜ️:push: Move path tuple; add type string suite. 2020-03-18 14:34:29 -07:00
Jason Volk
5391ba7b76 ircd:Ⓜ️:push: Add spec-default ruleset object. 2020-03-18 12:27:14 -07:00
Jason Volk
6c807f7e96 ircd:Ⓜ️:push: Add push ruleset, rule, condition, and pushers structures. 2020-03-18 10:42:48 -07:00
Jason Volk
0bb52f57a3 ircd:Ⓜ️:user: Add unit and preliminary interface stubs for pushrules. 2020-03-18 10:42:48 -07:00
Jason Volk
0b8b3ee988 ircd:Ⓜ️:vm: Add an opts.unique bypass option for condition. 2020-03-17 11:48:22 -07:00
Jason Volk
b8c31fe4d3 ircd:Ⓜ️:vm::eval: Apply missing opts.replays in condition. 2020-03-17 11:42:27 -07:00
Jason Volk
0ad8ccc905 ircd:Ⓜ️:fed: Take no thought how or what to speak: for it shall be given you in that hour. -Mat. 10:19 (DRB) 2020-03-17 08:57:37 -07:00
Jason Volk
ec5fd98f59 ircd:Ⓜ️:homeserver: Use central imports map; reorder constructions. 2020-03-16 18:17:52 -07:00
Jason Volk
c1672b280f ircd:Ⓜ️:typing: Report error from timeout worker context; minor cleanup. 2020-03-16 16:56:07 -07:00
Jason Volk
990d2346c4 ircd:Ⓜ️:fetch: Fix context and object destructions; minor cleanup. 2020-03-16 16:56:07 -07:00
Jason Volk
daea5cddef ircd:Ⓜ️ Replace various runlevel conditions with barrier template. 2020-03-16 16:56:07 -07:00
Jason Volk
c815de3621 ircd::run: Rename level IDLE to LOAD; minor reorg. 2020-03-16 16:56:07 -07:00
Jason Volk
a725ff3521 ircd:Ⓜ️ Remove remaining export macros on central library definitions. 2020-03-16 16:56:06 -07:00
Jason Volk
82bc4be5e1 ircd:Ⓜ️:fed: Improve conditions to bail before redirect. 2020-03-16 07:53:30 -07:00
Jason Volk
83b7e0b9b1 ircd:Ⓜ️:homeserver: Add missing alias room to the hs bootstrap for now; related 33f1ce6e09. 2020-03-14 18:07:45 -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