From d6e2b86097c402cb314b0a995828a869739e23b8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 5 Aug 2021 19:05:50 +0200 Subject: [PATCH 1/6] 0.17.0 --- conf/front.src | 6 +++--- conf/vikunja.src | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/front.src b/conf/front.src index 08cf704..29a26c4 100644 --- a/conf/front.src +++ b/conf/front.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-0.1.0.zip -SOURCE_SUM=1423910fad3e5ed53671abf2d576896f347f1d8d00fdb12e111ce18fc9ac9332 +SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-0.11.0.zip +SOURCE_SUM=3a5dfea11cf5865440853907d9c96a16b636bc1bc9bf44e46c89965bea5a50fe SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=false SOURCE_FILENAME= -SOURCE_EXTRACT=true +SOURCE_EXTRACT=true \ No newline at end of file diff --git a/conf/vikunja.src b/conf/vikunja.src index ab714b6..b358c1f 100644 --- a/conf/vikunja.src +++ b/conf/vikunja.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://dl.vikunja.io/api/0.17.1/vikunja-unstable-amd64.deb -SOURCE_SUM=0c24a28ddfa3e185761177e088c328fead721f321e2a5c1adfaaa6486717fefc +SOURCE_URL=https://dl.vikunja.io/api/0.17.0/vikunja-unstable-amd64.deb +SOURCE_SUM=31348c62f599b093f1c464c48c09a4c23b7a1d2d881a373adabc3f23b80d10a6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=deb SOURCE_IN_SUBDIR=true From c9b1e2a448d2739b92005bdc261b6e1ea6b502c6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 5 Aug 2021 19:06:03 +0200 Subject: [PATCH 2/6] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index bcc5b61..67b2dd3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted To-Do list application", "fr": "Application de liste de tâches auto-hébergée " }, - "version": "0.17.1~ynh1", + "version": "0.17.0~ynh1", "url": "https://vikunja.io/", "upstream": { "license": "GPL-3.0", From eef28e0338d1ccf19cae192f3f2cdb5babdb3c43 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 5 Aug 2021 17:06:10 +0000 Subject: [PATCH 3/6] 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 f57d087..1919478 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 Self-hosted To-Do list application -**Shipped version:** 0.17.1~ynh1 +**Shipped version:** 0.17.0~ynh1 **Demo:** https://try.vikunja.io/login diff --git a/README_fr.md b/README_fr.md index b8b0535..9746f41 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 Application de liste de tâches auto-hébergée -**Version incluse :** 0.17.1~ynh1 +**Version incluse :** 0.17.0~ynh1 **Démo :** https://try.vikunja.io/login From 245ec21c2e72b530e1627267df863c1188900e20 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 5 Aug 2021 21:00:43 +0200 Subject: [PATCH 4/6] Update install --- scripts/install | 52 ++++++++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/scripts/install b/scripts/install index e9d5039..731b6d0 100644 --- a/scripts/install +++ b/scripts/install @@ -84,17 +84,6 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_psql_test_if_first_run ynh_psql_setup_db --db_user=$db_name --db_name=$db_name -#================================================= -# INSTALL BACKEND -#================================================= -ynh_script_progression --message="Installing backend..." --weight=15 - -tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=vikunja -ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb - -chmod +x /opt/vikunja/vikunja - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -108,6 +97,27 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +redis_db=$(ynh_redis_get_free_db) +ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml" + +#chmod 600 "/etc/vikunja/config.yml" + +#================================================= +# INSTALL BACKEND +#================================================= +ynh_script_progression --message="Installing backend..." --weight=15 + +tempdir="$(mktemp -d)" +ynh_setup_source --dest_dir=$tempdir --source_id=vikunja +ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb + +chmod +x /opt/vikunja/vikunja + #================================================= # NGINX CONFIGURATION #================================================= @@ -116,26 +126,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=3 # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# HANDLE LOG FILES AND LOGROTATE -#================================================= -ynh_script_progression --message="Configuring log rotation..." - -# Create log directory -mkdir -p /var/log/$app -touch /var/log/$app/$app.log -chown -R $app /var/log/$app - -#================================================= -# ADD A CONFIGURATION -#================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 - -redis_db=$(ynh_redis_get_free_db) -ynh_add_config --template="../conf/config.yml" --destination="/opt/vikunja/config.yml" - -#chmod 600 "/etc/vikunja/config.yml" - #================================================= # SETUP SYSTEMD #================================================= From 3327b7633026334c09371f8ba33e2ffe78d6d678 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 5 Aug 2021 22:43:38 +0200 Subject: [PATCH 5/6] upgrade to last version --- conf/front.src | 4 ++-- conf/vikunja.src | 4 ++-- manifest.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/front.src b/conf/front.src index 29a26c4..825c9fb 100644 --- a/conf/front.src +++ b/conf/front.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-0.11.0.zip -SOURCE_SUM=3a5dfea11cf5865440853907d9c96a16b636bc1bc9bf44e46c89965bea5a50fe +SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-unstable.zip +SOURCE_SUM=4e176ad1c4e44c0a40a2d6f7326ecb735960dd33ed378f11f2f6e40eb38ffa08 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=false diff --git a/conf/vikunja.src b/conf/vikunja.src index b358c1f..ab714b6 100644 --- a/conf/vikunja.src +++ b/conf/vikunja.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://dl.vikunja.io/api/0.17.0/vikunja-unstable-amd64.deb -SOURCE_SUM=31348c62f599b093f1c464c48c09a4c23b7a1d2d881a373adabc3f23b80d10a6 +SOURCE_URL=https://dl.vikunja.io/api/0.17.1/vikunja-unstable-amd64.deb +SOURCE_SUM=0c24a28ddfa3e185761177e088c328fead721f321e2a5c1adfaaa6486717fefc SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=deb SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 67b2dd3..bcc5b61 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted To-Do list application", "fr": "Application de liste de tâches auto-hébergée " }, - "version": "0.17.0~ynh1", + "version": "0.17.1~ynh1", "url": "https://vikunja.io/", "upstream": { "license": "GPL-3.0", From f5c8dd6522702f376aba8755b66f468fa9ca5588 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 5 Aug 2021 20:43:43 +0000 Subject: [PATCH 6/6] 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 1919478..f57d087 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 Self-hosted To-Do list application -**Shipped version:** 0.17.0~ynh1 +**Shipped version:** 0.17.1~ynh1 **Demo:** https://try.vikunja.io/login diff --git a/README_fr.md b/README_fr.md index 9746f41..b8b0535 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 Application de liste de tâches auto-hébergée -**Version incluse :** 0.17.0~ynh1 +**Version incluse :** 0.17.1~ynh1 **Démo :** https://try.vikunja.io/login