Claudio Costa
6b08de10bb
Fix possible race ( #18328 )
2021-09-07 19:14:29 +02:00
Claudio Costa
aaeaaf716b
Fix flaky TestCreateDefaultMemberships ( #18330 )
2021-09-07 19:09:48 +02:00
Elisabeth Kulzer
b41b7eae10
Adjust values waiting for webapp. ( #18345 )
...
* Check curl version
* Add todo for future curl version. Fix the command.
* Implement proper looping so npm build case could be executed. And test it.
Co-authored-by: Claudio Costa <cstcld91@gmail.com >
2021-09-06 14:53:46 +02:00
Claudio Costa
57075c9cc0
Fix stopping mattermost server ( #18337 )
2021-09-06 10:04:32 +02:00
Weblate (bot)
0367492310
Translations update from Weblate ( #18344 )
...
* Translated using Weblate (Russian)
Currently translated at 96.7% (2223 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
Translated using Weblate (Hungarian)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
Translated using Weblate (Hungarian)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
* Translated using Weblate (German)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (German)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Swedish)
Currently translated at 99.8% (2297 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
Translated using Weblate (Swedish)
Currently translated at 99.8% (2297 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
* Translated using Weblate (English (Australia))
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
Translated using Weblate (English (Australia))
Currently translated at 100.0% (2300 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
* Translated using Weblate (French)
Currently translated at 94.3% (2170 of 2300 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
Co-authored-by: Vladislav Moiseev <v.moiseev94@gmail.com >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: jprusch <rs@schaeferbarthold.de >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr >
2021-09-06 09:26:19 +02:00
Elisabeth Kulzer
6dbac6b837
Fix trap ( #18338 )
...
* Fix trap
* Fix trap by removing trap.
2021-09-06 09:13:39 +02:00
Sorawis Nilparuk (Bo)
f2c955b3d3
Gh 13908 fix bot missing username error ( #17854 )
...
Automatic Merge
2021-09-03 10:29:01 +02:00
Claudio Costa
236d46ecc6
[MM-38321] Fix possible panics during license validation ( #18333 )
...
* Fix possible panics during license validation
* Return error if non 2xx code is returned by trial request server
2021-09-02 18:57:18 +02:00
Agniva De Sarker
21a53320d3
Migrating bot store to use sqlx ( #18300 )
...
https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=5da060fd-8fbc-449d-8219-c73a9dd0bd7c
```release-note
NONE
```
2021-09-02 17:08:11 +02:00
Amy Blais
22b33c625b
Update en.json ( #18305 )
...
Automatic Merge
2021-09-02 15:29:02 +02:00
Agniva De Sarker
eaa6113cb4
Use new mattermost-govet ( #18329 )
...
```release-note
NONE
```
2021-09-02 13:36:20 +05:30
Elisabeth Kulzer
42e75fad4d
Fix test schema docker-compose exec exit problem ( #18327 )
...
* Fix schema tests exiting early by replacing docker-compose exec with docker exec.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-09-01 17:35:17 +02:00
Zef Hemel
fbaf4cca6e
Revert "removes the global header feature flag and default value ( #18304 )" ( #18324 )
...
This reverts commit 9fb8de7318 .
2021-09-01 14:54:44 +02:00
Claudio Costa
92837fa1ee
[MM-22051] Remove To/From JSON ( #18070 )
...
* Posts
* Add missing translation
* Fix internal store marshaling
* [MM-22051] Remove To/From JSON (Channels) (#18116 )
* Channels
* Channel members
* ChannelSearch
* Channel categories, list, sidebar, stats, view
* Fix conversions
* [MM-22051] Remove To/From JSON (Users) (#18121 )
* User related structs
* Fix return
* Team related structures (#18127 )
* [MM-22051] Remove To/From JSON (Status, Bot, Reaction, Thread, FileInfo) (#18130 )
* Status
* Bot
* Reaction
* Thread
* FileInfo
* Some fixes
* Translations update from Weblate (#18143 )
* Translated using Weblate (German)
Currently translated at 100.0% (2309 of 2309 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2309 of 2309 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2309 of 2309 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Translated using Weblate (German)
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
* Translated using Weblate (English (Australia))
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/bg/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2301 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: aeomin <lin@aeomin.net >
Co-authored-by: Weblate (bot) <hosted@weblate.org >
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: aeomin <lin@aeomin.net >
* [MM-22051] Remove To/From JSON methods from model (#18138 )
* Scheme
* Role
* Session
* Config
* Status
* Fix logic
* Emoji
* GuestsInvite
* Group
* Command
* ClusterInfo
* License
* Job
* System
* Plugin
* Command2
* IncomingWebhook
* OutgoingWebhook
* Fix tests
* Update traslation
* Some fixes
* Add missing return
* Simplify
* Make Config.ToJSONFiltered() return []byte
* Make Busy.ToJSON() return []byte
* Include error in log
* Split logic
* [MM-22051] Remove To/From JSON (final) (#18150 )
* SwitchRequest
* PluginEventData
* Permalink
* PushNotification
* SuggestCommand
* PluginsResponse
* WebSocketMessage
* RemoteCluster
* SharedChannel
* PluginStatuses
* InitialLoad
* ClusterDiscovery
* ClusterStats
* MfaSecret
* GroupSyncable
* SAML
* WebSocketRequest
* TypingRequest
* SecurityBulletin
* OAuthApp
* IntegrationAction
* DataRetention
* Preference
* FileInfoList
* Compliance
* Preferences
* FileInfoSearchResults
* TermsOfService
* InstallMarketplacePluginRequest
* GitLabUser
* UploadSessions
* Remove unused helpers
* Fix tests
* [MM-23280] Fix linting for ToJSON/FromJSON (#18153 )
* SwitchRequest
* PluginEventData
* Permalink
* PushNotification
* SuggestCommand
* PluginsResponse
* WebSocketMessage
* RemoteCluster
* SharedChannel
* PluginStatuses
* InitialLoad
* ClusterDiscovery
* ClusterStats
* MfaSecret
* GroupSyncable
* SAML
* WebSocketRequest
* TypingRequest
* SecurityBulletin
* OAuthApp
* IntegrationAction
* DataRetention
* Preference
* FileInfoList
* Compliance
* Preferences
* FileInfoSearchResults
* TermsOfService
* InstallMarketplacePluginRequest
* GitLabUser
* UploadSessions
* Remove unused helpers
* Fix tests
* Fix linting for ToJSON/FromJSON
* Fix conversions
Co-authored-by: Weblate (bot) <hosted@weblate.org >
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: aeomin <lin@aeomin.net >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-09-01 14:43:12 +02:00
Ashish Bhate
6861efb47e
cleanup some commented out code ( #18318 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-09-01 17:13:14 +05:30
Joe
0b79defcbb
[MM-24714] Render markdown in email notifications ( #18043 )
...
Automatic Merge
2021-09-01 11:59:01 +02:00
Claudio Costa
9534f9fb62
Update schemas to include new indexes ( #18313 )
...
* Update schemas to include new indexes
* Increase local usability of gitlab scripts. (#18314 )
* Increase local usability of gitlab scripts.
* Fix loading/saving SQL dumps
* Add logging to schema tests.
* Fix adding logs dir.
Co-authored-by: Claudio Costa <cstcld91@gmail.com >
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de >
2021-09-01 09:00:49 +02:00
Ashish Bhate
b6564fec6d
[MM-36792] limit number of threads returned from SQL store ( #18260 )
...
Summary
Limit the number of threads returned in a single SQL store call by using the per_page query param instead of pageSize. Our param handling code automatically limits the number of records that can be requested. To support older mobile clients we continue to support the pageSize param until version 6.0 of the server is the minimum supported server version on mobile.
Related PRs:
[MM-36792] Consistent query param names mattermost-webapp#8700
[MM-36792] Consistent query param names mattermost-mobile#5643
Ticket Link
https://mattermost.atlassian.net/browse/MM-36792
2021-08-31 19:16:54 +05:30
Michel Engelen
9fb8de7318
removes the global header feature flag and default value ( #18304 )
2021-08-31 15:15:50 +02:00
Claudio Costa
ac252f0771
[MM-37621] Update db schema validation scripts for 6.0 ( #18223 )
...
* Fix migration scripts
* Update schema validation scripts
2021-08-31 09:50:47 +02:00
Kyriakos Z
bb05e7c412
MM-35017: order and inclusion of participants ( #18235 )
...
* MM-35017: order and inclusion of participants
From now on root poster is not considered a thread participant,
only repliers are participants.
Ordering: A second reply to the thread from the same user should place
the user last at the participants list.
* Fixes shadow
* Fixes tests
* Order By CreateAt for participants of old threads
* Removes unnecessary check on root id
* Removes GetParticipantProfilesByIds it's not needed
At first GetParticipantProfilesByIds was created because GetProfileByIds
gets users by order of username.
This was not needed, we can order by user ids in Go.
This commit removes GetParticipantProfilesByIds and replaces it by
GetProfileByIds as it was done before.
* Fixes participants order for pre CRT threads
Older threads (before CRT) are being converted to CRT threads upon
reply.
This commit considers the order of participants to be inserted to
the new thread.
* Adds tests for thread participants
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-30 17:13:55 -04:00
Nathaniel Allred
0957a33f1a
update add channel button default to by_team_name ( #18281 )
2021-08-30 16:16:42 -04:00
Agniva De Sarker
5b8720d539
MM-38132: Improve Auto Responder logic ( #18264 )
...
We properly truncate the date part from the createAt time.
The SQL query is improved now to directly return the bool.
Fixed the test to properly test the feature.
https://mattermost.atlassian.net/browse/MM-38132
```release-note
NONE
```
2021-08-30 23:06:45 +05:30
KobeBergmans
71a811e993
Added Inline Latex support ( #18219 )
...
* Added inline latex option to config
* Inline latex setting now defaults to true
* Added inline latex setting to telemetry
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-30 11:52:33 -04:00
Weblate (bot)
a6629129ea
Translations update from Weblate ( #18303 )
...
* Translated using Weblate (German)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (German)
Currently translated at 100.0% (2297 of 2297 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
Translated using Weblate (Hungarian)
Currently translated at 100.0% (2297 of 2297 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
* Translated using Weblate (German)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (English (Australia))
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
* Translated using Weblate (French)
Currently translated at 94.6% (2174 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
* Translated using Weblate (French)
Currently translated at 94.6% (2174 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (2298 of 2298 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Co-authored-by: jprusch <rs@schaeferbarthold.de >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: wget <william@gathoye.be >
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
2021-08-30 10:28:21 +02:00
Agniva De Sarker
1f3e2d0c4f
Added a sqlXPassThrough layer ( #18238 )
...
* Added a sqlXPassThrough layer
This layer embeds the original sqlx object and wraps some
key methods to avoid some boilerplate.
- Add timeout to all methods from the timeout in settings.
- Added trace functionality.
- Added auto-rebind capabilities so that each store method
doesn't need to call rebind every time.
- Added auto-lowering of query string to support NamedExec
for both MySQL and Postgres
All methods are not wrapped as all are likely not to be called
from our code. As and when they are called, support will be added.
```release-note
NONE
```
* fix lint issues
```release-note
NONE
```
* address review comments
```release-note
NONE
```
* incorporate suggestions
```release-note
NONE
```
2021-08-30 10:20:28 +05:30
Joram Wilander
e9935e44bd
Bump go.mod and docker go version to 1.16 ( #18280 )
...
* Bump go.mod go version to 1.16
* Bump docker build go version to 1.16.7
2021-08-27 08:08:03 -04:00
Carlos Tadeu Panato Junior
a1cd466cc2
security: add dependency track configuration ( #18285 )
2021-08-27 12:45:12 +02:00
Joram Wilander
b6ae217883
MM-37372 Do not autofollow threads started by webhooks/bots for user who created them ( #18276 )
...
* Do not autofollow threads started by webhooks/bots for user who created them
* Add test
2021-08-26 15:24:12 -04:00
Ian Whitlock
60074de844
Don't give up import when importing an attachment fails ( #18084 )
2021-08-26 12:48:00 -05:00
James Addison
5953df22d0
Skip UserService user creation test in short-testing mode ( #17907 )
2021-08-26 11:57:44 +03:00
Nathaniel Allred
5e6514b39e
Mm 37462 add channel split ( #18254 )
...
* add AddChannelButton feature
2021-08-25 16:03:24 -05:00
Claudio Costa
ddfa6e2436
[MM-38082] Add local-mode handler for config reload endpoint ( #18252 )
...
* Add local-mode handler for config reload endpoint
* Remove redundant method
2021-08-25 20:29:41 +02:00
Ashish Bhate
3048f5d435
MM-37787: ThreadAutoFollow must be true to enable CollapsedThreads ( #18253 )
...
* MM-37787: ThreadAutoFollow must be true to enable CollapsedThreads
* check if defaults are valid
2021-08-25 09:55:30 -04:00
Claudio Costa
4dc54004ec
Fix flaky TestRequestTrialLicense test ( #18259 )
2021-08-25 14:56:41 +02:00
Michael Kochell
eaa37b52ee
[MM-37494] Check for license SKU when preparing marketplace requests ( #18031 )
...
* check for license SKU when preparing marketplace requests
* rename method to HasEnterpriseMarketplacePlugins
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-24 14:37:58 -04:00
Carlos Tadeu Panato Junior
6031b163d8
Update MM version/sqlstore to version 6.0.0 ( #18247 )
...
Automatic Merge
2021-08-24 16:15:03 +02:00
dave
ac56202eb3
Remove all instances of "zz" + model.NewId() in storetest/channel_store.go ( #18199 )
2021-08-24 11:36:28 +03:00
Miguel de la Cruz
0ae681464e
Add plugin websocket hooks ( #18151 )
...
* Add plugin websocket hooks
* Improve sending message mechanism and filter out of the router plugin specific messages
* Return and manage error if the request clone fails
* Wording change to avoid repetition
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-24 10:11:31 +02:00
Ibrahim Serdar Acikgoz
b66fd1f89e
move users service to app directory ( #18257 )
2021-08-24 10:10:40 +03:00
Amir
1934083291
Issue #18191 and #18193 fixed ( #18217 )
...
Automatic Merge
2021-08-24 06:45:03 +02:00
Martin Kraft
77dc29308f
Fix for test-data make target ( #18229 )
...
* Fix for the test-data command.
* Sleep and warn about needing local mode enabled.
* Improved server start synchro.
2021-08-23 09:45:07 -04:00
Mattermod
ddaa07e35f
Update latest version to 5.38.1 ( #18243 )
...
Automatic Merge
2021-08-23 11:45:03 +02:00
Weblate (bot)
09e2f7c870
Translations update from Weblate ( #18239 )
...
* Translated using Weblate (Dutch)
Currently translated at 99.8% (2292 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 99.9% (2291 of 2292 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 99.9% (2300 of 2301 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
Translated using Weblate (Swedish)
Currently translated at 100.0% (2295 of 2295 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
* Translated using Weblate (German)
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (German)
Currently translated at 100.0% (2295 of 2295 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
Translated using Weblate (Hungarian)
Currently translated at 100.0% (2295 of 2295 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
* Translated using Weblate (English (Australia))
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
Translated using Weblate (English (Australia))
Currently translated at 100.0% (2292 of 2292 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2296 of 2296 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se >
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu >
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au >
Co-authored-by: aeomin <lin@aeomin.net >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
2021-08-23 09:51:41 +02:00
Agniva De Sarker
7bbcf86531
Update channel member notify props to use native JSON ( #18114 )
...
* Update channel member notify props to use native JSON
Created a new store method that patches the notify props field.
https://community-daily.mattermost.com/plugins/focalboard/workspace/zyoahc9uapdn3xdptac6jb69ic?id=285b80a3-257d-41f6-8cf4-ed80ca9d92e5&v=495cdb4d-c13a-4992-8eb9-80cfee2819a4&c=91d08676-4a0e-4f02-8dce-d24d4fc56449
```release-note
NONE
```
* cleanup
```release-note
NONE
```
* forgot to commit
```release-note
NONE
```
* Fix edge case
```release-note
NONE
```
* address review comments
```release-note
NONE
```
* fix incorrect order
```release-note
NONE
```
* Address review comments
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-23 10:04:30 +05:30
Claudio Costa
c4c1fda128
[MM-36387] Address db performance audit items ( #18078 )
2021-08-21 08:05:52 +03:00
Allan Guwatudde
f13ebe84ef
[MM-37725] - Self-managed: Update email template to new branding - Password Reset ( #18135 )
...
* [MM-37725] - Self-managed: Update email template to new branding - Password Reset
* feedback impl
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-20 19:31:34 +03:00
Agniva De Sarker
b553b50e15
Prepare support for sqlx ( #18133 )
...
* Prepare support for sqlx
Just setting up some basic skeleton to start
replacing gorp queries with sqlx.
There is still an issue with efficiently writing
cross-platform named queries, because :FieldName
needs to be :fieldname for Postgres.
The positional params can be rebound depending on
driver name. But named queries can't from my
investigation. Will look into this.
```release-note
NONE
```
* Refactor mapper
```release-note
NONE
```
* Forgot to init slice
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-20 10:53:34 +02:00
Agniva De Sarker
d5160ab59d
Fix racy test TestViewChannelCollapsedThreadsTurnedOff ( #18233 )
...
The followers slice was being read before all goroutines
finished. We fix this by waiting till all goroutines
are done before reading from the slice.
```release-note
NONE
```
2021-08-20 14:15:39 +05:30
Claudio Costa
74518ea165
Combine alterations on Posts table ( #18210 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-08-20 09:56:17 +02:00