[postfixadmin/postfixadmin] be5dad: add to vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: David G. <no...@gi...> - 2022-10-26 08:14:19
|
Branch: refs/heads/master Home: https://github.com/postfixadmin/postfixadmin Commit: be5dad4d0411c475c72375aed7e088bea57c2823 https://github.com/postfixadmin/postfixadmin/commit/be5dad4d0411c475c72375aed7e088bea57c2823 Author: Jan Kruis <860...@us...> Date: 2022-10-17 (Mon, 17 Oct 2022) Changed paths: M VIRTUAL_VACATION/Contributions.txt M VIRTUAL_VACATION/vacation.pl Log Message: ----------- 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 <ori...@re...main>" 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 <ori...@re...main>" 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 Commit: 690380bb2801b24bb12c1a18a42bfa13a0fa6587 https://github.com/postfixadmin/postfixadmin/commit/690380bb2801b24bb12c1a18a42bfa13a0fa6587 Author: Jan Kruis <860...@us...> Date: 2022-10-17 (Mon, 17 Oct 2022) Changed paths: M .github/workflows/php.yml M functions.inc.php M model/MailboxHandler.php M public/editactive.php M public/list-virtual.php Log Message: ----------- Merge branch 'postfixadmin:master' into master Commit: f68904f8132d68f8bdb886c9230cb05de34796a9 https://github.com/postfixadmin/postfixadmin/commit/f68904f8132d68f8bdb886c9230cb05de34796a9 Author: Jan Kruis <860...@us...> Date: 2022-10-17 (Mon, 17 Oct 2022) Changed paths: M languages/nl.lang Log Message: ----------- 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 Commit: b9e2741e1da570980eb2c5d0ff43a844f2501c8f https://github.com/postfixadmin/postfixadmin/commit/b9e2741e1da570980eb2c5d0ff43a844f2501c8f Author: Jan Kruis <860...@us...> Date: 2022-10-17 (Mon, 17 Oct 2022) Changed paths: M languages/en.lang Log Message: ----------- Update en.lang prep for replace_string in vacation.pl Commit: b8256595e9ca6de1ca7bf0c2d93e6036f4967570 https://github.com/postfixadmin/postfixadmin/commit/b8256595e9ca6de1ca7bf0c2d93e6036f4967570 Author: Jan Kruis <860...@us...> Date: 2022-10-17 (Mon, 17 Oct 2022) Changed paths: M VIRTUAL_VACATION/vacation.pl Log Message: ----------- 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 Commit: 5543babe67fef328a52ef402e2ab68033d7f0256 https://github.com/postfixadmin/postfixadmin/commit/5543babe67fef328a52ef402e2ab68033d7f0256 Author: Jan Kruis <860...@us...> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M VIRTUAL_VACATION/Contributions.txt Log Message: ----------- Update Contributions.txt typo Commit: a10414cf15eb7834faffa036607e9270d612ccba https://github.com/postfixadmin/postfixadmin/commit/a10414cf15eb7834faffa036607e9270d612ccba Author: Jan Kruis <860...@us...> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M VIRTUAL_VACATION/Contributions.txt Log Message: ----------- types Commit: 93d75a98baf3a0c85f16e2f2d429fa9cebff9abb https://github.com/postfixadmin/postfixadmin/commit/93d75a98baf3a0c85f16e2f2d429fa9cebff9abb Author: Jan Kruis <860...@us...> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M VIRTUAL_VACATION/vacation.pl Log Message: ----------- Update vacation.pl replace typo's thanks to christian Commit: 7c6daecd1222f03ef0710972308a220e1697e046 https://github.com/postfixadmin/postfixadmin/commit/7c6daecd1222f03ef0710972308a220e1697e046 Author: Jan Kruis <860...@us...> Date: 2022-10-19 (Wed, 19 Oct 2022) Changed paths: M public/editactive.php M public/list-virtual.php M public/vacation.php Log Message: ----------- Merge branch 'postfixadmin:master' into master Commit: caf676b2f9c9735d0b674266f8f6582fc9609816 https://github.com/postfixadmin/postfixadmin/commit/caf676b2f9c9735d0b674266f8f6582fc9609816 Author: David Goodwin <da...@co...> Date: 2022-10-26 (Wed, 26 Oct 2022) Changed paths: M VIRTUAL_VACATION/Contributions.txt M VIRTUAL_VACATION/vacation.pl M languages/en.lang M languages/nl.lang Log Message: ----------- Merge pull request #666 from Jan-Kruis/master replacestring and getaccountname Compare: https://github.com/postfixadmin/postfixadmin/compare/43ce9feda1f5...caf676b2f9c9 |