feat: forbid certain usernames & room aliases #1007

Open
Kladky wants to merge 5 commits from feature/forbidden-usernames-rooms into next
Kladky commented 2024-02-04 13:10:13 +00:00 (Migrated from gitlab.com)

Allows for regex patterns to be set, which if room aliases or usernames violate, will prevent them from being created.

Closes https://gitlab.com/famedly/conduit/-/issues/203


  • I agree to release my code and all other changes of this MR under the Apache-2.0 license
Allows for regex patterns to be set, which if room aliases or usernames violate, will prevent them from being created. Closes https://gitlab.com/famedly/conduit/-/issues/203 ----------------------------------------------------------------------------- - [x] I agree to release my code and all other changes of this MR under the Apache-2.0 license
Kladky commented 2024-02-04 13:13:55 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
Kladky commented 2024-02-04 13:44:02 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 578b9752 - style: remove trailing whitespace

Compare with previous version

added 1 commit <ul><li>578b9752 - style: remove trailing whitespace </li></ul> [Compare with previous version](/famedly/conduit/-/merge_requests/582/diffs?diff_id=914163096&start_sha=57043296ace9c7100a5076f5728e148f18f10af9)
Kladky commented 2024-02-04 13:48:03 +00:00 (Migrated from gitlab.com)

added 76 commits

  • 578b9752...72a13d83 - 71 commits from branch famedly:next
  • 365ec44d - Initial support for blocking strings from usernames and room addresses
  • 03293408 - Check database on start for forbidden room aliases/usernames
  • 12f6f147 - feat/forbidden-user-room-names: Switched from Regex to RegexSet
  • 247db5d7 - feat/forbidden-user-room-names: use parsed userid where possible
  • 187e0a7b - style: remove trailing whitespace

Compare with previous version

added 76 commits <ul><li>578b9752...72a13d83 - 71 commits from branch <code>famedly:next</code></li><li>365ec44d - Initial support for blocking strings from usernames and room addresses</li><li>03293408 - Check database on start for forbidden room aliases/usernames</li><li>12f6f147 - feat/forbidden-user-room-names: Switched from Regex to RegexSet</li><li>247db5d7 - feat/forbidden-user-room-names: use parsed userid where possible</li><li>187e0a7b - style: remove trailing whitespace </li></ul> [Compare with previous version](/famedly/conduit/-/merge_requests/582/diffs?diff_id=914163887&start_sha=578b97525e2ae6a05bd359b0fd9fbdc436cb5b09)
Kladky commented 2024-02-12 03:00:23 +00:00 (Migrated from gitlab.com)

mentioned in commit girlbossceo/conduwuit@fc93b29abe

mentioned in commit girlbossceo/conduwuit@fc93b29abe50e4f98fa33c9cd51214cdf78827a9
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/forbidden-usernames-rooms:feature/forbidden-usernames-rooms
git checkout feature/forbidden-usernames-rooms

Merge

Merge the changes and update on Forgejo.
git checkout next
git merge --no-ff feature/forbidden-usernames-rooms
git checkout next
git merge --ff-only feature/forbidden-usernames-rooms
git checkout feature/forbidden-usernames-rooms
git rebase next
git checkout next
git merge --no-ff feature/forbidden-usernames-rooms
git checkout next
git merge --squash feature/forbidden-usernames-rooms
git checkout next
git merge --ff-only feature/forbidden-usernames-rooms
git checkout next
git merge feature/forbidden-usernames-rooms
git push origin next
Sign in to join this conversation.
No reviewers
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Matthias/conduit#1007
No description provided.