Commit Graph
3192 Commits
Author SHA1 Message Date
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 TavaresandNuno 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
Nuno Tavares a75c0471fc casting the date fields directly in the query 2024-04-12 01:41:47 +02:00
David Goodwin e0e2d006c5 Merge pull request #817 from bestlong/patch-1
fix: Update php.yml
2024-04-11 11:43:13 +02:00
Shao Yu-Lung (Allen) 376b96bfa1 fix: Update php.yml
fix typo
2024-04-11 16:40:11 +08:00
David Goodwin 279e7f682d underlying db field is set to an int (for mysql and pgsql), pgsql does not cope with t/f being set for an inty field, so change the model definition .... - see #814 2024-04-07 19:37:41 +01:00
David Goodwin 065d68afbd update changelog to include not on #472 and #812 2024-04-04 08:54:47 +01:00
David Goodwin 62a76734c9 see #812 - remove config options for create_mailbox_subdirs_* due to the php-imap module being deprecated; leave in an error_log message to perhaps avoid future support tickets asking why this does not work 2024-04-01 19:38:31 +01:00
David Goodwin 81a1d45617 drop use of the deprecated PHP imap extension (php-imap) - see #472 and #812 2024-04-01 19:32:47 +01:00
David Goodwin 582680889e Merge pull request #811 from hguilbert/patch-3
Update fr.lang
2024-03-30 21:14:44 +01:00
hguilbert fd74832842 Update fr.lang
deleting comments # XXX
2024-03-30 14:11:01 +01:00
David Goodwin c472868afe Merge pull request #810 from hguilbert/patch-2
Update fr.lang - thanks @hguilbert
2024-03-29 21:00:40 +01:00
hguilbert 53829e065f Update fr.lang 2024-03-29 06:41:31 +01:00
David Goodwin c422a4bad2 see #808 - db_log expects 3 strings ... make sure we do not pass in a null 2024-03-08 11:46:14 +00:00
David Goodwin 20136f257f Merge pull request #807 from hguilbert/patch-1
Update fr.lang
2024-03-03 20:26:18 +00:00
hguilbert 0cba341e06 Update fr.lang
Proposed translation update fr.lang
2024-03-03 08:42:39 +01:00
David Goodwin daa3995f0d Update README.md
english
2024-02-17 20:02:16 +00:00
David Goodwin 308d43c648 Merge pull request #804 from chrean/master
Fix typo ( s/pasword/password/ )
2024-02-15 15:27:57 +00:00
Gabriel Sambarino f81a070cc9 Fix typo ( s/pasword/password/ ) 2024-02-15 15:56:57 +01:00
David Goodwin 8c1369068f fix #801 - incorrect path for common.php 2024-02-06 08:29:54 +00:00
David Goodwin 64c34b2c0a fix deletion of app password - see #800 2024-02-05 20:30:31 +00:00
David Goodwin 45557a6ed4 code formatting fix 2024-01-11 08:57:27 +00:00
David Goodwin 85e92f4012 update CHANGELOG with notes for #338 (restrict alias destination to local domains) and #796 (mailbox.smtp_active / controlling outbound mail etc) 2024-01-11 08:56:45 +00:00
David Goodwin ca4a4dae98 Merge pull request #338 from michaelkrieger/michaelkrieger-patch-1
Adds config setting which can limit alias destinations to local domains ( Thanks @michaelkrieger ). See also https://github.com/postfixadmin/postfixadmin/pull/338/
2024-01-11 08:52:27 +00:00
David Goodwin eda637df1a Merge branch 'master' into michaelkrieger-patch-1 2024-01-11 08:51:17 +00:00
David Goodwin 78bf7b79a9 Merge pull request #796 from johnfawcett/master
Add a flag to mailbox table for enable/disable smtp protocol

( Adds docs, new mailbox.smtp_active field and new config setting for enabling it)
2024-01-10 11:26:32 +00:00
David Goodwin c700f3c9c7 update mailbox - add smtp_active for #796 2024-01-10 10:02:07 +00:00
John Fawcett 8a314079bd Updates to POSTFIX_CONF.txt for configuration of authenticaiton with
dovecot sasl and configuration of Postfix submission service
2024-01-09 23:15:57 +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 6e6e4301ed an empty check would catch null ... while != "" will also match null it feels wrong 2024-01-05 19:31:54 +00:00
David Goodwin 0632d39d0c login.php was writing to $_SESSION just before the 'init_session' function was called which just overwrote everything, so reorder code to fix #795
see https://github.com/postfixadmin/postfixadmin/issues/795 (thanks @kwitkow)
2024-01-05 19:30:36 +00:00
David Goodwin 6b5801c666 typo fixes 2024-01-05 19:30:16 +00:00
David Goodwin 39e378c783 improve type hinting 2023-12-27 16:17:55 +00:00
David Goodwin 0829e032d4 try and fix db schema for app password stuff for Sqlite 2023-12-27 16:17:55 +00:00
David Goodwin dc792a0222 add unit test to cover some of Login::addAppPassword() 2023-12-27 16:17:55 +00:00
David Goodwin eaf79688f0 add note on CHANGELOG.TXT 2023-12-25 22:08:10 +00:00
David Goodwin 2ee4b3832e formatting 2023-12-24 19:40:49 +00:00
David Goodwin a368104fad token test 2023-12-24 19:39:47 +00:00