Commit graph

155 commits

Author SHA1 Message Date
Patrick Marchand 1c60ac8ebb Merge branch 'license-readme-conformity' of gitea.evolix.org:evolix/evoadmin-web into license-readme-conformity
Rebase readme changes on master
2019-04-01 21:06:35 +02:00
Patrick Marchand bb6b8d0920 Translate README.md and TODO to english
Also rewrites part of the readme
2019-04-01 21:04:59 +02:00
Ludovic Poujol e0f8d6ade1 Command fixes in README.md 2019-03-29 15:58:28 +01:00
Ludovic Poujol 2aa7a7a565 Only display the PHP version change link on multi-php install
(Also means the ITK setting doesn't matter and should not be displayed)
2019-03-29 15:56:35 +01:00
Ludovic Poujol 1331bb96b4 Fix is_multiphp() always returning false 2019-03-29 15:55:43 +01:00
Ludovic Poujol 93608a4147 Merge branch 'features/servername' of evolix/evoadmin-web into master 2019-03-28 15:23:37 +01:00
Jérémy Lecour 7faf647185 replace chained conditionals by regular if/else + configtest before reload 2019-03-27 15:42:53 +01:00
Ludovic Poujol 128db07700 The php version field should be mandatory 2019-03-27 14:58:56 +01:00
Ludovic Poujol 256baadb85 Add PHP version update interface when running in multiphp mode 2019-03-27 14:08:03 +01:00
Ludovic Poujol 369415b5f5 Ensure SelectFormField behave properly in some edge cases 2019-03-27 14:08:03 +01:00
Nicolas Roman d3e5cc7b4c fix case when using multiple time disable-user-itk and enable-user-itk 2019-03-26 17:46:31 +01:00
Ludovic Poujol 29b92647a7 Refactor the domain and alias checks done at account creation 2019-03-26 16:59:12 +01:00
Ludovic Poujol b3ec773c64 Ensure that check_occurence_name say false if an empty string is given
Also add some comments & fix code indent
2019-03-26 16:37:26 +01:00
Nicolas Roman e15e03c36b enhance enable/disable for itk 2019-03-26 15:42:35 +01:00
Nicolas Roman fc3fe6bd15 cleaning code + add links to navigate to new pages 2019-03-26 15:42:35 +01:00
Nicolas Roman 89858a6bbd first draft itk mgmt 2019-03-26 15:42:35 +01:00
Nicolas Roman 6f0106d4d0 implement check_occurence_name on account creation 2019-03-26 15:41:53 +01:00
Nicolas Roman 0bfe7a2aac update check_occurence_name function to work with multiple aliases 2019-03-26 15:41:53 +01:00
Nicolas Roman 2f25655038 using better var names for check occurence return code 2019-03-26 15:41:53 +01:00
Nicolas Roman cf4d066f0e call function check_occurence for alias and servername 2019-03-26 15:41:53 +01:00
Nicolas Roman 24c4e4236d move the check-occurence logic to a function 2019-03-26 15:41:53 +01:00
Nicolas Roman bbada41dd5 Added check-occurence for alias creation 2019-03-26 15:41:53 +01:00
Nicolas Roman 4153145c5d Added check-occurence for servername update 2019-03-26 15:41:53 +01:00
Nicolas Roman fed8a1fc84 Added function to search occurence of given name in vhosts 2019-03-26 15:41:53 +01:00
Nicolas Roman ce66f0b9b8 enabled field verification for ServerName 2019-03-26 15:41:53 +01:00
Nicolas Roman 28149ed229 change ServerName for a specific vhost 2019-03-26 15:41:53 +01:00
Nicolas Roman 38308afcf7 list servername and relace previous servername with new one 2019-03-26 15:41:53 +01:00
Nicolas Roman d5f4e27840 option for hidden input in DomainInputFormField class 2019-03-26 15:41:53 +01:00
Nicolas Roman f90b127a95 list servername linked to file conf 2019-03-26 15:41:53 +01:00
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