Christopher Poile
737bed311c
MM-60115, MM-62436, MM-62493: Compliance export downloads from local and s3; e2e tests ( #29806 )
...
* add ZipReader method to filestore and file/s3 backends
to merge
to merge
* add WriteStreamResponse as an alternative to WriteFileResponse
* add generated layers
* enable download link; download job endpoint now streams export dir zips
* fix MM-62493
* re-enable e2e tests--we have download links, folks
* Add tests for ZipReader in filestore and s3store
* remove unnecessary error return on ZipReader
* little cleanup
* improve tests; some refactoring: s.Nil(err) -> s.NoError(err)
* blank commit
* backwards compatability for pre-10.5 job downloads
* compress file response; better errors; better comments; PR comments
* update generated app layers
* improve/widen tests; improve comments; simplify localstore ZipReader
* regenerate layers
* follow GoDoc conventions
* update generated layers
* remove unnecessary comment
* in jobs/job-id/download, clean exportDir before sending to ZipReader
* better comments; add an error return on ZipReader
* improve file permissions
* adjust tests for new error returns
* linting
* i18n
2025-01-27 09:28:07 +05:30
Nadav Tasher
5e47c97db4
Added support for S3 storage classes ( #28319 )
...
* Added support for S3 storage classes
* Added missing translations for S3 storage class
* Changed default storage class values to preserve original behaviour
* Changed storage class description and example
* Fix translations ordering
* Change configuration defaults to empty strings
* Remove redundant empty string check
* Validate storage class variable against constants from S3 API docs
* Validate export storage class against constants
* Use slices for config validation
* Applied patch for translation ordering
2024-11-13 12:29:44 +05:30
Claudio Costa
bc6182229b
Make S3 upload part size configurable ( #26533 )
2024-04-05 07:20:48 -06:00
Ben Schumacher
612e4458ef
[MM-55409] Enable revive linter on enterprise code ( #25391 )
2023-11-10 15:24:12 +01:00
Ben Schumacher
b2f36c7cdf
[MM-54318] Add file storage information to support package ( #24474 )
...
* Reorder stats in support package struct
* Add file storage information to support package
* Add clusterID
* Change method name to DriverName
* Ordering
* Fix test
2023-09-06 09:21:25 +02:00
Julien Tant
d1691833ad
[MM-53881] Make sure export filestore won't use bifrost ( #24169 )
2023-08-02 09:44:20 -07:00
Jesse Hallam
933b0eb89c
MM-53877: fix export config settings ( #24167 )
...
* wip test
* test and use Export* config correctly
2023-08-02 10:24:52 -03:00
Julien Tant
077c16ef61
[MM-53454] Add export file settings + slash command for public link ( #23915 )
...
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-19 13:01:39 -07:00
Agniva De Sarker
efaa6264cc
MM-53032: Fix module path after repo rename ( #23689 )
...
It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.
https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.
For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
2023-06-11 10:54:35 +05:30
Jesse Hallam
bb02b35048
Expose public/ API as submodule ( #23345 )
...
* model -> public/model
* plugin -> public/plugin
* public/model/utils -> public/utils
* platform/shared/mlog -> public/shared/mlog
* platform/shared/i18n -> public/shared/i18n
* platform/shared/markdown -> public/shared/markdown
* platform/services/timezones -> public/shared/timezones
* channels/einterfaces -> einterfaces
* expose public/ submodule
* go mod tidy
* .github: cache-dependency-path, setup-go-work
* modules-tidy for public/ too
* remove old gomodtidy
2023-05-10 13:07:02 -03:00
Jesse Hallam
f28a2bcca7
server/public/ -- pre-requisite changes ( #23278 )
...
* invert depdendency: filestore -> model
* markdown: nolint:misspell
* inline jsonutils within model
* push model.GetInfoForBytes -> channels/app
* push channel/utils.CompileGo* -> plugin/utils
* push plugin/scheduler -> channels/jobs/plugins
* push utils.Copy(File|Dir) -> model
* oauthproiders/gitlab -> channels/app/oauthproviders/gitlab
* decouple plugin from einterfaces.MetricsInterface
* fix TestGetInfoForFile
* Revert "Run golangci in server CI (#23240 )"
This reverts commit 349e5d4573 .
* add model/utils
---------
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2023-05-09 13:30:02 -03:00
Doug Lauder
c943ed6859
Mono repo -> Master ( #22553 )
...
Combines the following repositories into one:
https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00