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
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
cyrilzhang-mm
7c7acb476e
[MM-45052] Mark method as deprecated ( #21703 )
2022-12-08 15:38:29 -05:00
Jesse Hallam
64add1a108
Pre-package Playbooks v1.34.0 ( #21824 )
2022-12-08 14:34:56 -04:00
Agniva De Sarker
7606fd9725
MM-48651: Log error while queuing telemetry ( #21821 )
...
We didn't use to handle the error returned from the Enqueue
method. We fix that.
Additionally, we add a verbosity flag that can allow us to
look into verbose logs from the rudder client. This can
help us to debug issues regarding telemetry not being sent.
https://mattermost.atlassian.net/browse/MM-48651
```release-note
NONE
```
2022-12-08 21:25:00 +05:30
Mylon Suren
8c206c1fd4
[MM-48921] Don't return error when deleting Draft if Draft DNE ( #21818 )
...
* set global drafts feature flag to true
* Don't return error on deleteDraft when draft doesn't exist in server
* undo accidental feature flag change
* address comments
* change log level to debug
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-08 09:40:14 -05:00
Kyriakos Z
8d554a3621
Fixes wrong err check ( #21823 )
...
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-08 15:00:39 +02:00
Ibrahim Serdar Acikgoz
d8e2859b0b
Minimize app dependency on platform service ( #21548 )
2022-12-07 20:31:03 +03:00
Conor Macpherson
91ee9ed2eb
Merge pull request #21801 from mattermost/MM-48125-downgrade-to-starter-email-says-upgrade-with-billing-start-date
...
- Ensure upgrade emails are not sent out when downgrading to the starter/free plan by checking if the new subscription's product SKU is cloud-starter.
2022-12-07 10:53:18 -05:00
Conor Macpherson
cdc8476032
Merge branch 'master' of github.com:mattermost/mattermost-server into MM-48125-downgrade-to-starter-email-says-upgrade-with-billing-start-date
2022-12-07 10:21:55 -05:00
Nick Misasi
3872f24b0c
[MM-47566] Add upcominginvoice field to Subscription type ( #21717 )
...
* Add upcominginvoice field to Subscription type
* Add support for fetching upcoming invoices
* Put back upcominginvoice
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-07 10:05:48 -05:00
Kyriakos Z
b51c06e5a6
Enables PostPriority FeatureFlag by default ( #21720 )
...
Automatic Merge
2022-12-07 16:44:48 +02:00
Konstantinos Pittas
6e9dbbd237
[MM-46463] Return last_picture_update for new team members ( #21758 )
...
* return last picture update
* add API test
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-07 11:16:56 +02:00
Ibrahim Serdar Acikgoz
617c024476
app: avoid plugin env check for RunMultiHook and use pluginslock while accessing plugin env ( #21803 )
...
* app/channels: use pluginslock while accessing plugins environment
* when using RunMultiHook we don't need to do a nil check on plugin env
* trigger ci
2022-12-07 10:00:47 +03:00
Shivashis Padhi
03a5b4a288
[MM-48727] Restore license checks for SSO in self-hosted deployments ( #21781 )
...
* Revert license checks for sso integrations
- Revert license check changes for open-id connect options
- Add option to integrate openid-connect for all cloud offerings
* Move enterprise SSO features back to enterprise repository
2022-12-06 16:47:26 -05:00
Conor Macpherson
82d9f25807
Replase product skus with their full names.
2022-12-06 13:03:00 -05:00
Michael Kochell
c3c81cb3d6
MM-48120/MM-48623 Patch plugin bundle react-dom on webapp extract ( #21171 )
...
Automatic Merge
2022-12-06 19:44:48 +02:00
Conor Macpherson
47b8125659
Fix check for starter sku.
2022-12-05 15:28:36 -05:00
Conor Macpherson
6c43daa218
Merge in master.
2022-12-05 15:07:03 -05:00
Conor Macpherson
352eedf7c1
Fix app error id.
2022-12-05 14:53:38 -05:00
Conor Macpherson
fc8268990e
Add check for subscription change to product with sku cloud-starter.
2022-12-05 14:34:51 -05:00
Ibrahim Serdar Acikgoz
43e26ccda2
MPA: move product hooks out of plugins environment ( #21772 )
...
* product: add new hooks manager for porducts
* move product hooks out of plugins environment
* add hooks for plugin
2022-12-05 20:16:35 +01:00
emmyni
9e79ca7160
[MM-48472]: Update the Upgrade Confirmation Email for yearly subscriptions ( #21766 )
2022-12-05 12:10:00 -05:00
Konstantinos Pittas
3059abdd88
[MM-44765] Add API method for getting post's information from permalink ( #21518 )
...
* add api for getting post's information
* add information about current user state
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-12-05 16:04:44 +02:00
Shivashis Padhi
0c64252c9f
[MM-48521] Fix for batch notification email not rendering properly ( #21736 )
...
* Add MessageAttachment field to postdata while rendering batched email notifications
* Add test for SlackAttachments body generator
* Add context to changes
* Add license text to new test file
* Use app/email/notification_email.go as single source for attachment generation
2022-12-05 16:47:28 +05:30
Shivashis Padhi
b0804f26ef
Adhere to convention while writing insights response ( #21602 )
2022-12-04 21:20:51 +05:30