mirror of
https://github.com/YunoHost-Apps/grr_ynh.git
synced 2024-09-03 19:15:56 +02:00
Upgrade to v4.1.1 (#9)
* Upgrade to v4.1.1 * Auto-update README * Update upgrade * Update manifest.toml * Update upgrade * Update manifest.toml * Update upgrade * Update install * Update install * Update upgrade --------- Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
parent
8adadce339
commit
a512bf3787
5 changed files with 21 additions and 20 deletions
|
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
GRR is a resource reservation management system (rooms, equipment, vehicle, staff) but it can also be used as a shared mini-diary. Developed in php and responsive, which allows it to be accessible, from anywhere and on any type of equipment (PC, Mac, tablet, phone, TV...).
|
GRR is a resource reservation management system (rooms, equipment, vehicle, staff) but it can also be used as a shared mini-diary. Developed in php and responsive, which allows it to be accessible, from anywhere and on any type of equipment (PC, Mac, tablet, phone, TV...).
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 3.5.1~ynh1
|
**Shipped version:** 4.1.1~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
GRR est un système de gestion de réservation de ressources (salles, équipements, véhicule, personnels) mais il peut également être utilisé comme mini-agenda partagé. Développé en php et en responsive, ce qui lui permet d'être accessible, de n'importe où et sur tout type d'équipement (PC, Mac, tablette, téléphone, TV...).
|
GRR est un système de gestion de réservation de ressources (salles, équipements, véhicule, personnels) mais il peut également être utilisé comme mini-agenda partagé. Développé en php et en responsive, ce qui lui permet d'être accessible, de n'importe où et sur tout type d'équipement (PC, Mac, tablette, téléphone, TV...).
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 3.5.1~ynh1
|
**Version incluse :** 4.1.1~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Grr"
|
||||||
description.en = "Tool for booking meeting rooms or other resources"
|
description.en = "Tool for booking meeting rooms or other resources"
|
||||||
description.fr = "Outil de réservation de salles de réunion ou d'autres ressources"
|
description.fr = "Outil de réservation de salles de réunion ou d'autres ressources"
|
||||||
|
|
||||||
version = "3.5.1~ynh1"
|
version = "4.1.1~ynh1"
|
||||||
|
|
||||||
maintainers = ["Sébastien Menentrier"]
|
maintainers = ["Sébastien Menentrier"]
|
||||||
|
|
||||||
|
@ -46,8 +46,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/JeromeDevome/GRR/archive/refs/tags/v3.5.1.tar.gz"
|
url = "https://github.com/JeromeDevome/GRR/archive/refs/tags/v4.1.1.tar.gz"
|
||||||
sha256 = "7c0f341e961b61a16905f6d7c2f296e7166313f5a309999a380fbacf26e1d9a6"
|
sha256 = "e6197c33db025510237d6fd5b823dac452c7f5d2a2dc72e548ad840b3b7ba122"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
@ -58,7 +58,7 @@ ram.runtime = "50M"
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "mariadb-server, php8.2-ldap, php8.2-gd, php8.2-mbstring, php8.2-mysqli, php8.2-mysqlnd, php8.2-xml"
|
packages = "mariadb-server, php8.2-ldap, php8.2-gd, php8.2-mbstring, php8.2-mysqli, php8.2-mysqlnd, php8.2-xml, php8.2-intl"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "mysql"
|
type = "mysql"
|
||||||
|
|
|
@ -35,13 +35,13 @@ ynh_add_fpm_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="config_ldap.inc.php" --destination="$install_dir/include/config_ldap.inc.php"
|
ynh_add_config --template="config_ldap.inc.php" --destination="$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
ynh_add_config --template="connect.inc.php" --destination="$install_dir/include/connect.inc.php"
|
ynh_add_config --template="connect.inc.php" --destination="$install_dir/personnalisation/connect.inc.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/include/config_ldap.inc.php"
|
chmod 400 "$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
chmod 400 "$install_dir/include/connect.inc.php"
|
chmod 400 "$install_dir/personnalisation/connect.inc.php"
|
||||||
chown $app:$app "$install_dir/include/config_ldap.inc.php"
|
chown $app:$app "$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
chown $app:$app "$install_dir/include/connect.inc.php"
|
chown $app:$app "$install_dir/personnalisation/connect.inc.php"
|
||||||
|
|
||||||
mysql --default-character-set=latin1 -u $db_user -p${db_pwd} $db_name < $install_dir/installation/tables.my.sql
|
mysql --default-character-set=latin1 -u $db_user -p${db_pwd} $db_name < $install_dir/installation/tables.my.sql
|
||||||
|
|
||||||
|
|
|
@ -46,21 +46,22 @@ ynh_add_fpm_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="config_ldap.inc.php" --destination="$install_dir/include/config_ldap.inc.php"
|
ynh_add_config --template="config_ldap.inc.php" --destination="$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
ynh_add_config --template="connect.inc.php" --destination="$install_dir/include/connect.inc.php"
|
ynh_add_config --template="connect.inc.php" --destination="$install_dir/personnalisation/connect.inc.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/include/config_ldap.inc.php"
|
chmod 400 "$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
chmod 400 "$install_dir/include/connect.inc.php"
|
chmod 400 "$install_dir/personnalisation/connect.inc.php"
|
||||||
chown $app:$app "$install_dir/include/config_ldap.inc.php"
|
chown $app:$app "$install_dir/personnalisation/config_ldap.inc.php"
|
||||||
chown $app:$app "$install_dir/include/connect.inc.php"
|
chown $app:$app "$install_dir/personnalisation/connect.inc.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE DATABASE
|
# UPDATE DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating database..." --weight=1
|
ynh_script_progression --message="Updating database..." --weight=1
|
||||||
|
|
||||||
pushd $install_dir/admin
|
pushd $install_dir/installation
|
||||||
php${phpversion} admin_maj.php ""
|
ynh_write_var_in_file --file="$install_dir/installation/maj.php" --key="majscript" --value=true
|
||||||
|
php${phpversion} maj.php ""
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue