Michael Kochell
4a440bd158
Add .gitpod.yml to use mattermost-gitpod-config repo for Gitpod configuration ( #19984 )
2022-04-14 11:02:50 -04:00
Agniva De Sarker
c6dcf460b2
MM-43232: Racy test TestWebsocketRace ( #19969 )
...
We wait until the loop has exited to finish the test
https://mattermost.atlassian.net/browse/MM-43232
```release-note
NONE
```
2022-04-14 13:25:19 +05:30
Agniva De Sarker
6eb83812e1
Propagate the parse error for URLs ( #19972 )
...
During config validation, we would omit the actual error.
This makes debugging difficult.
```release-note
NONE
```
2022-04-13 22:20:46 +05:30
Mattermod
3cd3c7dc9a
Update minor version to 6.7.0 ( #19973 )
...
Automatic Merge
2022-04-13 18:57:05 +03:00
Agniva De Sarker
289bb9fa6f
MM-43341: Skip TestImportImportUser ( #19970 )
...
* MM-43341: Skip TestImportImportUser
https://mattermost.atlassian.net/browse/MM-43341
```release-note
NONE
```
* ignore lint
```release-note
NONE
```
2022-04-13 16:21:13 +03:00
Agniva De Sarker
c0b2aae84e
MM-43340: Fix racy test TestGraphQLChannelMembers ( #19968 )
...
We take a shallow copy of the team pointer before
we pass that to the other functions.
This is because the resolvers run in separate
goroutines.
https://mattermost.atlassian.net/browse/MM-43340
```release-note
NONE
```
2022-04-13 18:50:33 +05:30
Nathaniel Allred
1198191a1c
fix makefile mock generator typos ( #19963 )
...
* fix makefile mock generator typos
* rerun mocks
2022-04-13 08:05:57 -05:00
Pablo Andrés Vélez Vidal
6881b12af9
MM-39565 - remove top option ab testing ( #19966 )
...
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com >
2022-04-12 18:44:03 -05:00
Kevin Sicong Jiang
5cb31a114a
MM-41909: Allow 1 char channel name ( #19845 )
...
* [ MM-41909 ] Allow 1 character channel names
Change minimal length to 1
* [ MM-41909 ] Fix localization string
* [ MM-41909 ] Modify condition to allow 1 char channel name
* [ MM-41909 ] fix formatting
* [MM-41909] Linting fix
* [MM-41909] Fix regex
* [MM-41909] Localization update
* [MM-41909] Attempt to fix test
Co-authored-by: Kevin Jiang <>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-12 11:17:15 -04:00
Agniva De Sarker
053e92a683
MM-43252: Skip TestPreparePostForClient ( #19959 )
...
https://mattermost.atlassian.net/browse/MM-43252
```release-note
NONE
```
2022-04-12 08:43:01 +05:30
Andrew Zigler
7794176ff2
Update link to Docker instructions ( #19924 )
...
* Update link to Docker instructions
* Update install links
* Update order for deploy guide description
* Improve install doc links
* Model install guide list after docs
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-11 14:52:13 -04:00
Michel Engelen
ca8aea9a06
[MM-41993]: fixed counting thread mentions in unread root post ( #19874 )
...
* removed appending the root post to the posts list
also changed `UpdateAt` to `CreateAt` in thread_store.go in accordance with kyriakos
* fixed failing test after latest change
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-11 12:43:14 -04:00
Agniva De Sarker
7f0d1cf0dd
MM-43144: Add teams loader ( #19960 )
...
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-11 20:51:33 +05:30
Agniva De Sarker
16b1cbd6e3
spelling ( #19956 )
...
* spelling: activated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: attachments
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: categories
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: category
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: cellspacing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: channel
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: compliance
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: constraint
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: counts
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: createat
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: deactivate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: destination
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: exceeded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: failed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: foreign
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: hours
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: inactivity
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: inappropriate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: initialization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: initialized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: management
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: mismatch
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: recipients
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: scheme
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: signature
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: subscription
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: suggestions
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: sync
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: telemetry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: webhook
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* Trigger CI
```release-note
NONE
```
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-11 19:31:19 +05:30
Agniva De Sarker
d1de4857aa
MM-43145: channels loader ( #19957 )
...
Add channels dataloader
https://mattermost.atlassian.net/browse/MM-43145
```release-note
NONE
```
2022-04-11 13:41:09 +05:30
Pablo Andrés Vélez Vidal
4b354685e9
MM-39058 - invite people to join team and channels ( #19849 )
...
* MM-39058-invite-to-team-from-add-channel
* fix tests by validating the memberInvite is not nil
* fix i18n texts
* fix lint problem
* fix translation lines
* fix the data structure
* modify api4-team_local file to match with the expected structure
* fix unit tests, fix translation tests
* remove go routine cause not necesary
* add unit test for invite to team and channel
* remove unnecessary validation
* allow both data structures, simple string array and object with memberInvite struct
* fix texts
* fix linter
* fix problems with graceful invites workflow
* handle error while parsing body
* fix unit tests
* take the address just once
* rename channels to channelIds
* fix unit tests
* add tests and fix local channels invite support
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com >
2022-04-08 12:20:44 -05:00
mkraft
0e4b0b6939
MM-43082: Added new telemetry values for groups. ( #19918 )
2022-04-08 11:25:40 -04:00
Nathanaël
1418828443
Translated using Weblate (French)
...
Currently translated at 93.7% (2161 of 2306 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-04-08 12:58:41 +02:00
Matthew Williams
07102ae86f
Translated using Weblate (English (Australia))
...
Currently translated at 99.5% (2296 of 2306 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 99.5% (2292 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-04-08 12:58:41 +02:00
master7
15f91a90cd
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2306 of 2306 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Polish)
Currently translated at 100.0% (2302 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-04-08 12:58:41 +02:00
jprusch
4da147a2f8
Translated using Weblate (German)
...
Currently translated at 100.0% (2306 of 2306 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% (2305 of 2305 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% (2304 of 2304 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% (2348 of 2348 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-04-08 12:58:41 +02:00
Agniva De Sarker
56dfcddff5
MM-43143: Dataloaders for roles ( #19936 )
...
We use a dataloader to optimize roles loading.
https://mattermost.atlassian.net/browse/MM-43143
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-08 15:32:35 +05:30
Agniva De Sarker
ba2f116ed1
Bump tool dependencies ( #19946 )
...
```release-note
NONE
```
2022-04-08 12:16:38 +05:30
Ibrahim Serdar Acikgoz
54cb6d889f
app: add channels wrapper ( #19861 )
2022-04-08 08:59:37 +03:00
Mylon Suren
6da1d90c4a
[MM-38615] Permalink previews for DMs/GMs ( #19765 )
2022-04-07 17:32:18 -04:00
mkraft
ce2646de3e
Disambiguates some units. ( #19875 )
...
* Disambiguates some units.
* Updates DB attribute.
* Updates some more error-prone units.
* Updates some tests with legible constants.
* Updates query for MySQL case sensitivity.
* Fixes more casing issues.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-07 13:58:40 -04:00
Kyriakos Z
15a9a7ad2f
MM-42725: exclude channels from teams user has left ( #19939 )
...
Automatic Merge
2022-04-07 20:27:05 +03:00
Agniva De Sarker
b6f18d3bb0
MM-42880: Fix TestRunServerSuccess ( #19910 )
...
https://mattermost.atlassian.net/browse/MM-42880
```release-note
NONE
```
2022-04-07 20:13:27 +05:30
Guillermo Vayá
302736d4a3
[MM-42889] fixed search term for archived channels ( #19937 )
...
* [MM-42889] fixed search term for archived channels
* remove logs
* remove logs x2
Co-authored-by: = <=>
2022-04-07 09:52:48 -04:00
Agniva De Sarker
f93d6d5687
MM-43137: Fix racy test TestUpdateActiveBotsSideEffect ( #19935 )
...
This was introduced with 2e027ae927 .
We fix it by deep copying the user struct before returning from store.
https://mattermost.atlassian.net/browse/MM-43137
```release-note
NONE
```
2022-04-07 19:21:06 +05:30
Allan Guwatudde
762caaeb51
[MM-42522] - The reply-to email address in our Cloud trial emails is no-reply@mattermost.com instead of feedback-cloud@mattermost.com ( #19899 )
...
* [MM-42522] - The reply-to email address in our Cloud trial emails is no-reply@mattermost.com instead of feedback-cloud@mattermost.com
* feedback impl
2022-04-07 16:48:05 +03:00
Hosted Weblate
5b10b2791b
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/
2022-04-07 08:48:00 +02:00
Kaya Zeren
892de95905
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (2302 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-04-07 08:48:00 +02:00
Matthew Williams
e2edc4b8c9
Translated using Weblate (English (Australia))
...
Currently translated at 99.5% (2292 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-04-07 08:48:00 +02:00
Hosted Weblate
3ff90489d8
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/
2022-04-07 08:48:00 +02:00
master7
f666591d38
Translated using Weblate (Polish)
...
Currently translated at 100.0% (2302 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-04-07 08:48:00 +02:00
Tom De Moor
c5c6bdfa76
Translated using Weblate (Dutch)
...
Currently translated at 99.9% (2301 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-04-07 08:48:00 +02:00
kaakaa
9c9c42fb92
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (2302 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-04-07 08:48:00 +02:00
Alexey Napalkov
1acccc1b11
Translated using Weblate (Russian)
...
Currently translated at 100.0% (2302 of 2302 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-04-07 08:48:00 +02:00
Hosted Weblate
820f2e5191
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/
2022-04-07 08:48:00 +02:00
jprusch
9ee5cfe530
Translated using Weblate (German)
...
Currently translated at 100.0% (2305 of 2305 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% (2304 of 2304 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% (2348 of 2348 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-04-07 08:48:00 +02:00
Michael Kochell
7631035165
Prepackage Apps plugin and enable Apps feature flag by default ( #19870 )
...
* prepackage with apps 0.7.0
* fix config comparison test
* update apps plugin version to 1.0.0
* remove irrelevant whitespace change
* change apps plugin version to 1.0.1
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-06 21:32:56 -04:00
Ashish Bhate
d40d216b57
[MM-43073] broadcast post unread websocket when CRT off ( #19927 )
...
* [MM-43073] broadcast post unread websocket with CRT off
* clean up debug
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-06 16:42:31 -04:00
Mylon Suren
77ec4aa404
[MM-41041] Remove requirement for create_at in UpdateUser ( #19597 )
2022-04-06 14:42:52 -04:00
Jesse Hallam
3016fa6010
MM-42919: avoid sequential scan on Posts ( #19878 )
...
On Postgres, `GetTeamsUnreadForUser` triggers a sequential scan on `Posts`. We can avoid this by querying the `Threads` table directly and only joining to `Posts` to eliminate deleted threads. (We could avoid the latter if we later denormalize `DeleteAt` onto `Threads`.)
Fixes: https://mattermost.atlassian.net/browse/MM-42919
2022-04-06 09:21:01 -03:00
Agniva De Sarker
5fee97c51c
MM-41323: Secure plugin marketplace modification ( #19889 )
...
We disable plugin marketplace modification if plugin uploads
are disabled
https://mattermost.atlassian.net/browse/MM-41323
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-06 15:29:51 +05:30
Agniva De Sarker
2e027ae927
Optimize marshalling for jsonb types ( #19898 )
...
We check for the presence of binary_parameters
in the DSN and add the 0x01 byte accordingly.
This helps us avoid casting to string
and efficiently use the database.
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-06 15:01:32 +05:30
Agniva De Sarker
ec91ca46ff
MM-42813: Fallback to default config if nil is passed ( #19920 )
...
https://mattermost.atlassian.net/browse/MM-42813
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-04-06 08:30:16 +05:30
Agniva De Sarker
bc69069a83
MM-42570: Update dependencies ( #19901 )
...
https://mattermost.atlassian.net/browse/MM-42570
```release-note
NONE
```
2022-04-06 06:44:42 +08:00
Cass C
49e68bb230
pre-package Playbooks v1.26.2 ( #19921 )
2022-04-05 14:29:19 -04:00