Commit Graph

49 Commits (846082e54fcb9dceda476282c54d8cd36986203c)

Author SHA1 Message Date
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
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'
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)
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'
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
eal 18a95cd375 Add common video and audio types.
7 years ago
eal 260b148b92 Use headers for file content type recognition.
7 years ago
eal e942e1e552 Correct mimetype on bad uploads.
7 years ago
Roger Braun a32784fe6d Cowboy and Elixir don't seem to agree on uri encoding...
7 years ago
Roger Braun 9c35456d77 URI encode filenames...
7 years ago
dtluna 6cf7c13228 Refactor code to comply with credo suggestions
8 years ago
Roger Braun 7617a593b9 Support data uris in uploads.
8 years ago
Roger Braun 4a6d48b0fe Return mimetype with attachment.
8 years ago
Roger Braun d18473f0c3 Add port if specified.
8 years ago
Roger Braun e7dc39e40c Basic file uploading via TwAPI.
8 years ago
Roger Braun 08fdbd6f3a Add Uploads.
8 years ago