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

15812 Коммитов

Автор SHA1 Сообщение Дата
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
Luis Suarez
f1e96cb830 MM-48988 Log plugins version on install and on startup (#21907) 2023-01-03 00:07:38 +01:00
Vishal
babe01ee2e remove crt feature flag (#21788)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-30 14:41:31 +05:30
Agniva De Sarker
93f17980a1 Remove unnecessary debug log (#21959)
This log is continuously spamming our community server
and I see it all the time in my dev environment.

Let's remove this to keep the logs clean.

```release-note
NONE
```
2022-12-29 12:21:25 +05:30
Hosted Weblate
5e4d787766 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/

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/
2022-12-27 17:14:00 +01:00
Matthew Williams
ef39d50cd5 Translated using Weblate (English (Australia))
Currently translated at 99.6% (2421 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-12-27 17:14:00 +01:00
Ji-Hyeon Gim
badbb49089 Translated using Weblate (Korean)
Currently translated at 82.3% (2001 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ko/
2022-12-27 17:14:00 +01:00
MArtin Johnson
0a0ff0b2d8 Translated using Weblate (Swedish)
Currently translated at 100.0% (2430 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-27 17:14:00 +01:00
Tom De Moor
fc018cbe38 Translated using Weblate (Dutch)
Currently translated at 100.0% (2430 of 2430 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 98.1% (2384 of 2430 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/nl/
2022-12-27 17:14:00 +01:00
Said Atrahouch
b9501bc535 Mm 47648 check license expandable (#21770)
* [MM-47648] Handler for check if a subscription is expandable

* Mock cloud regenerate

* PR Webapp test purpose only

* [MM-47648] Refactor and tests for expand stats for a subscription

* Fix typos

* style fix

* has to be revert

* CWS URL to Spinwick

* new spinwick url

* target portal test

* Generate token instead of send licenseId

* Rename

* Rename methods

* Revert public key and cws url

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-27 12:08:11 +01:00
Vishal
dc533e59b8 Message export: Fix job progress calculation (#21925)
* use posts count instead of job duration to calculate progress

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-27 14:34:40 +05:30
Doug Lauder
ab133f20de add DuplicateBoard to service API (#21950)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-26 11:53:34 -05:00
Gabe Jackson
99b232e080 Improve bulk export logging (#21935)
This change includes the following:
 - Adds the job ID as a log field for bulk exports
 - Adds checkpoint logging for posts and direct posts so that
   progress can be tracked.
2022-12-25 21:43:30 -05:00
Doug Lauder
7a9354cd09 Expose boards APIs for MPA (#21917)
* add first batch of Boards service APIs for MPA
2022-12-23 10:47:29 -05:00
Agniva De Sarker
1e02b99bf1 MM-49354: Make compliance export query cancellable (#21943)
We accept a context that can cancel the query.
This allows us to exit a job faster.

```release-note
Compliance export job can now cancel the SQL query
execution during server shutdown which will allow
the job to exit faster.
```

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-23 19:56:49 +05:30
Ibrahim Serdar Acikgoz
40cd6b1656 sqlstore/store: make SetupConnection public to be used by products (#21948) 2022-12-23 14:34:48 +03:00
Ibrahim Serdar Acikgoz
06745d9b61 [MM-48878] cmd/mattermost/export: start export command without metrics (#21857) 2022-12-23 09:45:42 +03:00
emmyni
7a8b09c242 Add comments for the subscriptionHistoryEvent call (#21946) 2022-12-22 15:33:04 -05:00
Nathaniel Allred
f8b6b6b0ed always set CWSURL in client config (#21940) 2022-12-22 11:32:23 -06:00
Kyriakos Z
37960c7680 MM-49077: fixes errors in migration job (#21911)
* MM-49077: fixes errors in migration job

UrgentMentionCount does not have a default values, so COALESCE has to be
used.
SELECT * FROM ChannelMembers fails for the above reason.
This commit SELECTs each and every column from ChannelMembers instead.

* Fixes syntax error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-22 16:15:11 +02:00
Ibrahim Serdar Acikgoz
c252704140 Revert "[MM-48626] Move plugins environment out of Channels (#21730)" (#21934) 2022-12-21 22:10:26 +03:00
mattermod
45159a6b09 Update latest version to 7.5.2 2022-12-21 15:28:13 +00:00
Ibrahim Serdar Acikgoz
dcf499b51d [MM-48626] Move plugins environment out of Channels (#21730) 2022-12-21 16:11:57 +03:00