summaryrefslogtreecommitdiffstats
path: root/api4/file_test.go
Commit message (Collapse)AuthorAgeFilesLines
* add megacheck as makefile target (#9288)Daniel Schalla2018-09-031-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Fix code issues in channel_test.go Fix Channel Test Issues detected by Megacheck Fix API Emoji Test Issues detected by Megacheck Fixed API Issues Reported by Megacheck Fixed App issues reported by megacheck Remaining fixes removed test added by mistake from old HEAD gofmt Store Fixes simplified returns Fix test for multi member channel delete revert to delete unused function
* Fixing unit tests for Go 1.10 (#8568)Christopher Speller2018-04-031-1/+2
|
* MM-9556 Added ability to upload files without a multipart request (#8306)Harrison Healey2018-02-201-2/+127
| | | | | | * MM-9556 Added ability to upload files without a multipart request * MM-9556 Handled some unusual test behaviour
* more global config ref cleanup (#7802)Chris2017-11-091-6/+5
|
* simplify things (#7735)Chris2017-10-301-3/+3
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-28/+27
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* PLT-7718 Patch for files (#7564)Joram Wilander2017-10-041-0/+9
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* Don't use global app for api / api4 tests (#7528)Chris2017-10-021-8/+8
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-6/+6
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-7/+7
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-3/+5
| | | | | | | | | | | | | | | | | * Prepare file upload infrastructure for Data Retention. This commit prepares the file upload infrastructure for the data retention feature that is under construction. Changes are: * Move file management code to utils to allow access to it from jobs. * From now on, store all file uploads in a top level folder which is the date of the day on which they were uploaded. This commit is based on Harrison Healey's branch, but updated to work with the latest master. * Use NewAppError
* Added unit tests for getFile headers (#7045)Harrison Healey2017-08-081-0/+65
| | | | | | | | | | | | * Added unit tests for getFile headers * Fixed exe type test to run correctly on multiple platforms * Make sure we close the body on all Client4 calls * Changed Response.Response field to Response.Header * Clarified type of Response.Header
* PLT-6760 Allowed TestUploadFile to pass when http client errors (#6985)Harrison Healey2017-07-201-1/+4
|
* PLT-6262 Add config setting to disable file attachments (#6301)Joram Wilander2017-05-041-0/+9
| | | | | | | | | | | | | | * Add config setting to disable file attachments * Add unit tests * Updating UI for no attachments (#6312) * Update UI text on file upload System Console setting (#6313) * Update storage_settings.jsx * Update en.json
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* APIv4: GET /files/{file_id}/public (#5665)Saturnino Abril2017-03-131-0/+74
|
* APIv4: GET /files/{file_id}/info (#5591)Saturnino Abril2017-03-131-0/+67
|
* APIv4: GET /files/{file_id}/preview (#5568)Saturnino Abril2017-03-131-0/+52
| | | patch 1
* Endpoint for APIv4: /files/{file_id}/link (#5607)Saturnino Abril2017-03-111-0/+76
| | | | | | * APIv4: /files/{file_id}/link * updated public link
* Implementation endpoint of APIv4: GET /files/{file_id}/thumbnail (#5553)Saturnino Abril2017-02-281-0/+52
| | | | | | * APIv4: GET /files/{file_id}/thumbnail * added delay time
* Implement upload and get file endpoints for APIv4 (#5396)Joram Wilander2017-02-171-0/+151
* Implement POST /files endpoint for APIv4 * Implement GET /files/{file_id} endpoint for APIv4