Florent Daigniere
7b13ceb693
API and cmdline
2023-08-12 08:51:42 +02:00
Florent Daigniere
786da5e08c
clarify
2023-08-11 09:03:42 +02:00
Florent Daigniere
bd4c40b596
Prune sessions that are unrelated when changing passwords
2023-08-10 12:27:47 +02:00
Dimitri Huisman
b0569035ae
Change PUT method to PATCH method.
...
This better reflects what the interface does.
2023-01-12 10:55:49 +00:00
Dimitri Huisman
3cb8358090
Process review comments PR#2464
...
- When visiting root of WEB_API, the swaggerui is shown
- simplify the condition for endpoint WEB_API
2022-12-27 11:32:58 +01:00
Dimitri Huisman
39b0d44079
Use first() instead of all() for better performance
...
Actually return all data for Get user
Remove non-used code
2022-12-27 11:32:57 +01:00
Dimitri Huisman
f9b26bd934
Update User with newly introduced allow spoofing field
2022-12-27 11:32:57 +01:00
Dimitri Huisman
6347c18f8a
Process review comments (PR2464)
2022-12-27 11:32:57 +01:00
Dimitri Huisman
61d092922c
Process review comments (PR2464)
2022-12-27 11:32:57 +01:00
Dimitri Huisman
afb224e796
Update password hash description for user API endpoint
2022-12-27 11:32:57 +01:00
Dimitri Huisman
d4e5db5084
Remove unneeded comment
2022-12-27 11:32:56 +01:00
Dimitri Huisman
7a36f6bbb9
Use hmac.compare_digest to prevent timing attacks.
2022-12-27 11:32:56 +01:00
Dimitri Huisman
5c9cdfe1de
Introduction of the Mailu RESTful API.
...
Anything that can be configured in the web administration interface,
can also be configured via the Mailu RESTful API.
See the section Advanced configuration in the configuration reference
for the relevant settings in mailu.env for enabling the API.
(API, WEB_API, API_TOKEN).
2022-12-27 11:32:54 +01:00
Alexander Graf
866ad89dfc
first try at api using flask-restx & marshmallow
2022-12-27 11:20:59 +01:00