Commit Graph

79 Commits (5ae27c8451a7012b43ef9113713132158701364b)

Author SHA1 Message Date
feld 2926713fe5 Merge branch 'deprecate-public_endpoint' into 'develop'
4 years ago
Mark Felder f0ab60189e truncated_namespace should default to nil
4 years ago
Haelwenn (lanodan) Monnier c4439c630f
Bump Copyright to 2021
4 years ago
Mark Felder c35e6fb516 Provide a non-nil fallback for Upload.base_url/0 for tests using TestUploaderSuccess as the uploader
4 years ago
Mark Felder 12528edc34 Fix another ad-hoc construction of the upload base_url
4 years ago
feld fa63f1b55b Apply 4 suggestion(s) to 2 file(s)
4 years ago
Mark Felder e8bf060e6e Move construction of S3 base URL with optional namespace and bucket to Upload.base_url/0
4 years ago
Mark Felder 530fb5b29e Avoid duplicate Config calls
4 years ago
Mark Felder ad79983614 Fix URL generated for backup files, try to create a source of truth we can reuse throughout the codebase
4 years ago
Mark Felder 55562ca936 Merge branch 'develop' into feature/gen-magic
4 years ago
lain aabc26a573 Pleroma.Upload: Set default upload name / description based on config.
4 years ago
lain af7720237b Upload: Restrict description length
4 years ago
href f124f68205 Switch from gen_magic to majic, use Majic.Plug, remove Pleroma.MIME
4 years ago
lain cc0d462e91 Attachments: Have the mediaType on the root, too.
4 years ago
Egor Kislitsyn 6802dc28ba
Add OpenAPI spec for PleromaAPI.AccountController
4 years ago
Mark Felder 05da5f5cca Update Copyrights
5 years ago
Alexander Strizhakov 32d1e04817
ActivityPub actions & side-effects in transaction
5 years ago
Haelwenn (lanodan) Monnier 3c6fd0bb99
upload.ex: Remove deprecated configuration
5 years ago
feld 84fca14c3c Do not prepend /media/ when using base_url
5 years ago
Haelwenn (lanodan) Monnier 69a5074893
Remove H1 in @moduledoc
5 years ago
rinpatch e2fe796c63 Add some tests
6 years ago
rinpatch 5a73cae2be WIP: Stop mangling filenames
6 years ago
rinpatch 4263edc9c9 Properly escape reserved URI charachters in upload urls
6 years ago
Haelwenn (lanodan) Monnier 106f4e7a0f
Credo fixes: parameter consistency
6 years ago
Mark Felder 0c08bd4181 Update Mogrify docs and warning for deprecated syntax to encourage
6 years ago
lambda 646bb87816 Merge branch 'fix/elixir-1-8-type-annotation' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 9fcdca1bdc
Upload: Fix uploading with a : in the filename
6 years ago
Haelwenn (lanodan) Monnier e3eb75bd23
Upload: Fix uploading with a ? in the filename
6 years ago
Maxim Filippov e8eff9fe03 Fix Elixir 1.8 type annotation issue
6 years ago
Shadowfacts 42b7584068
URI escape file upload URLs
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
href 65e7307d68
Upload: bring back base_url
6 years ago
href 5d92431350
Fix deprecation warnings
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
rinpatch 0d229613df Fix lint error
6 years ago
rinpatch 7f20a3cf1f Add Theora detection to upload.ex
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
William Pitcock fa483cd7c2 upload: add new optional argument designating an upload size limit
6 years ago
Thurloat af01f0196a Add backend failure handling with :ok | :error so the uploader can handle it.
6 years ago
Thurloat 2ff25ac0ce A hobbldey-working swift client.
6 years ago
Thurloat 9fc20ed572 works now, tested with profile photo upload on local backend.
6 years ago
Thurloat dad39b24a1 add the behaviour, work on actually making it work.
6 years ago
Thurloat 8d2d7a8859 Implement uploader behaviour
6 years ago
Thurloat 0df558a6a5 cleaning up a bit.
6 years ago
Thurloat 709816a0f8 example of flexible storage backends
6 years ago
William Pitcock d22f66655b upload: formatting
6 years ago