Kyriakos Z
4b85f9ee6a
MM-36743: adds last_root_post_at in channels table ( #18366 )
...
* MM-36743: adds last_root_post_at in channels table
Channel recency for CRT users should not count replies,
this commit solves that issue by adding a new column to the channels
table: LastRootPostAt.
With that new info CRT users can have recent channels to work as
expected.
* Adds the 'LastRootPostAt' to the SQL scripts
* Fixes tests
* Adds LastRootPostAt migration to v6.1
* Fixes index
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-10-13 15:20:44 -04:00
Agniva De Sarker
ff10bf1068
Fix small typo ( #18675 )
...
Automatic Merge
2021-10-13 19:33:56 +02:00
Ben Lloyd Pearson
6caff14cbe
New intro, images, and links ( #18610 )
...
* Update content and links in Readme
* Add explainer to dev machine setup
* Update README.md
* Update README.md
* Update README.md
2021-10-13 22:35:08 +05:30
Agniva De Sarker
e2c87ef950
Display tableName and columnName for jsonb schema failures ( #18672 )
...
These are incredibly helpful during failures and should be there.
```release-note
NONE
```
2021-10-13 20:30:35 +05:30
Hossein
6521b0dfe3
Unfurl Focalboard Server PR ( #18271 )
...
* Allow Embeds editing without editing
* Add focalboard to embed after it being in props
* Fix tests
* change to boards
* remove extra gunk
* Fix tests
* Add Feature Flag
* update boardsunfurl
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-10-13 10:51:27 -04:00
Ibrahim Serdar Acikgoz
be203d9bf3
Initial team service implementation ( #18279 )
...
* initial service implementation
* reflect review comments
2021-10-13 15:20:40 +03:00
Carlos Tadeu Panato Junior
d074c3d20d
fix package name typo ( #18665 )
2021-10-13 16:01:32 +08:00
Agniva De Sarker
40776854f0
Remove erroneous gosaml submodule ( #18660 )
...
```release-note
NONE
```
2021-10-12 21:13:24 +05:30
Ibrahim Serdar Acikgoz
dc749170df
restore reset command as db reset ( #18449 )
2021-10-12 16:18:07 +03:00
Carlos Tadeu Panato Junior
88563a3de3
jobserver: enable prometheus metrics when running standalone jobserver ( #18636 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2021-10-12 14:32:23 +02:00
Carlos Tadeu Panato Junior
e95e0e95a8
build: add targets for linux/darwin arm64 and include those in the package ( #18491 )
...
* build: add targets for linux/darwin arm64 and include those in the package
* update based on feedback
* store arm64 targets
2021-10-12 11:12:32 +02:00
Carlos Tadeu Panato Junior
3b81d9f83e
db: add db upgrade for 5.39 and upgrade to 6 ( #18645 )
2021-10-12 09:37:56 +02:00
Weblate (bot)
d278f983be
Translations update from Weblate ( #18639 )
...
* Translated using Weblate (Polish)
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/pl/
Translated using Weblate (Polish)
Currently translated at 91.3% (2110 of 2310 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 87.1% (2014 of 2310 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 87.0% (2011 of 2310 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
* 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 (Dutch)
Currently translated at 99.7% (2305 of 2310 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
* 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 (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 (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 (Swedish)
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/sv/
* 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/
* Translated using Weblate (French)
Currently translated at 95.1% (2197 of 2310 strings)
Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
* 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 (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/
Co-authored-by: master7 <marcin.karkosz@rajska.info >
Co-authored-by: JtheBAB <srast@bioc.uzh.ch >
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be >
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: Elias Nahum <elias@mattermost.com >
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se >
Co-authored-by: Kaya Zeren <kayazeren@gmail.com >
Co-authored-by: Anne-Laure Gaillard <alaure.gaillard@gmail.com >
Co-authored-by: jprusch <rs@schaeferbarthold.de >
Co-authored-by: Mark E Fuller <fuller@stossrohr.net >
2021-10-12 09:00:50 +02:00
Agniva De Sarker
f0ecdcc5f5
Move Channels into App ( #18623 )
...
* Move Channels into App
In this PR, we make Channels as part of App
instead of Server. This is part of the transition period
of moving fields from Server to Channels.
For now, Channels contains Server. So the hierarchy is
App -> Channels -> Server.
And as a first step, we also move httpService to Channels.
```release-note
NONE
```
* Fixing another test
```release-note
NONE
```
* new method
```release-note
NONE
```
2021-10-12 11:39:49 +05:30
Agniva De Sarker
561bc968c8
Creating empty Channels shell ( #18611 )
...
* Creating empty Channels shell
This is the first step in moving to a product-based
isolated architecture.
For now, Channels is empty and does not contain anything.
Next step is to change App to contain Channels instead
of Server. Some of the initialization code in NewServer
would need to be moved inside NewChannels.
This would complete the full pass-through mode of accessing
everything.
The last step would be to gradually move Channels related
fields from Server into Channels, keeping Server to be
just the global level struct.
```release-note
NONE
```
* fix vet failure
```release-note
NONE
```
2021-10-11 19:24:50 +05:30
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