223 Commits

Author SHA1 Message Date
OutBackDingo
de66bd687d updated and merge conflicts fixed for mailu master 2025-05-23 08:45:00 +07:00
Encotric
3a61d6afbc Add EICAR test 2025-03-11 21:36:38 +01:00
Encotric
c40b260802 Add error response for oidc login 2025-02-20 12:18:32 +01:00
Florent Daigniere
2a93cdf9aa Ensure tests actually work 2025-02-09 18:31:16 +01:00
Nazar Mokrynskyi
7531f23871 Change clamav path in tests too 2025-01-27 17:52:25 +02:00
Sebastian Wilke
a61320eed2 Update managesieve 2025-01-24 22:30:19 +01:00
Sebastian Wilke
b9ca0e28b4 Fix managesieve test 2025-01-24 22:21:04 +01:00
Florent Daigniere
ee5020733d doh 2025-01-09 19:38:54 +01:00
Florent Daigniere
5f6eba6a03 Fix CI 2025-01-09 19:14:41 +01:00
Sebastian Wilke
d2e69cc6c8 Merge remote-tracking branch 'upstream/2024.06' into oidc 2024-12-17 20:07:41 +01:00
Florent Daigniere
e8ded2f203 More tests
See what happens with a character that will url decode to longer

(cherry picked from commit 2526d43a98)
2024-08-09 14:35:37 +00:00
Florent Daigniere
77c7d2f691 Ensure we test this
(cherry picked from commit 1cbd31c7bb)
2024-08-09 14:35:37 +00:00
dependabot[bot]
e215d319ab Bump docker from 7.0.0 to 7.1.0
Bumps [docker](https://github.com/docker/docker-py) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/docker/docker-py/releases)
- [Commits](https://github.com/docker/docker-py/compare/7.0.0...7.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 14:10:34 +02:00
dependabot[bot]
354ee7f3af Bump requests from 2.32.2 to 2.32.3
Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 14:10:34 +02:00
dependabot[bot]
e230af8515 Bump requests in /tests in the pip group across 1 directory
Bumps the pip group with 1 update in the /tests directory: [requests](https://github.com/psf/requests).


Updates `requests` from 2.31.0 to 2.32.2
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 14:10:34 +02:00
Florent Daigniere
2526d43a98 More tests
See what happens with a character that will url decode to longer
2024-08-08 10:50:32 +02:00
Florent Daigniere
1cbd31c7bb Ensure we test this 2024-08-08 09:49:21 +02:00
Florent Daigniere
1bcbf4b613 fix warnings again
(cherry picked from commit cfd7e6b690)
2024-06-19 17:00:56 +00:00
Florent Daigniere
cfd7e6b690 fix warnings again 2024-06-19 14:50:09 +02:00
bors-mailu[bot]
d91a04dd00 Merge #3221
3221: Better PROXY_PROTOCOL r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

- Disable IMAP, POP3 and Submission by default; see https://nostarttls.secvuln.info/ on why explicit TLS is going away.
- Change the semantic of PROXY_PROTOCOL to make it configurable per port
- fix TLS_FLAVOR=notls not working with snappymail
- fix TLS_PERMISSIVE
- remove KUBERNETES_INGRESS; shouldn't be needed anymore
- update the documentation and the reverse proxy example

### Related issue(s)
- close #3162
- close #3061

## Prerequisites
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/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2024-06-09 10:17:32 +00:00
Florent Daigniere
3c9f825e4f Pin a version of requests that works
See https://github.com/psf/requests/issues/6707
2024-05-21 10:36:53 +02:00
Florent Daigniere
155a4cce5e maybe fix tests 2024-05-20 11:08:06 +02:00
Florent Daigniere
a55a9d89ba Update all dependencies 2024-05-20 11:08:03 +02:00
Florent Daigniere
4e28a053e3 enable all ports for tests 2024-04-08 09:55:20 +02:00
Dimitri Huisman
acb878a43f Use the correct hostname 2024-03-22 15:38:46 +00:00
Dimitri Huisman
18d5fb8a1b Forgot to create the mailu.io domain as the first step in tests 2024-03-22 15:23:12 +00:00
Dimitri Huisman
2558ae3bc9 Add automatic tests for RESTful API. Fix all remaining issues that I could find with the API. 2024-03-22 15:01:37 +00:00
Dimitri Huisman
1f69074771 Undo unintended changes to this file 2024-03-16 16:49:04 +00:00
Dimitri Huisman
6627dd2924 API: Create user did not handle exception of duplicate user 2024-01-24 10:57:30 +00:00
Florent Daigniere
3d13e72133 Only return 25 when it's a permanent error 2023-11-15 10:33:02 +01:00
Florent Daigniere
0b776fffbd Ensure the logic is right 2023-11-15 10:25:55 +01:00
Florent Daigniere
5312495d0e Retry up to 5 times if not ready 2023-11-15 10:15:34 +01:00
Florent Daigniere
a61f31e7c5 Now it should fail earlier 2023-11-13 08:13:20 +01:00
Florent Daigniere
6765c45ab8 simplify 2023-11-10 12:27:02 +01:00
Florent Daigniere
2c422bbfbe doh 2023-11-10 12:25:34 +01:00
Florent Daigniere
f7fb0f6625 Add a new test for PUAs 2023-11-10 12:13:04 +01:00
Florent Daigniere
6dd5b559db Give more time to clamav 2023-10-28 09:55:45 +02:00
Florent Daigniere
4da05b93ab doh 2023-10-13 16:42:45 +02:00
Florent Daigniere
80317fde78 Our healthcheck 2023-10-13 16:35:13 +02:00
Florent Daigniere
6a2169096c Switch to upstream's clamav image 2023-10-13 16:24:10 +02:00
Dimitri Huisman
9ad7cea515 Update 05_connectivity test to use UTF8 password. 2023-05-31 09:17:59 +00:00
bors[bot]
b6c093dfd6 Merge #2790
2790: Implement managesieve support r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

This is a better a alternative to #2773

Expose managesieve to the outside world.

### Related issue(s)
- close #2773
- #428
- #113
- #81
- #1222

## Prerequisites
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/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2023-05-26 14:11:33 +00:00
AJ Jordan
c0f28dd6f7 Fix typo 2023-05-05 14:09:31 -04:00
Florent Daigniere
d35ed1c400 add tests 2023-04-20 16:14:01 +02:00
Florent Daigniere
a61de6c2e3 Unique exit codes 2023-04-08 13:23:28 +02:00
Florent Daigniere
c008ce6608 review 2023-04-08 12:47:41 +02:00
Florent Daigniere
a09c23d8de Fix it 2023-04-08 11:32:46 +02:00
Florent Daigniere
7b46c7bcb6 Add test to show it's broken 2023-04-08 10:22:09 +02:00
Dimitri Huisman
66274ae4cc Use intermediate images for CI workflow
First the base and assets images are build and pushed to ghcr.io.
After that all main images are build. These images use the previously
build base/assets image by pulling it from ghcr.io.
2023-04-07 10:09:54 +00:00
Dimitri Huisman
0d048d24d3 Fix build.hcl / CI.yml regarding labels
The version label and versions passed to docs image were based on
the tag. Now we first build the images with -build appended to the
tag, we cannot use the tag as version label.

A new env var is introduced to pass the version to the build.hcl file.
This will be used to set the VERSION label in the image, and pass
as build arguments to the docs image.
2023-03-17 13:05:33 +00:00