0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00
Commit graph

201 commits

Author SHA1 Message Date
Jason Volk 7a6ba49c34 ircd:Ⓜ️:room: Add type iteration interface. 2020-03-24 14:14:39 -07:00
Jason Volk 256e5ed960 ircd:Ⓜ️:dbs: Add room_type column to schema. 2020-03-24 11:49:15 -07:00
Jason Volk 8d6dfa7cd5 ircd:Ⓜ️ Add room_id(event_idx) to convenience suite. 2020-03-23 20:31:21 -07:00
Jason Volk 7861f77015 ircd:Ⓜ️:push: Add branch to handle other pattern key for content rules. 2020-03-23 19:32:01 -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 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 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