Commit Graph

459 Commits

Author SHA1 Message Date
Kienan Stewart 4ac10979c7 Merge remote-tracking branch 'upstream/master' into pu 2018-07-05 14:44:50 -04:00
Benjamin Sonntag 2ad744ecc7 [fix] replacing /var/run by /run everywhere we can (not everywhere: postfix chroot or old compatibility is maintained 2018-07-04 17:42:42 +02:00
Benjamin Sonntag a1ed5a4ad6 [fix] 3.4.10 and 3.4.11 where NOT executed during upgrades (sort -n :/ ) so we migrate those sql updates to 3.5.0.1.sql 2018-07-04 17:17:22 +02:00
Kienan Stewart 607fbec3cc Merge branch 'master' into pu 2018-07-03 11:09:05 -04:00
Benjamin Sonntag 2695db49a2 [enh] preparing for the future : let's allow us to add \n into DNS entries, preparing for ... IPv6 \o/ 2018-06-25 16:48:12 +02:00
Kienan Stewart 84b8307f3e Merge branch 'master' into pu 2018-06-25 09:57:37 -04:00
Benjamin Sonntag 144ff1e27a [enh] removing latest lintian exceptions, no Error, no Warnings ! 2018-06-24 19:40:22 +02:00
Benjamin Sonntag 7945034004 [fix] name of variable + fix of upgrade script 2018-06-24 19:05:59 +02:00
Benjamin Sonntag 5f27d551d8 [fix] enable ssl module for Apache 2018-06-24 18:17:10 +02:00
Benjamin Sonntag a4c488ae70 [enh] debian compliance work, almost no warning in lintian 2018-06-24 17:18:01 +02:00
Benjamin Sonntag bb3bd0b14c [enh] ssl : reload-certs for sysadmin + misc ssl fixes (including set_variables) 2018-06-24 17:04:55 +02:00
Benjamin Sonntag 178823a9f0 [merge] feature-ssl in master 2018-06-24 16:52:24 +02:00
Benjamin Sonntag 5f72126420 [fix] ftp human name error 2018-06-24 16:50:52 +02:00
Benjamin Sonntag e2237a2ed9 [fix] roundcube to core javascript disable conf apache2 2018-06-24 16:50:08 +02:00
Benjamin Sonntag e83a526c57 [fix] mysql.sql fix : do not create certificates table if already exists 2018-06-24 16:10:08 +02:00
Benjamin Sonntag 6fd89455fb [fix] alternc.install misc fixes: mysql_query heredoc + phpmyadmin test 2018-06-24 16:09:28 +02:00
Benjamin Sonntag 404ba2803b [enh] testing JS packages dependencies instead of including our own copy 2018-06-24 16:09:11 +02:00
Benjamin Sonntag 5a3b9c7a13 [fix] next ssl step: we start to use /etc/ssl/(certs|private)/alternc-<servicename>.(pem|key) as location for system service certificates, also, trying to use PdoException in case of PDO error (better for bug tracking) 2018-06-24 15:43:23 +02:00
cam.lafit 1bc8b59da9 Now apache.pem is always set
* We can configure apache2, postfix, proftpd, dovevot with tls features
by default
2018-06-23 17:01:49 +02:00
cam.lafit ecfa105982 Provide a snakeoil certificate
* By default AlternC will use a snakeoil certificate
* Is set as default as 0 id to failback when no certificate provider can
set a certificate
2018-06-23 11:00:53 +02:00
Benjamin Sonntag 6007a3dea2 adding provider to certificates + fixing cert search function 2018-06-22 22:49:43 +02:00
Kienan Stewart 9f6d2a6173 Merge branch 'master' into pu 2018-06-22 13:20:38 -04:00
azerttyu 29c200da8e [enh] Provide an insertion date
* When a certificate is added , we store his creation date
2018-06-22 18:37:08 +02:00
Benjamin Sonntag 5079aa2e03 [enh] change the name of some variables 2018-06-22 17:37:04 +02:00
azerttyu 2ca592aa8a [enh] Migrate https status on each sub domains
* Rename type vhost
* Clean duplicate vhost
* Apply certificate id on each sub domain
2018-06-22 17:35:51 +02:00
Benjamin Sonntag 09bb693480 [enh] adding HTTP/HTTPS/BOTH UI in the subdomain editor. 2018-06-22 16:31:23 +02:00
alban 7a69abd660 [fix] alternc.install should have a --no-fixperms option + help + usage 2018-06-22 15:04:21 +02:00
Benjamin Sonntag 7ec1d068c8 [enh] ssl start of implementation 2018-06-22 11:24:03 +02:00
Kienan Stewart c83d986c34 Merge branch 'master' into pu 2018-06-21 14:57:20 -04:00
Kienan Stewart ab32ff9497 Merge branch 'stable-3.1' into pu 2018-06-21 14:16:23 -04:00
Benjamin Sonntag 976296c833 removing temporary diffs from squeeze 2018-06-21 18:17:29 +02:00
Benjamin Sonntag f48618d0e5 Merge remote-tracking branch 'origin/pr-235'
Fix #227: Use stronger password hashes #235
2018-06-21 17:44:53 +02:00
Benjamin Sonntag c88db87db3 Merge branch 'stable-3.1' 2018-06-21 17:36:34 +02:00
Benjamin Sonntag f930bde36d adding all patched from squeeze to wheezy then jessie. 2018-06-21 17:29:42 +02:00
cam.lafit c8d94d2a50 SSL massive backport
* Now we integrate all alternc-feature in native alternc
* Files are backported as waiting by alternc
* Some files was renammed or moved to follow alternc installation
process
2018-06-21 17:26:27 +02:00
Kienan Stewart cc184aa148 Merge branch '233-opendkim_broken_following_installation' into pu 2018-06-14 15:00:22 -04:00
Kienan Stewart d7836e3928 Fix sed invocation to it runs in-place 2018-06-14 15:00:09 -04:00
Kienan Stewart a4dcedeb5d Merge branch '233-opendkim_broken_following_installation' into pu 2018-06-14 14:14:44 -04:00
Kienan Stewart e040c3ad6a Generate opendkim configuration in stretch when alternc.install is run
The default configuration in stretch doesn't work very well and
needs a couple of tweaks. This will generate the service files and
make sure opendkim is run as the opendkim user instead of root.

The alternc opendkim.conf template is updated so that the connection
can be made locally through a socket.
2018-06-14 14:12:14 -04:00
Kienan Stewart 3f94e81e44 Merge branch '247_escape-mysql-passwords-at-install' into pu 2018-06-14 13:26:57 -04:00
Kienan Stewart 5a4f924088 Properly escape passwords in template sed script
Previous changes were made to the wrong place
2018-06-14 13:25:57 -04:00
Kienan Stewart e9da389e85 Merge branch '247_escape-mysql-passwords-at-install' into pu 2018-06-13 18:04:25 -04:00
Kienan Stewart 1b08ae2638 use string templating instead of sed for creating/updating mysql configuration during install 2018-06-13 18:02:10 -04:00
Kienan Stewart eca8d7ccdf Escape mysql passwords in alternc install 2018-06-13 18:01:43 -04:00
Kienan Stewart 88f3457191 Use sha512 crypt to store ftp password hashes 2018-04-16 22:46:05 -04:00
Kienan Stewart bbb3e7c0e3 Lengthen member's pass column to 255 characters 2018-04-15 18:25:58 -04:00
Kienan Stewart ebb3471f04 Apply patches for jessie 2018-04-15 11:29:27 -04:00
Kienan Stewart 3ae6c0a5c2 Apply patches for wheezy 2018-04-15 11:26:58 -04:00
Benjamin Sonntag 6d804d1a95 [fix] fixing lastlogin default value for mariadb (which is more strict...) 2018-02-23 16:12:59 +01:00
Benjamin Sonntag f5cb7ad3a6 adding DEFAULT for lastlogin, crashes on MariaDB 2017-12-12 19:50:48 +01:00