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

15834 Коммитов

Автор SHA1 Сообщение Дата
Konstantinos Pittas
1fdedf30f1 Revert "[MM-46579] Add a limit for preferences" (#22086) 2023-01-16 15:30:14 +02:00
Agniva De Sarker
6b6150d374 Revert "Revert "MM-49485: Set BoardsProduct FF to on by default (#22006)" (#22075)" (#22083)
This reverts commit 5ae6d6e108.

```release-note
NONE
```
2023-01-16 12:40:15 +05:30
Agniva De Sarker
5ae6d6e108 Revert "MM-49485: Set BoardsProduct FF to on by default (#22006)" (#22075)
This reverts commit d27d7bc8f7.
2023-01-13 21:44:58 +05:30
Agniva De Sarker
0e6dc9389d MM-49658: Correctly disable plugin in product mode (#22071)
Automatic Merge
2023-01-13 14:33:49 +02:00
Christopher Poile
b79cb7e7d7 MM-49638 - Prepackage Calls 0.12.1 (#22067)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-12 17:37:41 -05:00
Michael Kochell
b13a866a1c bump gitlab plugin version to 1.6.0 (#22057)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-12 15:41:37 -05:00
Nick Misasi
309df7917f [MM-48973] Enable test that was fixed separately (#22043)
* Enable test that was fixed separately

* Add cloud check to be safe

* Feedback

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-12 15:04:22 -05:00
Martin Kraft
c314941317 Adds description of some channel searching options. (#22009)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-12 13:47:35 -05:00
Mylon Suren
daa83d4a78 [MM-47896] Channel names can collide with GM names (#21639)
* Block channel creation if name matches GM naming pattern

* Fix regex and error text

* Add test for DM names

* Update error string

* Trigger build

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-12 12:58:45 -05:00
Agniva De Sarker
e7deb39046 MM-49154: Do not translate server side logs (#22058)
https://mattermost.atlassian.net/browse/MM-49154

```release-note
NONE
```
2023-01-12 23:14:29 +05:30
Alejandro García Montoro
360d590728 Skip TestReplicaLagQuery until MM-49604 is fixed (#22048) 2023-01-12 16:13:32 +01:00
Agniva De Sarker
0cd07df844 MM-48504: Bump dependencies (#21994)
* MM-48504: Bump dependencies

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

```release-note
NONE
```
2023-01-12 19:30:04 +05:30
Konstantinos Pittas
3ad240c167 [MM-46579] Add a limit for preferences (#21780)
* add a limit for preferences

* add limits to preferences

* add config to telemetry

* remove unneeded tags from config
2023-01-12 13:17:53 +02:00
Tim Scheuermann
51ac81d816 MM-49083 Disable write timeouts for exports (#22035) 2023-01-11 11:23:09 +01:00
Konstantin
46d85ea910 Translated using Weblate (Russian)
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/ru/
2023-01-11 11:19:30 +02:00
MArtin Johnson
f11e531631 Translated using Weblate (Swedish)
Currently translated at 100.0% (2428 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2023-01-11 11:19:30 +02:00
master7
f2ee2d420e Translated using Weblate (Polish)
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/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2428 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2023-01-11 11:19:30 +02:00
Matthew Williams
e0bcda5e97 Translated using Weblate (English (Australia))
Currently translated at 99.6% (2419 of 2428 strings)

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

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2023-01-11 11:19:30 +02:00
Tom De Moor
19f4b36e0a Translated using Weblate (Dutch)
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/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (2428 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2023-01-11 11:19:30 +02:00
jprusch
605e16fd4d Translated using Weblate (German)
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/de/

Translated using Weblate (German)

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

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2023-01-11 11:19:30 +02:00
Agniva De Sarker
a9bac806f3 MM-39215: Add DBStatsCollector to metrics (#21957)
https://mattermost.atlassian.net/browse/MM-39215

```release-note
We now have Grafana metrics for DB connection metrics.
They are:
max_open_connections
open_connections
in_use_connections
idle_connections
wait_count_total
wait_duration_seconds_total
max_idle_closed_total
max_idle_time_closed_total
max_lifetime_closed_total
```
2023-01-11 08:39:54 +05:30
Harrison Healey
74a20cbf7e Add Boards build information to client config (#22046) 2023-01-10 17:26:08 -05:00
Jesse Hallam
41c028e346 Fix plugin /public handling for subpaths (#21886)
* Fix plugin /public handling for subpaths

Plugins support a `public` folder in the bundle automatically being accessible at `<site_url>/plugins/<plugin_id/public/`, but it seems support for a `site_url` with a subpath has been broken for some time.

I tried to figure out when this stopped working, but gave up after a while and just focussed on the requisite changes plus tests.

* simplify comment

* more testing coverage, and simpler diff

* try cleaning up plugins after tests

* skip TestServePluginPublicRequest to isolate build issue

* Revert "skip TestServePluginPublicRequest to isolate build issue"

This reverts commit 62d0e4e427c7cf7b7f9b09202ce10cd5f1a56bca.

* do th.TearDown last by using t.Cleanup vs. defer

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-10 13:45:17 -04:00
Christopher Poile
3ed9381aca Prepackage Calls version v0.12.0 (#22033) 2023-01-10 08:37:23 -05:00
Agniva De Sarker
02ffa107e1 MM-49374: Update job metadata for bulk export (#21983)
If a bulk export is triggered via a job, then
we update the metadata field of the job as it
progresses through the records.

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

```release-note
Now you can monitor the progress of the bulk export job
via its metadata field. It is available at
`mmctl export job show <jobID>`.
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2023-01-10 09:57:02 +05:30
Ben Schumacher
699b0d675c [MM-49530] Update prepackaged version of Apps Plugin to v1.2.0 (#22013) 2023-01-09 22:03:13 +01:00
Konstantinos Pittas
a3dcaee066 [MM-42652] Re-enable test (#21986) 2023-01-09 20:02:45 +02:00
Scott Bishel
4b04b0957f update pre-package boards to v7.7.0 (#21980)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-09 10:08:39 -07:00
Agniva De Sarker
079f752478 MM-49546: Sentry crash: fix nil pointer dereference (#22018)
We return a store error always to be handled correctly
at the app layer.

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

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-09 22:25:29 +05:30
Agniva De Sarker
d27d7bc8f7 MM-49485: Set BoardsProduct FF to on by default (#22006)
https://mattermost.atlassian.net/browse/MM-49485

```release-note
Boards will be served as an in-built product from
within Mattermost server instead of a plugin.

If you want to disable this, please set the
MM_FEATUREFLAGS_BoardsProduct env var to "false" (without
                                                  the quotes).

In this mode, the boards plugin will remain disabled.
```
2023-01-09 21:53:07 +05:30
Michel Engelen
27a702e29a Contribute/wysiwyg (#22020)
* add feature flag for WYSIWYG editor

* Empty-Commit-test

* added missing default value

* removed duplicate line

* Empty-Commit-test

Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-09 17:50:43 +02:00
Tim Scheuermann
3dd934711c [MM-47187] Certificate auth for Elasticsearch (#21958) 2023-01-09 14:34:54 +01:00
Allan Guwatudde
398476138d [MM-48416] - Fix flaky TestRequestTrialLicense - trial license user count less than current users (#21988) 2023-01-06 15:42:17 +03:00
Alexander Griesser
fd4019630f Remove superfluous "channel" in comment (#21887)
Automatic Merge
2023-01-06 08:49:11 +02:00
Christopher Speller
8685101d20 Pre-pacakge Playbooks v1.35.0 (#21991) 2023-01-05 09:50:30 -08:00
Allan Guwatudde
8c7863f9ee [MM-49344] - Improve error message when trying to upload another trial license (#21969) 2023-01-05 17:10:31 +03:00
Agniva De Sarker
a83170e753 MM-49395: Increase compression for previews and emojis (#21985)
We also reduce the max size of uploaded emojis to 512KiB.

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

```release-note
Max size of uploaded emojis is now reduced to 512KiB
to reduce image download bandwidth.
```
2023-01-05 19:34:22 +05:30
Agniva De Sarker
1078292ac6 MM-45967: Print diff output in go mod tidy (#21984)
https://mattermost.atlassian.net/browse/MM-45967

```release-note
NONE
```
2023-01-05 19:33:14 +05:30
Ibrahim Serdar Acikgoz
6b41f914cc cicleci: add ability use target branch for pulling focalboard (#21990) 2023-01-05 10:00:28 +03:00
Konstantinos Pittas
d4de6e6120 [MM-23837] Support multiple users/channels in invite slash command (#21726)
* accept multiple users and channels

* remove logs

* add translation for multiple

* refactor

* fix lint issues

* rollback translations and use multiple messages

* fix test

* fix spacing

* extract permission checking

* improve check

* improve error messages

* rewrite tests for better clarity

This way the environment is being rebuild so it starts (almost) fresh without interfering with each other

* make errors non-blocking

* simplify responses collector

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2023-01-04 21:49:15 +02:00
Ji-Hyeon Gim
b61545804f Translated using Weblate (Korean)
Currently translated at 82.7% (2008 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2023-01-04 13:17:58 +02:00
Csaba Tóth // BDSC Business Digitalisation Kft
254bc4f3a3 Translated using Weblate (Hungarian)
Currently translated at 96.0% (2333 of 2428 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/hu/
2023-01-04 13:17:58 +02:00
Mylon Suren
ed23df6a2e [MM-47489] Move Shared Channels (Experimental) to Professional (#21882)
* Move shared channels to professional license

* Remove references to SharedChannels from license and use license SKU instead

* add tests

* Refactor shared channels license check and add tests

* Re-add removed negation on license check

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2023-01-03 16:30:30 -05:00
Muhammad S
c8e70718c2 Merge pull request #21899 from mhd-sln/MM-48759_track_event_cws_signup_campaign_redirect
[MM-48759] track event when redirect from cws signup with utm campaign
2023-01-03 22:54:27 +05:00
Mattermod
4a0a3eaa91 Merge branch 'master' into MM-48759_track_event_cws_signup_campaign_redirect 2023-01-03 18:41:04 +02:00
Agniva De Sarker
e4b050693d Return 404 when thread membership not found (#21960)
We were incorrectly returning by checking
for `err != nil` when a 404 error was included
in that condition.

```release-note
NONE
```
2023-01-03 21:30:51 +05:30
Agniva De Sarker
356188de28 Clean untranslated logs (#21956)
Remove the word "<untranslated>" from appearing
in the logs.

```release-note
NONE
```
2023-01-03 20:14:45 +05:30
Agniva De Sarker
6ad1861535 MM-48345: Fix Critical level logging (#21952)
Critical wasn't added in the StdLevels slice
and due to that mlog.Critical wasn't printing anything.
This was a complete blindspot that was missed.

We have removed all references to mlog.Critical in the codebase
and pointed Critical to be Fatal in the library.

In v8, we will remove Critical altogether.

```release-note
Servers with an encrypted key will throw an error
during startup now.
```
2023-01-03 20:14:16 +05:30
Nathaniel Allred
1353ebc3ab Mm 49258 - Inform admins trying to self-hosted purchase who the email listed on the JWT claim is (#21964)
* add email of JWT claim to bootstrap signup response
2023-01-03 08:36:23 -06:00