1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cypht_ynh.git synced 2024-09-03 18:26:09 +02:00

Merge pull request #47 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-07-05 19:27:56 +02:00 committed by GitHub
commit 8e429e4ac8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 16 deletions

View file

@ -21,7 +21,7 @@ All your E-mail, from all your accounts, in one place. Cypht is not your father'
Cypht is an application built entirely of plugins, or as we call them, module sets (which is obviously way cooler sounding than plugins), that are executed by the framework. Modules provide a flexible way to add new features or customize the program without hacking the code.
**Shipped version:** 1.3.2023.07.01~ynh6
**Shipped version:** 1.3.2023.07.01~ynh7
## Screenshots

View file

@ -18,7 +18,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Cypht est un client de messagerie web. Vous pouvez accéder à vos comptes de messagerie qui supportent IMAP, POP3 ou SMTP - comme la plupart.
**Version incluse :** 1.3.2023.07.01~ynh6
**Version incluse :** 1.3.2023.07.01~ynh7
## Captures décran

View file

@ -5,7 +5,7 @@ name = "Cypht"
description.en = "Lightweight Open Source webmail"
description.fr = "Webmail Open Source léger"
version = "1.3.2023.07.01~ynh6"
version = "1.3.2023.07.01~ynh7"
maintainers = ["eric_G"]
@ -63,12 +63,13 @@ ram.runtime = "50M"
[resources.install_dir]
[resources.data_dir]
subdirs = ["attachments", "users", "app_data"]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = "mariadb-server php8.0-mbstring php8.0-gnupg php8.0-memcached php8.0-mysql php8.0-gd php8.0-curl php8.0-fileinfo"
packages = "mariadb-server php8.2-mbstring php8.2-gnupg php8.2-memcached php8.2-mysql php8.2-gd php8.2-curl php8.2-fileinfo"
[resources.database]
type = "mysql"

View file

@ -7,7 +7,7 @@
#=================================================
# Composer version
YNH_COMPOSER_VERSION="2.3.5"
YNH_COMPOSER_VERSION="2.5.8"
#=================================================
# PERSONAL HELPERS

View file

@ -61,17 +61,6 @@ ynh_script_progression --message="Installing $app with Composer..." --weight=10
ynh_install_composer --install_args="--ignore-platform-reqs"
#=================================================
# CREATE DATA DIRECTORY
#=================================================
ynh_script_progression --message="Creating a data directory..." --weight=1
mkdir -p $data_dir/{attachments,users,app_data}
chmod 750 "$data_dir"
chmod -R o-rwx "$data_dir"
chown -R $app:www-data "$data_dir"
#=================================================
# ADD A CONFIGURATION
#=================================================
@ -89,6 +78,7 @@ ynh_script_progression --message="Adding an admin..." --weight=3
#Generate the run-time configuration
php$phpversion $install_dir/scripts/config_gen.php
# create an admin account
php$phpversion $install_dir/scripts/create_account.php $admin $password