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
Agniva De Sarker
9ab1d8f805
MM-48984: Add missing timeout while creating a connection ( #21847 )
...
If a timeout is missing, this goroutine waits indefinitely trying
to get a connection. Leading to a goroutine accumulation in a scenario
where the DB is somehow not release connections.
https://mattermost.atlassian.net/browse/MM-48984
```release-note
NONE
```
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-12 14:59:47 +05:30
Alejandro García Montoro
3b043c1f12
Skip "block user by domain but allow bot" test ( #21841 )
...
See https://mattermost.atlassian.net/browse/MM-48973 for more details.
2022-12-09 11:03:03 +01:00
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
Ibrahim Serdar Acikgoz
fc31b1713e
[MM-48947] app/platform: do not restart metrics on every config save ( #21831 )
2022-12-09 08:28:22 +03:00
emmyni
a0fe5014a9
[MM-48649]: Call the SendSubscriptionHistoryEvent function in a GO routine ( #21836 )
2022-12-08 17:07:34 -05:00
Christopher Poile
671959333e
MM-48476 - Upgrade calls to v0.11.0 ( #21834 )
2022-12-08 16:59:09 -05:00
Conor Macpherson
68c27f7c37
Run make store-layers
2022-12-08 16:20:17 -05:00
Conor Macpherson
c0735ae689
Add route with functionality for building out the true up review profile.
2022-12-08 16:11:43 -05:00