Miguel de la Cruz
10d2fed795
[MM-27022] Add marketplace endpoints to local mode ( #15053 )
...
* [MM-27022] Add marketplace endpoints to local mode
* Fix test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-19 13:54:46 +02:00
Ashish Bhate
94e50c30e3
[MM-27367] fix ldap group decoding in client ( #15192 )
...
Summary
The data returned by the get ldap groups api endpoint was being decoded incorrectly in the Go client.
Ticket Link
https://mattermost.atlassian.net/browse/MM-27367
2020-08-19 16:02:53 +05:30
Maria A Nunez
e33ab02e1a
MM-27930 - Cloud license feature ( #15297 )
2020-08-18 15:47:29 -04:00
Scott Bishel
f6bce5b32a
MM-27852:Enable picture update for SAML ( #15284 )
...
* if ldap installed, attempt image update
* add license check
* add LDAP e10 license check
* check license not null, fix unit tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-18 10:18:21 -06:00
Agniva De Sarker
e1ca3e348f
MM-27512: Use an authenticated user to bump up request rate limit ( #15251 )
...
* MM-27512: Use an authenticated user to bump up request rate limit
An unauthenticated user can only make 60 requests per hour which means 1
request every minute. This can lead to frequent rate limit errors while
getting the latest release.
We change that to use an authenticated user which is already available
in the CI. This moves us to make 5000 requests per hour.
We also add additional logging in the Makefile targets in case
the command fails again so that it's clear what has happened, and not return
cryptic 404 errors again.
Ideally, we should be able to inspect the output of the curl command, but since
the output value of the entire bash script is fed into the variable, it is a bit
difficult to print debug output.
If this still gives error, then we need to either use a cached artifact somehow
or add additional logging and add a retry logic on top of it.
* fix mistake
2020-08-18 19:42:12 +05:30
Mario de Frutos Dieguez
f619de2c83
[MM-25673] Upgrades and migrations to start using master gorp ( #14823 )
...
Database changes needed to reflect gorp master changes
2020-08-18 10:43:56 +02:00
Scott Bishel
0302e0f477
MM-27449: Compliance Jobs rerun after warning status ( #15178 )
...
* add warning as success result
* revert config changes
* add unit test, update unit test
* add a couple more tests
* update store layers
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-17 21:18:33 -06:00
Agniva De Sarker
d48eec6727
MM-27887: set traceback to crash from code ( #15274 )
...
Unless we set traceback level to crash, goroutines from all threads aren't printed.
See: https://github.com/golang/go/issues/13161 .
This is important because SIGQUIT traces will miss on goroutines.
https://mattermost.atlassian.net/browse/MM-27887
2020-08-17 22:08:25 +05:30
Jesús Espino
f16fb6f855
Restrict the sampledata generation to not run without enough users for group channels ( #15275 )
...
* Restrict the sampledata generation to not run without enough users for group channels
* Adding test cases
2020-08-17 17:54:12 +02:00
Mario de Frutos Dieguez
3d8a87029c
Fix the error message from get oldest entity in ES indexer ( #14911 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-17 17:52:19 +02:00
Claudio Costa
58c6eabf95
[MM-27836] Fix possible panic when patching config ( #15262 )
...
* Fix possible panic when updating/patching config
* Remove un-needed check
2020-08-17 14:53:48 +02:00
Doug Lauder
095e5d788b
MM-27868 fix panic when user joins teams ( #15268 )
...
Server panics when user joins team and one of the default channels has been archived.
This can be triggered by archiving "Off-Topic" or any of the channels listed in `TeamSettings.ExperimentalDefaultChannels`.
2020-08-17 08:20:04 -04:00
Ibrahim Serdar Acikgoz
9211a8b9d3
[MM-27700] storetest/channel_store: fix flaky test for search too short term ( #15242 )
...
* storetest/channel_store: fix flaky test for search too short term
* storetest/channel_store: use another stop word instead
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-17 09:19:29 +01:00
Ibrahim Serdar Acikgoz
1fadfa9f33
app/testEmail: remove a setting that blocks testEmail ( #15022 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-15 00:43:42 +03:00
Ibrahim Serdar Acikgoz
16ffb6712f
[MM-25657] api4/config: add config migrate endpoint ( #14928 )
...
* api4/config: add config migrate endpoint
* api4/config: reflect review comments
* fix i18n lint error
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-14 18:26:23 +03:00
Brian Ledbetter
bda24c8fe0
Match Users Even When SAML (+other) Contains Mixed Case ( #14587 )
2020-08-14 14:03:15 +02:00
Jesús Espino
4a76121810
Prefixing all enterprise translations with ent ( #14820 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-14 11:58:19 +02:00
Ashish Bhate
d76039db23
[MM-25659] ability to permanent delete channel through client ( #15202 )
...
Summary
Ability to permanent delete channel through client
Ticket Link
https://mattermost.atlassian.net/browse/MM-25659
2020-08-14 14:12:39 +05:30
Agniva De Sarker
11513a8d0d
MM-27507: Propagate rate limit errors to client ( #15230 )
...
* MM-27507: Propagate rate limit errors to client
We return an error from SendInviteEmails instead of just logging it
to let the client know that a rate limit error has happened.
The status code is chosen as 413 (entity too large) instead of 429 (too many requests)
because it's not the request which is rate limited, but the payload inside it which is.
Ideally, the email sending should have been implemented by a queue which would just return
an error to the client when full. That is also why we are not returning an X-Retry-After
and X-Reset-After in the headers because that would mix with the actual rate limiting.
A separate header X-Email-Invite-Reset-After might do the job, but it comes at an extra cost
of additional API surface and a clunky API. Instead, that information is contained in the error
response. The web client needs to just surface the error. An API client will have to do
a bit more work to parse the error if it needs to automatically know when to retry. Given that
an email sending client is not a very common use case, we decide to keep the API clean.
This decision can be revisited if it becomes problematic in the future.
https://mattermost.atlassian.net/browse/MM-27507
* Fixing translations
* Added retry_after and reset_after in API response.
2020-08-13 22:19:05 +05:30
Rodrigo Villablanca
20e44399c7
SystemStore migration to return plain errors ( #14835 )
...
* SystemStore migration to return plain errors
* Fix nilness
* Fix translations
* Fix merge
* Fix layers
* Fix merge errors
* Lint: remove unnecessary use of sprint
* Fix merge errors
* Fix i18n
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in >
2020-08-13 20:32:57 +05:30
Ashish Bhate
e8d431ee7c
[MM-26837] attempt at fixing flaky test on mysql-5.6 ( #15110 )
...
Summary
- Attempt at fixing the AutocompleteInTeam/empty_string test which is flaky on MySQL-5.6. This is likely an index_merge_intersection optimization issue. See https://community.mattermost.com/core/pl/uzgygwa9e3d4pns14ayfs7mobw
for more discussion. The fix here simply modifies the where clause to change the query plan so index_merge_intersection is not used, while also not introducing a temporary table or a filesort.
Ticket Link
- https://mattermost.atlassian.net/browse/MM-26837
2020-08-13 20:03:26 +05:30
Agniva De Sarker
ac26555cdb
MM-27735: Do not build test and other tools in CI ( #15238 )
...
Our codebase uses main_test.go files to control tests at a package level.
However, the problem with that is when we use ./... to build the codebase,
those binaries also get built.
This is unnecessary and creates further delays in the pipeline. All we need to build
are only mattermost and platform binaries in CI. The rest are dependant on the developer.
In my dev environment, this reduces the build times from 13 seconds to 4 seconds.
https://mattermost.atlassian.net/browse/MM-27735
2020-08-13 19:40:15 +05:30
Agniva De Sarker
220d39d09b
MM-24544: Fix crash in (*Status).ToClusterJson ( #14484 )
...
We apply the same fix that was done in https://github.com/mattermost/mattermost-server/pull/14147 .
This method was missed out.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-13 17:30:38 +05:30
Carlos Tadeu Panato Junior
4e43826c5c
cmd/version: skip server start to get the current mattermost version ( #15234 )
2020-08-13 13:31:59 +02:00
Agniva De Sarker
91a76b2df9
MM-27456: Use reflect-free serialization for hot structs ( #15171 )
...
Automatic Merge
2020-08-13 03:35:57 -04:00
Rodrigo Villablanca
32b7d2b5f1
StatusStore migration ( #14978 )
...
* Finished!
* Typos
* Fix error
* Fix layers
* Lint: remove unnecessary use of sprint
* Fix shadowing err
2020-08-13 11:12:08 +05:30
Rodrigo Villablanca
909cda6d49
Pluginstore migration ( #14971 )
...
Automatic Merge
2020-08-13 01:35:57 -04:00
Jesús Espino
19173ea6ff
Migrating Team.SaveMember/SaveMultipleMembers into errors ( #14924 )
...
* Migrating Team.SaveMember/SaveMultipleMembers into errors
* Removing copy/paste comments
* Fixing another small thing
* Fixing tests
* Addressing PR review comments
* Fixing some tests
* Fixing golangci-lint
* Fixing linter
* Regenerating store layers
* Fix lint error after merge
* Other lint error fixed
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-12 21:02:41 +02:00
Jesús Espino
1b141678fe
Adding initial retry layer version ( #14954 )
...
* Adding initial retry layer version
* Some simplification around the generated code
* Generating retry layer again
* Improving naming generation in store generated layers
* Address PR review comments
* Updating store layers
* Addressing PR review comments
* fixing lint errors
* Updating store layers
* Adding license header
* Applying the retry layer to the reaction_store
* Regenerating retry layer
2020-08-12 20:05:16 +02:00
Claudio Costa
c89c56ab2e
[MM-27328] Upgrade minio-go to v7 ( #15177 )
...
* Upgrade minio-go to v7
* Update to v7.0.3
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-12 19:53:47 +02:00
Rodrigo Villablanca
5566395032
First part of PostStore migration ( #15123 )
...
Automatic Merge
2020-08-12 13:35:57 -04:00
Agniva De Sarker
d9ee26a47b
MM-26575: Move app initialization inside Websocket router out of handler ( #14991 )
...
* MM-26575: Move app initialization inside Websocket router out of handler
The websocket router struct is shared amongst multiple handlers. Therefore,
there is a race condition while setting the app field and reading from it.
We move the initialization of the app field when the router struct is initialized.
And we also remove the initializations of some app fields which caused race
conditions by being written from multiple goroutines. They are already being
written once inside the AppInitializedOnce.Do method and it's redundant
to set them again to the same value.
* Add missing fields in server connector
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-12 22:10:19 +05:30
Jesús Espino
1f09d86f42
Moving slash-commands out of app package ( #14979 )
...
* Moving slash-commands out of app package
* Fixing golint checks
* Fixing golangci-lint
* Fixing golangci-lint errors
2020-08-12 18:29:58 +02:00
Jesús Espino
788c130774
Moving slack importer into a service ( #14860 )
...
* Moving slack importer into a service
* Adding missed license headers
* Fixing tests
* Adding license header
2020-08-12 18:29:36 +02:00
Ibrahim Serdar Acikgoz
5ab06162dc
[MM-27377] api4/team_local: add updateChannelPrivacy and restoreTeam to local mode ( #15201 )
...
* api4/team_local: add update ch privacy to local mode
* api4/team_local: add restoreTeam to local mode
* api4/team: add a test case
2020-08-12 18:20:53 +03:00
Ben Schumacher
aa88fb445c
Log URL for requests to non-existing plugins ( #15229 )
2020-08-12 11:00:53 -04:00
Agniva De Sarker
3124b81229
MM-27040: Fix flaky tests due to same UpdateAt timestamp ( #15216 )
...
* MM-27040: Fix flaky tests due to same UpdateAt timestamp
Update queries are not guaranteed to always update the row.
Since we are only bumping the UpdateAt timestamps, if 2 update
requests hit concurrently within the same millisecond, then one
is bound to fail.
We fix all cases in the codebase where we were updating the UpdateAt
field to not check for count != 1, but rather count > 1.
A similar fix was already done in 3f46cf6f60 .
* Remove incorrect test
2020-08-11 21:03:23 +05:30
Weblate (bot)
e73ff83e9d
Translations update from Weblate ( #15223 )
...
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.4% (1953 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Translated using Weblate (Polish)
Currently translated at 96.3% (1931 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Korean)
Currently translated at 99.3% (1991 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
Translated using Weblate (Japanese)
Currently translated at 99.9% (2002 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
Translated using Weblate (Italian)
Currently translated at 99.0% (1985 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/it/
Translated using Weblate (French)
Currently translated at 96.2% (1928 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
Translated using Weblate (Spanish)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Translated using Weblate (German)
Currently translated at 96.4% (1933 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.6% (2000 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.4% (1976 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
Translated using Weblate (Ukrainian)
Currently translated at 96.2% (1932 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
Translated using Weblate (Turkish)
Currently translated at 99.9% (2006 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Translated using Weblate (Romanian)
Currently translated at 100.0% (2008 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ro/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.4% (1957 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Translated using Weblate (Polish)
Currently translated at 96.3% (1935 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Korean)
Currently translated at 99.3% (1995 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
Translated using Weblate (Japanese)
Currently translated at 99.9% (2006 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
Translated using Weblate (Italian)
Currently translated at 99.0% (1989 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/it/
Translated using Weblate (French)
Currently translated at 96.2% (1932 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
Translated using Weblate (Spanish)
Currently translated at 100.0% (2008 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Translated using Weblate (German)
Currently translated at 96.4% (1937 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Romanian)
Currently translated at 100.0% (2008 of 2008 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ro/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Dutch)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.6% (1996 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.4% (1972 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
Translated using Weblate (Ukrainian)
Currently translated at 96.2% (1928 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
Translated using Weblate (Turkish)
Currently translated at 99.9% (2002 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Translated using Weblate (Russian)
Currently translated at 99.9% (2002 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
Translated using Weblate (Romanian)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ro/
* Translated using Weblate (Russian)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.3% (1970 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.4% (1972 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Translated using Weblate (Spanish)
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2004 of 2004 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: Alexey Napalkov <flynbit@gmail.com >
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Mattermost Weblate Notify Bot <dev-ops@mattermost.com >
Co-authored-by: Elias Nahum <elias@mattermost.com >
2020-08-11 16:37:10 +02:00
Farhan Munshi
101c6c7c01
[MM-27623] Add new session prop for oauth ( #15221 )
...
* Add new session prop for oauth
* Make it isOAuthUser to differentiate better
* Fix up caps
* Fix tests
* Add tests for IsOAuthUser
2020-08-11 10:24:26 -04:00
Christopher Poile
a540dcdf9c
move MM-26057 to 5.28; set previous PluginIds to '' ( #15218 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-11 09:48:08 -04:00
Claudio Costa
9333b7d896
Start required docker services before running tests ( #15217 )
2020-08-11 09:41:23 +01:00
Christopher Speller
4492549d80
MM-27572 permissions regression ( #15215 )
...
* Fix regression in HasPermissionToTeam
* Removing unessisary special case + verify system admins always have permissions.
* Fixing testing and bad cleanup.
2020-08-10 12:50:16 -07:00
Agniva De Sarker
8138600dd1
MM-27575: Use index hints to prevent index_merge_intersection ( #15207 )
...
Even after specifying all the 3 columns to coerce MySQL into choosing
the right multi-column index, it sometimes uses 2 separate indices
and does an index_merge of them.
This creates problems because the DeleteAt=0 search is essentially
the entire Posts table, and causes a disastrously bad performance
than even choosing the wrong index (idx_create_at).
The problem with this approach is that we hardcode the decision
to a specific index when MySQL was free to choose the right index
depending on table statistics. However, there does not appear to be
a case where this index can cause regressions than using some other index.
Another option here was to set optimizer_switch="index_merge_intersection=off"
at a session level for a transaction and then switch it back on after the
query is done.
However, this can cause some unintentional consequences because this setting
is only available at a session level and not at a query level.
There is no need to set something at the session level when an index hint suffices.
https://mattermost.atlassian.net/browse/MM-27575
2020-08-10 22:40:19 +05:30
Ibrahim Serdar Acikgoz
3f19a8c011
[MM-27376] api4/channel: add move channel to local mode ( #15200 )
...
* api4/channel: add move channel to local mode
* app/channel: reflect review comments
2020-08-10 17:44:13 +02:00
catalintomai
d906be1d6c
MM-27574: Add Learn More text to Admin Advisor bot message ( #15199 )
...
* MM-27574: add Learn More text to bot message
Co-authored-by: Catalin Tomai <catalin.tomai@mattermost.com >
2020-08-07 10:00:54 -07:00
Hossein Ahmadian-Yazdi
4f46fefd7d
include user delete at ( #15191 )
2020-08-07 12:59:34 -04:00
Hossein Ahmadian-Yazdi
c3d945513c
Token is not team and guest then error ( #15193 )
2020-08-07 08:03:30 -04:00
Jason Blais
063393f694
Update en.json ( #15194 )
...
Automatic Merge
2020-08-07 13:40:51 +02:00
Ibrahim Serdar Acikgoz
e8326fd7e8
api4/bot: fix permission check in convert handler ( #15196 )
2020-08-07 09:41:22 +03:00
Christopher Speller
a22f02c867
MM-27412 Fixing /test command. ( #15155 )
...
* Fixing /test command.
* Add error handling to channels command.
* Switch to using app instead of client in some places.
* Fix lint being confused.
* Join channels automatically.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-06 16:18:47 -07:00