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

16559 Коммитов

Автор SHA1 Сообщение Дата
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
Giorgi Bochorishvili
42103205f9 Merge branch 'master' into mpa-playbooks 2023-01-12 16:27:14 +04:00
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
Mattermost Build
c0fd11f953 Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-09 16:53:36 +02:00
Tim Scheuermann
3dd934711c [MM-47187] Certificate auth for Elasticsearch (#21958) 2023-01-09 14:34:54 +01:00
Conor Macpherson
e5444269f5 Remove plugin prefix. 2023-01-06 15:41:06 -05:00
Conor Macpherson
b237c21e28 remove printf to re-run checks. 2023-01-06 12:54:21 -05:00
Conor Macpherson
337c80f2bf Create true up review earlier, move completed check to be earlier. 2023-01-06 11:08:58 -05:00
Conor Macpherson
4f9f331184 Update comments, use correct ordering of args for assertions. 2023-01-06 09:31:19 -05: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
Conor Macpherson
a826e60d79 Merge branch 'MM-47853-true-up-review-telemetry-off-non-air-gapped' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-05 17:07:00 -05:00
Conor Macpherson
72f012d6a0 remove unused variable. 2023-01-05 17:06:54 -05:00
Mattermod
425c6a673d Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-05 23:27:31 +02:00
Conor Macpherson
8d604f715a Change logic for due dates. Previosuly they were 15 days after the first days of the quarters last month. Now, due dates are 15 days after the last day of the quarters last month. 2023-01-05 15:31:58 -05: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
Giorgi Bochorishvili
bc304ef9ef Merge branch 'master' into mpa-playbooks 2023-01-05 12:23:26 +04:00
Giorgi Bochorishvili
084c30bbc1 Add new method to channel service
Fix channel service App.ch nil bug
2023-01-05 12:22:52 +04:00
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
Conor Macpherson
bdd7cb4638 Remove job reigstration and name. 2023-01-04 13:45:21 -05:00
Conor Macpherson
a8fc0ddf17 Remove true up review job, remove unneeded export of telemetryEnabled function. 2023-01-04 13:31:16 -05: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