David Goodwin
8cc19b0adf
add @todo for php-imap.com - see also #656
3 years ago
Jan Kruis
e279c77ca5
languages/nl.lang translation from english for new function such as dkim and password
public/editactive.php edit wrong description text it said this module is used for deleting admin domains mailbos etc
modify templates that it is used
public/list-virtual.php modify templates that it is used
modify the remarks behind arguments and internal , the texteditor thought the text after this was still remark text untl is see */
public/vacation.php and
model/VacantionHandel.php adjust date string actionFrom and activeUntil these are written in the database as e.g. 2020-10-01 15:14:00 and 2020-10-30-15:14:00
this should be 2020-10-01 00:00:00 and 2020-10-30 23:59:59 so that it contains all day, this happens if no holiday has been set for the account yet
when adjusting the dates, the seconds of until are set to 00 instead of 59. When the holiday is canceled and then action is taken again, the from time
to the time when the setting is made.
templates/editform.tpl remove blank space
templates/list-virtual_mailbox.tpl remove indent tabs
3 years ago
David Goodwin
5a14f4bc1f
this might be a more logical approach - only try and call htmlentities on things that are stringy or arrays
3 years ago
David Goodwin
f760d2cd3a
to not try to sanitise a null - see https://github.com/postfixadmin/postfixadmin/issues/650
3 years ago
Christian Boltz
4b8027e8e3
rename 'txtlarge' field type to 'txta'
... (think "textarea") to keep the field type name short.
This is a follow-up up https://github.com/postfixadmin/postfixadmin/pull/631#issuecomment-1188336564
3 years ago
Christian Boltz
6a53b1ab88
Drop duplicate db_delete() call from DkimHandler
... and DkimsigningHandler
The hardcoded name is the same as $this->db_table, which effectively
means running the same query twice. One of them is enough.
3 years ago
Christian Boltz
9ec3196c6d
Whitespace fixes
3 years ago
David Goodwin
b55457d978
composer format
3 years ago
David Goodwin
38549c48ad
composer format
3 years ago
Adrien Crivelli
80e500591f
Avoid deprecation in PHP 8.1
3 years ago
Adrien Crivelli
a97771adfd
Automatic code style fixes
3 years ago
David Goodwin
2d6ded2786
PSR2 -> PSR12 formatting
3 years ago
Fredrik Falk
9e73025058
Add Domain Key handling
3 years ago
David Goodwin
35486a2ca9
remove dead code
3 years ago
David Goodwin
c240cb0033
reformat
4 years ago
Oliver Cooper
b4028bd309
Add Mailbox quota translations
4 years ago
benchea dan
51673118bb
Update PFACrypt.php
if you have old hashes like $nr$salt$hash and you migrate to {algoithm}hash
4 years ago
David Goodwin
422daf6c44
see #567 - missed SHA512-CRYPT
4 years ago
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
5 years ago
Valery Kartel
f392024784
Update VacationHandler.php
5 years ago
Valery Kartel
d54754097f
Update AliasdomainHandler.php
5 years ago
Valery Kartel
4f31aa4220
Update VacationHandler.php
5 years ago
Valery Kartel
04cbdea3d9
Update AliasdomainHandler.php
5 years ago
Valery Kartel
ae0d9436b5
Update MailboxHandler.php
5 years ago
Valery Kartel
b075544c66
Update AdminpasswordHandler.php
5 years ago
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
5 years ago
David Goodwin
8518d53906
merge postfixadmin_3.3 into master
5 years ago
David Goodwin
584e4ef41d
type hinting changes
5 years ago
Andrey Miroshnichenko
0ebb006888
Adds an ability to update password_expity field when user changes own password
5 years ago
David Goodwin
1a63ee6c5d
might fix tests
5 years ago
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
5 years ago
David Goodwin
543285a203
add SSHA format, add some specific courier algorithms, try and partially update docs
5 years ago
David Goodwin
858c0a0ecd
add in some @deprecated notifices
5 years ago
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
5 years ago
Sven Strickroth
74a12b4f0c
Add support for domain_postedit_script
Signed-off-by: Sven Strickroth <email@cs-ware.de>
5 years ago
David Goodwin
af2cba2a6c
only update the modified field on update
5 years ago
David Goodwin
2edabc3e03
phpcs insists on some brace changes
5 years ago
David Goodwin
823f27b29d
phpcs wants to change ...
5 years ago
Sven Seeberg
7fd3d30418
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>
5 years ago
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>
5 years ago
David Goodwin
9700a3a9c9
fix psalm : bool -> int
5 years ago
David Goodwin
b2831d1241
psalm improvements
5 years ago
David Goodwin
e3269b62d9
fix formatting
5 years ago
David Goodwin
52933a6307
remove change to table_by_key() as the original bug has been found in Login
5 years ago
David Goodwin
92fd05cb5d
do not worry about escaping an object
5 years ago
David Goodwin
84ad0ebec7
perhaps better error logging if mailbox_postpassword_script fails
5 years ago
David Goodwin
a442b7331d
hint for future people
5 years ago
David Goodwin
34e0367a0b
check if config option exists and do not require it is a string - see https://github.com/postfixadmin/postfixadmin/issues/437
5 years ago
David Goodwin
da7607c9c5
see #429 - check for some CONF keys before trying to use them
5 years ago
David Goodwin
59db09d337
add a Config::has($name) to check for the existance of a config value
5 years ago