Commit Graph
3494 Commits
Author SHA1 Message Date
Rodrigo Cortés Cano aa8b4e1f31 Spanish (es.lang) translation updates (#1116)
thanks @TrapoSAMA
2026-08-16 12:05:36 +01:00
David Goodwin 1b55dc96e4 security updates (smarty, phpunit)
move to use smarty/smarty ^5.8.4 (see https://github.com/postfixadmin/postfixadmin/security/dependabot/2),
use phpunit ^11.5.50
use only psalm 6
2026-08-16 10:28:44 +01:00
Rodrigo Cortés Cano 2008d06bf4 Harden language catalog repair and syntax validation (#1114)
Improve language-update.sh script, fix missing semi-colons, cover languages/*.lang in ci with parallel-lint etc.
Fixes #1112 #1113

thanks @TrapoSAMA
2026-08-12 09:07:15 +01:00
Rodrigo Cortés Cano 60f8c46514 Document optional Dovecot mail deletion logging (#1111)
update dovecot 2.4 example config to not log deletions by default.

thanks @TrapoSAMA
2026-08-11 09:08:03 +01:00
Rodrigo Cortés Cano ab0a4d1357 Fix password expiration handling and visibility (#1109)
- validate domain password-expiration policies as whole numbers from 0 through 36500 days
- make password expiration optional and disabled by default
- make 0 consistently mean that passwords in the domain do not expire
- align administrator, recovery, mailbox-user, and XML-RPC password changes
- show each mailbox password-expiration state in lists and CSV output
- add the new labels to every language file
- document how to enable the feature in `config.local.php`

thanks @TrapoSAMA
2026-08-10 09:19:35 +01:00
Rodrigo Cortés Cano 875113f305 Improve form focus and TOTP input semantics (#1105)
- use a softer, consistent primary-blue focus treatment for standard
data-entry controls
- identify TOTP inputs as one-time codes and request numeric keyboards
on supported devices
- keep TOTP digits visible while they are entered
- fix the TOTP setup input ID so its label points to the actual control

thanks @TrapoSAMA
2026-08-10 09:09:08 +01:00
Christian Boltz bdda34aa09 Add missing alias_goto_default* translations to several languages
Fixes: 513542370d
2026-08-09 18:00:00 +02:00
Christian Boltz a1e3f0f474 README: Typo fix db_min_version -> min_db_version 2026-08-09 17:54:08 +02:00
Christian Boltz d691c90cef translations: update password_expiration and password_expiration_desc
In languages that were not translated yet, update to the new english
text.

In already-translated translations, add comments with the new text.

Fixes: deb5289362
2026-08-09 17:52:32 +02:00
Christian Boltz 9cc02670a9 Add translation markers for pViewlog_per_page
Fixes: 0f68dee15c
2026-08-09 17:15:49 +02:00
Christian Boltz 53cc8325c7 Add missing translation marker for pViewlog_all_domains
Fixes: d6aabd7745
2026-08-09 17:10:17 +02:00
Rodrigo Cortés Cano deb5289362 Clarify password expiration units (#1107)
Update spanish and english translations for password expiry to make it clear the units are in days.
2026-08-09 09:08:33 +01:00
Özgür Konstantin Kazanççı 65b10f7285 Update tr.lang (#1104)
Missing lines translated  - thanks @ozgurkazancci
2026-08-07 09:48:02 +01:00
Özgür Konstantin Kazanççı 12a77cf18d Update en.lang (#1103)
typo fix - thanks @ozgurkazancci
2026-08-07 09:47:17 +01:00
Goodsoldier fe012648b4 Add korean language (#1102)
Add Korean translation - ko.lang, thanks @GoodSoldier
2026-08-05 09:17:07 +01:00
David Goodwin 5e6ce8805a update CHANGELOG.TXT 2026-08-03 21:17:01 +01:00
Rodrigo Cortés Cano 8c6057b54b Distinguish mailbox and domain quota validation errors (#1096)
- distinguish the per-mailbox maximum quota error from insufficient remaining domain quota
- add the domain-quota error message to every language catalog

Thanks @TrapoSAMA
2026-08-02 10:15:08 +01:00
Rodrigo Cortés Cano 781d45745c Update Spanish translations (#1100)
update languages/es.lang 

thanks @TrapoSAMA
2026-08-02 10:11:07 +01:00
Rodrigo Cortés Cano 610ffb75ae Remove obsolete password expiration SQL (#1098)
drop password_expiration.sql (covered by existing db migrations)

thanks @TrapoSAMA
2026-08-02 10:09:52 +01:00
Rodrigo Cortés Cano bf47bddc9c Update Bootstrap Icons to 1.13.1 (#1095)
Update bootstrap icons to 1.13.1 (was 1.11.3); thanks @TrapoSAMA
2026-07-28 09:36:32 +01:00
Rodrigo Cortés Cano ab94193611 Update Bootstrap to 5.3.8 (#1094)
upgrade from bootstrap 5.3.0 to 5.3.8
2026-07-28 09:32:23 +01:00
Rodrigo Cortés Cano 4a38010594 Make 3.3 schema reconciliation retry-safe (#1092)
fix regression in MySQL schema upgrade from 3.3 where vacation.domain, vacation.email and quota2.username had the wrong collation.

thanks @TrapoSAMA + @Knofte
2026-07-28 09:27:38 +01:00
Kent Riboe 00622a1155 Add reusable _pagination.tpl partial, use it in viewlog (#1064) (#1090)
adds templates/_pagination.tpl - bootstrap 5 shared pagination component. 
migrates viewlog to use it.

See  #1064 (thanks @TrapoSAMA and @Knofte)
2026-07-27 19:14:24 +01:00
mkocustos 513542370d Let admins store a default for the alias "To" (goto) field (#1061)
adds new db table admin_preferences to store a default goto for aliases etc, which when populated will prefil the forward form with that value.


thanks @mkocustos
2026-07-25 10:56:40 +01:00
Rodrigo Cortés Cano 9a930b61ad Add a read-only database integrity check to setup.php (#1091)
attempt to highlight any orphaned data, see also https://github.com/postfixadmin/postfixadmin/issues/972

thanks @TrapoSAMA
2026-07-24 09:09:03 +01:00
Rodrigo Cortés Cano 755f6c3990 Reconcile 3.3 MySQL upgrades on master (#1089)
fix regression in MySQL database update order. See #971

thanks @TrapoSAMA and @csware
2026-07-23 09:31:31 +01:00
Rodrigo Cortés Cano 852cb6fb39 Test user alias creation guard directly 2026-07-22 18:13:16 +00:00
Rodrigo Cortés Cano d60ff99e77 Apply user alias ownership check consistently 2026-07-22 18:13:16 +00:00
Rodrigo Cortés Cano 3ab0104d1a Address forwarding editor review feedback 2026-07-22 18:13:16 +00:00
Rodrigo Cortés Cano 8d631d2ce8 Skip internal vacation target validation 2026-07-22 18:13:16 +00:00
Rodrigo Cortés Cano 9a9078ce21 Unify user and admin forwarding editor 2026-07-22 18:13:16 +00:00
Rodrigo Cortés Cano 10a76e8773 Preserve anonymous login sessions across repeated GETs (#1085)
Restrict recreating $_SESSION to only those where the user has been logged in previously; this should help stop anonymous users from failing a CSRF check.

thanks @TrapoSAMA
2026-07-22 08:52:33 +01:00
Rodrigo Cortés Cano 63f91b649f Clarify sudoers rules across optional hook sets (#1082)
- Clarifies that the documented `sudoers` policy applies to every enabled PostfixAdmin hook, not only to the optional Rspamd integration.
- Explains which generic rules remain in place and when the composite Rspamd domain-deletion rule replaces the direct domain-deletion rule.

thanks @TrapoSAMA
2026-07-19 19:38:09 +01:00
Rodrigo Cortés Cano f3e10ce573 Harden optional mailbox hooks and add Rspamd DKIM examples (#1079)
- harden the existing optional Maildir domain, mailbox creation/deletion and Dovecot mail-crypt hooks
- validate hook argument contracts and keep all derived paths below their configured base directories
- quote filesystem operations, check command failures and make deletion hooks safely retryable
- update the Dovecot password example for the prompt behaviour available since Dovecot 2.3.19, with a Dovecot 2.4 setting note 
- add optional Rspamd DKIM creation/deletion helpers, a privilege-separated composite domain hook and deployment documentation

These hooks remain optional and disabled by default. Administrators must review the configured paths and service-account names before installation. The mail-crypt password example now requires Dovecot 2.3.19 or newer; its comment identifies the setting name needed by Dovecot 2.4.
2026-07-19 09:50:48 +01:00
Rodrigo Cortés Cano e280deb97a Document Dovecot 2.4 configuration (#1075)
Add Dovecot 2.4-oriented documentation for PostfixAdmin installations.

The new document covers:

- baseline Dovecot 2.4 SQL passdb/userdb configuration
- temporary weak password scheme compatibility for old MD5/MD5-CRYPT
hashes
- optional post-login password migration to ARGON2ID
- optional per-user Maildir to mdbox migration using a local mail_format
field
- quota warning delivery to the user's INBOX
- optional IMAPSieve/Rspamd spam and ham learning hooks
- security notes for userdb_plain_pass and verbose password logging

It also adds sanitized example files under DOCUMENTS/examples and
references the new Dovecot 2.4 document from the existing DOVECOT and
HASHING docs.

Thanks @TrapoSAMA
2026-07-13 08:49:50 +01:00
Özgür Konstantin Kazanççı bf5c3f7eb2 Update config.inc.php (#1074)
typo fixed (alteration) - thanks @ozgurkazancci
2026-07-12 09:13:30 +01:00
David Goodwin 7388aa17bd fix psalm annoyances 2026-07-07 21:27:27 +01:00
David Goodwin 94d8ffcf78 squash merge #1058 - add the ability to bulk delete forwards from the alias list, thanks @knofte
see https://github.com/postfixadmin/postfixadmin/pull/1058
2026-07-07 21:22:33 +01:00
Kent Riboe a400db12dc Add active-status filter to the alias (forwards) list (#1038) (#1056)
Adds a **Forward status: All / Active / Inactive** selector above the
alias (forwards) list in the domain overview (`list-virtual.php`). 

see #1038, thanks @knofte
2026-07-07 20:44:43 +01:00
Kent Riboe c51d00cefb docs: document the language-string workflow (#1070) (#1071)
Refresh the Translation process 
 * rename DOCUMENTS/LANGUAGE.txt to DOCUMENTS/Translations.md, attempt to format.
 * Removes the dead SVN / SourceForge references, points at GitHub.
 * Add a **"for developers"** section etc

Thanks @knofte
2026-07-07 20:37:59 +01:00
David Goodwin 0328f02ec9 update-languages.sh --patch -> adds session_expired_button, session_expired_message, session_expired_title, quota_not_managed, pAdminList_domain_maxquota and search_domains entries, remove stale entry from nl.lang (backupmx) and duplicate from en.lang (pMenu_app_passwords) 2026-07-05 20:27:22 +01:00
Kent Riboe 0f68dee15c viewlog: per-page selector + Bootstrap 5 pager, fix footer layout (#1062) (#1063)
Improve pagination on viewlog page (make page size configurable, use bootstrap 5 pager) 

Closes #1062. Thanks @knofte
2026-07-05 20:21:19 +01:00
snathan100 4b3f7e70ea Add docs: custom fields via *_struct_hook (with domain backend_host example) (#1069)
As discussed in #1068.

Adds `DOCUMENTS/CUSTOM_FIELDS.md`, a start-to-finish walkthrough for
adding a custom field to a built-in entity using the `*_struct_hook`
callbacks, no core patching required.
2026-07-05 20:12:02 +01:00
David Goodwin 97e17c41c1 allow users to configure a closure (anonymous function) as a *_struct_hook config setting as well
previously we required a named function, see #1069
2026-07-05 20:06:17 +01:00
Rodrigo Cortés Cano 1b3db6bbd3 Improve Spanish labels and domain quota text (#1051)
Changes:

* Improve Spanish translations for mail, DKIM, logs, quota and Backup MX labels.
* Use a shorter domain-list quota label while keeping the full domain quota label in edit forms. 
* Keep hidden domain-list values available in the domain tooltip without reusing form labels.
* Add explicit labels for max mailbox quota and unmanaged quota state.

Thanks @TrapoSAMA
2026-07-03 18:35:16 +01:00
Rodrigo Cortés Cano 43fbf7e56b UI improvements for virtual form labels and search spacing (#1052)
small UI and translation fixes for virtual/admin forms.

Changes:

- Adds PALANG entry for the domain search placeholder.
- Replaces the hardcoded domain search placeholder in edit forms.
- Shows the Domain label when creating aliases and mailboxes.
- Uses Bootstrap 5 form-select for generated select controls.
- Adds minor spacing for the virtual search field.

Thanks @trapoSAMA
2026-07-03 18:33:55 +01:00
Rodrigo Cortés Cano 42fd9870d4 Improve invalid CSRF token response page (#1067)
Improve CSRF invalid error page

- Replaces the raw hardcoded error with localized PALANG text. 
- Provides a simple Continue link back to main.php

Related to the 4.0 branch fix in PR #1055.
2026-07-03 18:31:55 +01:00
Kent Riboe 3f149ac219 CI: run the build workflow on pull requests (#1065) (#1066)
Implements #1065 — run github builds more often (on push, on PR)
2026-07-03 08:24:07 +01:00
Kent Riboe d6aabd7745 viewlog: add "All domains" option to the log viewer (#1059) (#1060)
Adds an **"All domains"** option to the View Log domain dropdown, so an
admin managing many domains can see log entries across all of them in
one view instead of picking each domain individually.

Closes #1059.

Thanks @knofte
2026-07-01 16:22:21 +01:00
David Goodwin a995eb3e27 language-update.sh --patch ... update translations and add missing keys with what is in en.lang 2026-07-01 15:04:28 +01:00