1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-01-24 12:47:05 +00:00
Commit Graph

2102 Commits

Author SHA1 Message Date
Teal Dulcet
b412e7b4ba Fixed UP015 (redundant-open-modes): Unnecessary open mode parameters 2025-01-12 05:50:24 -08:00
Teal Dulcet
11899920b7 Fixed FURB110 (if-exp-instead-of-or-operator): Replace ternary if expression with or operator 2025-01-12 05:50:24 -08:00
Teal Dulcet
93099ce8d8 Fixed UP032 (f-string): Use f-string instead of format call 2025-01-12 05:50:24 -08:00
Teal Dulcet
8a9d137dd3 Fixed FURB142 (for-loop-set-mutations): Use of set.add() in a for loop 2025-01-12 05:50:23 -08:00
Teal Dulcet
3646227873 Fixed SIM101 (duplicate-isinstance-call): Multiple isinstance calls for pem, merge into a single call 2025-01-12 05:50:23 -08:00
Teal Dulcet
f53679d561 Fixed PGH004 (blanket-noqa): Use a colon when specifying noqa rule codes 2025-01-12 05:50:23 -08:00
Teal Dulcet
9c7e329bd7 Fixed RUF031 (incorrectly-parenthesized-tuple-in-subscript): Avoid parentheses for tuples in subscripts 2025-01-12 05:50:23 -08:00
Teal Dulcet
58b9a59114 Fixed RUF039 (unraw-re-pattern) 2025-01-12 05:50:22 -08:00
Teal Dulcet
d27797b44b Fixed RET507 (superfluous-else-continue): Unnecessary elif after continue statement 2025-01-12 05:50:22 -08:00
Teal Dulcet
acef64b019 Fixed F401 (unused-import): contextlib imported but unused 2025-01-12 05:50:22 -08:00
Teal Dulcet
c75be2f8d2 Fixed SIM103 (needless-bool): Return the condition not "admin" not in privs directly 2025-01-12 05:50:16 -08:00
Teal Dulcet
5aded07843 Fixed RUF051 (if-key-in-dict-del): Use pop instead of key in dict followed by del dict[key] 2025-01-12 05:49:18 -08:00
Teal Dulcet
027918d494 Fixed FURB188 (slice-to-remove-prefix-or-suffix): Prefer removeprefix over conditionally replacing with slice. 2025-01-12 05:49:18 -08:00
Teal Dulcet
d09ca4561a Fixed PLR6104 (non-augmented-assignment): Use += to perform an augmented assignment directly 2025-01-12 05:49:18 -08:00
Teal Dulcet
f4cef66d93 Fixed RET505 (superfluous-else-return) 2025-01-12 05:49:18 -08:00
Teal Dulcet
d34a2059df Fixed PLW0120 (useless-else-on-loop): else clause on loop without a break statement; remove the else and dedent its contents 2025-01-12 05:49:17 -08:00
Teal Dulcet
9e33920db1 Fixed FURB118 (reimplemented-operator) 2025-01-12 05:49:17 -08:00
Teal Dulcet
b1e094afe5 Fixed UP031 (printf-string-formatting): Use format specifiers instead of percent format 2025-01-12 05:49:17 -08:00
Teal Dulcet
e93009704e Added Ruff config for Python code. 2025-01-12 05:49:10 -08:00
Teal Dulcet
4f2d69d932 Fixed syntax in readable_bash.py. 2025-01-08 02:50:04 -08:00
Joshua Tauberer
e6c354c312 v71a 2025-01-06 07:08:06 -05:00
Paul
432b470d29
New & improved Disable MOTD advertisements (#2470)
Checks if /etc/default/motd-news exists before running commands.
2025-01-06 07:06:01 -05:00
Joshua Tauberer
d58dd0c91d v71 2025-01-04 14:39:25 -05:00
Joshua Tauberer
f73da3db60 Fix likely merge mistake in 564ed59bb4
Fixes #2466
2025-01-04 14:28:36 -05:00
yeah
18721e42d1
Cronjob for cleaning up expired SSL certificates in order to improve page load times with many domains (#2410)
Fixes #2316.
2024-12-22 08:07:04 -05:00
yeah
e0b93718a3
Revert "increase timeout for the nginx proxy that provides access to the Mail…" (#2411)
Reverts #2407 - as per #2316

This reverts commit 2803d88894.
2024-12-22 08:02:49 -05:00
KiekerJan
2e0482e181
Exclude the owncloud-backup folder from the nightly backup (#2413) 2024-12-22 08:01:02 -05:00
Tomasz Stanczak
0d7388899c
Allow DSA end EllipticCurve private keys to be used additionally to RSA for HTTPS certificates (#2416)
Co-authored-by: Tomasz Stanczak <tomasz@cocoturtle.com>
2024-12-22 07:59:58 -05:00
zoof
4f094f7859
Change hour of daily tasks to run at 1am and only run full backups on weekends (#2424)
* Change hour of daily tasks to run at 1am
* Change to only do full backup on weekends
2024-12-22 07:57:59 -05:00
KiekerJan
564ed59bb4
Add check on ipv6 for spamhaus (#2428) 2024-12-22 07:48:36 -05:00
KiekerJan
9f87b36ba1
add check on SOA record to determine up to date synchronization of secondary nameserver (#2429) 2024-12-22 07:45:45 -05:00
matidau
e36c17fc72
Fixstates only after Z-Push upgrade (#2432) 2024-12-22 07:42:56 -05:00
KiekerJan
3d59f2d7e0
Update roundcube to 1.6.9 (#2440) 2024-12-22 07:28:39 -05:00
Harm Berntsen
ee0d750b85
Add missing php-xml package for Roundcube without Nextcloud (#2441)
When the Nextcloud installation is skipped, php8.0-xml will also not be installed. This causes issues for Roundcube because it won't load: `PHP Fatal error:  Uncaught Error: Class "DOMDocument" not found in /usr/local/lib/roundcubemail/program/lib/Roundcube/html.php:367`. Installing the package on the Roundcube side as well fixes it for me.
2024-12-22 07:28:04 -05:00
Paul
d8563be38b
Disable MOTD advertisements (#2457)
Disables MOTD advertisements which use a script to send server information in `wget` headers to Canonical.
2024-12-22 07:27:36 -05:00
Nicholas Wilson
81b0e0a64f
Updated CHANGELOG.md, fix typo(s) (#2459) 2024-12-22 07:26:59 -05:00
matidau
7ef859ce96
Update zpush.sh to version 2.7.5 (#2463) 2024-12-13 09:28:45 -05:00
Downtown Allday
a8d13b84b4
fix: NameError: name 'subprocess' is not defined (#2425) 2024-11-27 08:22:45 -05:00
matidau
1699ab8c02
Update zpush.sh to version 2.7.4 (#2423) 2024-09-17 14:51:26 -04:00
Downtown Allday
ca123515aa
fix variable (#2439) 2024-09-02 21:30:01 -04:00
matidau
3b8f4a2fe8
Z-Push remove config lines no longer supported (#2433) 2024-08-30 14:27:44 -04:00
darren
f453c44d52
Update setup to handle multiple SSH ports (#2437)
This PR addresses an issue reported in the mailinabox
Slack channel where a system had sshd configured to listen
on two ports.

Co-authored-by: Darren Sanders <darren@dms00.com>
2024-08-30 14:26:05 -04:00
Joshua Tauberer
41870d22b0 v70 2024-08-15 08:53:27 -04:00
matidau
b9c5cd248f
Update Roundcube to 1.6.8 (#2422) 2024-08-15 08:49:52 -04:00
Joshua Tauberer
162e509b8b v69b 2024-07-23 06:20:34 -04:00
Joshua Tauberer
60a2b58e57 Revert "Fixed SC2091: Remove surrounding $() to avoid executing output." and fix it another way
This reverts commit 67bcaea71e. The sub-shell was required to prevent the updated umask from affecting later steps. It broke the permissions of the fetched assets for the control panel: https://discourse.mailinabox.email/t/admin-panel-broken-after-restore-upgrade/12112/24

Instead, the `$()` is replaced with just `()` to create a subshell without executing its output.
2024-07-23 06:16:24 -04:00
Joshua Tauberer
2ae8cd5713 v69a 2024-07-21 08:02:38 -04:00
Teal Dulcet
bc14e80b12
Fix no password prompt. Fixes #2408 (#2409) 2024-07-21 08:00:20 -04:00
Viktor Szépe
cd959bc522
Fix typos (#2406) 2024-07-21 07:01:25 -04:00
KiekerJan
2803d88894
increase timeout for the nginx proxy that provides access to the Mailinabox management daemon (#2407) 2024-07-20 16:44:24 -04:00