aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub
AgeCommit message (Collapse)Author
2022-05-31Implement mastodon api for editing statusTusooa Zhu
2022-05-29Implement mastodon api for showing edit historyTusooa Zhu
2022-05-29Allow updating pollsTusooa Zhu
2022-05-29Record edit history for Note and Question UpdatesTusooa Zhu
2022-05-29Handle Note and Question UpdatesTusooa Zhu
2022-05-29Allow Updates by every actor on the same originTusooa Zhu
2022-05-18StealEmojiPolicy: fix String rejected_shortcodesHélène
* rejected_shortcodes is defined as a list of strings in the configuration description. As such, database-based configuration was led to handle those settings as strings, and not as the actually expected type, Regex. * This caused each message passing through this MRF, if a rejected shortcode was set and the emoji did not exist already on the instance, to fail federating, as an exception was raised, swiftly caught and mostly silenced. * This commit fixes the issue by introducing new behavior: strings are now handled as perfect matches for an emoji shortcode (meaning that if the emoji-to-be-pulled's shortcode is in the blacklist, it will be rejected), while still supporting Regex types as before.
2022-05-09Make lint happyTusooa Zhu
Ref: fix-local-public
2022-05-09Allow authenticated users to access local-only posts in MastoAPITusooa Zhu
Ref: fix-local-public
2022-05-08Merge branch 'improve_anti_followbot_policy' into 'develop'Haelwenn
Also use actor_type to determine if an account is a bot in antiFollowbotPolicy Closes #2561 See merge request pleroma/pleroma!3498
2022-05-08Also use actor_type to determine if an account is a bot in antiFollowbotPolicyIlja
2022-05-06Prevent remote access of local-only posts via /objectsTusooa Zhu
Ref: fix-local-public
2022-05-06Show local-only statuses in public timeline for authenticated usersTusooa Zhu
Ref: fix-local-public
2022-05-06Skip cache when /objects or /activities is authenticatedTusooa Zhu
Ref: fix-local-public
2022-03-17Transmogrifier: Use validating regex for "mediaType"Haelwenn (lanodan) Monnier
2022-03-17AttachmentValidator: Use custom ecto type and regex for "mediaType"Haelwenn (lanodan) Monnier
2022-02-25Copyright bump for 2022Sean King
2022-02-01Birthdays: Fix outgoing federation of birth datesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27ForceMentionsInContent: improve display of Markdown postsAlex Gleason
2022-01-26ForceMentionsInContent: don't apply it to top-level postsAlex Gleason
2022-01-26ForceBotUnlistedPolicy: fix to stop unlisting my posts >:(bot
2022-01-25ForceMentionsInContent: don't mention selfAlex Gleason
2022-01-25Merge branch 'recipients-inline' into 'develop'Alex Gleason
ForceMentionsInContent: wrap mentions in a span, fix the formatting See merge request pleroma/pleroma!3620
2022-01-25ForceMentionsInContent: fix order of mentionsAlex Gleason
2022-01-24ForceMentionsInContentTest: return mentions in a not terrible formatAlex Gleason
2022-01-24ForceMentionsInContent: simplify finding usersAlex Gleason
2022-01-24ForceMentionsInContent: wrap inline mentions with span tagAlex Gleason
2022-01-24ForceMentionsInContent: use `to` instead of `tag`Alex Gleason
2022-01-23Birthdays: hide_birthday -> show_birthdaymarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22Merge remote-tracking branch 'origin/develop' into birth-datesAlex Gleason
2022-01-22Birthdays: birth_date --> birthdayAlex Gleason
2022-01-20Merge branch 'private-pins' into 'develop'Alex Gleason
Support private pinned posts from Mastodon See merge request pleroma/pleroma!3611
2022-01-20Support private pinned posts from Mastodonmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-19Add ForceMentionsInContentPolicyrinpatch
Even though latest PleromaFE supports displaying these properly, mobile apps still exist, so I think we should offer a workaround to those who want it.
2022-01-19check if remote bday is validmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-18Birth dates, birthday reminders API, allow instance admins to require ↵marcin mikołajczak
minimum age Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-28Make Move activity federate properlyTusooa Zhu
Ref: emit-move
2021-12-26MastoAPI: Profile directorymarcin mikołajczak
2021-12-23Merge branch 'from/develop/tusooa/2802-propagate-reject' into 'develop'Alex Gleason
Handle Reject for already-accepted Follows properly Closes #2766 and #2802 See merge request pleroma/pleroma!3568
2021-12-19Merge branch 'replies-count' into 'develop'Alex Gleason
Fix replies count for remote replies See merge request pleroma/pleroma!3541
2021-12-17Allow updating accepted follow activities in ↵Tusooa Zhu
Web.ActivityPub.Utils.update_follow_state_for_all/2 Mastodon uses the Reject activity also for the purpose of removing a follower, in addition to reject a follow request. We should also update the original Follow activity in this case.
2021-12-07Merge remote-tracking branch 'origin/develop' into fix-attachment-dimensionsAlex Gleason
2021-12-07AttachmentValidator: ingest width and heightAlex Gleason
2021-12-07Linting.Lain Soykaf
2021-12-07move result into with guardFinn Behrens
2021-11-23Fix replies count for remote repliesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-15Merge branch 'block-behavior' into 'develop'lain
Configurable block visibility, fixes #2123 Closes #2123 See merge request pleroma/pleroma!3242
2021-11-10activity_pub_controller: Fix misleading debug warning in post_inbox_fallbackHaelwenn (lanodan) Monnier
2021-10-10object_validators: Group common fields in CommonValidationsHaelwenn (lanodan) Monnier
Notes: - QuestionValidator didn't have a :name field but that seems like a mistake - `_fields` functions can't inherit others because of some Validators - bto/bcc fields were absent in activities, also seems like a mistake (Well IIRC we don't or barely support bto/bcc anyway)
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`