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

3198 Commits

Author SHA1 Message Date
David Goodwin
2d540e1da7 give the language selector an id - see #736 - thanks @frzquerty 2023-06-23 21:11:09 +01:00
David Goodwin
f1ee7b23a4 setup.php does not use the datetime widget or any funky bootstrap special effects, so we might as well remove JS from it 2023-06-17 19:24:53 +01:00
David Goodwin
9f91c55b24 typos 2023-06-17 19:21:05 +01:00
Christian Boltz
656b44d60c
also replace jquery 1.12.4 with 3.7.0 in setup.php
... and delete the old jquery-1.12.4.min.js
2023-06-13 13:25:02 +02:00
David Goodwin
f8e6cf408a replace jquery 1.12.4 with 3.7.0 - see #734 2023-06-13 11:06:43 +01:00
David Goodwin
1e872d8a90 see #497 - add img-src self/data: etc 2023-05-31 17:02:23 +01:00
David Goodwin
702bb6cdc3 fix incorrect smarty default modifier use 2023-05-03 09:04:35 +01:00
David Goodwin
61c458c019 see #718 - fix theme logo to try what is in config and fall back to the postbox 2023-04-22 20:35:18 +01:00
David Goodwin
d99d1785b4 fix pacrypt() call - if we have passwords stored like $1$... they are PHP_CRYPT:MD5, and treating them as crypt does not work with dovecot 2023-03-09 21:59:35 +00:00
David Goodwin
605a019a24 better test coverage - make sure pacrypt() respects php_crypt:MD5 and makes something like $1$..... 2023-03-09 21:57:58 +00:00
David Goodwin
a5ec516adc formatting 2023-03-09 21:57:26 +00:00
David Goodwin
b026c8a1b0 see #706 - should fix checkbox icons when non-english 2023-03-03 20:40:23 +00:00
David Goodwin
18b3638787
Merge pull request #708 from Coeur2Boeuf/patch-1
Update functions.inc.php for dovecot:CRYPT-METHOD
2023-02-20 19:05:23 +00:00
Thomas GALLIOU
e53b5e8a58
Update functions.inc.php
$conf['encrypt'] = 'dovecot:CRAM-MD5'

never success !

function _pacrypt_dovecot() will be never used

See my propose to run with dovecot:CRYPT-METHOD
2023-02-20 19:44:13 +01:00
David Goodwin
0344e729d0 see https://github.com/postfixadmin/postfixadmin/issues/704 - add documentation 2023-02-03 14:33:16 +00:00
David Goodwin
2b6f9f57f4
Merge pull request #703 from dennis2society/master
Fix CSV alias export
2023-02-01 12:28:39 +00:00
Dennis Lübke
57ed8e06e3
Merge pull request #1 from dennis2society/dennis2society-csv_whitespace_column_fix
Ignore CSV labels with a whitespace
2023-02-01 12:33:00 +01:00
Dennis Lübke
5476bb3abd
Ignore CSV labels with a whitespace
Currently, exporting the alias list to CSV, the first column label is only a whitespace. For some reason the contents of this column consists of a long concatenation of "nbsp;"s.
This fix ignores the whitespace column label and gets rid of the "nbsp;nbsp;......" contents of this column.
This was successfully tested on a running installation of postfixadmin 3.2 on a Debian 11 system.
2023-02-01 12:28:58 +01:00
David Goodwin
fcf14f0165 rename some tables so someone migrating from 3.3.x to 3.4 (?) should not have problems 2022-12-08 20:46:47 +00:00
David Goodwin
743613da21 update changelog with entries from 3.3.x 2022-12-08 20:46:11 +00:00
David Goodwin
375350cadd reformat a little 2022-11-30 21:18:40 +00:00
David Goodwin
ae6ff93c95 better markup; warn admin if admin_from is not defined - see #667 2022-11-30 21:18:32 +00:00
David Goodwin
65aea00a1f see https://github.com/postfixadmin/postfixadmin/issues/667 - re-use smtp_get_admin_email(), try and make sure there is a From: set in password recovery emails 2022-11-30 21:18:06 +00:00
David Goodwin
9fbb2fcc14 see https://github.com/postfixadmin/postfixadmin/issues/683 - add in error_log for e.g. fail2ban to pick up on someone trying to get into setup.php 2022-11-15 16:33:49 +00:00
David Goodwin
78174d8f67 fix fetchmail using wrong arg for pidfile and mixing up state file (-i vs --pidfile) - see https://github.com/postfixadmin/postfixadmin/issues/681 2022-11-13 18:58:29 +00:00
David Goodwin
41614a48de
Merge pull request #679 from endelwar/patch-1
Fix invalid PALANG declaration
2022-11-08 11:05:20 +00:00
Manuel Dalla Lana
29a5d59f8d
Fix invalid PALANG declaration 2022-11-08 11:15:30 +01:00
David Goodwin
aafdb7187d
Merge pull request #671 from Jan-Kruis/patch-1
Update nl.lang
2022-11-05 14:52:45 +00:00
Christian Boltz
01f3e2885d
Add 'To_Mailbox' and 'To_Forward_Only' to all *.lang files 2022-11-04 22:43:09 +01:00
David Goodwin
9316e9fb45 +; 2022-11-03 21:22:14 +00:00
David Goodwin
b4a7e4192e fix php7.2 heredoc formatting (ending token must be the only thing on the line) 2022-11-03 21:12:33 +00:00
David Goodwin
02b5d7c76e
Merge pull request #676 from Jan-Kruis/patch-2
Update nl.lang
2022-11-03 20:54:49 +00:00
David Goodwin
bbf55dfc63
Merge pull request #675 from Jan-Kruis/master
Translatable Mailbox and Forward only text
2022-11-03 20:54:39 +00:00
Jan Kruis
a73c5a8f38
Update nl.lang
Added two text variables
$PALANG['To_Mailbox'] and $PALANG['To_Forward_Only']
to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables
2022-11-03 21:20:59 +01:00
Jan Kruis
63cb19cc73
Update list-virtual_mailbox.tpl
added two text variables
$PALANG['To_Mailbox'] and $PALANG['To_Forward_Only']
to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables
2022-11-03 21:09:24 +01:00
Jan Kruis
2dcf6ebe4a
Update en.lang
added two text variables
$PALANG['To_Mailbox'] and $PALANG['To_Forward_Only']
to be able to translate Mailbox and Forward Only in templates/list-virtual_mailbox.tpl and replace the fixed text with the above mentioned variables
2022-11-03 21:07:14 +01:00
Jan Kruis
19776304c8
Update nl.lang
Correction in the Dutch text. These didn't have to go in yet
2022-10-29 12:45:52 +02:00
Jan Kruis
81e5e38d80
Update nl.lang
Correction in the Dutch text. These didn't have to go in yet
2022-10-29 12:42:49 +02:00
Christian Boltz
8ea747676e
Update $PALANG['pUsersVacation_body_text'] in all languages 2022-10-26 22:15:47 +02:00
David Goodwin
caf676b2f9
Merge pull request #666 from Jan-Kruis/master
replacestring and getaccountname
2022-10-26 09:13:59 +01:00
Jan Kruis
7c6daecd12
Merge branch 'postfixadmin:master' into master 2022-10-19 01:54:09 +02:00
Jan Kruis
93d75a98ba
Update vacation.pl
replace typo's thanks to christian
2022-10-19 01:34:56 +02:00
Jan Kruis
a10414cf15
types 2022-10-19 00:58:12 +02:00
Jan Kruis
5543babe67
Update Contributions.txt
typo
2022-10-19 00:44:57 +02:00
Christian Boltz
43ce9feda1
Fix typos introduced in https://github.com/postfixadmin/postfixadmin/pull/665 / e279c77ca5 2022-10-18 23:24:38 +02:00
Jan Kruis
b8256595e9
Update vacation.pl
remove substr now Time::Piece displays the timestamp correctly 
remove quote from date_format if will now display the activeuntil date and not date_format as text in the body
2022-10-17 13:01:26 +02:00
Jan Kruis
b9e2741e1d
Update en.lang
prep for replace_string in vacation.pl
2022-10-17 03:10:28 +02:00
Jan Kruis
f68904f813
Update nl.lang
languages/nl.lang and languages/en.lang adjustment made in $PALANG['UsersVacation_body_text'] default texts for $Replace_From and $Replace_Until in vacation

removed sendonly andn TLS stuff because funktion's still in development
-$PALANG['sendonly'] = 'Alleen zenden';
-$PALANG['pAdminList-tls_policy'] = 'TLS Policy';
etc
2022-10-17 03:01:47 +02:00
Jan Kruis
690380bb28
Merge branch 'postfixadmin:master' into master 2022-10-17 02:43:43 +02:00
Jan Kruis
be5dad4d04 add to vacation.pl
function get_accountname

get the variable name from the table mailbox and use it as accountname
if accountname_check is true the accountname is placed in front of the sender's email " Accountname <original@recipient.domain>" and this will be sent as email name and address of the sender.
if the account is not filled with a string then we will be checking if friendly_name is filled with a string and this will be placed in front of the sender's email "Friendlyname <original@recipient.domain>" and this will be sent as the email name and address of the sender.
if not, only the sender's email address will be sent.

function replace_sting together with replace_a_string

replaces in the body text to be sent the texts describing $replace_from and $replace_until with the values ​​of activerom and activeuntil respectively from the vacation table in the date format specified at $date_format
the date format capabilities are described at https://www.tutorialspoint.com/perl/perl_date_time.htm. Variable has been chosen in the config part of vacation.pl so that admin can adjust the search texts for a country version.
in the languages/??.lang file one can see the $PALANG['UsersVacation_body_text'] with the desired replacement texts in $Replace_From and $Replace_Until.

Added library Time::Piece for data format
2022-10-17 02:36:51 +02:00