aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/upload.ex
AgeCommit message (Collapse)Author
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-14Support blurhashAlex Gleason
2021-05-12Add SetMeta filter to store uploaded image sizesAlex Gleason
2021-01-20Merge branch 'deprecate-public_endpoint' into 'develop'feld
Deprecate Uploaders.S3, :public_endpoint See merge request pleroma/pleroma!3251
2021-01-13truncated_namespace should default to nilMark 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-12Provide a non-nil fallback for Upload.base_url/0 for tests using ↵Mark Felder
TestUploaderSuccess as the uploader
2021-01-12Fix another ad-hoc construction of the upload base_urlMark Felder
2021-01-10Apply 4 suggestion(s) to 2 file(s)feld
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-08Avoid duplicate Config callsMark Felder
2021-01-08Fix URL generated for backup files, try to create a source of truth we can ↵Mark Felder
reuse throughout the codebase
2020-09-10Merge branch 'develop' into feature/gen-magicMark Felder
2020-08-18Pleroma.Upload: Set default upload name / description based on config.lain
2020-07-06Upload: Restrict description lengthlain
2020-06-16Switch from gen_magic to majic, use Majic.Plug, remove Pleroma.MIMEhref
2020-05-21Attachments: Have the mediaType on the root, too.lain
2020-05-13Add OpenAPI spec for PleromaAPI.AccountControllerEgor Kislitsyn
2020-03-03Update CopyrightsMark Felder
2020-03-01ActivityPub actions & side-effects in transactionAlexander Strizhakov
2019-10-18upload.ex: Remove deprecated configurationHaelwenn (lanodan) Monnier
2019-07-24Do not prepend /media/ when using base_urlfeld
This ensures admin has full control over the path where media resides.
2019-05-06Remove H1 in @moduledocHaelwenn (lanodan) Monnier
2019-03-14Add some testsrinpatch
2019-03-12WIP: Stop mangling filenamesrinpatch
2019-03-05Properly escape reserved URI charachters in upload urlsrinpatch
2019-02-09Credo fixes: parameter consistencyHaelwenn (lanodan) Monnier
2019-02-03Update Mogrify docs and warning for deprecated syntax to encourageMark Felder
users to enable both strip and auto-orient
2019-01-15Merge branch 'fix/elixir-1-8-type-annotation' into 'develop'lambda
Fix Elixir 1.8 type annotation issue Closes #523 See merge request pleroma/pleroma!668
2019-01-15Upload: Fix uploading with a : in the filenameHaelwenn (lanodan) Monnier
2019-01-15Upload: Fix uploading with a ? in the filenameHaelwenn (lanodan) Monnier
2019-01-15Fix Elixir 1.8 type annotation issueMaxim Filippov
2019-01-14URI escape file upload URLsShadowfacts
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-10updatesMaksim Pechnikov
2018-12-09fix compile warningsMaksim Pechnikov
2018-11-30Upload: bring back base_urlhref
2018-11-30Fix deprecation warningshref
2018-11-30Uploads fun, part. 2href
2018-11-30reverse proxy / uploadshref
2018-11-27 Fix lint errorrinpatch
2018-11-27Add Theora detection to upload.exrinpatch
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-29upload: add new optional argument designating an upload size limitWilliam Pitcock
2018-08-29Add backend failure handling with :ok | :error so the uploader can handle it.Thurloat
defaulting to :ok, since that's the currently level of error handling.
2018-08-28A hobbldey-working swift client.Thurloat
apparently, all elixir openstack libraries are trash luckily, the APIs are stupid easy.
2018-08-28works now, tested with profile photo upload on local backend.Thurloat
2018-08-28add the behaviour, work on actually making it work.Thurloat