[MM-43649] - Ability for end users to notify admin to upgrade workspace (#20338)
* [MM-43649] - Ability for end users to notify admin to upgrade workspace * add test case * move code to app layer * feedback impl * feedback impl-1 * feedback impl * simplify logic * fix typo and lint * fix app layers * Use a single critical section for users notified admin (#20488) * Use a single critical section for users notifying admin * change persistence mechanism * add more tests * change bot message * fix translations * update logic to notify once within cooloff period Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Nathaniel Allred <neallred@protonmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dad8eab777
Коммит
1d9fa3c333
@@ -475,6 +475,10 @@
|
||||
"id": "api.cloud.license_error",
|
||||
"translation": "Your license does not support cloud requests."
|
||||
},
|
||||
{
|
||||
"id": "api.cloud.notify_admin_to_upgrade_error.already_notified",
|
||||
"translation": "Already notified admin"
|
||||
},
|
||||
{
|
||||
"id": "api.cloud.request_error",
|
||||
"translation": "Error processing request to CWS."
|
||||
@@ -491,6 +495,10 @@
|
||||
"id": "api.cloud.teams_limit_reached.restore",
|
||||
"translation": "Unable to restore team because teams limit has been reached"
|
||||
},
|
||||
{
|
||||
"id": "api.cloud.upgrade_plan_bot_message",
|
||||
"translation": "A member of {{.TeamName}} has notified you to upgrade this workspace."
|
||||
},
|
||||
{
|
||||
"id": "api.command.admin_only.app_error",
|
||||
"translation": "Integrations have been limited to admins only."
|
||||
|
||||
Ссылка в новой задаче
Block a user