Arya Khochare
b859ca2d90
errcheck issues fixed ( #28416 )
2024-10-04 09:35:53 +02:00
Devin Binnie
aa85a13c8f
[MM-58492][MM-58523] Fixed some access control bugs around archived channels by replacing the permission check with HasPermissionToReadChannel ( #27409 )
...
* [MM-58492][MM-58523] Fixed some access control bugs around archived channels by replacing the permission check with HasPermissionToReadChannel
* Fix lint, add ChannelId to uploads
* Fix MMCTL tests and remove unnecessary check for the error message that doesn't work anyways
* Include channel map for getting flagged posts
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-07-29 10:05:20 -04:00
enzowritescode
d44c3d5d45
Replace Hard-coded HTTP Verbs with Constants ( #27219 )
...
* Replace hard-coded HTTP verbs with constants in `net/http`
2024-07-15 08:52:03 -06:00
Anna Os
48b047aa0c
[GH-16199] add IsValid to model OpenDialogRequest ( #26526 )
...
* [GH-16199] add IsValid to model OpenDialogRequest
* [GH-16199] add IsValid to model OpenDialogRequest, revert remove of translations
* [GH-16199] fix tests after revert
* [GH-16199] add IsValid to model OpenDialogRequest
* [GH-16199] revert validation of icon url
* [GH-16199] update go sum
* [GH-16199] log warning for invalid dialog
* [GH-16199] log error for invalid dialog
* [GH-16199] log warning for invalid dialog
* [GH-16199] fix golang-ci
---------
Co-authored-by: Lukas Eipert <git@leipert.io >
Co-authored-by: Mattermost Build <build@mattermost.com >
2024-04-30 18:27:07 +02:00
Elias Nahum
aa88f8bf59
Add read_channel_content permission ( #24118 )
...
* Add read_channel_content permission
* fix tests
* update system console default permissions per role
* add read_channel_content to e2e defaultRolesPermissions
* Migration to include custom roles
* change deprecated isNotExactRole for isNotRole
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-31 09:12:53 -04:00
Ibrahim Serdar Acikgoz
2a4de2eecc
Revert "Add read_channel_content permission ( #24018 )" ( #24114 )
...
This reverts commit a19ce047ba .
2023-07-25 13:17:58 +03:00
Elias Nahum
a19ce047ba
Add read_channel_content permission ( #24018 )
...
* Add read_channel_content permission
* fix tests
* update system console default permissions per role
* add read_channel_content to e2e defaultRolesPermissions
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2023-07-24 09:37:59 -04: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
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