Commit Graph

45 Commits

Author SHA1 Message Date
Diego Lendoiro 530c93007a fix gpg2 key creation, fix su invocations, removed check_permissions.
Fixes #89
2018-03-28 20:43:05 +02:00
Björn Zettergren 5f83381cd8 Fix bug in how the email 'client' is edited.
We must match the entire row to make sure to search/replace the correct
place when other values collide with the specified default.

In this instance, if EMAIL_AUTH is false, both username and password
gets specified to 'null', which was previously included in seds range
for searching-and-replacing 'null' occurances to EMAIL_CLIENT.
2018-01-15 15:52:14 +01:00
Diego Lendoiro afcade9bac added check for permissions and ownership. Fixes #67 2018-01-14 17:49:17 +01:00
Diego Lendoiro 8c7c5b3ebe Merge branch 'email_client' of git://github.com/bjozet/passbolt_docker into bjozet-email_client 2018-01-14 16:46:59 +01:00
Diego Lendoiro ed65a7306b Merge branch 'mysql-default-port' of git://github.com/astopy/passbolt_docker into astopy-mysql-default-port 2018-01-14 16:32:14 +01:00
Björn Zettergren 12945dad92 Add environment variable to set email client
The 'client' setting control what the Smtp client sends as EHLO/HELO
message to the smtp-server, this change allows the behaviour to be
controlled via environment variable instead of having to mount your
own email.php file.

This change requires that
https://github.com/passbolt/passbolt_api/pull/209 is merged.
2018-01-04 21:47:35 +01:00
Adam McMaster 17cd822b75
Set the default MySQL port to 3306 2017-11-24 15:16:24 +00:00
André Camilo 760322e55f turn URL config independent from SSL var 2017-11-21 15:21:50 +00:00
Diego Lendoiro 2623a3742c Merge branch 'patch-1' of git://github.com/justb81/passbolt_docker into justb81-patch-1 2017-11-14 11:19:36 +01:00
Alexey Zhokhov d8948656a9
Fixed https in App.fullBaseUrl for SSL=false. 2017-10-30 01:34:58 +08:00
Bastian Rang 75b3e41ee8 list EMAIL_AUTH in env vars 2017-09-19 12:06:45 +02:00
Bastian Rang 4128b60169 introduce EMAIL_AUTH=false Environment
- fixes #70
- allows for setting EMAIL_AUTH=false as environment variable to deactivate SMTP-Auth entirely. This is necessary for internal mailservers / mailtraps / smarthosts, that just expose anonymous port 25.
2017-09-19 11:59:53 +02:00
Diego Lendoiro 5f5e97e516 better check of the crontabs and nginx as final command 2017-09-14 16:26:14 +02:00
Diego Lendoiro 6bc808fde0 output supressed 2017-09-14 16:02:20 +02:00
Diego Lendoiro 4555b82bf4 added check to avoid duplicated emails. Fixes #63 2017-09-14 12:11:17 +02:00
Diego Lendoiro bcc9901b86 gets the correct port from database.php. Fixes #43 2017-08-16 17:53:28 +01:00
Diego Lendoiro 765683bf8f Looks for the correct default pattern. fixes #50 2017-08-16 12:50:39 +01:00
Diego Lendoiro 069a0ac200 added support for non standard database ports using DB_PORT 2017-08-16 12:45:57 +01:00
Pierre Gordon 09e972eef9 Update docker-entrypoint.sh
Remove quotes from 'EMAIL_TLS' option
2017-08-14 09:27:16 -05:00
Diego Lendoiro 746c28c84f better defaults for dummy domain example.com -> passbolt.local 2017-07-31 11:51:39 +01:00
Diego Lendoiro b4574ed488 Merge branch 'master' into develop 2017-07-31 11:10:48 +01:00
Robin Parker f33c90b280 make it compliant to ENV-VARS convention
Make it compliant to convention, so that all env-vars should be uppercased.

REQUIRED for use with PLESK Hosting Panel (e.g.).
2017-07-28 01:07:44 +02:00
Diego Lendoiro 1bff5a9675 Merge branch 'develop' of git://github.com/kyoda/passbolt_docker into kyoda-develop 2017-07-26 11:57:30 +01:00
Shigehisa KYODA 263e87f683 added registration env support 2017-07-26 11:52:52 +09:00
Luk Burchard 3201b4eb1e Only check for links and normal files 2017-07-06 22:51:09 +02:00
Luk Burchard e48fc61061 Allow Config files to be symbolic links
The `-f` operator checks if a files exists and i must not be a symlink, however this creates problems when using tool like Kubernetes.
When using the `-e` option it will be checked if the file exist regardless of it's type.
2017-07-06 16:41:05 +02:00
Diego Lendoiro 2f16af99fd Merge pull request #20 from thperret/master
Allow no db environment variable setting
2017-06-29 16:26:25 +02:00
Thomas Perret 48c4f354e0 Fix bad variable name 2017-06-29 16:16:06 +02:00
Diego Lendoiro d046022544 added tls support 2017-06-28 17:04:46 +02:00
Diego Lendoiro 2cd079cd11 variable name corrected 2017-06-28 16:37:21 +02:00
Diego Lendoiro 50b7fa3347 email_transport typo and updated README. Fixes #24 2017-06-28 16:32:50 +02:00
Diego Lendoiro 3fbf44fc0c fullbaseurl configuration param fixed. 2017-06-28 16:30:55 +02:00
Diego Lendoiro b566f4fed4 set the protocol, https unless ssl env var declared false 2017-06-28 16:11:47 +02:00
Diego Lendoiro 7a154fd965 useless local variable 2017-06-28 16:03:18 +02:00
Diego Lendoiro 9d5a39213d remove app baseurl comment 2017-06-24 21:16:41 +02:00
Thomas Perret 3260d431cd Allow no db environment variable setting 2017-06-20 16:26:05 +02:00
Diego Lendoiro 7c8fb476af PASSBOLT-2141 Finished email setup making the EmailQueue.sender to be less verbose. 2017-06-16 14:21:55 +01:00
Diego Lendoiro 6c4ba53053 added cron job function and log email job to stdout 2017-06-16 12:13:17 +01:00
Diego Lendoiro 033665c06d email fixed, missing cronjobs 2017-06-15 18:32:51 +01:00
Diego Lendoiro a618645950 Added check for already existent gpg keys. Fixes #12 2017-06-01 13:16:50 +02:00
Diego Lendoiro 1790c0842e mysql connection chain fixed 2017-05-23 15:54:34 +01:00
Lukas Matt 4fbc1fa9d1
Fix gpg complaining about missing tty device 2017-05-23 09:59:19 +02:00
Lukas Matt addb40ffa1 Fix typos in README and entrypoint script 2017-05-23 09:58:16 +02:00
Diego Lendoiro cd34e738c2 tidy up spaces 2017-05-05 12:31:45 +02:00
Diego Lendoiro 53646b4b01 renaming start script 2017-04-27 10:42:55 +01:00