1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Commit Graph

4583 Commits

Author SHA1 Message Date
Florent Daigniere
fb072ebfa1 more pythonic way of doing the same thing 2023-08-19 16:37:16 +02:00
Florent Daigniere
0e4c29c269 Clarify further, use the API suggested by ghostwheel42 in (b) 2023-08-19 16:35:22 +02:00
Florent Daigniere
c66934e6bf Auth-Login-Attempt is no more since we don't use nginx 2023-08-18 18:47:49 +02:00
Florent Daigniere
4c675009a2
Update core/admin/mailu/api/v1/user.py
doh

Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-08-18 17:45:40 +02:00
Florent Daigniere
c9eae7bfbf Fix exception reported by diginzm 2023-08-18 17:01:15 +02:00
Florent Daigniere
a338e9c75e Fix API call 2023-08-17 23:41:15 +02:00
bors[bot]
595f0fe803
Merge #2911
2911: We also need a wait now that we capture stdin r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

better fix for #2910

### Related issue(s)
- #2910

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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-08-16 09:25:54 +00:00
Florent Daigniere
003bcaab90 We also need a wait now that we capture stdin 2023-08-16 10:44:10 +02:00
bors[bot]
35e387e175
Merge #2909
2909: Prevent rspamc zombies, ensure that triggering learn-spam works r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Prevent rspamc zombies, ensure that triggering learn-spam works even when using Outlook

### Related issue(s)
- closes #2908

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

- [ ] 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-08-15 18:31:18 +00:00
Florent Daigniere
ab3dd11db8 As per review 2023-08-15 19:32:41 +02:00
Florent Daigniere
a1f9fb4347 Prevent rspamc zombies, ensure that triggering learn-spam works 2023-08-15 10:46:13 +02:00
Florent Daigniere
497eb867c6
Update reverse.rst 2023-08-13 08:03:31 +02:00
Florent Daigniere
25b89a732b Set the flag when reset by command line too 2023-08-12 09:03:15 +02:00
Florent Daigniere
7b13ceb693 API and cmdline 2023-08-12 08:51:42 +02:00
Florent Daigniere
dec339800f Make new signups change passwords too 2023-08-12 08:07:10 +02:00
Florent Daigniere
6c144f8e12 simplify 2023-08-12 07:14:10 +02:00
Florent Daigniere
6bda856420 doh 2023-08-11 10:00:05 +02:00
Florent Daigniere
a5f3c7eaf2 Implement downgrade 2023-08-11 09:12:36 +02:00
Florent Daigniere
193b3d522a l10n 2023-08-11 09:09:07 +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
Florent Daigniere
9bcbbdee02 Implement a 'force-password-change' feature 2023-08-10 12:06:15 +02:00
Florent Daigniere
0cd2cbfa72 Make it more explicit 2023-08-09 19:10:34 +02:00
Florent Daigniere
e7e169f1c1 Fix the obvious issue 2023-08-09 19:10:07 +02:00
Florent Daigniere
8b890a84e9 clarify 2023-08-09 18:24:37 +02:00
Florent Daigniere
b7e7f0d8b6 doc 2023-08-09 15:38:27 +02:00
Florent Daigniere
f3cd401450 PROXY_PROTOCOL=all-but-http for traefik 2023-08-09 15:31:14 +02:00
Florent Daigniere
64ce3d1c96 Implement a busy loop for letsencrypt 2023-08-09 15:28:07 +02:00
bors[bot]
32d1c7d899
Merge #2893
2893: bugfix for gpg execution with roundcube r=mergify[bot] a=helmuthb

## What type of PR?

bug-fix

## What does this PR do?

It adds another `allow`-rule for `snuffleupagus` when `gpg` is called via absolute path (`/usr/bin/gpg`).
I consider it a minor change so no update to changelog is proposed but if you feel different please let me know.

### Related issue(s)
- Auto close an issue like: closes #2892

## 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: Helmuth Breitenfellner <helmuth@breitenfellner.at>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-08-09 07:14:23 +00:00
Helmuth Breitenfellner
5d8b1940e1 Add a newsfragment for CHANGELOG 2023-08-08 21:45:11 +02:00
Florent Daigniere
ca83152ad9 Update snuffleupagus.rules 2023-08-08 21:41:50 +02:00
Helmuth Breitenfellner
b7cf1c88ea bugfix for gpg execution with roundcube 2023-08-08 21:41:50 +02:00
bors[bot]
1e457bb6ba
Merge #2898
2898: take care of sieve too r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

This is a follow-up to #2895 sieve can also trigger the rate limit... and a stack-trace.

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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>
2023-08-07 09:16:47 +00:00
Florent Daigniere
9b7bb3b7f5
doh 2023-08-07 11:15:53 +02:00
Florent Daigniere
1413001705 take care of sieve too 2023-08-07 09:06:02 +02:00
bors[bot]
f17aa85b54
Merge #2896
2896: Update python deps to fix CVEs and build r=mergify[bot] a=ghostwheel42

## What type of PR?

Security

## What does this PR do?

Fixes CVEs shown by depandabot and fixes build.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-08-06 17:39:13 +00:00
Alexander Graf
2d9b348eb0
Update python deps to fix CVEs and build 2023-08-06 17:03:51 +02:00
bors[bot]
62096c77c0
Merge #2895
2895: Avoid a stack-trace when the ratelimit is hit r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Avoid a stack-trace when the ratelimit is hit. This is only affecting the last few commits of master.

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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-08-06 11:26:33 +00:00
bors[bot]
2e3e8bb0d8
Merge #2894
2894: fix fail2ban regexp r=nextgens a=nextgens

## What type of PR?

documentation

## What does this PR do?

There is now a second log line we also need to match

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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-08-06 05:12:06 +00:00
Florent Daigniere
40b5e7ca39 Avoid a stack-trace when the ratelimit is hit 2023-08-05 18:24:11 +02:00
Florent Daigniere
a0c93da850 fix fail2ban regexp 2023-08-05 18:16:31 +02:00
bors[bot]
890f847f6c
Merge #2677
2677: Apply DEFAULT_QUOTA to user creation admin ui page r=mergify[bot] a=PMExtra

## What type of PR?

Feature

## What does this PR do?

Apply `DEFAULT_QUOTA` settings to user creation admin ui page.

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

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

I'm sorry for that I'm not good at English to update the documentation. But this is not a completed new feature. `DEFAULT_QUOTA` is an existing configuration. I just completed the behaviors. Although this configuration was never documented.

Co-authored-by: PM Extra <pm@jubeat.net>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-06-28 10:22:18 +00:00
bors[bot]
809b21b757
Merge #2873
2873: Fix issue #2811. Clamav Healthcheck created zombie processes r=mergify[bot] a=Diman0

## What type of PR?

bug-fix

## What does this PR do?
The healthcheck of clamav results in zombie processes for some users. This PR addresses this issue. Now the healtcheck checks for the existence of the pid file of clamd and freshclam

Note: [kill -0](https://unix.stackexchange.com/questions/169898/what-does-kill-0-do) can be used to check if a process exists and perform an error check.

### Related issue(s)
- closes #2811 

## 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: Dimitri Huisman <diman@huisman.xyz>
2023-06-28 08:44:00 +00:00
Dimitri Huisman
4cf9993117
Fix issue #2811. Clamav Healthcheck created zombie processes 2023-06-28 08:33:04 +00:00
bors[bot]
69229436cf
Merge #2866
2866: Improve tokens (add ipranges) r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Allow multiple IP addresses/networks to be set for tokens.

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

- [ ] 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-06-26 10:02:58 +00:00
bors[bot]
5995979d60
Merge #2871
2871: Document that the default config for netplan is broken r=mergify[bot] a=nextgens

## What type of PR?

documentation

## What does this PR do?

Document in the FAQ that what looks like DNSSEC failures may be netplan related.

### Related issue(s)
- #2868 

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

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] 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-06-25 19:55:52 +00:00
Florent Daigniere
e1e765bc00 Add a clue 2023-06-25 18:40:16 +02:00
Florent Daigniere
6ca97d112e Document that the default config for netplan is broken 2023-06-25 18:32:05 +02:00
bors[bot]
8b23e8318c
Merge #2869
2869: increase the number of postfix workers r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

increase the number of postfix workers. It was reduced when we were using postscreen ... but this specific part hasn't been reverted properly.

The practical effect is that we should see less ``451 4.3.2 Internal server error``.

### Related issue(s)
- #2861

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

- [ ] 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-06-25 06:57:26 +00:00
Florent Daigniere
a6d217c455 increase the number of postfix workers 2023-06-24 18:54:18 +02:00