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
David Goodwin
e1c64f887f
reformat code
2024-10-30 19:29:55 +00:00
kvassss
5de5fb2719
Fix deprecated config parameter error ( #859 )
...
add create_mailbox_subdirs to deprecated list - stop error_log() call for it from Config.
see also #812
Co-authored-by: Sergey Lisenko <lisenkosergey@loc.tashkent.uz >
2024-10-30 15:04:19 +00:00
David Goodwin
65d95eddac
see #858 - change debian dependencies slightly (mysql-client)
2024-10-26 09:05:06 +01:00
David Goodwin
704bad6d63
drop travis.yml build - no longer used - see #836
2024-09-12 10:41:58 +01:00
Villers
2d91a30e3e
Update hu.lang ( #851 )
...
thanks @notvillers
2024-08-13 16:28:42 +01: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
David Goodwin
b726c7aba8
ensure {MD5-CRYPT}$1$ and $1$... are treated the same .. see also #843
2024-07-16 11:16:48 +01:00
Gnieark and Gnieark
90c837f261
fix non escaped strings ( #835 )
...
Co-authored-by: Gnieark <gineark@free.fr >
2024-06-04 20:06:52 +01:00
David Goodwin
fa56b1ccb8
scripts/examples/vacation-cron.php: add db_get_boolean() call, this should let it work on postgresql too
2024-06-01 08:57:57 +01:00
David Goodwin
06a7bb7fb6
vacation.pl: bump log priority in send_vacation_email(..) routine - see #832
2024-06-01 08:56:28 +01:00
David Goodwin
c32f344b9d
formatting?
2024-05-31 19:27:12 +01:00
David Goodwin
519c934ed3
Add minimal cron job to remove old vacation alias records - see https://github.com/postfixadmin/postfixadmin/issues/832
2024-05-31 19:25:53 +01:00
David Goodwin
f3ce7e232d
token formatting changes
2024-05-17 22:03:55 +01:00
David Goodwin
56dd787ce2
when going through password recovery, only wipe the recovery token after the user has updated their password
...
see https://github.com/postfixadmin/postfixadmin/issues/550
2024-05-17 22:02:01 +01:00
Marat Zimnurov
5dfee5aa8d
docs(install): fix a typo for unarchived dir ( #828 )
...
Thank you!
2024-05-12 10:00:58 +01:00
David Goodwin
6c84ceeb94
see #826 - avoid $no_vacation_pattern of "" causing everyone to be skipped
2024-05-09 08:35:57 +01:00
David Goodwin
05d87b16fe
github build: suppress coverage report as it is broken
2024-04-22 21:09:16 +01:00
David Goodwin
2eb7f34844
try and fix phpunit deprecation warning - assertRegExp => assertMatchesRegularExpression
2024-04-22 21:08:57 +01:00
David Goodwin
f01274ec94
try relaxing composer dependencies to allow php8.2 dev support, reformat so composer format passes
2024-04-22 21:02:01 +01:00
David Goodwin
d3dfe6382b
fix syntax error added in 4ae78cd172 and #823
2024-04-22 21:00:12 +01:00
Nuno Tavares and Nuno Tavares
4ae78cd172
dont assume 'quota' will be in the values, just like block before wasn't assuming ( #823 )
...
Co-authored-by: Nuno Tavares <n.tavares@portavita.eu >
2024-04-22 08:35:55 +01:00
Shao Yu-Lung (Allen)
0876c368e4
feat: support Dovecot DIGEST-MD5 ( #816 )
...
Add support for dovecot DIGEST-MD5 auth (using : $CONF['pacrypt'] = 'dovecot:DIGEST-MD5')
This also changes the pacrypt() function to take an optional 3rd argument (username).
Thanks @bestlong
2024-04-12 09:57:19 +01:00
David Goodwin
53426ac148
Merge pull request #819 from ntavares/replace_string-date-parsing-errors
...
casting the date fields directly in the query
2024-04-12 10:05:03 +02:00