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

14929 Коммитов

Автор SHA1 Сообщение Дата
Tim Scheuermann
eb034fc981 MM-44236 Update server dependencies (#20444) 2022-06-16 08:50:55 +02:00
Guillermo Vayá
ca5647fdad Weblate 220615 (#20480)
Automatic Merge
2022-06-15 20:30:18 +03:00
Martin Kraft
5b294d079a Fix for time module. (#20479) 2022-06-15 12:53:28 -04:00
Martin Kraft
4e9edef1f1 Improves group membership telemetry. (#20437)
* Improves groups membership telemetry.

* Removes unnecessary where clause (it's added by default).

* Cleans up data.

* Testing the relative group counts.

* Adds missing test mock.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-15 09:42:27 -04:00
master7
9d0c99068a Translated using Weblate (Polish)
Currently translated at 100.0% (2337 of 2337 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-15 15:37:40 +02:00
JtheBAB
8ccbffed1a Translated using Weblate (German)
Currently translated at 100.0% (2337 of 2337 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-15 15:37:40 +02:00
master7
c341ed3f9e Translated using Weblate (Polish)
Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-15 15:37:40 +02:00
jprusch
8748da393b Translated using Weblate (German)
Currently translated at 100.0% (2335 of 2335 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% (2334 of 2334 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% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-15 15:37:40 +02:00
Zef Hemel
b30b2558ff Fix merge conflict 2022-06-15 14:35:30 +02:00
master7
16869162a0 Translated using Weblate (Polish)
Currently translated at 100.0% (2337 of 2337 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-15 14:35:30 +02:00
JtheBAB
db74a48402 Translated using Weblate (German)
Currently translated at 100.0% (2337 of 2337 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-15 14:35:30 +02:00
Zef Hemel
85b1c8716d Translated using Weblate (Turkish)
Currently translated at 100.0% (2337 of 2337 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-06-15 14:35:30 +02:00
Tóth Csaba // Online ERP Hungary Kft
45f223215f Translated using Weblate (Hungarian)
Currently translated at 99.4% (2325 of 2337 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 99.5% (2324 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-06-15 14:35:30 +02:00
jprusch
2e6940f09d Translated using Weblate (German)
Currently translated at 100.0% (2335 of 2335 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% (2334 of 2334 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% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-15 14:35:30 +02:00
Hosted Weblate
377b63c7d9 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/
2022-06-15 14:35:30 +02:00
Tom De Moor
9258a08b8d Translated using Weblate (Dutch)
Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-06-15 10:27:25 +02:00
kaakaa
274ac04b17 Translated using Weblate (Japanese)
Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-06-15 10:27:25 +02:00
MArtin Johnson
e1ac3a202f Translated using Weblate (Swedish)
Currently translated at 100.0% (2335 of 2335 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 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-06-15 10:27:25 +02:00
Kaya Zeren
93c593279e Translated using Weblate (Turkish)
Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-06-15 10:27:25 +02:00
master7
32e44fd0c9 Translated using Weblate (Polish)
Currently translated at 100.0% (2335 of 2335 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-06-15 10:27:25 +02:00
Tóth Csaba // Online ERP Hungary Kft
209cf02012 Translated using Weblate (Hungarian)
Currently translated at 99.5% (2324 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-06-15 10:27:25 +02:00
Matthew Williams
bc71fb5dc5 Translated using Weblate (English (Australia))
Currently translated at 99.3% (2318 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-06-15 10:27:25 +02:00
jprusch
e1bc613a80 Translated using Weblate (German)
Currently translated at 100.0% (2334 of 2334 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% (2334 of 2334 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-06-15 10:27:25 +02:00
Hosted Weblate
767eb1a978 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-06-15 10:27:25 +02:00
Nathaniel Allred
90c737a57a File storage usage default 0 (#20454)
* check for test fail in CI

* use 0 if there are no fileinfo table entries

* fix usage
2022-06-15 12:43:01 +05:30
Nathaniel Allred
1876d69210 add file storage telemetry (#20408)
* cloud instances send file storage telemetry
* Add core disabled plugins (`disabled_default_plugins`) per analytics team request
2022-06-14 20:07:33 -05:00
Mattermod
906fab07bd Update minor version to 7.1.0 (#20465)
Co-authored-by: Mmbot <mmbot@mattermost>
2022-06-14 17:41:50 +03:00
Mattermod
3bd5690f4b Update latest version to 7.0.0 (#20469) 2022-06-14 17:34:52 +03:00
Agniva De Sarker
680b00047f MM-45000: Change dyatlov dependency (#20443)
* MM-45000: Change dyatlov dependency

https://mattermost.atlassian.net/browse/MM-45000
2022-06-14 16:11:53 +03:00
Mattermod
2a85fd6a81 Update latest version to 6.7.1 (#20464) 2022-06-14 14:07:16 +03:00
Agniva De Sarker
8aa8f21bbb MM-22405: Display the translated message instead of error id (#20462)
For a config failure, we now translate the message and show
a user friendly string rather than the error id.

This makes things easier to debug and read.

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

```release-note
NONE
```
2022-06-14 14:58:15 +05:30
José Peso
48a9234d69 websocket: drop less important events before they are queued (#20326)
Discard the non-essential WebSocket events before they are queued.

When conn send queue is full, the connection is closed. There are messages that are being dropped by the current mechanism when send queue is at 50% capacity. This change makes the messages drop before entering the queue in order to keep the queue as empty as possible.

The value of the length of the queue could not be 100% accurate since we are reading from the hub goroutine, but it will be accurate enough to avoid some events.
2022-06-14 09:35:22 +02:00
Martin Kraft
182ae1234a MM-43956: Adds post counts by duration. (#20131)
* MM-43956: Adds post counts by day.

* MM-43956: Test data cleanup. Switch from Unix to UnixMilli.

* MM-43956: Changes from selecting date data types to strings in SQL.

* MM-43956: Fixes date format key.

* MM-43956: Adds missing user id scope for 'my' top channels graph.

* MM-43956: Adds the ability to group post counts by hour.

* MM-43956: Require enterprise or professional license. Reject guests.

* MM-43956: Adds license for tests.

* MM-43956: Renames function.

* MM-43956: Omits future hours from post counts by hour.

* MM-43956: Adjust API response grouping to users timezone.

* MM-43956: Adds translation.

* MM-43956: Adds user's timezone to the data tier for the grouping by day and hour.

* MM-43956: Fixes layers.

* MM-43956: Lint fix.

* MM-43956: Fix store layers.

* MM-43956: Switches to default name for time package; changes parameter names to avoid naming conflict.

* MM-43956: Updates mocks.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-13 16:22:34 -04:00
Mustafa Kara
c03eb778c8 Reflect alpine image change to fix build pipelines (#20449)
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-06-13 17:58:25 +03:00
Tim Scheuermann
bf62ef3fa0 [MM-44951] Add go mod tidy CircleCI check (#20446) 2022-06-13 16:20:50 +02:00
Claudio Costa
d317923143 Fix flaky TestUploadDataConcurrent (#20445) 2022-06-13 09:52:10 +02:00
Ibrahim Serdar Acikgoz
39991d236b Add Product Interfaces (#20403)
* app: improve plugin interfaces

* add documentation

* improve doc

* add error id

* add more info to readme
2022-06-13 09:36:43 +03:00
Agniva De Sarker
7c1b8cd937 MM-43733: Set concurrency limits via configuration (#20413)
```release-note
We create a new config option MaxImageDecoderConcurrency which
indicates how many images can be decoded concurrently at once.

The default is -1 which means number of CPUs present.

This affects the total memory consumption of the server. The
maximum memory of a single image is dictated by MaxImageResolution * 24 bytes.
Therefore, a good rule of thumb to follow is that MaxImageResolution
* MaxImageDecoderConcurrency * 24 should be less then the allocated memory for
image decoding.
```

https://mattermost.atlassian.net/browse/MM-43733
2022-06-11 00:24:46 +05:30
Agniva De Sarker
4b8cb4e272 MM-44806: Avoid pointers in JSON parsing in updateCategoryForTeamForUser (#20431)
Passing null is a valid JSON input for a pointer struct. So we avoid
passing pointer to pointer.

https://mattermost.atlassian.net/browse/MM-44806
```release-note
NONE
```
2022-06-11 00:24:23 +05:30
Agniva De Sarker
b443746e80 MM-44805: Avoid pointers in JSON parsing in createCategoryForTeamForUser (#20429)
Passing null is a valid JSON input for a pointer struct. So we avoid
passing pointer to pointer.

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

```release-note
NONE
```
2022-06-11 00:24:04 +05:30
Agniva De Sarker
16174cacf0 Fix client driver API for UpdateUserCustomStatus (#20433)
UpdateUserCustomStatus server API never returned the object.
But the client driver tried to parse the JSON response into
a struct, which always parsed as an empty struct.

We fix that by returning the original response and added
a comment to clarify that.

Found while adding coverage for custom status in the load-test
tool.

```release-note
NONE
```
2022-06-10 20:06:59 +05:30
Julien Tant
35d473b3a0 [MM-44995] remove reference to 30 days trial in welcome email (#20425) 2022-06-09 16:01:24 -07:00
Michael Kochell
e18b1cf89f Check for cloud license and CWS error when checking integration freemium limits (#20387)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-09 15:57:02 -04:00
Tim Scheuermann
71cdd9e486 [MM-44364] make config override actually override defaults (#20379) 2022-06-09 11:45:17 +02:00
Agniva De Sarker
dce96046dd MM-42714: Trim token sizes to 50 characters (#20412)
https://mattermost.atlassian.net/browse/MM-42714

```release-note
NONE
```
2022-06-09 14:56:26 +05:30
Guillermo Vayá
c6f80dfe0a [MM-44573] Sanitize options (#20380)
Automatic Merge
2022-06-09 00:36:28 +03:00
darkLord19
a251510717 remove unused code around unimplemented ExperimentalSettings.EnableClickToReply setting (#20389) 2022-06-08 15:40:30 -04:00
Ben Cooke
2c63e8dd08 [MM-43785] Hide insights feature intro for new users (#20214)
* tools updates

* Revert "tools updates"

This reverts commit 6293297b55803c5a263e200ebd80192899666ae9.

* hide insights modal by default for new users

* updating feature flag for test

* updating preference tests

* fixing lint

* fixing comment

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-06-08 14:56:34 -04:00
Scott Bishel
719e4504b8 update boards to v7.0.1 (#20394)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-08 12:33:31 -06:00
Kyriakos Z
5396c530bf MM-42581: fixes unread threads on user channel add (#20181)
* MM-42581: fixes unread threads on user channel add

Currently when we are adding a user to a channel we don't send previous
values for unread replies and mentions. This is resulting the thread to
not be marked as unread in the UI, since we rely on the previous values
for that.

This commit fixes the issue by returning previous unread values of 0.

* Adds test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-08 14:01:58 -04:00