aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/uploaders
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-06-01Remove deps from Uploader behaviourAlex Gleason
Speeds up recompilation by limiting compile-time deps
2021-02-04Standardize the way we capture and use Mix.env()Mark Felder
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/>;'
2021-01-08Move construction of S3 base URL with optional namespace and bucket to ↵Mark Felder
Upload.base_url/0 Now we should have a correct base URL for S3 hosted objects throughout the codebase.
2021-01-08Apply Upload.base_url for S3Mark Felder
2020-10-13UploadedMedia module nameAlexander Strizhakov
2020-09-02timeout option moved to gun adapter helperAlexander Strizhakov
2020-09-02improvements and fixes for http requestsAlexander Strizhakov
- fix for gun worker termination in some circumstances - pool for http clients (ex_aws, tzdata) - default pool timeouts for gun - gun retries on gun_down messages - s3 upload timeout if streaming enabled
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-01-12Delete attachments when status is deletedRoman Chvanikov
2020-01-11Remove MDII uploaderHakaba Hitoyo
2019-09-23add tunable for stream uploads, as needed for jortage to work.Rachel Fae Fox
2019-08-10tests for Pleroma.UploadersMaksim
2019-08-10Uploader.S3 added support stream uploadsMaksim
2019-07-18tests for Uploader with webhookMaksim
2019-07-10Wrap error messages into gettext helpersEgor Kislitsyn
2019-07-03Remove Uploaders.SwiftEgor Kislitsyn
2019-05-25kill @httpoisonWilliam Pitcock
2019-05-13Switch to Jason over PoisonMark Felder
2019-03-24add overriding truncated_namespace condition for truncating paths for ↵Austin Lanari
digital ocean
2019-03-13[Credo][CI] Add readability as it’s fixedHaelwenn (lanodan) Monnier
2019-03-13[Credo] fix Credo.Check.Readability.MaxLineLengthHaelwenn (lanodan) Monnier
2019-03-13[Credo] Remove parentesis on argument-less functionsHaelwenn (lanodan) Monnier
2019-02-13bugfix mdii uploaderhakabahitoyo
2019-02-09Credo fixes: parameter consistencyHaelwenn (lanodan) Monnier
2019-01-30Use multiple hackney poolshref
* federation (ap, salmon) * media (rich media, media proxy) * upload (uploader proxy) Each "part" will stop fighting others ones -- a huge federation outbound could before make the media proxy fail to checkout a connection in time. splitted media and uploaded media for the good reason than an upload pool will have all connections to the same host (the uploader upstream). it also has a longer default retention period for connections.
2019-01-23Merge branch 's3-namespace' into 'develop'kaniini
S3 uploader: support for namespaced bucket Closes #532 See merge request pleroma/pleroma!699
2019-01-21Uploader callback controllerhref
2019-01-21S3 Namespacehref
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-09fix compile warningsMaksim Pechnikov
2018-12-04status_code -> statusMaksim Pechnikov
2018-11-30Uploads fun, part. 2href
2018-11-30reverse proxy / uploadshref
2018-11-17fallbacking into local uploaderhakabahitoyo
2018-11-17better config readinghakabahitoyo
2018-11-16better confighakabahitoyo
2018-11-16better extension detectionhakabahitoyo
2018-11-15debughakabahitoyo
2018-11-15formathakabahitoyo
2018-11-15debufHakaba Hitoyo
2018-11-15omplement mdii uploaderHakaba Hitoyo
2018-11-15add mdii uploaderHakaba Hitoyo
2018-11-06Runtime configurationhref
Related to #85 Everything should now be configured at runtime, with the exception of the `Pleroma.HTML` scrubbers (the scrubbers used can be changed at runtime, but their configuration is compile-time) because it's building a module with a macro.
2018-10-29s3 uploader: add new feature to force public attachment URIs to go through ↵William Pitcock
media proxy
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-02[Pleroma.Uploaders.Local]: Add configuration for custom url pathHaelwenn (lanodan) Monnier
One use-case being an external caching proxy
2018-08-30increase uploader behaviour documentation accuracy.Thurloat