Commit Graph

38 Commits

Author SHA1 Message Date
Abhilash Raj
fd837d04f1 Make several changes in the release and CI setup. (#509)
* Make several changes in the release and CI setup.

- Remove .travis/ directory completely.
- Update deploy.py script to tag with major.minor version
  and remove the v in the tag which it didn't before.
- Fix the CircleCI cron setup.

* Update config.yml

* Use buildkit if possible.

* Use machine executor which supports buildkit.

* Remove setup docker step

* Use newer image.

* Use buildkit syntax for caching pip dependencies.

This should significantly speed up the build process by not having
to build python wheels multiple times.

* Use plain output from buildkit

* Make deploy script work with Python 2.7

Also cache python deps across builds.

* Fix more python3 things

* Install dependency in python3
2021-09-17 11:10:27 -07:00
Abhilash Raj
89eef41cb3 Bump versions (#504)
* Bump Postorius 1.3.5

* Also bump django-mailman3 and mailmanclient

* Pin psycopg2 in Postorius
2021-09-05 12:48:09 -07:00
Abhilash Raj
66dc40f9ae Merge pull request #479 from binarious/feat/email-ssl
feat: support smtp via ssl
2021-08-25 04:31:49 -07:00
Abhilash Raj
b09ac1a449 Bump Django to 3.1.x since 3.0 is now EOL'd. (#477) 2021-08-24 23:33:10 -07:00
Danil Smirnov
793ee37f2e Postorius rolling image fix 2021-08-09 09:03:05 +00: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
Abhilash Raj
17b041c926 Install cargo and rust in rolling images too (#434) 2021-02-25 06:19:55 +00:00
Danil Smirnov
297bf35b1b Upgrade Mailman 3 versions (#433)
* Upgrading Mailman 3 versions

* Fixing dependencies
2021-02-24 21:36:59 -08: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
42d27a9074 Updating Postorius image 2020-08-24 16:09:45 +00:00
Abhilash Raj
e76bb3a1ff Bump to use Alpine 3.12 since 3.8 is now EOL. (#390)
* Bump to use Alpine 3.12 since 3.8 is now EOL.

* Manually install pip in all images.

* Rename all py- modules to py3- modules.

* Replace mysqldb with mysqlclient library for Mysql support in web.
2020-08-04 00:16:42 -07:00
Abhilash Raj
07a7c1ce68 Bump Mailmanclient and upgrade setuptools and wheel in images. (#389)
* Bump Mailmanclient.
* Add linux-headers package for psutils.
* Update setuptools and wheel everywhere.
* Use Postorius 1.3.3 in Postorius image.
2020-08-02 12:42:36 -07:00
Abhilash Raj
637c353dfc Update Postorius, Hyperkitty and django-mailman3. (#365)
* Update Postorius, Hyperkitty and django-mailman3.

Also, entrypoint script should compile i18n messages.

* Add git to postorius image.

* Also compile i18n messages in Postorius.

* Add GNU Gettext to the images.

* Do not compilemessages.

* Do not compilemessages.
2020-02-09 11:20:51 -08:00
Danil Smirnov
81f3eeb578 Postorius fix for Dockerfile.dev (#361)
* Updating Dockerfiles

* Whitespaces fix
2020-01-10 09:14:41 -08: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
Abhilash Raj
1c08a20f2b Use latest Django 2.2 release. (#356) 2019-12-18 22:52:37 -08:00
Abhilash Raj
6dc9598ee4 Bump versions. (#355) 2019-12-13 10:02:16 -08:00
Abhilash Raj
7965824453 Bump to latest 0.3.0 release. (#347) 2019-10-13 20:13:23 -07:00
Joren Vrancken
5251eff047 Make MAILMAN_ARCHIVER_FROM a tuple (#336) 2019-07-28 12:07:59 -07:00
Abhilash Raj
f657c9a572 Bump Postorius and Mailanclient. 2019-04-13 21:56:41 -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
89d9a0f626 Pin Django to 2.1.5 2019-02-24 22:31:50 -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
69eeccc9a2 Add a Dockerfile.dev to create build container. (#253) 2018-06-22 18:38:55 -07: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
7ec61d6f45 Update minimum version of django-mailman3 (#240)
* Use the latest django-mailman3 that supports Python 3.
2018-05-16 19:17:07 -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