mirror of
https://github.com/YunoHost-Apps/cypht_ynh.git
synced 2024-09-03 18:26:09 +02:00
Merge branch 'master' into auto-helpers-2.1
This commit is contained in:
commit
3312b4d0f5
13 changed files with 15 additions and 25 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*~
|
||||
*.sw[op]
|
||||
.DS_Store
|
|
@ -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:** 2.2.0~ynh1
|
||||
**Shipped version:** 2.3.0~ynh1
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versión actual:** 2.2.0~ynh1
|
||||
**Versión actual:** 2.3.0~ynh1
|
||||
|
||||
## Capturas
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 2.2.0~ynh1
|
||||
**Paketatutako bertsioa:** 2.3.0~ynh1
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
|
|||
|
||||
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 :** 2.2.0~ynh1
|
||||
**Version incluse :** 2.3.0~ynh1
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versión proporcionada:** 2.2.0~ynh1
|
||||
**Versión proporcionada:** 2.3.0~ynh1
|
||||
|
||||
## Capturas de pantalla
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Versi terkirim:** 2.2.0~ynh1
|
||||
**Versi terkirim:** 2.3.0~ynh1
|
||||
|
||||
## Tangkapan Layar
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**Поставляемая версия:** 2.2.0~ynh1
|
||||
**Поставляемая версия:** 2.3.0~ynh1
|
||||
|
||||
## Снимки экрана
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
**分发版本:** 2.2.0~ynh1
|
||||
**分发版本:** 2.3.0~ynh1
|
||||
|
||||
## 截图
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Cypht"
|
|||
description.en = "Lightweight Open Source webmail"
|
||||
description.fr = "Webmail Open Source léger"
|
||||
|
||||
version = "2.2.0~ynh1"
|
||||
version = "2.3.0~ynh1"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
@ -16,7 +16,7 @@ admindoc = "https://cypht.org/install.html"
|
|||
code = "https://github.com/cypht-org/cypht"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.2.18"
|
||||
yunohost = ">= 11.2.29"
|
||||
helpers_version = "2.1"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
|
@ -54,8 +54,8 @@ ram.runtime = "50M"
|
|||
[resources]
|
||||
|
||||
[resources.sources.main]
|
||||
url= "https://github.com/cypht-org/cypht/archive/refs/tags/v2.2.0.tar.gz"
|
||||
sha256 = "7476aeeb55377e67d19aca40f5bc7758646396fcfca252c4631f81b36c717a8f"
|
||||
url= "https://github.com/cypht-org/cypht/archive/refs/tags/v2.3.0.tar.gz"
|
||||
sha256 = "7adae938a3fd5b7b2cfa473baf7855ea9fc8203ca780b14bf3f91eb7887b19e0"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
|
|
@ -8,10 +8,8 @@ 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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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 DATA DIRECTORY
|
||||
#=================================================
|
||||
|
|
|
@ -14,20 +14,15 @@ timezone=$(cat /etc/timezone)
|
|||
#=================================================
|
||||
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"
|
||||
|
||||
#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
|
||||
|
||||
#=================================================
|
||||
|
@ -45,9 +40,6 @@ ynh_script_progression "Adding $app's configuration..."
|
|||
|
||||
ynh_config_add --template=".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 400 "$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"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue