NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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
Open commit View diff
1 <?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) {
Open commit View diff
2 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;
Open commit View diff
3 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;
Open commit View diff
4 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") {
Open commit View diff
5 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;
Open commit View diff
6 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
  }
Open commit View diff
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) {
Open commit View diff
8 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':
Open commit View diff
9 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" ) {
Open commit View diff
10 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(
Open commit View diff
11 $_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',
Open commit View diff
12 '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),
Open commit View diff
13 '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'
Open commit View diff
14 '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
        );
Open commit View diff
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;
Open commit View diff
16 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
      }
Open commit View diff
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']));
Open commit View diff
18 $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'];
Open commit View diff
19 $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']);
Open commit View diff
20 $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'];
Open commit View diff
21 $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') {
Open commit View diff
22 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(
Open commit View diff
23 $_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',
Open commit View diff
24 '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),
Open commit View diff
25 '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'
Open commit View diff
26 '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
        );
Open commit View diff
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;
Open commit View diff
28 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
      }
Open commit View diff
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)) {
Open commit View diff
30 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(
Open commit View diff
31 $_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',
Open commit View diff
32 '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),
Open commit View diff
33 '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'
Open commit View diff
34 '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
        );
Open commit View diff
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;
Open commit View diff
36 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
      }
Open commit View diff
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)) {
Open commit View diff
38 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)) {
Open commit View diff
39 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(
Open commit View diff
40 $_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',
Open commit View diff
41 '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),
Open commit View diff
42 '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'
Open commit View diff
43 '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
          );
Open commit View diff
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;
Open commit View diff
45 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
        }
Open commit View diff
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);
Open commit View diff
47 $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);
Open commit View diff
48 $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
      }
Open commit View diff
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)) {
Open commit View diff
50 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);
Open commit View diff
51 $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');
Open commit View diff
52 $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');
Open commit View diff
53 $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) {
Open commit View diff
54 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(
Open commit View diff
55 $_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',
Open commit View diff
56 '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),
Open commit View diff
57 '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'
Open commit View diff
58 '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
          );
Open commit View diff
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;
Open commit View diff
60 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
        }
Open commit View diff
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) &&
Open commit View diff
62 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)) {
Open commit View diff
63 !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(
Open commit View diff
64 $_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',
Open commit View diff
65 '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),
Open commit View diff
66 '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'
Open commit View diff
67 '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
            );
Open commit View diff
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;
Open commit View diff
69 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
        }
Open commit View diff
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);
Open commit View diff
71 $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;
Open commit View diff
72 $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
      }
Open commit View diff
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 {
Open commit View diff
74 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;
Open commit View diff
75 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
      }
Open commit View diff
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)) {
Open commit View diff
77 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(
Open commit View diff
78 $_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',
Open commit View diff
79 '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),
Open commit View diff
80 '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))
Open commit View diff
81 '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
        );
Open commit View diff
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;
Open commit View diff
83 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
      }
Open commit View diff
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
Open commit View diff
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`
Open commit View diff
86 $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");
Open commit View diff
87 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));
Open commit View diff
88 $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));
Open commit View diff
89 $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
Open commit View diff
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) {
Open commit View diff
91 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(
Open commit View diff
92 $_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',
Open commit View diff
93 '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),
Open commit View diff
94 '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)
Open commit View diff
95 '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
        );
Open commit View diff
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;
Open commit View diff
97 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
      }
Open commit View diff
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
Open commit View diff
99 $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)");
Open commit View diff
100 (: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(
Open commit View diff
101 $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,
Open commit View diff
102 ':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,
Open commit View diff
103 ':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,
Open commit View diff
104 ':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,
Open commit View diff
105 ':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
Open commit View diff
106 ':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
      ));
Open commit View diff
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(
Open commit View diff
108 $_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',
Open commit View diff
109 '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),
Open commit View diff
110 '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'
Open commit View diff
111 '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
      );
Open commit View diff
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;
Open commit View diff
113 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':
Open commit View diff
114 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" ) {
Open commit View diff
115 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(
Open commit View diff
116 $_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',
Open commit View diff
117 '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),
Open commit View diff
118 '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'
Open commit View diff
119 '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
        );
Open commit View diff
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;
Open commit View diff
121 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
      }
Open commit View diff
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'];
Open commit View diff
123 $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) {
Open commit View diff
124 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);
Open commit View diff
125 $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)) {
Open commit View diff
126 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'];
Open commit View diff
127 $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'];
Open commit View diff
128 $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'];
Open commit View diff
129 $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'];
Open commit View diff
130 $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
        }
Open commit View diff
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 {
Open commit View diff
132 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(
Open commit View diff
133 $_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',
Open commit View diff
134 '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),
Open commit View diff
135 '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'
Open commit View diff
136 '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
          );
Open commit View diff
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;
Open commit View diff
138 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
        }
Open commit View diff
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)) {
Open commit View diff
140 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(
Open commit View diff
141 $_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',
Open commit View diff
142 '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),
Open commit View diff
143 '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)
Open commit View diff
144 '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
          );
Open commit View diff
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;
Open commit View diff
146 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
        }
Open commit View diff
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)) {
Open commit View diff
148 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(
Open commit View diff
149 $_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',
Open commit View diff
150 '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),
Open commit View diff
151 '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)
Open commit View diff
152 '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
          );
Open commit View diff
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;
Open commit View diff
154 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
        }
Open commit View diff
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`
Open commit View diff
156 $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");
Open commit View diff
157 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));
Open commit View diff
158 $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'];
Open commit View diff
159 $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
Open commit View diff
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) {
Open commit View diff
161 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(
Open commit View diff
162 $_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',
Open commit View diff
163 '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),
Open commit View diff
164 '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)
Open commit View diff
165 '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
          );
Open commit View diff
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;
Open commit View diff
167 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
        }
Open commit View diff
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
Open commit View diff
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");
Open commit View diff
170 $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(
Open commit View diff
171 $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,
Open commit View diff
172 ':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,
Open commit View diff
173 ':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,
Open commit View diff
174 ':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
Open commit View diff
175 ':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
        ));
Open commit View diff
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(
Open commit View diff
177 $_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',
Open commit View diff
178 '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),
Open commit View diff
179 '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)
Open commit View diff
180 '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
        );
Open commit View diff
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
      }
Open commit View diff
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;
Open commit View diff
183 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':
Open commit View diff
184 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();
Open commit View diff
185 $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);
Open commit View diff
186 $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
Open commit View diff
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`,
Open commit View diff
188 $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`,
Open commit View diff
189 `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`,
Open commit View diff
190 `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`,
Open commit View diff
191 `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`,
Open commit View diff
192 `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`,
Open commit View diff
193 `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`,
Open commit View diff
194 `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`
Open commit View diff
195 `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");
Open commit View diff
196 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));
Open commit View diff
197 $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);
Open commit View diff
198 $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
Open commit View diff
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'])) {
Open commit View diff
200 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;
Open commit View diff
201 $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;
Open commit View diff
202 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
      }
Open commit View diff
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;
Open commit View diff
204 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;
Open commit View diff
205 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':
Open commit View diff
206 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();
Open commit View diff
207 $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();
Open commit View diff
208 $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);
Open commit View diff
209 $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
Open commit View diff
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`");
Open commit View diff
211 $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);
Open commit View diff
212 $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
Open commit View diff
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) {
Open commit View diff
214 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'])) {
Open commit View diff
215 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'];
Open commit View diff
216 $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
        }
Open commit View diff
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
      }
Open commit View diff
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;
Open commit View diff
219 $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;
Open commit View diff
220 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;
Open commit View diff
221 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':
Open commit View diff
222 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" ) {
Open commit View diff
223 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(
Open commit View diff
224 $_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',
Open commit View diff
225 '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),
Open commit View diff
226 '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'
Open commit View diff
227 '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
        );
Open commit View diff
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;
Open commit View diff
229 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
      }
Open commit View diff
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'];
Open commit View diff
231 $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) {
Open commit View diff
232 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)) {
Open commit View diff
233 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;
Open commit View diff
234 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
        }
Open commit View diff
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");
Open commit View diff
236 $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));
Open commit View diff
237 $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'];
Open commit View diff
238 $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)) {
Open commit View diff
239 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(
Open commit View diff
240 $_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',
Open commit View diff
241 '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),
Open commit View diff
242 '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'
Open commit View diff
243 '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
          );
Open commit View diff
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;
Open commit View diff
245 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
        }
Open commit View diff
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");
Open commit View diff
247 $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));
Open commit View diff
248 $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
Open commit View diff
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(
Open commit View diff
250 $_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',
Open commit View diff
251 '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),
Open commit View diff
252 '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)
Open commit View diff
253 '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
        );
Open commit View diff
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
      }
Open commit View diff
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;
Open commit View diff
256 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
  }
Open commit View diff
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
}
Open commit View diff
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
Open commit View diff
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) {
Open commit View diff
260 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;
Open commit View diff
261 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;
Open commit View diff
262 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") {
Open commit View diff
263 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;
Open commit View diff
264 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
  }
Open commit View diff
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) {
Open commit View diff
266 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':
Open commit View diff
267 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']));
Open commit View diff
268 $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) == '@') {
Open commit View diff
269 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);
Open commit View diff
270 $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
      }
Open commit View diff
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']));
Open commit View diff
272 $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) == '@') {
Open commit View diff
273 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);
Open commit View diff
274 $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
      }
Open commit View diff
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']);
Open commit View diff
276 $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)) {
Open commit View diff
277 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);
Open commit View diff
278 $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
      }
Open commit View diff
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)) {
Open commit View diff
280 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;
Open commit View diff
281 $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
      }
Open commit View diff
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 {
Open commit View diff
283 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(
Open commit View diff
284 $_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',
Open commit View diff
285 '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),
Open commit View diff
286 '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))
Open commit View diff
287 '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
        );
Open commit View diff
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;
Open commit View diff
289 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
      }
Open commit View diff
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)) {
Open commit View diff
291 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);
Open commit View diff
292 $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
      }
Open commit View diff
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)) {
Open commit View diff
294 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;
Open commit View diff
295 $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
      }
Open commit View diff
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 {
Open commit View diff
297 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(
Open commit View diff
298 $_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',
Open commit View diff
299 '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),
Open commit View diff
300 '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))
Open commit View diff
301 '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
        );
Open commit View diff
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;
Open commit View diff
303 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
      }
Open commit View diff
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');
Open commit View diff
305 $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) {
Open commit View diff
306 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) {
Open commit View diff
307 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(
Open commit View diff
308 $_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',
Open commit View diff
309 '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),
Open commit View diff
310 '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))
Open commit View diff
311 '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
          );
Open commit View diff
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;
Open commit View diff
313 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
        }
Open commit View diff
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
      }
Open commit View diff
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
Open commit View diff
316 $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)");
Open commit View diff
317 (: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(
Open commit View diff
318 $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,
Open commit View diff
319 ':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,
Open commit View diff
320 ':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
Open commit View diff
321 ':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
      ));
Open commit View diff
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(
Open commit View diff
323 $_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',
Open commit View diff
324 '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),
Open commit View diff
325 '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))
Open commit View diff
326 '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
      );
Open commit View diff
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;
Open commit View diff
328 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':
Open commit View diff
329 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'];
Open commit View diff
330 $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) {
Open commit View diff
331 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);
Open commit View diff
332 $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)) {
Open commit View diff
333 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'];
Open commit View diff
334 $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'];
Open commit View diff
335 $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'];
Open commit View diff
336 $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) == '@') {
Open commit View diff
337 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);
Open commit View diff
338 $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
          }
Open commit View diff
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) == '@') {
Open commit View diff
340 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);
Open commit View diff
341 $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
          }
Open commit View diff
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
        }
Open commit View diff
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 {
Open commit View diff
344 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(
Open commit View diff
345 $_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',
Open commit View diff
346 '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),
Open commit View diff
347 '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'
Open commit View diff
348 '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
          );
Open commit View diff
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;
Open commit View diff
350 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
        }
Open commit View diff
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)) {
Open commit View diff
352 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);
Open commit View diff
353 $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
        }
Open commit View diff
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)) {
Open commit View diff
355 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;
Open commit View diff
356 $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
        }
Open commit View diff
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 {
Open commit View diff
358 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(
Open commit View diff
359 $_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',
Open commit View diff
360 '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),
Open commit View diff
361 '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))
Open commit View diff
362 '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
          );
Open commit View diff
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;
Open commit View diff
364 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
        }
Open commit View diff
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)) {
Open commit View diff
366 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);
Open commit View diff
367 $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
        }
Open commit View diff
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)) {
Open commit View diff
369 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;
Open commit View diff
370 $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
        }
Open commit View diff
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 {
Open commit View diff
372 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(
Open commit View diff
373 $_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',
Open commit View diff
374 '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),
Open commit View diff
375 '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))
Open commit View diff
376 '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
          );
Open commit View diff
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;
Open commit View diff
378 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
        }
Open commit View diff
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');
Open commit View diff
380 $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) {
Open commit View diff
381 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; }
Open commit View diff
382 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) {
Open commit View diff
383 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(
Open commit View diff
384 $_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',
Open commit View diff
385 '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),
Open commit View diff
386 '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))
Open commit View diff
387 '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
            );
Open commit View diff
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;
Open commit View diff
389 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
          }
Open commit View diff
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
        }
Open commit View diff
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
Open commit View diff
392 $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,
Open commit View diff
393 `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,
Open commit View diff
394 `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
Open commit View diff
395 `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");
Open commit View diff
396 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(
Open commit View diff
397 $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,
Open commit View diff
398 ':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,
Open commit View diff
399 ':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,
Open commit View diff
400 ':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
Open commit View diff
401 ':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
        ));
Open commit View diff
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(
Open commit View diff
403 $_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',
Open commit View diff
404 '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),
Open commit View diff
405 '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))
Open commit View diff
406 '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
        );
Open commit View diff
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
      }
Open commit View diff
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;
Open commit View diff
409 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':
Open commit View diff
410 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();
Open commit View diff
411 $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);
Open commit View diff
412 $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
Open commit View diff
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`,
Open commit View diff
414 $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`,
Open commit View diff
415 `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`,
Open commit View diff
416 `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`,
Open commit View diff
417 `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`,
Open commit View diff
418 `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`
Open commit View diff
419 `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");
Open commit View diff
420 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));
Open commit View diff
421 $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);
Open commit View diff
422 $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
Open commit View diff
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;
Open commit View diff
424 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;
Open commit View diff
425 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':
Open commit View diff
426 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();
Open commit View diff
427 $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();
Open commit View diff
428 $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);
Open commit View diff
429 $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
Open commit View diff
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`");
Open commit View diff
431 $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);
Open commit View diff
432 $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
Open commit View diff
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) {
Open commit View diff
434 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'];
Open commit View diff
435 $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
      }
Open commit View diff
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;
Open commit View diff
437 $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;
Open commit View diff
438 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;
Open commit View diff
439 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':
Open commit View diff
440 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'];
Open commit View diff
441 $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) {
Open commit View diff
442 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)) {
Open commit View diff
443 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;
Open commit View diff
444 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
        }
Open commit View diff
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");
Open commit View diff
446 $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));
Open commit View diff
447 $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(
Open commit View diff
448 $_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',
Open commit View diff
449 '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),
Open commit View diff
450 '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))
Open commit View diff
451 '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
        );
Open commit View diff
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
      }
Open commit View diff
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;
Open commit View diff
454 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
  }
Open commit View diff
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
}
Open commit View diff
456 }