Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add soft ban mode for user restrictions #74

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Add soft ban mode for user restrictions #74

merged 2 commits into from
Apr 23, 2024

Conversation

umputun
Copy link
Owner

@umputun umputun commented Apr 23, 2024

The update introduces a soft ban mode that restricts user actions instead of banning them outright. This mode, which can be turned on or off, adds flexibility to how the application handles bans. The new mode has been integrated into the admin and listener components and has been tested extensively to ensure it functions as expected.

This PR addresses #73, the new flag is --soft-ban (env: SOFT_BAN)

The update introduces a soft ban mode that restricts user actions instead of banning them outright. This mode, which can be turned on or off, adds flexibility to how the application handles bans. The new mode has been integrated into the admin and listener components and has been tested extensively to ensure it functions as expected.
Copy link

Deploying tg-spam with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0519ab
Status:⚡️  Build in progress...

View logs

@umputun umputun merged commit 0a8cfc0 into master Apr 23, 2024
4 of 5 checks passed
@umputun umputun deleted the soft-ban branch April 23, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant