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

2496 Коммитов

Автор SHA1 Сообщение Дата
Nathaniel Allred
305fbb17cf Mm 49611 (#22054)
* remove limits we do not listen to anymore
* add back boards property for focalboard project compatibility
* remove boards cards as paid feature
* remove lingering unlimited integrations paid feature
2023-01-20 15:43:05 -06:00
Conor Macpherson
087aa38afb Merge pull request #22078 from mattermost/MM-49474-add-downgrade-feedback
MM-49474 - Add Telemetry Event for Submitting Downgrade Feedback
2023-01-17 11:19:33 -05:00
Mattermost Build
357428dfb0 Merge branch 'master' into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-17 08:45:44 +02:00
Mattermod
ad93c10bb3 Update minor version to 7.8.0 (#22082)
Automatic Merge
2023-01-16 16:15:07 +02:00
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
Conor Macpherson
2e04003fc2 Merge branch 'master' of github.com:mattermost/mattermost-server into MM-49474-add-downgrade-feedback 2023-01-13 15:14:03 -05:00
Conor Macpherson
a13fda6b61 Add telemetry event for submitting downgrade feedback. 2023-01-13 14:52:24 -05:00
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
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
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
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
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
bdd7cb4638 Remove job reigstration and name. 2023-01-04 13:45:21 -05: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
Conor Macpherson
40724ae44d Merge branch 'master' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2023-01-03 13:54:38 -05:00
Conor Macpherson
e31a6a47b0 Only check if diagnostics are disabled, remove telemetry enabled in true up review status response in favor of using front-end configs. 2023-01-03 13:35:31 -05:00
Conor Macpherson
e4fe76d01f Only pull active plugins from the mattermost marketplace. 2023-01-03 11:47:05 -05:00
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
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
Conor Macpherson
b3b39e4f15 Move get or create true up review status into the app interface, adds a function to execute checks for being within true up review widnow (and tests), adds a job for sending true up telemetry. 2022-12-30 13:11:17 -05: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
Conor Macpherson
c30439743c Ensure content is base64 encoded, add check for telemetry enabled. 2022-12-29 19:47:58 -05:00
Conor Macpherson
4e54a40a21 Add cws availability check. 2022-12-29 15:07:06 -05:00
Conor Macpherson
6685268085 Add cws availability check. 2022-12-29 14:58:05 -05:00
Conor Macpherson
9c71784d0d Code review comments. 2022-12-27 16:54:46 -05:00
Conor Macpherson
c633a1d2fa Code review comments. 2022-12-27 16:03:04 -05:00
Conor Macpherson
40c94892ee Merge branch 'master' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2022-12-27 11:20:09 -05: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
Conor Macpherson
64000da417 Convert due date string to millisecond format. 2022-12-23 15:37:31 -05:00
Conor Macpherson
88090ea40b Add true up review status history, add migration for persisting history, add store to create, get, and update true up review history entries, cleanup errors, etc. 2022-12-22 14:59:05 -05:00
Conor Macpherson
518ba17920 Ensure telemetry data is sent as a flat map, rather than a structured one. 2022-12-21 12:21:35 -05:00
Conor Macpherson
77d3e3591a Add minor code review changes. 2022-12-21 11:54:45 -05:00
Conor Macpherson
12328278f8 Merge branch 'master' of github.com:mattermost/mattermost-server into MM-47853-true-up-review-telemetry-off-non-air-gapped 2022-12-19 15:40:03 -05:00
Conor Macpherson
96ed60a472 Remove unused fields, update response. 2022-12-19 15:36:15 -05:00
Shivashis Padhi
79193240e9 [MM-44842] Add restore_group permission (#21806)
* Add restore_group permission

* Fix tests failing due to new permission in groups

* Add new migration to add custom_group_restore permission

* Add mock for new migration function

* Fix tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-19 12:01:59 -05:00
Daniel Schalla
529fdd2643 [MM-49170] Implement Auditable Interface for Patch Post Struct (#21898)
* Implement Auditable Function for Patch Post Endpoint

* Call auditable explicitly for patchPost patch parameter

* Delete audit-config.json

* Include HasReactions in Audit Log Entry for Patch
2022-12-16 16:50:06 +01:00
cyrilzhang-mm
33b59e0e96 Add parameter to return group members in order of display name (#21775) 2022-12-15 14:20:36 -05:00
Amy Blais
fae9bdf173 Update minor version to 7.7.0 (#21890)
Automatic Merge
2022-12-15 18:49:10 +02:00
Nathaniel Allred
a8fa3f29e9 Self-hosted in-product purchase (#21804)
* Self-hosted admins can purchase licenses in-app when `ServiceSettings,SelfHostedPurchase` is true (the default)
* Content Security Policy enables loading assets from `js.stripe.com/v3` when `ServiceSettings.SelfHostedPurchase` is true (the default).
* Add `hosted_customer` API subpath
* Add status of SelfHostedPurchase to telemetry config report.
* Support showing admins self-hosted invoices when `ServiceSettings.SelfHostedPurchase` is true (the default)

Co-authored-by: Conor Macpherson <116016004+ConorMacpherson@users.noreply.github.com>
2022-12-13 13:36:18 -06:00
Conor Macpherson
cad414fd4d Use proper error handling, fix up data structure, attempt to send telemetry data. 2022-12-13 13:09:20 -04:00
Mylon Suren
68373e992b set global drafts feature flag to true (#21811)
Automatic Merge
2022-12-13 16:44:09 +02:00
emmyni
4cd205027c [MM-48091]: Remove is_paid_tier (#21850) 2022-12-13 08:57:46 -05:00
Agniva De Sarker
242d7a4466 MM-48553: Fix panic in json.MarshalerError (#21846)
Although this isn't the root cause for the panic in the sentry crash,
this is indeed a bug and will cause a crash in the exact same way.

I have looked at other possibilities and I don't see any other
way for model.ChannelMembers to panic during json marshaling.

Other sentry crashes are there for ths customer and they point
to data corruption which indicates there is something funky going on.

Nevertheless, this is a valid bug and should be fixed.

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

```release-note
NONE
```
2022-12-12 20:35:09 +05:30
Shivashis Padhi
0193bfd7de [MM-47378] Respond with bad requests for wrong query parameters 'roles' in getUsers (#21569)
* Respond with bad requests for wrong query parameters in roles

* Revert "Respond with bad requests for wrong query parameters in roles"

This reverts commit d8374d94e0b1f61ad445127010f9780475c48d1a.

* Add GetUser client function to query with channel_id and roles

* Return bad parameters error on invalid roles

* Make client function generic, lint fixes

* i18n strings addition

* Validate 'role', add stricter check for comma separated roles
2022-12-09 11:43:13 +05:30