Nicolas Roman
20aeb60cda
using DomainInputFormField for ServerName update field
2019-03-26 15:41:53 +01:00
Nicolas Roman
7e02e50047
update ServerName from web interface
2019-03-26 15:41:53 +01:00
Nicolas Roman
794defa907
retrieve first ServerName and change it with the new one in all the conf file
2019-03-26 15:41:52 +01:00
Nicolas Roman
fdce16652a
allow default value for field
2019-03-26 15:41:52 +01:00
Nicolas Roman
6e8ea737de
replace ServerName inside Rewrite rules
2019-03-26 15:41:52 +01:00
Nicolas Roman
b6fcb25b3b
added servernameupdate function
2019-03-26 15:41:52 +01:00
Ludovic Poujol
15f4918258
Fix a regression itroduced by AlphaNumericalTextInputFormField
2019-03-26 15:31:45 +01:00
Benoît S.
0ae9645f88
Merge branch 'bind-add-use-perl-grep' of evolix/evoadmin-web into master
2019-03-22 09:41:02 +01:00
Ludovic Poujol
34c7c5dc22
Don't compute spaces when quota is disabled
...
Also fix code ident
2019-03-21 17:41:11 +01:00
Benoît S.
9209aae0d1
bind-add-ng: grep -E is not working for tabulations
...
We need to use grep -P, to use pcrepattern(3).
2019-03-21 17:08:54 +01:00
Ludovic Poujol
6b1fa94da9
Ensuring that account name and db name only contain alphanumerical chars (and - _ )
...
With new type of form field : AlphaNumericalTextInputFormField
2019-03-21 16:38:06 +01:00
Ludovic Poujol
a9b130eaca
Compléments README.md
2019-03-21 14:17:00 +01:00
Ludovic Poujol
87c08696e3
web-add.sh: Ensure op_setphpversion even when there tabs or no spaces
2019-03-21 10:59:59 +01:00
Ludovic Poujol
468f929d18
Merge branch 'features/validate-domains' of evolix/evoadmin-web into master
...
closes #24
closes #18
closes #14
2019-03-20 16:40:02 +01:00
Ludovic Poujol
501f6ebbab
Better regex for domain matching
2019-03-19 19:11:58 +01:00
Ludovic Poujol
3469dcfcd5
New class DomainListInputFormField for alias list validation upon account creation
2019-03-19 18:38:17 +01:00
Ludovic Poujol
93aeb193ee
Use DomainInputFormField for alias creation
2019-03-19 18:27:24 +01:00
Ludovic Poujol
1641aee38c
Use our new DomainInputFormField for account creation
2019-03-19 18:14:21 +01:00
Ludovic Poujol
d9dea033a9
New class DomainInputFormField
...
Create a input that validates a domain name.
2019-03-19 18:13:48 +01:00
Ludovic Poujol
7f1af3a8fe
Ensure that dbadmin.sh is executable
2019-03-18 15:35:16 +01:00
Ludovic Poujol
fe8a1400a5
Rendre le lien de modifications des alias plus explicite
2019-03-18 12:00:14 +01:00
Ludovic Poujol
4005c23772
Liste des vhosts: Afficher "Activé/Désactivé" à place de 1/0
2019-03-18 11:58:38 +01:00
Ludovic Poujol
cd9e1af13d
Complément manquant : activation de proxy_fcgi en mode multi-php
...
Voir #46
2019-03-18 11:11:24 +01:00
Tristan
2a183351db
Merge branch 'master' of https://gitea.evolix.org/evolix/evoadmin-web
2019-03-15 16:44:47 +01:00
Ludovic Poujol
52c7cfb888
Support express de containers PHP7.3
...
(pas très joli... oui :/)
2019-03-15 16:44:42 +01:00
Tristan
b296421022
Add PHP7.3 instructions
2019-03-15 16:43:47 +01:00
Ludovic Poujol
614de20c34
Fix deletion using wrong path
2019-03-15 16:42:13 +01:00
Ludovic Poujol
f669c3f793
Remove the width on the login page
2019-03-15 11:55:15 +01:00
Tristan
b1d602234f
Attention l'umask !
2019-03-14 11:24:59 +01:00
Tristan
d9bdfe8ff9
Rajout de la partie concernant le montage de /home
2019-03-14 11:24:12 +01:00
Ludovic Poujol
1ffd61e967
Corrections README.md
2019-03-08 11:45:44 +01:00
Tristan PILAT
2c68341986
Add LXC installation détails part
2019-03-05 11:06:15 +01:00
Victor LABORIE
305c9c0104
Documentation for using multi PHP versions
2019-03-04 15:58:25 +01:00
Ludovic Poujol
249a3ac1e9
Fix: web-add.sh not properly listing vhosts' aliases
2019-02-28 18:01:46 +01:00
Ludovic Poujol
2935b771cb
Fix #19 - Do not enforce md5 for password
2019-02-28 16:19:54 +01:00
Ludovic Poujol
a52846c977
Add a vhost counter
...
Fix #40
2019-02-28 15:45:25 +01:00
Ludovic Poujol
0cb7c54855
Vagrantfile: Add a symlink to /usr/share/scripts/evoadmin, to ensure the latests scripts are used
2019-02-28 15:40:16 +01:00
Ludovic Poujol
3a19d14e3a
Introducing a Vagrantfile for testing \o
2019-02-28 13:55:47 +01:00
Ludovic Poujol
ead51deca6
Honor the request scheme when redirecting the user
2019-02-28 13:53:00 +01:00
Gregory Colpart
2125055409
Fix when multiples SetHandler lines in VHOST file
2019-02-21 02:31:04 +01:00
Victor LABORIE
6ba1fbcb6e
Evoadmin-web is now under AGPLv3 license
2018-12-20 11:47:24 +01:00
Patrick Marchand
ea359880cc
New check-vhosts command for web-add.sh
...
Checks whether the enabled vhosts are all symbolic links, also offers the -f flag to fix any problems automatically.
2018-12-13 23:29:06 +01:00
Patrick Marchand
21f5f011da
Fixed mistake with getopts(1) in web-add.sh
2018-12-13 13:21:13 -05:00
Ludovic Poujol
cc08313e1f
Do not display evoadmin in the ftp account creation form
2018-12-11 16:09:08 +01:00
Ludovic Poujol
8429351213
Do not list evoadmin in the vhost list
...
Fixes #34
2018-12-11 15:30:06 +01:00
Patrick Marchand
c135807010
Changed API for web-add.sh fix-vhosts
...
check-vhosts now only applies changes when it is passed the -f flag,
otherwise it simply lists the suggested fixes.
2018-12-04 11:25:45 -05:00
Patrick Marchand
53335ee4ef
Apply first and third benpro review of web-add fix command
...
Simplify sed(1) command by getting rid of echo(1)
Use a2ensite(1) instead of ln(1) to link vhosts.
2018-11-29 18:42:20 +01:00
Patrick Marchand
5fe9762c53
Inverse userdel(1) calls in scripts/web-add.sh
...
When a user has the same name as his primary group, userdel(1) tries
to remove it as well, but stops and prints an error message if that
group is being used by any other users as their primary group. By
deleting the www user first, the group is properly deleted. This
means we can get rid of the subsequent call to groupdel(1).
Tested by adding / removing a vhost on my testing vm.
2018-11-29 18:35:17 +01:00
Patrick Marchand
547235ea7e
Audited scripts/stats.sh
...
Shellcheck pass and code cleanup.
Set stricter error handling with sh options.
Removes the for loop and cat(1) in favor of directly calling the
file with cut(1) and piping the output to a while read loop. Read
https://github.com/koalaman/shellcheck/wiki/SC2002 for more info.
Adds proper variable globbing.
Removes the large block of commented code, if this turns out to be
necessary, we can add a condition check to the script instead of
uncommenting on a per case basis.
2018-11-29 17:25:13 +01:00
Patrick Marchand
cade94a7bc
Merge of README.md and forge wiki
2018-11-26 17:35:46 +01:00