public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/functions.address_rewriting.inc.php
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
functions.address_rewriting.inc.php
on main
Author
Date
Commit
Line
Code
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 1
<?php
<?php
andryyy
almost 5 years ago
773383c
[Web] Fix BCC toggling active when changing the type, thanks for @feldsam
- Full commit hash
773383cacd61f3bb1a09bdc27d0bb3727e708610- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 2
function bcc($_action, $_data = null, $_attr = null) {
function bcc($_action, $_data = null, $_attr = null) {
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 3
global $pdo;
global $pdo;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 4
global $lang;
global $lang;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 5
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 6
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 7
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 8
switch ($_action) {
switch ($_action) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 9
case 'add':
case 'add':
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 10
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 11
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 12
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 13
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 14
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 15
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 16
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 17
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 18
$local_dest = strtolower(trim($_data['local_dest']));
$local_dest = strtolower(trim($_data['local_dest']));
andre.peters
over 8 years ago
9069a6f
[Postfix] BCC destination must be single email address, fixes #993
- Full commit hash
9069a6f35832961ed64b054857b791ad72363d9c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 19
$bcc_dest = $_data['bcc_dest'];
$bcc_dest = $_data['bcc_dest'];
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 20
$active = intval($_data['active']);
$active = intval($_data['active']);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 21
$type = $_data['type'];
$type = $_data['type'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 22
if ($type != 'sender' && $type != 'rcpt') {
if ($type != 'sender' && $type != 'rcpt') {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 23
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 24
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 25
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 26
'msg' => 'invalid_bcc_map_type'
'msg' => 'invalid_bcc_map_type'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 27
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 28
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 29
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 30
if (empty($bcc_dest)) {
if (empty($bcc_dest)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 31
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 32
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 33
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 34
'msg' => 'bcc_empty'
'msg' => 'bcc_empty'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 35
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 36
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 37
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 38
if (is_valid_domain_name($local_dest)) {
if (is_valid_domain_name($local_dest)) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 39
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest)) {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 40
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 41
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 42
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 43
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 44
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 45
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 46
}
}
andryyy
over 7 years ago
1e76400
[Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !)
- Full commit hash
1e764009bf2c71f6a18f8ef4e303f7a63cb5a653- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 47
$domain = idn_to_ascii($local_dest, 0, INTL_IDNA_VARIANT_UTS46);
$domain = idn_to_ascii($local_dest, 0, INTL_IDNA_VARIANT_UTS46);
same change
1e76400
[Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !)
- Full commit hash
1e764009bf2c71f6a18f8ef4e303f7a63cb5a653- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 48
$local_dest_sane = '@' . idn_to_ascii($local_dest, 0, INTL_IDNA_VARIANT_UTS46);
$local_dest_sane = '@' . idn_to_ascii($local_dest, 0, INTL_IDNA_VARIANT_UTS46);
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 49
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 50
elseif (filter_var($local_dest, FILTER_VALIDATE_EMAIL)) {
elseif (filter_var($local_dest, FILTER_VALIDATE_EMAIL)) {
andryyy
about 5 years ago
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 51
$mailbox = mailbox('get', 'mailbox_details', $local_dest);
$mailbox = mailbox('get', 'mailbox_details', $local_dest);
FreddleSpl0it
over 3 years ago
6824a56
[Web] Fix BCC validation
- Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 52
$shared_aliases = mailbox('get', 'shared_aliases');
$shared_aliases = mailbox('get', 'shared_aliases');
same change
6824a56
[Web] Fix BCC validation
- Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 53
$direct_aliases = mailbox('get', 'direct_aliases');
$direct_aliases = mailbox('get', 'direct_aliases');
same change
6824a56
[Web] Fix BCC validation
- Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8- Author
- FreddleSpl0it <[email protected]>
- Date
- over 3 years ago
- Selected line
- 54
if ($mailbox === false && in_array($local_dest, array_merge($direct_aliases, $shared_aliases)) === false) {
if ($mailbox === false && in_array($local_dest, array_merge($direct_aliases, $shared_aliases)) === false) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 55
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 56
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 57
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 58
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 59
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 60
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 61
}
}
andryyy
about 5 years ago
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 62
if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest) &&
if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest) &&
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 63
!hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest)) {
!hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $local_dest)) {
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 64
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 65
'type' => 'danger',
'type' => 'danger',
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 66
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 67
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 68
);
);
same change
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 69
return false;
return false;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 70
}
}
andryyy
about 5 years ago
7050d7c
[Web] Fix BCC validation for aliases
- Full commit hash
7050d7c259a7e712111e0fc2a5b21b880ee1eada- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 71
$domain = idn_to_ascii(substr(strstr($local_dest, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
$domain = idn_to_ascii(substr(strstr($local_dest, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 72
$local_dest_sane = $local_dest;
$local_dest_sane = $local_dest;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 73
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 74
else {
else {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 75
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 76
}
}
andre.peters
over 8 years ago
9069a6f
[Postfix] BCC destination must be single email address, fixes #993
- Full commit hash
9069a6f35832961ed64b054857b791ad72363d9c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 77
if (!filter_var($bcc_dest, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($bcc_dest, FILTER_VALIDATE_EMAIL)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 78
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 79
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 80
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
andryyy
about 7 years ago
c7a85fc
[Web] Fix BCC error message
- Full commit hash
c7a85fc5205898b3f79e84f51bb210a2fbe596fb- Author
- andryyy <[email protected]>
- Date
- about 7 years ago
- Selected line
- 81
'msg' => array('bcc_must_be_email', htmlspecialchars($bcc_dest))
'msg' => array('bcc_must_be_email', htmlspecialchars($bcc_dest))
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 82
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 83
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 84
}
}
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 85
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 86
$stmt = $pdo->prepare("SELECT `id` FROM `bcc_maps`
$stmt = $pdo->prepare("SELECT `id` FROM `bcc_maps`
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 87
WHERE `local_dest` = :local_dest AND `type` = :type");
WHERE `local_dest` = :local_dest AND `type` = :type");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 88
$stmt->execute(array(':local_dest' => $local_dest_sane, ':type' => $type));
$stmt->execute(array(':local_dest' => $local_dest_sane, ':type' => $type));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 89
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
$num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 90
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 91
if ($num_results != 0) {
if ($num_results != 0) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 92
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 93
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 94
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 95
'msg' => array('bcc_exists', htmlspecialchars($local_dest_sane), $type)
'msg' => array('bcc_exists', htmlspecialchars($local_dest_sane), $type)
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 96
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 97
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 98
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 99
$stmt = $pdo->prepare("INSERT INTO `bcc_maps` (`local_dest`, `bcc_dest`, `domain`, `active`, `type`) VALUES
$stmt = $pdo->prepare("INSERT INTO `bcc_maps` (`local_dest`, `bcc_dest`, `domain`, `active`, `type`) VALUES
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 100
(:local_dest, :bcc_dest, :domain, :active, :type)");
(:local_dest, :bcc_dest, :domain, :active, :type)");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 101
$stmt->execute(array(
$stmt->execute(array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 102
':local_dest' => $local_dest_sane,
':local_dest' => $local_dest_sane,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 103
':bcc_dest' => $bcc_dest,
':bcc_dest' => $bcc_dest,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 104
':domain' => $domain,
':domain' => $domain,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 105
':active' => $active,
':active' => $active,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 106
':type' => $type
':type' => $type
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 107
));
));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 108
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 109
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 110
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 111
'msg' => 'bcc_saved'
'msg' => 'bcc_saved'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 112
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 113
break;
break;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 114
case 'edit':
case 'edit':
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 115
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 116
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 117
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 118
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 119
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 120
);
);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 121
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 122
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 123
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 124
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 125
$is_now = bcc('details', $id);
$is_now = bcc('details', $id);
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 126
if (!empty($is_now)) {
if (!empty($is_now)) {
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 127
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 128
$bcc_dest = (!empty($_data['bcc_dest'])) ? $_data['bcc_dest'] : $is_now['bcc_dest'];
$bcc_dest = (!empty($_data['bcc_dest'])) ? $_data['bcc_dest'] : $is_now['bcc_dest'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 129
$local_dest = $is_now['local_dest'];
$local_dest = $is_now['local_dest'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 130
$type = (!empty($_data['type'])) ? $_data['type'] : $is_now['type'];
$type = (!empty($_data['type'])) ? $_data['type'] : $is_now['type'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 131
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 132
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 133
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 134
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 135
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 136
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 137
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 138
continue;
continue;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 139
}
}
andre.peters
over 8 years ago
9069a6f
[Postfix] BCC destination must be single email address, fixes #993
- Full commit hash
9069a6f35832961ed64b054857b791ad72363d9c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 140
if (!filter_var($bcc_dest, FILTER_VALIDATE_EMAIL)) {
if (!filter_var($bcc_dest, FILTER_VALIDATE_EMAIL)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 141
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
andre.peters
over 8 years ago
9069a6f
[Postfix] BCC destination must be single email address, fixes #993
- Full commit hash
9069a6f35832961ed64b054857b791ad72363d9c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 142
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 143
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 144
'msg' => array('bcc_must_be_email', $bcc_dest)
'msg' => array('bcc_must_be_email', $bcc_dest)
andre.peters
over 8 years ago
9069a6f
[Postfix] BCC destination must be single email address, fixes #993
- Full commit hash
9069a6f35832961ed64b054857b791ad72363d9c- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 145
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 146
continue;
continue;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 147
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 148
if (empty($bcc_dest)) {
if (empty($bcc_dest)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 149
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 150
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 151
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 152
'msg' => array('bcc_must_be_email', $bcc_dest)
'msg' => array('bcc_must_be_email', $bcc_dest)
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 153
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 154
continue;
continue;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 155
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 156
$stmt = $pdo->prepare("SELECT `id` FROM `bcc_maps`
$stmt = $pdo->prepare("SELECT `id` FROM `bcc_maps`
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 157
WHERE `local_dest` = :local_dest AND `type` = :type");
WHERE `local_dest` = :local_dest AND `type` = :type");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 158
$stmt->execute(array(':local_dest' => $local_dest, ':type' => $type));
$stmt->execute(array(':local_dest' => $local_dest, ':type' => $type));
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 159
$id_now = $stmt->fetch(PDO::FETCH_ASSOC)['id'];
$id_now = $stmt->fetch(PDO::FETCH_ASSOC)['id'];
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 160
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 161
if (isset($id_now) && $id_now != $id) {
if (isset($id_now) && $id_now != $id) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 162
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 163
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 164
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 165
'msg' => array('bcc_exists', htmlspecialchars($local_dest), $type)
'msg' => array('bcc_exists', htmlspecialchars($local_dest), $type)
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 166
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 167
continue;
continue;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 168
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 169
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 170
$stmt = $pdo->prepare("UPDATE `bcc_maps` SET `bcc_dest` = :bcc_dest, `active` = :active, `type` = :type WHERE `id`= :id");
$stmt = $pdo->prepare("UPDATE `bcc_maps` SET `bcc_dest` = :bcc_dest, `active` = :active, `type` = :type WHERE `id`= :id");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 171
$stmt->execute(array(
$stmt->execute(array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 172
':bcc_dest' => $bcc_dest,
':bcc_dest' => $bcc_dest,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 173
':active' => $active,
':active' => $active,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 174
':type' => $type,
':type' => $type,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 175
':id' => $id
':id' => $id
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 176
));
));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 177
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 178
'type' => 'success',
'type' => 'success',
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 179
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 180
'msg' => array('bcc_edited', $bcc_dest)
'msg' => array('bcc_edited', $bcc_dest)
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 181
);
);
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 182
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 183
break;
break;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 184
case 'details':
case 'details':
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 185
$bccdata = array();
$bccdata = array();
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 186
$id = intval($_data);
$id = intval($_data);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 187
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 188
$stmt = $pdo->prepare("SELECT `id`,
$stmt = $pdo->prepare("SELECT `id`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 189
`local_dest`,
`local_dest`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 190
`bcc_dest`,
`bcc_dest`,
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 191
`active`,
`active`,
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 192
`type`,
`type`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 193
`created`,
`created`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 194
`domain`,
`domain`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 195
`modified` FROM `bcc_maps`
`modified` FROM `bcc_maps`
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 196
WHERE `id` = :id");
WHERE `id` = :id");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 197
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 198
$bccdata = $stmt->fetch(PDO::FETCH_ASSOC);
$bccdata = $stmt->fetch(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 199
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 200
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $bccdata['domain'])) {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $bccdata['domain'])) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 201
$bccdata = null;
$bccdata = null;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 202
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 203
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 204
return $bccdata;
return $bccdata;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 205
break;
break;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 206
case 'get':
case 'get':
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 207
$bccdata = array();
$bccdata = array();
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 208
$all_items = array();
$all_items = array();
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 209
$id = intval($_data);
$id = intval($_data);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 210
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 211
$stmt = $pdo->query("SELECT `id`, `domain` FROM `bcc_maps`");
$stmt = $pdo->query("SELECT `id`, `domain` FROM `bcc_maps`");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 212
$all_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
$all_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 213
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 214
foreach ($all_items as $i) {
foreach ($all_items as $i) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 215
if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $i['domain'])) {
if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $i['domain'])) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 216
$bccdata[] = $i['id'];
$bccdata[] = $i['id'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 217
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 218
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 219
$all_items = null;
$all_items = null;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 220
return $bccdata;
return $bccdata;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 221
break;
break;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 222
case 'delete':
case 'delete':
André
almost 8 years ago
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 223
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
if (!isset($_SESSION['acl']['bcc_maps']) || $_SESSION['acl']['bcc_maps'] != "1" ) {
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 224
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 225
'type' => 'danger',
'type' => 'danger',
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 226
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 227
'msg' => 'access_denied'
'msg' => 'access_denied'
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 228
);
);
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 229
return false;
return false;
same change
c9554ca
[Compose] Update watchdog image
- Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 230
}
}
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 231
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 232
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 233
if (!is_numeric($id)) {
if (!is_numeric($id)) {
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 234
return false;
return false;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 235
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 236
$stmt = $pdo->prepare("SELECT `domain` FROM `bcc_maps` WHERE id = :id");
$stmt = $pdo->prepare("SELECT `domain` FROM `bcc_maps` WHERE id = :id");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 237
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 238
$domain = $stmt->fetch(PDO::FETCH_ASSOC)['domain'];
$domain = $stmt->fetch(PDO::FETCH_ASSOC)['domain'];
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 239
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 240
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 241
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 242
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 243
'msg' => 'access_denied'
'msg' => 'access_denied'
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 244
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 245
continue;
continue;
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 246
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 247
$stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `id`= :id");
$stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `id`= :id");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 248
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 249
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 250
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 251
'type' => 'success',
'type' => 'success',
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 252
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 253
'msg' => array('bcc_deleted', $id)
'msg' => array('bcc_deleted', $id)
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 254
);
);
André
over 8 years ago
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 255
}
}
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 256
break;
break;
same change
ade4b9e
[Postfix, Web] Feature: BCC maps
- Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4- Author
- André <[email protected]>
- Date
- over 8 years ago
- Selected line
- 257
}
}
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 258
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 259
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 260
function recipient_map($_action, $_data = null, $attr = null) {
function recipient_map($_action, $_data = null, $attr = null) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 261
global $pdo;
global $pdo;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 262
global $lang;
global $lang;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 263
if ($_SESSION['mailcow_cc_role'] != "admin") {
if ($_SESSION['mailcow_cc_role'] != "admin") {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 264
return false;
return false;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 265
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 266
switch ($_action) {
switch ($_action) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 267
case 'add':
case 'add':
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 268
$old_dest = strtolower(trim($_data['recipient_map_old']));
$old_dest = strtolower(trim($_data['recipient_map_old']));
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 269
if (substr($old_dest, 0, 1) == '@') {
if (substr($old_dest, 0, 1) == '@') {
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 270
$old_dest = substr($old_dest, 1);
$old_dest = substr($old_dest, 1);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 271
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 272
$new_dest = strtolower(trim($_data['recipient_map_new']));
$new_dest = strtolower(trim($_data['recipient_map_new']));
PseudoResonance
over 1 year ago
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 273
if (substr($new_dest, 0, 1) == '@') {
if (substr($new_dest, 0, 1) == '@') {
same change
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 274
$new_dest = substr($new_dest, 1);
$new_dest = substr($new_dest, 1);
same change
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 275
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 276
$active = intval($_data['active']);
$active = intval($_data['active']);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 277
if (is_valid_domain_name($old_dest)) {
if (is_valid_domain_name($old_dest)) {
andryyy
over 7 years ago
1e76400
[Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !)
- Full commit hash
1e764009bf2c71f6a18f8ef4e303f7a63cb5a653- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 278
$old_dest_sane = '@' . idn_to_ascii($old_dest, 0, INTL_IDNA_VARIANT_UTS46);
$old_dest_sane = '@' . idn_to_ascii($old_dest, 0, INTL_IDNA_VARIANT_UTS46);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 279
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 280
elseif (filter_var($old_dest, FILTER_VALIDATE_EMAIL)) {
elseif (filter_var($old_dest, FILTER_VALIDATE_EMAIL)) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 281
$old_dest_sane = $old_dest;
$old_dest_sane = $old_dest;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 282
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 283
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 284
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 285
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 286
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 287
'msg' => array('invalid_recipient_map_old', htmlspecialchars($old_dest))
'msg' => array('invalid_recipient_map_old', htmlspecialchars($old_dest))
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 288
);
);
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 289
return false;
return false;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 290
}
}
PseudoResonance
over 1 year ago
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 291
if (is_valid_domain_name($new_dest)) {
if (is_valid_domain_name($new_dest)) {
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 292
$new_dest_sane = '@' . idn_to_ascii($new_dest, 0, INTL_IDNA_VARIANT_UTS46);
$new_dest_sane = '@' . idn_to_ascii($new_dest, 0, INTL_IDNA_VARIANT_UTS46);
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 293
}
}
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 294
elseif (filter_var($new_dest, FILTER_VALIDATE_EMAIL)) {
elseif (filter_var($new_dest, FILTER_VALIDATE_EMAIL)) {
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 295
$new_dest_sane = $new_dest;
$new_dest_sane = $new_dest;
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 296
}
}
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 297
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 298
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 299
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 300
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 301
'msg' => array('invalid_recipient_map_new', htmlspecialchars($new_dest))
'msg' => array('invalid_recipient_map_new', htmlspecialchars($new_dest))
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 302
);
);
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 303
return false;
return false;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 304
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 305
$rmaps = recipient_map('get');
$rmaps = recipient_map('get');
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 306
foreach ($rmaps as $rmap) {
foreach ($rmaps as $rmap) {
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 307
if (recipient_map('details', $rmap)['recipient_map_old'] == $old_dest_sane) {
if (recipient_map('details', $rmap)['recipient_map_old'] == $old_dest_sane) {
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 308
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 309
'type' => 'danger',
'type' => 'danger',
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 310
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 311
'msg' => array('recipient_map_entry_exists', htmlspecialchars($old_dest_sane))
'msg' => array('recipient_map_entry_exists', htmlspecialchars($old_dest_sane))
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 312
);
);
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 313
return false;
return false;
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 314
}
}
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 315
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 316
$stmt = $pdo->prepare("INSERT INTO `recipient_maps` (`old_dest`, `new_dest`, `active`) VALUES
$stmt = $pdo->prepare("INSERT INTO `recipient_maps` (`old_dest`, `new_dest`, `active`) VALUES
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 317
(:old_dest, :new_dest, :active)");
(:old_dest, :new_dest, :active)");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 318
$stmt->execute(array(
$stmt->execute(array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 319
':old_dest' => $old_dest_sane,
':old_dest' => $old_dest_sane,
PseudoResonance
over 1 year ago
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 320
':new_dest' => $new_dest_sane,
':new_dest' => $new_dest_sane,
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 321
':active' => $active
':active' => $active
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 322
));
));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 323
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 324
'type' => 'success',
'type' => 'success',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 325
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 326
'msg' => array('recipient_map_entry_saved', htmlspecialchars($old_dest_sane))
'msg' => array('recipient_map_entry_saved', htmlspecialchars($old_dest_sane))
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 327
);
);
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 328
break;
break;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 329
case 'edit':
case 'edit':
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 330
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 331
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 332
$is_now = recipient_map('details', $id);
$is_now = recipient_map('details', $id);
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 333
if (!empty($is_now)) {
if (!empty($is_now)) {
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 334
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
$active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 335
$new_dest = (!empty($_data['recipient_map_new'])) ? $_data['recipient_map_new'] : $is_now['recipient_map_new'];
$new_dest = (!empty($_data['recipient_map_new'])) ? $_data['recipient_map_new'] : $is_now['recipient_map_new'];
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 336
$old_dest = (!empty($_data['recipient_map_old'])) ? $_data['recipient_map_old'] : $is_now['recipient_map_old'];
$old_dest = (!empty($_data['recipient_map_old'])) ? $_data['recipient_map_old'] : $is_now['recipient_map_old'];
PseudoResonance
over 1 year ago
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 337
if (substr($new_dest, 0, 1) == '@') {
if (substr($new_dest, 0, 1) == '@') {
same change
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 338
$new_dest = substr($new_dest, 1);
$new_dest = substr($new_dest, 1);
same change
e52323b
Fix @ prefixing domain rewrite and update localization
- Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 339
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 340
if (substr($old_dest, 0, 1) == '@') {
if (substr($old_dest, 0, 1) == '@') {
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 341
$old_dest = substr($old_dest, 1);
$old_dest = substr($old_dest, 1);
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 342
}
}
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 343
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 344
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 345
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 346
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 347
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 348
'msg' => 'access_denied'
'msg' => 'access_denied'
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 349
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 350
continue;
continue;
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 351
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 352
if (is_valid_domain_name($old_dest)) {
if (is_valid_domain_name($old_dest)) {
andryyy
over 7 years ago
1e76400
[Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !)
- Full commit hash
1e764009bf2c71f6a18f8ef4e303f7a63cb5a653- Author
- andryyy <[email protected]>
- Date
- over 7 years ago
- Selected line
- 353
$old_dest_sane = '@' . idn_to_ascii($old_dest, 0, INTL_IDNA_VARIANT_UTS46);
$old_dest_sane = '@' . idn_to_ascii($old_dest, 0, INTL_IDNA_VARIANT_UTS46);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 354
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 355
elseif (filter_var($old_dest, FILTER_VALIDATE_EMAIL)) {
elseif (filter_var($old_dest, FILTER_VALIDATE_EMAIL)) {
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 356
$old_dest_sane = $old_dest;
$old_dest_sane = $old_dest;
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 357
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 358
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 359
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 360
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 361
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 362
'msg' => array('invalid_recipient_map_old', htmlspecialchars($old_dest))
'msg' => array('invalid_recipient_map_old', htmlspecialchars($old_dest))
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 363
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 364
continue;
continue;
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 365
}
}
PseudoResonance
over 1 year ago
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 366
if (is_valid_domain_name($new_dest)) {
if (is_valid_domain_name($new_dest)) {
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 367
$new_dest_sane = '@' . idn_to_ascii($new_dest, 0, INTL_IDNA_VARIANT_UTS46);
$new_dest_sane = '@' . idn_to_ascii($new_dest, 0, INTL_IDNA_VARIANT_UTS46);
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 368
}
}
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 369
elseif (filter_var($new_dest, FILTER_VALIDATE_EMAIL)) {
elseif (filter_var($new_dest, FILTER_VALIDATE_EMAIL)) {
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 370
$new_dest_sane = $new_dest;
$new_dest_sane = $new_dest;
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 371
}
}
same change
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 372
else {
else {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 373
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 374
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 375
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 376
'msg' => array('invalid_recipient_map_new', htmlspecialchars($new_dest))
'msg' => array('invalid_recipient_map_new', htmlspecialchars($new_dest))
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 377
);
);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 378
continue;
continue;
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 379
}
}
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 380
$rmaps = recipient_map('get');
$rmaps = recipient_map('get');
same change
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 381
foreach ($rmaps as $rmap) {
foreach ($rmaps as $rmap) {
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 382
if ($rmap == $id) { continue; }
if ($rmap == $id) { continue; }
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 383
if (recipient_map('details', $rmap)['recipient_map_old'] == $old_dest_sane) {
if (recipient_map('details', $rmap)['recipient_map_old'] == $old_dest_sane) {
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 384
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 385
'type' => 'danger',
'type' => 'danger',
André
almost 8 years ago
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 386
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
7f86a80
[Web] Fix log line handling
- Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 387
'msg' => array('recipient_map_entry_exists', htmlspecialchars($old_dest_sane))
'msg' => array('recipient_map_entry_exists', htmlspecialchars($old_dest_sane))
André
about 8 years ago
48829d8
[Web] Fixes some issues with recipient maps (address rewriting)
- Full commit hash
48829d8393efbe5db1939e47ffe4ac7944e01ff3- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 388
);
);
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 389
return false;
return false;
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 390
}
}
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 391
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 392
$stmt = $pdo->prepare("UPDATE `recipient_maps` SET
$stmt = $pdo->prepare("UPDATE `recipient_maps` SET
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 393
`old_dest` = :old_dest,
`old_dest` = :old_dest,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 394
`new_dest` = :new_dest,
`new_dest` = :new_dest,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 395
`active` = :active
`active` = :active
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 396
WHERE `id`= :id");
WHERE `id`= :id");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 397
$stmt->execute(array(
$stmt->execute(array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 398
':old_dest' => $old_dest_sane,
':old_dest' => $old_dest_sane,
PseudoResonance
over 1 year ago
f15ee39
Fix #2752: Domain recipient for address rewrite
- Full commit hash
f15ee39b63463563a3430dc28188635c1e6bb654- Author
- PseudoResonance <[email protected]>
- Date
- over 1 year ago
- Selected line
- 399
':new_dest' => $new_dest_sane,
':new_dest' => $new_dest_sane,
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 400
':active' => $active,
':active' => $active,
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 401
':id' => $id
':id' => $id
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 402
));
));
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 403
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 404
'type' => 'success',
'type' => 'success',
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 405
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 406
'msg' => array('recipient_map_entry_saved', htmlspecialchars($old_dest_sane))
'msg' => array('recipient_map_entry_saved', htmlspecialchars($old_dest_sane))
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 407
);
);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 408
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 409
break;
break;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 410
case 'details':
case 'details':
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 411
$mapdata = array();
$mapdata = array();
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 412
$id = intval($_data);
$id = intval($_data);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 413
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 414
$stmt = $pdo->prepare("SELECT `id`,
$stmt = $pdo->prepare("SELECT `id`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 415
`old_dest` AS `recipient_map_old`,
`old_dest` AS `recipient_map_old`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 416
`new_dest` AS `recipient_map_new`,
`new_dest` AS `recipient_map_new`,
andryyy
almost 6 years ago
d9b91fc
[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)
- Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 417
`active`,
`active`,
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 418
`created`,
`created`,
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 419
`modified` FROM `recipient_maps`
`modified` FROM `recipient_maps`
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 420
WHERE `id` = :id");
WHERE `id` = :id");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 421
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 422
$mapdata = $stmt->fetch(PDO::FETCH_ASSOC);
$mapdata = $stmt->fetch(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 423
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 424
return $mapdata;
return $mapdata;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 425
break;
break;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 426
case 'get':
case 'get':
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 427
$mapdata = array();
$mapdata = array();
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 428
$all_items = array();
$all_items = array();
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 429
$id = intval($_data);
$id = intval($_data);
André
almost 8 years ago
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 430
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 431
$stmt = $pdo->query("SELECT `id` FROM `recipient_maps`");
$stmt = $pdo->query("SELECT `id` FROM `recipient_maps`");
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 432
$all_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
$all_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change
a11cce6
[Web] Fixes for BCC map input fields
- Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 433
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 434
foreach ($all_items as $i) {
foreach ($all_items as $i) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 435
$mapdata[] = $i['id'];
$mapdata[] = $i['id'];
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 436
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 437
$all_items = null;
$all_items = null;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 438
return $mapdata;
return $mapdata;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 439
break;
break;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 440
case 'delete':
case 'delete':
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 441
$ids = (array)$_data['id'];
$ids = (array)$_data['id'];
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 442
foreach ($ids as $id) {
foreach ($ids as $id) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 443
if (!is_numeric($id)) {
if (!is_numeric($id)) {
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 444
return false;
return false;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 445
}
}
André
almost 8 years ago
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 446
$stmt = $pdo->prepare("DELETE FROM `recipient_maps` WHERE `id`= :id");
$stmt = $pdo->prepare("DELETE FROM `recipient_maps` WHERE `id`= :id");
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 447
$stmt->execute(array(':id' => $id));
$stmt->execute(array(':id' => $id));
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 448
$_SESSION['return'][] = array(
$_SESSION['return'][] = array(
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 449
'type' => 'success',
'type' => 'success',
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 450
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
'log' => array(__FUNCTION__, $_action, $_data, $_attr),
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 451
'msg' => array('recipient_map_entry_deleted', htmlspecialchars($id))
'msg' => array('recipient_map_entry_deleted', htmlspecialchars($id))
same change
f5799fa
[Web] Feature: TLS policy maps
- Full commit hash
f5799faf6d283b8479484ac3b789117e68816360- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 452
);
);
Michael Kuron
over 8 years ago
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 453
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 454
break;
break;
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 455
}
}
same change
e86565e
Expose Postfix's recipient_canonical_maps through web UI
- Full commit hash
e86565e2836b13be96d62790818849570c3bc6a1- Author
- Michael Kuron <[email protected]>
- Date
- over 8 years ago
- Selected line
- 456
}
}