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

4843 Commits

Author SHA1 Message Date
Florent Daigniere
32f599ce42 Add the network diagram 2023-10-20 09:39:25 +02:00
Florent Daigniere
af511308c9 Run aspell 2023-10-20 09:39:16 +02:00
bors[bot]
efcf7a1581
Merge #2990
2990: Fix letsencrypt on master r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix letsencrypt on master; without this renewals will fail

### Related issue(s)
- close #2851
- close #2966

## 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-18 08:55:49 +00:00
Florent Daigniere
a5d8a2555a Modify ISSUE_TEMPLATE.md 2023-10-17 14:17:20 +02:00
Florent Daigniere
055b216627 log.critical() where useful 2023-10-17 14:05:08 +02:00
Florent Daigniere
9f93ed6593 Fix letsencrypt on master 2023-10-17 13:58:38 +02:00
bors[bot]
d0d4876a85
Merge #2982
2982: Switch to upstream's clamav image r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Switch to upstream's clamav image. The only downside is that it doesn't support armv7... but odds are it won't have enough RAM anyway.

Why do we want this?
- faster build times
- will be easier to upgrade
- less maintenance required for us
- it may fix the CI tests failing because of clamav/EICAR not getting caught
- it will save bandwidth (as we won't re-download the definitions from fresh: they are in the base image)
- it puts clamav on its own network (security)

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

## 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-17 09:41:49 +00:00
bors[bot]
0441903361
Merge #2981
2981: Further improvements to fts r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

- update instructions
- set a timeout on search: if the indexes are not up to date, it will take at most 50s to fail
- limit parallelism to 1 (is that what we want?)
- switch to a different image that has ARM support
- ensure that journald logs the output of tika and oletools
- update the upgrade instructions to ensure one doesn't DoS his server while re-indexing
- add a healthcheck for tika

### 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-17 09:31:48 +00:00
bors[bot]
ab59c32296
Merge #2985
2985: Roundcube 1.6.4 r=nextgens a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Upgrade roundcube to 1.6.4 to fix an XSS, clarify what is supported.

### 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-16 14:20:18 +00:00
Florent Daigniere
2a570d0f6f Roundcube 1.6.4 2023-10-16 13:38:49 +02:00
Florent Daigniere
98e1142bea update the github action too 2023-10-13 16:56:12 +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
Florent Daigniere
0be09411ab Just make it work by default for everyone 2023-10-13 13:59:21 +02:00
Florent Daigniere
371dea7c9b ghcr.io/paperless-ngx/tika:2.9.0-full even 2023-10-13 13:31:36 +02:00
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