Commit Graph

1290 Commits (fca3dc4e7005250a3a49028e2131b439663e0829)
 

Author SHA1 Message Date
Ionut Filip fca3dc4e70 Flushing stream before calling subprocess
Ionut Filip 9a7fc1416a Replaces os.popen with subprocess.check_output
Ionut Filip 982e586e49 Replaced os.system calls with native python calls
Ionut Filip 0d6a203a9d Use sudo for running sh commands
Ionut Filip fd8ed3dfa6 Moved certs copy in travis
Ionut Filip 88f5e6e4cf Moved users creation in core
Ionut Filip c3bc7988c9 Implemented email test for travis
Ionut Filip 4e9dc0c3c9 Implemented sending/reading email(local tests)
Tim Möhlmann 003c36c98a Fix imap login when no webmail selected
Ionut Filip ffdef18bd6 Rendering admin/webmail path based on checkbox value
Tim Möhlmann a46d0fe581
Fix path for hooks
Tim Möhlmann 35e0fa1b9d
Drop IPv6 for travis
Tim Möhlmann a1ac7fc19c
Upgrade docker-compose inside travis (fix build errors)
Tim Möhlmann 1e3392e417
Antispam not an optional service, postfix fails without it
Tim Möhlmann dde7ccca97
Created test cases from latest setup revision
Tim Möhlmann 72e931f4b4
Modify setup templates to allow for DOCKER_ORG and VERSION override. (Needed for Travis)
Tim Möhlmann 928fbb372d
Merge branch 'feat-test-suite' into feat-setup
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
Tim Möhlmann 55297424cd
Merge remote-tracking branch 'upstream/master' into feat-setup
Tim Möhlmann 238d4e7f20
Provide test cases created with the new setup utility
Ionut Filip e5268de0c7 Revert default value for subnet
Ionut Filip ae8f928fc0 Added project name on docker commands
Tim Möhlmann 2124df36ec
Merge pull request from HorayNarea/feat-healthchecks
implement healthchecks - resolves 
Ionut Filip 3c9cae5d06 Added replicas variables for core containers
- Added back restart: always on compose flavor
- Moved Log driver from .env to docker-compose.yml
Ionut Filip 6a9e5c1921 Create/generate file template
Ionut Filip 9881dd2074 Documentation for adding more steps/flavors
Thomas Sänger 603b6e7390
Merge pull request from usrpro/fix-nginx-healthcheck
Fix nginx healthcheck
Tim Möhlmann 81b24f61e8
Merge branch 'master' into feat-healthchecks
Tim Möhlmann a2fea36c79
Increase HEALTHCHECK start time for services that need to wait for host resolving during startup.
In Docker Swarm mode the services listed below can get stuck in their start script, while they
are waiting for other services become available. Now, with HEALTHCHECK enabled, docker does not resolve
names of services that not pass HEALTHCHECK yet. Meaning that if one of the depenend services is not yet
available, it will create a chain of failing services.

The services below retry to resolve 100 time, with an average of 3.5 seconds. Hence, the --start-time
flag is now set at 350 seconds.
- dovecot (imap)
- postfix (smtp)
- rspamd (antispam)
Tim Möhlmann c3e89967fb
Fix front health checking
- Specified seperated /health path in order to allow for healthcheck even if webmail and admin are not seletectd. This also allows healthchecking fom external services like DNS load balancers;
- Make curl not to fail on TLS because localhost is not included in the certificates.
mergify[bot] f2c4e52fee
Merge pull request from kaiyou/feat-docs-versions
Implement a multi-version documentation
mergify[bot] d167c8ca7c
Merge pull request from usrpro/feat-setup
Feat setup
mergify[bot] 90b8c3cc1f
Merge pull request from kaiyou/feat-reply-startdate
Implement a start date filter for autoreply, fixes 
mergify[bot] bce1487338
Merge pull request from hacor/master
Kubernetes fixed for production
mergify[bot] 8112d31ce9
Merge pull request from paulprogrammer/feat-nginx-http2
enable http2, because it's that easy
kaiyou eaaf0125d1
Merge pull request from usrpro/feat-docs-versions
Documentation update on local docs container
Paul Williams 78bd5aea1c enable http2, because it's that easy
hoellen 72d4fa2bc9
remove empty line from merge conflict
hoellen 857ad50509
Merge branch 'master' into feat-reply-startdate
mergify[bot] 4a5c0a6d21
Merge pull request from kaiyou/fix-password-performance
Improve password checking performance
mergify[bot] 80658c30da
Merge pull request from hoellen/fix-webmail-root
Fix nginx conf if webmail is on root path
Ionut Filip c5be360a48 Updated setup page for stack flavor
Tim Möhlmann 771e0ee6a2
Remove old crypt settings from .env
As per conversation in PR
Ionut Filip ebaba8fb41 Moved variables from docker-compose.yml back to env file
Hans Cornelis f10416e85a Merged with new PRs
Hans Cornelis 6fb0b93240 - Removed RSPAMD Password feature
- Updated roles on the Front DS
- Reverted the Auth limits

Signed-off-by: Hans Cornelis <hacornelis@gmail.com>
Ionut Filip 9c56e4c1b6 Fixed misstyped condition
Tim Möhlmann 4ccefd6d5e
Documentation update on local docs container
Ionut Filip 02c802159a Updated env file with the latest version
mergify[bot] 118ea0f3fb
Merge pull request from ofthesun9/feature-swarm
Enabling swarm deployment on master branch