Commit Graph

85 Commits (28d720bbc978fbcbd7b8654c0d2b13f04480f173)

Author SHA1 Message Date
Florent Daigniere d7b80e94a4 try again.
Florent Daigniere 7ebac75045 fix tests
Florent Daigniere b488e57602 debug
Florent Daigniere 4517ce23a6 Aliases be damned.
Florent Daigniere 6d8cc9083b test
Florent Daigniere 729838c8fe Grrr.
Florent Daigniere 1379a58352 Basic hardening
Florent Daigniere 50f94a282f doh
Florent Daigniere 710dde1faf Fix : ensure the admin panel is disabled
Florent Daigniere ae64c6cc30 Doh
Florent Daigniere 13adf4aeec Fix tests
Vincent Kling 23d06a5761 Fix a bunch of typos
Dimitri Huisman 3493e9ffa9 Doh!
Dimitri Huisman 867c71ca83 Fix date (deadline) calculation and comparison in test.py
Dimitri Huisman 9339ce78e8 Fix datetime usage in test.py
Florent Daigniere 72b8939ad7 doh
Florent Daigniere 630a23da3c Don't wait for the timeout in the tests
If the containers are ready use them.
Dimitri Huisman 4bb0bd8fb2 Forgot to update snappymail test
Dimitri Huisman 3aafecafe7 Merge branch 'master' into feat-switch-buildx
Dimitri Huisman f6de2b2938 Switch from docker build to buildx for CI/CD.
- The main workflow file has been optimised and simplified.
- Images are built in parallel when building locally resulting in faster build times.
- The github action workflow is about 50% faster.
- Arm images are built as well. These images are not tested due to restrictions of github actions (no arm runners). The tags of the images have -arm appended to it.
- Arm images can also be built locally.
- Reusable workflow is introduced for building, testing and deploying the images.
  This allows the workflow to be reused for other purposes in the future.
- Workflow can be manually triggered. This allows forked Mailu projects to also use the workflow for building images.
Dimitri Huisman 9519d07ba2 Switch from RainLoop to SnappyMail
Florent Daigniere 8595893af9 doh
Florent Daigniere 0f25075fa3 fix test
Dimitri Huisman f247520fe5 Forgot to update tests to use PINNED_MAILU_VERSION as tag.
Florent Daigniere 265ab7b5af Remove PASSWORD_SCHEME from test envs
bors[bot] fc1a663da2
Merge
1754: centralize Webmail authentication behind the admin panel (SSO) r=mergify[bot] a=nextgens

## What type of PR?

Enhancement: it centralizes the authentication of webmails to the admin interface.

## What does this PR do?

It implements the glue required for webmails to do SSO using the admin interface.
One of the main advantages of centralizing things this way is that it reduces significantly the attack surface available to an unauthenticated attacker (no webmail access until there is a valid Flask session).

Others include the ability to implement 2FA down the line and rate-limit things as required.

### Related issue(s)
- 

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Dimitri Huisman e16e9f19fd Run test jobs in parallel for CI/CD.
bors[bot] 5d1264e381
Merge
1694: update compression algorithms for current dovecot r=nextgens a=lub

## What type of PR?

enhancement

## What does this PR do?

This adds additional compression algorithms in accordance with
https://doc.dovecot.org/configuration_manual/zlib_plugin/

### Related issue(s)

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: lub <git@lubiland.de>
Dimitri Huisman 606c039a6f Switch back to sequential workflow
Dimitri Huisman 58235bcc44 Switch to github actions for CI/CD
lub 2316ef1162 update compression algorithms for dovecot 3.3.14
xz is deprecated; lz4 and zstd were not present in our configs before
Florent Daigniere dd3d03f06d Merge remote-tracking branch 'upstream/master' into webmail-sso
Florent Daigniere 29306d5abb Fix the tests (again)
Florent Daigniere 89d88e0c19 Fix the test
Florent Daigniere 0917a6817f Set ADMIN=false to ensure that the tests pass
lub 98a6ffb497 add compression via xz and lz4
ofthesun9 d5d097eebc docker-compose exec needs a -T flag it no TTY is allocated
This flag is missing in 00_create_users.sh and is failing the tests on travis arm architecture
hoellen d3dd4802f4 Change default password scheme to PBKDF2 ()
Tim Möhlmann 2a20c1e8ee
Tests for initial admin create
Manuel Vázquez Acosta 6cc6f2742b
Activate ClamAV in filters tests.
See https://github.com/Mailu/Mailu/pull/907#issuecomment-462043036
Ionut Filip cb1c90b423
Removed DISABLE_FTS_LUCENE
Dario Ernst bbb24a8863 Add more tests: Auto-forwarding, sending to an alias and auto-reply
Add simple test for auto-reply
Daniel Huber d357ed67f5
Add DOCKER_PREFIX in tests and setup files
Tim Möhlmann f0906073e3
Merge remote-tracking branch 'upstream/master' into feat-subnet2
Tim Möhlmann c0972face6
Correct subnetting functionality for the tests and setup
Ionut Filip 35be1710a6
Changed user creation command
Ionut Filip 8acf9451fa
Changed admin and user creation command
Tim Möhlmann 8172f3eab8
Move the Mailu Docker network to a fixed subnet.
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
Tim Möhlmann d84254ccd8
Update user creation to python3
Ionut Filip 76d9fc3865 Rewrite of email test script and added eicar virus file