[CLD-7567] Deprecate Self Serve: Second Pass (#26853)

* Deprecate Self Serve: First Pass

* Fix ci

* Fix more ci

* Remmove outdated server tests

* Fix a missed spot opening purchase modal in Self Hosted

* Fix i18n

* Clean up some more server code, fix webapp test

* Fix alignment of button

* Fix linter

* Fix i18n server side

* Deprecate in product true up

* Add back translation

* Remove client functions

* Put back client functions

* webapp deprecation

* Deprecate Self Serve: Second Pass

* Fix various pipeline issues

* Fix linter

* Fix pipelines

* Fix handlers_test.go

* Fix console.error around hostedCustomer in reducer

* PICKY LINTER PLEASE

* Fix webapp tests, various other fixes for the CI pipelines

* Fix i18n

* Updates to accomadate enterprise code removal

* Fix mocks

* More removal

* Fix

* Adjustments from PR

* Fixes for QA Feedback

* Update

* Add migrations to remove true up review history

* Fix migrations check

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: maria.nunez <maria.nunez@mattermost.com>
Этот коммит содержится в:
Nick Misasi
2024-05-02 09:15:15 -04:00
коммит произвёл GitHub
родитель 6028cbe4e2
Коммит f1019d076e
127 изменённых файлов: 169 добавлений и 8222 удалений

Просмотреть файл

@@ -2272,14 +2272,6 @@
"id": "api.license.request-trial.can-start-trial.not-allowed",
"translation": "Failed to apply new trial license. You have previously applied a trial license to this Mattermost instance.. If you would like to extend your trial period please [contact our sales team](https://mattermost.com/contact-us/)."
},
{
"id": "api.license.request_renewal_link.app_error",
"translation": "Error getting the license renewal link"
},
{
"id": "api.license.request_renewal_link.cannot_renew_on_cws",
"translation": "Renewing this license on the portal is not possible"
},
{
"id": "api.license.request_trial_license.app_error",
"translation": "Unable to get a trial license, please try again or contact with support@mattermost.com."
@@ -2288,38 +2280,6 @@
"id": "api.license.request_trial_license.embargoed",
"translation": "We were unable to process the request due to limitations for embargoed countries. [Learn more in our documentation](https://mattermost.com/pl/limitations-for-embargoed-countries), or reach out to legal@mattermost.com for questions around export limitations."
},
{
"id": "api.license.true_up_review.create_error",
"translation": "Could not create true up status record"
},
{
"id": "api.license.true_up_review.failed_to_submit",
"translation": "Failed to submit true up review profile to CWS."
},
{
"id": "api.license.true_up_review.get_status_error",
"translation": "Could not get true up status records"
},
{
"id": "api.license.true_up_review.license_required",
"translation": "True up review requires a license"
},
{
"id": "api.license.true_up_review.not_allowed_for_cloud",
"translation": "True up review is not allowed for cloud instances"
},
{
"id": "api.license.true_up_review.user_count_fail",
"translation": "Could not get the total active users count"
},
{
"id": "api.license.true_up_review.webhook_in_count_fail",
"translation": "Could not get the total incoming webhook count"
},
{
"id": "api.license.true_up_review.webhook_out_count_fail",
"translation": "Could not get the total outgoing webhook count"
},
{
"id": "api.license.upgrade_needed.app_error",
"translation": "Feature requires an upgrade to Enterprise Edition."
@@ -2854,10 +2814,6 @@
"id": "api.server.hosted_signup_unavailable.error",
"translation": "Portal unavailable for self-hosted signup."
},
{
"id": "api.server.license_up_for_renewal.error_generating_link",
"translation": "Failed to generate the license renewal link"
},
{
"id": "api.server.license_up_for_renewal.error_sending_email",
"translation": "Failed to send license up for renewal emails"
@@ -3490,10 +3446,6 @@
"id": "api.templates.license_up_for_renewal_contact_sales",
"translation": "Contact sales"
},
{
"id": "api.templates.license_up_for_renewal_renew_now",
"translation": "Renew now"
},
{
"id": "api.templates.license_up_for_renewal_subject",
"translation": "Your license is up for renewal"
@@ -3502,10 +3454,6 @@
"id": "api.templates.license_up_for_renewal_subtitle",
"translation": "{{.UserName}}, your subscription is set to expire in {{.Days}} days. We hope youre experiencing the flexible, secure team collaboration that Mattermost enables. Renew soon to ensure your team can keep enjoying these benefits."
},
{
"id": "api.templates.license_up_for_renewal_subtitle_two",
"translation": "Log in to your Customer Account to renew"
},
{
"id": "api.templates.license_up_for_renewal_title",
"translation": "Your Mattermost subscription is up for renewal"
@@ -3554,10 +3502,6 @@
"id": "api.templates.questions_footer.title",
"translation": "Questions?"
},
{
"id": "api.templates.remove_expired_license.body.renew_button",
"translation": "Renew License Now"
},
{
"id": "api.templates.remove_expired_license.body.title",
"translation": "Your Enterprise Edition license has expired and some features may be disabled. Please renew your license now."
@@ -5734,18 +5678,6 @@
"id": "app.last_accessible_post.app_error",
"translation": "Error fetching last accessible post"
},
{
"id": "app.license.generate_renewal_token.app_error",
"translation": "Failed to generate a new renewal token."
},
{
"id": "app.license.generate_renewal_token.bad_license",
"translation": "This type of license doesn't support renewal token generation"
},
{
"id": "app.license.generate_renewal_token.no_license",
"translation": "No license present"
},
{
"id": "app.limits.get_app_limits.user_count.store_error",
"translation": "Failed to get user count"