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

4777 Commits

Author SHA1 Message Date
Florent Daigniere
c56b58149b Further improvements 2023-10-13 09:43:34 +02:00
bors[bot]
bc6a38b655
Merge #2948
2948: Add Traditional Chinese translation file. r=mergify[bot] a=tryweb

## What type of PR?
Localization

## What does this PR do?
Add Traditional Chinese (Taiwan) translation file.

### Related issue(s)

## Prerequisites
None

Co-authored-by: jonathan <tryweb@ichiayi.com>
Co-authored-by: Jonathan Tsai <tryweb@ichiayi.com>
2023-10-13 06:37:24 +00:00
jonathan
7a258c19ad #2948 Add Traditional Chinese translation 2023-10-13 11:08:35 +08:00
Jonathan Tsai
e41c15fea3
Merge branch 'Mailu:master' into master 2023-10-13 11:02:58 +08:00
bors[bot]
62104501d4
Merge #2972
2972: switch to fts-flatcurve r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Switch from fts-xapian to fts-flatcurve. This should address the problem with indexes getting too big and will be the default in dovecot 2.4.

Don't forget to nuke old indexes to reclaim space.

### Related issue(s)
- close #2390
- close #2184
- close #2976

## 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-10-12 18:45:55 +00:00
Florent Daigniere
0a7797e96b Review 2023-10-12 20:42:16 +02:00
bors[bot]
d00c5a44e4
Merge #2979
2979: Enhance RESTful API user retrieval with quota used bytes.  r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Enhance RESTful API user retrieval with quota used bytes.  This is the current size of the user's email box in bytes.

So the API calls for /api/v1/user and /api/v1/user/local@domain.tld now also provide the quota used bytes.

To test. Check the API key in mailu.env (API_TOKEN=MyAPIKey) and then call:

curl -X 'GET' \
  'https://**mydomain.com**/api/v1/user/test%40google.com' \
  -H 'accept: application/json' \
  -H 'Authorization: **MyAPIKey**'

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

## 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-10-11 18:37:48 +00:00
Dimitri Huisman
0026b8db24
Enhance RESTful API user retrieval with quota used bytes. This is the current size of the user's email box in bytes. 2023-10-11 15:49:52 +00:00
Florent Daigniere
054fde8ac1 Tika v1 2023-10-11 15:49:04 +02:00
Florent Daigniere
954fe40134 Towncrier 2023-10-10 15:07:37 +02:00
Florent Daigniere
27e3571908 doc 2023-10-10 15:04:55 +02:00
bors[bot]
d21eb8bea8
Merge #2974
2974: Add support for managing authentication tokens to RESTful API r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Authentication tokens could not be managed yet via the RESTful API. Support for this has been added to the RESTful API. It also contains a small bug fix for updating domains. 

### Related issue(s)
n/a1

## 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-10-10 11:35:20 +00:00
bors[bot]
7e0513bdde
Merge #2975
2975: Forbidden_file_extension.map could not be overridden. r=Diman0 a=Diman0

## What type of PR?

bug fix

## What does this PR do?

Forbidden_file_extension.map could not be overridden. Start.py has been modified to allow this map to be overridden.
Now the instructions on https://mailu.io/master/antispam.html#can-i-change-the-list-of-authorized-file-attachments are valid again.

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

## 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-10-10 11:02:31 +00:00
Dimitri Huisman
0718de824b
Forgot to remove debug logging. Use rfc5737 for IP addresses in documentation. 2023-10-10 10:46:52 +00:00
Dimitri Huisman
16e9d152dd
Forbidden_file_extension.map could not be overridden. 2023-10-10 08:19:36 +00:00
Florent Daigniere
25964b61d5 Add the working command 2023-10-10 09:16:05 +02:00
Florent Daigniere
9ae8715a6a Clarify how one should upgrade 2023-10-10 08:46:13 +02:00
Florent Daigniere
6962b9bcb5 Enable FTS on attachments too 2023-10-10 08:40:33 +02:00
Florent Daigniere
6ba8d62572 Optimize french 2023-10-10 08:20:46 +02:00
Florent Daigniere
5056fa0138 Add fts_filters 2023-10-09 18:32:28 +02:00
Dimitri Huisman
fa2fb1369d
Add changelog entry 2023-10-09 16:23:22 +00:00
Dimitri Huisman
3d9a8bc21f
RESTful API bugfix for domains. Add authentication tokens to API 2023-10-09 16:19:20 +00:00
Florent Daigniere
39af87dff4 Add language stops 2023-10-09 18:02:30 +02:00
bors[bot]
118a91256c
Merge #2973
2973: Second part of #2918 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

we need this in front too

### 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-10-09 15:55:15 +00:00
Florent Daigniere
eb44783eb2 we need this in front too 2023-10-09 17:41:04 +02:00
Florent Daigniere
36236848d2 switch to fts-flatcurve 2023-10-09 17:15:28 +02:00
bors[bot]
fc74d5c996
Merge #2969
2969: Upgrade dovecot: fix proxying ipv6 via xclient r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade dovecot: fix proxying ipv6 via xclient

### Related issue(s)
- close #2918

## 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>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-10-09 15:01:33 +00:00
Florent Daigniere
a0eac6ea16
Update core/dovecot/Dockerfile
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-10-09 16:49:01 +02:00
Florent Daigniere
fce092d4ec Ensure we use the edge community repo too 2023-10-09 16:21:50 +02:00
Florent Daigniere
63a7421009 Ensure that the cache is not used 2023-10-09 15:43:35 +02:00
bors[bot]
098cf110c8
Merge #2970
2970: Fix CI r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

gpg hangs when used with keybox, by creating an empty config dir we ensure it's not enabled by default

### 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-10-09 10:24:06 +00:00
Florent Daigniere
282401e671 Maybe fix CI 2023-10-09 12:13:57 +02:00
Florent Daigniere
ad5b6fe27e Upgrade dovecot: fix proxying ipv6 via xclient 2023-10-09 11:08:04 +02:00
bors[bot]
26e1077bd8
Merge #2950
2950: Upgrade snuffleupagus r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Upgrade snuffleupagus

### 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-10-09 07:24:09 +00:00
bors[bot]
04d69141c3
Merge #2961
2961: Hardened malloc was not disabled for oletools when an CPU with missing flags is used r=Diman0 a=Diman0

## What type of PR?
bug fix

## What does this PR do?
Updates oletools to also disable hardened malloc when used CPU misses flags

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

## 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
- [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>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
2023-10-08 13:14:28 +00:00
Florent Daigniere
a6f57ca3d4 Upgrade snappymail to v2.29.1 2023-10-08 14:58:39 +02:00
Florent Daigniere
037a79206e doh2 2023-10-07 10:55:21 +02:00
Florent Daigniere
12e8041ba6 Doh 2023-10-07 10:25:12 +02:00
Florent Daigniere
92e861d4fa There is no reason not to enable it ourselves. 2023-10-07 10:09:04 +02:00
Florent Daigniere
9e1bf76a0c Maybe fix olefy 2023-10-07 10:03:23 +02:00
Florent Daigniere
dd58d51156 change the logic as discussed 2023-10-07 09:45:59 +02:00
bors[bot]
dd1de62eb0
Merge #2958
2958: Upgrade to alpine 3.18.4 r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade to alpine 3.18.4. This has a newer musl that fixes the DNS issue linked below.

I am not sure whether it would be wise to backport it to stable. We should discuss.

I mark it WIP for now as the mirror-image workflow is broken and CI will fail anyway.

### Related issue(s)
- close #2934
- close #2919

## 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>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2023-10-06 12:50:22 +00:00
bors[bot]
3a196f0466
Merge #2962
2962: Fix letsencrypt on master r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Without this the certificate won't renew

### 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-10-06 12:34:23 +00:00
Florent Daigniere
3985d1d044
clarify 2023-10-06 14:00:58 +02:00
Dimitri Huisman
0379857ab5
Update core/base/libs/socrate/socrate/system.py
Only check for avx2 is required

Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-10-06 13:51:05 +02:00
Florent Daigniere
5230c28713 Fix letsencrypt on master 2023-10-06 13:48:09 +02:00
Dimitri Huisman
e70db935ec
Hardened malloc also requires AVX2 cpu flag 2023-10-06 10:27:31 +00:00
Dimitri Huisman
77c4829401
Hardened malloc was not disabled for oletools when an CPU with missing flags is used 2023-10-06 09:48:50 +00:00
Dimitri Huisman
096c0be4f7
Rspamd executable was moved to /usr/bin 2023-10-05 18:41:54 +00:00
Dimitri Huisman
ee7bb53366
Fix extracting of snappymail archive not working. 2023-10-05 18:12:48 +00:00