This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return Union[Allow, Codes]
.
#12857
Merged
Commits on Jun 2, 2022
-
Port the rest of the spam-checker API to accept
Union[Allow, Codes]
…… where relevant.
Configuration menu - View commit details
-
Copy full SHA for b0838a3 - Browse repository at this point
Copy the full SHA b0838a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45be51a - Browse repository at this point
Copy the full SHA 45be51aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c40e2a - Browse repository at this point
Copy the full SHA 8c40e2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a7a20 - Browse repository at this point
Copy the full SHA d8a7a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3224a95 - Browse repository at this point
Copy the full SHA 3224a95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ce400 - Browse repository at this point
Copy the full SHA 88ce400View commit details -
Configuration menu - View commit details
-
Copy full SHA for a376e60 - Browse repository at this point
Copy the full SHA a376e60View commit details
Commits on Jun 6, 2022
-
Port spam-checker API callbacks
user_may_join_room
, `user_may_invit……e`, `user_may_send_3pid_invite`, `user_may_create_room`, `user_may_create_room_alias`, `user_may_publish_room`, `check_media_file_for_spam` to more powerful and less ambiguous `Union[Literal["NOT_SPAM"], Codes]`. This is a followup to #12703, #12808, #12846 and builds towards giving the spam-checker API the ability to inform users of *why* their event or operation has been rejected. WIP: Applying feedback.
Configuration menu - View commit details
-
Copy full SHA for 8166bd5 - Browse repository at this point
Copy the full SHA 8166bd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9316768 - Browse repository at this point
Copy the full SHA 9316768View commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2af5487 - Browse repository at this point
Copy the full SHA 2af5487View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bde1fa - Browse repository at this point
Copy the full SHA 5bde1faView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6d3d42 - Browse repository at this point
Copy the full SHA d6d3d42View commit details -
Configuration menu - View commit details
-
Copy full SHA for e421c0b - Browse repository at this point
Copy the full SHA e421c0bView commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 40aa9fe - Browse repository at this point
Copy the full SHA 40aa9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0414f3 - Browse repository at this point
Copy the full SHA f0414f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5f9ef8 - Browse repository at this point
Copy the full SHA a5f9ef8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.