mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Upgrade
This reverts commit d19b7dd8f9dbdb29316c524a7b2a51f230cc1e99. Upgrade mail patch Update extra_php-fpm.conf Update patches Update main-02-static.patch Update patches Update patches Update patches Update patches Test Update manifest.toml Change order Test one file Test full of hope End lines ? Revert "Update manifest.toml" This reverts commit 210559e451ce8a01f82db555ada2725ce2fd37ff.
This commit is contained in:
parent
3d2740715d
commit
2df206d970
5 changed files with 15 additions and 7 deletions
|
@ -14,4 +14,10 @@
|
|||
; Session lifetime to avoid disconnections on PWA mode
|
||||
php_admin_value[session.gc_maxlifetime] = 2592000
|
||||
php_admin_value[session.cookie_lifetime] = 2592000
|
||||
php_value[session.save_path] = /var/www/__APP__/sessions
|
||||
php_value[session.save_path] = /var/www/__APP__/sessions
|
||||
|
||||
; caching php files
|
||||
php_value[opcache.enable_cli]=1
|
||||
php_value[opcache.max_accelerated_files]=100
|
||||
php_value[opcache.memory_consumption]=32M
|
||||
php_value[opcache.revalidate_freq]=300
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Moncycle"
|
|||
description.en = "Menstrual cycle follow-up for natural family planning"
|
||||
description.fr = "Suivi de cycle pour les méthodes naturelles de régulation de naissance"
|
||||
|
||||
version = "9.0~ynh5"
|
||||
version = "9.0~ynh6"
|
||||
|
||||
maintainers = ["Raoul de Limezy"]
|
||||
|
||||
|
@ -34,8 +34,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/jean-io/moncycle.app/archive/ee19dce2c74ff6e948fae98319cd00eda6ce4117.zip"
|
||||
sha256 = "ef9a61dbbefa1b5c6454d893ac20b2beba773d7298d40ed47ba9c95636c35b3a"
|
||||
url = "https://github.com/jean-io/moncycle.app/archive/2eaf8d5765423276f2f16816fb62218f6b311555.zip"
|
||||
sha256 = "a193698c38d3d22eacbd41f9c8a1c9253748469571711c7781868521bf678da7"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
|
@ -45,7 +45,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql, php8.2-xml, php8.2-mbstring"
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql, php8.2-xml, php8.2-mbstring, php8.2-opcache"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
|
@ -40,6 +40,8 @@ pushd "$install_dir"
|
|||
ynh_exec_warn_less mv ./www_data/* .
|
||||
ynh_exec_warn_less mv /tmp/config.php .
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < db/demo.sql
|
||||
|
||||
ynh_script_progression --message="Checking if a database migration is needed"
|
||||
if ynh_compare_current_package_version --comparison le --version 7.0~ynh5
|
||||
then
|
||||
|
|
|
@ -457,4 +457,4 @@ index 73b2d83..61d675d 100644
|
|||
+ $statement = $db->prepare($sql);
|
||||
$statement->execute();
|
||||
|
||||
return $statement->fetchAll(PDO::FETCH_NUM);
|
||||
return $statement->fetchAll(PDO::FETCH_NUM);
|
|
@ -14,4 +14,4 @@ index 9b58b50..54553cf 100644
|
|||
+ $mail->SMTPSecure = false;
|
||||
$mail->Port = SMTP_PORT;
|
||||
$mail->CharSet = 'UTF-8';
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue