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

feat: disallow login to defederated, banned, or malicious domains #2165

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

DataDrivenMD
Copy link
Contributor

This allows admins of community/open Elk instances to prevent accounts hosted on malicious or hateful domains from leveraging their IT resources to access the acounts they use to spread their spam and hate.

The PR includes a starter list of problematic domains along with links to source data. It also incorporates regex-based domain parsing to enable keyword-based filters. Instructions for editing the list and filters are included as block comments in the code.

This PR will serve as the building block for a content-moderation system that will allow end-users to apply none, some, or all of these domain-based filters to their feeds, mentions, and notifications. IOW: Although related PRs will be forthcoming, this is a standalone unit that should be reviewed as such.

**NOTE** This is a resubmission of [PR elk-zone#1494](elk-zone#1494), which was inadvertently closed by a force-push

- [X] Add Cloudflare Pages to deployment guide
- [X] Refactor Netlify deployment guide
- [X] Add Getting Started page to the deployment guide that covers topics that are common/shared by multiple deployment types
- [X] Add cloudflare_pages.yml workflow file (set to workspace/manual trigger)
@stackblitz
Copy link

stackblitz bot commented Jun 12, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Jun 12, 2023

Deploy Preview for elk-docs ready!

Name Link
🔨 Latest commit b7f193e
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/6489e9fabfcd8b0008157a4c
😎 Deploy Preview https://deploy-preview-2165--elk-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jun 12, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit b7f193e
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/6489e9fae19a2a00081012ca
😎 Deploy Preview https://deploy-preview-2165--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@EddiesTech
Copy link
Contributor

This is a great idea. Hope it can be tested and merged.

@ryanccn
Copy link
Member

ryanccn commented Jul 11, 2023

You have commits from #1882 here :p

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.

3 participants