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

15778 Коммитов

Автор SHA1 Сообщение Дата
Conor Macpherson
f65aa61440 remove webhook queries in favor of using existing ones that ignore deleted webhooks, enforce not implemented for cloud users, get seats from license.features.users. 2022-12-21 12:09:33 -05:00
Conor Macpherson
77d3e3591a Add minor code review changes. 2022-12-21 11:54:45 -05:00
Conor Macpherson
a64be851c0 Remove unneeded conversion. 2022-12-20 14:43:37 -05:00
Conor Macpherson
95594c0374 respond with review profile for use in bundle download. 2022-12-20 14:22:39 -05:00
Conor Macpherson
589ae56c29 Remove shadowing declaration of subscription. 2022-12-20 09:53:20 -05:00
Conor Macpherson
197262bc70 Move seats data extraction closer to subscription definition. 2022-12-20 09:43:07 -05:00
Conor Macpherson
6864717504 Add nil checks for cloud in case of air-gapped instances? 2022-12-20 09:42:01 -05:00
Conor Macpherson
9c4ce9016f Fix error check placement. 2022-12-20 09:18:20 -05:00
Conor Macpherson
e4593998bc Fix error checks in tests. 2022-12-19 17:40:37 -05:00
Conor Macpherson
eb0cc1c3a4 Add tests. 2022-12-19 17:28:26 -05:00
Conor Macpherson
2c092291f5 Reorder data extraction, define review profile in-place rather than sectioned for each data domain 2022-12-19 17:11:29 -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
kaakaa
5f6fc3150d Translated using Weblate (Japanese)
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/ja/
2022-12-19 18:22:15 +02:00
Konstantin
d9f339cb4c Translated using Weblate (Russian)
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/ru/
2022-12-19 18:22:15 +02:00
master7
43f89d7556 Translated using Weblate (Polish)
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/pl/
2022-12-19 18:22:15 +02:00
jprusch
f58740f23f Translated using Weblate (German)
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/de/
2022-12-19 18:22:15 +02:00
MArtin Johnson
686c2cc84b Translated using Weblate (Swedish)
Currently translated at 100.0% (2429 of 2429 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-19 18:22:15 +02:00
emmyni
f140b1863f [MM 48128]: Fix Spacing problem on "Payment Failed" email (#21881) 2022-12-16 16:34:40 -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
Tim Scheuermann
bef1f1cf60 Close pipes on file writer error (#21900) 2022-12-16 16:44:51 +01:00
Tim Scheuermann
f3e8a0b72f [MM-49003] Close the pipe reader when done reading (#21854) 2022-12-16 16:29:26 +01:00
Ibrahim Serdar Acikgoz
e58b6ffa3e app/product: block products to be initialized with the feature flag (#21875) 2022-12-16 13:00:15 +03: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
Scott Bishel
40a98416a2 update pre-package boards to v7.5.2 (#21879)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-15 09:37:44 -07:00
Julien Tant
1fe284538d [MM-49087] Bump NPS to 1.3.1 (#21885)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-15 08:56:18 -07:00
Ibrahim Serdar Acikgoz
e10460675e telemetry: add product hooks to daily telemetry (#21870) 2022-12-15 16:27:36 +03:00
Ibrahim Serdar Acikgoz
f31380f577 product/hooks: hooks service no longer requires channels service start (#21861) 2022-12-15 12:29:33 +03:00
Ibrahim Serdar Acikgoz
8d90c7042f [MM-48883] Remove app package dependency for products (#21853) 2022-12-14 15:24:04 +03:00
Tim Scheuermann
61317883bf Allow S3 uploads without a timeout for exports (#21774) 2022-12-13 20:36:40 +01: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
Claudio Costa
6fd174a95f [MM-48946] Fix read after write issue when uploading data (#21868)
* Fix read after write issue when uploading data

* Prefer request.CTX interface
2022-12-13 11:47:05 -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
emmyni
701d0ecaa2 [MM-48098]: "Downgrade to Starter" CTA's go to purchase modal instead of pricing modal (#21849) 2022-12-13 08:55:52 -05:00
Remy J
28486e8690 Translated using Weblate (French)
Currently translated at 94.8% (2300 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/fr/
2022-12-13 11:43:26 +02:00
Kaya Zeren
aa4e6105f2 Translated using Weblate (Turkish)
Currently translated at 100.0% (2429 of 2429 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% (2426 of 2426 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.4% (2388 of 2426 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/tr/
2022-12-13 11:43:26 +02:00
Matthew Williams
b60e7acd49 Translated using Weblate (English (Australia))
Currently translated at 99.6% (2420 of 2429 strings)

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

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/

Translated using Weblate (English (Australia))

Currently translated at 99.6% (2417 of 2426 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 99.7% (2411 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/en_AU/
2022-12-13 11:43:26 +02:00
Konstantin
ec4a26fcf7 Translated using Weblate (Russian)
Currently translated at 100.0% (2429 of 2429 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% (2428 of 2428 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% (2426 of 2426 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% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ru/
2022-12-13 11:43:26 +02:00
master7
cbc87dead6 Translated using Weblate (Polish)
Currently translated at 100.0% (2429 of 2429 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% (2426 of 2426 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% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/pl/
2022-12-13 11:43:26 +02:00
kaakaa
b1a626457a Translated using Weblate (Japanese)
Currently translated at 100.0% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/ja/
2022-12-13 11:43:26 +02:00
jprusch
0d47ab8bea Translated using Weblate (German)
Currently translated at 100.0% (2429 of 2429 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% (2426 of 2426 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% (2418 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/de/
2022-12-13 11:43:26 +02:00
MArtin Johnson
760dd1d5b4 Translated using Weblate (Swedish)
Currently translated at 99.9% (2427 of 2429 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 99.1% (2398 of 2418 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 98.6% (2386 of 2418 strings)

Translation: mattermost-languages-shipped/mattermost-server
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server_master/sv/
2022-12-13 11:43:26 +02:00
Hosted Weblate
27143b3cbf 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-13 11:43:26 +02:00
Tim Scheuermann
731c81cd10 [MM-46417] Added more logging to the import (#21764) 2022-12-12 21:56:45 +01:00
Harrison Healey
29f29b1e5e MM-48924 Don't cache remote_entry.js files (#21817)
* MM-48924 Don't cache remote_entry.js files

* Change caching of remote_entry.js to match root.html
2022-12-12 10:22:35 -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