Commit Graph

135 Commits

Author SHA1 Message Date
Abhilash Raj
22b3b7d402 Hyperkitty needs mistune 2.0.0rc1 2022-06-19 03:56:39 +00:00
Abhilash Raj
c69b5c5d42 Fix some missed our references 2022-04-14 07:40:05 +00:00
Abhilash Raj
941b7f0411 Remove the get_latest_ref script and use the primary branch.
We previously used the get_latest_ref.py script to fetch the
latest commit sha for each project that passed CI correctly. Although,
that has some challenges due to requiring Gitlab Auth token. It causes
issues with building PRs and we don't want to share the Gitlab token
with PR authors.

Instead, this commit removes the code and sha references and Instead
simply uses the primary master branch from each project to build the
rolling release container image.
2022-04-14 07:24:10 +00:00
Abhilash Raj
c5d4fa2f57 Merge branch 'main' into mysql_port 2022-04-14 00:10:10 -07:00
Pierre-Gildas MILLON
37db88f1b2 Update web & postorius images with similar changes as core 2022-01-02 10:30:42 +01:00
Pierre-Gildas MILLON
3fbb7e641c Update web & postorius images with similar changes as core 2022-01-02 10:26:20 +01:00
Abhilash Raj
420d47e88e Bump Hyperkitty to 1.3.5 release (#524)
* Bump Hyperkitty to 1.3.5 release

* Disable docker layer caching
2021-10-28 15:47:38 -07:00
Abhilash Raj
d63b3ce8bd Bump versions (#518) 2021-09-28 20:35:17 -07:00
Abhilash Raj
8c0f0f46b4 Clarify that MAILMAN_WEB_SOCIAL_AUTH needs to be set in settings.py 2021-09-17 18:27:15 +00:00
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
8753c02ba7 Merge pull request #508 from maxking/fix-docs
Fix the docs for create super user and add more
2021-09-16 11:28:13 -07:00
Abhilash Raj
c23c54228a Fix the docs for create super user and add more 2021-09-16 17:46:25 +00: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
Martin
6fb158d062 feat: support smtp via ssl 2021-07-29 18:27:55 +02:00
Abhilash Raj
08622ce4f0 Ping psycopg2<2.9 for supporting Django 2.2.
https://github.com/psycopg/psycopg2/issues/1293
2021-07-18 11:43:30 -07:00
Danil Smirnov
cb4ad1d10e Adding django-utils-six for xapian (#473) 2021-07-18 10:30:15 -07:00
Danil Smirnov
2e9a101a1b Parametrizing Django diskcache path and size (#474)
* Parametrizing Django diskcache path and size

* Cache directory permissions fix
2021-07-18 10:27:36 -07:00
Danil Smirnov
582ac73f90 Hyperkitty goes multi-process 2021-05-24 08:45:35 +00:00
Abhilash Raj
496ee0c057 Add support for CACHES. (#467)
Also, bump Django to 3.1.
2021-05-22 09:42:05 -07:00
Gabor Szarnyas
3dd4718770 README fixes (#464)
* Fix typos and use consistent YAML data structures for env

* Add Debug flag and more structure to the README

* Clarify default value of MM_HOSTNAME

* Fix typo

* Fix typos
2021-05-21 13:54:03 -07:00
Abhilash Raj
53b1f1e457 Fix broken links (#457) 2021-04-07 19:36:37 +00:00
Abhilash Raj
61f167cddf Merge pull request #451 from maxking/release-0.3.12
Use single process for now since Hyperkitty can't handle multiple processes.
2021-03-27 18:24:04 -07:00
Abhilash Raj
d3263859b4 Use single process for now since Hyperkitty can't handle procesess. 2021-03-27 16:48:27 -07:00
Hu Sheng
080ec93f79 Compile uwsgi with pcre-dev package to support log route (#370)
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2021-03-21 01:46:45 -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
Abhilash Raj
6c70f1b5d7 Merge branch 'master' into web-settings-py-cleanup 2021-02-28 10:33:22 -08:00
Danil Smirnov
484e37f447 Removing redundant code 2021-02-28 20:25:45 +02:00
Danil Smirnov
6cdc0d5b0e Adding retry parameter to Django-Q configuration 2021-02-28 12:33:52 +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
Danil Smirnov
e283b8604c Update uwsgi.ini 2021-01-30 09:49:05 +02:00
Abhilash Raj
b5fd50226a Compile all the i18n files installed in the container.
Also, compress the static files offline.
2020-08-22 13:16:41 -07:00
Joshua Gleitze
2bc331edc9 Install python-memcached in Mailman Web 2020-08-19 18:10:53 +02: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
1ae02c70ee Clear the old files when collecting static files. 2020-06-25 22:57:24 -07:00
Abhilash Raj
d502b34f21 Bump Mailaman components. (#378)
* Bump Mailaman-web components.

* Bump mailman core
2020-06-12 19:03:50 -07:00
Abhilash Raj
839d42f3d3 Revert "Update fulltext search engine to Xapian from Whoosh. (#364)" (#376)
This reverts commit 508da12771.
2020-05-15 18:28:56 -07:00
Christian Dietrich
794d17ebd1 Include django-auth-ldap in mailman-web (#374) (#375) 2020-04-19 17:13:48 -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
Abhilash Raj
508da12771 Update fulltext search engine to Xapian from Whoosh. (#364) 2020-01-18 10:04:40 -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
David Galloway
41092d35f9 uWSGI: Run minutely jobs hourly instead
Fixes: https://github.com/maxking/docker-mailman/issues/327

Signed-off-by: David Galloway <dgallowa@redhat.com>
2019-10-03 11:40:40 -04:00
Joren Vrancken
5251eff047 Make MAILMAN_ARCHIVER_FROM a tuple (#336) 2019-07-28 12:07:59 -07:00
Joren Vrancken
7f4e725b75 Fix "Core" -> "Web" typo 2019-07-02 17:06:56 +02:00