feld
84fca14c3c
Do not prepend /media/ when using base_url
...
This ensures admin has full control over the path where media resides.
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
...
users to enable both strip and auto-orient
6 years ago
lambda
646bb87816
Merge branch 'fix/elixir-1-8-type-annotation' into 'develop'
...
Fix Elixir 1.8 type annotation issue
Closes #523
See merge request pleroma/pleroma!668
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
...
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.
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.
...
defaulting to :ok, since that's the currently level of error handling.
6 years ago
Thurloat
2ff25ac0ce
A hobbldey-working swift client.
...
apparently, all elixir openstack libraries are trash
luckily, the APIs are stupid easy.
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
...
run formatter <#
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
William Pitcock
1596185ac6
upload: add the S3 support itself
6 years ago
William Pitcock
86c007ddd2
upload: strip exif data before finalizing the file path
6 years ago
kaniini
8dc715b30b
Merge branch 'fix/normalize-file-extension' into 'develop'
...
Normalize file extension for uploaded files
Closes #218
See merge request pleroma/pleroma!233
6 years ago
Tristan Mahé
bc2668bb63
Merge remote-tracking branch 'upstream/develop' into feature/filter_exif
6 years ago
William Pitcock
f10291a1d3
upload: use generic Document object type instead of Image (mastodon compatibility)
...
Mastodon does not use the object name as alt text when the object is an Image.
6 years ago
Tristan Mahé
dc8ace29d1
use the correct end file
6 years ago
Tristan Mahé
ca63585a32
maybe I should learn proper elixir ;D
6 years ago
Tristan Mahé
d8d43f1173
do the filtering
6 years ago
Tristan Mahé
c67cf8e9af
format...
6 years ago
Tristan Mahé
cb21bf5fc2
filter exif data #187
6 years ago
Francis Dinh
082920044a
Normalize file extension for uploaded files
6 years ago
lambda
de20c8d620
Merge branch 'fix/missing-file-extension' into 'develop'
...
Add missing file extension if file does not have one
See merge request pleroma/pleroma!222
6 years ago
Francis Dinh
0a95b5594b
Add missing file extension if file does not have one
6 years ago
eal
12c7a023de
upload.ex: add MPEG Layer 3 file header.
6 years ago
Sir_Boops
3f0440ac3c
Dedupe uploads
6 years ago
RX14
033771d9f1
Fix failure to serve media from custom upload path
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
eal
286f6698ee
Detect file type if none given.
7 years ago