Skip to content

Prevent certain posts from being made public#4

Merged
thebaer merged 6 commits intomasterfrom
patch-filter
Mar 12, 2018
Merged

Prevent certain posts from being made public#4
thebaer merged 6 commits intomasterfrom
patch-filter

Conversation

@thebaer
Copy link
Member

@thebaer thebaer commented Mar 12, 2018

This adds a BLACKLIST_TERMS configuration value that new public posts will be tested against; if a post contains any of the terms, it will still be published but not made public on the Browse page and tweeted out.

This also fixes some issues caused by updated libraries.

thebaer added 5 commits March 11, 2018 16:55
This now parses into rsa.{Public|Private}Key structs, as required by
current jwt library.
This prevents the app crashing if a bad URI is given.
This adds a BLACKLIST_TERMS configuration value that contains a
comma-separated list of terms that indicate spam posts and will prevent
a link from being showcased on the Browse page, tweeted out, etc.
@thebaer thebaer added this to the v1.1 milestone Mar 12, 2018
@thebaer thebaer merged commit ac6eff5 into master Mar 12, 2018
@thebaer thebaer deleted the patch-filter branch March 12, 2018 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant