Commit Graph

213 Commits

Author SHA1 Message Date
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
Abhilash Raj
d07bdedc12 Upgrade Postorius to 1.1.2 (#209)
* Upgrade Postorius to 1.1.2

* Install django before django-mailman3

* Do not upgrade installed dependencies so that django remains compatible
2017-12-28 16:13:44 -08:00
Abhilash Raj
ba9b7f9d94 Merge pull request #203 from maxking/fix-inspect-docs
Update README.md
2017-11-28 19:54:49 -08:00
Abhilash Raj
33f6a3d0b7 Update README.md 2017-11-27 00:53:20 -08:00
Abhilash Raj
e551701580 Merge pull request #201 from maxking/maxking-patch-1
Update README.md
2017-11-23 13:17:28 -08:00
Abhilash Raj
8699f0db3c Update README.md 2017-11-23 10:22:54 -08:00
Abhilash Raj
735f8746dc Update Core and Postorius to new releases. 2017-11-21 01:27:01 -08:00
Jonas Thiem
d846f1c763 Add code for auto-detecting database class for common cases (issue #137 ) (#150)
* Add code for auto-detecting database class for common cases.

* Fix unintentional space indentation instead of proper tab indentation

* Fix another left-over spaces indentation (sorry)
2017-11-15 19:11:08 -08:00
Abhilash Raj
bb0bf0db9a Add a note in bold that rolling releases can be unstable. 2017-11-12 11:39:03 -08:00
Abhilash Raj
49f802d608 Add documentation for rolling releases. (#191)
* Add documentation for rolling releases.

* Fix the URLs.
2017-11-06 23:38:51 -08:00
dfukagaw28
45a4d7805b Fix comments in web/Dockerfile (#179)
Fixes #177
2017-11-05 22:46:59 -08:00
Abhilash Raj
2bbb3cb322 Setup Quay URL in the environment too. (#190)
Set some default env variables.
2017-11-05 22:35:15 -08:00
Abhilash Raj
beb5ca216e Set Quay as default registry. (#189) 2017-11-05 22:19:58 -08:00
Abhilash Raj
84ae8986b6 Use COMMIT_ID as unique identifier tag. (#188) 2017-11-05 22:07:42 -08:00
Abhilash Raj
7f6d62c069 Push the image that was built without specifying tags. 2017-11-05 21:44:47 -08:00