1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00
Commit Graph

2150 Commits

Author SHA1 Message Date
Teal Dulcet
10ca4c4958
Merge 7c3c956228 into 3efd4257b5 2025-02-17 14:20:14 -08:00
MVDW
3efd4257b5
Change distro version check from lsb_release to os-release (#2436) 2025-02-17 16:50:15 -05:00
Victor
a81c18666f
Clear credentials and reset menu after receiving 403 (#2477) 2025-02-16 17:01:51 -05:00
Michael Meidlinger
01996141ad
Allow boto to get S3 credentials for backups from environment variables if access key is blank (#2260)
In case that no static AWS credentials are specified, we try to create the boto3 client without explicitly passing static credentials. This way, we can benedit from dynamic credentials in AWS environments (e.g. using EC2 instance roles)
2025-02-16 16:51:48 -05:00
Joshua Tauberer
c0103045be
Add configurable mailbox quotas (#2387) 2025-02-16 15:18:32 -05:00
Tomasz Stanczak
41cbf0ba8e
Handle no existence of expired certificates before trying to move them into ssl.expired subdirectory (#2480)
Shell option 'nullglob' to prevent the following 'for' loop from being entered even when no matching files are present.
2025-02-15 14:31:58 -05:00
KiekerJan
5ef85f3d02
Update roundcube to 1.6.10 (#2483) 2025-02-15 14:29:15 -05:00
Teal Dulcet
7c3c956228 Explicitly removed temporary file and deleted outdated comment. 2025-02-15 03:09:07 -08:00
Teal Dulcet
70bf676b73 Fixed PERF102 (incorrect-dict-iterator): When using only the keys of a dict use the keys() method 2025-01-12 07:38:26 -08:00
Teal Dulcet
9896bfb765 Fixed SIM117 (multiple-with-statements): Use a single with statement with multiple contexts instead of nested with statements 2025-01-12 07:37:35 -08:00
Teal Dulcet
bd0cb22467 Fixed UP032 (f-string): Use f-string instead of format call 2025-01-12 07:36:41 -08:00
Teal Dulcet
0ee995f175 Fixed F841 (unused-variable): Local variable conffile is assigned to but never used 2025-01-12 07:31:29 -08:00
Teal Dulcet
2021c6d501 Fixed RUF039 (unraw-re-pattern) 2025-01-12 07:27:27 -08:00
Teal Dulcet
daf6d70073 Fixed ARG005 (unused-lambda-argument): Unused lambda argument: alias 2025-01-12 07:12:44 -08:00
Teal Dulcet
f13ae569d0 Fixed SIM115 (open-file-with-context-handler): Use a context manager for opening files 2025-01-12 07:10:31 -08:00
Teal Dulcet
c59ff13c9f Fixed RUF005 (collection-literal-concatenation): Consider iterable unpacking instead of concatenation 2025-01-12 07:02:55 -08:00
Teal Dulcet
a0346b735b Fixed B007 (unused-loop-control-variable) 2025-01-12 07:00:47 -08:00
Teal Dulcet
77a7a29322 Fixed TRY300 (try-consider-else): Consider moving this statement to an else block 2025-01-12 06:55:42 -08:00
Teal Dulcet
9d9e900ca2 Fixed G004 (logging-f-string): Logging statement uses f-string 2025-01-12 06:50:13 -08:00
Teal Dulcet
554a161648 Fixed RET505 (superfluous-else-return): Unnecessary elif after return statement 2025-01-12 06:44:46 -08:00
Teal Dulcet
08329c18cd Fixed TRY003 (raise-vanilla-args): Avoid specifying long messages outside the exception class 2025-01-12 06:43:15 -08:00
Teal Dulcet
1d1a1a09c4 Fixed UP031 (printf-string-formatting): Use format specifiers instead of percent format 2025-01-12 06:38:20 -08:00
Teal Dulcet
1782b69405 Fixed PLC1901 (compare-to-empty-string) 2025-01-12 06:07:00 -08:00
Teal Dulcet
385ac086e6 Fixed RUF010 (explicit-f-string-type-conversion): Use explicit conversion flag 2025-01-12 05:50:26 -08:00
Teal Dulcet
350b5b035a Fixed EM102 (f-string-in-exception): Exception must not use an f-string literal, assign to variable first 2025-01-12 05:50:26 -08:00
Teal Dulcet
c357fe83d2 Fixed RET506 (superfluous-else-raise): Unnecessary elif after raise statement 2025-01-12 05:50:26 -08:00
Teal Dulcet
1efb5d5c99 Fixed RET504 (unnecessary-assign): Unnecessary assignment to v before return statement 2025-01-12 05:50:26 -08:00
Teal Dulcet
a4af9273ee Fixed RUF055 (unnecessary-regular-expression): Plain string pattern passed to re function 2025-01-12 05:50:25 -08:00
Teal Dulcet
d7d91eeb79 Fixed Q003 (avoidable-escaped-quote): Change outer quotes to avoid escaping inner quotes 2025-01-12 05:50:25 -08:00
Teal Dulcet
2dc4dd1e1a Fixed W605 (invalid-escape-sequence) 2025-01-12 05:50:25 -08:00
Teal Dulcet
34d1e47ff7 Fixed PLR6201 (literal-membership): Use a set literal when testing for membership 2025-01-12 05:50:25 -08:00
Teal Dulcet
ee240c654d Fixed PLW1514 (unspecified-encoding): open in text mode without explicit encoding argument 2025-01-12 05:50:25 -08:00
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