mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Bigger depreciation / more explicit depreciation warning about checkurl...
This commit is contained in:
parent
e9c87da028
commit
b23bc434f8
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
"app_change_url_identical_domains": "The old and new domain/url_path are identical ('{domain:s}{path:s}'), nothing to do.",
|
"app_change_url_identical_domains": "The old and new domain/url_path are identical ('{domain:s}{path:s}'), nothing to do.",
|
||||||
"app_change_url_no_script": "This application '{app_name:s}' doesn't support url modification yet. Maybe you should upgrade the application.",
|
"app_change_url_no_script": "This application '{app_name:s}' doesn't support url modification yet. Maybe you should upgrade the application.",
|
||||||
"app_change_url_success": "Successfully changed {app:s} url to {domain:s}{path:s}",
|
"app_change_url_success": "Successfully changed {app:s} url to {domain:s}{path:s}",
|
||||||
|
"app_checkurl_is_deprecated": "Packagers /!\ 'app checkurl' is deprecated ! Please use 'app register-url' instead !",
|
||||||
"app_extraction_failed": "Unable to extract installation files",
|
"app_extraction_failed": "Unable to extract installation files",
|
||||||
"app_id_invalid": "Invalid app id",
|
"app_id_invalid": "Invalid app id",
|
||||||
"app_incompatible": "The app {app} is incompatible with your YunoHost version",
|
"app_incompatible": "The app {app} is incompatible with your YunoHost version",
|
||||||
|
|
|
@ -1149,6 +1149,9 @@ def app_checkurl(auth, url, app=None):
|
||||||
app -- Write domain & path to app settings for further checks
|
app -- Write domain & path to app settings for further checks
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
logger.warning(m18n.n("app_checkurl_is_deprecated"))
|
||||||
|
|
||||||
from yunohost.domain import domain_list
|
from yunohost.domain import domain_list
|
||||||
|
|
||||||
if "https://" == url[:8]:
|
if "https://" == url[:8]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue