Commit graph

273 commits

Author SHA1 Message Date
Mathieu Trossevin 28a16a24cf
Merge remote-tracking branch 'origin/unstable' into bind-add-ng-fix-regex 2023-11-17 15:00:56 +01:00
Mathieu Trossevin 6951d1fd33 Merge branch 'master' into unstable 2023-11-16 11:04:29 +01:00
William Hirigoyen 0dfb19faea Remove undue commit 2023-11-13 14:29:55 +01:00
William Hirigoyen 8e15676d05 Improve op_del improvement 2023-11-10 11:11:52 +01:00
William Hirigoyen f5fe462248 Revert "Fix missing ITK admin link for multi PHP"
This reverts commit 2fd65724f7.
2023-11-10 10:49:29 +01:00
William Hirigoyen 964f710897 Revert "Remove extra }"
This reverts commit c385c102c5.
2023-11-10 10:49:16 +01:00
William Hirigoyen c385c102c5 Remove extra } 2023-11-09 17:21:33 +01:00
William Hirigoyen 2fd65724f7 Fix missing ITK admin link for multi PHP 2023-11-09 17:08:39 +01:00
William Hirigoyen 7d8704cd25 Fix sendmail_path hostname (missing domain / FQDN) 2023-11-09 12:01:14 +01:00
William Hirigoyen 72e39f297e Prevent op_del to fail and able to remove web account when part of it is already removed 2023-11-09 11:31:16 +01:00
William Hirigoyen 2e8619e5e6 Add sendmail_path and open_basedir in LXC PHP pool configs 2023-11-08 12:03:14 +01:00
bwaegeneire e76ea90d89 Merge pull request 'Add support for php8.2' (#81) from unstable into master
Reviewed-on: #81
2023-03-31 13:11:36 +02:00
Brice Waegeneire a7f718c073 Add support for php8.2 2023-03-31 13:07:39 +02:00
Ludovic Poujol f77ce6e590 Release 23.02 2023-02-20 11:52:13 +01:00
Ludovic Poujol d2365e133b Big update of projet reame
Translated to english, changed contribution guidelines (same as ansible-roles)
Removed old TODO/INSTALL file
2023-02-20 11:19:08 +01:00
Ludovic Poujol fbc48755b0 Introducing a changelog (filled with 2023 changes) 2023-02-20 10:44:43 +01:00
Ludovic Poujol 63dfa3af99 web-add.sh > Correct deletion order
Closes #76
2023-02-20 10:34:41 +01:00
Ludovic Poujol 577a4463ad Account deletion > Use mysql "DROP USER"
Instead of messing directly with mysql internal tables
Closes #78
2023-02-15 12:04:59 +01:00
Ludovic Poujol 66c159a625 Display the web-add.sh version 2023-02-15 11:36:25 +01:00
Ludovic Poujol 77f5076c88 Move common.php outside of the DocumentRoot 2023-02-15 11:35:21 +01:00
William Hirigoyen ad68e298dd VérCheck chars [:/] are not in the domain name (in case of confusion with URL) 2022-12-09 15:30:14 +01:00
Ludovic Poujol 68799f7e5f Correction bug suppression compte 2022-11-21 17:25:19 +01:00
Ludovic Poujol ebb4f1c20c ftpadmin.sh - Correction regression listing des comptes introduite par d6c39be117 2022-11-21 17:15:47 +01:00
Ludovic Poujol f65dd98bb1 Web-add.sh: Add a version number (+ command to fetch it) 2022-11-10 15:58:15 +01:00
William Hirigoyen 67d0c45d79 Fix bug introduced in 9913579bb0 (MariaDB does not support backtics in where clause). 2022-11-08 17:30:05 +01:00
William Hirigoyen 9913579bb0 Fix drop database when contains dash 2022-10-31 14:40:19 +01:00
David Prevot e257ee242b web-add generate-ssl-certificate: false option should be documented as is
As fb78d2a9ed, but the other way around: update only the documentation
instead of the code, so that existing use does not change.
2022-07-19 16:39:20 +02:00
David Prevot 2301b0cba5 web-add generate-ssl-certificate: improve FALSE option documentation 2022-07-19 14:24:33 +02:00
David Prevot fb78d2a9ed web-add generate-ssl-certificate: FALSE option should match documented case 2022-07-19 14:18:04 +02:00
Ludovic Poujol 66ceacd918 Make the change on the login mechanism compatible with old configurations 2022-07-07 11:22:47 +02:00
Ludovic Poujol d746aa445e Change in the login mechanism
Now use passwords hashed & salted. Validate with PHP's password_verify() function

Password hashes can be generated with :
* mkpasswd --method=sha-512
* PHP's password_hash()
2022-07-05 11:25:37 +02:00
Ludovic Poujol 143af65357 Hotfix for web interface to behave correctly 2022-07-04 14:34:41 +02:00
Ludovic Poujol 96ffc58cc4 Clear some warnings about undefined vars 2022-07-01 16:13:49 +02:00
William Hirigoyen (Evolix) 93629b51fb Fix bug introduced in f2f115608a (op del fails when user has no crontab) 2022-05-11 14:39:00 +02:00
Brice Waegeneire d63046b227 Add support for php8.1 2022-02-22 15:16:22 +01:00
Ludovic Poujol f2f115608a Dump & remove user crontab on account deletion
closes #37
2022-02-17 11:12:55 +01:00
Ludovic Poujol ef5bbbeba7 Fix behaviour when there is only one php version
closes #74
2022-02-17 10:40:00 +01:00
William Hirigoyen (Evolix) d6c39be117 #62716 : Corrections et améliorations ftpadmin.sh 2021-12-23 15:51:55 +01:00
William Hirigoyen (Evolix) 5cd6a6f046 Test if user www-login exists before deleting (else, the deletion fails) 2021-12-02 10:16:12 +01:00
Brice Waegeneire 0709747a1e web-add.sh script now handles php 8.0 containers 2021-10-05 10:13:12 +02:00
Brice Waegeneire 360929ee96 web-add.sh script now handles php 8.0 containers 2021-10-05 10:06:14 +02:00
Brice Waegeneire e3dc97d6d4 delete users even though it has some processes running 2021-09-22 10:35:10 +02:00
Ludovic Poujol ae30498030 set a uid for the user at login for ftp filtering 2021-04-28 16:21:29 +02:00
Tristan PILAT 372b00101d web-add.sh script now handles php 7.4 containers 2021-04-15 11:11:55 +02:00
Ludovic Poujol 7499f0222e Reorder lines in template fpm config for better readability 2021-02-23 11:07:29 +01:00
Ludovic Poujol 4f8b0b19fe generate longer password by default 2021-02-22 16:22:31 +01:00
Ludovic Poujol 2906ba47f1 Add (random) status path php 2021-02-22 16:12:21 +01:00
Ludovic Poujol e2acb4e9d1 web-add.sh - Add .conf at the config name for a2ensite/a2dissite
Fixes #70
2021-02-10 15:21:04 +01:00
Ludovic Poujol 234ac67634 Fix op_checkoccurencename() in web-add.sh (again)
I had it wrong (again) in 283d0bccad :-(

https://www.youtube.com/watch?v=TMy6X5cQul8
2019-10-14 10:21:05 +02:00
Ludovic Poujol 283d0bccad Fix op_checkoccurencename() in web-add.sh (again)
I had it wrong in 9523fff658 :/
2019-10-02 17:40:01 +02:00