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.policy.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.policy.inc.php on main
Author Date Commit Line Code
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2
function policy($_action, $_scope, $_data = null) {
Open commit View diff
2 function policy($_action, $_scope, $_data = null) {
andryyy almost 5 years ago 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
3
  global $pdo;
Open commit View diff
3 global $pdo;
same change 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
4
  global $redis;
Open commit View diff
4 global $redis;
same change 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
5
  global $lang;
Open commit View diff
5 global $lang;
same change 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
6
  $_data_log = $_data;
Open commit View diff
6 $_data_log = $_data;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
7
  switch ($_action) {
Open commit View diff
7 switch ($_action) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
8
    case 'add':
Open commit View diff
8 case 'add':
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
9
      if (!isset($_SESSION['acl']['spam_policy']) || $_SESSION['acl']['spam_policy'] != "1" ) {
Open commit View diff
9 if (!isset($_SESSION['acl']['spam_policy']) || $_SESSION['acl']['spam_policy'] != "1" ) {
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
10
        $_SESSION['return'][] = array(
Open commit View diff
10 $_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
11
          'type' => 'danger',
Open commit View diff
11 'type' => 'danger',
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
12
          'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
12 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
13
          'msg' => 'access_denied'
Open commit View diff
13 '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
14
        );
Open commit View diff
14 );
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
15
        return false;
Open commit View diff
15 return false;
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
16
      }
Open commit View diff
16 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
17
      switch ($_scope) {
Open commit View diff
17 switch ($_scope) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
18
        case 'domain':
Open commit View diff
18 case 'domain':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
19
          $object = $_data['domain'];
Open commit View diff
19 $object = $_data['domain'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
20
          if (is_valid_domain_name($object)) {
Open commit View diff
20 if (is_valid_domain_name($object)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
21
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
Open commit View diff
21 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
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
22
              $_SESSION['return'][] = array(
Open commit View diff
22 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
23
                'type' => 'danger',
Open commit View diff
23 '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
24
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
24 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
25
                'msg' => 'access_denied'
Open commit View diff
25 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
26
              );
Open commit View diff
26 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
27
              return false;
Open commit View diff
27 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
28
            }
Open commit View diff
28 }
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
29
            $object = idn_to_ascii(strtolower(trim($object)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
29 $object = idn_to_ascii(strtolower(trim($object)), 0, INTL_IDNA_VARIANT_UTS46);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
30
          }
Open commit View diff
30 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
31
          else {
Open commit View diff
31 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
32
            $_SESSION['return'][] = array(
Open commit View diff
32 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
33
              'type' => 'danger',
Open commit View diff
33 '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
34
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
34 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
35
              'msg' => 'access_denied'
Open commit View diff
35 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
36
            );
Open commit View diff
36 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
37
            return false;
Open commit View diff
37 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
38
          }
Open commit View diff
38 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
39
          if ($_data['object_list'] == "bl") {
Open commit View diff
39 if ($_data['object_list'] == "bl") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
40
            $object_list = "blacklist_from";
Open commit View diff
40 $object_list = "blacklist_from";
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
41
          }
Open commit View diff
41 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
42
          elseif ($_data['object_list'] == "wl") {
Open commit View diff
42 elseif ($_data['object_list'] == "wl") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
43
            $object_list = "whitelist_from";
Open commit View diff
43 $object_list = "whitelist_from";
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
44
          }
Open commit View diff
44 }
andryyy over 7 years ago 53e8bf5

[Web] Save filter objects 1:1 to database

Full commit hash
53e8bf537b22df58d2ed0bc82bfd376bd4358285
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
45
          $object_from = trim(strtolower($_data['object_from']));
Open commit View diff
45 $object_from = trim(strtolower($_data['object_from']));
andryyy almost 9 years ago 3de01af

[Web] Fixes #650

Full commit hash
3de01afce01e49c4937de113b3047c3d792eb07e
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
46
          if (!ctype_alnum(str_replace(array('@', '_', '.', '-', '*'), '', $object_from))) {
Open commit View diff
46 if (!ctype_alnum(str_replace(array('@', '_', '.', '-', '*'), '', $object_from))) {
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
47
            $_SESSION['return'][] = array(
Open commit View diff
47 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
48
              'type' => 'danger',
Open commit View diff
48 '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
49
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
49 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
50
              'msg' => 'policy_list_from_invalid'
Open commit View diff
50 'msg' => 'policy_list_from_invalid'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
51
            );
Open commit View diff
51 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
52
            return false;
Open commit View diff
52 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
53
          }
Open commit View diff
53 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
54
          if ($object_list != "blacklist_from" && $object_list != "whitelist_from") {
Open commit View diff
54 if ($object_list != "blacklist_from" && $object_list != "whitelist_from") {
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(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 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, $_scope, $_data_log),
Open commit View diff
57 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
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'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
59
            );
Open commit View diff
59 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
60
            return false;
Open commit View diff
60 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
61
          }
Open commit View diff
61 }
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
62
          $stmt = $pdo->prepare("SELECT `object` FROM `filterconf`
Open commit View diff
62 $stmt = $pdo->prepare("SELECT `object` FROM `filterconf`
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
63
            WHERE (`option` = 'whitelist_from'  OR `option` = 'blacklist_from')
Open commit View diff
63 WHERE (`option` = 'whitelist_from' OR `option` = 'blacklist_from')
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
64
              AND `object` = :object
Open commit View diff
64 AND `object` = :object
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
65
              AND `value` = :object_from");
Open commit View diff
65 AND `value` = :object_from");
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
66
          $stmt->execute(array(':object' => $object, ':object_from' => $object_from));
Open commit View diff
66 $stmt->execute(array(':object' => $object, ':object_from' => $object_from));
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
67
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
67 $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
68
          if ($num_results != 0) {
Open commit View diff
68 if ($num_results != 0) {
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
69
            $_SESSION['return'][] = array(
Open commit View diff
69 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
70
              'type' => 'danger',
Open commit View diff
70 '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
71
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
71 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
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
72
              'msg' => 'policy_list_from_exists'
Open commit View diff
72 'msg' => 'policy_list_from_exists'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
73
            );
Open commit View diff
73 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
74
            return false;
Open commit View diff
74 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
75
          }
Open commit View diff
75 }
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
76
Open commit View diff
76
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
77
          $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option` ,`value`)
Open commit View diff
77 $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option` ,`value`)
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
78
            VALUES (:object, :object_list, :object_from)");
Open commit View diff
78 VALUES (:object, :object_list, :object_from)");
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
79
          $stmt->execute(array(
Open commit View diff
79 $stmt->execute(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
80
            ':object' => $object,
Open commit View diff
80 ':object' => $object,
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
81
            ':object_list' => $object_list,
Open commit View diff
81 ':object_list' => $object_list,
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
82
            ':object_from' => $object_from
Open commit View diff
82 ':object_from' => $object_from
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
83
          ));
Open commit View diff
83 ));
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
84
Open commit View diff
84
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
85
          $_SESSION['return'][] = array(
Open commit View diff
85 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
86
            'type' => 'success',
Open commit View diff
86 '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
87
            'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
87 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
88
            'msg' => array('domain_modified', $object)
Open commit View diff
88 'msg' => array('domain_modified', $object)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
89
          );
Open commit View diff
89 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
90
        break;
Open commit View diff
90 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
91
        case 'mailbox':
Open commit View diff
91 case 'mailbox':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
92
          $object = $_data['username'];
Open commit View diff
92 $object = $_data['username'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
93
          if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
Open commit View diff
93 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
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
94
            $_SESSION['return'][] = array(
Open commit View diff
94 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
95
              'type' => 'danger',
Open commit View diff
95 '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
96
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
96 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
97
              'msg' => 'access_denied'
Open commit View diff
97 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
98
            );
Open commit View diff
98 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
99
            return false;
Open commit View diff
99 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
100
          }
Open commit View diff
100 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
101
          if ($_data['object_list'] == "bl") {
Open commit View diff
101 if ($_data['object_list'] == "bl") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
102
            $object_list = "blacklist_from";
Open commit View diff
102 $object_list = "blacklist_from";
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
103
          }
Open commit View diff
103 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
104
          elseif ($_data['object_list'] == "wl") {
Open commit View diff
104 elseif ($_data['object_list'] == "wl") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
105
            $object_list = "whitelist_from";
Open commit View diff
105 $object_list = "whitelist_from";
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
106
          }
Open commit View diff
106 }
andryyy over 7 years ago 53e8bf5

[Web] Save filter objects 1:1 to database

Full commit hash
53e8bf537b22df58d2ed0bc82bfd376bd4358285
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
107
          $object_from = trim(strtolower($_data['object_from']));
Open commit View diff
107 $object_from = trim(strtolower($_data['object_from']));
andryyy almost 9 years ago 3de01af

[Web] Fixes #650

Full commit hash
3de01afce01e49c4937de113b3047c3d792eb07e
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
108
          if (!ctype_alnum(str_replace(array('@', '_', '.', '-', '*'), '', $object_from))) {
Open commit View diff
108 if (!ctype_alnum(str_replace(array('@', '_', '.', '-', '*'), '', $object_from))) {
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
109
            $_SESSION['return'][] = array(
Open commit View diff
109 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
110
              'type' => 'danger',
Open commit View diff
110 '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
111
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
111 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
112
              'msg' => 'policy_list_from_invalid'
Open commit View diff
112 'msg' => 'policy_list_from_invalid'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
113
            );
Open commit View diff
113 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
114
            return false;
Open commit View diff
114 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
115
          }
Open commit View diff
115 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
116
          if ($object_list != "blacklist_from" && $object_list != "whitelist_from") {
Open commit View diff
116 if ($object_list != "blacklist_from" && $object_list != "whitelist_from") {
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
117
            $_SESSION['return'][] = array(
Open commit View diff
117 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
118
              'type' => 'danger',
Open commit View diff
118 '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
119
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
119 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
120
              'msg' => 'access_denied'
Open commit View diff
120 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
121
            );
Open commit View diff
121 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
122
            return false;
Open commit View diff
122 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
123
          }
Open commit View diff
123 }
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
124
          $stmt = $pdo->prepare("SELECT `object` FROM `filterconf`
Open commit View diff
124 $stmt = $pdo->prepare("SELECT `object` FROM `filterconf`
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
125
            WHERE (`option` = 'whitelist_from'  OR `option` = 'blacklist_from')
Open commit View diff
125 WHERE (`option` = 'whitelist_from' OR `option` = 'blacklist_from')
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
126
              AND `object` = :object
Open commit View diff
126 AND `object` = :object
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
127
              AND `value` = :object_from");
Open commit View diff
127 AND `value` = :object_from");
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
128
          $stmt->execute(array(':object' => $object, ':object_from' => $object_from));
Open commit View diff
128 $stmt->execute(array(':object' => $object, ':object_from' => $object_from));
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
129
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
129 $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
130
          if ($num_results != 0) {
Open commit View diff
130 if ($num_results != 0) {
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
131
            $_SESSION['return'][] = array(
Open commit View diff
131 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
132
              'type' => 'danger',
Open commit View diff
132 '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
133
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
133 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
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
134
              'msg' => 'policy_list_from_exists'
Open commit View diff
134 'msg' => 'policy_list_from_exists'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
135
            );
Open commit View diff
135 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
136
            return false;
Open commit View diff
136 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 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
          $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option` ,`value`)
Open commit View diff
138 $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option` ,`value`)
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
139
            VALUES (:object, :object_list, :object_from)");
Open commit View diff
139 VALUES (:object, :object_list, :object_from)");
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
140
          $stmt->execute(array(
Open commit View diff
140 $stmt->execute(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
141
            ':object' => $object,
Open commit View diff
141 ':object' => $object,
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
142
            ':object_list' => $object_list,
Open commit View diff
142 ':object_list' => $object_list,
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
143
            ':object_from' => $object_from
Open commit View diff
143 ':object_from' => $object_from
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
144
          ));
Open commit View diff
144 ));
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
145
          $_SESSION['return'][] = array(
Open commit View diff
145 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
146
            'type' => 'success',
Open commit View diff
146 '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
147
            'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
147 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
148
            'msg' => array('mailbox_modified', $object)
Open commit View diff
148 'msg' => array('mailbox_modified', $object)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
149
          );
Open commit View diff
149 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
150
        break;
Open commit View diff
150 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
151
      }
Open commit View diff
151 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
152
    break;
Open commit View diff
152 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
153
    case 'delete':
Open commit View diff
153 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
154
      if (!isset($_SESSION['acl']['spam_policy']) || $_SESSION['acl']['spam_policy'] != "1" ) {
Open commit View diff
154 if (!isset($_SESSION['acl']['spam_policy']) || $_SESSION['acl']['spam_policy'] != "1" ) {
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
155
        $_SESSION['return'][] = array(
Open commit View diff
155 $_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
156
          'type' => 'danger',
Open commit View diff
156 'type' => 'danger',
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
157
          'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
157 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
158
          'msg' => 'access_denied'
Open commit View diff
158 '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
159
        );
Open commit View diff
159 );
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
160
        return false;
Open commit View diff
160 return false;
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
161
      }
Open commit View diff
161 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
162
      switch ($_scope) {
Open commit View diff
162 switch ($_scope) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
163
        case 'domain':
Open commit View diff
163 case 'domain':
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
164
          (array)$prefids = $_data['prefid'];
Open commit View diff
164 (array)$prefids = $_data['prefid'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
165
          foreach ($prefids as $prefid) {
Open commit View diff
165 foreach ($prefids as $prefid) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
166
            if (!is_numeric($prefid)) {
Open commit View diff
166 if (!is_numeric($prefid)) {
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
              $_SESSION['return'][] = array(
Open commit View diff
167 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
168
                'type' => 'danger',
Open commit View diff
168 '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
169
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
169 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
170
                'msg' => 'access_denied'
Open commit View diff
170 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
171
              );
Open commit View diff
171 );
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
172
              continue;
Open commit View diff
172 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
173
            }
Open commit View diff
173 }
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
174
            $stmt = $pdo->prepare("SELECT `object` FROM `filterconf` WHERE `prefid` = :prefid");
Open commit View diff
174 $stmt = $pdo->prepare("SELECT `object` FROM `filterconf` WHERE `prefid` = :prefid");
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
175
            $stmt->execute(array(':prefid' => $prefid));
Open commit View diff
175 $stmt->execute(array(':prefid' => $prefid));
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
176
            $object = $stmt->fetch(PDO::FETCH_ASSOC)['object'];
Open commit View diff
176 $object = $stmt->fetch(PDO::FETCH_ASSOC)['object'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
177
            if (is_valid_domain_name($object)) {
Open commit View diff
177 if (is_valid_domain_name($object)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
178
              if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
Open commit View diff
178 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
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
179
                $_SESSION['return'][] = array(
Open commit View diff
179 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
180
                  'type' => 'danger',
Open commit View diff
180 '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
181
                  'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
181 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
182
                  'msg' => 'access_denied'
Open commit View diff
182 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
183
                );
Open commit View diff
183 );
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
184
                continue;
Open commit View diff
184 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
185
              }
Open commit View diff
185 }
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
186
              $object = idn_to_ascii(strtolower(trim($object)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
186 $object = idn_to_ascii(strtolower(trim($object)), 0, INTL_IDNA_VARIANT_UTS46);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
187
            }
Open commit View diff
187 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
188
            else {
Open commit View diff
188 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
189
              $_SESSION['return'][] = array(
Open commit View diff
189 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
190
                'type' => 'danger',
Open commit View diff
190 '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
191
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
191 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
192
                'msg' => 'access_denied'
Open commit View diff
192 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
193
              );
Open commit View diff
193 );
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
194
              continue;
Open commit View diff
194 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
195
            }
Open commit View diff
195 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
196
            try {
Open commit View diff
196 try {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
197
              $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :object AND `prefid` = :prefid");
Open commit View diff
197 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :object AND `prefid` = :prefid");
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
198
              $stmt->execute(array(
Open commit View diff
198 $stmt->execute(array(
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
199
                ':object' => $object,
Open commit View diff
199 ':object' => $object,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
200
                ':prefid' => $prefid
Open commit View diff
200 ':prefid' => $prefid
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
201
              ));
Open commit View diff
201 ));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
202
            }
Open commit View diff
202 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
203
            catch (PDOException $e) {
Open commit View diff
203 catch (PDOException $e) {
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
204
              $_SESSION['return'][] = array(
Open commit View diff
204 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
205
                'type' => 'danger',
Open commit View diff
205 '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
206
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
206 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
207
                'msg' => array('mysql_error', $e)
Open commit View diff
207 'msg' => array('mysql_error', $e)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
208
              );
Open commit View diff
208 );
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
209
              continue;
Open commit View diff
209 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
210
            }
Open commit View diff
210 }
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
211
            $_SESSION['return'][] = array(
Open commit View diff
211 $_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
212
              'type' => 'success',
Open commit View diff
212 '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
213
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
213 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
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
214
              'msg' => array('item_deleted',$prefid)
Open commit View diff
214 'msg' => array('item_deleted',$prefid)
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
215
            );
Open commit View diff
215 );
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
216
          }
Open commit View diff
216 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
217
        break;
Open commit View diff
217 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
218
        case 'mailbox':
Open commit View diff
218 case 'mailbox':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
219
          if (!is_array($_data['prefid'])) {
Open commit View diff
219 if (!is_array($_data['prefid'])) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
220
            $prefids = array();
Open commit View diff
220 $prefids = array();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
221
            $prefids[] = $_data['prefid'];
Open commit View diff
221 $prefids[] = $_data['prefid'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
222
          }
Open commit View diff
222 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
223
          else {
Open commit View diff
223 else {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
224
            $prefids = $_data['prefid'];
Open commit View diff
224 $prefids = $_data['prefid'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
225
          }
Open commit View diff
225 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
226
          foreach ($prefids as $prefid) {
Open commit View diff
226 foreach ($prefids as $prefid) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
227
            if (!is_numeric($prefid)) {
Open commit View diff
227 if (!is_numeric($prefid)) {
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
228
              $_SESSION['return'][] = array(
Open commit View diff
228 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
229
                'type' => 'danger',
Open commit View diff
229 '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
230
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
230 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
231
                'msg' => 'access_denied'
Open commit View diff
231 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
232
              );
Open commit View diff
232 );
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
233
              continue;
Open commit View diff
233 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
234
            }
Open commit View diff
234 }
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
235
            $stmt = $pdo->prepare("SELECT `object` FROM `filterconf` WHERE `prefid` = :prefid");
Open commit View diff
235 $stmt = $pdo->prepare("SELECT `object` FROM `filterconf` WHERE `prefid` = :prefid");
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
236
            $stmt->execute(array(':prefid' => $prefid));
Open commit View diff
236 $stmt->execute(array(':prefid' => $prefid));
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
237
            $object = $stmt->fetch(PDO::FETCH_ASSOC)['object'];
Open commit View diff
237 $object = $stmt->fetch(PDO::FETCH_ASSOC)['object'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
238
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
Open commit View diff
238 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $object)) {
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
239
              $_SESSION['return'][] = array(
Open commit View diff
239 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
240
                'type' => 'danger',
Open commit View diff
240 '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
241
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
241 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
242
                'msg' => 'access_denied'
Open commit View diff
242 'msg' => 'access_denied'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
243
              );
Open commit View diff
243 );
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
244
              continue;
Open commit View diff
244 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
245
            }
Open commit View diff
245 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
246
            try {
Open commit View diff
246 try {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
247
              $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :object AND `prefid` = :prefid");
Open commit View diff
247 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :object AND `prefid` = :prefid");
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
248
              $stmt->execute(array(
Open commit View diff
248 $stmt->execute(array(
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
249
                ':object' => $object,
Open commit View diff
249 ':object' => $object,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
250
                ':prefid' => $prefid
Open commit View diff
250 ':prefid' => $prefid
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
251
              ));
Open commit View diff
251 ));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
252
            }
Open commit View diff
252 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
253
            catch (PDOException $e) {
Open commit View diff
253 catch (PDOException $e) {
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
254
              $_SESSION['return'][] = array(
Open commit View diff
254 $_SESSION['return'][] = array(
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
255
                'type' => 'danger',
Open commit View diff
255 '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
256
                'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
256 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
257
                'msg' => array('mysql_error', $e)
Open commit View diff
257 'msg' => array('mysql_error', $e)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
258
              );
Open commit View diff
258 );
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
259
              continue;
Open commit View diff
259 continue;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
260
            }
Open commit View diff
260 }
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
261
            $_SESSION['return'][] = array(
Open commit View diff
261 $_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
262
              'type' => 'success',
Open commit View diff
262 '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
263
              'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
Open commit View diff
263 'log' => array(__FUNCTION__, $_action, $_scope, $_data_log),
andryyy almost 5 years ago 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
264
              'msg' => array('items_deleted', implode(', ', (array)$prefids))
Open commit View diff
264 'msg' => array('items_deleted', implode(', ', (array)$prefids))
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
265
            );
Open commit View diff
265 );
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
266
          }
Open commit View diff
266 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
267
        break;
Open commit View diff
267 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
268
      }
Open commit View diff
268 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
269
    break;
Open commit View diff
269 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
270
    case 'get':
Open commit View diff
270 case 'get':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
271
      switch ($_scope) {
Open commit View diff
271 switch ($_scope) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
272
        case 'domain':
Open commit View diff
272 case 'domain':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
273
          if (!is_valid_domain_name($_data)) {
Open commit View diff
273 if (!is_valid_domain_name($_data)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
274
            return false;
Open commit View diff
274 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
275
          }
Open commit View diff
275 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
276
          else {
Open commit View diff
276 else {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
277
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
277 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
278
              return false;
Open commit View diff
278 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
279
            }
Open commit View diff
279 }
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
280
            $_data = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
280 $_data = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
281
          }
Open commit View diff
281 }
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
282
Open commit View diff
282
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
283
          // WHITELIST
Open commit View diff
283 // WHITELIST
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
284
          $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='whitelist_from' AND (`object` LIKE :object_mail OR `object` = :object_domain)");
Open commit View diff
284 $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='whitelist_from' AND (`object` LIKE :object_mail OR `object` = :object_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
285
          $stmt->execute(array(':object_mail' => '%@' . $_data, ':object_domain' => $_data));
Open commit View diff
285 $stmt->execute(array(':object_mail' => '%@' . $_data, ':object_domain' => $_data));
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
286
          $rows['whitelist'] = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
286 $rows['whitelist'] = $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
287
          // BLACKLIST
Open commit View diff
287 // BLACKLIST
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
288
          $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='blacklist_from' AND (`object` LIKE :object_mail OR `object` = :object_domain)");
Open commit View diff
288 $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='blacklist_from' AND (`object` LIKE :object_mail OR `object` = :object_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
289
          $stmt->execute(array(':object_mail' => '%@' . $_data, ':object_domain' => $_data));
Open commit View diff
289 $stmt->execute(array(':object_mail' => '%@' . $_data, ':object_domain' => $_data));
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
290
          $rows['blacklist'] = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
290 $rows['blacklist'] = $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
291
Open commit View diff
291
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
292
          return $rows;
Open commit View diff
292 return $rows;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
293
        break;
Open commit View diff
293 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
294
        case 'mailbox':
Open commit View diff
294 case 'mailbox':
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
295
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
295 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
296
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
296 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
297
              return false;
Open commit View diff
297 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
298
            }
Open commit View diff
298 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
299
          }
Open commit View diff
299 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
300
          else {
Open commit View diff
300 else {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
301
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
301 $_data = $_SESSION['mailcow_cc_username'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
302
          }
Open commit View diff
302 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
303
          $domain = mailbox('get', 'mailbox_details', $_data)['domain'];
Open commit View diff
303 $domain = mailbox('get', 'mailbox_details', $_data)['domain'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
304
          if (empty($domain)) {
Open commit View diff
304 if (empty($domain)) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
305
            return false;
Open commit View diff
305 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
306
          }
Open commit View diff
306 }
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
307
          // WHITELIST
Open commit View diff
307 // WHITELIST
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
308
          $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='whitelist_from' AND (`object` = :username OR `object` = :domain)");
Open commit View diff
308 $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='whitelist_from' AND (`object` = :username OR `object` = :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
309
          $stmt->execute(array(':username' => $_data, ':domain' => $domain));
Open commit View diff
309 $stmt->execute(array(':username' => $_data, ':domain' => $domain));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
310
          $rows['whitelist'] = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
310 $rows['whitelist'] = $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
311
          // BLACKLIST
Open commit View diff
311 // BLACKLIST
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
312
          $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='blacklist_from' AND (`object` = :username OR `object` = :domain)");
Open commit View diff
312 $stmt = $pdo->prepare("SELECT `object`, `value`, `prefid` FROM `filterconf` WHERE `option`='blacklist_from' AND (`object` = :username OR `object` = :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
313
          $stmt->execute(array(':username' => $_data, ':domain' => $domain));
Open commit View diff
313 $stmt->execute(array(':username' => $_data, ':domain' => $domain));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
314
          $rows['blacklist'] = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
314 $rows['blacklist'] = $stmt->fetchAll(PDO::FETCH_ASSOC);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
315
          return $rows;
Open commit View diff
315 return $rows;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
316
        break;
Open commit View diff
316 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
317
      }
Open commit View diff
317 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
318
    break;
Open commit View diff
318 break;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
319
  }
Open commit View diff
319 }
andryyy almost 5 years ago 2cd0b56

[Web] Various PHP 8 fixes, partly fixes #4219

Full commit hash
2cd0b56b143b8a2741488ae1735bf6d74253247f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
320
}
Open commit View diff
320 }