From 8b70378a0fe4a858665f2aabd1ca339b858fedb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 Mar 2023 19:45:15 +0100 Subject: [PATCH 1/4] Fix --- doc/{DISCLAIMER.md => ADMIN.md} | 0 doc/{DISCLAIMER_fr.md => ADMIN_fr.md} | 0 manifest.toml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename doc/{DISCLAIMER.md => ADMIN.md} (100%) rename doc/{DISCLAIMER_fr.md => ADMIN_fr.md} (100%) diff --git a/doc/DISCLAIMER.md b/doc/ADMIN.md similarity index 100% rename from doc/DISCLAIMER.md rename to doc/ADMIN.md diff --git a/doc/DISCLAIMER_fr.md b/doc/ADMIN_fr.md similarity index 100% rename from doc/DISCLAIMER_fr.md rename to doc/ADMIN_fr.md diff --git a/manifest.toml b/manifest.toml index 1c9cf5a..236553a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,10 +16,10 @@ code = "https://github.com/gchq/CyberChef" cpe = "cpe:2.3:a:gchq:cyberchef" [integration] -yunohost = ">= 11.1.6" +yunohost = ">= 11.1.15" architectures = "all" multi_instance = true -ldap = "not_relevant" +ldap = "not_relevant" sso = "not_relevant" disk = "40M" ram.build = "0M" From 2d5ecd11a9b856414597aa38af0b52071aec4699 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 17 Mar 2023 18:45:21 +0000 Subject: [PATCH 2/4] Auto-update README --- README.md | 6 ------ README_fr.md | 6 ------ 2 files changed, 12 deletions(-) diff --git a/README.md b/README.md index a3e23dc..ffbb3ca 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,6 @@ It is expected that CyberChef will be useful for cybersecurity and antivirus com ![Screenshot of CyberChef](./doc/screenshots/cyberchef_ynh.png) -## Disclaimers / important information - -# Disclaimer - -This webapp does not store nor transmit your data. But if the data treated is particularly sensitive, you may want to download the webapp from upstream repository and run it locally, in incognito/private browsing mode with no extensions (to avoid rogue browser extensions). - ## Documentation and resources * Official user documentation: diff --git a/README_fr.md b/README_fr.md index d1a46ce..7860486 100644 --- a/README_fr.md +++ b/README_fr.md @@ -37,12 +37,6 @@ CyberChef devrait s'avérer utile pour les entreprises de cybersécurité et les ![Capture d’écran de CyberChef](./doc/screenshots/cyberchef_ynh.png) -## Avertissements / informations importantes - -# Avertissement - -Cette application web ne stocke ni ne transmet vos données. Mais si les données traitées ont un caractère particulièrement sensible, vous pourriez préférer télécharger l'application depuis le dépôt original et l'exécuter localement, en mode incognito/navigation privée sans extension (afin d'exclure le risque d'interception par des extensions de navigateur malveillantes). - ## Documentations et ressources * Documentation officielle utilisateur : From 5214b3b8566de1ed4767ccd83ba7613f912bf9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 Mar 2023 19:46:06 +0100 Subject: [PATCH 3/4] Update upgrade --- scripts/upgrade | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 084b0d7..d0f9e62 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,39 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers -### This helper will compare the version of the currently installed app and the version of the upstream package. -### $upgrade_type can have 2 different values -### - UPGRADE_APP if the upstream app version has changed -### - UPGRADE_PACKAGE if only the YunoHost package has changed -### ynh_check_app_version_changed will stop the upgrade if the app is up to date. -### UPGRADE_APP should be used to upgrade the core app only if there's an upgrade to do. upgrade_type=$(ynh_check_app_version_changed) -#================================================= -# STANDARD UPGRADE STEPS -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -#ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 - -# -# N.B. : the followings setting migrations snippets are provided as *EXAMPLES* -# of what you may want to do in some cases (e.g. a setting was not defined on -# some legacy installs and you therefore want to initiaze stuff during upgrade) -# - -# If db_name doesn't exist, create it -#if [ -z "$db_name" ]; then -# db_name=$(ynh_sanitize_dbid --db_name=$app) -# ynh_app_setting_set --app=$app --key=db_name --value=$db_name -#fi - -# If install_dir doesn't exist, create it -#if [ -z "$install_dir" ]; then -# install_dir=/var/www/$app -# ynh_app_setting_set --app=$app --key=install_dir --value=$install_dir -#fi - #================================================= # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD, ETC...) #================================================= @@ -56,9 +25,6 @@ then ynh_setup_source --dest_dir="$install_dir" fi -# $install_dir will automatically be initialized with some decent -# permission by default ... however, you may need to recursively reapply -# ownership to all files such as after the ynh_setup_source step chown -R $app:www-data "$install_dir" #================================================= @@ -68,7 +34,6 @@ ynh_script_progression --message="Upgrading system configurations related to $ap ynh_add_nginx_config - #================================================= # END OF SCRIPT #================================================= From a8348f7315f6e2475cfc0ccc5caf2f6d7aa9627d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 17 Mar 2023 19:50:47 +0100 Subject: [PATCH 4/4] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 236553a..b9aa8a2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -32,7 +32,7 @@ ram.runtime = "0M" [install.path] type = "path" - default = "/example" + default = "/cyberchef" [install.init_main_permission] type = "group"