From 2a9f75b9367d2af00b34c4123aac3bc608c5f068 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Fri, 30 Aug 2024 23:37:07 +0200 Subject: [PATCH 01/24] [autopatch] Automatic patch attempt for helpers 2.1 --- .gitignore | 1 + conf/cron | 4 +- conf/extra_php-fpm.conf | 4 -- conf/nginx.conf | 2 +- manifest.toml | 4 +- scripts/_common.sh | 14 +------ scripts/backup | 25 ++++--------- scripts/change_url | 18 +++------ scripts/install | 62 ++++++++++++++----------------- scripts/remove | 19 ++++------ scripts/restore | 41 ++++++++------------ scripts/upgrade | 72 ++++++++++++++++-------------------- sources/extra_files/app/.env | 49 ------------------------ 13 files changed, 104 insertions(+), 211 deletions(-) delete mode 100644 conf/extra_php-fpm.conf delete mode 100755 sources/extra_files/app/.env diff --git a/.gitignore b/.gitignore index 783a4ae..8f144f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.sw[op] +.DS_Store diff --git a/conf/cron b/conf/cron index ac8663e..269542a 100644 --- a/conf/cron +++ b/conf/cron @@ -1,2 +1,2 @@ -* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHPVERSION__ -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 -* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHPVERSION__ -d register_argc_argv=On artisan queue:work --stop-when-empty >> /dev/null 2>&1 +* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHP_VERSION__ -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 +* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHP_VERSION__ -d register_argc_argv=On artisan queue:work --stop-when-empty >> /dev/null 2>&1 diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf deleted file mode 100644 index 700c37c..0000000 --- a/conf/extra_php-fpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -; Additional php.ini defines, specific to this pool of workers. - -php_admin_value[upload_max_filesize] = 50M -php_admin_value[post_max_size] = 50M diff --git a/conf/nginx.conf b/conf/nginx.conf index 1c8770d..db1442a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,7 +26,7 @@ location ^~ __PATH__/ { location ~ ^__PATH__/index\.php(/.*|)$ { fastcgi_split_path_info ^(.+?\.php)(/.*|)$; set $path_info $fastcgi_path_info; - fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock; fastcgi_index index.php; include fastcgi_params; diff --git a/manifest.toml b/manifest.toml index f305a27..6819f03 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,8 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.2.20" +yunohost = ">= 11.2.18" +helpers_version = "2.1" architectures = "all" multi_instance = true @@ -68,6 +69,7 @@ ram.runtime = "50M" [resources.system_user] [resources.install_dir] + group = "www-data:r-x" [resources.permissions] main.url = "/" diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..3d7f008 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,17 +1,5 @@ #!/bin/bash #================================================= -# COMMON VARIABLES -#================================================= - -#================================================= -# PERSONAL HELPERS -#================================================= - -#================================================= -# EXPERIMENTAL HELPERS -#================================================= - -#================================================= -# FUTURE OFFICIAL HELPERS +# COMMON VARIABLES AND CUSTOM HELPERS #================================================= diff --git a/scripts/backup b/scripts/backup index b7f5254..a70b435 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,45 +1,36 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - #Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -#================================================= -# DECLARE DATA AND CONF FILES TO BACKUP -#================================================= -ynh_print_info --message="Declaring files to be backed up..." +ynh_print_info "Declaring files to be backed up..." #================================================= # BACKUP THE APP MAIN DIR #================================================= -ynh_backup --src_path="$install_dir" +ynh_backup "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf" -ynh_backup --src_path="/etc/cron.d/$app" +ynh_backup "/etc/cron.d/$app" #================================================= # BACKUP THE MYSQL DATABASE #================================================= -ynh_print_info --message="Backing up the MySQL database..." +ynh_print_info "Backing up the MySQL database..." -ynh_mysql_dump_db --database="$db_name" > db.sql +ynh_mysql_dump_db > db.sql #================================================= # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." +ynh_print_info "Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index 7f1cbdf..4c10194 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,33 +1,27 @@ #!/bin/bash -#================================================= -# GENERIC STARTING -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers #================================================= # MODIFY URL IN NGINX CONF #================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 +ynh_script_progression "Updating NGINX web server configuration..." -ynh_change_url_nginx_config +ynh_config_change_url_nginx #================================================= # SPECIFIC MODIFICATIONS #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_replace_string --match_string="$old_domain$old_path" --replace_string="$new_domain$new_path" --target_file="$install_dir/.env" -ynh_store_file_checksum --file="$install_dir/.env" +ynh_replace --match="$old_domain$old_path" --replace="$new_domain$new_path" --file="$install_dir/.env" +ynh_store_file_checksum "$install_dir/.env" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" +ynh_script_progression "Change of URL completed for $app" diff --git a/scripts/install b/scripts/install index 2c91c39..7c6d713 100755 --- a/scripts/install +++ b/scripts/install @@ -1,11 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers @@ -23,73 +17,71 @@ email="$(ynh_user_get_info --username=$admin --key=mail)" #================================================= # STORE KEYS TO APP SETTINGS #================================================= -ynh_script_progression --message="Storing secrets to app settings..." +ynh_script_progression "Storing secrets to app settings..." -ynh_app_setting_set --app=$app --key=api_secret --value=$api_secret -ynh_app_setting_set --app=$app --key=app_key --value=$app_key -ynh_app_setting_set --app=$app --key=phantomjs_key --value=$phantomjs_key +ynh_app_setting_set --key=api_secret --value=$api_secret +ynh_app_setting_set --key=app_key --value=$app_key +ynh_app_setting_set --key=phantomjs_key --value=$phantomjs_key #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=1 +ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" -chown -R $app:www-data "$install_dir" - +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 +ynh_script_progression "Adding system configurations related to $app..." # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_config_add_phpfpm # Create a dedicated nginx config -ynh_add_nginx_config +ynh_config_add_nginx #================================================= # SPECIFIC SETUP #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_add_config --template="default.env" --destination="$install_dir/.env" +ynh_config_add --template="default.env" --destination="$install_dir/.env" -chmod 600 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/.env" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/.env" #================================================= # BUILD THE APPLICATION #================================================= -ynh_script_progression --message="Building the application..." --weight=1 +ynh_script_progression "Building the application..." pushd "$install_dir" # Run the database migrations and initially fill the db - php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force - php$phpversion artisan ninja:create-account --email $email --password "$password" --no-interaction --verbose - php$phpversion artisan optimize --no-interaction --verbose - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + php$php_version artisan migrate:fresh --seed --no-interaction --verbose --force + php$php_version artisan ninja:create-account --email $email --password "$password" --no-interaction --verbose + php$php_version artisan optimize --no-interaction --verbose + php$php_version artisan view:clear + php$php_version artisan cache:clear popd -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 750 "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # ADD A CRON JOB #================================================= -ynh_script_progression --message="Adding a cron job..." --weight=1 +ynh_script_progression "Adding a cron job..." -ynh_add_config --template="cron" --destination="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" +ynh_config_add --template="cron" --destination="/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" +ynh_script_progression "Installation of $app completed" diff --git a/scripts/remove b/scripts/remove index 8249abd..cc45060 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,32 +1,27 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEM CONFIGURATIONS #================================================= -# REMOVE SYSTEMD SERVICE +# REMOVE SYSTEMD SERVICE + #================================================= -ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 +ynh_script_progression "Removing system configurations related to $app..." # Remove the dedicated nginx config -ynh_remove_nginx_config +ynh_config_remove_nginx # Remove the dedicated PHP-FPM config -ynh_remove_fpm_config +ynh_config_remove_phpfpm # Remove a cron file -ynh_secure_remove --file="/etc/cron.d/$app" +ynh_safe_rm "/etc/cron.d/$app" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of $app completed" +ynh_script_progression "Removal of $app completed" diff --git a/scripts/restore b/scripts/restore index 6407e7b..8fe623e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -1,11 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - #Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers @@ -13,47 +7,44 @@ source /usr/share/yunohost/helpers #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=1 +ynh_script_progression "Restoring the app main directory..." -ynh_restore_file --origin_path="$install_dir" - -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +ynh_restore "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE #================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 +ynh_script_progression "Restoring the MySQL database..." -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_mysql_db_shell < ./db.sql #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 +ynh_script_progression "Restoring system configurations related to $app..." -ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf" -ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_restore_file --origin_path="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" +ynh_restore "/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" -#================================================= -# GENERIC FINALIZATION #================================================= # RELOAD NGINX AND PHP-FPM #================================================= -ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=1 +ynh_script_progression "Reloading NGINX web server and PHP-FPM..." -ynh_systemd_action --service_name=php$phpversion-fpm --action=reload -ynh_systemd_action --service_name=nginx --action=reload +ynh_systemctl --service=php$php_version-fpm --action=reload +ynh_systemctl --service=nginx --action=reload #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" +ynh_script_progression "Restoration completed for $app" diff --git a/scripts/upgrade b/scripts/upgrade index 4676115..cc9b118 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,49 +1,42 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Upgrading source files..." --weight=1 +ynh_script_progression "Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/storage" - -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env public/storage" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # REAPPLY SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 +ynh_script_progression "Upgrading system configurations related to $app..." # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_config_add_phpfpm # Create a dedicated NGINX config -ynh_add_nginx_config +ynh_config_add_nginx -ynh_add_config --template="cron" --destination="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" +ynh_config_add --template="cron" --destination="/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" #================================================= # ENSURE BACKWARD COMPATIBILITY #================================================= -ynh_script_progression --message="Ensuring backward compatibility..." --weight=1 +ynh_script_progression "Ensuring backward compatibility..." # Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 -ynh_app_setting_delete --app=$app --key=email_firstname -ynh_app_setting_delete --app=$app --key=email_lastname -ynh_app_setting_delete --app=$app --key=email # also delete unnecessary duplicate of state storage +ynh_app_setting_delete --key=email_firstname +ynh_app_setting_delete --key=email_lastname +ynh_app_setting_delete --key=email # also delete unnecessary duplicate of state storage # Retrieve `$admin` user settings email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" @@ -52,48 +45,47 @@ email="$(ynh_user_get_info --username=$admin --key=mail)" #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_add_config --template="default.env" --destination="$install_dir/.env" +ynh_config_add --template="default.env" --destination="$install_dir/.env" -chmod 600 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/.env" +#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/.env" #================================================= # UPGRADE DATABASE #================================================= -ynh_script_progression --message="Upgrading the database..." --weight=1 +ynh_script_progression "Upgrading the database..." pushd "$install_dir" # Clear caches # https://github.com/invoiceninja/invoiceninja/issues/7397 - #ynh_secure_remove --file=$install_dir/bootstrap/cache/ - #ynh_secure_remove --file=$install_dir/storage/framework/cache/ - #ynh_secure_remove --file=$install_dir/storage/framework/sessions/ + #ynh_safe_rm $install_dir/bootstrap/cache/ + #ynh_safe_rm $install_dir/storage/framework/cache/ + #ynh_safe_rm $install_dir/storage/framework/sessions/ #mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + php$php_version artisan view:clear + php$php_version artisan cache:clear # Run the database migrations - php$phpversion artisan migrate --force --no-interaction --verbose + php$php_version artisan migrate --force --no-interaction --verbose # Optimize the framework for better performance - php$phpversion artisan optimize --no-interaction --verbose + php$php_version artisan optimize --no-interaction --verbose # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - #php$phpversion artisan view:clear - #php$phpversion artisan cache:clear + #php$php_version artisan view:clear + #php$php_version artisan cache:clear popd -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 750 "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" +#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" +ynh_script_progression "Upgrade of $app completed" diff --git a/sources/extra_files/app/.env b/sources/extra_files/app/.env deleted file mode 100755 index 0e7ff5a..0000000 --- a/sources/extra_files/app/.env +++ /dev/null @@ -1,49 +0,0 @@ -APP_NAME="Invoice Ninja" -APP_ENV=production -APP_KEY=__APP_KEY__ -#API_SECRET=__API_SECRET__ -APP_CIPHER=AES-256-CBC -APP_DEBUG=false - -APP_LOCALE=en - -APP_URL=https://__DOMAIN____PATH__ - -MULTI_DB_ENABLED=false - -DB_HOST1=localhost -DB_DATABASE1=__DB_NAME__ -DB_USERNAME1=__DB_USER__ -DB_PASSWORD1=__DB_PASS__ -DB_PORT1=3306 - -DEMO_MODE=false - -BROADCAST_DRIVER=log -LOG_CHANNEL=stack -CACHE_DRIVER=file -QUEUE_CONNECTION=database -SESSION_DRIVER=file -SESSION_LIFETIME=120 - -#REDIS_HOST=127.0.0.1 -#REDIS_PASSWORD=null -#REDIS_PORT=6379 -REQUIRE_HTTPS=true -MAIL_MAILER=mail -MAIL_PORT=25 -MAIL_ENCRYPTION=tls -MAIL_HOST=localhost -MAIL_USERNAME= -MAIL_FROM_NAME= -MAIL_FROM_ADDRESS= -MAIL_PASSWORD= -NINJA_ENVIRONMENT=selfhost -DB_CONNECTION=db-ninja-01 - -NODE_PATH=/opt/node_n/bin/node -NPM_PATH=/opt/node_n/bin/npm - -PHANTOMJS_PDF_GENERATION=true -PHANTOMJS_KEY='a-demo-key-with-low-quota-per-ip-address' -PHANTOMJS_SECRET='your-secret-here' From cb9313a74da7261a72db1dabed166fbccae91b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:43:58 +0200 Subject: [PATCH 02/24] cleaning --- manifest.toml | 2 +- scripts/backup | 1 - scripts/install | 11 ----------- scripts/remove | 3 --- scripts/restore | 7 ------- scripts/upgrade | 13 ------------- 6 files changed, 1 insertion(+), 36 deletions(-) diff --git a/manifest.toml b/manifest.toml index 6819f03..f241a37 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,7 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.2.18" +yunohost = ">= 11.2.29" helpers_version = "2.1" architectures = "all" multi_instance = true diff --git a/scripts/backup b/scripts/backup index a70b435..93e6628 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,5 @@ #!/bin/bash -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers diff --git a/scripts/install b/scripts/install index 7c6d713..ac7bb1d 100755 --- a/scripts/install +++ b/scripts/install @@ -30,16 +30,13 @@ ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= ynh_script_progression "Adding system configurations related to $app..." -# Create a dedicated PHP-FPM config ynh_config_add_phpfpm -# Create a dedicated nginx config ynh_config_add_nginx #================================================= @@ -51,9 +48,6 @@ ynh_script_progression "Updating configuration..." ynh_config_add --template="default.env" --destination="$install_dir/.env" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/.env" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/.env" - #================================================= # BUILD THE APPLICATION #================================================= @@ -68,17 +62,12 @@ pushd "$install_dir" php$php_version artisan cache:clear popd -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 750 "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # ADD A CRON JOB #================================================= ynh_script_progression "Adding a cron job..." ynh_config_add --template="cron" --destination="/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" #================================================= # END OF SCRIPT diff --git a/scripts/remove b/scripts/remove index cc45060..1ef10bf 100755 --- a/scripts/remove +++ b/scripts/remove @@ -11,13 +11,10 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Removing system configurations related to $app..." -# Remove the dedicated nginx config ynh_config_remove_nginx -# Remove the dedicated PHP-FPM config ynh_config_remove_phpfpm -# Remove a cron file ynh_safe_rm "/etc/cron.d/$app" #================================================= diff --git a/scripts/restore b/scripts/restore index 8fe623e..37f11a1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,5 @@ #!/bin/bash -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers @@ -11,8 +10,6 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE #================================================= @@ -23,8 +20,6 @@ ynh_mysql_db_shell < ./db.sql #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= -# RESTORE THE PHP-FPM CONFIGURATION -#================================================= ynh_script_progression "Restoring system configurations related to $app..." ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf" @@ -32,8 +27,6 @@ ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf" ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore "/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" #================================================= # RELOAD NGINX AND PHP-FPM diff --git a/scripts/upgrade b/scripts/upgrade index cc9b118..0bdcc61 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,25 +8,18 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Upgrading source files..." -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env public/storage" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # REAPPLY SYSTEM CONFIGURATIONS #================================================= ynh_script_progression "Upgrading system configurations related to $app..." -# Create a dedicated PHP-FPM config ynh_config_add_phpfpm -# Create a dedicated NGINX config ynh_config_add_nginx ynh_config_add --template="cron" --destination="/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown root: "/etc/cron.d/$app" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 644 "/etc/cron.d/$app" #================================================= # ENSURE BACKWARD COMPATIBILITY @@ -49,9 +42,6 @@ ynh_script_progression "Updating configuration..." ynh_config_add --template="default.env" --destination="$install_dir/.env" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 600 "$install_dir/.env" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app:$app "$install_dir/.env" - #================================================= # UPGRADE DATABASE #================================================= @@ -81,9 +71,6 @@ pushd "$install_dir" #php$php_version artisan cache:clear popd -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 750 "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir" #================================================= # END OF SCRIPT #================================================= From b9ee67c6b88572b8a839cdc9f5630edb8620d29f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:59:23 +0200 Subject: [PATCH 03/24] Update upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 0bdcc61..0f009ac 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,6 +35,10 @@ ynh_app_setting_delete --key=email # also delete unnecessary duplicate of state email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" email="$(ynh_user_get_info --username=$admin --key=mail)" +api_secret="$(ynh_string_random --length=32)" +app_key="$(ynh_string_random --length=32)" +phantomjs_key="$(ynh_string_random --length=32)" + #================================================= # UPDATE A CONFIG FILE #================================================= From 9f3ce495d047612df3238cdbaef421ba822adb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:59:46 +0200 Subject: [PATCH 04/24] Update upgrade --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 4676115..2cc29ae 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,6 +49,10 @@ ynh_app_setting_delete --app=$app --key=email # also delete unnecessary duplicat email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" email="$(ynh_user_get_info --username=$admin --key=mail)" +api_secret="$(ynh_string_random --length=32)" +app_key="$(ynh_string_random --length=32)" +phantomjs_key="$(ynh_string_random --length=32)" + #================================================= # UPDATE A CONFIG FILE #================================================= From 038d520674ce9b5040a65ddca9806903c68a0c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:05:12 +0200 Subject: [PATCH 05/24] cleaning --- manifest.toml | 2 +- scripts/change_url | 2 -- scripts/install | 2 -- scripts/remove | 3 --- scripts/upgrade | 36 ++++++++++++++++++------------------ 5 files changed, 19 insertions(+), 26 deletions(-) diff --git a/manifest.toml b/manifest.toml index f241a37..4b0b613 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,7 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.2.29" +yunohost = ">= 11.2.30" helpers_version = "2.1" architectures = "all" multi_instance = true diff --git a/scripts/change_url b/scripts/change_url index 4c10194..0bce995 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -10,8 +10,6 @@ ynh_script_progression "Updating NGINX web server configuration..." ynh_config_change_url_nginx -#================================================= -# SPECIFIC MODIFICATIONS #================================================= # MODIFY A CONFIG FILE #================================================= diff --git a/scripts/install b/scripts/install index ac7bb1d..9b5e4e6 100755 --- a/scripts/install +++ b/scripts/install @@ -39,8 +39,6 @@ ynh_config_add_phpfpm ynh_config_add_nginx -#================================================= -# SPECIFIC SETUP #================================================= # MODIFY A CONFIG FILE #================================================= diff --git a/scripts/remove b/scripts/remove index 1ef10bf..9d4118b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -5,9 +5,6 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEM CONFIGURATIONS -#================================================= -# REMOVE SYSTEMD SERVICE - #================================================= ynh_script_progression "Removing system configurations related to $app..." diff --git a/scripts/upgrade b/scripts/upgrade index 0f009ac..a58183e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -3,6 +3,24 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# ENSURE BACKWARD COMPATIBILITY +#================================================= +ynh_script_progression "Ensuring backward compatibility..." + +# Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 +ynh_app_setting_delete --key=email_firstname +ynh_app_setting_delete --key=email_lastname +ynh_app_setting_delete --key=email # also delete unnecessary duplicate of state storage + +# Retrieve `$admin` user settings +ynh_app_setting_set_default --key=email_fullname --value="$(ynh_user_get_info --username=$admin --key=fullname)" +ynh_app_setting_set_default --key=email --value="$(ynh_user_get_info --username=$admin --key=mail)" + +ynh_app_setting_set_default --key=api_secret --value="$(ynh_string_random --length=32)" +ynh_app_setting_set_default --key=app_key --value="$(ynh_string_random --length=32)" +ynh_app_setting_set_default --key=phantomjs_key --value="$(ynh_string_random --length=32)" + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -21,24 +39,6 @@ ynh_config_add_nginx ynh_config_add --template="cron" --destination="/etc/cron.d/$app" -#================================================= -# ENSURE BACKWARD COMPATIBILITY -#================================================= -ynh_script_progression "Ensuring backward compatibility..." - -# Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 -ynh_app_setting_delete --key=email_firstname -ynh_app_setting_delete --key=email_lastname -ynh_app_setting_delete --key=email # also delete unnecessary duplicate of state storage - -# Retrieve `$admin` user settings -email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" -email="$(ynh_user_get_info --username=$admin --key=mail)" - -api_secret="$(ynh_string_random --length=32)" -app_key="$(ynh_string_random --length=32)" -phantomjs_key="$(ynh_string_random --length=32)" - #================================================= # UPDATE A CONFIG FILE #================================================= From 1d7d4d0ed3869116c046a31ab33879fd4daa39a8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 5 Oct 2024 03:41:08 +0200 Subject: [PATCH 06/24] Upgrade sources - `main` v5.10.30: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.30 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 698c6fa..43e60b4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.29~ynh1" +version = "5.10.30~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.29/invoiceninja.tar" - sha256 = "76a15b683a401f76583d1ee6f463ae08429757d28ead07571ff6372228f31d23" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.30/invoiceninja.tar" + sha256 = "8b6cb0270d76c326649b45f6c807142682b3deb3277b68fa14227157f46f9625" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From f3423c1f766bec7ebf7f16f0842697a2409bc6d3 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 5 Oct 2024 03:41:09 +0200 Subject: [PATCH 07/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0a0fd19..808f363 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.29~ynh1 +**Shipped version:** 5.10.30~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 25a5723..855b988 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.29~ynh1 +**Versión actual:** 5.10.30~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 8db2393..516df3d 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.29~ynh1 +**Paketatutako bertsioa:** 5.10.30~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index fc967b6..799874f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.29~ynh1 +**Version incluse :** 5.10.30~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 19c680f..f81b6a5 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.29~ynh1 +**Versión proporcionada:** 5.10.30~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 11a89bd..5f28914 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.29~ynh1 +**Versi terkirim:** 5.10.30~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index face1f7..0f509f5 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.29~ynh1 +**Geleverde versie:** 5.10.30~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index a57bd47..1956866 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.29~ynh1 +**Поставляемая версия:** 5.10.30~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index f0e61c0..545b7e3 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.29~ynh1 +**分发版本:** 5.10.30~ynh1 **演示:** From 7d6f93d0a62bd60de2dbe490236b132fc7ff535e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 6 Oct 2024 03:41:47 +0200 Subject: [PATCH 08/24] Upgrade sources - `main` v5.10.31: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.31 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 43e60b4..a63de14 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.30~ynh1" +version = "5.10.31~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.30/invoiceninja.tar" - sha256 = "8b6cb0270d76c326649b45f6c807142682b3deb3277b68fa14227157f46f9625" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.31/invoiceninja.tar" + sha256 = "36ef81aa0725b13a54e76a76e977504c66c63ed60067cd86e3f3c649d873382f" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 9f41984f45d129f6fefd26b504701df745e4c57c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 6 Oct 2024 03:41:48 +0200 Subject: [PATCH 09/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 808f363..d5b23a6 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.30~ynh1 +**Shipped version:** 5.10.31~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 855b988..7e92882 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.30~ynh1 +**Versión actual:** 5.10.31~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 516df3d..afc348a 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.30~ynh1 +**Paketatutako bertsioa:** 5.10.31~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 799874f..1084f60 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.30~ynh1 +**Version incluse :** 5.10.31~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index f81b6a5..5f58be4 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.30~ynh1 +**Versión proporcionada:** 5.10.31~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 5f28914..5ff9d27 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.30~ynh1 +**Versi terkirim:** 5.10.31~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index 0f509f5..b0699be 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.30~ynh1 +**Geleverde versie:** 5.10.31~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index 1956866..90c8294 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.30~ynh1 +**Поставляемая версия:** 5.10.31~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 545b7e3..160152d 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.30~ynh1 +**分发版本:** 5.10.31~ynh1 **演示:** From 1778096a78c6d6522fbb187662b471d2eae6a15a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 8 Oct 2024 03:46:28 +0200 Subject: [PATCH 10/24] Upgrade sources - `main` v5.10.32: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.32 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index a63de14..a210b5e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.31~ynh1" +version = "5.10.32~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.31/invoiceninja.tar" - sha256 = "36ef81aa0725b13a54e76a76e977504c66c63ed60067cd86e3f3c649d873382f" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.32/invoiceninja.tar" + sha256 = "5f3db94ed31f666ba6d4f843be254fcd3b49a764cd3dfabd4b8efb3f325555c3" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From ec86140d4ce504bf030f6028c6472dbaf3a6d41d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 8 Oct 2024 03:46:31 +0200 Subject: [PATCH 11/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d5b23a6..5f83061 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.31~ynh1 +**Shipped version:** 5.10.32~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 7e92882..8deb793 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.31~ynh1 +**Versión actual:** 5.10.32~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index afc348a..6c63411 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.31~ynh1 +**Paketatutako bertsioa:** 5.10.32~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 1084f60..d2639d3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.31~ynh1 +**Version incluse :** 5.10.32~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 5f58be4..39cac2e 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.31~ynh1 +**Versión proporcionada:** 5.10.32~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 5ff9d27..7e38b5a 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.31~ynh1 +**Versi terkirim:** 5.10.32~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index b0699be..d40973a 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.31~ynh1 +**Geleverde versie:** 5.10.32~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index 90c8294..5da7fea 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.31~ynh1 +**Поставляемая версия:** 5.10.32~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 160152d..28a4f5d 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.31~ynh1 +**分发版本:** 5.10.32~ynh1 **演示:** From 9b42bbffa4c19f802d1dba079bf0fca892a29690 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 14 Oct 2024 01:40:45 +0200 Subject: [PATCH 12/24] Upgrade sources - `main` v5.10.36: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.36 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index a210b5e..12ef91b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.32~ynh1" +version = "5.10.36~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.32/invoiceninja.tar" - sha256 = "5f3db94ed31f666ba6d4f843be254fcd3b49a764cd3dfabd4b8efb3f325555c3" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.36/invoiceninja.tar" + sha256 = "410abb25985b79bd752fe2b3ba1fad949e021af90ab37a02357f1c8f5a9c62b3" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From bc29d8074f38504dcbe23d0e2dbb19542219e517 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 14 Oct 2024 01:40:46 +0200 Subject: [PATCH 13/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5f83061..d42b86e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.32~ynh1 +**Shipped version:** 5.10.36~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 8deb793..ccd57a1 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.32~ynh1 +**Versión actual:** 5.10.36~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 6c63411..d810172 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.32~ynh1 +**Paketatutako bertsioa:** 5.10.36~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index d2639d3..3da439a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.32~ynh1 +**Version incluse :** 5.10.36~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 39cac2e..3f175d1 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.32~ynh1 +**Versión proporcionada:** 5.10.36~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 7e38b5a..88fd572 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.32~ynh1 +**Versi terkirim:** 5.10.36~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index d40973a..7d502c0 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.32~ynh1 +**Geleverde versie:** 5.10.36~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index 5da7fea..c20ac7a 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.32~ynh1 +**Поставляемая версия:** 5.10.36~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 28a4f5d..662accd 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.32~ynh1 +**分发版本:** 5.10.36~ynh1 **演示:** From d945c527018bc4c56ba57289e234a66385d9d5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:34:20 +0200 Subject: [PATCH 14/24] cleaning --- scripts/install | 2 +- scripts/upgrade | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 9b5e4e6..2933ad0 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_config_add_nginx #================================================= ynh_script_progression "Updating configuration..." -ynh_config_add --template="default.env" --destination="$install_dir/.env" +#ynh_config_add --template="default.env" --destination="$install_dir/.env" #================================================= # BUILD THE APPLICATION diff --git a/scripts/upgrade b/scripts/upgrade index 16b0a14..a58183e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,10 +39,6 @@ ynh_config_add_nginx ynh_config_add --template="cron" --destination="/etc/cron.d/$app" -api_secret="$(ynh_string_random --length=32)" -app_key="$(ynh_string_random --length=32)" -phantomjs_key="$(ynh_string_random --length=32)" - #================================================= # UPDATE A CONFIG FILE #================================================= From f3b3dd3c463324e88dfde3f37856ef6146b0d47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:34:27 +0200 Subject: [PATCH 15/24] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 2933ad0..9b5e4e6 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_config_add_nginx #================================================= ynh_script_progression "Updating configuration..." -#ynh_config_add --template="default.env" --destination="$install_dir/.env" +ynh_config_add --template="default.env" --destination="$install_dir/.env" #================================================= # BUILD THE APPLICATION From b84beadc9474cca1357fd80d9492700a6fd70c12 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 14 Oct 2024 14:43:18 +0200 Subject: [PATCH 16/24] fix(install): re-add chmod and chown tasks --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 9b5e4e6..9d12244 100755 --- a/scripts/install +++ b/scripts/install @@ -60,6 +60,11 @@ pushd "$install_dir" php$php_version artisan cache:clear popd +# invoiceninja creates some directories that need to be chmod'ed +chmod 750 "$install_dir" +chmod -R o-rwx "$install_dir" +chown -R $app:www-data "$install_dir" + #================================================= # ADD A CRON JOB #================================================= From 9e21a0b8263783370a5deb59df6cce4dc29d0c00 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 19 Oct 2024 01:41:56 +0200 Subject: [PATCH 17/24] Upgrade sources - `main` v5.10.41: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.41 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 12ef91b..cf72147 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.36~ynh1" +version = "5.10.41~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.36/invoiceninja.tar" - sha256 = "410abb25985b79bd752fe2b3ba1fad949e021af90ab37a02357f1c8f5a9c62b3" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.41/invoiceninja.tar" + sha256 = "7960d442fd8b79628621a21a5e24b9e2854ad55c4b215e14ef400a6bdd519d12" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From a5c6e083e73987c9d0d6b14e0f96c955153606d8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 19 Oct 2024 01:41:59 +0200 Subject: [PATCH 18/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d42b86e..ba821db 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.36~ynh1 +**Shipped version:** 5.10.41~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index ccd57a1..6909dac 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.36~ynh1 +**Versión actual:** 5.10.41~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index d810172..6d5619f 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.36~ynh1 +**Paketatutako bertsioa:** 5.10.41~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 3da439a..5c011a3 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.36~ynh1 +**Version incluse :** 5.10.41~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 3f175d1..9642865 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.36~ynh1 +**Versión proporcionada:** 5.10.41~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 88fd572..81d5f2a 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.36~ynh1 +**Versi terkirim:** 5.10.41~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index 7d502c0..0ec9a42 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.36~ynh1 +**Geleverde versie:** 5.10.41~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index c20ac7a..bfdf90f 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.36~ynh1 +**Поставляемая версия:** 5.10.41~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 662accd..8bcd897 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.36~ynh1 +**分发版本:** 5.10.41~ynh1 **演示:** From 1440845bd238433363f19e954da2cb9b72e4b895 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Oct 2024 01:41:22 +0200 Subject: [PATCH 19/24] Upgrade sources - `main` v5.10.43: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.43 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index cf72147..63c276e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.41~ynh1" +version = "5.10.43~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.41/invoiceninja.tar" - sha256 = "7960d442fd8b79628621a21a5e24b9e2854ad55c4b215e14ef400a6bdd519d12" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.43/invoiceninja.tar" + sha256 = "9c53bd9d93b2de014ffa09b62691aac0c5a1310da068bac90a65d48fc455a7a7" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 13f19afd8a0f515e829f243321e7dbcc7103acad Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Oct 2024 01:41:24 +0200 Subject: [PATCH 20/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ba821db..20735d5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.41~ynh1 +**Shipped version:** 5.10.43~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 6909dac..b907b2d 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.41~ynh1 +**Versión actual:** 5.10.43~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 6d5619f..a66b23e 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.41~ynh1 +**Paketatutako bertsioa:** 5.10.43~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 5c011a3..5e12915 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.41~ynh1 +**Version incluse :** 5.10.43~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 9642865..020101d 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.41~ynh1 +**Versión proporcionada:** 5.10.43~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 81d5f2a..5a3a32a 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.41~ynh1 +**Versi terkirim:** 5.10.43~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index 0ec9a42..1b66283 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.41~ynh1 +**Geleverde versie:** 5.10.43~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index bfdf90f..9778d0d 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.41~ynh1 +**Поставляемая версия:** 5.10.43~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 8bcd897..dacfde2 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.41~ynh1 +**分发版本:** 5.10.43~ynh1 **演示:** From abda046ecd24eb665e5a32b632ab2b497bb916b7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 10 Nov 2024 01:38:45 +0100 Subject: [PATCH 21/24] Upgrade sources - `main` v5.10.44: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.44 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 63c276e..c2de8f2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.43~ynh1" +version = "5.10.44~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.43/invoiceninja.tar" - sha256 = "9c53bd9d93b2de014ffa09b62691aac0c5a1310da068bac90a65d48fc455a7a7" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.44/invoiceninja.tar" + sha256 = "18762de69e6d5711c0796e7f2009252941c1ae5ae0fbe618ad2e8d3fdb9dfffd" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 43cfbdf2068d0357ea9456aa50c3c09572dfe074 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 10 Nov 2024 01:38:48 +0100 Subject: [PATCH 22/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 20735d5..1a538d8 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.43~ynh1 +**Shipped version:** 5.10.44~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index b907b2d..aa53f1e 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.43~ynh1 +**Versión actual:** 5.10.44~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index a66b23e..404d40b 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.43~ynh1 +**Paketatutako bertsioa:** 5.10.44~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 5e12915..bcb5f25 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.43~ynh1 +**Version incluse :** 5.10.44~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 020101d..71dc376 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.43~ynh1 +**Versión proporcionada:** 5.10.44~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 5a3a32a..d7e3dee 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.43~ynh1 +**Versi terkirim:** 5.10.44~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index 1b66283..dd3b650 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.43~ynh1 +**Geleverde versie:** 5.10.44~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index 9778d0d..54ab029 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.43~ynh1 +**Поставляемая версия:** 5.10.44~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index dacfde2..7e3f058 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.43~ynh1 +**分发版本:** 5.10.44~ynh1 **演示:** From e1ae713f38852ccda36077657cda753e550212e9 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 11 Nov 2024 01:38:35 +0100 Subject: [PATCH 23/24] Upgrade sources - `main` v5.10.45: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.45 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index c2de8f2..eb11556 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.44~ynh1" +version = "5.10.45~ynh1" maintainers = ["Sebastian Gumprich"] @@ -59,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.44/invoiceninja.tar" - sha256 = "18762de69e6d5711c0796e7f2009252941c1ae5ae0fbe618ad2e8d3fdb9dfffd" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.45/invoiceninja.tar" + sha256 = "3a78af814b6da850173a1e7edf47823a1921e3472d058433e2eb870bf0474baa" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 40ef0918db73afef106532cc11c9a3e017c08857 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 11 Nov 2024 01:38:36 +0100 Subject: [PATCH 24/24] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_nl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1a538d8..0ba4609 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.44~ynh1 +**Shipped version:** 5.10.45~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index aa53f1e..32324f7 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.44~ynh1 +**Versión actual:** 5.10.45~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 404d40b..7b6421e 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.44~ynh1 +**Paketatutako bertsioa:** 5.10.45~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index bcb5f25..3bbabba 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.44~ynh1 +**Version incluse :** 5.10.45~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 71dc376..1e1ed1b 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.44~ynh1 +**Versión proporcionada:** 5.10.45~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index d7e3dee..14c6c11 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.44~ynh1 +**Versi terkirim:** 5.10.45~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index dd3b650..5be0a7b 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.44~ynh1 +**Geleverde versie:** 5.10.45~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index 54ab029..348f6ea 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.44~ynh1 +**Поставляемая версия:** 5.10.45~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 7e3f058..3f46f5f 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.44~ynh1 +**分发版本:** 5.10.45~ynh1 **演示:**