Граф коммитов

14396 Коммитов

Автор SHA1 Сообщение Дата
Hosted Weblate
f71e9c691b 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-02-08 10:04:38 +01:00
Kaya Zeren
ddf3f659ce Translated using Weblate (Turkish)
Currently translated at 100.0% (2331 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-02-08 10:04:38 +01:00
yeongeun.seo
6575672d4f Translated using Weblate (Korean)
Currently translated at 83.4% (1945 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-02-08 10:04:38 +01:00
Matthew Williams
096376d3b6 Translated using Weblate (English (Australia))
Currently translated at 99.7% (2326 of 2331 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-02-08 10:04:38 +01:00
JtheBAB
4dfe356267 Translated using Weblate (German)
Currently translated at 100.0% (2331 of 2331 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% (2329 of 2329 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-02-08 10:04:38 +01:00
MArtin Johnson
c5ce03ac59 Translated using Weblate (Swedish)
Currently translated at 99.7% (2325 of 2330 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.7% (2324 of 2329 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-02-08 10:04:38 +01:00
Tóth Csaba // Online ERP Hungary Kft
853b81193d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2331 of 2331 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% (2329 of 2329 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% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-02-08 10:04:38 +01:00
Ji-Hyeon Gim
603f72177c Translated using Weblate (Korean)
Currently translated at 83.6% (1944 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-02-08 10:04:38 +01:00
Agniva De Sarker
6605300c66 MM-41085: Use a counting semaphore in sendNotifications (#19498)
We throttle the concurrency limit in maintaining thread membership
for a given thread using a counting semaphore. The limit is currently
8 which is a decent number to start with.

On some more thinking, it would be even better if the sql query
could be modified to support batch updates.

https://mattermost.atlassian.net/browse/MM-41085

```release-note
NONE
```
2022-02-08 12:20:02 +05:30
Agniva De Sarker
569ee94116 Pin GolangCI to a specific version (#19505)
* Pin GolangCI to a specific version

Go 1.16+ allows installing a tool directly from a specific version.
Therefore, we don't need to rely on the tool being pre-installed
and can directly install it using standard method.

This keeps the same version of the tool for a repo and limits the
binary placement to the GOBIN of the repo.

```release-note
NONE
```
2022-02-07 23:37:04 +05:30
Gabe Jackson
ca8eb1347b Skip exporting channels for deleted teams (#19494)
This corrects a bug where exports that contained deleted teams
could fail to import. Channels must be skipped that belong to these
deleted teams in order to produce a valid import bundle.
2022-02-07 12:24:50 -05:00
Julien Tant
d2cabaebab [MM-41343] Password reset must be 24hour (#19484) 2022-02-05 13:52:34 -07:00
Spiros Economakis
5fa8499602 Update database to v6.4.0 (#19500) 2022-02-04 15:34:10 +02:00
Ben Cooke
09e13360c2 Feature Flag for health of server dashboard (#19454)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* new feature flag for health of server dashboard

* fixing comment

* changing ff name

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MBP.ht.home>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-03 13:28:22 -05:00
Agniva De Sarker
79d63193ac MM-41184: Remove /config/migrate API endpoint (#19418)
This was introduced to let the functionality happen
via mmctl, but it does not differentiate between
sysadmins vs people having physical access to machines.

Therefore, we remove it and only keep the local endpoint
accessible from mmctl --local.

https://mattermost.atlassian.net/browse/MM-41184

```release-note
The api/v4/config/migrate API endpoint has been removed
in favor of the mmctl --local endpoint. API clients
won't be able to access this endpoint without having
physical access to the server.
```
2022-02-03 14:38:08 +05:30
Shivashis Padhi
4ebf0df545 [MM-40582] Send unsanitized user to source on user_updated (#19444)
- feat: On user_updated event, send unsanitized user to event source and send sanitized event to other users
 - tests: Add tests for user_updated event changes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-03 11:28:01 +05:30
Ben Schumacher
321b19e3db [MM-41290] Add Endpoint to complete onboarding (#19435) 2022-02-02 19:45:09 +01:00
Agniva De Sarker
a733fb840d GraphQL (part 1): Store layer (#19465)
We add the necessary store methods to use GraphQL

```release-note
NONE
```
2022-02-02 22:44:22 +05:30
Jesús Espino
e9a777f4e2 Temporary disabling .pages indexing to avoid crashes on malicious files (#19436)
Automatic Merge
2022-02-02 18:34:18 +02:00
Ben Cooke
e09345798e Growth spike: Get latest MM version (#19366)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* new endpoint to fetch the latest release information

* adding unit tests

* fixing tests and adding check for github response

* error translations

* fixing translations

* chaning error log

* changing cache size

* empty strings for translations

* changing size to 1

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 09:19:47 -05:00
Spiros Economakis
d311e1bdd2 Merge pull request #19464 from mattermost/fix/weblate-conflicts
Fix/weblate conflicts
2022-02-01 18:36:52 +02:00
Julien Tant
257ea22dac Merge pull request #19426 from JulienTant/MM-41189/remove-ff-invite-team 2022-02-01 09:18:27 -07:00
Ashish Bhate
58879719f2 [MM-41350] All CRT server operations should only happen if ThreadAutoFollow is true (#19411)
Summary
CRT server book-keeping should only happen if ThreadAutoFollow is true.

Ticket Link
https://mattermost.atlassian.net/browse/MM-41350
2022-02-01 17:56:42 +05:30
Hosted Weblate
35d6e5c2fe Merge remote-tracking branch 'origin/master' 2022-02-01 12:15:24 +01:00
jprusch
fdf4800994 Translated using Weblate (German)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-02-01 12:12:47 +01:00
JtheBAB
0767a19c68 Translated using Weblate (German)
Currently translated at 99.9% (2323 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-02-01 12:12:47 +01:00
Gabriel Tapias
5b136a6018 Translated using Weblate (Spanish)
Currently translated at 100.0% (2323 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-02-01 12:12:47 +01:00
Tóth Csaba // Online ERP Hungary Kft
4db6e003e4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2323 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-02-01 12:12:47 +01:00
Julien Tant
658d86b8d9 Translated using Weblate (French)
Currently translated at 95.3% (2215 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-02-01 12:12:47 +01:00
Matthew Williams
2558edf1a2 Translated using Weblate (English (Australia))
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-02-01 11:51:44 +01:00
Kaya Zeren
1723331097 Translated using Weblate (Turkish)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-02-01 11:51:44 +01:00
Tom De Moor
f75cbb0857 Translated using Weblate (Dutch)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-02-01 11:51:44 +01:00
master7
b2eb48a757 Translated using Weblate (Polish)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-02-01 11:51:43 +01:00
jprusch
7de4235e48 Translated using Weblate (German)
Currently translated at 100.0% (2324 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-02-01 11:51:43 +01:00
JtheBAB
6c4a28f396 Translated using Weblate (German)
Currently translated at 100.0% (2324 of 2324 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 99.9% (2323 of 2324 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-02-01 11:51:43 +01:00
Gabriel Tapias
c58d500b3c Translated using Weblate (Spanish)
Currently translated at 100.0% (2323 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-02-01 11:51:42 +01:00
Tóth Csaba // Online ERP Hungary Kft
6036d6d3da Translated using Weblate (Hungarian)
Currently translated at 100.0% (2323 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-02-01 11:51:42 +01:00
Julien Tant
da78734c46 Translated using Weblate (French)
Currently translated at 95.3% (2215 of 2323 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-02-01 11:51:41 +01:00
Ashish Bhate
ae16f51aea [MM-41351] Set ThreadAutoFollow to false by default (#19441)
Summary
ThreadAutoFollow is now false by default. Won't affect existing systems that have it set to true.

Ticket Link
https://mattermost.atlassian.net/browse/MM-41351
2022-02-01 16:21:04 +05:30
Amy Blais
cc47648b4d Update en.json (#19271)
Automatic Merge
2022-01-31 20:04:18 +02:00
Julien Tant
0db5df4422 Merge pull request #19414 from JulienTant/MM-41188/remove-ff-plus-btn 2022-01-31 10:46:52 -07:00
Agniva De Sarker
6e97d581e4 PostStore: Remove db:"-" tag and some other hacks (#19384)
Before gorp, to use sqlx we had to resort to using
internal structs without the `db:"-"` tag so that
it doesn't interfere with the gorp table generation.

Now that it's gone, we can use the original model structs.

```release-note
NONE
```
2022-01-31 23:08:30 +05:30
Kyriakos Z
e23a7a2311 MM-40664: fixes CRT notifications (#19328)
* MM-40664: fixes CRT notifications

Reply notification settings that take effect when CRT is off where
considered when CRT is on as well. Resulting, in some cases, in not
respecting the CRT setting for notifications.
This commit fixes that by guarding against IsCRTEnabledForUser when
checking for reply notification settings.

* Adds test cases

* Satisfies the vet

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-31 10:47:18 -05:00
Ibrahim Serdar Acikgoz
e03384c4d1 [MM-40712] config: Bugfix on path resolution; fail if given config does not exist (#19360)
* config: bugfix on path resolution; fail if given config does not exist

* reflect review comments

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-31 17:15:32 +03:00
Shota Gvinepadze
c554bbd977 [MM-41263] Fix stackoverflow error in saml login (#19423)
Automatic Merge
2022-01-31 15:34:18 +02:00
Agniva De Sarker
7988810fc0 Disable sentry tracing completely (#19410)
We don't do instrumentation of Sentry transactions
anywhere in the code. Only opentracing code is present.

One has to explicitly add custom instrumentation for it
to work: https://docs.sentry.io/platforms/go/performance/instrumentation/custom-instrumentation/

It's likely someone is running custom code and sending
transaction data to Sentry. It's not super hard to pick
off the sentry DSN string from the binary.

The PR is more of a best effort to stop any future
transaction events to be sent.

```release-note
NONE
```
2022-01-28 12:47:46 +05:30
Agniva De Sarker
0c9262c4d1 MM-41236: Sentry crash: Fix nil reference to token (#19417)
The AND condition would mean that it would try to dereference
token.Valid if there was an error. And there's no guarantee
to always have a non-nil token in case of an error. We need
to track those conditions separately.

https://mattermost.atlassian.net/browse/MM-41236

```release-note
NONE
```
2022-01-28 12:37:02 +05:30
Kyriakos Z
8f35243604 Fixes editing and pinning a post (#19425)
PR https://github.com/mattermost/mattermost-server/pull/19404 fixed the
replies on posts by casting StringArray to a string.

This PR fixes editing and pinning a post by casting StringArray, and
StringInterface to a string as well.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-27 14:47:41 +02:00
Agniva De Sarker
461e6b0fb2 CI: Add another parallel stage for binary_parameters=yes (#19432)
We want to test with both text and binary mode. Using our CI
to test both in parallel.

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-27 12:10:14 +02:00
Spiros Economakis
fe782ebf7d Increase ulimit for CI testing (#19409)
The CI fails because of ulimit issues.

Ticket: https://mattermost.atlassian.net/browse/DOPS-783

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-27 11:46:45 +02:00