Commit Graph

3594 Commits (7f6d51904bf546473c58ec3bfb90d19d5ac16ead)
 

Author SHA1 Message Date
kaiyou 7f6d51904b
Remove wrong dependency to importlib
kaiyou ef344c62f6
Add automated tests
kaiyou 74a3e87de3
Fix a couple syntax typos
kaiyou 351b05b92d
Allow jinja to load from file path or handle
kaiyou 0370b26f3e
Initial commit
Alexander Graf ce9d886195
Merge pull request from ghostwheel42/add_gitignore
Add .gitignore file
kaiyou dbec5f0a6c
Switch to setuptools and bump the version
kaiyou 3d0d831c76
Version 0.2.4
kaiyou e2979f9103
Merge pull request from Nebukadneza/fix_py37
Don’t use deprecated now-keyword "async"
kaiyou 6fadd39aea
Merge pull request from Nebukadneza/add_key_url_quoting
URL-Quote the key in HTTP requests
kaiyou 080e76f972
Merge pull request from rakshith-ravi/patch-1
Fixed a small typo
kaiyou 23e5aa2e05
Escape strings properly in the Dovecot dict dialect
kaiyou 814bb1f36d
Properly miss when the web api returns 404
kaiyou d2b98ae323
Update to 0.2.2
kaiyou 81d171f978
Add some debug logging to the table class
Pierre Jaury d640da8787
Include package data in the package
Pierre Jaury c5fa0280a0
Add support for dovecot dict_set operations
Pierre Jaury eb6b1866f1
Specify dependencies in the setup script
Pierre Jaury b1b0aeb69d
Initial commit
Alexander Graf b501498401
Update .gitignore file
Alexander Graf 9fe452e3d1
Use base image when building core images
Alexander Graf 5e552bae69
Add base image
Alexander Graf 295d7ea675
Move assets to own Dockerfile
bors[bot] e600f20762
Merge
2468: Ensure that Mailu keeps working even if it can't obtain a certificate from LE r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Ensure that Mailu keeps working even if it can't obtain a certificate from letsencrypt for one of the HOSTNAMES

Without this TLS configuration would fail and Mailu would operate without TLS completely.

I haven't tested it but thought this used to work previously... maybe certbot has changed something

### Related issue(s)
- closes 

## 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: Florent Daigniere <nextgens@freenetproject.org>
Florent Daigniere 1630a18dd8 Ensure that Mailu keeps working even if it can't obtain a certificate from letsencrypt for one of the HOSTNAMES
bors[bot] 1cdc4e76b4
Merge
2455: Fix/missing tanslations r=mergify[bot] a=DjVinnii

## What type of PR?

Fix/Enhancement

## What does this PR do?
Add missing Dutch translation, as well as the German translation for `Start of vacation`

### Related issue(s)
- closes 

## 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: Vincent Kling <v.kling@vinniict.nl>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
bors[bot] b5e7cad2d3
Merge
2448: Give a chance to rspamd's bayes classifier r=mergify[bot] a=nextgens

## What type of PR?

bug-fix + documentation

## What does this PR do?

As pointed out in , the bayesian filter of rspamd doesn't get any chance to run as ``min_learns`` is set to 200 and we never teach it any HAM.

This PR enables rspamd's autolearn feature, that will "reinforce" good/bad by learning from the scoring of other modules. It ensures both that we will eventually reach the 200 mark but also that the data stays fresh.

I've also taken this opportunity to update the documentation & FAQ accordingly, to ensure that users teach their HAM & SPAM to both the fuzzy and bayes classifiers.

Thank you to [woj-tek](https://github.com/woj-tek) for doing the ground work on this.

### Related issue(s)
- closes 

## 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: Florent Daigniere <nextgens@freenetproject.org>
Dimitri Huisman 5b21fae968 Add missing Dutch translation
Alexander Graf 7682b4fa7f
Fix typo and translate Website with Webseite
Alexander Graf ffa7d6c565
Updated german translation
Vincent Kling a02a2c26a7 Fix typo
Vincent Kling 486dd06ca8 Add missing German translation for Start of vacation
Vincent Kling 84f60116ea Add missing Dutch translations
bors[bot] ba27cdb3a8
Merge
2450: Introduce TLS_PERMISSIVE for port 25 r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

This new advanced setting to harden cipher configuration on port 25. Changing the default is strongly discouraged, please read the documentation before doing so.

This specific feature has been requested numerous times... and while it's a terrible idea, I'm getting tired of explaining why every time. Those that would rather go through the fun of tracing missing emails tomorrow than picking a fight with their auditor today can enable it.

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

## 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: Florent Daigniere <nextgens@freenetproject.org>
Florent Daigniere 85a2aafcdf ghostwheel42's suggestions
Florent Daigniere 9a38a22df3 typo
Florent Daigniere 6a0e881522 Introduce TLS_PERMISSIVE for port 25
This new advanced setting to harden cipher configuration on port 25. Changing the default is strongly discouraged, please read the documentation before doing so.
Florent Daigniere 256fa5c90c doh
Florent Daigniere 7272a99d18 fuzzy matching and bayes are two different things
document accordingly
Florent Daigniere 5d09390147 enable rspamd's autolearn feature
bors[bot] 48e1e91a2c
Merge
2444: Remove POD_ADDRESS_RANGE r=mergify[bot] a=DjVinnii

## What type of PR?

Removal

## What does this PR do?

As discussed in  `POD_ADDRESS_RANGE` should be removed in favor of  `SUBNET`. This PR removes the few references that are still left.

### Related issue(s)
- closes 

## 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: Vincent Kling <v.kling@vinniict.nl>
Vincent Kling bab3f0f5a4 Remove POD_ADDRESS_RANGE
bors[bot] cdb4833e77
Merge
2443: Use RUNNER_TEMP for storing cache files. r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Use RUNNER_TEMP for storing cache files in workflow. This should prevent issues on the self-hosted arm runner. Each runner will store cache files in a runner unique temp folder. This temp folders is cleared at the beginning and the end of the job.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
Florent Daigniere 254277a829
runner.temp is what should be used
Dimitri Huisman 22fe65e4d8 Use RUNNER_TEMP for storing cache files.
Dimitri Huisman 56d0e795eb
Push arm images via arm self-hosted runner
bors[bot] af79ade594
Merge
2441: Switch to ARM64 self-hosted for ARM build r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?

Switch to ARM64 self-hosted runner for building ARM/v7 and ARM64 images. Depending on the performance we could introduce tests as well in a new PR.

Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
Dimitri Huisman d76d3b4959 Switch to ARM64 self-hosted for ARM build
bors[bot] 7ed1da5bf1
Merge
2440: The ARM wheels don't work r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

Remove piwheels to ensure we always rebuild on ARM

### Related issue(s)
- closes 
- 


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Florent Daigniere 35a794cfd6 The ARM wheels don't work