From 88d94b1bd6e38fd2af002641298697e6689b6468 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 13:24:44 +0200 Subject: [PATCH 01/18] [fix] Try something to be independent from github --- src/js/yunohost/controllers/apps.js | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index b1fe4cab..3b2ab0d0 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -444,7 +444,6 @@ } }); - // Install custom app from github app.post('#/apps/install/custom', function(c) { var params = { @@ -461,10 +460,23 @@ // Force trailing slash params.app = params.app.replace(/\/?$/, '/'); - - // Get manifest.json to get additional parameters + var rawpath = ""; + if(function() { + var xhr_object = new XMLHttpRequest(); + xhr_object.open("GET", params.app + "raw/master/manifest.json", false); + xhr_object.send(null); + } == true) { + rawpath = 'raw/master/manifest.json'; + } // Install custom app from github + else if (params.app.indexOf("github.com") !== "-1") { + params.app = params.app.replace('github.com', 'raw.githubusercontent.com'); + rawpath = 'master/manifest.json'; + } + else { + console.log("You git host is not supported"); + } jQuery.ajax({ - url: params.app.replace('github.com', 'raw.githubusercontent.com') + 'master/manifest.json', + url: params.app + rawpath, type: 'GET', }) .done(function(manifest) { From 7d650e8e82ca7187626856e053a86842da396545 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 13:43:42 +0200 Subject: [PATCH 02/18] Update apps.js --- src/js/yunohost/controllers/apps.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 3b2ab0d0..d49cf574 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -465,7 +465,8 @@ var xhr_object = new XMLHttpRequest(); xhr_object.open("GET", params.app + "raw/master/manifest.json", false); xhr_object.send(null); - } == true) { + return xhr_object.status + } === 200) { rawpath = 'raw/master/manifest.json'; } // Install custom app from github else if (params.app.indexOf("github.com") !== "-1") { From 35f812ab72164ec4e328b667039e3526a252f135 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 13:44:21 +0200 Subject: [PATCH 03/18] Update apps.js --- src/js/yunohost/controllers/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index d49cf574..5d969922 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -465,7 +465,7 @@ var xhr_object = new XMLHttpRequest(); xhr_object.open("GET", params.app + "raw/master/manifest.json", false); xhr_object.send(null); - return xhr_object.status + return xhr_object.status; } === 200) { rawpath = 'raw/master/manifest.json'; } // Install custom app from github From 3d382c4fcdb089c85a20c02b3f47c896d3afeb6b Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 15:00:29 +0200 Subject: [PATCH 04/18] typo and try to unset params.app --- src/js/yunohost/controllers/apps.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 5d969922..0c4e4992 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -467,17 +467,18 @@ xhr_object.send(null); return xhr_object.status; } === 200) { - rawpath = 'raw/master/manifest.json'; + rawpath = 'raw/master/manifest.json'; + var giturl = params.app + rawpath; } // Install custom app from github else if (params.app.indexOf("github.com") !== "-1") { - params.app = params.app.replace('github.com', 'raw.githubusercontent.com'); rawpath = 'master/manifest.json'; + var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; } else { console.log("You git host is not supported"); } jQuery.ajax({ - url: params.app + rawpath, + url: giturl, type: 'GET', }) .done(function(manifest) { From 4eb887152737b0f7849d81de56282ac8430694c0 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 15:15:51 +0200 Subject: [PATCH 05/18] Update apps.js --- src/js/yunohost/controllers/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 0c4e4992..852f7d76 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -470,7 +470,7 @@ rawpath = 'raw/master/manifest.json'; var giturl = params.app + rawpath; } // Install custom app from github - else if (params.app.indexOf("github.com") !== "-1") { + else if (params.app.indexOf("github.com") !== -1) { rawpath = 'master/manifest.json'; var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; } From a9d55004f0fca6273ac0d84091ef129e7efdbbb9 Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 17:59:14 +0200 Subject: [PATCH 06/18] [fix] regex Template --- src/views/app/app_list_install.ms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/app/app_list_install.ms b/src/views/app/app_list_install.ms index 93595d6d..0be52682 100644 --- a/src/views/app/app_list_install.ms +++ b/src/views/app/app_list_install.ms @@ -52,7 +52,7 @@
- +

{{t 'custom_app_url_only_github'}}

From b0b9a59b9cc168958669079e5771cfdae60209ec Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 30 Aug 2018 18:04:09 +0200 Subject: [PATCH 07/18] Update apps.js --- src/js/yunohost/controllers/apps.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 852f7d76..1abf1a8d 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -461,6 +461,7 @@ // Force trailing slash params.app = params.app.replace(/\/?$/, '/'); var rawpath = ""; + var giturl = params.app; if(function() { var xhr_object = new XMLHttpRequest(); xhr_object.open("GET", params.app + "raw/master/manifest.json", false); @@ -468,11 +469,11 @@ return xhr_object.status; } === 200) { rawpath = 'raw/master/manifest.json'; - var giturl = params.app + rawpath; + giturl = params.app + rawpath; } // Install custom app from github else if (params.app.indexOf("github.com") !== -1) { rawpath = 'master/manifest.json'; - var giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; + giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; } else { console.log("You git host is not supported"); From e7e295ff1f65da89c1c6891380245dd191247c78 Mon Sep 17 00:00:00 2001 From: frju365 Date: Fri, 14 Dec 2018 23:27:48 +0100 Subject: [PATCH 08/18] test --- src/views/app/app_list_install.ms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/app/app_list_install.ms b/src/views/app/app_list_install.ms index 0be52682..f0c35d7a 100644 --- a/src/views/app/app_list_install.ms +++ b/src/views/app/app_list_install.ms @@ -52,7 +52,7 @@
- +

{{t 'custom_app_url_only_github'}}

From 7e385af846885fd304f19541a1aee03f62f3968d Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Sep 2019 19:59:25 +0200 Subject: [PATCH 09/18] Final test --- src/js/yunohost/controllers/apps.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 1abf1a8d..ca534849 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -460,24 +460,7 @@ // Force trailing slash params.app = params.app.replace(/\/?$/, '/'); - var rawpath = ""; - var giturl = params.app; - if(function() { - var xhr_object = new XMLHttpRequest(); - xhr_object.open("GET", params.app + "raw/master/manifest.json", false); - xhr_object.send(null); - return xhr_object.status; - } === 200) { - rawpath = 'raw/master/manifest.json'; - giturl = params.app + rawpath; - } // Install custom app from github - else if (params.app.indexOf("github.com") !== -1) { - rawpath = 'master/manifest.json'; - giturl = params.app.replace('github.com', 'raw.githubusercontent.com') + rawpath; - } - else { - console.log("You git host is not supported"); - } + var giturl = params.app + "raw/master/manifest.json"; jQuery.ajax({ url: giturl, type: 'GET', From 67abfc488570243ccee31674b1b90484ee024abd Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Sep 2019 20:00:07 +0200 Subject: [PATCH 10/18] Correct placeholder --- src/views/app/app_list_install.ms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/app/app_list_install.ms b/src/views/app/app_list_install.ms index f0c35d7a..a6310f2f 100644 --- a/src/views/app/app_list_install.ms +++ b/src/views/app/app_list_install.ms @@ -52,7 +52,7 @@
- +

{{t 'custom_app_url_only_github'}}

From 61770443813a982d865d6d2eaa7f7f0ee2e0be9a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 8 Nov 2019 12:30:14 +0100 Subject: [PATCH 11/18] Remove force_redirect because now it's unused --- src/js/yunohost/helpers.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/js/yunohost/helpers.js b/src/js/yunohost/helpers.js index 59e70ed0..0cbc3b3f 100644 --- a/src/js/yunohost/helpers.js +++ b/src/js/yunohost/helpers.js @@ -525,20 +525,7 @@ c.hideLoader(); }); }); - }, - - force_redirect: function(to) { - c = this; - // This is a copy-pasta of some of the redirect/refresh code of - // sammy.js because for some reason calling the origina - // redirect/refresh function in some context does not work >.> - // (e.g. if you're already on the page) - c.trigger('redirect', {to: to}); - c.app.last_location = c.path; - c.app.setLocation(to); - c.app.trigger('location-changed'); } - }); })(); From f448b8c892b6fc846499496f2fa7eeebd5c28602 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 14 Nov 2019 14:35:56 +0100 Subject: [PATCH 12/18] Friendlier / more rewarding messages when everything is up to date --- src/locales/en.json | 8 ++++---- src/views/tools/tools_update.ms | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 3be53381..de095ed8 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -5,7 +5,7 @@ "advanced": "Advanced", "remove": "Remove", "administration_password": "Administration password", - "all_apps": "All apps", + "all_apps": "All apps", "api_not_responding": "The YunoHost API is not responding. Maybe 'yunohost-api' is down or got restarted?", "app_change_label": "Change Label", "app_change_url": "Change URL", @@ -285,9 +285,9 @@ "storages_no": "No storages.", "system": "System", "system_apps": "Apps", - "system_apps_nothing": "There are no apps to upgrade.", - "system_packages": "Packages", - "system_packages_nothing": "There are no packages to upgrade.", + "system_apps_nothing": "All apps are up to date!", + "system_packages": "System packages", + "system_packages_nothing": "All system packages are up to date!", "system_update": "System update", "system_upgrade": "System upgrade", "system_upgrade_btn": "Upgrade", diff --git a/src/views/tools/tools_update.ms b/src/views/tools/tools_update.ms index ec999c3c..ffe1a2d5 100644 --- a/src/views/tools/tools_update.ms +++ b/src/views/tools/tools_update.ms @@ -24,7 +24,7 @@
{{else}}
- {{t 'system_packages_nothing'}} + {{t 'system_packages_nothing'}}
{{/if}}
@@ -48,7 +48,7 @@
{{else}}
- {{t 'system_apps_nothing'}} + {{t 'system_apps_nothing'}}
{{/if}}
From cd3f32622b18e18bfc2f14f501d791fb5d47fbff Mon Sep 17 00:00:00 2001 From: amirale qt Date: Thu, 7 Nov 2019 12:19:07 +0000 Subject: [PATCH 13/18] Translated using Weblate (French) Currently translated at 100.0% (380 of 380 strings) Translation: YunoHost/admin Translate-URL: https://translate.yunohost.org/projects/yunohost/admin/fr/ --- src/locales/fr.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/locales/fr.json b/src/locales/fr.json index fb4550c4..d9ba67ca 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -422,7 +422,7 @@ "logs_more": "Afficher plus de lignes", "search_for_apps": "Recherche des applications…", "unmaintained": "Non maintenue", - "purge_user_data_checkbox": "Voulez-vous purger les données de l’utilisateur %s ? (Cela supprimera le contenu de ses répertoires home et mail.)", + "purge_user_data_checkbox": "Purger les données de % s ? (Cela supprimera le contenu de ses répertoires home et mail.)", "purge_user_data_warning": "La purge des données de l’utilisateur n’est pas réversible. Assurez-vous de savoir ce que vous faites !", "version": "Version", "confirm_update_system": "Voulez-vous vraiment mettre à jour tous les paquets système ?", @@ -459,5 +459,15 @@ "group_specific_permissions": "Autorisations spécifiques à l'utilisateur", "groups_and_permissions": "Groupes et autorisations", "groups_and_permissions_manage": "Gérer les groupes et les autorisations", - "permissions": "Permissions" + "permissions": "Permissions", + "rerun_diagnosis": "Relancer le diagnostic", + "details": "Détails", + "diagnosis_experimental_disclaimer": "Sachez que la fonction de diagnostic est encore expérimentale et en cours de perfectionnement et qu’elle n’est peut-être pas totalement fiable.", + "errors": "%s erreurs", + "everything_good": "Tout va bien !", + "ignore": "Ignore", + "ignored": "%s ignoré", + "last_ran": "Dernière exécution :", + "unignore": "dé-ignorer", + "warnings": "%s avertissements" } From 79d7058ebe0eab96937f97be9eb1cd6fc1c70b5c Mon Sep 17 00:00:00 2001 From: amirale qt Date: Thu, 7 Nov 2019 12:15:40 +0000 Subject: [PATCH 14/18] Translated using Weblate (Esperanto) Currently translated at 99.5% (378 of 380 strings) Translation: YunoHost/admin Translate-URL: https://translate.yunohost.org/projects/yunohost/admin/eo/ --- src/locales/eo.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/locales/eo.json b/src/locales/eo.json index 9457a628..7016d156 100644 --- a/src/locales/eo.json +++ b/src/locales/eo.json @@ -440,5 +440,14 @@ "group_explain_visitors": "Ĉi tio estas speciala grupo reprezentanta anonimajn vizitantojn", "group_specific_permissions": "Uzaj specifaj permesoj", "permissions": "Permesoj", - "nobody": "Neniu" + "nobody": "Neniu", + "rerun_diagnosis": "Rerun diagnozo", + "details": "Detaloj", + "diagnosis_experimental_disclaimer": "Atentu, ke la diagnoza funkcio estas ankoraŭ eksperimenta kaj polurita, kaj ĝi eble ne estas plene fidinda.", + "errors": "%s eraroj", + "everything_good": "Ĉio bona!", + "ignore": "Ignori", + "ignored": "%s ignoris", + "warnings": "%s avertoj", + "last_ran": "Lastfoje kuris:" } From 6e8d0f52820a045c85512d4aa8e70364b31617ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quent=C3=AD?= Date: Sun, 10 Nov 2019 16:55:43 +0000 Subject: [PATCH 15/18] Translated using Weblate (Occitan) Currently translated at 100.0% (380 of 380 strings) Translation: YunoHost/admin Translate-URL: https://translate.yunohost.org/projects/yunohost/admin/oc/ --- src/locales/oc.json | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/src/locales/oc.json b/src/locales/oc.json index fde5e4b2..21c7b4b6 100644 --- a/src/locales/oc.json +++ b/src/locales/oc.json @@ -4,7 +4,7 @@ "remove": "Levar", "administration_password": "Senhal d’administracion", "allowed_users": "Personas autorizadas", - "api_not_responding": "L’API respond pas", + "api_not_responding": "L’API respond pas? Benlèu que « yunohost-api » es en pana o es estat reaviat ?", "app_access": "Accès", "app_access_addall_btn": "Activar l’accès per totes", "app_access_addall_desc": "Totes los utilizaires existents auràn accès a %s.", @@ -16,7 +16,7 @@ "app_change_url": "Cambiar l’URL", "app_debug_no_logs": "Los jornals d’activitats de l’aplicacions son pas disponibles", "app_debug_tab": "Mostrar las informacions de desbugatge", - "app_info_access_desc": "Gestion dels accèsses dels utilizaires. Utilizaires autorizats : %s", + "app_info_access_desc": "Grops / utilizaires actualament autorizats a accedir a aquesta aplicacion :", "app_info_changelabel_desc": "Cambiar l’apelacion de l’aplicacion pel portal.", "app_info_change_url_disabled_tooltip": "Aquesta foncionalitat es pas encara presa en carga per aquesta aplicacion pel moment", "app_info_uninstall_desc": "Suprimir aquesta aplicacion.", @@ -438,5 +438,30 @@ "request_help": "ajuda necessària", "request_help_details": "Lo manteneire actual volriá d’ajuda per la mantenença de l’aplicacion. Esitetz pas a i contribuïr !", "advanced": "Avançat", - "from_to": "de %s fins a %s" + "from_to": "de %s fins a %s", + "rerun_diagnosis": "Tornar lançar lo diagnostic", + "last_ran": "Darrièra execucion :", + "permissions": "Permissions", + "details": "Detalhs", + "diagnosis_experimental_disclaimer": "Remembratz-vos que l’opcion de diagnostic es encara experimentala e se melhorar, e pòt pas èsser fisabla.", + "errors": "%s errors", + "everything_good": "Tot es bon !", + "group": "Grop", + "group_name": "Nom del grop", + "group_all_users": "Totes los utilizaires", + "group_visitors": "Visitaires", + "nobody": "Degun", + "group_format_name_help": "Podètz utilizar de caractèrs alfanumerics e d’espacis", + "group_add_member": "Ajustar un utilizaire", + "group_add_permission": "Ajustar una permission", + "group_new": "Nòu grop", + "group_explain_all_users": "Aquò es un grop especial que conten totes los comptes d’utilizaires del servidor", + "group_explain_visitors": "Aquò es un grop especial que representa los visitaires anonims", + "group_specific_permissions": "Permissions especificas de l’utilizaire", + "groups_and_permissions": "Grops e permissions", + "groups_and_permissions_manage": "Gerir los grops e las permissions", + "ignore": "Ignorar", + "ignored": "%s ignorat", + "unignore": "Ignorar pas", + "warnings": "%s avises" } From 2c6ac7cff2f6c4955391fb824d1573c584f5f014 Mon Sep 17 00:00:00 2001 From: xaloc33 Date: Thu, 7 Nov 2019 10:54:54 +0000 Subject: [PATCH 16/18] Translated using Weblate (Catalan) Currently translated at 100.0% (380 of 380 strings) Translation: YunoHost/admin Translate-URL: https://translate.yunohost.org/projects/yunohost/admin/ca/ --- src/locales/ca.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/locales/ca.json b/src/locales/ca.json index edd9af72..20b419d7 100644 --- a/src/locales/ca.json +++ b/src/locales/ca.json @@ -452,5 +452,15 @@ "groups_and_permissions": "Grups i permisos", "groups_and_permissions_manage": "Gestionar grups i usuaris", "permissions": "Permisos", - "nobody": "Ningú" + "nobody": "Ningú", + "rerun_diagnosis": "Tornar a fer el diagnòstic", + "details": "Detalls", + "diagnosis_experimental_disclaimer": "Tingueu en compte que l'opció de diagnòstic encara és experimental i s'està millorant, i pot no ser del tot fiable.", + "everything_good": "Tot està bé!", + "ignore": "Ignorar", + "ignored": "%s ignorat", + "errors": "%s errors", + "last_ran": "Executat per última vegada:", + "warnings": "%s avisos", + "unignore": "No ignorar" } From a8ae4d9a4b79bcb400cae4ebcb61c4240e066ff8 Mon Sep 17 00:00:00 2001 From: advocatux Date: Wed, 13 Nov 2019 12:03:50 +0000 Subject: [PATCH 17/18] Translated using Weblate (Spanish) Currently translated at 100.0% (380 of 380 strings) Translation: YunoHost/admin Translate-URL: https://translate.yunohost.org/projects/yunohost/admin/es/ --- src/locales/es.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/locales/es.json b/src/locales/es.json index e543f4b0..53d40e83 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -455,5 +455,15 @@ "groups_and_permissions": "Grupos y permisos", "groups_and_permissions_manage": "Gestionar grupos y permisos", "permissions": "Permisos", - "nobody": "Nadie" + "nobody": "Nadie", + "rerun_diagnosis": "Repetir diagnóstico", + "details": "Detalles", + "diagnosis_experimental_disclaimer": "Tenga en cuenta que la característica de diagnóstico es aún experimental y está siendo mejorada y puede no ser totalmente fiable.", + "errors": "%s errores", + "everything_good": "¡Todo bien!", + "ignore": "Ignorar", + "ignored": "%s ignorado", + "last_ran": "Ejecutado por última vez:", + "unignore": "Dejar de ignorar", + "warnings": "%s avisos" } From 0e2fcaa4a6b9c9ee5568be13a26e78791231b7e4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 16 Nov 2019 16:36:21 +0100 Subject: [PATCH 18/18] Revert "[fix] Try something to be independent from github" --- src/js/yunohost/controllers/apps.js | 6 ++++-- src/views/app/app_list_install.ms | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index ef2cb3f6..17c91e10 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -578,6 +578,7 @@ } }); + // Install custom app from github app.post('#/apps/install/custom', function(c) { var params = { @@ -594,9 +595,10 @@ // Force trailing slash params.app = params.app.replace(/\/?$/, '/'); - var giturl = params.app + "raw/master/manifest.json"; + + // Get manifest.json to get additional parameters jQuery.ajax({ - url: giturl, + url: params.app.replace('github.com', 'raw.githubusercontent.com') + 'master/manifest.json', type: 'GET', }) .done(function(manifest) { diff --git a/src/views/app/app_list_install.ms b/src/views/app/app_list_install.ms index 06d9d038..e0ce26b0 100644 --- a/src/views/app/app_list_install.ms +++ b/src/views/app/app_list_install.ms @@ -73,7 +73,7 @@
- +

{{t 'custom_app_url_only_github'}}