Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
198dce2
Helpers 2.1
alexAubin Jul 18, 2024
a9efa52
Switch to the '-complete' release archive witch already the vendor/ a…
alexAubin Jul 18, 2024
e7b762d
Fix roundcube calls idk
alexAubin Jul 18, 2024
c6f49a6
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Jul 26, 2024
de452b7
Update manifest.toml
ericgaspar Jul 27, 2024
a90051c
Auto-update READMEs
yunohost-bot Jul 27, 2024
029c9a1
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Aug 31, 2024
1c3e8a6
Auto-update READMEs
yunohost-bot Aug 31, 2024
8f6cb2f
cleaning
ericgaspar Aug 31, 2024
755fe67
Merge branch 'helpers-2.1-reloaded' of https://github.com/YunoHost-Ap…
ericgaspar Aug 31, 2024
d94edb6
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Sep 8, 2024
cb3e01a
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Nov 9, 2024
1f163f5
Update manifest.toml
ericgaspar Feb 16, 2025
bfe363c
Auto-update READMEs
yunohost-bot Feb 16, 2025
3a278d9
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Feb 16, 2025
f4f17e0
Merge branch 'helpers-2.1-reloaded' of https://github.com/YunoHost-Ap…
ericgaspar Feb 16, 2025
bf7d0a5
Update install
ericgaspar Feb 16, 2025
8ba5950
Update install
ericgaspar Feb 16, 2025
5a7ff82
Update nginx.conf
ericgaspar Feb 16, 2025
692f9f0
Update nginx.conf
ericgaspar Feb 16, 2025
b803cab
bump composer
ericgaspar Feb 16, 2025
11db576
cleaning
ericgaspar Sep 11, 2025
4958a41
Auto-update READMEs
yunohost-bot Sep 11, 2025
779d7d9
Update install
ericgaspar Sep 11, 2025
9d28761
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Oct 6, 2025
8bb7a5e
cleaning
ericgaspar Oct 6, 2025
452f5f4
Debug?
alexAubin Dec 22, 2025
f80ebfc
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Dec 22, 2025
35a3e3a
Update manifest.toml
ericgaspar Dec 22, 2025
f9252ec
Update manifest.toml
ericgaspar Dec 22, 2025
6cb2c32
I have no idea what i'm doing
alexAubin Dec 22, 2025
ed1f2ea
Fix composer.json handling in install script
alexAubin Dec 22, 2025
3557d2f
Update manifest.toml
ericgaspar Jan 8, 2026
881923a
cleaning
ericgaspar Jan 8, 2026
41e0c68
Update restore
ericgaspar Jan 8, 2026
6a85b24
Update install
ericgaspar Jan 8, 2026
cfc4b4e
Update install
ericgaspar Jan 8, 2026
35ea181
Update nginx.conf
ericgaspar Jan 8, 2026
fe635b2
Update upgrade
ericgaspar Jan 8, 2026
06eaedd
cleaning
ericgaspar Jan 8, 2026
a5142b5
Update upgrade
ericgaspar Jan 8, 2026
93493bd
Update install
ericgaspar Jan 8, 2026
677ff06
Update upgrade
ericgaspar Jan 8, 2026
4685ca0
Update upgrade
ericgaspar Jan 8, 2026
a6e8d4e
Merge branch 'testing' into helpers-2.1-reloaded
ericgaspar Jan 11, 2026
af58ce0
Update upgrade
ericgaspar Jan 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.swp
*~
*.sw[op]
.DS_Store
5 changes: 0 additions & 5 deletions conf/app.src

This file was deleted.

4 changes: 0 additions & 4 deletions conf/extra_php-fpm.conf

This file was deleted.

8 changes: 4 additions & 4 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ location __PATH__/ {
alias __INSTALL_DIR__/;

index index.php;
client_max_body_size 50M;

client_max_body_size 256M;

try_files $uri $uri/ /index.php?q=$uri&$args;

# pass PHP scripts to FastCGI server
location ~ [^/]\.php(/|$) {
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
include fastcgi_params_with_auth;
}

# show YunoHost panel access
}

# prevent useless logs
Expand Down
30 changes: 0 additions & 30 deletions config_panel.toml

This file was deleted.

8 changes: 7 additions & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ code = "https://github.com/roundcube/roundcubemail"

[integration]
yunohost = ">= 12.1.38"
helpers_version = "2.1"
architectures = "all"
multi_instance = true

Expand Down Expand Up @@ -46,7 +47,7 @@ ram.runtime = "50M"
ask.fr = "Choisissez la langue de l'application"
type = "select"
choices = ["de_DE", "en_GB", "fr_FR", "it_IT"]
default = "en_GB"
default = "fr_FR"

[install.with_carddav]
ask.en = "Install CardDAV synchronization plugin?"
Expand All @@ -64,6 +65,7 @@ ram.runtime = "50M"
[resources.system_user]

[resources.install_dir]
group = "www-data:r-x"

[resources.permissions]
main.url = "/"
Expand All @@ -85,3 +87,7 @@ ram.runtime = "50M"

[resources.database]
type = "mysql"

[resources.composer]
version = "2.9.3"

9 changes: 1 addition & 8 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
#!/bin/bash

#=================================================
# COMMON VARIABLES
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================

# Composer version
YNH_COMPOSER_VERSION=2.5.5

# Plugins version
contextmenu_version=3.3.1
automatic_addressbook_version=v0.4.3
carddav_version=5.1.2

#=================================================
# EXPERIMENTAL HELPERS
#=================================================
29 changes: 8 additions & 21 deletions scripts/backup
Original file line number Diff line number Diff line change
@@ -1,46 +1,33 @@
#!/bin/bash

#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

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"

#=================================================
# BACKUP THE NGINX CONFIGURATION
# SYSTEM CONFIGURATION
#=================================================

ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"

#=================================================
# BACKUP THE PHP-FPM CONFIGURATION
#=================================================
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"

#=================================================
# 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)."
14 changes: 3 additions & 11 deletions scripts/change_url
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
#!/bin/bash

#=================================================
# GENERIC STARTING
#=================================================
# IMPORT GENERIC HELPERS
#=================================================

source _common.sh
source /usr/share/yunohost/helpers

#=================================================
# STANDARD MODIFICATIONS
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=2
ynh_script_progression "Updating NGINX web server configuration..."

ynh_change_url_nginx_config
ynh_config_change_url_nginx

#=================================================
# END OF SCRIPT
#=================================================

ynh_script_progression --message="Change of URL completed for $app" --last
ynh_script_progression "Change of URL completed for $app"
95 changes: 0 additions & 95 deletions scripts/config

This file was deleted.

Loading