1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-15 01:24:34 +02:00
Commit Graph

4084 Commits

Author SHA1 Message Date
50fc1cb8b3 Move version style to app.css 2023-01-30 10:49:11 +01:00
8f425ce081 Move unit to data-attr and fix defaulting to 1 2023-01-30 10:49:11 +01:00
f00059d10c Show mailu version in web interface after logging in 2023-01-30 10:49:11 +01:00
8b0b87984d Duh. Fix macros call 2023-01-30 10:49:10 +01:00
2fa0461803 Fix sliders 2023-01-30 10:49:10 +01:00
31e974f829 Add edit button to admin and manager lists 2023-01-30 10:49:10 +01:00
3af3aa9395 Show quota in domain list 2023-01-30 10:49:10 +01:00
65595d139a Set default sort order for all lists 2023-01-30 10:49:10 +01:00
3c9c01f8eb Add style for responsive design 2023-01-30 10:49:09 +01:00
3a1cecbe21 Merge #2636
2636: Fix out of office replies r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Fix sieve/out of office replies by adding SUBNET to rspamd's local_networks.

Webmails are now on a different subnet.

### 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-01-30 09:32:18 +00:00
ae7061c561 Doh 2023-01-30 10:29:37 +01:00
8cffee55be Merge #2637
2637: Upgrade to alpine 3.17.1 r=mergify[bot] a=nextgens

New openssl, new dovecot

## What type of PR?

enhancement

## What does this PR do?

Upgrade to alpine 3.17.1; new openssl + new dovecot

### 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-01-30 09:13:41 +00:00
802ab533d2 Upgrade to alpine 3.17.1
New openssl, new dovecot
2023-01-29 18:13:49 +01:00
61f6e6018b towncrier 2023-01-29 15:48:50 +01:00
e326393f03 fix ooo 2023-01-29 15:47:19 +01:00
9bd76536a1 Merge #2630
2630: Improved IPv6 support #2 r=mergify[bot] a=ghostwheel42

## What type of PR?

enhancement, bug-fix, documentation

## What does this PR do?

This is based on #2272 and adds some more fixes.

### Related issue(s)
- closes #1789
- closes #2392


Co-authored-by: Chris <chris@niduroki.net>
Co-authored-by: Chris Schäpers <chris@niduroki.net>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-01-29 12:17:00 +00:00
21ac230cce Make olefy.py listen on all interfaces 2023-01-28 19:40:26 +01:00
84d156d02f Add towncrier file 2023-01-28 19:40:26 +01:00
25635396e7 Bind webdav to port only 2023-01-28 19:40:26 +01:00
120a7e8368 Still prefer docker-ipv6nat 2023-01-28 19:40:26 +01:00
842be9b7c3 Skip listen to v6 when SUBNET6 is not set 2023-01-28 19:40:23 +01:00
1ad1d8d95d Rewrite generation of gunicorn cmdline 2023-01-28 19:39:40 +01:00
7cc5d1f756 Update documentation to reflect ip6tables support being experimental 2023-01-28 19:39:40 +01:00
8b1eb020e2 Put IPv6 address in brackets 2023-01-28 19:39:39 +01:00
35331a4295 Make gunicorn IPv6 conditional
Only listen on [::]:80 in case SUBNET6 is defined, otherwise do the normal :80
2023-01-28 19:39:39 +01:00
9f6848110a Make gunicorn listen on ipv6 2023-01-28 19:39:39 +01:00
e1a85a450f Merge #2634
2634: Upgrade webmails r=mergify[bot] a=nextgens

## What type of PR?

Enhancement

## What does this PR do?

Upgrade webmails: snappymail to 2.25.0, roundcube to 1.6.1 and carddav to 5.0.1

### 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-01-28 18:25:05 +00:00
926570f1ca Need this too 2023-01-28 18:30:33 +01:00
9803c51d55 Use a hostname 2023-01-28 18:23:10 +01:00
6533f41f48 Trust the IP address from the local subnet
This will only work when SUBNET autodetection is merged
2023-01-28 17:37:16 +01:00
760ec301e3 harden the trusted hosts 2023-01-28 17:22:52 +01:00
9d2046f43f Upgrade webmails 2023-01-28 16:59:09 +01:00
db2a490256 Merge #2633
2633: Don't apply antispoof rules on locally generated emails r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Don't apply antispoof rules on locally generated emails; This was breaking the auto-responder and sieve rules.

### 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-01-28 15:05:38 +00:00
3ffe1d2a9e Merge #2606
2606: Modify the healtchecks to make them disapear from the logs. r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Modify the healtchecks to make them disapear from the logs.
This is not perfect...
- dovecot now complains about waitpid/finding a new process
- postfix is still regularly pinging rspamd / his milter and that generates a few lines worth of logs each time.

### 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-01-28 13:29:20 +00:00
46f05cb651 Merge branch 'master' of https://github.com/Mailu/Mailu into reduce-logging 2023-01-28 14:28:26 +01:00
5304311e0e Doh 2023-01-28 14:14:38 +01:00
36623188b5 Don't apply antispoof rules on locally generated emails 2023-01-28 14:12:14 +01:00
179c624116 Merge #2631
2631: Restful api finishing touches r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Some finishing touches for the restful api.

- Make the API configurable via the setup utility.  
  - Configured exactly the same as the ADMIN and WEBMAIL. 
- We have a single config (API) that configures whether it is exposed (via front). Just like ADMIN. The API is always reachable by directly connecting to the admin container.
- API_TOKEN does not enable/disable the API anymore. When it is not configured, an error is returned (via the internet browser) that the API_TOKEN must be configured in mailu.env.
- Fix some small bugs in the setup utility ( selecting none in the dropdown boxes, now correctly changes the config)
- Update Flask-RestX to 1.0.5. This resolves the deprecation warnings introduced by Flask-RestX.

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

- [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-01-27 18:46:57 +00:00
8cb7265eb2 By default disable the API in the setup utility.
Generate a sample token value for API_TOKEN.
Fix small rendering issue when API was disabled in setup.
2023-01-27 13:17:36 +00:00
43e500faf5 Merge #2628
2628: Set default for FETCHMAIL_ENABLED r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

Set the default for FETCHMAIL_ENABLED to true in the admin container.
This keeps existing functionality for people upgrading without re-creating the `mailu.env`.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-01-27 07:53:10 +00:00
02c4862427 Enable fetchmail for fetchmail test case 2023-01-25 20:22:38 +01:00
18b900699c Bump version of Flask-RESTX to 1.0.5.
This resolves all deprecation warnings caused by Flask-RESTX.
2023-01-25 16:12:14 +00:00
d6e7314f05 Make API configurable via the setup utility
Fix some small bugs in the setup utility
Improve documentation on the API.
2023-01-25 15:30:25 +00:00
cc6c808838 Merge #2604
2604: Really fix creation of deep structures using import in update mode r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

Fix creation of deep structures using import in update mode

### Related issue(s)

- closes #2493


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-01-25 13:04:01 +00:00
c4ca1cffaf Set default for FETCHMAIL_ENABLED 2023-01-25 12:20:17 +01:00
5c968256e6 Really fix creation of deep structures using import in update mode 2023-01-25 10:34:44 +01:00
151601744f Merge #2627
2627: Add SUBNET6 to places where SUBNET is used r=nextgens a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

Also add SUBNET6 where SUBNET is used.

Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-01-24 16:58:04 +00:00
6d994525c4 Merge #2625
2625: Disable fetchmail r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

Only show "fetched accounts" button in user list when fetchmail feature is enabled.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-01-24 11:34:44 +00:00
10562233ca Add SUBNET6 to places where SUBNET is used 2023-01-24 12:15:36 +01:00
7e60ba4e98 Merge #2613
2613: Enhance network segregation r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

- put radicale and webmail on their own network: this is done for security: that way they have no privileged access anywhere (no access to redis, no access to XCLIENT, ...)
- remove the EXPOSE statements from the dockerfiles. These ports are for internal comms and are not meant to be exposed in any way to the outside world.

### Related issue(s)
- #2611

## 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-01-24 09:28:29 +00:00