From 4c67bb29a5579ae02ddf2ed55cfff14cc7a11a80 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 29 Aug 2021 11:17:24 +0200 Subject: [PATCH 1/7] Fix --- manifest.json | 2 +- scripts/restore | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 6d336b2..15a4ce3 100644 --- a/manifest.json +++ b/manifest.json @@ -16,7 +16,7 @@ }, "license": "free", "maintainer": { - "name": "", + "name": "eric_G", "email": "" }, "requirements": { diff --git a/scripts/restore b/scripts/restore index f21832f..094b3df 100755 --- a/scripts/restore +++ b/scripts/restore @@ -40,8 +40,6 @@ db_user=$db_name #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " From 57854401f3ddff323a53d6e92970f8088a82ad82 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 29 Aug 2021 09:17:29 +0000 Subject: [PATCH 2/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c05f297..738895b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -Content Management System +Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). **Shipped version:** 4.4.2~ynh1 diff --git a/README_fr.md b/README_fr.md index 82f1548..9bd6853 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour ## Vue d'ensemble -Système de gestion de contenu +Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). **Version incluse :** 4.4.2~ynh1 From 02b43d4b3a84703cd55577aafd6575996842902a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 19 Sep 2021 10:09:46 +0200 Subject: [PATCH 3/7] Update manifest.json --- manifest.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 15a4ce3..41c7673 100644 --- a/manifest.json +++ b/manifest.json @@ -31,8 +31,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "path", @@ -42,8 +41,7 @@ }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", @@ -62,8 +60,7 @@ }, { "name": "password", - "type": "password", - "example": "Choose a password" + "type": "password" } ] } From dccd3593cf1a281f0d91b18965af5d61eac25a9a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 28 Sep 2021 08:52:49 +0200 Subject: [PATCH 4/7] Cleaning up --- scripts/backup | 4 ---- scripts/install | 4 ---- scripts/restore | 4 ---- 3 files changed, 12 deletions(-) diff --git a/scripts/backup b/scripts/backup index 94ba2ab..5b1795a 100755 --- a/scripts/backup +++ b/scripts/backup @@ -14,10 +14,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - ### Remove this function if there's nothing to clean before calling the remove script. - true -} # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/install b/scripts/install index da48719..fdabfeb 100755 --- a/scripts/install +++ b/scripts/install @@ -13,10 +13,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - ### Remove this function if there's nothing to clean before calling the remove script. - true -} # Exit if an error occurs during the execution of the script ynh_abort_if_errors diff --git a/scripts/restore b/scripts/restore index 094b3df..0ddfb67 100755 --- a/scripts/restore +++ b/scripts/restore @@ -14,10 +14,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - #### Remove this function if there's nothing to clean before calling the remove script. - true -} # Exit if an error occurs during the execution of the script ynh_abort_if_errors From 3f82757ed044173476c5b5379a4576fba60edaa3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 22 Nov 2021 23:41:27 +0100 Subject: [PATCH 5/7] 4.3 --- check_process | 2 -- conf/app.src | 1 - conf/nginx.conf | 5 ----- doc/.gitkeep | 0 doc/screenshots/.gitkeep | 0 manifest.json | 2 +- scripts/restore | 3 +-- 7 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 doc/.gitkeep delete mode 100644 doc/screenshots/.gitkeep diff --git a/check_process b/check_process index 28eddda..ac78f5c 100644 --- a/check_process +++ b/check_process @@ -6,7 +6,6 @@ language="fr" is_public=1 password="1Strong-Password" - port="666" ; Checks pkg_linter=1 setup_sub_dir=1 @@ -18,7 +17,6 @@ #upgrade=1 from_commit=CommitHash backup_restore=1 multi_instance=1 - port_already_use=0 change_url=1 ;;; Options Email= diff --git a/conf/app.src b/conf/app.src index 04d30f3..33029ec 100644 --- a/conf/app.src +++ b/conf/app.src @@ -3,5 +3,4 @@ SOURCE_SUM=8d4e64b47e9bdcf037e523ce909392a07fe97620ac9f30772b3b1fc1542cd07a SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=false -SOURCE_FILENAME= SOURCE_EXTRACT=true diff --git a/conf/nginx.conf b/conf/nginx.conf index f1d5c49..b26a6dc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,11 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file diff --git a/doc/.gitkeep b/doc/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/doc/screenshots/.gitkeep b/doc/screenshots/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/manifest.json b/manifest.json index 41c7673..4e178fb 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.2.4" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ diff --git a/scripts/restore b/scripts/restore index 0ddfb67..be19705 100755 --- a/scripts/restore +++ b/scripts/restore @@ -36,8 +36,7 @@ db_user=$db_name #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS From 17ed2ac28468bd689c095ff64424d8210b724ed5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 26 Nov 2021 10:29:19 +0100 Subject: [PATCH 6/7] Update manifest.json --- manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 4e178fb..22bb0a9 100644 --- a/manifest.json +++ b/manifest.json @@ -6,15 +6,15 @@ "en": "Content Management System", "fr": "Système de gestion de contenu" }, - "version": "4.4.2~ynh1", + "version": "4.4.2~ynh2", "url": "https://sitemagic.org/", "upstream": { - "license": "free", + "license": "FSFULLR", "website": "https://sitemagic.org/", "admindoc": "https://sitemagic.org/sites/cms-guide/", "code": "https://github.com/Jemt/SitemagicCMS" }, - "license": "free", + "license": "FSFULLR", "maintainer": { "name": "eric_G", "email": "" From 63e7ceb1bdb6447e3a3f377d1fa57335b90e5c6b Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Fri, 26 Nov 2021 09:29:29 +0000 Subject: [PATCH 7/7] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 738895b..2a39ee3 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). -**Shipped version:** 4.4.2~ynh1 +**Shipped version:** 4.4.2~ynh2 diff --git a/README_fr.md b/README_fr.md index 9bd6853..b74e7dd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). -**Version incluse :** 4.4.2~ynh1 +**Version incluse :** 4.4.2~ynh2