1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-17 01:32:29 +02:00
Commit Graph

4451 Commits

Author SHA1 Message Date
2ac8ba24b6 Make the journald container tag changes consistent 2023-04-03 17:27:30 +00:00
96211df0c3 Update releases.rst 2023-04-03 18:02:03 +02:00
353a7d4241 Update releases.rst 2023-04-03 17:47:39 +02:00
453acad21f Initial changes for Mailu 2.0 release 2023-04-02 16:45:42 +00:00
c0f1f58f55 No need for that 2023-04-02 18:03:44 +02:00
3b6e1a0304 s/docker-/mailu-/g 2023-04-02 17:24:34 +02:00
7dc2912770 Update core/admin/mailu/limiter.py
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-04-02 17:11:16 +02:00
920f817009 LOG_DRIVER just doesn't work 2023-04-02 17:09:43 +02:00
f9939eef94 This won't work 2023-04-02 17:01:25 +02:00
52de10a5e5 resets don't need the current password 2023-04-02 16:41:12 +02:00
616e4a7734 Ensure we always ask for the existing password before allowing a change 2023-04-02 16:35:15 +02:00
795a7bafa2 should never happen but heh 2023-04-01 12:22:44 +02:00
04a2cdab2f Only account for distinct attempts in rate limits 2023-04-01 11:33:02 +02:00
be5214bb68 Merge #2725
2725: Fix access to radicale r=mergify[bot] a=Diman0

## What type of PR?

bug-fix

## What does this PR do?

Fix the access issue to radicale. I did not create a newsfragment, because this works fine on 1.9. This was only broken on master. 

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

## 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: Dimitri Huisman <diman@huisman.xyz>
2023-03-29 06:35:39 +00:00
d6a8c63955 Merge #2724
2724: Mirror alpine image to ghcr.io/mailu docker org to prevent docker pull rate limit r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Mirror alpine image to ghcr.io/mailu docker org to prevent docker pull rate limit. Use mirrored ghcr.io/mailu/alpine image as base image.

The new github action will mirror/copy the image every day at 03:00h. It can also be run manually to immediately sync the image.

### 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: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-03-29 06:24:13 +00:00
03d05c7927 Remove not needed mailu.env file. 2023-03-28 20:22:28 +00:00
36069e3e06 Fix access to radicale 2023-03-28 20:01:43 +00:00
57a42ff3c8 Update instructions for syncing alpine image 2023-03-28 21:04:22 +02:00
c829cd90a0 Adapt mirror.yml that it can only be run manually
When starting it manually, you can provide the tag that must be synchronised
2023-03-28 21:02:57 +02:00
250a200edb Mirror alpine image to ghcr.io/mailu docker org to prevent docker pull rate limit.
Use mirrored ghcr.io/mailu/alpine image as base image.
2023-03-28 18:23:35 +00:00
83c44740f6 Merge #2717
2717: nginx: Allow HTTP and/or TCP ports to accept the PROXY protocol r=mergify[bot] a=OdyX

This is a feature proposal, as a followup to close #2300, with a cleaner split proposal.

Co-authored-by: Didier 'OdyX' Raboud <odyx@raksha.ch>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Didier Raboud <odyx@debian.org>
2023-03-28 15:52:25 +00:00
e00c3b625f Merge #2722
2722: L10n: small fr updates r=mergify[bot] a=OdyX

This is a tiny french translation bugfix and improvement; the most irritating one is the first non-plural.

Co-authored-by: Didier 'OdyX' Raboud <odyx@raksha.ch>
2023-03-28 15:39:40 +00:00
dcd3a45dba nginx with proxy protocol: clarify documentation 2023-03-28 17:38:20 +02:00
cd7dc7baea nginx behind proxy: provide a healthcheck for localhost over port 10204 2023-03-28 14:13:59 +02:00
e31dc0eb90 l10n fr: uppercase accented 'status' 2023-03-28 13:22:56 +02:00
45f1a4b5f7 l10n fr: add DNS TLS and autoconfig translations 2023-03-28 13:22:41 +02:00
4d6457af1a l10n fr: fix Relayed domains' plural 2023-03-28 13:22:23 +02:00
2e40467376 nginx with PROXY protocol for mail; only set_real_ip_from in 'all' and 'mail' alternatives 2023-03-28 09:09:11 +02:00
c833ef1a47 nginx behind proxy: attackers are not only men 2023-03-28 09:09:11 +02:00
3877635502 nginx with PROXY protocol; much stronger wording 2023-03-28 09:09:09 +02:00
991dd647cb nginx: fix proxy settings when PROXY protocol is used
Tested-By: Didier Raboud <odyx@raksha.ch>
2023-03-28 09:08:39 +02:00
d9ed3cd179 nginx: Allow http and/or mail servers to accept the PROXY protocol
See #2300 for the initial proposal
2023-03-28 09:08:38 +02:00
54b89d1efc Fix a later/latter typo 2023-03-28 09:08:38 +02:00
275112cfff Merge #2721
2721: Fix ci arm buildcache r=mergify[bot] a=Diman0



## What type of PR?

Fix/enhancement CI

## What does this PR do?
Make sure that the arm build also uses build-cache. Remove the step of building the base image. This should not be required. When a main image is build, it will first try to build the base target. This build cache is stored in build cache of the image itself. This cache is re-used on the next workflow.

We can confirm this by doing a second bors try after the first bors try has succeeded.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2023-03-27 16:35:22 +00:00
30dfdb4072 Make sure that the arm build also uses build-cache.
Remove the step of building the base image. This is not required.
when it is build for the first time for an image, it will be part of
the build cache of that image.
2023-03-27 13:21:12 +00:00
b243ea084d Merge #2719
2719: Introduce connection string (database url) for roundcube & simplify setup r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
As discussed in earlier Mailu meetings (#1582), we want to simplify configuring Mailu and make it more user-friendly. Especially the last part is an important mission statement of the Mailu project. 

This PR will remove the choice of what DB to use from setup. New users are guided now to make the correct choice of using SQLite.

For simplifying the configuration, all the database environment variables have been removed and replaced with a single connection string environment variable. 

For backwards compatibility, the old *DB_* setting can still be used. This is to make sure that master does not immediately break for all users. After X months after the next Mailu release, we can remove the old settings from the software. This provides a transition period. 

### Related issue(s)
- #2533

## 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>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-03-26 16:59:12 +00:00
5790b0a84b Rephrase the doc 2023-03-26 18:55:55 +02:00
6d31831cf5 Sigh. Forgot to actually save the modified requirements-dev.txt file.
Remove the pinned version for requirements for dev.
The blocking issue is resolved, so no need to pin the old version.
2023-03-26 13:28:40 +00:00
709edb522b Introduce connection string (database url) for roundcube.
Remove database choice from setup.
Remove the old *DB_* database env variables from the documentation.
The env vars are deprecated now. They will be removed after the upcoming
Mailu release.
2023-03-26 12:21:00 +00:00
6f3a01e31c Merge #2712
2712: Build multi-arch images, retry mechanism for builds, improved releases r=mergify[bot] a=Diman0

## What type of PR?

feature

## What does this PR do?
Switch to building multi-arch images. The images build for pull requests, master and production are now multi-arch images for the architectures:
* linux/amd64
* linux/arm64/v8
* linux/arm/v7

Enhance CI/CD workflow with retry functionality. All steps for building images are now automatically retried. If a build temporarily fails due to a network error, the retried step will still succeed.

Provide a changelog for minor releases. The github release will now:
* Provide the changelog message from the newsfragment of the PR that triggered the backport.
* Provide a github link to the PR/issue of the PR that was backported.

### Related issue(s)
- #1582
- #1200
- #2215
- closes #2653

## 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>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-03-23 14:51:59 +00:00
46e803fdff Update setup.rst 2023-03-23 15:50:27 +01:00
61a40e203a Update docs/setup.rst 2023-03-23 15:49:43 +01:00
cb5e0934cb Update docs/setup.rst 2023-03-23 15:47:43 +01:00
c9df6161ba Update docs/compose/requirements.rst 2023-03-23 15:45:42 +01:00
8391936dc2 Update docs/compose/requirements.rst 2023-03-23 15:45:31 +01:00
a2c811d28a Prevent creation of unknown/unknown arch.
Set more forgiving timeouts for scenario where image is build without cache.
Set better readable tags.
2023-03-23 07:03:24 +00:00
1d2053204a Also forgot the --push argument. 2023-03-21 15:22:45 +00:00
64a132fdd9 Forgot to change the target. 2023-03-21 15:12:43 +00:00
5bd528319b Provide a changelog for minor releases. The github release will now:
* Provide the changelog message from the newsfragment of the PR that triggered the backport.
* Provide a github link to the PR/issue of the PR that was backported.

Switch to building multi-arch images. The images build for pull requests, master and production
are now multi-arch images for the architectures:
* linux/amd64
* linux/arm64/v8
* linux/arm/v7

Enhance CI/CD workflow with retry functionality. All steps for building images are now automatically
retried. If a build temporarily fails due to a network error, the retried step will still succeed.
2023-03-21 14:47:37 +00:00
5044c78740 Merge #2709
2709: Validate proxy ip with PROXY_AUTH_WHITELIST r=mergify[bot] a=Diman0

## What type of PR?

bug fix

## What does this PR do?
The Proxy code validated the real client ip against the proxy auth whitelist. It should be the proxy ip that is checked. That is changed with this PR.

### Related issue(s)
- closes #2708
- #2692

## 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>
2023-03-18 13:26:59 +00:00