feld
7853b3f17d
Fix AntiFollowbotPolicy when trying to follow a relay
5 years ago
Ivan Tashkinov
256ff09aa8
[ #1149 ] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
...
# Conflicts:
# lib/pleroma/application.ex
# lib/pleroma/scheduled_activity_worker.ex
# lib/pleroma/web/federator/retry_queue.ex
# lib/pleroma/web/oauth/token/clean_worker.ex
# test/user_test.exs
# test/web/federator_test.exs
5 years ago
Ariadne Conill
626e094589
MRF: fix up unserializable option lists in describe implementations
5 years ago
Ivan Tashkinov
8778c16dac
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch
9ef31767f2
Merge branch 'feature/mrf-vocabulary' into 'develop'
...
MRF Vocabulary
See merge request pleroma/pleroma!1559
5 years ago
Ariadne Conill
abfbcfdcb3
mrf_vocabulary: add describe API support
5 years ago
Ariadne Conill
4244e17de0
fix credo
5 years ago
Ariadne Conill
c574b7a1fc
MRF: add describe() to all modules, add base MRF configuration to base describe()
5 years ago
Ariadne Conill
3fdbeb7087
MRF: add vocabulary policy module
5 years ago
Ivan Tashkinov
0e1c481a94
[ #1149 ] Added more oban workers. Refactoring.
5 years ago
Ariadne Conill
b93498eb52
constants: add as_public constant and use it everywhere
5 years ago
Alexander Strizhakov
b70e659304
Feature/1087 wildcard option for blocks
5 years ago
RX14
96a2890a9e
Add MRF MentionPolicy for dropping posts which mention specific actors
5 years ago
Maksim
bb8065a1fd
tests MRF filters
5 years ago
William Pitcock
034986e1fd
MRF: add mediaproxy warming policy
5 years ago
William Pitcock
127a5a7d65
change the anti-link-spam MRF implementation to use old_user? instead of the previous name
5 years ago
William Pitcock
21dacd4b15
unbreak polls
5 years ago
William Pitcock
736d8ad6be
implement anti link spam MRF
5 years ago
William Pitcock
561a21986d
formatting
5 years ago
William Pitcock
4087ccdab8
mrf: add subchain policy
5 years ago
William Pitcock
79503ce90f
mrf: simple policy: fix matching imported activitypub and ostatus statuses
5 years ago
William Pitcock
baf72d6c58
mrf: simple policy: add the ability to strip avatars and banners from user profiles
5 years ago
William Pitcock
75b6c4b004
mrf: defang policy modules for filtering user profile objects
5 years ago
Aaron Tinio
2375e9a95b
Add report filtering to MRF.SimplePolicy
5 years ago
William Pitcock
78588dbd80
mrf: simple policy: mark all posts instead of posts with media as sensitive if they match media_nsfw
5 years ago
Aaron Tinio
70235ce840
Fix typo: s/"tags"/"tag"/g
5 years ago
Haelwenn (lanodan) Monnier
e41a2f98d5
mrf/tag_policy.ex: Add some documentation
...
mrf_tag:disable-remote-subscription exact way of working is quite
unclear to me. Is it the requester that is denied if they have a tag,
or is it the requestee if they have one?
5 years ago
Haelwenn (lanodan) Monnier
af62ace954
Add short documentation on every MRF Policy
5 years ago
Haelwenn (lanodan) Monnier
eab9425cc4
mrf/keyword_policy.ex: Fix when summary == nil, do not whitelist content == nil
6 years ago
Haelwenn (lanodan) Monnier
c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
William Pitcock
e53a9fd15e
MRF: anti followbot: gracefully handle accounts without a display name
6 years ago
rinpatch
8f98d970c1
Fix recipient count in hellthread policy
6 years ago
Karen Konou
c2e0a0c8d4
Readd threshold is not 0 check, optmization?
6 years ago
Karen Konou
dca6bee2f7
Rename test, add check for follower collection when delisting
6 years ago
Karen Konou
d943c90249
Add tests, change default config values, fix a bug
6 years ago
Karen Konou
bef9b9cb66
refactored code
6 years ago
Karen Konou
adcdd21f16
Merge branch 'develop' into hellthread-filter-fix
6 years ago
Karen Konou
1d727cd069
added checks for public url and follower collections
6 years ago
rinpatch
379d04692c
Filter summary in keywordpolicy
6 years ago
rinpatch
7356659273
wow
6 years ago
rinpatch
f88dec8b33
What idiot did that? (me)
6 years ago
rinpatch
6c21f5aa16
Merge branch 'develop' into feature/keyword-policy
6 years ago
rinpatch
8a0b755c19
rename ftl_removal to federated_timeline_removal to keep consistent naming with SimplePolicy
6 years ago
rinpatch
46aa8c18a2
Add keyword policy
6 years ago
William Pitcock
7d110be119
activitypub: mrf: tag policy: fix force-unlisted and sandbox actions
6 years ago
William Pitcock
64a3993425
activitypub: mrf: tag policy: add support for subscription control
6 years ago
William Pitcock
ff2c28fd6d
activitypub: mrf: tag policy: refactor the filtering hook a bit
6 years ago
William Pitcock
9a69f08e86
activitypub: mrf: tag policy: add support for processing follow requests
6 years ago
William Pitcock
084bb8ccd5
activitypub: mrf: tag policy: implement force-unlisted and sandbox
6 years ago
William Pitcock
88e32a32ce
mrf: add initial MRF.TagPolicy engine
6 years ago
Karen Konou
58262a8b8a
removed a debug thingy
6 years ago
Karen Konou
4430641349
squished a bug
6 years ago
Karen Konou
3cf046babb
actually commited the changes
6 years ago
Karen Konou
63a4f4b7be
fixed Map,put arguments, updated nomenclature
6 years ago
Karen Konou
583c4e0f17
more tweaks, fixed silly mistakes...
6 years ago
Karen Konou
e10cda7541
implemented tweaks
6 years ago
Karen Konou
531507a635
fixed things
6 years ago
Karen Konou
10130fa7d6
made toggleable, added docs
6 years ago
Karen Konou
0ef0ae35ab
added optional delist feature
6 years ago
William Pitcock
54ec6d09b0
mrf: add anti-followbot policy
6 years ago
William Pitcock
6e5b0406b9
mrf: add no placeholder-text policy, strips pointless "." content from posts with images
6 years ago
William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
Karen Konou
a7f07bb6e5
Implement kaniini's tweaks
6 years ago
Karen Konou
c76179419d
Renamed the things
6 years ago
Karen Konou
409ff60bf8
Fix formatting
6 years ago
Karen Konou
92362e1e22
Implement large thread filter
6 years ago
Maksim Pechnikov
074fa790ba
fix compile warnings
6 years ago
scarlett
d27e3f269f
Rename regular expression 'have_re' to 'reply_prefix'.
6 years ago
scarlett
3dff61ebec
Harden re: detection.
6 years ago
scarlett
6a6aaa0e1a
Use object.normalize.
6 years ago
scarlett
8a1df182cf
Add a MRF Policy for appending re: to identical subjects in replies.
6 years ago
William Pitcock
b57d83e3c9
MRF: simple policy: fix media removal
6 years ago
William Pitcock
8c05d19c7f
MRF: add user allowlist module
6 years ago
href
9070588493
Runtime config: MRF changes
6 years ago
href
5bb88fd174
Runtime configuration
...
Related to #85
Everything should now be configured at runtime, with the exception of
the `Pleroma.HTML` scrubbers (the scrubbers used can be
changed at runtime, but their configuration is compile-time) because
it's building a module with a macro.
6 years ago
William Pitcock
342ed84446
MRF: add policy for normalizing HTML markup (local and remote) to a specific policy
6 years ago
William Pitcock
e0b8c0ccba
MRF: reject non-public: use pattern match to remove unnecessary if block
6 years ago
William Pitcock
88094c266d
MRF: simple policy: refactor module to use guards and pattern matching
6 years ago
William Pitcock
97253df3ee
MRF: simple policy: contain media removal/nsfw ops to create activities only
6 years ago
Haelwenn (lanodan) Monnier
c45133377a
lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
...
Hnng!
6 years ago
William Pitcock
60d6038be5
mrf simple: add accept lists
...
accept lists supplement reject lists by requiring that any message accepted by contained
by the accept list.
in other words, this functionality can be used to implement instances similar to
awoo.space.
6 years ago
squidboi
07f0cfa53f
add allow_followersonly and allow_direct options for configuring mrf_rejectnonpublic
6 years ago
squidboi
e2c4013c88
s/get_by_ap_id/get_cached_by_ap_id/
6 years ago
squidboi
6e7f91bf8f
final format
6 years ago
squidboi
82225dfc8d
even more formatting
6 years ago
squidboi
990cde7439
more formatting
6 years ago
squidboi
5b9e1f228a
formatting
6 years ago
squidboi
f69d38e455
add mrf for dropping follower-only and direct posts
6 years ago
href
e9e6f37bda
Chain policies
...
- The `:pleroma, :instance, :rewrite_policy` can now be either a policy
or a list of policies
- Made a behaviour for MRF policies
6 years ago
lambda
6c2903d9a1
Merge branch 'feld-warnings' into 'develop'
...
Clean up warnings
See merge request pleroma/pleroma!144
6 years ago
eal
bfad57c7c9
Get rid of unsafe variables.
6 years ago
Mark Felder
ab4aa5720a
Fix a bunch of unused variable warnings
6 years ago
William Pitcock
90bbd94614
ActivityPub MRF SimplePolicy: fix media stripping
7 years ago
lain
c78e7d8b11
Fix formatting.
7 years ago
nenolod@dereferenced.org
f08f9d4498
ActivityPub MRF: fix nsfw tagging of objects with attachments by looking at the right object (the child in this case)
7 years ago
William Pitcock
d24ddd9fb9
ActivityPub MRF: implement the SimplePolicy policy
7 years ago
William Pitcock
4a178b3d65
ActivityPub: implement MRF core hook and baseline noop policy object
7 years ago