aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub
AgeCommit message (Collapse)Author
2021-08-28Selecting 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. Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3509
2021-08-28Add Admin-FE menu for StealEmojiPolicySam Therapy
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3512
2021-08-28Merge branch 'features/ingestion-no-nil' into 'develop'Haelwenn
ObjectValidator.stringify_keys: filter out nil values See merge request pleroma/pleroma!3506
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-14Merge branch 'StealEmojiMRF_add_adminFE' into 'develop'Haelwenn
Add Admin-FE menu for StealEmojiPolicy See merge request pleroma/pleroma!3512
2021-08-14Merge branch 'builder-note' into 'develop'Haelwenn
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1 See merge request pleroma/pleroma!3511
2021-08-14Builder.note/1: return {:ok, map(), keyword()} like other Builder functionsAlex Gleason
2021-08-14Add Admin-FE menu for StealEmojiPolicySam Therapy
2021-08-14CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1Alex Gleason
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-13ObjectAgePolicy: Fix pattern matching on publishedHaelwenn (lanodan) Monnier
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3500
2021-08-13fix: stream out Create ActivitykPherox
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3499
2021-08-11ObjectValidator.stringify_keys: filter out nil valuesHaelwenn (lanodan) Monnier
2021-08-10Merge branch 'bugfix/object-age-create' into 'develop'Haelwenn
ObjectAgePolicy: Fix pattern matching on published See merge request pleroma/pleroma!3500
2021-08-10ObjectAgePolicy: Fix pattern matching on publishedHaelwenn (lanodan) Monnier
2021-08-09Merge branch 'fix/streaming-api-for-create-activity' into 'develop'Haelwenn
fix: stream out Create Activity Closes #2691 See merge request pleroma/pleroma!3499
2021-08-09Merge branch 'poll-notification' into 'develop'Haelwenn
MastodonAPI: Support poll notification See merge request pleroma/pleroma!3484
2021-08-09fix: stream out Create ActivitykPherox
2021-08-06Improve readabilityEgor Kislitsyn
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-06Add key- and valuePlaceholders for quarantined_instances and mrf_simpleIlja
* 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)
2021-08-06Change what nodeinfo returns without breaking backwards compatibilityIlja
* 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
2021-08-06Return maps in node_infoIlja
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.
2021-08-06config :mrf, :transparency_exclusions works with tumples nowIlja
2021-08-06Make quarentine work with list of tuples instead of stringsIlja
2021-08-06Make mrfSimple work with tuplesIlja
* Changed SimplePolicy * I also grepped in test/ for ':mrf_simple' to see what other things could be affected
2021-07-27Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibilityAlex Gleason
2021-07-27Visibility: check Tombstone objects in visible_for_user?/2Alex Gleason
2021-07-18Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixesAlex Gleason
2021-07-18Poll notification: trigger PollWorker through common_pipelineAlex Gleason
2021-07-17MastodonAPI: Support poll notificationAlex Gleason
2021-07-12Merge branch 'features/ingestion-page' into 'develop'Haelwenn
Pipeline Ingestion: Page See merge request pleroma/pleroma!3097
2021-07-12AP C2S: Remove restrictions and make it go through pipelineHaelwenn (lanodan) Monnier
2021-06-30Merge remote-tracking branch 'pleroma/develop' into remote-deletionsAlex Gleason
2021-06-30Deletions: allow deactivated users to be deletedAlex Gleason
2021-06-09ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressingHaelwenn (lanodan) Monnier
2021-06-08Switch to runtime deps in ActivityPub.SideEffectsAlex Gleason
Speeds up recompilation by reducing compile cycles
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-06-04Pipeline Ingestion: PageHaelwenn (lanodan) Monnier
2021-06-03MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []Haelwenn (lanodan) Monnier
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
2021-06-01Merge remote-tracking branch 'pleroma/develop' into cycles-streamingAlex Gleason
2021-06-01Remove deps from Streaming/Persisting behaviorsAlex Gleason
Speeds up recompilation by limiting compile-time deps
2021-06-01Merge remote-tracking branch 'pleroma/develop' into cycles-constantsAlex Gleason
2021-06-01Merge branch 'cycles-base-url' into 'develop'feld
Deprecate Pleroma.Web.base_url/0 See merge request pleroma/pleroma!3432
2021-06-01Merge branch 'features/validators-note' into 'develop'Haelwenn
Pipeline Ingestion: Note Closes #290 See merge request pleroma/pleroma!2984
2021-05-31Merge remote-tracking branch 'pleroma/develop' into cycles-base-urlAlex Gleason
2021-05-31Deprecate Pleroma.Web.base_url/0Alex Gleason
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-05-31Pleroma.Constants.as_local_public/0 --> ↵Alex Gleason
Pleroma.Web.ActivityPub.Utils.as_local_public/0 Move as_local_public/0 to stop making modules depend on Web at compile-time
2021-05-29Merge remote-tracking branch 'pleroma/develop' into cycles-pipelineAlex Gleason