Commit Graph

23 Commits

Author SHA1 Message Date
Raphael
57a2f5456a Fix DJANGO_ALLOWED_HOSTS parsing
Closes #637.
2023-06-26 12:47:10 +02:00
Abhilash Raj
f3b1ac922f nit: Use backticks for variables. 2023-06-19 19:54:13 -07:00
Raphael
0647e9c8eb EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings. 2023-06-19 11:44:43 +02:00
Abhilash Raj
8c0f0f46b4 Clarify that MAILMAN_WEB_SOCIAL_AUTH needs to be set in settings.py 2021-09-17 18:27:15 +00:00
Abhilash Raj
c23c54228a Fix the docs for create super user and add more 2021-09-16 17:46:25 +00:00
Martin
6fb158d062 feat: support smtp via ssl 2021-07-29 18:27:55 +02:00
Danil Smirnov
2e9a101a1b Parametrizing Django diskcache path and size (#474)
* Parametrizing Django diskcache path and size

* Cache directory permissions fix
2021-07-18 10:27:36 -07:00
Gabor Szarnyas
3dd4718770 README fixes (#464)
* Fix typos and use consistent YAML data structures for env

* Add Debug flag and more structure to the README

* Clarify default value of MM_HOSTNAME

* Fix typo

* Fix typos
2021-05-21 13:54:03 -07:00
Abhilash Raj
53b1f1e457 Fix broken links (#457) 2021-04-07 19:36:37 +00:00
Stefan Gangefors
47f70d73bd Easy override for social logins (#446)
Add MAILMAN_WEB_SOCIAL_AUTH for social logins

The `MAILMAN_WEB_SOCIAL_AUTH` list contains a default set of social
login provides. This was previously included in `INSTALLED_APPS`.

Separating it to it's own list makes it easier to disable or otherwise
override which social login providers are enabled without the need to
modify `INSTALLED_APPS`.

Older installations where `INSTALLED_APPS` were overridden continues to
work. The `MAILMAN_WEB_SOCIAL_AUTH` is ignored for those and
`INSTALLED_APPS` is used as is.
2021-03-20 10:28:54 -07:00
pini-gh
c10aa6fce4 Get rid of hard coded IPs (#441)
Replace them with:
* containers' hostnames
* gateway's IP address for default SMTP_HOST
* Core: when SMTP_HOST undef, echo the default value
* docker-compose: add port mapping
* docker-compose: drop network driver conf
* Exim macro: use localhost as LMTP host
* Update README.md
* docker-compose: Limit port mapping to loopback
* Update other docker-compose example files
2021-03-15 10:47:13 -07:00
Joren Vrancken
7f4e725b75 Fix "Core" -> "Web" typo 2019-07-02 17:06:56 +02:00
Simon
439f308bf8 Add documentation for smtp env vars (#326)
* add documentation for smtp env vars

* wrap at 80 lines

* add smtp env vars to web container docs
2019-04-29 14:04:03 -07:00
Abhilash Raj
9f8fd65bb5 Add new settings for Templates. 2018-07-25 23:10:21 -07:00
Abhilash Raj
eca79c9858 Add allowed hosts using environment vars. 2017-10-01 01:35:52 -07:00
Tatsuyuki Ishi
39fd5c6b25 Remove default value of SECRET_KEY in Django's settings.py (#102)
The default value of SECRET_KEY was hard-coded in the settings.py which would turn out to be used all the time even if people are not forced to change it. So this commit removes that value and instead gets the SECRET_KEY from the environment variable.

Closes #99
2017-07-27 01:40:14 -07:00
Abhilash Raj
525604bac4 Recreate default domain and fix #94. (#95)
Provided MAILMAN_DEFAULT_DOMAIN environment variable, rename example.com with
the provided domain name. Fix a bug where if the default username exists carry
on without creating the superuser.

Reuse the SERVE_FROM_DOMAIN instead of new MAILMAN_FROM_DOMAIN variable to set
the default Django SITE.
2017-07-26 04:11:58 -07:00
Abhilash Raj
77b260a2ac Create a superuser if environment variables are defined. (#93)
Create a superuser if environment variables are defined.
2017-07-26 03:23:00 -07:00
Abhilash Raj
78f75eaec4 Add documentation to add a superuser. 2017-05-20 16:33:36 -07:00
Abhilash Raj
8630f39a13 Fix a small typo. 2017-04-21 15:22:23 -07:00
Abhilash Raj
e24bef5d0c MAILMAN_ARCHIVER_FROM should be core's IP not django. 2017-04-10 14:12:07 -07:00
Abhilash Raj
aec4ef4e03 Disable some security options in django settings. 2017-04-07 18:22:43 -07:00
Abhilash Raj
32796a5a18 Add separate Readme for each image. 2017-04-07 15:47:36 -07:00