mirror of
https://github.com/YunoHost-Apps/phpldapadmin_ynh.git
synced 2024-09-03 19:56:45 +02:00
Testing (#23)
* Add badges * Upgrade to v.1.2.6.2 * Remove --phpversion * Small fixes * set permissions * Fix linter warnings * Set SVG badge * Fix linter * patch (#11) * Add templates (#13) * Add templates * Update manifest.json * Auto-update README * Update check_process * 1.2.6.3 (#16) * 1.2.6.3 * Upgrade (#18) * Upgrade * Auto-update README * Fix Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Version 2 (#21) * v2 * Auto-update README * v2 * fix * Auto-update README * Create change_url * Update manifest.toml --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * Update config.php.example Close #20 * fix linter * Update manifest.toml * Auto-update README --------- Co-authored-by: Yunohost-Bot <> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
parent
61a9cce7ea
commit
da9f0aebf3
8 changed files with 10 additions and 26 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
phpLDAPadmin is a web app for administering Lightweight Directory Access Protocol (LDAP) servers.
|
||||
|
||||
**Shipped version:** 1.2.6.6~ynh1
|
||||
**Shipped version:** 1.2.6.6~ynh2
|
||||
|
||||
**Demo:** https://olddemo.phpldapadmin.org/
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
phpLDAPadmin is a web app for administering Lightweight Directory Access Protocol (LDAP) servers.
|
||||
|
||||
**Version incluse :** 1.2.6.6~ynh1
|
||||
**Version incluse :** 1.2.6.6~ynh2
|
||||
|
||||
**Démo :** https://olddemo.phpldapadmin.org/
|
||||
|
||||
|
|
|
@ -284,7 +284,7 @@ $servers->newServer('ldap_pla');
|
|||
/* A convenient name that will appear in the tree viewer and throughout
|
||||
phpLDAPadmin to identify this LDAP server to users. */
|
||||
$servers->setValue('server','name','YunoHost OpenLDAP Server');
|
||||
$servers->setValue('login','bind_id','cn=admin,dc=yunohost,dc=org');
|
||||
$servers->setValue('login','bind_id','uid=username,ou=users,dc=yunohost,dc=org');
|
||||
|
||||
/* Examples:
|
||||
'ldap.example.com',
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "phpLDAPadmin"
|
|||
description.en = "Manage OpenLDAP database over the web"
|
||||
description.fr = "Application web de gestion de la base OpenLDAP"
|
||||
|
||||
version = "1.2.6.6~ynh1"
|
||||
version = "1.2.6.6~ynh2"
|
||||
|
||||
maintainers = ["aymhce"]
|
||||
|
||||
|
@ -17,7 +17,7 @@ admindoc = "http://www.phpldapadmin.org"
|
|||
code = "https://github.com/leenooks/phpLDAPadmin"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.16"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
ldap = true
|
||||
|
@ -34,6 +34,10 @@ ram.runtime = "50M"
|
|||
type = "path"
|
||||
default = "/phpldapadmin"
|
||||
|
||||
[install.init_main_permission]
|
||||
type = "group"
|
||||
default = "visitors"
|
||||
|
||||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
|
@ -51,4 +55,4 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages ='php7.4-fpm'
|
||||
packages ='php8.2-fpm'
|
||||
|
|
|
@ -28,11 +28,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
|
|||
# Create a dedicated php-fpm config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
|
|
@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
|
|||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
||||
|
||||
# Remove the dedicated PHP-FPM config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
|
|
|
@ -27,11 +27,6 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
|
|||
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -40,11 +40,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=5
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue