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

15506 Коммитов

Автор SHA1 Сообщение Дата
Pablo Andrés Vélez Vidal
c39c05e93c Replace 500 errors with more meaningful error codes (#21439)
* Replace 500 errors with more meaningful error codes

* replace forbidden with badrequest for cloud customer fetch, rename parameter name
2022-10-20 16:01:15 +02:00
Harshil Sharma
31e6cdd0e6 Slack attachment in email notifications (#20946)
* First POC

* Added author data and markdown support

* WIP

* styled fields

* WIP

* WIP

* IMplementation done

* Updated template

* fixed mjml compilation error

* removed card.mjml

* Added test

* Updated a styling

* Updated a styling

* CI

* Updated generated templates

* Explicitelly specified font for message attachments

* Lint fix

* Removed leftover existances of slack attachment
2022-10-20 11:05:22 +05:30
Shivashis Padhi
312bf283a8 [MM-47538] Pass handler functions directly while creating API endpoints (#21441)
* Pass handler functions directly without permission check middlewares

* Create necessary handlers in api4/group_local.go

* Refactor GetGroupsByTeam, GetGroupsByChannel to a common function for local and API
2022-10-20 10:08:09 +05:30
Zef Hemel
5ab0d6c756 Merge pull request #21378 from weblate/weblate-mattermost-mattermost-server_master 2022-10-19 22:38:04 +02:00
Agniva De Sarker
5730d3da6e MM-47250: Add new system console section (#21333)
* MM-47250: Add new system console section

We add a new section in system console
for products.

```release-note
Added a new section in system console
for products. For now, it only contains
boards specific settings.
```

* fix unit tests

```release-note
NONE
```

* change comment

```release-note
NONE
```
2022-10-19 15:23:20 -04:00
Agniva De Sarker
10a627fac1 MM-45723: Include DM/GM channels for user indexing (#21391)
There were 2 separate issues here:

1. We were excluding DM/GM channels for user indexing.
Not sure why. This prevented users to be shown as
channel members in autocomplete results in both
Bleve and Elasticsearch.

2. We were incorrectly deciding to search across
the team based on if the current channel
is in the list of allowed channels or not. But we
were incorrectly wiping the list of allowed channels
even if a channelid was passed. This makes it work
same as a DB search.

One catch is that for the correct results to appear,
a re-indexing is required.

```release-note
Autocompletion results using Elasticsearch or Bleve will
correctly show a user as a channel member in DM/GM channels.
To force this change to appear, a re-indexing will be
necessary.
```
2022-10-19 20:51:00 +05:30
Shivashis Padhi
28698abb9f Apply role filters for /get/users in channel (#21251) 2022-10-19 09:50:41 +05:30
Said Atrahouch
b3ffec28c6 Merge pull request #21410 from mattermost/mm-46549-gather-intent-cloud-monthly-subscription
Mm 46549 gather intent cloud monthly subscription
2022-10-18 17:18:41 +02:00
Agniva De Sarker
3946c63970 MM-47612: Skip flaky test TestPluginAPIDeleteUserPreferences (#21425)
https://mattermost.atlassian.net/browse/MM-47612

```release-note
NONE
```
2022-10-18 19:37:40 +05:30
mattermod
b24440c2bd Update latest version to 7.4.0 2022-10-18 11:32:34 +00:00
Ibrahim Serdar Acikgoz
6aec81eb6e add nil check for license manager (#21364) 2022-10-18 13:30:22 +03:00
Rohitesh Gupta
9e72ca1867 Updated CodeQL to use latest version (#21436)
* Update CodeQL to latest version
2022-10-18 12:44:19 +05:30
Gábor Boros
9a857b47b4 feat: nested config value setting using env vars (#21049)
Automatic Merge
2022-10-15 07:32:14 +03:00
Agniva De Sarker
21bf5b5dd5 MM-47465: Skip flaky TestDeleteChannel (#21392)
https://mattermost.atlassian.net/browse/MM-47465

```release-note
NONE
```
2022-10-14 16:11:45 -04:00
Said Atrahouch
439048561e Fix model 2022-10-14 17:07:04 +02:00
Said Atrahouch
350b672714 [MM-46549] Allow update the cloud customer 2022-10-14 16:33:56 +02:00
Muhammad Salman
a5f6e181ee Merge pull request #21045 from salmanmanekia/MM-44790
new ui for email verification due to change in the email address
2022-10-14 16:03:22 +03:00
Agniva De Sarker
c57706e6f4 GraphQL: Remove channel stats from the API (#21377)
Channel Stats isn't optimized with dataloaders.

And it's a heavy call, therefore clients
can mistakenly call this with multiple channels
and bring down the server.

Since there is no advantage compared to a REST API,
let's just remove it and keep things safe.

```release-note
NONE
```
2022-10-14 14:17:43 +05:30
Mattermod
d96516acd9 Update minor version to 7.5.0 (#21405)
Automatic Merge
2022-10-14 02:32:14 +03:00
Julien Tant
3747d99806 [MM-46694] A/B Test: welcome post (#20926)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-13 14:23:22 -07:00
Muhammad Salman
8bd6ec8f99 [MM-44790] removing extra margin bottom from the verify email change email heading 2022-10-13 21:00:44 +03:00
Muhammad Salman
1d9fdce916 Revert "add metropolis font to email change verify email html"
This reverts commit 9f6497fb0e.
2022-10-13 20:34:48 +03:00
Scott Bishel
a6a44b5824 prepackage boards v7.4.2 (#21382)
Automatic Merge
2022-10-12 20:32:14 +03:00
Jesse Hallam
11665d28ea Pre-package Playbooks v1.32.5 (#21376)
* Pre-package Playbooks v1.32.5

* Pre-package Playbooks v1.32.6
2022-10-12 12:53:38 -03:00
Ibrahim Serdar Acikgoz
71d1b7df53 [MM-47468] Fix store metrics initialization (#21374)
* initialize metrics before store

* add tests

* reflect review comments
2022-10-12 16:31:16 +03:00
Rob Bierbooms
66b7c45e69 [MM-47367] Make sure mini preview is saved to database when updating database (#21304) 2022-10-12 15:19:00 +02:00
JtheBAB
188a87315c Translated using Weblate (German)
Currently translated at 100.0% (2386 of 2386 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% (2386 of 2386 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-10-12 15:11:58 +02:00
MArtin Johnson
1d814f27ae Translated using Weblate (Swedish)
Currently translated at 100.0% (2385 of 2385 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-10-12 15:11:58 +02:00
Hosted Weblate
4eb4316402 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-10-12 15:11:57 +02:00
José Vítor Cruz de Souza
ef699ff0a2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 90.6% (2161 of 2385 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 90.5% (2160 of 2385 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pt_BR/
2022-10-12 15:11:56 +02:00
Matthew Williams
9018daba01 Translated using Weblate (English (Australia))
Currently translated at 100.0% (2385 of 2385 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-10-12 15:11:56 +02:00
Dmitriy Danilov
c3e3d06f66 Translated using Weblate (Ukrainian)
Currently translated at 70.7% (1687 of 2385 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/uk/
2022-10-12 15:11:56 +02:00
master7
280859f457 Translated using Weblate (Polish)
Currently translated at 100.0% (2386 of 2386 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% (2386 of 2386 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% (2385 of 2385 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% (2384 of 2384 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-10-12 15:11:55 +02:00
Tilto_
a256ff4983 Translated using Weblate (Korean)
Currently translated at 83.3% (1986 of 2384 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-10-12 15:11:55 +02:00
Tóth Csaba // Online ERP Hungary Kft
a0a22fc9da Translated using Weblate (Hungarian)
Currently translated at 98.3% (2346 of 2385 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 98.2% (2343 of 2385 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 98.3% (2342 of 2382 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2022-10-12 15:11:54 +02:00
Dennis Cheng
bc6388b93d Translated using Weblate (Chinese (Traditional))
Currently translated at 75.7% (1805 of 2382 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
2022-10-12 15:11:54 +02:00
Kaya Zeren
a9cc73140d Translated using Weblate (Turkish)
Currently translated at 100.0% (2386 of 2386 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% (2385 of 2385 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% (2384 of 2384 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% (2382 of 2382 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-10-12 15:11:54 +02:00
Tom De Moor
be31712769 Translated using Weblate (Dutch)
Currently translated at 100.0% (2386 of 2386 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (2382 of 2382 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-10-12 15:11:53 +02:00
jprusch
2080ac0871 Translated using Weblate (German)
Currently translated at 100.0% (2386 of 2386 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% (2385 of 2385 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% (2385 of 2385 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% (2384 of 2384 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% (2382 of 2382 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-10-12 15:11:53 +02:00
Amy Blais
23b2bfcd04 Update en.json (#21373)
Automatic Merge
2022-10-11 22:02:13 +03:00
Agniva De Sarker
279c448da3 MM-36295: Do not convert thumbnails/previews to jpeg for png images (#21230)
We were applying a white background to transparent images
and converting them to jpegs. This was to make text be legible
behind a black preview background.

However, this has led to a poor user experience, as users rarely
download the full image but always click on previews. Therefore,
we need the previews to remain as pngs.

To fix this, we just re-encode them as pngs instead of jpgs.

```release-note
NONE
```
2022-10-11 19:04:09 +05:30
Daniel Espino García
79651874ea Do not send categories for teams deleted or not member of (#21038)
* Do not send categories for teams deleted or not member of

* Fix tests and add test for deleted teams and memberships
2022-10-11 15:33:29 +02:00
Amy Blais
f72540c68f Update supported versions (#21143)
Automatic Merge
2022-10-11 16:02:11 +03:00
Muhammad Salman
9f6497fb0e add metropolis font to email change verify email html 2022-10-11 12:46:10 +03:00
Muhammad Salman
6cc85b8350 [MM-44790] removing extra quotes around font-family 2022-10-10 20:40:40 +03:00
Muhammad Salman
affddb65da [MM-44790] add additional font family for consitency 2022-10-10 20:40:40 +03:00
Muhammad Salman
979359ade6 [MM-44790] fix the external link warning 2022-10-10 20:40:40 +03:00
Muhammad Salman
542c36bd68 new ui for email verify change email address 2022-10-10 20:40:40 +03:00
Agniva De Sarker
9bf94bf6c1 MM-47249: Blocklist focalboard plugin in product mode (#21243)
We prevent the plugin from starting if in product mode,
and also give pretty errors to make it clear to the users.

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

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-08 10:21:22 +05:30
Scott Bishel
a28183b078 update prepackaged to v7.4.1 (#21288) 2022-10-07 10:48:50 -06:00