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

15562 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
b316e1384e Change status code to 400 when attempting to enable Boards plugin with product enabled (#21521) 2022-10-26 18:15:19 -04:00
Shota Gvinepadze
96c8dc1281 [MM-45868] Replace TeamId column with ThreadTeamId (#21505)
* Replace TeamId column with TreadTeamId

* make migrations-extract
2022-10-26 19:50:37 +04:00
cyrilzhang-mm
82096a8cbb [MM-44336] Add timestamp parameter to test data slash commands (#21400) 2022-10-26 09:08:24 -04:00
Agniva De Sarker
0323e40d3c MM-46874: Change to 400 for failed to upgrade ws (#21492)
https://mattermost.atlassian.net/browse/MM-46874

```release-note
NONE
```
2022-10-26 13:15:16 +05:30
Ibrahim Serdar Acikgoz
0fc1655cfc platform/service: fix a flaky test (#21497) 2022-10-26 08:42:10 +05:30
Harrison Healey
271b3bf915 MM-47238 Add MM_BOARDS_DEV_SERVER_URL environment variable for MPA (#21435)
* MM-47238 Add MM_BOARDS_DEV_SERVER_URL environment variable for MPA

* Switch from os.LookupEnv to os.Getenv
2022-10-25 20:04:05 -04:00
Harrison Healey
499f731a2b MM-46275/MM-46979 Production MPA for web app (#21401)
* MM-46275 Unify various targets for building web app

* MM-46275/MM-46979 Add logic to package boards product static files in CI

* Add error meessage when Boards files can't be found during packaging

* Remove a couple unneeded lines from release.mk

* Decrease size of machine used for setup-focalboard-product

* Revert "Add error meessage when Boards files can't be found during packaging"

This reverts commit f4f46ade0ac4c1ec5525d9b2eae959e13b9aec42.

* Revert "Revert "Add error meessage when Boards files can't be found during packaging""

This reverts commit a0e6420b19c5af0b5ff4706b6abaf8e56f8b3495.

* Fix unrelated email templates

* Skip flaky test
2022-10-25 17:02:14 -04:00
Agniva De Sarker
ee3fae80bc MM-47884: Migrate config state from focalboard plugin (#21490)
Instead of blindly setting the initial flag value
to false, we set it to the original plugin setting.

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

```release-note
NONE
```
2022-10-25 23:29:16 +05:30
cyrilzhang-mm
a648ced221 [MM-42421] Prevent guests from seeing users through groups API (#21151) 2022-10-25 11:54:51 -04:00
Ibrahim Serdar Acikgoz
c5f4882f0a db/migrations: ensure to drop parentid from posts table (#21493) 2022-10-25 16:32:34 +03:00
Agniva De Sarker
b62ee905ae MM-40690: Populate the error message with email address (#21491)
When logging via openID, if the user email is invalid,
we don't log the invalid email address. This makes
debugging difficult.

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

```release-note
NONE
```
2022-10-25 14:58:13 +05:30
Julian Mondragón
53b396d325 MM-46528_Verify Invitation Flow Tracking Telemetry - Fix build (#21488) 2022-10-24 19:29:01 -05:00
Julian Mondragón
757c4e041a MM-46528_Verify Invitation Flow Tracking Telemetry (#21227) 2022-10-24 16:20:56 -05:00
emmyni
679c23d235 [MM-47560]: In-product: Add support for new fields (back-end and front-end) 2022-10-24 13:34:38 -04:00
emmyni
3ea6247ec1 Merge pull request #21272 from emmyni/MM-46440
[MM-46440]: Update Logo and Remove grey email border
2022-10-24 09:27:06 -04:00
Shota Gvinepadze
fab9d350c7 [MM-45868] Add teamId to Threads table (#20915)
* Add teamId to Threads table

* Get rid of multiple teamId reads

* Fix failed test

* Add teamId to standard queries

* Fix linter

* Get teamId from db
2022-10-24 16:10:27 +04:00
Emmy Ni
532a3c1f22 fix templates 2022-10-21 14:09:00 -04:00
Emmy Ni
eb67874cd6 Merge remote-tracking branch 'upstream/master' into MM-47560 2022-10-21 13:08:59 -04:00
Emmy Ni
2bed35ec1c update recurring_interval values 2022-10-21 12:59:29 -04:00
Scott Bishel
6ac0faf99e Display board statistics (#21433)
* prepackage boards v7.4.2

* allow plugin to call HasPermissionTo

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-21 18:10:45 +02:00
Scott Bishel
0dc8b7b9dd update prepackage boards to v7.4.3 (#21481) 2022-10-21 09:54:17 -06:00
Caleb Roseland
11ecd36eb2 Merge pull request #21042 from mattermost/people-product-init 2022-10-21 10:11:02 -05:00
Emmy Ni
e9b34ee037 fix tests 2022-10-21 10:23:31 -04:00
Ibrahim Serdar Acikgoz
2ce3e81490 move file backend to the platform service (#21365) 2022-10-21 12:24:36 +03:00
Julien Tant
b30e511ffe Deprecate ioutil (#21457) 2022-10-20 12:06:34 -07:00
cyrilzhang-mm
093c657e56 [MM-45052] Add error checking in insights API (#21048) 2022-10-20 14:37:24 -04:00
Pantelis Vratsalis
09f63eec06 Merge pull request #21452 from m1lt0n/fix_translations
Fix translations
2022-10-20 18:59:52 +03:00
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
Pantelis Vratsalis
1688bf93fb Merge remote-tracking branch 'weblate/master' into fix_translations 2022-10-20 13:42:31 +03: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
Angel Mendez Cano
78ad750665 Translated using Weblate (Spanish)
Currently translated at 99.7% (2381 of 2386 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.2% (2344 of 2386 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/es/
2022-10-19 21:23:28 +02:00
JtheBAB
ee718b04a7 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-19 21:23:28 +02:00
MArtin Johnson
b9bbe5c447 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-19 21:23:28 +02:00
Hosted Weblate
32a941b79d 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-19 21:23:27 +02:00
José Vítor Cruz de Souza
b0c39341d6 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-19 21:23:27 +02:00
Matthew Williams
4c1bcc9e3b 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-19 21:23:27 +02:00
Dmitriy Danilov
62152212cc 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-19 21:23:27 +02:00
master7
df62328291 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-19 21:23:27 +02:00
Tilto_
62626d31e3 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-19 21:23:27 +02:00
Tóth Csaba // Online ERP Hungary Kft
c9103687de 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-19 21:23:27 +02:00
Dennis Cheng
bab91b41f8 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-19 21:23:27 +02:00
Kaya Zeren
1ee8f17f8e 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-19 21:23:27 +02:00
Tom De Moor
46dde366d9 Translated using Weblate (Dutch)
Currently translated at 99.9% (2384 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% (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-19 21:23:27 +02:00
jprusch
5b2b2be753 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/

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-19 21:23:27 +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
Emmy Ni
5bf39666d7 add recurringInterval 2022-10-18 12:30:30 -04:00