Commit Graph
826 Commits
Author SHA1 Message Date
Tim in 't Veld 146ebaa9e9 Accessibility: index: aria-expanded on dropdown menu buttons, aliases: fieldset on permitted senders, mfa: fix incorrect id's and alt on qr code (#2555)
* accessibility: aria-expandedon dropdowns, fieldset on aliases > permitted senders, mfa label corrections and alt on qr image

* further change
2026-04-08 09:06:14 -04:00
Tim in 't Veld 35a18b81d1 Accessibility: improve table semantics and ARIA usage (#2553) 2026-04-08 09:00:38 -04:00
Tim in 't Veld de4ec82a5a Fix critical accessibility bug in control panel modals (#2551)
- Removed `aria-hidden="true"` from the `global_modal` div.  
  This attribute was set but not updated, causing screen readers to ignore the modal even when it was open. Bootstrap sets and modifies `aria-hidden` automatically, so the correct approach is not to set it manually.  

- The `global_modal` div has `role="dialog"` (correct) but lacked `aria-modal="true"`.  
  The ARIA specification recommends setting this attribute to ensure screen readers know that focus is (and should be) trapped in the modal. I added it.  

- Removed `aria-hidden="true"` from the close button.  
  This button can receive keyboard focus, so it should have an accessible name. If it is hidden, a screen reader user experiences focus on an unnamed element, which is confusing.  

- Added `aria-label="Close Dialog"` to the close button.  
  The visible label `×` does not describe the button’s function, but the new ARIA label does.
2026-02-01 10:29:39 -05:00
ukfhVp0zms f0e7b4694c Fix broken links for scp and DAV (#2522)
* Update web.html: Update broken SCP man page link
* Update sync-guide.html: Remove non-existing Android CalDAV and CardDAV apps from selection
2025-07-21 09:28:04 -04:00
Joshua Tauberer 49d183afbb Use utils.shell("check_call", ...) rather than subprocess.call directly 2025-07-08 14:15:29 -04:00
Joshua Tauberer 061e74b623 Add disabled code to log failed commands to stderr 2025-07-08 14:15:29 -04:00
Joshua Tauberer 3bfd4be982 Add management/dns_update.py --update as an alternative to tools/dns_update.py that runs without the backend 2025-07-08 14:15:29 -04:00
KiekerJan e3ee800359 fix SOA record check against secondary dns (#2507) 2025-07-08 14:12:09 -04:00
KiekerJan dc79ad5bd9 Add check on backup to status checks (#2508) 2025-06-20 06:43:40 -04:00
MrWinux ae8da06571 Add Configuration to Handle AWS SDK Checksum Changes for Third-Party S3-Compatible Services (#2490)
fix: MissingContentLength error in boto3 version 1.36.1 and up
2025-06-20 06:38:54 -04:00
Teal Dulcet 00280123ab Fixed RUF005 (collection-literal-concatenation): Consider iterable unpacking instead of concatenation 2025-06-20 02:40:09 -07:00
Teal Dulcet a568c6ff74 Fixed RET505 (superfluous-else-return): Unnecessary elif after return statement 2025-06-20 02:40:08 -07:00
Teal Dulcet d15170b18c Fixed RUF010 (explicit-f-string-type-conversion): Use explicit conversion flag 2025-06-20 02:40:08 -07:00
Teal Dulcet bf27ac07ed Fixed EM102 (f-string-in-exception): Exception must not use an f-string literal, assign to variable first 2025-06-20 02:40:07 -07:00
Teal Dulcet 54750b1763 Fixed RET506 (superfluous-else-raise): Unnecessary elif after raise statement 2025-06-20 02:40:07 -07:00
Teal Dulcet 5c30299461 Fixed FURB122 (for-loop-writes): Use of f.write in a for loop 2025-06-20 02:40:03 -07:00
Teal Dulcet b546ccd162 Fixed FURB110 (if-exp-instead-of-or-operator): Replace ternary if expression with or operator 2025-06-20 02:40:03 -07:00
Teal Dulcet 562f76e61f Fixed UP032 (f-string): Use f-string instead of format call 2025-06-20 02:40:03 -07:00
Teal Dulcet 04ed752948 Fixed FURB142 (for-loop-set-mutations): Use of set.add() in a for loop 2025-06-20 02:40:02 -07:00
Teal Dulcet c3826e45aa Fixed SIM101 (duplicate-isinstance-call): Multiple isinstance calls for pem, merge into a single call 2025-06-20 02:40:02 -07:00
Teal Dulcet fd2696a42c Fixed RUF059 (unused-unpacked-variable) 2025-06-20 02:40:01 -07:00
Teal Dulcet 213e449dfe Fixed FURB129 (readlines-in-for): Instead of calling readlines(), iterate over file object directly 2025-06-20 02:40:01 -07:00
Teal Dulcet ee11f3849b Fixed UP015 (redundant-open-modes): Unnecessary mode argument 2025-06-20 02:40:00 -07:00
Teal Dulcet 498e92dc95 Fixed PLW1514 (unspecified-encoding): open in text mode without explicit encoding argument 2025-06-20 02:40:00 -07:00
Teal Dulcet 66f140a8cf Fixed PGH004 (blanket-noqa): Use a colon when specifying noqa rule codes 2025-06-20 02:40:00 -07:00
Teal Dulcet 717e806427 Fixed RUF031 (incorrectly-parenthesized-tuple-in-subscript): Avoid parentheses for tuples in subscripts 2025-06-20 02:39:59 -07:00
Teal Dulcet eae0db9df1 Fixed RUF039 (unraw-re-pattern) 2025-06-20 02:39:59 -07:00
Teal Dulcet e73771be5f Fixed RET507 (superfluous-else-continue): Unnecessary elif after continue statement 2025-06-20 02:39:58 -07:00
Teal Dulcet 0635e89b6e Fixed F401 (unused-import): contextlib imported but unused 2025-06-20 02:39:58 -07:00
Teal Dulcet e3ef6d726b Fixed SIM103 (needless-bool): Return the condition "admin" in privs directly 2025-06-20 02:39:58 -07:00
Teal Dulcet 3fa0819e04 Fixed G004 (logging-f-string): Logging statement uses f-string 2025-06-20 02:39:57 -07:00
Teal Dulcet d5d4ba0bf1 Fixed RUF051 (if-key-in-dict-del): Use pop instead of key in dict followed by del dict[key] 2025-06-20 02:39:57 -07:00
Teal Dulcet a83db1aebc Fixed FURB188 (slice-to-remove-prefix-or-suffix): Prefer str.removeprefix() over conditionally replacing with slice. 2025-06-18 05:00:46 -07:00
Teal Dulcet ddee3c6bfd Fixed PLR6104 (non-augmented-assignment): Use += to perform an augmented assignment directly 2025-06-18 05:00:45 -07:00
Teal Dulcet dbabd69218 Fixed RET505 (superfluous-else-return) 2025-06-18 05:00:45 -07:00
Teal Dulcet 3008dfa28f Fixed EM101 (raw-string-in-exception): Exception must not use a string literal, assign to variable first 2025-06-18 05:00:45 -07:00
Teal Dulcet 3a1280d292 Fixed PLW0120 (useless-else-on-loop): else clause on loop without a break statement; remove the else and dedent its contents 2025-06-18 05:00:22 -07:00
Teal Dulcet 68fd3dc535 Fixed FURB118 (reimplemented-operator) 2025-06-18 04:17:27 -07:00
Teal Dulcet c64a24e870 Fixed UP031 (printf-string-formatting): Use format specifiers instead of percent format 2025-06-18 04:17:03 -07:00
Fabrício Dultraandfsdultra 40d3f0f193 Fix broken Z-Push compatibility list link in mail guide (#2515)
The previous link (wiki.z-hub.io) was no longer accessible. It has been replaced with the current official GitHub link: https://github.com/Z-Hub/Z-Push/wiki/Compatibility.

Co-authored-by: fsdultra <eu@fsdultra.com.br>
2025-06-17 06:37:17 -04:00
Lyle Keeton 05c2f3c9a2 Fix missing PUBLIC_IPV6 in test for whether custom AAAA record blocks SSL certificate generation (#2491)
On new installation, if you create AAAA record for mydomain.tld then mydomain.tld isn't available for SSL certificate or website.

It erroneously reports that it's hosted elsewhere.
2025-05-14 11:58:17 -04: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
Joshua Tauberer f73da3db60 Fix likely merge mistake in 564ed59bb4
Fixes #2466
2025-01-04 14:28:36 -05:00
Chad Furman 7f9a348d64 removing 'quota' from user output 2024-12-28 17:10:50 -05:00
Chad Furman ac383ced4d cli.py user now prints '0' rather than 'unlimited' for quota 2024-12-28 17:10:50 -05:00
Chad Furman 450c1924d8 cli script fixes were broken 2024-12-28 17:10:50 -05:00
Chad Furman c9d37be530 Revert "fixing cli commands"
This reverts commit a4a08980f84360abcd009de9dc7ef8c6fcb529c4.
2024-12-28 17:10:50 -05:00
Chad Furman 08e69ca459 fixed missing column heading 2024-12-28 17:10:50 -05:00