Age | Commit message (Collapse) | Author |
|
* 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.
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3509
|
|
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3512
|
|
ObjectValidator.stringify_keys: filter out nil values
See merge request pleroma/pleroma!3506
|
|
Selecting MRF policies didn't work as intended any more
Closes admin-fe#198
See merge request pleroma/pleroma!3509
|
|
Add Admin-FE menu for StealEmojiPolicy
See merge request pleroma/pleroma!3512
|
|
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1
See merge request pleroma/pleroma!3511
|
|
|
|
|
|
|
|
* 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.
|
|
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3500
|
|
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3499
|
|
|
|
ObjectAgePolicy: Fix pattern matching on published
See merge request pleroma/pleroma!3500
|
|
|
|
fix: stream out Create Activity
Closes #2691
See merge request pleroma/pleroma!3499
|
|
MastodonAPI: Support poll notification
See merge request pleroma/pleroma!3484
|
|
|
|
|
|
* Make it use tuples
* I also changed the keys for key_placeholder and value_placeholder to use snake_case instead of camelCase
|
|
* I also added for keywordpolicy as well now. It was done in the admin-fe, but is better to be done here
* I also added comments to explain why we did the _info keys (backwards compatibility)
|
|
* Only for SimplePolicy for now
* I added an extra mrf_simple_info key that has an object as value. The object contains only relevant extra info
|
|
It's easiest (and imo most proper) to use tuples {"instance, "reason"} in BE,
but for FE maps like %{"instance": "instance", "reason", "reason"} are better.
I changed it so that node_info returns maps now for simple_policy and quarantined instances.
|
|
|
|
|
|
* Changed SimplePolicy
* I also grepped in test/ for ':mrf_simple' to see what other things could be affected
|
|
|
|
|
|
|
|
|
|
|
|
Pipeline Ingestion: Page
See merge request pleroma/pleroma!3097
|
|
|
|
|
|
|
|
|
|
Speeds up recompilation by reducing compile cycles
|
|
|
|
Speeds up recompilation by reducing compile-time deps
|
|
|
|
Since mime 1.6.0:
warning: MIME.valid?/1 is deprecated. Use MIME.extensions(type) != [] instead
As for the bitstring(type) part it's because MIME.extensions only expects a string.
https://github.com/elixir-plug/mime/issues/43
|
|
|
|
Speeds up recompilation by limiting compile-time deps
|
|
|
|
Deprecate Pleroma.Web.base_url/0
See merge request pleroma/pleroma!3432
|
|
Pipeline Ingestion: Note
Closes #290
See merge request pleroma/pleroma!2984
|
|
|
|
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
|
|
Pleroma.Web.ActivityPub.Utils.as_local_public/0
Move as_local_public/0 to stop making modules depend on Web at compile-time
|
|
|