aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub/mrf.ex
AgeCommit message (Collapse)Author
2022-07-23Make EnsureRePrepended history-awareTusooa Zhu
2022-02-25Copyright bump for 2022Sean King
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-08-28Merge branch 'admin_fe_dont_list_mrf_policies_any_more' into 'develop'Haelwenn
Selecting MRF policies didn't work as intended any more Closes admin-fe#198 See merge request pleroma/pleroma!3509
2021-08-14Selecting MRF policies didn't work as intended any moreIlja
* Policies were put under a new module (Pleroma.Web.ActivityPub.MRF.Policy instead of Pleroma.Web.ActivityPub.MRF), but this wasn't changed in the Pleroma.Web.ActivityPub.MRF @mrf_config_descriptions * I don't have a unit test to prevent similar problems in the future because I don't find a proper way to do it * The descriptions in the unit tests are defined in the unit tests, so if someone changes module names in the code, the tests wont see it * The list is generated in Pleroma.Docs.Generator.list_behaviour_implementations, but I can't do a check in the when clause of the function to see if the provided module is a behaviour or not.
2021-08-06Make transparency_exclusions use tuples in admin-feIlja
* Make it use tuples * I also changed the keys for key_placeholder and value_placeholder to use snake_case instead of camelCase
2021-08-06Make quarentine work with list of tuples instead of stringsIlja
2021-06-07Fix MRF.config_descriptions/0Alex Gleason
2021-06-07MRF: create MRF.Policy behaviour separate from MRF moduleAlex Gleason
Speeds up recompilation by reducing compile-time deps
2021-02-27Remove sensitive-property setting #nsfw, create HashtagPolicyHaelwenn (lanodan) Monnier
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-21Lintinglain
2020-12-21Pipeline test: Switch from Mock to Mox.lain
Speeds up the test and makes it possible to run async.
2020-11-11little changes for MRF config descriptionsAlexander Strizhakov
- log level reduction, if policy doesn't implement config_description method - docs in dev.md
2020-11-11fix for adminFEAlexander Strizhakov
- revert UserAllowPolicy description - MRF descriptions order
2020-11-10config descriptions for custom MRF policiesAlexander Strizhakov
2020-09-17Create MRF.filter_pipeline to inject :object_data when presentHaelwenn (lanodan) Monnier
2020-06-16moving mrf settings from instance to separate groupAlexander Strizhakov
2020-03-12Merge remote-tracking branch 'origin/develop' into global-status-expirationEgor Kislitsyn
2020-03-03Update CopyrightsMark Felder
2020-02-13Add ActivityExpirationPolicyEgor Kislitsyn
2019-08-13fix credoAriadne Conill
2019-08-13MRF: add describe() to all modules, add base MRF configuration to base ↵Ariadne Conill
describe()
2019-08-13MRF: add describe() for gathering and describing the MRF configurationAriadne Conill
2019-08-10MRF: ensure that subdomain_match calls are case-insensitiveAriadne Conill
2019-07-22Feature/1087 wildcard option for blocksAlexander Strizhakov
2019-06-02mrf: allow a policy chain to be specified when filteringWilliam Pitcock
2019-05-30Use Pleroma.Config everywhereEgor Kislitsyn
2019-03-13[Credo] Remove parentesis on argument-less functionsHaelwenn (lanodan) Monnier
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-05-10format & made get_policies/1 privatehref
2018-05-10Chain policieshref
- The `:pleroma, :instance, :rewrite_policy` can now be either a policy or a list of policies - Made a behaviour for MRF policies