Jesús Espino
473e286feb
Fix telemetry initialization problem on placeholder usage ( #15434 )
2020-09-15 08:38:19 +01:00
George Goldberg
4ff12c2aed
MM-28115: Add env var for telemetry installation type. ( #15431 )
2020-09-15 08:27:35 +01:00
Scott Bishel
eba38625eb
Implement LDAP Certificate ( #15361 )
...
* Implement LDAP Certificate
* add diagnostics and translations
* update from code review
* pass pointer to update pict function
* pass object to first function
* remove debug log messages
* update test to add localmode test
* update lint errors
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-14 12:53:42 -06:00
Ibrahim Serdar Acikgoz
6fd7cb2a80
app/post: continue to loop in case of an error ( #15418 )
2020-09-11 18:42:01 +03:00
Hossein Ahmadian-Yazdi
5be6da2e9a
[MM-23651] No more than 256 members are allowed to be invited ( #15414 )
...
* Update constant to 256
* update test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-11 11:02:59 -04:00
Agniva De Sarker
42eca5315b
MM-27957: Fix flaky test TestRecycleDBConns ( #15415 )
...
https://mattermost.atlassian.net/browse/MM-27957
2020-09-11 18:33:09 +05:30
Jesse Hallam
1337fa919c
MM-28103: prepackage incident-response ( #15360 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-10 21:05:20 -03:00
Jesús Espino
1058090a24
Add support for rc versions in upgrader ( #15424 )
2020-09-10 16:30:03 +02:00
Ayan Banerjee
748526cc4c
[MM-23003] Document sql store 'SqlTeamStore' methods (Task 8) fixes ( #15318 )
...
Automatic Merge
2020-09-10 07:29:57 -04:00
Claudio Costa
4e1824e143
[MM-28397] Fix data race in SqlSupplier ( #15419 )
...
* Fix data race in SqlSupplier
* Add comment
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-10 09:57:00 +02:00
Agniva De Sarker
96a3407b7a
Optimize gzip compression of responses ( #15416 )
...
It looks like maintainers aren't very active on the repo
and https://github.com/nytimes/gziphandler/pull/107 has come to a standstill.
I don't want to wait forever for this to go in. Let's use a replace directive
to point to the fork. When the PR gets merged, we can just bump the dependency
and remove the replace directive.
Re: the PR, copying the text from the PR description
This gives 40-50% improvements in CPU with very minor increase
in memory, just as a drop-in replacement. I think that is a very reasonable tradeoff.
The library is mature and safe to be used in production.
```
name old time/op new time/op delta
GzipHandler_S2k-8 74.9µs ± 2% 34.4µs ± 2% -54.07% (p=0.000 n=10+9)
GzipHandler_S20k-8 379µs ± 1% 226µs ± 3% -40.42% (p=0.000 n=9+10)
GzipHandler_S100k-8 1.95ms ± 2% 1.15ms ± 1% -41.27% (p=0.000 n=9+9)
GzipHandler_P2k-8 24.3µs ±25% 10.7µs ±25% -55.80% (p=0.000 n=10+10)
GzipHandler_P20k-8 132µs ± 2% 75µs ± 1% -42.95% (p=0.000 n=9+10)
GzipHandler_P100k-8 658µs ± 2% 371µs ± 3% -43.68% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
GzipHandler_S2k-8 7.71kB ± 5% 9.13kB ± 7% +18.33% (p=0.000 n=10+10)
GzipHandler_S20k-8 65.1kB ± 3% 70.3kB ± 3% +8.05% (p=0.000 n=10+10)
GzipHandler_S100k-8 348kB ± 4% 382kB ± 2% +9.85% (p=0.000 n=10+10)
GzipHandler_P2k-8 7.60kB ± 1% 7.93kB ± 2% +4.33% (p=0.000 n=10+10)
GzipHandler_P20k-8 64.4kB ± 1% 66.3kB ± 2% +2.92% (p=0.000 n=10+10)
GzipHandler_P100k-8 304kB ± 1% 309kB ± 1% +1.67% (p=0.000 n=10+9)
name old allocs/op new allocs/op delta
GzipHandler_S2k-8 21.0 ± 0% 21.0 ± 0% ~ (all equal)
GzipHandler_S20k-8 24.0 ± 0% 24.0 ± 0% ~ (all equal)
GzipHandler_S100k-8 27.0 ± 0% 27.0 ± 0% ~ (all equal)
GzipHandler_P2k-8 21.0 ± 0% 21.0 ± 0% ~ (all equal)
GzipHandler_P20k-8 24.0 ± 0% 24.0 ± 0% ~ (all equal)
GzipHandler_P100k-8 26.0 ± 0% 26.0 ± 0% ~ (all equal)
```
https://mattermost.atlassian.net/browse/MM-28491
2020-09-10 09:02:20 +05:30
Doug Lauder
1b67322fb9
MM-27744 disable Zap for unit tests. ( #15398 )
...
MM-27744 disable Zap for unit tests.
Zap has no concept of shutdown or close. Zap is only shutdown when the app exits. Not a problem for console logging, but when creating a new Zap logger that outputs to files on every unit test, that leaves no easy way to clean up until process exit. Depending on what else is running this can exhaust all file handles and cause unit tests to fail.
Zap is now disabled unit tests and uses Logr instead, regardless of config settings. `make test-server` peak file handle usage dropped from ~5K to less than 100.
2020-09-09 15:25:55 -04:00
Agniva De Sarker
1fde5112b6
MM-28444: Optimize GetPostsSince in postgres ( #15411 )
...
GetPostsSince is used when loading posts for a channel.
An opportunity for optimization is that the primary SQL query
is repeated twice and then a UNION is constructed for the results.
```
SELECT
*
FROM
Posts
WHERE
UpdateAt > :Time AND ChannelId = :ChannelId
LIMIT 1000
```
But we can use a CTE for this which caches the results to be reused later.
This leads to the main query being executed once rather than twice. And from
Postgres 12 onwards, CTEs can be inlined which opens the door to further optimizations.
From the docs (https://www.postgresql.org/docs/10/queries-with.html )
> A useful property of WITH queries is that they are evaluated only once per
execution of the parent query, even if they are referred to more than once
by the parent query or sibling WITH queries. Thus, expensive calculations
that are needed in multiple places can be placed within a WITH query to avoid redundant work.
Another possible application is to prevent unwanted multiple evaluations of functions
with side-effects. However, the other side of this coin is that the optimizer is
less able to push restrictions from the parent query down into a WITH query than an ordinary subquery.
In our case, the caveat does not apply because we are only filtering columns and not rows,
so we can safely use it.
Following are the query plan comparisons:
Old: http://tatiyants.com/pev/#/plans/plan_1599394993105
New: http://tatiyants.com/pev/#/plans/plan_1599395970886
As we can see, in old bitmap index scan+heap scan happens twice, but in the new one,
it happens only once.
This has been load tested with a large dataset and confirmed to exhibit good improvements.
2020-09-09 21:22:54 +05:30
Claudio Costa
7612888052
Fix panic in api4.searchPosts ( #15410 )
2020-09-08 20:36:59 +02:00
Claudio Costa
4c518055f4
[MM-27952] Fix some logging related races ( #15404 )
...
* Fix some logging races
* Move initLogging after config store initialization
2020-09-08 20:36:42 +02:00
Jesús Espino
44079785eb
Moving diagnostics into a service ( #14832 )
...
* Moving diagnostics into a service
* Fixing golint checks
* Fixing tests
* Renaming from diagnostics to telemetry
* Adding missing files
* Initializing telemetry earlier in the server startup
* Fixing tests
* Adding a log for the telemetryID initialization error
* Addressing PR review comments
* Fixing merge problem
* Removing some extra Diagnostics mentions
* Making tests pass
2020-09-08 20:30:54 +02:00
catalintomai
f0eb67fa0d
MM-28226: Admin Advisor: add mitigations ( #15379 )
...
* Admin Advisor: add mitigation
2020-09-08 07:51:14 -07:00
Agniva De Sarker
7116563ff3
MM-27953: Fix flaky test TestTeamStore//SearchPrivate ( #15409 )
...
We got hit by yet another random text search issue, but this was
on the more extreme end because this was a string of length 4 and still
it collided.
I am not sure if there is a fool proof solution to this than just
going for a larger string.
https://mattermost.atlassian.net/browse/MM-27953
2020-09-08 20:18:19 +05:30
Juho Nurminen
d4d69850b2
Clean caches on depcheck failure ( #15407 )
2020-09-08 12:55:23 +03:00
Ibrahim Serdar Acikgoz
efa071d978
[MM-27967] api4/config_test: fix flaky test if siteurl is already set ( #15403 )
...
* api4/config_test: fix flaky test if siteurl is already set
* api4/apitelib enforce siteurl not set
2020-09-08 12:44:18 +03:00
Elisabeth Kulzer
57244d0639
[Weblate] Fix empty/unchanged translations. Add Bulgarian language. Add general translation updates. ( #15375 )
...
* Translated using Weblate (German)
Currently translated at 94.1% (1887 of 2005 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (German)
Currently translated at 96.5% (1934 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 (Japanese)
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/ja/
* Translated using Weblate (Italian)
Currently translated at 99.5% (1995 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 (Italian)
Currently translated at 99.1% (1986 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% (1929 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 (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/
* 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/
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/
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/
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/
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/
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/
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/
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/
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 (Romanian)
Currently translated at 99.4% (1990 of 2002 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 99.5% (1993 of 2002 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 95.9% (1920 of 2002 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 98.7% (1977 of 2002 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.5% (1993 of 2002 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.1% (1984 of 2002 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 95.8% (1918 of 2002 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 99.5% (1993 of 2002 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.0% (1923 of 2002 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (Chinese (Traditional))
Currently translated at 99.1% (1991 of 2009 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 97.9% (1968 of 2009 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 95.7% (1924 of 2009 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.5% (2000 of 2009 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.5% (2000 of 2009 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 99.4% (1997 of 2009 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 99.5% (2000 of 2009 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 95.9% (1927 of 2009 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Dutch)
Currently translated at 99.5% (2000 of 2009 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Korean)
Currently translated at 98.7% (1984 of 2009 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.5% (2000 of 2009 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.1% (1991 of 2009 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 95.8% (1925 of 2009 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 99.5% (2000 of 2009 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.0% (1930 of 2009 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
* Translated using Weblate (Russian)
Currently translated at 100.0% (2009 of 2009 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Turkish)
Currently translated at 100.0% (2007 of 2007 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 99.9% (2005 of 2007 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 99.8% (2004 of 2007 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (2001 of 2001 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% (2002 of 2002 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* Translated using Weblate (Spanish)
Currently translated at 99.3% (1993 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
Translated using Weblate (Japanese)
Currently translated at 99.3% (1993 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
Translated using Weblate (French)
Currently translated at 95.6% (1918 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
Translated using Weblate (German)
Currently translated at 94.1% (1888 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (Chinese (Simplified))
Currently translated at 97.7% (1961 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
Translated using Weblate (Chinese (Traditional))
Currently translated at 98.9% (1983 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 97.8% (1960 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 95.6% (1916 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.8% (2001 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 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 (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 (Portuguese (Brazil))
Currently translated at 99.4% (1992 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 95.7% (1919 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 98.6% (1976 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.4% (1992 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 (French)
Currently translated at 95.6% (1917 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 99.4% (1992 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 95.9% (1922 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 (Chinese (Traditional))
Currently translated at 99.1% (1984 of 2002 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 97.9% (1961 of 2002 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 95.7% (1917 of 2002 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
Translated using Weblate (Russian)
Currently translated at 100.0% (2002 of 2002 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Italian)
Currently translated at 98.8% (1981 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 (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 (Ukrainian)
Currently translated at 94.4% (1908 of 2020 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
Added translation using Weblate (Bulgarian)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.7% (1980 of 2006 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 91.9% (1844 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Chinese (Traditional))
Currently translated at 98.6% (1978 of 2005 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
Translated using Weblate (Ukrainian)
Currently translated at 84.1% (1687 of 2005 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
* Translated using Weblate (Romanian)
Currently translated at 99.9% (2005 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ro/
Translated using Weblate (Chinese (Traditional))
Currently translated at 98.6% (1979 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
Translated using Weblate (Korean)
Currently translated at 98.5% (1977 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
Translated using Weblate (Polish)
Currently translated at 92.5% (1856 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Turkish)
Currently translated at 99.8% (2002 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
Translated using Weblate (Ukrainian)
Currently translated at 84.1% (1689 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (1992 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
Translated using Weblate (Dutch)
Currently translated at 99.8% (2002 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Russian)
Currently translated at 99.9% (2005 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
Translated using Weblate (Italian)
Currently translated at 98.8% (1982 of 2006 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/it/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 97.9% (1978 of 2019 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 96.8% (1955 of 2019 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 94.5% (1908 of 2019 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 98.8% (1996 of 2019 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.5% (2009 of 2019 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 99.0% (1999 of 2019 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 98.4% (1987 of 2019 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 94.7% (1913 of 2019 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
Translated using Weblate (Dutch)
Currently translated at 98.8% (1996 of 2019 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
Translated using Weblate (Korean)
Currently translated at 97.6% (1971 of 2019 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 98.4% (1987 of 2019 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 97.8% (1976 of 2019 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 94.6% (1911 of 2019 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 99.8% (2016 of 2019 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 94.8% (1916 of 2019 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
Translated using Weblate (Russian)
Currently translated at 99.9% (2005 of 2007 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
* Translated using Weblate (Bulgarian)
Currently translated at 0.0% (0 of 2023 strings)
Translation: mattermost-languages-shipped/mattermost-server_master
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/bg/
* 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/
* Clean empty string.
* Remove failing source string in Bulgarian language.
Co-authored-by: Elisabeth Kulzer <elisabeth.kulzer@mattermost.com >
Co-authored-by: kaakaa <stooner.hoe@gmail.com >
Co-authored-by: Zack-83 <giacomo.lanza@ptb.de >
Co-authored-by: rodrigocorsi <rodrigocorsi@gmail.com >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Mattermost Weblate Notify Bot <dev-ops@mattermost.com >
Co-authored-by: Alexey Napalkov <flynbit@gmail.com >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
Co-authored-by: Viorel-Cosmin Miron <cosmin@uhlhost.net >
Co-authored-by: Anonymous <noreply@weblate.org >
Co-authored-by: Nikolai Zahariev <nikolaiz@yahoo.com >
2020-09-07 19:38:06 +02:00
Eli Yukelzon
f4ccc7061c
MM-27199 - Add metrics to MM server for total enabled user count ( #15116 )
...
* Add metrics to MM server for total enabled user count and include installation ID from a new env var
* diagnostics context
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-07 09:26:25 -04:00
Farhan Munshi
2baf95df1e
[MM-27274] Add permission to convert public channel to private ( #15370 )
...
* Add permission to convert public channel to private
* Rename to PERMISSION_CONVERT_PUBLIC_CHANNEL_TO_PRIVATE
* Fix tests
* Update definitions for roles that have manage_team
* Fix tests
* Add convert private channel to public permission
* Add to channel scoped perms
* Update permission checks on channel privacy endpoint
* Trigger CI
2020-09-03 13:41:07 -04:00
Claudio Costa
679a4447b4
Fix error handling ( #15392 )
2020-09-03 19:25:01 +02:00
Devin Binnie
c1ac3e69f0
[MM-28313] Add Cloud Billing feature flag ( #15391 )
2020-09-03 10:10:59 -04:00
Rodrigo Villablanca
1ab06ffa7c
Migration of PostStore Part 2 ( #15181 )
...
* Starting migration
* Lint: remove unnecessary use of sprintf
* Fix i18n
* Some suggestions
* Fix store layers
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-03 18:49:11 +05:30
Agniva De Sarker
d85cec1a4e
Fix undefined variable error ( #15388 )
2020-09-03 12:54:03 +05:30
Rodrigo Villablanca
2cb655ed67
Migration of ChannelStore Part 1 ( #15235 )
...
* Lint: remove unnecessary use of sprintf
* Fix i18n
* Returning the right error (InternalServerError)
* Doing some suggestions
* Fix store layers
* Fix missed translation
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-03 11:24:46 +05:30
Agniva De Sarker
f2a8e10216
MM-27613: Update dependencies ( #15294 )
...
https://mattermost.atlassian.net/browse/MM-27613
2020-09-03 10:00:12 +05:30
Rodrigo Villablanca
54f86e7fb1
Migration of TeamStore Part 1 ( #15246 )
...
Automatic Merge
2020-09-03 00:29:57 -04:00
Jason Deland
953899ad95
Updating the mmctl process to set the value once and than use it. Also added the basic auth code from agniva
2020-09-02 18:32:10 -04:00
Jason Paul Deland
1be5512655
Remove check on MMCTL Value
2020-09-02 16:59:08 -04:00
Jason Deland
cf3cfd2f5e
Removing extra latest url code block
2020-09-02 14:52:55 -04:00
Jason Deland
111927b044
Including basic auth changes of for getting mmctl
2020-09-02 14:51:51 -04:00
Jason Paul Deland
907bc2906a
Update the get release script for mmctl to get the latest release even if its a pre-release for master builds ( #15378 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-02 13:48:28 -04:00
Hossein Ahmadian-Yazdi
8a101357bc
Use old saml library if new one is enabled ( #15371 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-02 10:28:43 -04:00
Elisabeth Kulzer
176f509de8
Add redux build for when webapp needs to be built in server side (race condition). ( #15380 )
2020-09-02 16:00:03 +02:00
Doug Lauder
05f1f35a00
MM-22786 enterprise metrics for logging ( #15313 )
...
Adds metrics for logging engine which are collected by Prometheus.
- current queue level(s)
- rate of logging records emitted
- rate of logging errors
2020-09-01 10:29:29 -04:00
Mario de Frutos Dieguez
22297a9bf4
[MM-28083] CWS one-time login logic ( #15356 )
...
* Cloud token login
This PR adds the capability of activate the cloud token login that
will be used in our Cloud installations to let the customer login
for the first time without using credentials.
* Read CSRF from cookie when is not on the header and we're login with CWS
* Create new CWS login endpoint
- New endpoint created
- We're using the cloud feature from the license instead of the
configuration flag
- Removed the CSRF changes
* Reduce amount of work if cws token is not set
* Removed unused config key
* Now we store the token to detect it was used
If the token is in the token store then we are assuming that the
token was used
* Add tests
* Add i18n strings
2020-09-01 08:50:43 -04:00
Ibrahim Serdar Acikgoz
26cdbd5dba
api4/user: fix-failing-ee-tests ( #15372 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-09-01 12:25:00 +03:00
Jason Paul Deland
0da164f70e
Update mmtcl download to account for Drat releases ( #14363 )
2020-08-31 13:13:51 -04:00
Harrison Healey
9b688ae971
MM-27722 Make sidebar category validation silently reject bad channel IDs ( #15324 )
...
* MM-27722 Make sidebar category validation silently reject bad channel IDs
* Call validateSidebarCategories when possible
* Remove blank line
* Stop restarting server between subtests
2020-08-31 09:45:50 -04:00
Ibrahim Serdar Acikgoz
c30fea5f2d
[MM-25645] api4/user: add migrate_auth endpoints ( #14966 )
...
* api4/user: add migrate_auth endpoints
* api4/user: reflect review comments
* add translations
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-31 14:56:36 +03:00
Abdulkadir Poyraz
f12ca27bac
[MM-24522] remove duplication in OR and IncludeDeletedChannels params for search ( #14573 )
2020-08-31 13:40:58 +02:00
Ibrahim Serdar Acikgoz
2b1da58e6d
make test: ignore data directory while running make test ( #15346 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-08-31 13:01:12 +02:00
Elisabeth Kulzer
c368dc7838
Implement empty translation check. ( #15364 )
2020-08-31 10:43:09 +02:00
Martin Kraft
c6b20ab133
MM-27525: Sanitizes gifycat's and Oauth secrets. ( #15348 )
2020-08-31 11:48:39 +05:30
Michael Kochell
2029a3b48a
MM-27570,MM-27757 - Activate/Deactivate plugins concurrently ( #15244 )
...
* Start plugins concurrently
* Determine which plugins need to be activated/deactivated before changing their state
* Test activation/deactivation of plugins in TestSyncPluginsActiveState
* Change test comments
* remove unneeded temp var
2020-08-27 10:22:20 -03:00
Ibrahim Serdar Acikgoz
eaabf96b1b
[MM-28080] scripts/test: do not remove existing data directory ( #15347 )
...
* scripts/test: do not remove existing data directory
* Update scripts/test.sh
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com >
2020-08-27 14:00:47 +03:00
Gabe Jackson
90ef61f74c
Add functionality to update password with password hash ( #15343 )
...
* Add functionality to update password with password hash
This can be used to update a user's password with a direct password
hash instead of providing the password in plaintext.
* Use test helper for local mode
2020-08-26 17:28:00 +02:00