| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* reorganize file util functionality
* fix api test compilation
* fix rebase issue
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
|
|
|
|
|
|
|
|
|
|
| |
* Patch for files
* Fix merge
* Fix tests
* Fix another test
|
|
|
|
|
| |
This cleans up the few NewLocAppError calls that crept in since the main
bulk of them were removed, and finally removes the NewLocAppError
function altogether.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Adding SSE to E20
* Fixing UI bug
* Fixing loc strings
|
|
|
|
|
| |
Help from Jason Blais on wording
Update storage_settings.jsx
Update en.json
|
|
|
|
|
|
|
|
|
| |
This is necessary for certain users where
GetBucketLocation API is disabled using IAM
policies. There is a field AmazonS3Region
which we need to re-purpose and use to support
this properly.
Fixes https://github.com/mattermost/platform/issues/6999
|
| |
|
|
|
|
|
|
|
| |
- Used client-side EXIF data to rotate profile picture thumbnails
- Added a small package for correctly translating EXIF orientation into CSS transforms
- Instead of displaying the image using FileReader, used URL.createObjectURL because it is faster
- For upload thumbnails, the original behavior was scaling the entire original image, without accounting for EXIF rotate. I changed this to use the thumbnail image, which does respect rotation.
- The preview image was not available when the upload request returned, because handling the preview image creation was in a goroutine. I used sync.WaitGroup to block until the preview image creation is done.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
width (#6688)
* remove System Console and config settings for image height and width
* add constants and update config.json
* updated as per review
|
|
|
|
|
|
|
| |
Certain S3 compatible servers only use Legacy Signature (AWS
Signature V2), current code only supports signature v4.
This PR adds facility to click a button on the UI to enable
legacy signature with S3 compatible servers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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: /files/{file_id}/link
* updated public link
|
| |
|
|
|
|
|
|
| |
* Implement POST /files endpoint for APIv4
* Implement GET /files/{file_id} endpoint for APIv4
|
| |
|
|
|
|
|
|
| |
* Implement APIv4 infrastructure
* Update parameter requirement functions per feedback
|
| |
|
|
|