Commit Graph

227 Commits

Author SHA1 Message Date
Patrick Georgi
561abf6fee Use standard alpine image as base for mailman-web
This way we can depend on alpine's python3 package which is binary
compatible with the rest of the python packages in the distribution.

This requires spelling out python3 explicitly in several places since
alpine still defaults to python 2 for /usr/bin/python.
2019-01-17 00:20:26 +01:00
Abhilash Raj
906dde757d Bump versions of MailmanClient and Django. 2019-01-15 09:05:58 -08:00
Abhilash Raj
7d41168e18 Add MTA settings for Django.
MTA settings are needed for Django, in addition to Mailman Core.
2018-12-21 09:02:44 -08:00
Abhilash Raj
62e4549ea5 Make it clear that settings.py is settings_local.py in this docs. 2018-12-20 22:36:23 -08:00
Abhilash Raj
309ff3908a Add a subheading for uwsgi 2018-12-19 11:12:31 -08:00
Abhilash Raj
93bc46f80e Upgrade P and HK versions to make the builds pass. 2018-09-02 13:07:22 -07:00
Abhilash Raj
631217173a Add python deployment script. 2018-09-02 13:07:22 -07:00
Tom Browder
b3c4442c16 grammar, spelling, and punctuation tweaks (#266) 2018-07-30 01:50:36 -07:00
Abhilash Raj
274965cced Update stable containers to 3.2 suite release. 2018-07-26 20:53:07 -07:00
Abhilash Raj
0eda00bc41 Add TOC
Add table of contents.
2018-07-26 18:22:07 -07:00
Abhilash Raj
0f9693af82 Do not print out information. (#262) 2018-07-25 23:30:34 -07:00
Abhilash Raj
9f8fd65bb5 Add new settings for Templates. 2018-07-25 23:10:21 -07:00
Abhilash Raj
7ce2c3f14d Fix the tests. 2018-07-25 23:10:21 -07:00
Abhilash Raj
aec49d8bda Use rolling releases. 2018-07-25 23:10:21 -07:00
Abhilash Raj
ceeb7f804e Fix the deploy script. 2018-07-25 23:10:21 -07:00
Abhilash Raj
0bbd4aadc7 We don't need tags when building. 2018-07-05 14:45:42 -07:00
Abhilash Raj
bbcce81bc9 Merge pull request #257 from maxking/fix-tests
Use Python 3.6 instead of 3.7 (which :3 tag points to).
2018-07-05 13:55:46 -07:00
Abhilash Raj
aa60dc0b62 Use Python 3.6 instead of 3.7 (which :3 tag points to). 2018-07-05 11:09:46 -07:00
Abhilash Raj
f11d397ab1 Merge pull request #256 from aiomaster/master
fix mailman.cfg issue
2018-07-05 10:42:59 -07:00
Christoph Wagner
770267b417 set TAG in build only if not set before 2018-07-04 21:21:25 +02:00
Christoph Wagner
6d1ea69bb1 fix container build by adding libffi-dev 2018-07-04 20:25:53 +02:00
Christoph Wagner
bf6689a45e fix mailman.cfg issue
We have to append ">>" to /etc/mailman.cfg and not to overwrite previously written content with ">".
Problem was that the database config made in setup_database was overriden.
2018-07-04 20:18:55 +02:00
Abhilash Raj
d9c5d6ef95 Quote the variables. (#255)
* Quote the variables.

* test using images without repo url.
2018-07-03 21:27:30 -07:00
Abhilash Raj
7500c64167 Fix deploy script. (#254) 2018-06-22 19:01:52 -07:00
Abhilash Raj
69eeccc9a2 Add a Dockerfile.dev to create build container. (#253) 2018-06-22 18:38:55 -07:00
Abhilash Raj
32b766b286 Add badge for CircleCI (#252) 2018-06-22 18:01:59 -07:00
Abhilash Raj
3b71d5e1dd Add support to build and deploy postorius containers. (#251)
* Add support to build and deploy postorius containers.

- Also, simplify the deployment script.

* Use curly braces instead of round.
2018-06-22 17:32:23 -07:00
richardbrinkman
ccf690b0a0 Fix #210: introduce MTA variable (#237)
* Fix #210: introduce MTA variable

* Fix: typo

* Fix: postfix configuration

* Del: temporary files
2018-06-19 09:09:00 -07:00
Abhilash Raj
e18010af14 Fix the location of transport and router configs (#250)
Change the expected location of router and transport configs to setup exim.
2018-06-18 10:37:56 -07:00
Abhilash Raj
3f9a89a8b2 Fix test (#249)
* SessionAuthenticationMiddlware should be removed now.

* Force installation of Django-mailman3 from Git for rolling builds.
2018-06-07 19:48:01 -07:00
Abhilash Raj
84835e097d Merge pull request #245 from adhodgson1/exim_fixes
Update Exim config file examples
2018-06-05 22:02:55 -07:00
Abhilash Raj
e771b170dc Merge branch 'master' into exim_fixes 2018-06-05 21:02:29 -07:00
Abhilash Raj
bb5ef86c81 Merge pull request #246 from funkypenguin/patch-1
Update README.md
2018-06-05 21:00:31 -07:00
David Young
cf4d9c6341 Update README.md
Minor typo fixed ;)
2018-06-06 15:08:24 +12:00
Andrew Hodgson
5b07e9278a Update Exim config file examples 2018-06-05 14:26:05 +01:00
Abhilash Raj
536b999161 Fix the admin url configuration. 2018-05-30 21:01:43 -07:00
Abhilash Raj
512f29f0ba Bump Django dependency to the latest available (#243)
* Bump Django dependency to the latest available

Fixes #242

* Use the new django.urls API
2018-05-28 15:50:27 -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
Abhilash Raj
6af3c86832 Update README.md 2018-04-22 22:51:36 -07:00
Abhilash Raj
186bdcef8a Do not try to get the Core's IP automatically
Without a try-except block, trying to get the IP of `mailman-core` fails when mailman-web is made to run standalone.
2018-03-15 15:30:04 -07:00
skoranda
5a8e7f02fc Inject REST port, user, password from environment (#220)
Enable the port, user, and password used by Core for the REST API to be
injected using environment variables.
2018-03-09 23:24:20 -08:00
Abhilash Raj
d26c402617 Fix CI system to work on both Python 2 and 3 (#225)
* Use old style middleware settings for Python 2.

* Make entrypoint python2 and 3 compatible.

* Fix python command to test for mysql server.

* Bettery docker-entrypoint to work with Python 2 & 3

* Add missing braces.
2018-03-09 23:13:57 -08:00
Abhilash Raj
14d8e8071c Rename workflows to better names. (#222) 2018-03-08 23:50:05 -08:00
Abhilash Raj
74847e1f93 Install typing as it is required with django-extensions but not installed automatically 2018-03-08 22:42:57 -08:00
Abhilash Raj
42b79f5b48 Add mailcap to Dockerfile.dev too 2018-03-07 23:53:58 -08:00
Florian Eßer
a35a0be1d2 Fix missing MIME types for static files
When running the mailman-web container with `UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static` (as suggested in https://github.com/maxking/docker-mailman#serving-static-files), the Browser receives the CSS files, but refuses to render them because of wrong MIME type (`text/plain`). Also, in the docker logs, a warning shows up that `/etc/mime.types` was not found.

According to the [Alpine package index](https://pkgs.alpinelinux.org/contents?branch=edge&name=mailcap&arch=armhf&repo=main), this file is part of the `mailcap` package. Installing it in the container makes Postorius stop looking ugly again!
2018-03-07 23:53:58 -08:00
Abhilash Raj
bfefd9fbc3 Update mailman-web to use Python 3 (For rolling releases) (#217)
* Update mailman-web to use Python 3

* Update configuration

* Python 3.6 image.

* Use alpine 3.7

* Use new style middleware

* Use alpine 3.6

* In Python 3, urlparse was renamed to urllib.parse
2018-03-07 23:22:47 -08:00