Ben Schumacher
9b5d8d52bf
[MM-62427] Add message attachments validation ( #30180 )
...
* Add message attachments validation
* Add props validation
* Validate slack attachment fields
* Update tests and library usage
* Improve interactive dialog error for length checks
* Allow predefined colors for slack attachments
* Fix TestPostAction
* Use const for data source
* Add tests
* Cleanup unused props
* Add happy path tests
* lint fixes
* Add validation for PostActionOptions
2025-03-20 12:53:50 +01:00
Ibrahim Serdar Acikgoz
a8cf496e31
[MM-61213] Limit file size for slack import file uploads ( #28904 )
2024-10-24 19:06:14 +02:00
Aswath S
dc8fc773dc
MM-55733 add request context to Channelstore.Save method ( #26141 )
2024-02-24 13:08:51 +01:00
Aditya Pratap Singh Hada
6541708a93
[MM-55735] Add Request Context to PostStore.Save ( #26048 )
2024-02-20 17:07:20 +01:00
Trang
f130615011
[MM-55737] Add Request Context to UserStore.Save ( #26109 )
2024-02-16 17:12:49 +01:00
Ben Schumacher
b2ec1ff8ae
[MM-55595] Use annotated logger in search layer ( #25468 )
2023-12-04 18:34:57 +01:00
Ben Schumacher
b0bf5d0765
[MM-55053] Use request-specific logger in channels/app/file.go ( #25037 )
2023-11-07 10:04:16 +01:00
Ben Schumacher
5d3ba7483b
[MM-53057] Disallow malformed channel names for DMs ( #24404 )
2023-10-24 15:08:14 +02:00
Ben Schumacher
aad25be4e1
[MM-54434] Use job.Logger to capture ldap logs ( #24493 )
2023-10-06 22:43:21 +02:00
Ben Schumacher
30b12f199b
[MM-54132] Use annotated logger for log messages from jobs ( #24275 )
2023-09-07 08:50:22 +02: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
Matthew Straughn
2e449413e8
fixed initialism errors in accordance with golang conventions in 7 files. ( #24287 )
2023-08-22 10:15:51 +03: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
56b18ca7bf
MM-45956: Optimize FileInfo stats query ( #22603 )
...
* MM-45956: Optimize FileInfo stats query
We Denormalize Post.ChannelId on FileInfo.ChannelId
```release-note
The file info stats query is now optimized by denormalizing the channelID column into the table itself. This will speed up the query to get the file count for a channel on clicking the RHS.
Migration times:
On a MySQL 8.0.31 DB with
1405 rows in FileInfo and 11M posts, it took around 0.3s
On a Postgres 12.14 DB with
1731 rows in FileInfo and 11M posts, it took around 0.27s
```
https://mattermost.atlassian.net/browse/MM-45956
2023-03-23 22:14:04 +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