Commit graph

63 commits

Author SHA1 Message Date
Gregory Colpart 308619b694 Fix bug when updating aliases :
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
- array index for LDAP need to be in lowercase
- we need also array_filter() for mailacceptinggeneralid... especially to avoid null values
- array numeric indexes for LDAP attributes need to be consecutive, then we need order with array_values()
2019-09-10 23:11:23 +02:00
Victor LABORIE 3495fbb96f Quota path is now configurable
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2019-03-28 15:35:34 +01:00
Victor LABORIE bbd55a2e67 Fix Twig loading on PHP 5.6 2019-03-28 14:13:48 +01:00
Victor LABORIE f1bee0b9e3 Mailaccept need mail address (add domain) 2019-01-10 14:37:50 +01:00
Victor LABORIE fdfd41c754 Change default uid number 2019-01-10 12:00:01 +01:00
Victor LABORIE 6705fba644 Add missing support of alias/redirection edit in account update 2019-01-09 17:09:25 +01:00
Victor LABORIE 5844e0ef54 Config file location can be configured by ENV var 2018-12-05 11:25:57 +01:00
Victor LABORIE a9cdb71630 Add support for quota information 2018-11-12 13:52:52 +01:00
Victor LABORIE bc29c91ca9 Merge DefaultController into index.php 2018-10-09 14:31:34 +02:00
Victor LABORIE 24fabced51 Use a Config class for parse config file 2018-10-09 14:14:58 +02:00
Victor LABORIE d860c69d27 Init Form/Page Controller in DefaultController 2018-10-09 13:29:51 +02:00
Victor LABORIE 1f32dd2bfe Method needSuperAdmin is now a PageController method 2018-09-27 13:34:55 +02:00
Victor LABORIE 39a3f7faec Start SESSION in DefaultController 2018-09-25 16:34:55 +02:00
Victor LABORIE b4cb5772ac Rename class 2018-09-25 16:31:18 +02:00
Victor LABORIE 75595ed201 Merge all pages in index.php with Controller class 2018-09-25 16:26:51 +02:00
Victor LABORIE 833fe2bcda Use Twig for page templating 2018-09-19 14:50:12 +02:00
Victor LABORIE 263f72a48a Revert "Move css and img to assets dir and set an expires policy"
This reverts commit 5a910ad63a.
2018-09-17 17:55:08 +02:00
Victor LABORIE 5f2a2d4878 Add missing webmail activation/deactivation config 2018-07-25 19:24:15 +02:00
Victor LABORIE 862719006a Use syslog for logging 2018-07-25 19:05:53 +02:00
Victor LABORIE 20e32c4149 Add a MailNotify class with usage of Twig 2018-03-09 13:40:53 +01:00
Victor LABORIE 5a910ad63a Move css and img to assets dir and set an expires policy 2018-01-27 23:30:25 +01:00
Victor LABORIE 00e866af57 Add loglevel and user (or IP) to logging file 2018-01-27 20:10:48 +01:00
Victor LABORIE 8a556a0f02 Add some logs to basic servers operations 2018-01-27 19:50:12 +01:00
Victor LABORIE 769f5b0d82 Add a Logger class 2018-01-27 19:50:07 +01:00
Victor LABORIE d7e7a368b1 Refactoring of configuration loading
Use one INI file instead of multiple PHP files
2018-01-27 18:12:04 +01:00
Victor LABORIE b4555a166b Remove useless functions.php, common.php and vendor/evolibs 2018-01-12 00:38:49 +01:00
Victor LABORIE 791d0169ac Fix account creation (send mail) and disable domainnotify (temporary) 2017-12-17 21:59:43 +01:00
Victor LABORIE b5254b8c5f Remove call to Html class 2017-12-17 21:44:10 +01:00
Victor LABORIE 116cf60655 Replace getgid and getfreegid by class method 2017-12-17 21:24:17 +01:00
Victor LABORIE c335ab2f27 Add hashPassword method for password verification and hashing 2017-12-17 19:53:53 +01:00
Victor LABORIE a6857a5759 Fix missing var in account update 2017-12-17 19:44:53 +01:00
Victor LABORIE 261a90e998 Use getQuota method for retrieve account quota 2017-12-17 19:29:22 +01:00
Victor LABORIE b0409f8a55 Limit baseDN for no superadmin user 2017-12-17 19:06:28 +01:00
Victor LABORIE e99c3f2b78 Use exception for user login 2017-12-17 18:22:49 +01:00
Victor LABORIE 0b7b63dd35 Retrieve dn with getBaseDN static method 2017-12-17 18:09:54 +01:00
Victor LABORIE a03f372c72 Use class static var for define ObjectClass 2017-12-17 16:01:03 +01:00
Victor LABORIE 64bc03f33e Fix alias deletion 2017-12-17 15:19:56 +01:00
Victor LABORIE 76a18d5bc4 Fix alias update 2017-12-17 15:14:35 +01:00
Victor LABORIE 4c0c75d6ed Add LdapAlias class and use it for list alias 2017-12-17 15:02:34 +01:00
Victor LABORIE 2b0a51d115 Get aliases and redirections for accounts 2017-12-17 02:11:19 +01:00
Victor LABORIE 8565a9b8a0 Fix domains listing for no superadmin user 2017-12-16 17:57:59 +01:00
Victor LABORIE 47b616ee8a Add method for enable/disable a domain 2017-12-16 17:42:35 +01:00
Victor LABORIE d3d71d7179 Fix variable name 2017-12-15 23:55:06 +01:00
Victor LABORIE 7856198ba8 Add update method to LdapAccount class 2017-12-15 23:47:18 +01:00
Victor LABORIE bb37f0010b Set account var if GET['account'] 2017-12-15 22:56:50 +01:00
Victor LABORIE 5ca91fe7ae Add basic params to LdapAccount 2017-12-15 22:55:51 +01:00
Victor LABORIE 531e08c14d Use ldapdomain class for account adding and deleting 2017-12-15 20:50:58 +01:00
Victor LABORIE 75eedd7645 Add LdapAccount class and use it for list accounts 2017-12-15 20:25:29 +01:00
Victor LABORIE c6683eabc6 List active/inactive domain on superadmin.php 2017-12-15 15:38:41 +01:00
Victor LABORIE 40deaef708 Fix setting of active domain on create 2017-12-15 15:36:22 +01:00