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

16009 Коммитов

Автор SHA1 Сообщение Дата
Ben Schumacher
287bb8604f [MM-49991] Enable EnableOAuthServiceProvider by default (#22175) 2023-02-02 12:04:46 +01:00
Nathaniel Allred
6bca1f22e6 error instead of panic if cloud endpoints are hit (#22211)
* error instead of panic when team edition receives a request to check on CWS availability.
2023-02-01 14:11:00 -06:00
Doug Lauder
f2d151cfd5 Bump Logr to version 2.0.16 (#22210)
* Bump Logr to version 2.0.16
2023-02-01 11:13:45 -05:00
Agniva De Sarker
0bf1a91ad8 MM-49485: Properly disable plugin in product mode (round 2) (#22195)
There were multiple issues at play here.

1. If the plugin was disabled in ch.syncPlugins,
then the prepackaged plugin would not be processed.
Therefore, if there was an earlier version of the plugin
that remained in S3, that would show up instead.

Therefore, we have to let the full plugin extraction
procedure go ahead, but not enable focalboard.

2. We also need to send the disablePlugin signal
to the other node. But the signal won't be sent
until the cluster leader is elected and inter-node
communication is set up. Therefore, we need to listen
to the ClusterLeaderChanged event and send out
a disable plugin event as well.

When both these issues are taken care of,
then we would correctly see the version of the plugin
from the prepackaged_plugins directory in the disabled
state.

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

```release-note
NONE
```
2023-02-01 19:43:44 +05:30
Agniva De Sarker
c8d08adf29 Revert "[MM-42652] Re-enable test (#21986)" (#22196)
This reverts commit a3dcaee066.
2023-01-31 19:22:55 +05:30
Sharuru
aaaae00b50 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.2% (2369 of 2487 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 94.9% (2361 of 2487 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hans/
2023-01-31 11:43:18 +02:00
Tom De Moor
8b51c99922 Translated using Weblate (Dutch)
Currently translated at 97.9% (2436 of 2487 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-31 11:43:18 +02:00
kaakaa
0b853204b4 Translated using Weblate (Japanese)
Currently translated at 100.0% (2487 of 2487 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2023-01-31 11:43:18 +02:00
jprusch
9823bcdb57 Translated using Weblate (German)
Currently translated at 100.0% (2487 of 2487 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 98.5% (2450 of 2487 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-01-31 11:43:18 +02:00
Konstantin
ddbf9c5112 Translated using Weblate (Russian)
Currently translated at 98.7% (2457 of 2487 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2456 of 2456 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2023-01-31 11:43:18 +02:00
MArtin Johnson
67121934f2 Translated using Weblate (Swedish)
Currently translated at 100.0% (2455 of 2455 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-01-31 11:43:18 +02:00
Kaya Zeren
e4f37685b8 Translated using Weblate (Turkish)
Currently translated at 98.9% (2460 of 2487 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 98.8% (2458 of 2487 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% (2455 of 2455 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2023-01-31 11:43:18 +02:00
master7
bc6d315af1 Translated using Weblate (Polish)
Currently translated at 99.5% (2477 of 2487 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% (2440 of 2440 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-01-31 11:43:18 +02:00
Ben Schumacher
649d2c7303 [MM-49932] Remove experimental warning about plugins (#22162) 2023-01-31 09:43:15 +01:00
Agniva De Sarker
3514e0f79f MM-50024: Handle empty team name for DM/GMs (#22160)
https://mattermost.atlassian.net/browse/MM-50024

```release-note
NONE
```
2023-01-31 14:02:40 +05:30
Tim Scheuermann
bc6c071c3a MM-47537 Export and import read channels (#22145) 2023-01-31 09:18:20 +01:00
Jesse Hallam
62b3f22b48 Pre-package Playbooks v1.36.0 (#22187) 2023-01-30 22:44:10 -04:00
Tim Scheuermann
a03033ef15 [MM-48385] Validate against a list of auth services (#22154) 2023-01-30 20:15:18 +01:00
Agniva De Sarker
aa61f8dfbb Revert "Set BoardsProduct FF to on by default" (#22177)
This reverts commit 6b6150d374.
2023-01-30 22:23:20 +05:30
Kyriakos Z
70800b2447 MM-49048: do not omit needed wsbroadcast vars (#22156)
* MM-49048: do not omit needed wsbroadcast vars

It seems that we are omitting ContainsSanitizedData, and
ContainsSensitiveData variables in WebsocketBroadcast.
This created a bug in cluster mode, in which we were sending duplicate
events to users whereas normally they would have access to only one of those.

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-30 18:10:39 +02:00
Said Atrahouch
289328c4b4 Mm 49463 send invoices annual (#22072)
* Attachment invoices for annual

* regenerate mocks

* lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-30 16:24:05 +01:00
Pablo Andrés Vélez Vidal
ae3c21dd79 MM-49813 - validate inviter permissions when sending invitations to private channels (#22119)
* MM-49813 - validate members invitation permissions to private channels

* Validate on the receiver side that the sender id still has permissions to invite

* add translations

* fix texts

* simplify implementation

* remove local test hardcoded data

* add test to user_test

* fix vet warning

* Add comments to validate user permissions function

Co-authored-by: Martin Kraft <martin@upspin.org>

* regenerate app layer iface

* fix unit test

* fix app user_tests

---------

Co-authored-by: Martin Kraft <martin@upspin.org>
2023-01-30 16:19:27 +01:00
Saturnino Abril
e055df27e8 update libcurl3-gnutls (#22174) 2023-01-30 20:03:04 +08:00
Ashish Bhate
58fda05349 MM-49486: Option to exclude file count in channel stats (#22096)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-27 21:03:33 -05:00
Julien Tant
3522419e89 [MM-49715] Work templates: add content (#22168) 2023-01-27 14:57:57 -07:00
Julien Tant
79e6c65933 [MM-50007] WorkTemplate: disallow creating private playbook without an enterprise license (#22159) 2023-01-27 14:03:46 -07:00
Tim Scheuermann
55cdc793c8 Initialize the logger (#22155) 2023-01-27 17:43:39 +01:00
Konstantinos Pittas
874c6269ec [MM-49265] Update translations when config is changed (#21987)
* update translations when config is changed

* wrap and return the error message

* use the configs directly instead of diff
2023-01-26 18:20:04 -05:00
Javier Aguirre
f852237e33 [MM-48825] "plugin configured with a nil SecureConfig" warning logged when starting each plugin (#21869) 2023-01-26 23:13:33 +01:00
Julien Tant
7bfca605e1 [MM-49929] Work templates: allow simple users to list marketplace plugins (#22151) 2023-01-26 09:08:05 -07:00
Doug Lauder
1880297a90 MM-49849 Escape log filename entered in system console (#22141)
* escape log filename
2023-01-25 12:24:46 -05:00
Julien Tant
753ee85c6b [MM-47846] Execute Work Template (#22055) 2023-01-25 10:24:01 -07:00
Said Atrahouch
53938167f8 [MM-49949] fix endpoint handle to download invoices (#22143)
* [MM-49949] fix endpoint handle to download invoices

* Bump _ inside the regex and remove in_
2023-01-25 10:41:26 -05:00
Kyriakos Z
3094f10557 MM-49845: fixes acknowledgements in getpostsince (#22124)
* MM-49845: fixes acknowledgements in getpostsince

GetPostsSince returns posts updated after a user requested date.
If a user acknowledges a post the post's update at won't change thus not
getting that post returned from GetPostsSince. This is troublesome
particularly for the mobile client since it relies a lot to
GetPostsSince for keeping the data up to date.

This commit updates the post's update_at when a user
acknowledges/un-acknowledges a post fixing this way the issue above.

* Fixes linter

* Apply suggestions from code review

style changes

Co-authored-by: Jesse Hallam <jesse@thehallams.ca>

* Rename ack to acknowledgement

Co-authored-by: Jesse Hallam <jesse@thehallams.ca>
2023-01-25 14:45:45 +02:00
Agniva De Sarker
82077c9004 MM-49604: Fix race condition in test (#22128)
The AssertExpectations was being called after the store
was closed. To fix it we move it to the last line.

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

```release-note
NONE
2023-01-25 14:43:13 +05:30
Amy Blais
63f05ee1a3 Update ISSUE_TEMPLATE.md (#22125)
Automatic Merge
2023-01-24 17:45:03 +02:00
Agniva De Sarker
64e5a7972e MM-49703: Bump Gitlab CI to 1.19 (#22131)
https://mattermost.atlassian.net/browse/MM-49703

```release-note
NONE
```
2023-01-24 19:47:08 +05:30
şafak
6c87aaef04 Custom site name set on root HTML title (#21106)
* Site name set on HTML title

43924

* Added description meta tag.

* EscapeString added, variables name changed

* Update string check

* Re-organized methods

* Updated method

* one return to readability of function

* Update web/static.go

Co-authored-by: Tim Scheuermann <noxer@users.noreply.github.com>

Co-authored-by: Tim Scheuermann <noxer@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-24 20:40:25 +08:00
Giorgi Bochorishvili
7f5ac299ce Merge pull request #21883 from mattermost/mpa-playbooks
Add services and functions for playbooks to work in mpa mode
2023-01-24 14:35:13 +04:00
Giorgi Bochorishvili
a16192045a Merge branch 'master' into mpa-playbooks 2023-01-24 13:39:28 +04:00
Matthew Williams
45a5d6abe1 Translated using Weblate (English (Australia))
Currently translated at 99.9% (2438 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2023-01-24 11:34:30 +02:00
Kaya Zeren
c0dda1cab7 Translated using Weblate (Turkish)
Currently translated at 100.0% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2023-01-24 11:34:30 +02:00
kaakaa
f0689a25d3 Translated using Weblate (Japanese)
Currently translated at 99.8% (2435 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2023-01-24 11:34:30 +02:00
TING
71b658c656 Translated using Weblate (Chinese (Traditional))
Currently translated at 73.8% (1800 of 2439 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 73.7% (1799 of 2439 strings)

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

Translated using Weblate (Chinese (Traditional))

Currently translated at 73.6% (1797 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/zh_Hant/
2023-01-24 11:34:30 +02:00
Tom De Moor
f7be14e858 Translated using Weblate (Dutch)
Currently translated at 99.8% (2435 of 2439 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% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-24 11:34:30 +02:00
exbu
20bb641fd1 Translated using Weblate (Dutch)
Currently translated at 100.0% (2439 of 2439 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-24 11:34:30 +02:00
Konstantin
1a191860ba Translated using Weblate (Russian)
Currently translated at 100.0% (2439 of 2439 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2023-01-24 11:34:30 +02:00
master7
51102247d8 Translated using Weblate (Polish)
Currently translated at 100.0% (2439 of 2439 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% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-01-24 11:34:30 +02:00
jprusch
ed598d12bc Translated using Weblate (German)
Currently translated at 100.0% (2439 of 2439 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% (2441 of 2441 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-01-24 11:34:30 +02:00
MArtin Johnson
b804b14588 Translated using Weblate (Swedish)
Currently translated at 100.0% (2439 of 2439 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% (2433 of 2433 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-01-24 11:34:30 +02:00