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

4797 Commits

Author SHA1 Message Date
bors-mailu[bot]
fd66c76c83
Merge #3033
3033: Enable snowball on FTS r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Enable [snowball](http://snowball.tartarus.org/algorithms/english/stemmer.html), a filter that will significantly cut down the size of FTS indexes.

It looks like the packages for aarch64 haven't been built yet... but this works on x64_86.
Don't unblock as long as  https://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/dovecot-fts-flatcurve-0.3.4-r3.apk is 404

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

## 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-11-07 15:07:07 +00:00
Dimitri Huisman
eb65e5eea0
Add extra server-side validation of setup form values
Remove deprecated database_flavor JavaScript functionality
Remove statistics question which has never been implemented
2023-11-07 14:14:27 +00:00
Dimitri Huisman
02d5202c68
Process ghostwheel's suggestion. By default hide the container div element and
show the no-javascript div element. Via JavaScript hide the no-java div element
and show the container div element.
2023-11-07 10:49:59 +00:00
Florent Daigniere
80d03ae60b doh2 2023-11-07 09:42:43 +01:00
Florent Daigniere
239ef0092e Doh 2023-11-07 09:23:22 +01:00
bors-mailu[bot]
b7ca4eb9f0
Merge #3032
3032: Update all python dependencies r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Updates all dependencies. Unfortunately multiple things were deprecated such as
* `@babel.localeselector` decorator
* app.app.session_cookie_name
* app.before_first_request

Unfortunately flask_debugtoolbar is not compatible with the updated version of flask.
Flask-SQLAlchemy cannot be updated to 3.0.5 because this introduces an error/bug.

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

- [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-11-06 14:48:09 +00:00
Dimitri Huisman
7b3f08ac28
Merge pull request #3041 from ctrl-i/roundcube-1.6.5
SECURITY FIX: Update to Roundcube 1.6.5
2023-11-06 13:09:51 +01:00
ctrl-i
3a3f6d0694
Update Dockerfile 2023-11-06 07:56:13 +00:00
ctrl-i
b74cd17bdd
Upgrade to roundcube 1.6.5 (fix XSS) 2023-11-06 07:55:23 +00:00
bors[bot]
a69071628f
Merge #3023
3023: Add zonefile download r=mergify[bot] a=MajliTech

## What type of PR?

Feature

## What does this PR do?
On /admin/domain/details/{domain}, adds a button to redirect to /admin/domain/details/{domain}/zonefile, which downloads a zonefile for this domain.

closes #2618

## 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: Miłosz <hello@majlitech.pl>
Co-authored-by: Miłosz Thiede <git@majlitech.pl>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-11-02 16:01:03 +00:00
Alexander Graf
901e4a772d
Remove surplus double quote 2023-11-02 15:58:15 +01:00
Alexander Graf
fa8e8f4f73
Rename 3008.feature to 3023.feature 2023-11-01 18:02:40 +01:00
Alexander Graf
e77b3f0a36
Update newsfragment 2023-11-01 18:01:39 +01:00
Florent Daigniere
fe9b16142f Same for snappymail 2023-11-01 11:04:01 +01:00
Florent Daigniere
d4116cf3b3 When FTS is enabled this is cheap 2023-11-01 10:54:53 +01:00
Florent Daigniere
a918cdb6bd Increase the timeout of oletools to match clamav's 2023-11-01 08:19:25 +01:00
Florent Daigniere
b5ecaa278e Enable snowball 2023-11-01 08:12:03 +01:00
Dimitri Huisman
bf79df5c80
Add changelog entry 2023-10-31 20:02:34 +00:00
Dimitri Huisman
5bee3c031b
Update all dependencies.
All changes were recreated due to deprecated functionalities introduced
by updating the dependencies
2023-10-31 19:55:58 +00:00
Dimitri Huisman
a9fa592868
Remove reg exp check for IPv6. This is now handled server-side. 2023-10-31 13:52:00 +00:00
bors[bot]
9de2a082c6
Merge #3029
3029: Update dependencies docs image and fix non-working badge r=Diman0 a=Diman0

## What type of PR?

small bug-fix and update

## What does this PR do?
Updates the dependencies and fixes the non-working badge which pointed to the deprecated Mailu docker repo. The badge is changed to point to the Mailu releases page.

### Related issue(s)
n/a

## 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
- [ n/a] 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-31 13:16:47 +00:00
Dimitri Huisman
ac9a8a458f
Increase connect timeout for clamav (hopefully this fixs CI filter test) 2023-10-31 12:49:05 +00:00
Dimitri Huisman
49f3981d60
Also check server-side subnet6 and bind6 2023-10-31 10:25:28 +00:00
Dimitri Huisman
d1a2a4d15e
Check IPv4 and subnet server side, flash message if these are invalid. 2023-10-31 09:54:13 +00:00
Dimitri Huisman
130593cba5
Update dependencies docs image and fix non-working badge 2023-10-31 07:59:12 +00:00
Alexander Graf
16af54b15d
Only use split key in zonefile, not in gui/api/export 2023-10-30 16:00:43 +01:00
Dimitri Huisman
e332a7de6a
Refine subnet check and improve hint for defining subnet. 4th number is always 0 with a subnet. 2023-10-29 16:47:35 +00:00
Dimitri Huisman
67d11c47c8
Added checks to SETUP to make sure JavaScript is enabled and that all JS files could be loaded when loading the site page.
The setup site malfunctions if this is not the case.
Regular expression for checking the Mailu storage path was invalid.
2023-10-29 12:55:40 +00:00
Miłosz Thiede
a27845b213 update docs 2023-10-29 11:53:31 +01:00
Miłosz Thiede
9905806c97 create a button 2023-10-29 11:50:43 +01:00
Miłosz Thiede
1504483677 make it save as a file, name {domain}-zonefile.txt 2023-10-29 11:50:36 +01:00
Miłosz Thiede
83f3b7722c add a button to download zonefile 2023-10-29 11:30:06 +01:00
Miłosz Thiede
0718edcba9 Create the button for zonefile downloading 2023-10-29 11:24:37 +01:00
Miłosz Thiede
43dc61f415 switch "downzonefile" to "zonefile" 2023-10-29 11:23:22 +01:00
Miłosz
1b175e48d4 testing: Add "download zonefile" button 2023-10-29 09:36:16 +00:00
bors[bot]
4e351e1dd4
Merge #3014
3014: Update issue template and faq r=mergify[bot] a=Diman0

## What type of PR?

documentation

## What does this PR do?
We have opened github discussions. Github discussions must be used for anything but issues. The FAQ and issue template have been updated that github issues are only meant for bug reports that follow the issue template. Anything else should be posed on github discussions.

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

- [n/a] In case of feature or enhancement: documentation updated accordingly
- [n/a] 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-28 12:12:09 +00:00
bors[bot]
d20fc63a50
Merge #3010
3010: Long term solution for helm-charts r=mergify[bot] a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Long term solution for helm-charts as agreed with `@fastlorenzo` 

### 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>
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
2023-10-28 12:05:05 +00:00
Florent Daigniere
eb110c8431 master uses SSO 2023-10-28 14:02:06 +02:00
Dimitri Huisman
d16073ab10
Update faq.rst that anything but bugs are handled via github discussions 2023-10-28 11:57:54 +00:00
Dimitri Huisman
1e4b27b056
Update issue template.
From now on the issues section is only used for bug reports that follow the issue template.
All other topics (including feature requests) are discussed on the github discussions section of the project.
2023-10-28 11:44:01 +00:00
Florent Daigniere
82e0951e59
Update core/admin/start.py
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2023-10-28 11:23:46 +02:00
bors[bot]
23b0bfd43b
Merge #3012
3012: Give more time to clamav in CI r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

In the CI, give time to clamav and oletools to start-up.

Without this we see failures where rspamd gives up before they are up and EICAR is let through

### 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-28 08:08:51 +00:00
Florent Daigniere
6dd5b559db Give more time to clamav 2023-10-28 09:55:45 +02:00
Florent Daigniere
a97d3eaebe Long term solution for helm-charts 2023-10-28 09:36:30 +02:00
bors[bot]
d0c6b34002
Merge #3008
3008: Fix issues with log filter and remove POSTFIX_LOG_FILE r=mergify[bot] a=Diman0

## What type of PR?

bug-fix

## What does this PR do?
Fixed log filter not filtering out log messages for dovecot/nginx/postfix.
Fixed postfix not logging to standard out.
Fixed not all containers logging to journald.
Removed POSTFIX_LOG_FILE functionality. A new FAQ entry is created that documents how to log to file with journald & rsyslog.

Thank you `@Lex999` for providing the sample code in #2839 for how to capture the standard out of called sub processes.

### Related issue(s)
- closes #2839
- closes #2819 
- closes #2939 

## 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-27 20:49:25 +00:00
bors[bot]
48d891f5ab
Merge #3003
3003: Update documentation r=nextgens a=nextgens

## What type of PR?

documentation

## What does this PR do?

- Run aspell
- Commit an updated network diagram

### 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-27 20:24:15 +00:00
bors[bot]
26e5618cbc
Merge #3007
3007: Introduce AUTH_REQUIRE_TOKENS r=nextgens a=nextgens

## What type of PR?

enhancement

## What does this PR do?

Introduce AUTH_REQUIRE_TOKENS to enforce that thick clients use tokens instead of passwords

### 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-27 20:15:12 +00:00
bors[bot]
7f84516108
Merge #3009
3009: fix CI on master r=mergify[bot] a=nextgens

## What type of PR?

bug-fix

## What does this PR do?

fix CI on master

### 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-27 19:50:51 +00:00
Florent Daigniere
3ef504a9bb duh 2023-10-27 19:56:01 +02:00
Dimitri Huisman
60b9ff0090
Fixed log filter not filtering out log messages for dovecot/nginx/postfix.
Fixed postfix not logging to standard out.
Fixed not all containers logging to journald.
Removed POSTFIX_LOG_FILE functionality. Added documentation on how to achieve the same (log to file) via journald & rsyslogd (see new FAQ entry 'How can I view and export the logs of a Mailu container?').
2023-10-27 14:10:13 +00:00