Doug Lauder
2d1135ca46
Shared channels plugin APIs for MS Teams plugin ( #25805 )
...
New plugin APIs and hooks for accessing Shared Channels service via plugin.
- RegisterPluginForSharedChannels(opts model.RegisterPluginOpts) (remoteID string, err error)
- UnregisterPluginForSharedChannels(pluginID string) error
- ShareChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
- UpdateSharedChannel(sc *model.SharedChannel) (*model.SharedChannel, error)
- UnshareChannel(channelID string) (unshared bool, err error)
- UpdateSharedChannelCursor(channelID, remoteID string, cusror model.GetPostsSinceForSyncCursor) error
- SyncSharedChannel(channelID string) error
- InviteRemoteToChannel(channelID string, remoteID string, userID string) error
- UninviteRemoteFromChannel(channelID string, remoteID string) error
Hooks
- OnSharedChannelsSyncMsg(msg *model.SyncMsg, rc *model.RemoteCluster) (model.SyncResponse, error)
- OnSharedChannelsPing(rc *model.RemoteCluster) bool
2023-12-22 17:00:27 -05:00
Doug Lauder
8bf9e4c481
Prep for MS Teams plugin API ( #25565 )
...
* - columns added to ShareChannelRemotes: lastpostcreateat, lastpostupdateat
- SyncMsg and SyncResponse moved to `model` package
- field added to RemoteCluster struct: PluginID
* sync new posts before updated posts to ensure post order in MS Teams
* add plugid to remoteclusters table and store
* don't sync history by default
2023-12-04 13:10:20 -05:00
Ben Schumacher
b2ec1ff8ae
[MM-55595] Use annotated logger in search layer ( #25468 )
2023-12-04 18:34:57 +01:00
Doug Lauder
ce7259ddc5
fix mung of usernames on collision in shared channels; tilde is not a valid character ( #25575 )
2023-12-01 17:33:13 +01:00
Doug Lauder
57a87d8ca5
Fix username collision for shared channels sync update ( #25578 )
...
* fix username collision for shared channels sync update
* ensure both return types are handled
* remove unused interface
2023-12-01 17:32:14 +01:00
Ben Schumacher
c395ec6245
[MM-55990] Logger improvements for tests ( #25467 )
2023-11-30 10:47:04 +01:00
Ben Schumacher
e99ded1635
[MM-55480] Update logr to v2.0.21 ( #25431 )
2023-11-23 10:30:08 +01:00
Ben Schumacher
274adbf077
Reduce usage of mlog.Any ( #25180 )
2023-11-01 12:57:13 +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
Felipe Martin
9f7521d003
Move request package into public/shared folder ( #24420 )
...
* move request package to public/shared
* updated app-layers
* update app layer
* remove original package location
2023-09-05 09:47:30 +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
Agniva De Sarker
b200a07881
v8.0 module release ( #22975 )
...
https://mattermost.atlassian.net/browse/MM-52079
```release-note
We upgrade the module version to 8.0. The new module path is github.com/mattermost-server/server/v8.
```
Co-authored-by: Doug Lauder <wiggin77@warpmail.net >
2023-04-18 11:05:28 +05:30
Agniva De Sarker
bcf115e315
Upgrade mockery to fix errors ( #22892 )
...
Mockery started to throw errors like "Unexpected package creation during export data loading".
This was consistently reproducible locally and on upgrade, it has gone away.
```release-note
NONE
```
2023-04-10 14:20:57 +05:30
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