David Goodwin
b97d89c280
try and only moan about db drivers missing if the specific driver is in the config, try and improve rendering of warnings/errors etc
2025-05-26 19:40:08 +01:00
David Goodwin
72c0dd1184
token code refactor
2025-05-26 15:53:33 +01:00
David Goodwin
4c01abf440
try and ensure core db tables are InnoDB format for MySQL users upgrading.
2025-05-26 15:51:48 +01:00
David Goodwin
de50ba1d30
only moan about database extensions missing if there are none found.
2025-05-26 15:50:42 +01:00
David Goodwin
5f46bdedaf
respect db prefix stuff for the TOTP database tables.
2025-05-26 15:49:29 +01:00
David Goodwin
1cac965d88
Update POSTFIX_CONF.txt
...
add missing example file for smtpd_Sender_login_maps
2025-05-26 15:04:47 +01:00
David Goodwin
b00e146bf8
drop TODO note
2025-05-17 19:59:41 +01:00
David Goodwin
f57c3e16c0
update CHANGELOG, add 4.0 beta1 release
postfixadmin-4.0-beta1
2025-05-17 19:56:34 +01:00
David Goodwin
ad68f20f82
avoid passing null to exit, see also #921
2025-05-17 19:51:37 +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
cb12b6f3ec
formatting
2025-04-21 19:33:48 +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
c8bf8ec642
register htmlentities earlier, although i do not think this changes anything
2025-04-11 09:26:42 +01:00
David Goodwin
d8fb109038
remove unused config alias_goto_limit - see #915
2025-04-11 09:19:41 +01:00
David Goodwin
4794812fda
add sqlite3 as a debian dependency - see #909 - thanks @marner2
2025-03-05 21:04:34 +00:00
David Goodwin
2e2478e21e
remove duplicate php spec
2025-02-23 20:25:43 +00:00
David Goodwin
2669045ed8
formatting
2025-02-23 20:25:02 +00:00
David Goodwin
d250a47e4a
fix tag nesting etc (broken footer) on setup.php
2025-02-23 20:23:30 +00:00
David Goodwin
19e70326b6
bump postfixadmin/password-hashing - remove some php warnings about string params not being ?string when null is passed in etc
2025-02-23 20:23:30 +00:00
James Lucas III
dce68cdf50
Update upgrade.php ( #906 )
...
fix upgrade.php - admin.totp_secret field was not being added in the right place which caused an error.
see also #899 , thanks @jimlucas
2025-02-23 20:21:27 +00:00
David Goodwin
9620056277
formatting
2025-02-21 09:58:44 +00:00
David Goodwin
70829b4d83
update changelog with cherry-picks from 3.3
2025-02-21 09:57:21 +00:00
David Goodwin
0f53b0343b
add a lax content-security-policy http header - see #905
2025-02-21 09:55:29 +00:00
David Goodwin
b30af8fc6a
upgrade moment.js to v2.30.1 - should fix issue with ReDOS (regex denial of service) - see #902
2025-02-21 09:55:20 +00:00
David Goodwin
03d5fb4b29
tighten up the cookie used by postfixadmin for PHP sessions - add samesite, httponly and perhaps secure flags, see #903 , thanks @gitblacker
2025-02-21 09:11:02 +00:00
David Goodwin
8461afb4ff
add {BOOLEAN_TRUE} for pgsql, see #891
2025-01-18 09:01:35 +00:00
David Goodwin
9ac03371ce
formatting
2025-01-17 11:20:22 +00:00
David Goodwin
f61266cd7d
see https://github.com/postfixadmin/postfixadmin/issues/891 - fix addition of mailbox.smtp_active to work on postgresql, add {BOOLEAN_TRUE} placeholder for mysql (not sure how this did not exist)
2025-01-17 10:43:20 +00:00
David Goodwin
759304ecb8
apparently these all need reformatting
2024-12-05 14:33:41 +00:00
David Goodwin
a605ef6c86
try caching composer vendor stuff in the github build
2024-12-05 14:33:30 +00:00
stachna
34425e0664
Update vacation.pl ( #877 )
...
Update vacation.pl -> add support for MariaDB driver
2024-12-04 15:47:57 +00:00
David Goodwin
fa78207f07
actually test script, might work?
2024-12-02 11:50:14 +00:00
David Goodwin
dffc938bf7
naive attempt at moving this to python3 - see https://github.com/postfixadmin/postfixadmin/issues/875
2024-12-02 11:34:21 +00:00
Jing Luo
586389c2d1
add a manpage for postfixadmin-cli(1)
2024-12-02 08:55:56 +00:00
David Goodwin
f1153a09ab
remove unused, stale, screenshots
2024-11-22 21:49:19 +00:00
David Goodwin
3cb22ed23c
see #857 - update screenshots
2024-11-22 21:10:51 +00:00
David Goodwin
1d56dde49b
add a token padding to the top
2024-11-22 21:10:36 +00:00
David Goodwin
5047f9d1d4
stop smarty moaning about an undefined div on list.php
2024-11-22 20:32:56 +00:00
David Goodwin
8ec9140673
fix: "PHP Deprecated: Using unregistered function "htmlentities" in a template..." from Smarty, see https://github.com/postfixadmin/postfixadmin/issues/872
2024-11-22 20:28:34 +00:00
David Goodwin
24b3b12581
MailboxHandler: change mailbox_postcreation_hook and maildir_name_hook CONF callable check to use is_callable() and not is_string() && function_exists() - this should allow someone to define a PHP 7+ style anonymous function within their config, add unit test to illustrate behaviour etc
...
see also #869 and #812
2024-11-12 20:12:53 +00:00
David Goodwin
476b203c0d
tidy up unit tests (phpunit warnings)
2024-11-12 20:10:09 +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
5bcfc0f613
Fix typo ( #867 )
...
typo fix in config file for mailbox_postcreation_hook; thanks @gianlucagiacometti
2024-11-11 08:54:35 +00:00
Christian Boltz
dc51b00ce1
Fix formatting
2024-11-10 22:19:22 +01:00
David Goodwin
25bab8d7a2
code formatting
2024-11-09 14:47:28 +00:00
Marcus Deglos
cbce0c1909
Fix configuration typo ( #866 )
...
Add dollar symbol to variables (master.cf in docs) - thanks @manarth
2024-11-09 14:44:05 +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
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
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
Gianluca Giacometti
9b169e27f9
smtp_active should be a checkboox ( #861 )
2024-11-05 19:08:26 +00:00