summaryrefslogtreecommitdiffstats
path: root/api/file.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1763 from benburkert/non-s3-regionChristopher Speller2016-01-041-2/+16
|\ | | | | support unofficial S3 regions
| * support unofficial S3 regionsBen Burkert2015-12-211-2/+16
| | | | | | | | Adds support for S3 clones like Ceph.
* | Added additional information to getFileInfo api callhmhealey2015-12-181-26/+10
|/
* Added serverside file size check for post attachmentshmhealey2015-12-151-0/+6
|
* Fixed nil pointer when failing to upload an oversized imagehmhealey2015-10-291-1/+1
|
* Prevented image files larger than 4k resolution from being uploadedhmhealey2015-10-261-5/+17
|
* PLT-616: Enable playing of animated GIF in thumbnails and previewFlorian Orben2015-10-211-0/+10
|
* Changed all goroutine functions to use '...AndForget' as the standard naming ↵Reed Garmsen2015-10-191-5/+5
| | | | system
* Fixed download links in Safarihmhealey2015-10-091-2/+2
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Use http writer to automatically set content-type for file gets.JoramWilander2015-10-061-2/+1
|
* Merge release branch 'release-1.0.0'Christopher Speller2015-09-301-1/+1
|\
| * Fixing some locations to use the IsTeamAdmin function which properly checks ↵Christopher Speller2015-09-301-1/+1
| | | | | | | | for system admin permissions.
* | rebaseJack2015-09-281-0/+14
|\|
| * Added headers to getFile requests from Microsoft browsers to trigger a downloadhmhealey2015-09-251-0/+14
| |
* | set transparent png background to whiteJack2015-09-241-1/+10
| |
* | use github.com/disintegration/imagingJack2015-09-231-46/+18
|/
* Changing image settings to file settings=Corey Hulen2015-09-231-32/+32
|
* Merge branch 'master' into PLT-11-email=Corey Hulen2015-09-221-1/+2
|\
| * fix conflictJack2015-09-221-11/+86
| |\
| * | go fmtJack2015-09-171-1/+1
| | |
| * | content type for getFileJack2015-09-171-1/+2
| | |
* | | Adding service settings to admin console=Corey Hulen2015-09-221-2/+2
| | |
* | | Adding team settings to admin console=Corey Hulen2015-09-221-1/+1
| | |
* | | Adding image properties=Corey Hulen2015-09-211-31/+31
| |/ |/|
* | Added constants for EXIF orientationshmhealey2015-09-211-9/+31
| |
* | PLT-173 Changed thumbnails and previews to generate correctly for images ↵hmhealey2015-09-181-11/+64
|/ | | | with a non-standard orientation
* Adding gofmt to travis buildChristopher Speller2015-09-171-1/+1
|
* Blank Content-Type for file GETs.JoramWilander2015-09-141-0/+1
|
* Adding ability to export data from mattermostChristopher Speller2015-09-041-0/+42
|
* MM-2033 fixes img showing infinity progress=Corey Hulen2015-08-271-0/+1
|
* Fixes mm-1912 move get file info into its own web service call=Corey Hulen2015-08-241-7/+69
|
* Changed post drafts to maintain a store a unique id for each file upload to ↵hmhealey2015-08-101-1/+7
| | | | fix issues with duplicate file names
* Drawing all images onto a white background, thus removing transparencynickago2015-08-041-0/+8
|
* image thumbnails now scale appropriately so there is no whitespace, also ↵JoramWilander2015-07-311-3/+10
| | | | generalized some thumbnail loading code
* Changed file API to not write response data on a HEAD requesthmhealey2015-07-291-1/+4
|
* Allow file access apis to respond to HEAD requestshmhealey2015-07-291-1/+1
|
* Allow users to download file attachments with names that don't include a ↵hmhealey2015-07-281-1/+1
| | | | file extension
* Change image rescaling algorithm back to Lanczos3 now that it works ↵hmhealey2015-07-241-2/+2
| | | | correctly in all cases
* fixed unit tests to work with team domain changes and update partial url ↵JoramWilander2015-07-211-6/+5
| | | | regex for files
* added sanitization to filenames to remove the possibility of relative pathsJoramWilander2015-07-211-3/+5
|
* add proper url encoding for filenamesJoramWilander2015-07-211-1/+4
|
* update file unit testsJoramWilander2015-07-211-6/+4
|
* initial implementation of local server storage for filesJoramWilander2015-07-211-72/+97
|
* Old files are saved with full paths, this changes so that new files are not ↵Christopher Speller2015-07-211-1/+1
| | | | saved with absolute paths and detects old files saved and fixes them.
* Changing the way we mattermost handles URLs. team.domain.com becomes ↵Christopher Speller2015-07-201-3/+3
| | | | | | | domain.com/team. Renaming team.Name to team.DisplayName and team.Domain to team.Name. So: team.Name -> url safe name. team.DisplayName -> nice name for users
* Revert "MM-1494 Change image resizing for preview and thumbnail to use ↵Joram Wilander2015-07-161-3/+3
| | | | Lanczos interpolation"
* Changed image resizing for both the preview and thumbnail to use Lanczos ↵hmhealey2015-07-141-3/+3
| | | | interpolation instead of simple nearest neighbour
* Fixed bmp image previewing/uploading by adding new go image libraryReed Garmsen2015-06-221-0/+1
|
* fixes mm-1245 filenames are now url escapedJoramWilander2015-06-151-1/+1
|