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

13997 Коммитов

Автор SHA1 Сообщение Дата
Martin Kraft
55ea07677d Removed PostPreview from MessageHasBeenPosted payload. (#18613)
Automatic Merge
2021-10-08 18:50:03 +02:00
Scott Bishel
4a7cf864be update boards to 0.9.2 (#18616)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-08 10:25:44 -06:00
Nathaniel Allred
fbe4f75953 Allow webapp to request legacy cloud products. (#18528)
* Change internal getProducts to filter on a set of families instead of a single family.
* Extend /products endpoint to be able to return any of the current four sets of product families.
* Use include_legacy query param to decide which cloud products to request.
2021-10-07 11:48:56 -05:00
Archit Mathur
d13b3604ea Cluster Discovery store sqlx migration (#18605)
Automatic Merge
2021-10-07 16:50:03 +02:00
Agniva De Sarker
9bbac354d8 Add new CI step for checking email templates (#18570)
* Add new CI step for checking email templates

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=2c1d9628-675f-4eb6-80bb-db9e4d09b8bf

```release-note
NONE
```

* Pre-install

```release-note
NONE
```

* pinning down to 4.9.0

```release-note
NONE
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-07 13:07:38 +05:30
Agniva De Sarker
76d492f9ab MM-37186: Update dependencies (#18604)
* MM-37186: Update dependencies

The split client libraries were excluded from being upgraded.

See: https://github.com/splitio/go-split-commons/issues/56

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

```release-note
NONE
```

* Ignore staticcheck deprecation warnings

```release-note
NONE
```
2021-10-07 12:57:51 +05:30
Agniva De Sarker
2898f988fc Move admin advisor to separate file (#18606)
```release-note
NONE
```
2021-10-07 12:20:40 +05:30
Agniva De Sarker
d9dda9f7c6 Add index on Jobs table (#18244)
From Grafana charts, GetCountbyStatusandType and
GetNewestJobByStatusesAndType were the two top queries.

Overall, a through look into all job methods leads to
the conclusion of 2 indexes - one on CreateAt, another
a compound index of Status+Type. I have just gone ahead
with the compound index for now. Once the job cleaner
is implemented, I want to take a second look to decide
whether to add the second index or not.

Here is the before-after of the queries:

Query 1:
```
explain analyze select count(*) from jobs where status='error' and type='migrations';
                                                         QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------
 Aggregate  (cost=103.42..103.43 rows=1 width=8) (actual time=0.032..0.034 rows=1 loops=1)
   ->  Bitmap Heap Scan on jobs  (cost=4.54..103.42 rows=1 width=0) (actual time=0.027..0.028 rows=0 loops=1)
         Recheck Cond: ((type)::text = 'migrations'::text)
         Filter: ((status)::text = 'error'::text)
         ->  Bitmap Index Scan on idx_jobs_type  (cost=0.00..4.54 rows=34 width=0) (actual time=0.018..0.019 rows=0 loops=1)
               Index Cond: ((type)::text = 'migrations'::text)

explain analyze select count(*) from jobs where status='error' and type='migrations';
                                                         QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------
Aggregate  (cost=8.31..8.32 rows=1 width=8) (actual time=0.079..0.080 rows=1 loops=1)
   ->  Index Only Scan using jobs_multi on jobs  (cost=0.29..8.30 rows=1 width=0) (actual time=0.072..0.073 rows=0 loops=1)
         Index Cond: ((status = 'error'::text) AND (type = 'migrations'::text))
         Heap Fetches: 0

explain analyze select * from jobs where status='error' and type='migrations' order by createat desc limit 1;
```

Query 2:
```
                                                            QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=8.31..8.32 rows=1 width=187) (actual time=0.037..0.039 rows=0 loops=1)
   ->  Sort  (cost=8.31..8.32 rows=1 width=187) (actual time=0.035..0.036 rows=0 loops=1)
         Sort Key: createat DESC
         Sort Method: quicksort  Memory: 25kB
         ->  Index Scan using idx_jobs_type on jobs  (cost=0.29..8.30 rows=1 width=187) (actual time=0.027..0.027 rows=0 loops=1)
               Index Cond: ((type)::text = 'migrations'::text)
               Filter: ((status)::text = 'error'::text)

explain analyze select * from jobs where status='error' and type='migrations' order by createat desc limit 1;
                                                          QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=8.31..8.32 rows=1 width=187) (actual time=0.065..0.067 rows=0 loops=1)
   ->  Sort  (cost=8.31..8.32 rows=1 width=187) (actual time=0.063..0.064 rows=0 loops=1)
         Sort Key: createat DESC
         Sort Method: quicksort  Memory: 25kB
         ->  Index Scan using jobs_multi on jobs  (cost=0.29..8.30 rows=1 width=187) (actual time=0.021..0.022 rows=0 loops=1)
               Index Cond: (((status)::text = 'error'::text) AND ((type)::text = 'migrations'::text))

```

```release-note
NONE
```
2021-10-07 11:55:59 +05:30
Scott Bishel
6679abfca4 Turn focalboard plugin on by default (#18132)
* turn focalboard plugin on by default

* cleanup

* update config diff tests to add new default

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-06 13:28:37 -06:00
Scott Bishel
0d961b00d9 Prepackaged boards to 0.9.1 (#18405)
* update prepackaged boards to 0.9.0

* update to 0.9.1

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-06 13:28:10 -06:00
Pijus Kamandulis
d639a08064 MM-38624 Migrate ChannelMemberHistoryStore to sqlx (#18496)
Automatic Merge
2021-10-06 19:50:02 +02:00
Allan Guwatudde
ffe9d3adea [MM-38437] - Trial ending soon email refers to Cloud Professional (#18546)
* [MM-38437] - Trial ending soon email refers to Cloud Professional

* feedback impl

* add coma
2021-10-06 15:46:56 +03:00
Agniva De Sarker
208920b5e1 MM-38497: Fix Sentry crash in PostAction.Equals (#18571)
* MM-38497: Fix Sentry crash in PostAction.Equals

We check for nil pointer before moving ahead.

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

```release-note
NONE
```

* Fix lint errors

```release-note
NONE
```

* Update model/integration_action.go

Co-authored-by: Claudio Costa <cstcld91@gmail.com>

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2021-10-06 13:41:18 +05:30
Allan Guwatudde
2a40a7d649 [MM-39072] - Run make build-templates on latest master (#18541)
* [MM-39072] - Run make build-templates on latest master

* fix guest template failure
2021-10-06 09:50:51 +03:00
Jesse Hallam
4fbcc85c3e Pre-package Playbooks v1.20.1 (#18542) 2021-10-05 15:22:33 -03:00
Saul Pinales
7b9aeca7ff Migrate from gorp to sqlx in store/sqlstore/command_webhook_store.go (#18517)
* Migrate from gorp to sqlx in store/sqlstore/command_webhook_store.go

* fixing small things

change `CreatedAt` to `CreateAt` and change GetReplicaX().Select to GetReplicaX().Get

Co-authored-by: Saul Pinales <saul021002@gmai.com>
2021-10-05 21:22:50 +05:30
Alejandro García Montoro
5045152acc Pre-package Channel Export plugin v1.0.0 (#18544) 2021-10-05 17:48:19 +02:00
Pablo Andrés Vélez Vidal
4af6598f63 MM-38805 - fix contact sales link (#18539)
Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
2021-10-05 17:42:03 +02:00
Weblate (bot)
9b4c71e4a7 Translations update from Weblate (#18545)
* Translated using Weblate (Polish)

Currently translated at 83.7% (1935 of 2310 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.8% (2306 of 2310 strings)

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

Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-10-05 10:07:23 -05:00
Dmitrijs Zubriks
d0fad86246 [GH-15744] Remove direct token store access in api4/user module (#18411)
Automatic Merge
2021-10-05 09:50:02 +02:00
Agniva De Sarker
b6f0afb919 Remove searchEngine from App (#18540)
https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=c6753a1c-dbbf-4316-8e4e-c58ebb65d6e0

```release-note
NONE
```
2021-10-05 12:41:00 +05:30
Weblate (bot)
6d9dbec7a1 Translations update from Weblate (#18530)
* 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/

* Translated using Weblate (German)

Currently translated at 100.0% (2303 of 2303 strings)

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

* Translated using Weblate (Polish)

Currently translated at 79.3% (1828 of 2303 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 74.5% (1718 of 2303 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.6% (2303 of 2310 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% (2303 of 2303 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2310 of 2310 strings)

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

* Translated using Weblate (Polish)

Currently translated at 79.2% (1831 of 2310 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2310 of 2310 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2310 of 2310 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2310 of 2310 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (2310 of 2310 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 99.4% (2297 of 2310 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 95.3% (2202 of 2310 strings)

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

* Translated using Weblate (French)

Currently translated at 95.0% (2196 of 2310 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (2310 of 2310 strings)

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

Co-authored-by: Markus Hermann <markus.hermann@uni-marburg.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Aleksander Chromik <achromik@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Elias  Nahum <elias@mattermost.com>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
2021-10-04 11:55:28 -05:00
Claudio Costa
b724ba6243 Execute update posts query first (#18524) 2021-10-04 15:04:13 +02:00
Carlos Tadeu Panato Junior
68517a7719 docker/build: push image to the testing repository (#18488) 2021-10-01 17:11:02 +02:00
Carlos Tadeu Panato Junior
5120097a02 build: set 600 permission to config.json when packagin the app (#18490) 2021-10-01 09:40:11 -05:00
Claudio Costa
177680f08c [MM-36472] Fix inconsistencies in Roles columns (#18390)
* Fix inconsistencies in Roles columns

* Add new migrations
2021-10-01 15:31:29 +02:00
Daniel Espino García
305e4793c3 Only consider flagged posts that are on channels you are member of (#18380)
* Only consider flagged posts that are on channels you are member of

* Fix and add tests
2021-09-29 17:16:25 -04:00
Ashish Bhate
a519b86e8f [MM-36786] Check channel permissions before thread follow/unfollow (#18460) 2021-09-29 10:00:23 -04:00
Jesse Hallam
8a2832223c Pre-package Playbooks 1.20.0 (#18477)
Automatic Merge
2021-09-28 03:20:02 +02:00
Ben Cooke
0332e1545d [MM-38579] Removing some town square permissions stuff (#18464)
* removing some town square permissions stuff

* fixing error

* adding back in channel leave check

* removing tests

Co-authored-by: Benjamin Cooke <benjamincooke@Benjamins-MacBook-Pro.local>
2021-09-27 22:01:16 -03:00
Weblate (bot)
74054c74bf Translations update from Weblate (#18467)
* Translated using Weblate (German)

Currently translated at 100.0% (2306 of 2306 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2306 of 2306 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2306 of 2306 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.5% (2295 of 2306 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2306 of 2306 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2306 of 2306 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2306 of 2306 strings)

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

* Translated using Weblate (Polish)

Currently translated at 74.0% (1708 of 2306 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (2306 of 2306 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% (2306 of 2306 strings)

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

* Translated using Weblate (French)

Currently translated at 95.2% (2196 of 2306 strings)

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

Translated using Weblate (French)

Currently translated at 94.0% (2169 of 2306 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
2021-09-27 15:55:52 +02:00
Michel Engelen
cce0fdff2d sets global header feature flag to true until the webapp codebase is ready (#18397) 2021-09-27 14:56:51 +02:00
Agniva De Sarker
225461fd7e Exclude sending file metadata to plugin hooks (#18454)
* Exclude sending file metadata to plugin hooks

A FileInfo object contained a MiniPreview which is
a slice of bytes. This can be particularly costly
while marshalling to plugin hooks.

We avoid this by refactoring the Embeds and Images
population to a separate method and calling that
to prevent posts from getting updated.

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=9c0b5413-5401-4ef2-83d5-b9f756585bbc

```release-note
NONE
```

* refactor to separate method

```release-note
NONE
```
2021-09-27 08:35:39 +05:30
Christopher Poile
ef639973b7 register PreviewPost for RPC connections (#18452) 2021-09-23 13:27:09 -04:00
Christopher Poile
b0f26cedf2 MM-38774 - partial fix for: Community running out of memory (#18445)
* prevent invalid images from entering generateMiniPreview in the future

* fixing err, err2, imgErr

* linting

* load actual pngs and gifs in tests

* consistent style
2021-09-23 13:17:37 -04:00
Carlos Tadeu Panato Junior
f27f7bfe79 Update base container image from alpine 3.12 to 3.14 (#18450)
* update default mm package to 5.39.0

* update base container image from alpine 3.12 to 3.14
2021-09-23 17:36:05 +02:00
Daniel Espino García
02a9ef3f82 [MM-38216] Add API endpoint and adapt search to allow multi-team search (#18371)
* Add API endpoint and adapt search to allow multi-team search

* Refactor handler, refactor sql query to use squirrel, rename app and store functions and add tests

* Fix lint

* Fix search engines and remove unneeded comments

* Fix test

* Remove user from channel after test
2021-09-23 14:43:09 +02:00
Agniva De Sarker
8c62cf6e3d MM-38657 - Sentry crash: Fix nil dereference when post not found (#18440)
* Revert "Add debug log for nil referencedPost (#18437)"

This reverts commit e575315275.

* Ignores post not found errors at a higher level

And adds test

```release-note
NONE
```
2021-09-22 22:50:00 +05:30
Agniva De Sarker
688ee34054 MM-38712: Flush logs while exiting from store upgrade (#18438)
Our store upgrade methods used mlog.Critical and then slept
for a second and triggered os.Exit.

First of all, with the new mlog refactor Critical wasn't a standard
log level so it was never to be logged.

And secondly, this completely missed the fact that there already
existed an API method Fatal which did exactly this.

We mark the Critical API as deprecated, and use Fatal for all
occurences.

The choice should be between either to use Error or Fatal.

While here, we also remove the non-standard exit codes which
just confused things further while debugging.

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

```release-note
NONE
```
2021-09-22 20:12:57 +05:30
Michael Kochell
e575315275 Add debug log for nil referencedPost (#18437)
* add debug log for nil post

* add post id for context

* log other vars that may be nil

* change from Warn to Debug
2021-09-21 18:44:03 -04:00
Claudio Costa
0c84885132 [MM-38375] Fix processing bulk import with attachments (#18352)
* Fix improper attachments in replies

* Fix import data path

* Improve errors

* Fix importing attachments directly from zip file

* Add some test cases to cover error paths
2021-09-21 17:39:52 +02:00
Weblate (bot)
c4a25ff339 Translations update from Weblate (#18420)
* Translated using Weblate (Spanish)

Currently translated at 86.1% (1985 of 2305 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2305 of 2305 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% (2305 of 2305 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (2305 of 2305 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% (2305 of 2305 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2305 of 2305 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2305 of 2305 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2305 of 2305 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2305 of 2305 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 86.1% (1985 of 2305 strings)

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

Co-authored-by: Elias  Nahum <elias@mattermost.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Adolfo García Veytia <adolfo.garcia@mattermost.com>
2021-09-21 16:40:32 +02:00
Allan Guwatudde
132f2e9680 [MM-36603] - Text is cut-off on the bottom of the 14-day trial 3 day to end of trial email notification (#18421)
* feedback impl

* add test
2021-09-21 12:55:52 +03:00
Nathaniel Allred
b667be33fe Last 4 credit card digits as a string (#17996) 2021-09-20 14:39:15 -05:00
Doug Lauder
a1b853d1dc MM-38611 getSharedChannels: only return channels user is member of (#18417)
* getSharedChannels: only return channels user is member of
2021-09-20 15:00:47 -04:00
Claudio Costa
8a7af3bef2 Revert import command deprecation (#18413)
Automatic Merge
2021-09-20 17:29:02 +02:00
Christopher Poile
d69f9df09f MM-38635 - Debug statements for prepareImage errors on community-daily (#18416)
* add debug info to generateMiniPreview error

* linting

* simplify

* Update app/file.go

Co-authored-by: Claudio Costa <cstcld91@gmail.com>

* add channel_id and creator_id to the log statement

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2021-09-20 11:13:49 -04:00
dave
fd597d325a Migrate from gorp to sqlx in store/sqlstore/audit_store.go (#18409) 2021-09-20 18:55:36 +05:30
Martin Kraft
28ef5856ed MM-38081: Fix for disappearing permalink previews (#18400)
* MM-38081: Fix for disappearing previews.

* MM-38081: Update method signature in tests.

* MM-38081: Adds test replicating bug.
2021-09-17 17:47:00 -04:00
Nathaniel Allred
fd7bc9b4a0 add feature flag (#18404) 2021-09-17 11:25:04 -05:00