Commit Graph

74 Commits

Author SHA1 Message Date
Abhilash Raj
21684ce838 Update max supported Django versions (#699)
* Update max supported Django versions

* Add dependency on python-openid

* Use the right dependency

* Also bump django version

* Add python-openid specifically to deps

* Add dependency on openid too
2024-06-07 00:57:10 -07:00
am97
3cf6e5d18d Avoid Django 3.2+ warning (#686) 2024-02-25 11:10:38 +05:30
Mohazza
a38d49a66a Bump postorius from 1.3.7 to 1.3.10 (#685) 2024-02-16 01:33:16 -08:00
dependabot[bot]
a4a435e19d Bump alpine from 3.19.0 to 3.19.1 in /postorius (#683) 2024-02-04 08:43:25 +05:30
Jonathan Rietveld
06e0ed0f00 fix: Typos in comments (#680) 2024-01-06 07:26:56 +05:30
Jonathan Rietveld
2331cb3c9b Add libldap dependency (#679) 2024-01-06 07:26:24 +05:30
Abhilash Raj
2708b63fbd fix: Add humaize for django-allauth 2023-12-30 04:11:32 +00:00
Abhilash Raj
475102b53c Merge pull request #670 from maxking/dependabot/docker/postorius/alpine-3.19.0
Bump alpine from 3.18.4 to 3.19.0 in /postorius
2023-12-26 17:06:00 +05:30
Abhilash Raj
f3bca54120 Add --break-system-packages so pip works on system Python 2023-12-26 10:47:22 +00:00
Thomas Makin
e00436fbd6 postorius: fix urls for newer django
`path()` no longer accepts regex paths; you must instead import and use
`re_path()`.
2023-12-19 19:26:56 -05:00
dependabot[bot]
ec4c182cf7 Bump alpine from 3.18.4 to 3.19.0 in /postorius
Bumps alpine from 3.18.4 to 3.19.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 07:35:50 +00:00
Abhilash Raj
d97abcd35d Merge pull request #643 from am97/main
Build optimizations
2023-11-13 20:23:47 +05:30
Jonathan Rietveld
d341c07c0d Add tzdata dependency 2023-11-11 23:31:31 +01:00
Andrés Maldonado
02b8ed2b6c Optimize build caching
Before this commit, if docker-entrypoint or any file in mailman-web changed, the Docker build cache would not be used, so the install of dependencies would run again, uselessly
2023-10-11 17:42:28 +02:00
dependabot[bot]
48c2425b4b Bump alpine from 3.18.3 to 3.18.4 in /postorius (#654)
Bumps alpine from 3.18.3 to 3.18.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 09:20:39 -07:00
Abhilash Raj
022cb48778 Fix: Add support for new version of django-allauth (#655)
* Fix: Add support for new version of django-allauth

* Use full path for manage.py script
2023-10-02 08:58:36 -07:00
dependabot[bot]
9a074a2e9b Bump alpine from 3.18.2 to 3.18.3 in /postorius
Bumps alpine from 3.18.2 to 3.18.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 07:28:54 +00:00
Raphael
57a2f5456a Fix DJANGO_ALLOWED_HOSTS parsing
Closes #637.
2023-06-26 12:47:10 +02:00
Abhilash Raj
244b73d0f2 fix: Use -P pager=off in the psql commands. (#631)
This allows for non-interactive use and doesn't hang on the user
input in certain conditions, like when the command output is large.

Fixes #610
2023-06-19 20:04:03 -07:00
Abhilash Raj
45fd544f01 Merge pull request #632 from maxking/dependabot/docker/postorius/alpine-3.18.2
Bump alpine from 3.18.0 to 3.18.2 in /postorius
2023-06-19 19:55:09 -07:00
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
dependabot[bot]
ca033c1a58 Bump alpine from 3.18.0 to 3.18.2 in /postorius
Bumps alpine from 3.18.0 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 07:59:38 +00:00
dependabot[bot]
33be7724ce Bump alpine from 3.17.3 to 3.18.0 in /postorius (#620)
Bumps alpine from 3.17.3 to 3.18.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 02:24:57 -07:00
dependabot[bot]
eef13c7f01 Bump alpine from 3.17.2 to 3.17.3 in /postorius (#612)
Bumps alpine from 3.17.2 to 3.17.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 07:41:43 +05:30
dependabot[bot]
a46e3c9369 Bump alpine from 3.17.1 to 3.17.2 in /postorius (#607)
Bumps alpine from 3.17.1 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 05:13:00 -08:00
dependabot[bot]
b7d5fa3a18 Bump alpine from 3.17.0 to 3.17.1 in /postorius (#601)
Bumps alpine from 3.17.0 to 3.17.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:17:31 -08:00
dependabot[bot]
b4c19521ad Bump alpine from 3.16.2 to 3.17.0 in /postorius (#583)
Bumps alpine from 3.16.2 to 3.17.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 21:21:03 -08:00
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
c517426652 Bump alpine from 3.12 to 3.16.2 in /postorius
Bumps alpine from 3.12 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 07:00:22 +00:00
Abhilash Raj
208017f9a0 Test dependabot for Dockerfiles & Bump Postgres to 11 (#557)
* Test dependabot for Dockerfiles.

* Also for github actions

* Update dependabot.yml

* Fix urls.py for new versions of Django

* Fix urls.py for postorius.

* Bump dependency on Postgresql.

* Bump dependency on Django

* Add dependency on tzdata.
2022-10-25 23:25:57 -07: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
d63b3ce8bd Bump versions (#518) 2021-09-28 20:35:17 -07: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
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