0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
Commit Graph

3182 Commits

Author SHA1 Message Date
David Goodwin
d3dfe6382b
fix syntax error added in 4ae78cd172 and #823 2024-04-22 21:00:12 +01:00
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
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
David Goodwin
b65f7ef627 fix composer.json irc spec, move to use phar/psalm 2023-12-24 19:34:37 +00:00
David Goodwin
06c32173c5
Update README.md
add note on releases/branches etc
2023-12-23 22:09:15 +00:00
David Goodwin
ccbf3f9ab3 reformat/reorganise code 2023-12-23 21:59:33 +00:00
David Goodwin
8003978ca5 type hints etc and todo notes 2023-12-23 21:55:50 +00:00
David Goodwin
824ba906b1 more type hints 2023-12-23 21:49:57 +00:00
David Goodwin
4d6767cc37 avoid sql injection 2023-12-23 21:47:57 +00:00
David Goodwin
015d4ec9cd reindent / reformat; add type hints for some of the app password stuff; try and make sure someone can only remove their own app password (see revokeAppPassword() ) 2023-12-23 21:43:31 +00:00
David Goodwin
1dc6ebe834 i thought i moved php to >= 7.4 2023-12-23 21:30:43 +00:00
David Goodwin
56b21b7cf4 update CHANGELOG.TXT with MFA/TOTP line 2023-12-23 17:07:54 +00:00
David Goodwin
ae472699fb fix syntax 2023-12-23 17:06:03 +00:00