Ben Schumacher
612e4458ef
[MM-55409] Enable revive linter on enterprise code ( #25391 )
2023-11-10 15:24:12 +01:00
Ben Schumacher
c7461751f2
Use request.CTX instead of *request.Context ( #24877 )
...
* Use request.CTX instead of *request.Context
* Fix tests
2023-10-30 16:33:37 +01:00
Ben Schumacher
aad25be4e1
[MM-54434] Use job.Logger to capture ldap logs ( #24493 )
2023-10-06 22:43:21 +02: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