146 Commits

Author SHA1 Message Date
dependabot[bot]
2eddffff06 Bump alpine from 3.20 to 3.21 in /core
Bumps alpine from 3.20 to 3.21.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 07:47:49 +00:00
dependabot[bot]
434e923cc3 Bump mailman from 3.3.9 to 3.3.10 in /core
Bumps [mailman](https://gitlab.com/mailman/mailman) from 3.3.9 to 3.3.10.
- [Release notes](https://gitlab.com/mailman/mailman/tags)
- [Commits](https://gitlab.com/mailman/mailman/compare/v3.3.9...v3.3.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 07:21:25 +00:00
Abhilash Raj
622e624c3e Remove version constraint of gunicorn 2024-09-20 12:10:44 +00:00
Abhilash Raj
7e9681314f Merge branch 'main' into dependabot/docker/core/alpine-3.20 2024-09-20 12:25:09 +05:30
Abhilash Raj
fcf719625c Create the var directory before trying to chown.
During cold start, var directory may not exist and we try to chown
the var directory which fails if it doesn't exist. We want to make
and chown the var directory in that case otherwise, mailman will not
be able to write to path `/opt/mailman` to create it's own var
directory.
2024-08-31 15:09:15 +00:00
Pierre-Gildas MILLON
a227c995fd fix: core startup fails if /opt/mailman/mailman-extra.cfg is read-only 2024-08-29 22:20:50 +02:00
Abhilash Raj
1da14ccc69 Merge branch 'main' into dependabot/docker/core/alpine-3.20 2024-06-17 22:20:37 +05:30
Lucas
2e164621e8 Add TLS options for SMTP (#693)
* added smtp security settings for mta

* Update README.md for mailman-core

* change default values according to mailman docs

* added smtp options to README

---------

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2024-06-07 18:04:45 -07:00
dependabot[bot]
a113db9f54 Bump alpine from 3.19 to 3.20 in /core
Bumps alpine from 3.19 to 3.20.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-07 13:28:55 +00:00
Abhilash Raj
32dea9bffa Merge branch 'main' into dependabot/docker/core/alpine-3.19 2023-12-26 17:09:49 +05:30
Abhilash Raj
f3bca54120 Add --break-system-packages so pip works on system Python 2023-12-26 10:47:22 +00:00
dependabot[bot]
dc8d0e7adc Bump alpine from 3.18 to 3.19 in /core
Bumps alpine from 3.18 to 3.19.

---
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:52:13 +00:00
Abhilash Raj
d97abcd35d Merge pull request #643 from am97/main
Build optimizations
2023-11-13 20:23:47 +05:30
dependabot[bot]
03928bd507 Bump mailman from 3.3.8 to 3.3.9 in /core
Bumps [mailman](https://gitlab.com/mailman/mailman) from 3.3.8 to 3.3.9.
- [Release notes](https://gitlab.com/mailman/mailman/tags)
- [Commits](https://gitlab.com/mailman/mailman/compare/3.3.8...v3.3.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 07:49:56 +00: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
Abhilash Raj
2cb8786964 Merge branch 'main' into fix-642 2023-08-28 21:30:52 +05:30
Abhilash Raj
770a121c52 quote version requirement 2023-08-28 21:07:27 +05:30
Abhilash Raj
4a54e9f279 fix: Downgrade importlib-resources to < 6.0
Since released version of Core doesn't support importlib-resources > 6.
2023-08-28 20:56:31 +05:30
Abhilash Raj
528ddba4d2 fix: Do not log full database url.
Since the database contain credentials, do not log them after
changing from `mysql://` to `mysql+pymysql://`.

Fixes #642
2023-08-28 20:52:51 +05:30
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
Raphael
5ec446a927 apk add tzdata 2023-06-19 11:33:51 +02:00
dependabot[bot]
8a73398532 Bump alpine from 3.17 to 3.18 in /core (#618)
Bumps alpine from 3.17 to 3.18.

---
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:25:10 -07:00
joergmschulz
df02cb7cbe Add SMTP_USER, SMTP_PASSWORD from environment vars. (#599)
* add smtp user, password from environment

add smtp user, password from environment to mailman.cfg

* Update README.md

document SMTP authentication via docker-compose.yml

* Update README.md

* Create docker-compose-traefik.yml

real life example

* remove examples folder for later use
2023-01-13 18:10:40 -08:00
dependabot[bot]
ad9b2ce75f Bump mailman-hyperkitty from 1.2.0 to 1.2.1 in /core (#591)
Bumps [mailman-hyperkitty](https://gitlab.com/mailman/mailman-hyperkitty) from 1.2.0 to 1.2.1.
- [Release notes](https://gitlab.com/mailman/mailman-hyperkitty/tags)
- [Commits](https://gitlab.com/mailman/mailman-hyperkitty/compare/1.2.0...1.2.1)

---
updated-dependencies:
- dependency-name: mailman-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 18:41:47 +05:30
dependabot[bot]
0c9b0179c5 Bump mailman from 3.3.7 to 3.3.8 in /core (#592)
Bumps [mailman](https://gitlab.com/mailman/mailman) from 3.3.7 to 3.3.8.
- [Release notes](https://gitlab.com/mailman/mailman/tags)
- [Commits](https://gitlab.com/mailman/mailman/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: mailman
  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:22 -08:00
dependabot[bot]
14a5b17741 Bump alpine from 3.15 to 3.17 in /core (#582)
Bumps alpine from 3.15 to 3.17.

---
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>
2023-01-04 19:54:37 -08:00
dependabot[bot]
edbd294679 Bump mailman from 3.3.6 to 3.3.7 in /core (#577)
Bumps [mailman](https://gitlab.com/mailman/mailman) from 3.3.6 to 3.3.7.
- [Release notes](https://gitlab.com/mailman/mailman/tags)
- [Commits](https://gitlab.com/mailman/mailman/compare/3.3.6...3.3.7)

---
updated-dependencies:
- dependency-name: mailman
  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>
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
2022-12-14 21:55:13 -08:00
Abhilash Raj
b4b11686b1 Drop dependency on SQLAlchemy < 1.4 (#585) 2022-12-14 21:09:42 -08:00
Abhilash Raj
0100dc4bc0 Add g++ (gcc-cpp) as build dependency (#575)
* Add gcc-cpp as build dependency

* add g++

* add pg binary driver

* Use the postgresql as the driver scheme

* Revert "add pg binary driver"

This reverts commit aaa3aed87e40a0f6193ba1242934fd7659a75440.
2022-11-05 07:38:55 -07:00
Abhilash Raj
c60f98b524 Use Alpine 3.15 for Python 3.9 needed for Core (#569) 2022-10-26 03:38:37 -07:00
dependabot[bot]
b80e60fe54 Bump mailman from 3.3.4 to 3.3.6 in /core (#567)
Bumps [mailman](https://gitlab.com/mailman/mailman) from 3.3.4 to 3.3.6.
- [Release notes](https://gitlab.com/mailman/mailman/tags)
- [Commits](https://gitlab.com/mailman/mailman/compare/3.3.4...3.3.6)

---
updated-dependencies:
- dependency-name: mailman
  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>
2022-10-26 08:46:59 +00:00
dependabot[bot]
b6435761d0 Bump mailman-hyperkitty from 1.1.0 to 1.2.0 in /core (#568)
Bumps [mailman-hyperkitty](https://gitlab.com/mailman/mailman-hyperkitty) from 1.1.0 to 1.2.0.
- [Release notes](https://gitlab.com/mailman/mailman-hyperkitty/tags)
- [Commits](https://gitlab.com/mailman/mailman-hyperkitty/compare/v1.1.0...1.2.0)

---
updated-dependencies:
- dependency-name: mailman-hyperkitty
  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-10-26 08:38:21 +00: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
9686039f50 Merge pull request #565 from maxking/bump-ver
Bump to new releases
2022-10-26 01:20:40 -07:00
Abhilash Raj
7a51572717 Merge branch 'main' into add-lynx 2022-10-26 00:51:20 -07:00
Abhilash Raj
bfb4d9da3b Add lynx to existing apk add command. 2022-10-26 00:51:11 -07:00
Abhilash Raj
312833c8ab Bump to new releases 2022-10-26 13:05:17 +05:30
dependabot[bot]
9ab058b348 Bump alpine from 3.12 to 3.16.2 in /core
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 06:46:31 +00:00
Clark Boylan
66b230baef Add lynx to the mailman core Docker image
Mailman's convert_html_to_plaintext setting relies on the value of
html_to_plain_text_command which is by default set to:

  /usr/bin/lynx -dump $filename

This will fail on the current image because lynx is not installed.
Simply add lynx to the list of packages to install to correct this.
The file path for the lynx command installed via the Alpine package does
seem to be /usr/bin/lynx which means we don't need to update any
configuration to use this command. The defaults are sufficient.
2022-08-31 11:30:11 -07: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
Abhilash Raj
cb17f46958 Merge pull request #528 from robol/main
Bump the mailman-hyperkitty plugin to 1.2.0.
2022-04-13 23:59:53 -07:00
Abhilash Raj
868e1efe0a Merge pull request #538 from SvenRoederer/core-fix-typo
core/entrypoint: fix typo
2022-04-13 23:58:16 -07:00
Sven Roederer
119f22b7c9 core/entrypoint: fix typo
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
2022-03-20 18:44:28 +01: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
Pierre-Gildas MILLON
e79800f49b Improve MySQL endpoint ping with custom ports 2021-12-26 19:44:29 +01:00
Pierre-Gildas MILLON
96e0a26595 Add mariadb-connector-c for sha256_passwords 2021-12-26 19:43:53 +01:00
Pierre-Gildas MILLON
231fb0b9fc Add py-cryptography 2021-12-16 22:08:43 +01:00
Leonardo Robol
d8f6412074 Bump the mailman-hyperkitty plugin to 1.2.0.
This new version sends the api_key as an Authorization header instead of
a GET parameter, which fixes a security vulnerability. The change is needed
since Hyperkitty has been upgraded to 1.3.5.
2021-11-23 08:01:22 +01:00