Commit Graph

135 Commits

Author SHA1 Message Date
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
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
5b9b22cc09 Update docker-entrypoint.sh 2021-08-18 21:56:30 -07:00
Abhilash Raj
a1a8d7cd37 Run mailman aliases command as mailman user 2021-08-18 01:26:47 +00: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
Danil Smirnov
0d38c5b793 Fixing the default value for MM_HOSTNAME (#454) 2021-04-01 08:41:56 -07:00
Abhilash Raj
97b86b08fe Merge pull request #450 from maxking/release-0.3.12
Upgrade Core to 3.3.4
2021-03-27 16:46:56 -07:00
Abhilash Raj
57fa5b23bd Upgrade Core to 3.3.4 2021-03-27 16:18:09 -07:00
Abhilash Raj
7d67045280 Pin to sqlalchemy < 1.4.0 2021-03-20 01:18:08 -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
c42c737ff0 Logging improvement 2021-02-28 13:57:50 +02:00