62 Commits (cd8479414ec4f452343a048e0721a8cd05f2b78c)

Auteur SHA1 Bericht Datum
Dimitri Huisman f247520fe5 Forgot to update tests to use PINNED_MAILU_VERSION as tag. 4 jaren geleden
Florent Daigniere 265ab7b5af Remove PASSWORD_SCHEME from test envs 4 jaren geleden
bors[bot] fc1a663da2
Merge #1754
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)
- #783

## 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>
4 jaren geleden
Dimitri Huisman e16e9f19fd Run test jobs in parallel for CI/CD. 4 jaren geleden
bors[bot] 5d1264e381
Merge #1694
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>
4 jaren geleden
Dimitri Huisman 606c039a6f Switch back to sequential workflow 4 jaren geleden
Dimitri Huisman 58235bcc44 Switch to github actions for CI/CD 4 jaren geleden
lub 2316ef1162 update compression algorithms for dovecot 3.3.14
xz is deprecated; lz4 and zstd were not present in our configs before
4 jaren geleden
Florent Daigniere dd3d03f06d Merge remote-tracking branch 'upstream/master' into webmail-sso 4 jaren geleden
Florent Daigniere 29306d5abb Fix the tests (again) 4 jaren geleden
Florent Daigniere 89d88e0c19 Fix the test 4 jaren geleden
Florent Daigniere 0917a6817f Set ADMIN=false to ensure that the tests pass 4 jaren geleden
lub 98a6ffb497 add compression via xz and lz4 5 jaren geleden
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
5 jaren geleden
hoellen d3dd4802f4 Change default password scheme to PBKDF2 (#1194) 6 jaren geleden
Tim Möhlmann 2a20c1e8ee
Tests for initial admin create 6 jaren geleden
Manuel Vázquez Acosta 6cc6f2742b
Activate ClamAV in filters tests.
See https://github.com/Mailu/Mailu/pull/907#issuecomment-462043036
7 jaren geleden
Ionut Filip cb1c90b423
Removed DISABLE_FTS_LUCENE 7 jaren geleden
Dario Ernst bbb24a8863 Add more tests: Auto-forwarding, sending to an alias and auto-reply
Add simple test for auto-reply
7 jaren geleden
Daniel Huber d357ed67f5
Add DOCKER_PREFIX in tests and setup files 7 jaren geleden
Tim Möhlmann f0906073e3
Merge remote-tracking branch 'upstream/master' into feat-subnet2 7 jaren geleden
Tim Möhlmann c0972face6
Correct subnetting functionality for the tests and setup 7 jaren geleden
Ionut Filip 35be1710a6
Changed user creation command 7 jaren geleden
Ionut Filip 8acf9451fa
Changed admin and user creation command 7 jaren geleden
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.
7 jaren geleden
Tim Möhlmann d84254ccd8
Update user creation to python3 7 jaren geleden
Ionut Filip 76d9fc3865 Rewrite of email test script and added eicar virus file 7 jaren geleden
Ionut Filip 4032e7128d Calling email test as hook with msg as arg 7 jaren geleden
Ionut Filip fca3dc4e70 Flushing stream before calling subprocess 7 jaren geleden
Ionut Filip 9a7fc1416a Replaces os.popen with subprocess.check_output 7 jaren geleden
Ionut Filip 982e586e49 Replaced os.system calls with native python calls 7 jaren geleden
Ionut Filip fd8ed3dfa6 Moved certs copy in travis 7 jaren geleden
Ionut Filip 88f5e6e4cf Moved users creation in core 7 jaren geleden
Ionut Filip c3bc7988c9 Implemented email test for travis 7 jaren geleden
Ionut Filip 4e9dc0c3c9 Implemented sending/reading email(local tests) 7 jaren geleden
Tim Möhlmann a46d0fe581
Fix path for hooks 7 jaren geleden
Tim Möhlmann 35e0fa1b9d
Drop IPv6 for travis 7 jaren geleden
Tim Möhlmann dde7ccca97
Created test cases from latest setup revision 7 jaren geleden
Ionut Filip 3b1fdc6166 Migrate test script from shell to python
- test.py needs to be called with 2 arguments : test_name and timeout
  - it will cd to test_name dir and use the test_name.yml from there
  - it will sleep for an amount of time equals to timeout in minutes
- it will perform health checks for containers. If healtcheck isn't enabled will check for running state
- it will run hooks inside the test_name dir ( .py and .sh) if there are any
- printing logs in any case
7 jaren geleden
Tim Möhlmann 238d4e7f20
Provide test cases created with the new setup utility 7 jaren geleden
Tim Möhlmann f3ebf35c75
Fix autotest 7 jaren geleden
Tim Möhlmann acbb586e71
Option to send logs to journald or syslog 7 jaren geleden
Tim Möhlmann c316c040c5
Use travis_wait for sleep 7 jaren geleden
Tim Möhlmann f7d8f20c87
Move DOCKER_ORG default to travis.yml 7 jaren geleden
Tim Möhlmann a19e11d552
Clean terminal distortion from docker-compose in travis 7 jaren geleden
Tim Möhlmann bb6b984610
Exclude fetchmail for the time being. See Mailu/Mailu#412 7 jaren geleden
Tim Möhlmann 39c159bae9
Make the code a bit more DRY. Put sleep back into main loop 7 jaren geleden
Tim Möhlmann 508796eaab
Verbose sleep 7 jaren geleden
Tim Möhlmann 59eb4a5a00
Minor script flow restructure 7 jaren geleden
Tim Möhlmann 42f557ff38
Cleanup containers 7 jaren geleden