Commit Graph
415 Commits
Author SHA1 Message Date
Rodrigo Cortés Cano d1457da94f 4.x: improve alias destination status indicators (#1152)
Ports #1150 to `postfixadmin_4.0` and addresses discussion #886.

An alias destination absent from local records can be a valid external
address. Replace the misleading “maybe UNDELIVERABLE” label with
“Possible external destination” and add the short tooltip “Not listed as
a local destination.” English and Spanish wording matches #1150.

thanks @TrapoSAMA
2026-09-19 10:26:14 +01:00
Rodrigo Cortés Cano b07850f2d6 4.x: escape viewlog output by default (#1140)
Restore default output sanitisation for viewlog records and replace the
inline JavaScript detail popup with native details markup.

This ports PR #1134 while preserving Smarty 3/4 and Bootstrap 3
compatibility.

Refs #1128

Thanks @TrapoSAMA
2026-09-02 20:09:20 +01:00
Rodrigo Cortés Cano 6e93d57766 Fix password expiration handling and visibility on 4.x (#1110)
- port the password-expiration correction to `postfixadmin_4.0`
- make password expiration optional and disabled by default
- make 0 consistently mean that domain passwords do not expire
- validate whole-day policies from 0 through 36500
- align password-change paths and preserve the existing Login fallback
- show mailbox expiration states in lists and CSV output
- add the new labels to every 4.x language file
- document how to enable the feature in `config.local.php`

thanks @TrapoSAMA
2026-08-11 09:28:19 +01:00
Rodrigo Cortés Cano 4ed71f0218 Improve TOTP code input semantics (#1106)
- 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 input IDs so their labels point to the actual controls

thanks @TrapoSAMA
2026-08-10 09:09:58 +01:00
Rodrigo Cortés Cano dcf9318d27 Fix 4.0.x UI layout and Spanish i18n issues (#1077)
This PR contains corrective UI and Spanish i18n fixes for the 4.0.x
branch.

Fixes included:
- Fix domain list layout stability by adding explicit column classes and
widths.
- Fix horizontal overflow in the domain list so wide tables remain
usable on smaller screens.
- Fix quota bar rendering consistency in domain and mailbox listings.
- Fix action buttons in list views by using compact icon buttons with
title and aria-label attributes.
- Fix top menu spacing and labels so the navigation remains readable in
constrained widths.
- Fix untranslated dashboard/global search labels by adding language
strings.
- Fix Spanish labels and wording used by the affected 4.0.x screens.
- Fix the total quota label shown in the domain list.

Thanks @TrapoSAMA
2026-07-13 08:47:57 +01:00
Fredrik Boström 8e6457e15b Fix pw recovery without totp (#1032)
Check if user has TOTP active, if so display input field in pw-change form and evaluate it.
2026-05-23 14:29:38 +01:00
Sven Strickroth ebea7fa96b Use $fDomain variable, if present, for the domain= links for Add Forward/Domain etc
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2026-01-26 19:18:34 +01:00
David Goodwin b0889ff5a7 template footer: remove update-check.php link - just link people to the github releases page 2025-07-14 08:35:09 +01:00
David Goodwin ea9cd033a5 Revert "remove unnecessary {else} bit in the template"
This reverts commit 49a96432e6.
2025-07-13 18:30:12 +01:00
David Goodwin c2eb61a85c add some missing icons for the top menu things 2025-07-12 19:28:27 +01:00
David Goodwin 49a96432e6 remove unnecessary {else} bit in the template 2025-07-12 19:20:12 +01:00
David Goodwin 41923ab9a9 list-virtual.php : remove list styling from the overview section 2025-07-12 19:12:28 +01:00
David Goodwin 5144448085 reindent 2025-07-12 19:09:54 +01:00
David Goodwin 78150a307f remove unnecessary bullet from a list of checkboxes in the edit form 2025-07-12 19:04:50 +01:00
David Goodwin 5756844fe6 reindent 2025-07-12 19:04:27 +01:00
David Goodwin 798e8b269c Topt app passwords fixes (WIP) (#805)
various improvements to the TOTP code see also:  #802
2025-05-16 20:31:20 +01:00
David Goodwin ee3329a91c i think this is an actual fix for #913 - add a htmlentities_no_double_encode modifier to smarty and use it to hopefully escape the itemkey variable... 2025-04-11 09:56:56 +01:00
David Goodwin 1d56dde49b add a token padding to the top 2024-11-22 21:10:36 +00:00
Gianluca Giacometti a61dd62c6e Fix double id value in the dom and add id properties to list divs (#868)
Fix duplication of property id in smarty template - thanks @gianlucagiacometti
2024-11-11 14:11:33 +00:00
Gianluca Giacometti 62f4d42f1d Closes #860 (#865)
* Fix javascript error - condition on local_part - Closes #860
2024-11-09 14:41:11 +00:00
David Goodwin 989b0a2f34 possible fix for #860 - if struct.local_part is not set, do not try to access it in smarty/PHP 2024-11-08 19:07:23 +00:00
David Goodwin 5f5c52257d add token "global search" on the frontpage for superadmins to perhaps find some things quickly 2024-07-23 20:57:39 +01: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
David Goodwin 14a572bac7 perhaps fix issue with url encoding - see #705 2023-12-23 16:28:00 +00:00
Fredrik Boström ea121c721b Add Alert() about illegal character in username 2023-09-26 15:27:24 +02: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
reinks2112 873bc8c43b toggle the style of the active buttons, 2nd
This is a small optical enhancement that toggles the style of the "active" buttons depending on the actual state of the corresponding entry.
This is the second file I forgot to add in the previous commit.
2023-07-29 00:19:19 +02:00
reinks2112 d58a184bc0 toggle the style of the active buttons
This is a small optical enhancement that toggles the style of the "active" buttons depending on the actual state of the corresponding entry.
2023-07-28 23:50:06 +02:00
David Goodwin f8e6cf408a replace jquery 1.12.4 with 3.7.0 - see #734 2023-06-13 11:06:43 +01:00
David Goodwin 1e872d8a90 see #497 - add img-src self/data: etc 2023-05-31 17:02:23 +01:00
David Goodwin 702bb6cdc3 fix incorrect smarty default modifier use 2023-05-03 09:04:35 +01:00
David Goodwin 61c458c019 see #718 - fix theme logo to try what is in config and fall back to the postbox 2023-04-22 20:35:18 +01:00
David Goodwin a5ec516adc formatting 2023-03-09 21:57:26 +00:00
David Goodwin b026c8a1b0 see #706 - should fix checkbox icons when non-english 2023-03-03 20:40:23 +00:00
Manuel Dalla Lana 29a5d59f8d Fix invalid PALANG declaration 2022-11-08 11:15:30 +01:00
Jan Kruis 63cb19cc73 Update list-virtual_mailbox.tpl
added two text variables
$PALANG['To_Mailbox'] and $PALANG['To_Forward_Only']
to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables
2022-11-03 21:09:24 +01:00
Jan Kruis e279c77ca5 languages/nl.lang translation from english for new function such as dkim and password
public/editactive.php			edit wrong description text it said this module is used for deleting admin domains mailbos etc
					modify templates that it is used

public/list-virtual.php			modify templates that it is used
					modify the remarks behind arguments and internal , the texteditor thought the text after this was still remark text untl is see */

public/vacation.php and
model/VacantionHandel.php		adjust date string actionFrom and activeUntil these are written in the database as e.g. 2020-10-01 15:14:00 and 2020-10-30-15:14:00
					this should be 2020-10-01 00:00:00 and 2020-10-30 23:59:59 so that it contains all day, this happens if no holiday has been set for the account yet
					when adjusting the dates, the seconds of until are set to 00 instead of 59. When the holiday is canceled and then action is taken again, the from time
					to the time when the setting is made.

templates/editform.tpl			remove blank space

templates/list-virtual_mailbox.tpl	remove indent tabs
2022-10-12 17:46:15 +02:00
Christian Boltz 4b8027e8e3 rename 'txtlarge' field type to 'txta'
... (think "textarea") to keep the field type name short.

This is a follow-up up https://github.com/postfixadmin/postfixadmin/pull/631#issuecomment-1188336564
2022-07-23 21:22:49 +02:00
Fredrik Falk 9e73025058 Add Domain Key handling 2022-06-23 20:40:06 +02:00
David Goodwin e1286b7080 add missing styles to fetch email menu button 2022-03-25 09:17:54 +00:00
benchea dan 0bc7e7d973 check when edit 2022-03-21 16:21:50 +02:00
benchea dan fa8be62854 checking domains when editing 2022-03-21 16:08:14 +02:00
benchea dan f6ed8b7b96 wrong copy pate from nano 2022-03-21 15:04:19 +02:00
benchea dan ff1751da55 Update editform.tpl 2022-03-21 13:47:38 +02:00
benchea dan d9b74552a0 search domain 2022-03-21 13:44:26 +02:00
benchea dan 84bec3fdc1 add check box to domains 2022-03-21 10:30:25 +02:00
benchea dan e2cfa87178 glyphicon icons 2022-03-17 10:19:09 +02:00
benchea dan 83b900531b glyphicon icons 2022-03-17 10:17:50 +02:00
benchea dan a691ce662e Update index.tpl 2022-03-17 10:17:05 +02:00