Commit Graph
3367 Commits
Author SHA1 Message Date
David Goodwin 8d7e797662 apparently sprintf can not return false, so remove these checks (thanks @copilot) 2026-01-29 13:29:30 +00:00
David Goodwin fe7b013449 rename INSTALL.TXT to INSTALL.md 2026-01-28 09:50:26 +00:00
David Goodwin b092017f9b be more explict over what types class properties should be 2026-01-28 09:50:26 +00:00
David Goodwin 02751ec369 formatting 2026-01-28 09:50:26 +00:00
David Goodwin 3b5515f17d add templates_c check to setup.php 2026-01-28 09:50:26 +00:00
David Goodwin 2f905d13ee Revert "if templates_c is not writeable fall back to using sys_get_temp_dir() and add a error_log warning"
This reverts commit 5cc95851886d714fd78a3f85bee16243466ec9be.
2026-01-28 09:50:26 +00:00
David Goodwin 8ef6bfe603 php 8.2 does not support array const things 2026-01-28 09:50:26 +00:00
David Goodwin dd24020de2 formatting 2026-01-28 09:50:26 +00:00
David Goodwin ff0a3d7636 psalm stuff, add Languages class, token refactor 2026-01-28 09:50:26 +00:00
David Goodwin 3bf9dbd81b remove php 7.4, 8.0 and 8.1 from the github build action 2026-01-28 09:50:26 +00:00
David Goodwin 52794bede7 misc fixes for psalm after allowing it to be updated 2026-01-28 09:50:26 +00:00
David Goodwin 7baa5aa3a8 move minimum php version to 8.2 for master, allow newer psalm variants 2026-01-28 09:50:26 +00:00
David Goodwin 6ddc37c58f add missing tables to backup script (mailbox_app_password, totp_exception_address, dkim, dkim_signing) 2026-01-28 09:50:26 +00:00
David Goodwin 19b47d5f17 if templates_c is not writeable fall back to using sys_get_temp_dir() and add a error_log warning 2026-01-28 09:50:26 +00:00
David Goodwin 6754b7a01d improve error handling if vendor/autoload.php does not exist (show a hint to the user etc) 2026-01-28 09:50:26 +00:00
David Goodwin 4ffd8a5a8f update docs so they are relevant for v4.0.x 2026-01-28 09:50:26 +00:00
David Goodwin 0c24b067e8 minor code refactoring (login / TotpPf) 2026-01-28 09:50:26 +00:00
David Goodwin 8e2518b0f6 build / test against php 8.5 too 2026-01-28 09:50:26 +00:00
David Goodwin 6b87a816fd global search -> avoid shortcut of empty list for super-admin, always populate list, and only allow a search if $list_domains is not empty 2026-01-28 09:50:26 +00:00
David Goodwin 90d407b5fe token renames (a variable called SESSID_USERNAME makes me think it is reserved by PHP or something, which I do not think it actually is, so just user a more meaningful $username 2026-01-28 09:50:26 +00:00
David Goodwin 1bde85c8ac fixes #947 - restrict global search to domains the admin type user has visibility for 2026-01-28 09:50:26 +00:00
David Goodwin 2bce2fdeda fix #942 - composer.json -> move ext-(mysqli|sqlite) into suggest block 2026-01-28 09:50:26 +00:00
David Goodwin 3a55e3702e install.sh - improve non-bash support (should work under ksh) - see #940 2026-01-28 09:50:26 +00:00
David Goodwin 64d986310b update INSTALL.TXT file for postfixadmin 4.0, see also #937 2026-01-28 09:50:26 +00:00
David Goodwin 731492676b bump postfixadmin version for 4.0.1 2026-01-28 09:50:26 +00:00
David Goodwin cdd2bb0a6a deprecation fix for github actions - remove ::set-output and replace with newer way. 2026-01-28 09:49:26 +00:00
David Goodwin d09bf26be4 fix docs for php version support 2026-01-28 09:48:35 +00:00
Sven Strickroth 888b1e29f1 Do not use deprecated ::set-output any more
cf. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-27 21:23:06 +01:00
Sven Strickroth b90e891de7 Fix PHP version inconsistency
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-27 20:30:32 +01:00
David Goodwin 2af9f9b829 Merge pull request #977 from csware/domain-new-alias
Include domain in link to create new alias
2026-01-26 19:08:01 +00:00
David Goodwin 9a5899a15a use $fDomain variable, if present, for the domain= links for Add Forward/Domain etc 2026-01-26 11:45:07 +00:00
David Goodwin 8e9860432b Merge pull request #976 from csware/alias-id-check
Check for address validity before checking domain existence
2026-01-26 09:45:49 +00:00
Sven Strickroth 58a16ff5e6 Include domain in link to create new alias
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-25 16:32:04 +01:00
Sven Strickroth 42981d5b70 Check for address validity before checking domain existence
get_domain_properties might throw.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-25 16:29:58 +01:00
David Goodwin 15e73d242a Merge pull request #969 from csware/redundant-characterset
No need to specify charset in connection string and then set it explicitly using "SET NAMES" again
2026-01-25 14:12:38 +00:00
Sven Strickroth da5dc01de3 No need to specify charset in connection string and then set it explicitly using "SET NAMES" again
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-25 11:20:57 +01:00
David Goodwin 7f1d78e2cd fix issues from merging #958 - no longer provide smtp_password to smtp_mail(..) call, as it does it internally now 2026-01-01 13:40:17 +00:00
David Goodwin 5196a823ba formatting 2026-01-01 13:33:05 +00:00
David Goodwin d286571460 Merge pull request #959 from arymaynart/patch-3
Add smtp_username to email configuration
2026-01-01 13:03:50 +00:00
David Goodwin c01bb7c091 Merge pull request #958 from arymaynart/patch-2
Refactor smtp_mail for better SMTP support
2026-01-01 13:03:38 +00:00
arymaynart 5d48dd375c Refactor smtp_mail function for improved clarity
Need to do a tweak to work with broadcast messages
2025-12-19 18:26:03 -03:00
arymaynart 89d016e638 Add smtp_username to email configuration
Added smtp_username configuration for email settings.
2025-12-19 17:23:01 -03:00
arymaynart 42a664e9c2 Refactor smtp_mail for better SMTP support
Refactor smtp_mail function to improve SMTP handling and error logging.
2025-12-19 17:19:48 -03:00
David Goodwin c41e9b044d see #949 - possible bulgarian translation fix, thanks @Saentist 2025-11-12 16:26:52 +00:00
Christian Boltz 08ab2a3f19 mailbox_remover.pl: whitespace fix 2025-10-09 21:57:13 +02:00
David Goodwin 7afc4a6a9e Merge pull request #945 from VersusBG/patch-1
Update mailbox_remover.pl - adds PostgreSQL support - thanks @VersusBG
2025-10-07 13:46:25 +01:00
VersusBG 79f9729040 Update mailbox_remover.pl
Add support for PostgreSQL
2025-10-07 15:41:41 +03:00
David Goodwin 25afc56243 capitalisation 2025-09-13 20:12:50 +01:00
David Goodwin 1f31947a36 update README 2025-09-13 20:12:09 +01:00
David Goodwin d166ffae83 zf1 should be a required library, given it is required for the xmlrpc functionality 2025-09-13 20:05:32 +01:00