Commit Graph
188 Commits
Author SHA1 Message Date
David Goodwin ff73976b72 UI enhancements around quota and icons for domain/mailbox lists
various patches from @trapoSama sent via email -

* Keeps the assigned domain quota text and uses real mailbox usage for
the quota bar color and fill.
* Shows a red count next to a domain when one or more mailboxes exceed
the configured quota alert threshold. Requires patch 1.
* Adds optional configuration to hide mailbox quota and password expiry
columns while retaining those values in the domain tooltip.
 * Corrects the quota-bar markup and aligns domain-list columns.
* Replaces the quota bars in the domain overview and mailbox list with a
unified bar component, preventing the fill, label, and border from
separating. It hides Modified, Backup MX, and Transport progressively on
reduced desktop widths, then uses horizontal scrolling as the final
fallback. 
* Uses icon-only controls with translated tooltips in domain and mailbox
lists: active state, SMTP active state, autoresponder, alias, edit, and
delete. Active-state tooltips show the current value, for example
`Activo: SI` or `Activo: NO`.
2026-06-27 16:22:33 +01:00
Kent Riboe c6773f8390 Migrate TOTP exceptions to TotpexceptionHandler class (#1007)
refactor code to use the PFAHandler approach, allowing re-use of list.php and edit.php.
2026-04-18 10:22:54 +01:00
David Goodwin ce03433b52 Merge pull request #957 from postfixadmin/psalm-fixes
Upgrade PHP / libraries / general refactoring

see https://github.com/postfixadmin/postfixadmin/pull/957
2026-02-11 20:53:07 +00:00
David Goodwin 12818f398e try and improve docs around $CONF["dovecotpw"] in config.inc.php (see #398) 2026-02-04 20:54:52 +00:00
David Goodwin 731492676b bump postfixadmin version for 4.0.1 2026-01-28 09:50:26 +00:00
arymaynart 89d016e638 Add smtp_username to email configuration
Added smtp_username configuration for email settings.
2025-12-19 17:23:01 -03:00
David Goodwin d9811872cc update docs + changelog to highlight pacol() function move into PFAHandler 2025-07-14 08:41:03 +01:00
David Goodwin 460c624275 remove more references to sourceforge 2025-07-13 18:29:37 +01:00
David Goodwin 14db6db23e config.inc.php: change version to 4.0 2025-07-12 19:20:28 +01:00
David Goodwin c97b92f17e change version string to 4.0-beta1 2025-06-01 15:37:04 +01:00
David Goodwin 999bfcfc54 drop support for mysql_encrypt, given MySQL after 5.7 has dropped it and we had not wired it into the pacrypt() function anyway, try and improve docs in config.inc.php 2025-05-28 09:41:22 +01:00
David Goodwin d8fb109038 remove unused config alias_goto_limit - see #915 2025-04-11 09:19:41 +01:00
Gianluca Giacometti bfebea5f3c Create new_mailbox_hook function (#864)
* Add new postcreate mailbox hook ( mailbox_postcreation_hook ) - which can be called after a mailbox is created (similar to mailbox_postcreation_script). 

Thanks @gianlucagiacometti !
2024-11-09 08:23:26 +00:00
David Goodwin 62a76734c9 see #812 - remove config options for create_mailbox_subdirs_* due to the php-imap module being deprecated; leave in an error_log message to perhaps avoid future support tickets asking why this does not work 2024-04-01 19:38:31 +01:00
David Goodwin eda637df1a Merge branch 'master' into michaelkrieger-patch-1 2024-01-11 08:51:17 +00:00
John Fawcett 668960ccf6 Add a flag to mailbox table for enable/disable smtp protocol. The table column name
is "smtp_active". This enables use of this flag instead of active flag for postfix
mysql queries. There is a new configuration parameter $CONF['smtp_active_flag'] =
YES or NO, which defaults to NO, providing the existing behaviour. When set to YES
the active_smtp field is displayed in the edit mode and can be modified.
The commit includes update to the language files and documentation.

The commit does not include the code to add the field to existing installs,
which I presume can be added during the release cycle in upgrade.php along the
lines of:

_db_add_field('mailbox',  'smtp_active', 'int DEFAULT 1');
2024-01-09 20:50:49 +01:00
David Goodwin 4d17aa6ef9 manaul merge in of verdigado:master (see #753) (MFA/TOTP support) 2023-12-23 17:05:52 +00:00
Fredrik Boström 7b8532b2b0 Add javascript check for illegal characters in username
Signed-off-by: Fredrik Boström <fredrik.bostroem@verdigado.com>
2023-09-26 14:12:33 +02:00
David Goodwin 375350cadd reformat a little 2022-11-30 21:18:40 +00:00
Christian Boltz 9ec3196c6d Whitespace fixes 2022-07-18 22:55:24 +02:00
Fredrik Falk 9e73025058 Add Domain Key handling 2022-06-23 20:40:06 +02:00
David Goodwin 760600cb56 one or more of something needs {1,} not {1} ... 2022-02-13 20:32:39 +00:00
Oliver Cooper 35ecb62730 Add password special character support 2022-02-13 17:21:20 +00:00
Davide Beatrici 626bd43def Add support for implicit TLS, replace "smtp_sendmail_tls" with "smtp_type"
For reference: https://datatracker.ietf.org/doc/html/rfc8314

Please note that this only applies to the "send email" feature.

In the future we should implement it for the "fetch email" one too.
2021-11-29 07:10:20 +01:00
David Goodwin 89f3ba5387 try and improve documentation in config.inc.php 2021-11-14 20:49:58 +00:00
David Goodwin 6f7e69f21b improve docs 2021-09-29 21:05:03 +01:00
BotoX 768f2ee844 Improve dovecot mail-crypt postpassword script security (pipe password instead of passing on cmdline)
Suggested from: https://github.com/postfixadmin/postfixadmin/issues/441#issuecomment-774736944
2021-06-13 12:24:27 +02:00
Sven Strickroth 74a12b4f0c Add support for domain_postedit_script
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-08 18:27:44 +02:00
David Goodwin c755e82a36 Merge branch 'postfixadmin_3.3' 2021-02-18 12:12:27 +00:00
David Goodwin 1a9d9847f5 bump version 2021-02-17 21:32:06 +00:00
David Goodwin 5aee2ca4f8 update CHANGELOG and version 2021-02-17 17:21:47 +00:00
David Goodwin d9813d4cf8 see #446 - try and detect site url but allow for $CONF['site_url'] override to be used. 2021-02-07 20:35:58 +00:00
David Goodwin be1f922f7e change reference to file 2021-01-29 21:18:29 +00:00
David Goodwin 9305a250fb change the default password hash to one that may be more secure; add note 2021-01-28 17:04:21 +00:00
David Goodwin 9da4431bef Merge branch 'postfixadmin_3.3' 2021-01-27 22:02:29 +00:00
David Goodwin 96a022747c release 3.3.5 perhaps 2021-01-27 22:01:32 +00:00
David Goodwin 97ae019e10 remove duplication; comment out the length_check password_verify rule as we already have /.{5}/ 2021-01-27 10:56:40 +00:00
David Goodwin 237615502a Merge remote-tracking branch 'origin/postfixadmin_3.3' 2021-01-27 09:29:57 +00:00
David Goodwin e15d9abe06 improve comment, fix return value in callable for password_verify. 2021-01-26 21:06:35 +00:00
David Goodwin dd6616bbb2 bump version number 2021-01-26 19:45:59 +00:00
David Goodwin 98dba48c70 add a big note on sudo stuff, remove duplicate comments on hooks - see https://github.com/postfixadmin/postfixadmin/issues/441 2021-01-26 19:08:19 +00:00
David Goodwin 336259957d Merge remote-tracking branch 'origin/postfixadmin_3.3' 2021-01-25 21:58:31 +00:00
David Goodwin a1025b4760 and trim string before length check 2021-01-25 21:57:59 +00:00
David Goodwin 2acdcdbd75 see : https://github.com/postfixadmin/postfixadmin/issues/423 - change password length check behaviour 2021-01-25 20:12:47 +00:00
David Goodwin e10f6f3df5 merge postfixadmin_3.3 into master 2021-01-21 13:52:41 +00:00
David Goodwin 6d101b79e6 bump version numbers/changelog for 3.3.4 2021-01-19 20:04:31 +00:00
Gianluca Giacometti e777252f07 Add a note for new fields
It took me some time to understand that adding fields through the struct hook does not mean that they are automatically displayed in the corresponding virtual list. I think that adding a note here would make life easier to everybody.
2021-01-17 23:53:04 +01:00
David Goodwin c6a8117e82 improve doc comment - see https://github.com/postfixadmin/postfixadmin/issues/423 2021-01-17 22:31:53 +00:00
David Goodwin cb161a7cec Merge pull request #421 from BotoX/master-crypt
Suport for dovecot mail-crypt-plugin via new mailbox_postpassword_script hook
2021-01-14 20:11:14 +00:00
David Goodwin e9850f3ed4 3.3.3 release 2021-01-14 17:07:55 +00:00