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
Julien Tant
fec826ade4
remove invite to team feature flag
2022-01-26 14:44:16 -07:00
Agniva De Sarker
d639e3c87c
MM-41231: Bump morph dependency to avoid advisory locks ( #19421 )
...
https://mattermost.atlassian.net/browse/MM-41231
```release-note
NONE
```
2022-01-26 19:48:21 +05:30
Carlos Tadeu Panato Junior
56a45ffa41
Merge pull request #19422 from weblate/weblate-mattermost-mattermost-server_master
...
Translations update from Mattermost Weblate
2022-01-26 11:30:59 +01:00
Agniva De Sarker
54938694b2
MM-41209: Fix flaky test CreateRecurringTaskFromNextIntervalTime ( #19416 )
...
We were noting down the time of execution of a function and
expected that to match with the exact interval that we set.
However, sometimes in very busy CI environments, the goroutine
does not get a chance to be scheduled at the right time for
the interval to match exactly. Sometimes, we see a delay of
1 second.
To account for this, we increase the interval to 3 seconds,
and consider a 1 second buffer for this. If we see lags of
more than a second, then this test becomes useless and we
would need to remove it entirely.
https://mattermost.atlassian.net/browse/MM-41209
```release-note
NONE
```
2022-01-26 15:28:40 +05:30
yeongeun.seo
b048764084
Translated using Weblate (Korean)
...
Currently translated at 81.2% (1888 of 2323 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-01-26 10:36:46 +01:00
MArtin Johnson
8ef286a0c8
Translated using Weblate (Swedish)
...
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/sv/
2022-01-26 10:36:46 +01:00
Maksim Matveev
24fc0f1519
Translated using Weblate (Russian)
...
Currently translated at 95.8% (2227 of 2323 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-01-26 10:36:45 +01:00
kaakaa
1df6279de3
Translated using Weblate (Japanese)
...
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/ja/
2022-01-26 10:36:45 +01:00
Matthew Williams
72b38dbbfe
Translated using Weblate (English (Australia))
...
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/en_AU/
2022-01-26 10:36:45 +01:00
aeomin
43ebfcf477
Translated using Weblate (Chinese (Simplified))
...
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/zh_Hans/
2022-01-26 10:36:45 +01:00
Tom De Moor
a2372a297f
Translated using Weblate (Dutch)
...
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/nl/
2022-01-26 10:36:45 +01:00