benchea dan
51673118bb
Update PFACrypt.php
...
if you have old hashes like $nr$salt$hash and you migrate to {algoithm}hash
2022-02-09 10:39:15 +02:00
David Goodwin
422daf6c44
see #567 - missed SHA512-CRYPT
2021-11-30 10:48:06 +00:00
David Goodwin
0b9b7db917
Merge remote-tracking branch 'origin/master' into feature-improve-pacrypt
2021-09-29 18:04:49 +01:00
BotoX
768f2ee844
Improve dovecot mail-crypt postpassword script security (pipe password instead of passing on cmdline)
...
Suggested from: https://github.com/postfixadmin/postfixadmin/issues/441#issuecomment-774736944
2021-06-13 12:24:27 +02:00
David Goodwin
4c6c857e3e
Merge pull request #500 from vakartel/patch-1
...
model/AdminpasswordHandler.php :: eliminate php waring
2021-06-02 11:26:36 +01:00
David Goodwin
033b70abcd
Merge pull request #501 from vakartel/patch-2
...
model/MailboxHandler.php :: eliminate php warning
2021-06-02 11:26:27 +01:00
David Goodwin
961124fae4
Merge pull request #502 from vakartel/patch-3
...
model/AliasdomainHandler.php :: eliminate php warning
2021-06-02 11:26:17 +01:00
Valery Kartel
f392024784
Update VacationHandler.php
2021-06-02 13:25:02 +03:00
Valery Kartel
d54754097f
Update AliasdomainHandler.php
2021-06-02 13:24:11 +03:00
Valery Kartel
ae0d9436b5
Update MailboxHandler.php
2021-06-02 13:13:40 +03:00
Valery Kartel
b075544c66
Update AdminpasswordHandler.php
2021-06-02 13:13:00 +03:00
David Goodwin
659b242b59
merge fix
2021-05-15 21:28:19 +01:00
David Goodwin
5a305bc830
allow vacation settings to include a time (but specify a time if one is not), this should stop us overwriting the time - see https://sourceforge.net/p/postfixadmin/discussion/676076/thread/5637ae3bc5/?limit=25#24a5
2021-05-13 16:16:22 +01:00
David Goodwin
8518d53906
merge postfixadmin_3.3 into master
2021-05-13 13:15:27 +01:00
David Goodwin
584e4ef41d
type hinting changes
2021-05-13 12:56:38 +01:00
Andrey Miroshnichenko
0ebb006888
Adds an ability to update password_expity field when user changes own password
2021-05-13 00:23:05 +03:00
David Goodwin
1a63ee6c5d
might fix tests
2021-05-11 22:05:36 +01:00
David Goodwin
179dd4c6e2
try and improve hashing, remove duplicate code, try and cope with the algorithm/method in $pw_db being different from the configured one; add tests
2021-05-11 21:56:48 +01:00
David Goodwin
543285a203
add SSHA format, add some specific courier algorithms, try and partially update docs
2021-05-09 21:31:53 +01:00
David Goodwin
858c0a0ecd
add in some @deprecated notifices
2021-05-08 21:56:05 +01:00
David Goodwin
71ee810891
try and implement more hash mechanisms - see e.g. https://github.com/postfixadmin/postfixadmin/issues/479 and https://github.com/postfixadmin/postfixadmin/issues/379
2021-05-08 21:47:45 +01:00
Sven Strickroth
74a12b4f0c
Add support for domain_postedit_script
...
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-08 18:27:44 +02:00
David Goodwin
af2cba2a6c
only update the modified field on update
2021-04-13 21:35:06 +01:00
David Goodwin
2edabc3e03
phpcs insists on some brace changes
2021-04-13 21:19:16 +01:00
David Goodwin
823f27b29d
phpcs wants to change ...
2021-03-22 09:28:28 +00:00
Sven Seeberg
160fb32441
Change Login changePassword, fixes #456
...
* The db_udpate function already sets backticks around the table
name, which results and error name if the string passed as argument
for the table name already contains backticks.
Signed-off-by: Sven Seeberg <mail@sven-seeberg.de>
2021-02-19 08:58:08 +01:00
David Goodwin
9700a3a9c9
fix psalm : bool -> int
2021-02-18 21:19:56 +00:00
David Goodwin
c755e82a36
Merge branch 'postfixadmin_3.3'
2021-02-18 12:12:27 +00:00
David Goodwin
b2831d1241
psalm improvements
2021-02-17 21:29:18 +00:00
David Goodwin
237615502a
Merge remote-tracking branch 'origin/postfixadmin_3.3'
2021-01-27 09:29:57 +00:00
David Goodwin
e3269b62d9
fix formatting
2021-01-26 21:39:11 +00:00
David Goodwin
52933a6307
remove change to table_by_key() as the original bug has been found in Login
2021-01-26 21:06:15 +00:00
David Goodwin
92fd05cb5d
do not worry about escaping an object
2021-01-26 20:42:28 +00:00
David Goodwin
84ad0ebec7
perhaps better error logging if mailbox_postpassword_script fails
2021-01-25 22:04:04 +00:00
David Goodwin
336259957d
Merge remote-tracking branch 'origin/postfixadmin_3.3'
2021-01-25 21:58:31 +00:00
David Goodwin
7589326c15
Merge remote-tracking branch 'origin/postfixadmin_3.3'
2021-01-25 17:01:06 +00:00
David Goodwin
a442b7331d
hint for future people
2021-01-25 17:00:16 +00:00
David Goodwin
34e0367a0b
check if config option exists and do not require it is a string - see https://github.com/postfixadmin/postfixadmin/issues/437
2021-01-25 17:00:04 +00:00
David Goodwin
da7607c9c5
see #429 - check for some CONF keys before trying to use them
2021-01-23 16:55:41 +00:00
David Goodwin
dbfb1382fe
Merge remote-tracking branch 'origin/postfixadmin_3.3'
2021-01-22 19:50:07 +00:00
David Goodwin
59db09d337
add a Config::has($name) to check for the existance of a config value
2021-01-22 18:02:41 +00:00
David Goodwin
481c465712
merge e7e1ce9c28
to fix PostgreSQL tests
2021-01-19 19:24:08 +00:00
David Goodwin
e7e1ce9c28
fix postgresql test
2021-01-19 16:50:56 +00:00
David Goodwin
23cec95153
fix php8 moaning about string vs int
2021-01-18 20:49:49 +00:00
David Goodwin
e8acde751f
fix php8 moaning about string vs int
2021-01-18 20:46:11 +00:00
David Goodwin
dd7d94912b
fix psalm issue(s); fix incorrect variable; throw exception if mailbox_postpassword_script fails
2021-01-15 19:26:07 +00:00
David Goodwin
70bf59edc4
composer format; fix syntax issue; comment out code in model/Login which fails psalm check
2021-01-14 22:22:27 +00:00
David Goodwin
cb161a7cec
Merge pull request #421 from BotoX/master-crypt
...
Suport for dovecot mail-crypt-plugin via new mailbox_postpassword_script hook
2021-01-14 20:11:14 +00:00
David Goodwin
ff2a7c96d4
update changelog; try and improve tests
2021-01-14 17:07:55 +00:00
David Goodwin
79737bc049
reformat
2021-01-14 17:07:55 +00:00