summaryrefslogtreecommitdiffstats
path: root/app/file_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Feature/fileinfo create copy (#9198)dmitrysamuylovpharo2018-08-021-0/+31
| | | | | | | | * Initial implementation of a CopyFileInfos function that creates new FileInfo objects copied from provided FileIds with the provided user as the creator and not linked to a post yet. This can subsequently be used to copy existing attachments from another post to attach to a new post without having to re-upload the actual files * added a unit test for the CopyFileInfos function * resolving pull request suggestions
* MM-8708 Remove api package (#8784)Joram Wilander2018-05-161-0/+61
| | | | | | | | | | | | | | | | | | | | | | * Remove api package * Remove api dependency from cmd package * Remove EnableAPIv3 setting * Update web tests * Add more websocket tests * Move some ws and oauth tests to api4 package * Move command tests into api4 package * Test fixes * Fix msg command test * Add some app file tests
* Reorganize file util functionality (#7848)Chris2017-11-161-5/+4
| | | | | | | | * reorganize file util functionality * fix api test compilation * fix rebase issue
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-0/+1
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* PLT-7718 Patch for files (#7564)Joram Wilander2017-10-041-0/+14
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* Remove global app references (#7433)Chris2017-09-121-8/+7
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-2/+2
|
* app type transition (#7167)Chris2017-09-061-7/+8
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-251-0/+55
| | | | | | | | | | | | | | | | | * 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
* 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
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-0/+33