1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Mailu/core
bors-mailu[bot] da36ac0e92
Merge #3203
3203: Add automatic tests for RESTful API r=mergify[bot] a=Diman0

and fix all remaining issues that I could find with the API.

## What type of PR?

internal feature / bug-fix

## What does this PR do?
I first wanted to finish #3113 before continuing on the tests to keep the scope smaller of the PR.

This PR adds automatic tests that tests **all** the interfaces of the RESTful API. Practically it only tests the normal Ok (http 200) situations. Maybe in the future we could add more tests to check if the validation checks work correctly for each interface.

I also fixed any issues I could find with the RESTful API. I can at least confirm that all interfaces work now. I think the validation checks are also complete now.

### Related issue(s)

## 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.

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


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2024-04-17 18:09:31 +00:00
..
admin Merge #3203 2024-04-17 18:09:31 +00:00
base Address CVE-2024-23829 (CVE for aiohttp) 2024-03-18 14:28:53 +00:00
dovecot Fix bug 3068. Spam messages were always marked as read. 2024-03-22 16:53:11 +00:00
nginx Need newer cryptography 2024-03-10 16:17:49 +01:00
none Make setup use the base image 2022-11-17 14:18:51 +01:00
oletools doh2 2023-10-07 10:55:21 +02:00
postfix Long term fix against SMTP smuggling 2023-12-28 08:51:50 +01:00
rspamd Doh 2023-11-15 09:45:40 +01:00