Commit Graph

165 Commits

Author SHA1 Message Date
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
0745e37f01 Merge pull request #636 from raph-topo/patch-5
EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one o…
2023-06-19 20:00:39 -07:00
Abhilash Raj
944c9e7c63 Merge pull request #633 from maxking/dependabot/docker/web/alpine-3.18.2
Bump alpine from 3.18.0 to 3.18.2 in /web
2023-06-19 19:54:58 -07:00
Abhilash Raj
f3b1ac922f nit: Use backticks for variables. 2023-06-19 19:54:13 -07:00
Raphael
0647e9c8eb EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings. 2023-06-19 11:44:43 +02:00
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
Raphael
c097913a80 Use TZ in settings.py 2023-06-19 11:26:05 +02:00
dependabot[bot]
4e7f032621 Bump alpine from 3.18.0 to 3.18.2 in /web
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:47 +00:00
Abhilash Raj
85a060015c Do it correctly this time 2023-06-16 08:21:24 +00:00
Abhilash Raj
91a0e999cc Also bump version of psycopg2 2023-06-16 08:05:31 +00:00
Abhilash Raj
9564304706 Bump version of Django to 4.1.x 2023-06-16 07:58:02 +00:00
dependabot[bot]
a5601ea8ee Bump alpine from 3.17.3 to 3.18.0 in /web
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>
2023-05-15 08:00:25 +00:00
dependabot[bot]
b581310090 Bump alpine from 3.17.2 to 3.17.3 in /web (#613)
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:42:04 +05:30
dependabot[bot]
ebd64f9c02 Bump alpine from 3.17.1 to 3.17.2 in /web (#606)
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:12:48 -08:00
dependabot[bot]
9606f2f190 Bump alpine from 3.17.0 to 3.17.1 in /web (#600)
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:16 -08:00
dependabot[bot]
49fa5c7fa7 Bump django-mailman3 from 1.3.8 to 1.3.9 in /web (#588)
Bumps [django-mailman3](https://gitlab.com/mailman/django-mailman3) from 1.3.8 to 1.3.9.
- [Release notes](https://gitlab.com/mailman/django-mailman3/tags)
- [Commits](https://gitlab.com/mailman/django-mailman3/compare/v1.3.8...1.3.9)

---
updated-dependencies:
- dependency-name: django-mailman3
  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-05 13:12:50 +00:00
dependabot[bot]
8210125788 Bump postorius from 1.3.7 to 1.3.8 in /web (#589)
Bumps [postorius](https://gitlab.com/mailman/postorius) from 1.3.7 to 1.3.8.
- [Release notes](https://gitlab.com/mailman/postorius/tags)
- [Commits](https://gitlab.com/mailman/postorius/compare/1.3.7...1.3.8)

---
updated-dependencies:
- dependency-name: postorius
  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-05 13:12:24 +00:00
dependabot[bot]
55c8a71cbd Bump mailmanclient from 3.3.4 to 3.3.5 in /web (#587)
Bumps [mailmanclient](https://gitlab.com/mailman/mailmanclient) from 3.3.4 to 3.3.5.
- [Release notes](https://gitlab.com/mailman/mailmanclient/tags)
- [Commits](https://gitlab.com/mailman/mailmanclient/compare/3.3.4...3.3.5)

---
updated-dependencies:
- dependency-name: mailmanclient
  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-05 05:05:13 -08:00
dependabot[bot]
f9cdab4b3e Bump hyperkitty from 1.3.6 to 1.3.7 in /web (#590)
Bumps [hyperkitty](https://gitlab.com/mailman/hyperkitty) from 1.3.6 to 1.3.7.
- [Release notes](https://gitlab.com/mailman/hyperkitty/tags)
- [Commits](https://gitlab.com/mailman/hyperkitty/compare/v1.3.6...1.3.7)

---
updated-dependencies:
- dependency-name: hyperkitty
  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-05 05:04:43 -08:00
Clark Boylan
8b289ac152 Update mailman-web/urls.py address regex behavior in new django (#580)
Regexes are not allowed in path() objects with newer django. This syncs
up with the upstream urls.py at:

  https://gitlab.com/mailman/mailman-web/-/blob/master/mailman_web/urls.py

But does not modify the postorious/ vs mailman3/ and hyperkitty/ vs
archives/ paths.
2022-12-14 21:13:55 -08:00
dependabot[bot]
81a16de5f5 Bump alpine from 3.16.2 to 3.17.0 in /web (#584)
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:13:20 -08:00
Abhilash Raj
c48d96054c Use Django 4.0.x for now. (#573)
* Use Django 4.0.x for now.

* Use django 4.0.x for now
2022-10-31 09:21:04 +00:00
bbcchmc
19507087ad Update uwsgi.ini (#555)
* Update uwsgi.ini

Updated uwsgi from the default to the max setting 65535, this resolves an issue with large http headers that can cause 502 gateway errors when accessing mailman web interface.

* Reduce the size from max to what apache2 supports.

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2022-10-28 04:35:16 -07:00
Abhilash Raj
9fcf93aa82 Use requirements.txt for automated version bumps. (#566)
* Use requirements.txt for automated version bumps.

Move the Mailman requirements into requirements.txt file so that
we can use dependabot for automated version bumping.

* Remove constraint on mistune

* Add requirements file to dockerfile

* Add dependency on tzdata
2022-10-26 01:30:07 -07:00
Abhilash Raj
21155c1498 Add dependency on tzdata 2022-10-26 13:41:52 +05:30
Abhilash Raj
5fe9f30fd5 Remove constraint on mistune 2022-10-26 13:17:23 +05:30
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
76c803e18a Bump alpine from 3.12 to 3.16.2 in /web
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
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