aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-09-28activitypub: don't fall back to OStatus fetching when MRF rejects an objectWilliam Pitcock
2018-09-28activitypub inbox: only accept unsigned/invalid-signature relayed creates, ↵William Pitcock
nothing else although the previous handling assumed any unsigned/invalid signature message was a Create, lets make it more explicit
2018-09-27transmogrifier: get_actor called without casting attributedTo in actor and ↵Haelwenn (lanodan) Monnier
actor is nil
2018-09-27transmogrifier: Just make attachement maps into a list and rerollHaelwenn (lanodan) Monnier
2018-09-27transmogrifier: Use the correct variable and prefer inspect in case of a bad ↵Haelwenn (lanodan) Monnier
type being passed on
2018-09-27transmogrifier: more robustly handle dereferencing pointer URIsWilliam Pitcock
2018-09-27transmogrifier: Use oneliners when applicableHaelwenn (lanodan) Monnier
2018-09-27transmogrifier: reformat `cond` block by handWilliam Pitcock
2018-09-27transmogrifier: Add support for array-less hashtags, add broken announce, ↵Haelwenn (lanodan) Monnier
harden get_actor
2018-09-27transmogrifier: pro-actively add support for Hashtag without array in tagHaelwenn (lanodan) Monnier
2018-09-27transmogrifier: Use a cond, add proactive support for arraysHaelwenn (lanodan) Monnier
2018-09-27[Pleroma.Web.ActivityPub.Transmogrifier]: quick fix when tag is a MapHaelwenn (lanodan) Monnier
2018-09-27[Pleroma.Web.ActivityPub.Transmogrifier]: fix emoji in tag when it’s not ↵Haelwenn (lanodan) Monnier
in a array [kroeg] Also simplified the code for name trimming. And not copying the Map.merge part as it looks buggy. See: https://queer.hacktivis.me/objects/a9f21ebc-9a12-4a6c-89d5-3d46955c6ee8
2018-09-27[Pleroma.Web.ActivityPub.Transmogrifier]: fix when attachment contain is ↵Haelwenn (lanodan) Monnier
just a Map [kroeg]
2018-09-27[Pleroma.Web.ActivityPub.Transmogrifier]: Fix when inReplyTo is a inlined ↵Haelwenn (lanodan) Monnier
post [kroeg]
2018-09-27[Pleroma.Web.ActivityPub.ActivityPub]: Harden getting endpoints [kroeg]Haelwenn (lanodan) Monnier
2018-09-24Uploaders.S3: Replace unsafe characters in object keyMartin Kühl
According to [the S3 docs][s3], the characters safe for use in object keys are: * 0-9 * a-z * A-Z * ! * - * _ * . * * * ' * ( * ) (The / character is not listed but mentioned being safe outside of the list.) Several characters that are valid in filenames can cause problems, for example spaces are not valid in URLs and need to be escaped, sequences of spaces can become squeezed by S3, some characters like \ are documented to require “significant special handling”. To avoid these problems, this change encodes the filename before using it as part of the S3 object name by replacing all characters except those documented as “safe” with dashes. [s3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
2018-09-22html: twittertext: add missing catchall scrub functionWilliam Pitcock
2018-09-22twitter api: add no_rich_text option to userview for account prefsWilliam Pitcock
2018-09-22mastodon api: formattingWilliam Pitcock
2018-09-22twitter api: add support for disabling rich textWilliam Pitcock
2018-09-22mastodon api: add support for user-supplied html policyWilliam Pitcock
2018-09-22twitter api: add support for user-specified html policyWilliam Pitcock
2018-09-22user: add User.html_filter_policy()William Pitcock
2018-09-22html: default to using normal scrub policy if provided scrub policy is nilWilliam Pitcock
2018-09-21Merge branch 'feature/dynamic-user-refresh' into 'develop'kaniini
user: implement dynamic refresh of profiles See merge request pleroma/pleroma!350
2018-09-20Merge branch 'task-204-on-options-request' into 'develop'kaniini
Return 204 response on options request See merge request pleroma/pleroma!347
2018-09-20mix: remove fix_ap_users task, now obsoleteWilliam Pitcock
2018-09-20user: implement dynamic refresh of profiles (gets rid of need for ↵William Pitcock
fix_ap_users task)
2018-09-20[Pleroma.Web.MastodonAPI.MastodonAPIController]: Bump mastodon_api_level to ↵Haelwenn (lanodan) Monnier
2.5.0
2018-09-20[Pleroma.Web.MastodonAPI.MastodonAPIController]: Remove unused variablesHaelwenn (lanodan) Monnier
2018-09-20[Pleroma.Web.Router]: Fake /api/v1/endorsementsHaelwenn (lanodan) Monnier
2018-09-20[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed ↵Haelwenn (lanodan) Monnier
value (false)
2018-09-20[Pleroma.Web.MastodonAPI.StatusView] add replies_countHaelwenn (lanodan) Monnier
2018-09-19twitter api: fix mimetype fallback when attachments use a URI instead of a ↵William Pitcock
URL object
2018-09-19mastodon api: default attachment type to image if one is not presentWilliam Pitcock
2018-09-18Revert "Mastodon API: Fake support for loading filters"Martin Kühl
This reverts commit c1d07da4e18cc2acd11a5a131e1482aec5996552. The fake support was superseded by 6e030129fb33926e6a5bd75c27af6f657f9da2a5 which actually implements the faked filters API. This change removes the fake support and ensures that the actual implementation is used.
2018-09-17Return 204 response on options requestDominique Feyer
2018-09-16html: add policy which transforms inline images to pass through the media proxyWilliam Pitcock
2018-09-16html: allow scrubbing policies to be stackableWilliam Pitcock
2018-09-16MRF: add policy for normalizing HTML markup (local and remote) to a specific ↵William Pitcock
policy
2018-09-16html: add the ability to override the default scrub policyWilliam Pitcock
2018-09-16Merge branch 'feature/html-scrub-policy' into 'develop'kaniini
html scrub policy See merge request pleroma/pleroma!339
2018-09-10Add visible_in_picker to status emojisshadowfacts
2018-09-10activitypub: transmogrifier: allow profile updates from botsWilliam Pitcock
2018-09-10MRF: reject non-public: use pattern match to remove unnecessary if blockWilliam Pitcock
2018-09-10MRF: simple policy: refactor module to use guards and pattern matchingWilliam Pitcock
2018-09-10MRF: simple policy: contain media removal/nsfw ops to create activities onlyWilliam Pitcock
2018-09-10formattingWilliam Pitcock
2018-09-10html: allow inline images by default (because of custom emoji)William Pitcock