Move license storage to database

Этот коммит содержится в:
JoramWilander
2016-02-04 13:00:03 -05:00
родитель 7e8389cd05
Коммит e45282deaa
14 изменённых файлов: 284 добавлений и 53 удалений

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

@@ -611,6 +611,10 @@
"id": "api.license.add_license.save.app_error",
"translation": "License did not save properly."
},
{
"id": "api.license.add_license.save_active.app_error",
"translation": "Active license ID did not save properly."
},
{
"id": "api.license.add_license.unique_users.app_error",
"translation": "This license only supports {{.Users}} users, when your system has {{.Count}} unique users. Unique users are counted distinctly by email address. You can see total user count under Site Reports -> View Statistics."
@@ -1731,6 +1735,10 @@
"id": "manaultesting.test_autolink.unable.app_error",
"translation": "Unable to get channels"
},
{
"id": "mattermost.load_license.find.warn",
"translation": "Unable to find active license"
},
{
"id": "mattermost.bulletin.subject",
"translation": "Mattermost Security Bulletin"
@@ -2915,6 +2923,18 @@
"id": "store.sql_system.update.app_error",
"translation": "We encountered an error updating the system property"
},
{
"id": "store.sql_license.save.app_error",
"translation": "We encountered an error saving the license"
},
{
"id": "store.sql_license.get.app_error",
"translation": "We encountered an error getting the license"
},
{
"id": "store.sql_license.get.missing.app_error",
"translation": "A license with that ID was not found"
},
{
"id": "store.sql_team.get.find.app_error",
"translation": "We couldn't find the existing team"
@@ -3203,10 +3223,6 @@
"id": "utils.license.load_license.invalid.warn",
"translation": "No valid enterprise license found"
},
{
"id": "utils.license.load_license.open_find.warn",
"translation": "Unable to open/find license file"
},
{
"id": "utils.license.remove_license.unable.error",
"translation": "Unable to remove license file, err=%v"
@@ -3531,4 +3547,4 @@
"id": "web.watcher_fail.error",
"translation": "Failed to add directory to watcher %v"
}
]
]

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

@@ -3203,10 +3203,6 @@
"id": "utils.license.load_license.invalid.warn",
"translation": "No se encontró una licencia enterprise válida"
},
{
"id": "utils.license.load_license.open_find.warn",
"translation": "No pudimos encontrar/abrir el achivo de licencia"
},
{
"id": "utils.license.remove_license.unable.error",
"translation": "No se pudo remover el archivo de la licencia, err=%v"
@@ -3531,4 +3527,4 @@
"id": "web.watcher_fail.error",
"translation": "Falla al agregar el directorio a ser vigilado %v"
}
]
]