648 Commits

Author SHA1 Message Date
Abhilash Raj
a74497d21e Pin the version of alembic to 0.9.5 to prevent errors. 2017-10-23 22:04:49 -07:00
Abhilash Raj
ba682509f4 Fix the URLs for development versions of images. 2017-10-09 23:14:22 -07:00
Abhilash Raj
fb60b6ab30 Upgrade HK to 1.1.4 2017-10-09 22:40:24 -07:00
Abhilash Raj
f4a2bbb7e3 Upgrade Mailmanclient to latest 3.1.1 2017-10-08 13:55:05 -07:00
Abhilash Raj
4b61d18909 Add git to the mailman-web build dependencies. 2017-10-07 19:06:37 -07:00
Abhilash Raj
b3b0c3165f Create containers using the master git branches (#153)
Use the master branches from Gitlab to build development container images.
2017-10-07 16:03:50 -07:00
Abhilash Raj
6196c9cce3 Merge pull request #149 from JonasT/mysql-backend-autodetect
Add automatic rewrite of mysql:// database URLs to mysql+pymysql:// URLs.

Since `pymysql` is the recommended way to use MySQL with Core, it makes sense to automatically rewrite the initial part of the `$DATABASE_URL` to `mysql+pymysql` .
2017-10-02 15:56:33 -07:00
Jonas Thiem
8f702ee98e Add automatic rewrite of mysql:// database to add backend 2017-10-02 23:50:30 +02:00
Abhilash Raj
5d3ecffa5a Update the example.com name and domain both.
Fixes #122
2017-10-01 16:04:13 -07:00
Abhilash Raj
aa2b8788a6 Rename an old variable left by mistake. 2017-10-01 16:04:13 -07:00
Abhilash Raj
770bfb7dac Try to auto-detect mailman-core's IP address.
Fixes #133
2017-10-01 02:49:06 -07:00
Abhilash Raj
054fc2545b No need for apk cache for deleting dependencies. (#142)
Fixes #128
2017-10-01 01:54:08 -07:00
Abhilash Raj
eca79c9858 Add allowed hosts using environment vars. 2017-10-01 01:35:52 -07:00
Abhilash Raj
afb8f09eff Fix MySQL compatibility in the docker images. (#140)
* Fix MySQL compatibility in the docker images.

* Test the containers with MySQL containers too!
2017-09-30 20:38:33 -07:00
Abhilash Raj
035e694152 Add docs about admin user password 2017-09-28 13:17:18 -07:00
Abhilash Raj
11c9a4fce6 Update a minor comment in the NEWS. 2017-08-15 03:15:27 -07:00
Abhilash Raj
79f4722878 Document that the static files need to be served using web server
Fixes #58
2017-08-09 17:42:51 -07:00
Abhilash Raj
b477b891b6 Change build script to build latest release versions if not in CI (#115)
Build.sh can build the latest versions of the images using the VERSION file under the two repos (core & web).
2017-08-09 16:34:01 -07:00
Abhilash Raj
71dc87143e Slight changes in release 2017-08-09 16:00:44 -07:00
Abhilash Raj
644cf9dc0d Add news (#112)
* Add NEWS file for updates.

* Add NEWS item about Hyperkitty's new version.
2017-08-09 14:50:58 -07:00
Abhilash Raj
51994c7104 Merge pull request #111 from maxking/bump-hk
Bump hyperkitty to version 1.1.1
2017-08-06 10:23:27 -07:00
Abhilash Raj
3c7881872f Bump hyperkitty to version 1.1.1 2017-08-06 10:05:50 -07:00
Abhilash Raj
393ba44b28 Merge pull request #108 from ishitatsuyuki/searchindex
Change the default search index path for whoosh in Django to persistent path `/opt/mailman-web-data` .
2017-07-29 09:25:07 -07:00
Tatsuyuki Ishi
f940024d17 Fix default search path 2017-07-30 01:13:51 +09:00
Abhilash Raj
28fd29ffcf Merge pull request #104 from ishitatsuyuki/alpine
Several changes:

- Move mailman-web image to python2.7:alpine-3.6 image, which is built on top of apline3.6 and contains the last remaining dependency that wasn't available in 3.5.
- Rename the entrypoint scripts in both core and web to docker-entrypoint.sh, and add them to somewhere on PATH so it is easy to call them in ENTRYPOINT
- Move to `sassc` for django-compressor.
- Set uwsgi uid/gid to string `mailman`
- Use alpine image for postgres database

thanks to @ishitatsuyuki !
2017-07-28 06:39:28 -07:00
Tatsuyuki Ishi
5b20021b91 Rename entrypoint script 2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
a757df8f55 Use sassc for django-compressor 2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
6d79d91142 uWSGI: use string uid/gid 2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
150a514bd4 Use Alpine for postgres 2017-07-28 17:46:45 +09:00
Tatsuyuki Ishi
21ba540e5b Migrate mailman-web to Alpine 2017-07-27 18:10:23 +09: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
2af47047bc Merge pull request #89 from ishitatsuyuki/patch-1
Fix uWSGI cron configuration
2017-07-25 20:51:34 -07:00
Abhilash Raj
68e1808f45 Merge branch 'master' into patch-1 2017-07-24 17:23:11 -07:00
Abhilash Raj
d4f6e39cae Merge pull request #90 from ishitatsuyuki/patch-2
Remove duplicated HYPERKITTY_URL default
2017-07-24 17:22:41 -07:00
Tatsuyuki Ishi
13fac22e20 Add quarter_hourly to cron configuration
It is purely optional as there was no job set to run quarter hourly.
2017-07-25 09:18:53 +09:00
Tatsuyuki Ishi
3525682741 Remove duplicated HYPERKITTY_URL default 2017-07-25 09:10:57 +09:00
Tatsuyuki Ishi
70b81d64b5 Fix uWSGI cron configuration
The missing daily routines are also added.
2017-07-25 09:08:02 +09:00
Abhilash Raj
846aa4064f Remove comments from the configuration examples. (#84)
Mailman seems to not take the hanging comments properly.
2017-07-23 14:14:39 -07:00
Abhilash Raj
a7ab6509f1 Set MM_HOSTNAME to hostname -i. 2017-07-23 13:55:23 -07:00
Abhilash Raj
2126bae2a3 Merge pull request #81 from miiichael/patch-1
Corrections to README.md
2017-07-21 17:41:22 -07:00
Michael
cf00937f96 Corrections to README.md
Spelling corrections and some capitalisation and grammar tweaks.
2017-07-21 15:25:03 +08:00
Abhilash Raj
5fb1a19d18 Add pymysql to the Core container to interact with MySQL db. (#80)
Add pymysql to the Core container to interact with MySQL db.
2017-07-20 15:31:10 -07:00
Abhilash Raj
43731112e7 Remove Facebook from default social auth provider. 2017-07-20 15:15:26 -07:00
Abhilash Raj
84dac7ae42 Database configuration should be set properly when using sqlite. (#78)
This will fix the default settings for sqlite database when running mailman-core image.
2017-07-20 15:01:23 -07:00
Abhilash Raj
fb5b8c8410 Run mailman aliases to generate LMTP files when running Core. (#77)
* Run mailman aliases to generate LMTP files when running Core.

* Change the order of commands in entrypoint.
2017-07-20 12:42:35 -07:00
Abhilash Raj
5db5740a69 Fix the links in the README. 2017-07-20 11:43:34 -07:00
Abhilash Raj
a361b31923 Switch ports for uwsgi and http. 2017-07-18 19:06:41 -07:00
Abhilash Raj
0c281270aa Update documentation to add more details about configuration. 2017-07-18 19:06:41 -07:00