26 Commits

Author SHA1 Message Date
am97
3cf6e5d18d Avoid Django 3.2+ warning (#686) 2024-02-25 11:10:38 +05:30
Jonathan Rietveld
06e0ed0f00 fix: Typos in comments (#680) 2024-01-06 07:26:56 +05:30
Abhilash Raj
2708b63fbd fix: Add humaize for django-allauth 2023-12-30 04:11:32 +00:00
Thomas Makin
e00436fbd6 postorius: fix urls for newer django
`path()` no longer accepts regex paths; you must instead import and use
`re_path()`.
2023-12-19 19:26:56 -05:00
Abhilash Raj
022cb48778 Fix: Add support for new version of django-allauth (#655)
* Fix: Add support for new version of django-allauth

* Use full path for manage.py script
2023-10-02 08:58:36 -07:00
Raphael
57a2f5456a Fix DJANGO_ALLOWED_HOSTS parsing
Closes #637.
2023-06-26 12:47:10 +02:00
Abhilash Raj
208017f9a0 Test dependabot for Dockerfiles & Bump Postgres to 11 (#557)
* Test dependabot for Dockerfiles.

* Also for github actions

* Update dependabot.yml

* Fix urls.py for new versions of Django

* Fix urls.py for postorius.

* Bump dependency on Postgresql.

* Bump dependency on Django

* Add dependency on tzdata.
2022-10-25 23:25:57 -07:00
Martin
6fb158d062 feat: support smtp via ssl 2021-07-29 18:27:55 +02:00
Danil Smirnov
7881025fd5 uwsgi configuration update 2021-05-30 17:24:47 +00:00
Danil Smirnov
6a0644e2d4 Fixing Postorius configs (#455) 2021-04-01 08:41:05 -07: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
Danil Smirnov
aecc40870e Clean-up 2021-02-28 20:21:37 +02:00
Danil Smirnov
7a7b86d0a4 Clean-up 2021-02-28 20:15:36 +02:00
Danil Smirnov
18bb115947 Fixes for Postorius-only deployment 2021-02-28 13:28:04 +02:00
Teemu Heinämäki
e1f0f53944 Fix typo in uwsgi.ini
The option that controls the amount of workers in uwsgi is processes not process.
Now the container spawns four processes instead of one.

Fixes maxking/docker-mailman#368
2021-01-29 17:37:14 +02:00
Danil Smirnov
5ec6bd054f Fixing Postorius only container image (#360)
* Fixing Postorius
* Getting rid of django_compressor from STATICFILES_FINDERS
2020-01-08 11:13:02 -08:00
Joren Vrancken
5251eff047 Make MAILMAN_ARCHIVER_FROM a tuple (#336) 2019-07-28 12:07:59 -07:00
Abhilash Raj
423d9cbf03 Add libffi to all Postorius images. (#320)
* Add libffi to all Postorius images.

* Use Django less than a certain version.

* Fix the version constraint.

* Fix uwsgi configuration by using only processes.
2019-04-13 21:04:42 -07:00
Abhilash Raj
86cf2ec260 Merge branch 'master' into master 2019-02-28 22:26:55 -08:00
Danil Smirnov
d52827b1e7 The SessionAuthenticationMiddleware class is removed from Django 2.0 2019-03-01 08:15:28 +02:00
Abhilash Raj
fa48d9792c Remove hyperkitty related jobs in uwsgi config. 2019-02-28 17:49:00 -08:00
Abhilash Raj
a053f570de Bump versions of Postorius to latest and fix urls.py 2019-02-17 17:57:44 -08:00
Abhilash Raj
bbb3030359 Postorius (#241)
* Remove the secret key.

* Use the latest tag for postorius.

* Use the latest django-mailman3 that supports Python 3.

* Use minimum version on Django-mailman3.

* Fix import errors.
2018-05-16 19:52:41 -07:00
Abhilash Raj
cc50b2c118 Remove secret key and upate the tag for postorius' image (#239)
* Remove the secret key.

* Use the latest tag for postorius.
2018-05-16 18:15:34 -07:00
Abhilash Raj
481d98b1f6 Add a postorius only container image. (#238) 2018-05-16 18:03:04 -07:00