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.mailbox.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.mailbox.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
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
2
function mailbox($_action, $_type, $_data = null, $_extra = null) {
Open commit View diff
2 function mailbox($_action, $_type, $_data = null, $_extra = null) {
André about 8 years ago 51cb3e1

[Web] Run _sogo_static_view update when changing sogo_view content

Full commit hash
51cb3e1aa391c603316238bfd511da3c77c99ed7
Author
André <[email protected]>
Date
about 8 years ago
Selected line
3
  global $pdo;
Open commit View diff
3 global $pdo;
same change 51cb3e1

[Web] Run _sogo_static_view update when changing sogo_view content

Full commit hash
51cb3e1aa391c603316238bfd511da3c77c99ed7
Author
André <[email protected]>
Date
about 8 years ago
Selected line
4
  global $redis;
Open commit View diff
4 global $redis;
same change 51cb3e1

[Web] Run _sogo_static_view update when changing sogo_view content

Full commit hash
51cb3e1aa391c603316238bfd511da3c77c99ed7
Author
André <[email protected]>
Date
about 8 years ago
Selected line
5
  global $lang;
Open commit View diff
5 global $lang;
André almost 8 years ago 76530b7

[Web] Use json_encode for mail attrs when creating a mailbox

Full commit hash
76530b7e6ddf43ad53bb9515baf11d5dab2f2fd5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6
  global $MAILBOX_DEFAULT_ATTRIBUTES;
Open commit View diff
6 global $MAILBOX_DEFAULT_ATTRIBUTES;
FreddleSpl0it over 1 year ago 43c1597

[Web] Check if authsource is configured before adding or updating a mailbox

Full commit hash
43c15970510ad305e2f67d7067b78967b32e0b7e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
7
  global $iam_settings;
Open commit View diff
7 global $iam_settings;
same change 43c1597

[Web] Check if authsource is configured before adding or updating a mailbox

Full commit hash
43c15970510ad305e2f67d7067b78967b32e0b7e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
8
Open commit View diff
8
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
9
  $_data_log = $_data;
Open commit View diff
9 $_data_log = $_data;
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
10
  !isset($_data_log['password']) ?: $_data_log['password'] = '*';
Open commit View diff
10 !isset($_data_log['password']) ?: $_data_log['password'] = '*';
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
11
  !isset($_data_log['password2']) ?: $_data_log['password2'] = '*';
Open commit View diff
11 !isset($_data_log['password2']) ?: $_data_log['password2'] = '*';
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
12
Open commit View diff
12
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
13
  // Track mailboxes affected by alias operations for incremental SOGo updates
Open commit View diff
13 // Track mailboxes affected by alias operations for incremental SOGo updates
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
14
  $update_sogo_mailboxes = array();
Open commit View diff
14 $update_sogo_mailboxes = array();
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
15
Open commit View diff
15
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
19
        case 'time_limited_alias':
Open commit View diff
19 case 'time_limited_alias':
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
20
          if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
Open commit View diff
20 if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
21
            $_SESSION['return'][] = array(
Open commit View diff
21 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

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

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
25
            );
Open commit View diff
25 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
26
            return false;
Open commit View diff
26 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
27
          }
Open commit View diff
27 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
29
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
Open commit View diff
29 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
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
30
              $_SESSION['return'][] = array(
Open commit View diff
30 $_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
31
                'type' => 'danger',
Open commit View diff
31 '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
32
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
32 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
35
              return false;
Open commit View diff
35 return false;
same change 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
            else {
Open commit View diff
37 else {
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
42
            $username = $_SESSION['mailcow_cc_username'];
Open commit View diff
42 $username = $_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
43
          }
Open commit View diff
43 }
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
44
          if (isset($_data["validity"]) && !filter_var($_data["validity"], FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 87600)))) {
Open commit View diff
44 if (isset($_data["validity"]) && !filter_var($_data["validity"], FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 87600)))) {
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
45
            $_SESSION['return'][] = array(
Open commit View diff
45 $_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
46
              'type' => 'danger',
Open commit View diff
46 '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
47
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
47 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
50
            return false;
Open commit View diff
50 return false;
same change 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 }
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
52
          else {
Open commit View diff
52 else {
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
53
            // Default to 1 yr
Open commit View diff
53 // Default to 1 yr
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
54
            $_data["validity"] = 8760;
Open commit View diff
54 $_data["validity"] = 8760;
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
55
          }
Open commit View diff
55 }
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
56
          if (isset($_data["permanent"]) && filter_var($_data["permanent"], FILTER_VALIDATE_BOOL)) {
Open commit View diff
56 if (isset($_data["permanent"]) && filter_var($_data["permanent"], FILTER_VALIDATE_BOOL)) {
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
57
            $permanent = 1;
Open commit View diff
57 $permanent = 1;
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
58
          }
Open commit View diff
58 }
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
59
          else {
Open commit View diff
59 else {
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
60
            $permanent = 0;
Open commit View diff
60 $permanent = 0;
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
61
          }
Open commit View diff
61 }
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
62
          $domain = $_data['domain'];
Open commit View diff
62 $domain = $_data['domain'];
Filip Marek almost 2 years ago 60ca250

add temporary email description

Full commit hash
60ca25026dd194ae8f2681df761070fa9b1ce414
Author
Filip Marek <[email protected]>
Date
almost 2 years ago
Selected line
63
          $description = $_data['description'];
Open commit View diff
63 $description = $_data['description'];
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
64
          $valid_domains[] = mailbox('get', 'mailbox_details', $username)['domain'];
Open commit View diff
64 $valid_domains[] = mailbox('get', 'mailbox_details', $username)['domain'];
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
65
          $valid_alias_domains = user_get_alias_details($username)['alias_domains'];
Open commit View diff
65 $valid_alias_domains = user_get_alias_details($username)['alias_domains'];
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
66
          if (!empty($valid_alias_domains)) {
Open commit View diff
66 if (!empty($valid_alias_domains)) {
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
67
            $valid_domains = array_merge($valid_domains, $valid_alias_domains);
Open commit View diff
67 $valid_domains = array_merge($valid_domains, $valid_alias_domains);
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
68
          }
Open commit View diff
68 }
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
69
          if (!in_array($domain, $valid_domains)) {
Open commit View diff
69 if (!in_array($domain, $valid_domains)) {
andryyy about 6 years ago 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
70
            $_SESSION['return'][] = array(
Open commit View diff
70 $_SESSION['return'][] = array(
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
71
              'type' => 'danger',
Open commit View diff
71 'type' => 'danger',
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
72
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
72 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
73
              'msg' => 'domain_invalid'
Open commit View diff
73 'msg' => 'domain_invalid'
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
74
            );
Open commit View diff
74 );
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
75
            return false;
Open commit View diff
75 return false;
same change 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
76
          }
Open commit View diff
76 }
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
77
          $validity = strtotime("+" . $_data["validity"] . " hour");
Open commit View diff
77 $validity = strtotime("+" . $_data["validity"] . " hour");
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
78
          $stmt = $pdo->prepare("INSERT INTO `spamalias` (`address`, `description`, `goto`, `validity`, `permanent`) VALUES
Open commit View diff
78 $stmt = $pdo->prepare("INSERT INTO `spamalias` (`address`, `description`, `goto`, `validity`, `permanent`) VALUES
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
79
            (:address, :description, :goto, :validity, :permanent)");
Open commit View diff
79 (:address, :description, :goto, :validity, :permanent)");
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
80
          $stmt->execute(array(
Open commit View diff
80 $stmt->execute(array(
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
81
            ':address' => readable_random_string(rand(rand(3, 9), rand(3, 9))) . '.' . readable_random_string(rand(rand(3, 9), rand(3, 9))) . '@' . $domain,
Open commit View diff
81 ':address' => readable_random_string(rand(rand(3, 9), rand(3, 9))) . '.' . readable_random_string(rand(rand(3, 9), rand(3, 9))) . '@' . $domain,
Filip Marek almost 2 years ago 60ca250

add temporary email description

Full commit hash
60ca25026dd194ae8f2681df761070fa9b1ce414
Author
Filip Marek <[email protected]>
Date
almost 2 years ago
Selected line
82
            ':description' => $description,
Open commit View diff
82 ':description' => $description,
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
83
            ':goto' => $username,
Open commit View diff
83 ':goto' => $username,
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
84
            ':validity' => $validity,
Open commit View diff
84 ':validity' => $validity,
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
85
            ':permanent' => $permanent
Open commit View diff
85 ':permanent' => $permanent
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
86
          ));
Open commit View diff
86 ));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
87
          $_SESSION['return'][] = array(
Open commit View diff
87 $_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
88
            'type' => 'success',
Open commit View diff
88 '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
89
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
89 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy about 6 years ago 1db85df

[Web] Fix time limited alias creation via API, thanks to @ntimo

Full commit hash
1db85df0db7c1dc6a5377cf871c6134496b6da03
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
90
            'msg' => array('mailbox_modified', $username)
Open commit View diff
90 'msg' => array('mailbox_modified', $username)
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
92
        break;
Open commit View diff
92 break;
andryyy over 6 years ago e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
93
        case 'global_filter':
Open commit View diff
93 case 'global_filter':
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
94
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
94 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
95
            $_SESSION['return'][] = array(
Open commit View diff
95 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
96
              'type' => 'danger',
Open commit View diff
96 'type' => 'danger',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
97
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
97 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
98
              'msg' => 'access_denied'
Open commit View diff
98 'msg' => 'access_denied'
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
99
            );
Open commit View diff
99 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
100
            return false;
Open commit View diff
100 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
101
          }
Open commit View diff
101 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
102
          $sieve = new Sieve\SieveParser();
Open commit View diff
102 $sieve = new Sieve\SieveParser();
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
103
          $script_data = $_data['script_data'];
Open commit View diff
103 $script_data = $_data['script_data'];
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
104
          $script_data = str_replace("\r\n", "\n", $script_data); // windows -> unix
Open commit View diff
104 $script_data = str_replace("\r\n", "\n", $script_data); // windows -> unix
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
105
          $script_data = str_replace("\r", "\n", $script_data);   // remaining -> unix
Open commit View diff
105 $script_data = str_replace("\r", "\n", $script_data); // remaining -> unix
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
106
          $filter_type = $_data['filter_type'];
Open commit View diff
106 $filter_type = $_data['filter_type'];
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
107
          try {
Open commit View diff
107 try {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
108
            $sieve->parse($script_data);
Open commit View diff
108 $sieve->parse($script_data);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
109
          }
Open commit View diff
109 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
110
          catch (Exception $e) {
Open commit View diff
110 catch (Exception $e) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
111
            $_SESSION['return'][] = array(
Open commit View diff
111 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
112
              'type' => 'danger',
Open commit View diff
112 'type' => 'danger',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
113
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
113 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
114
              'msg' => array('sieve_error', $e->getMessage())
Open commit View diff
114 'msg' => array('sieve_error', $e->getMessage())
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
115
            );
Open commit View diff
115 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
116
            return false;
Open commit View diff
116 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
117
          }
Open commit View diff
117 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
118
          if ($filter_type == 'prefilter') {
Open commit View diff
118 if ($filter_type == 'prefilter') {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
119
            try {
Open commit View diff
119 try {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
120
              if (file_exists('/global_sieve/before')) {
Open commit View diff
120 if (file_exists('/global_sieve/before')) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
121
                $filter_handle = fopen('/global_sieve/before', 'w');
Open commit View diff
121 $filter_handle = fopen('/global_sieve/before', 'w');
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
122
                if (!$filter_handle) {
Open commit View diff
122 if (!$filter_handle) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
123
                  throw new Exception($lang['danger']['file_open_error']);
Open commit View diff
123 throw new Exception($lang['danger']['file_open_error']);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
124
                }
Open commit View diff
124 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
125
                fwrite($filter_handle, $script_data);
Open commit View diff
125 fwrite($filter_handle, $script_data);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
126
                fclose($filter_handle);
Open commit View diff
126 fclose($filter_handle);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
127
              }
Open commit View diff
127 }
andryyy over 6 years ago aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
128
              $restart_response = json_decode(docker('post', 'dovecot-mailcow', 'restart'), true);
Open commit View diff
128 $restart_response = json_decode(docker('post', 'dovecot-mailcow', 'restart'), true);
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
129
              if ($restart_response['type'] == "success") {
Open commit View diff
129 if ($restart_response['type'] == "success") {
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
130
                $_SESSION['return'][] = array(
Open commit View diff
130 $_SESSION['return'][] = array(
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
131
                  'type' => 'success',
Open commit View diff
131 'type' => 'success',
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
132
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
132 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
133
                  'msg' => 'dovecot_restart_success'
Open commit View diff
133 'msg' => 'dovecot_restart_success'
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
134
                );
Open commit View diff
134 );
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
135
              }
Open commit View diff
135 }
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
136
              else {
Open commit View diff
136 else {
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
137
                $_SESSION['return'][] = array(
Open commit View diff
137 $_SESSION['return'][] = array(
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
138
                  'type' => 'warning',
Open commit View diff
138 'type' => 'warning',
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
139
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
139 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
140
                  'msg' => 'dovecot_restart_failed'
Open commit View diff
140 'msg' => 'dovecot_restart_failed'
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
141
                );
Open commit View diff
141 );
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
142
              }
Open commit View diff
142 }
andryyy over 6 years ago e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
143
            }
Open commit View diff
143 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
144
            catch (Exception $e) {
Open commit View diff
144 catch (Exception $e) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
145
              $_SESSION['return'][] = array(
Open commit View diff
145 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
146
                'type' => 'danger',
Open commit View diff
146 'type' => 'danger',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
147
                'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
147 'log' => array(__FUNCTION__, $_action, $_data_log),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
148
                'msg' => array('global_filter_write_error', htmlspecialchars($e->getMessage()))
Open commit View diff
148 'msg' => array('global_filter_write_error', htmlspecialchars($e->getMessage()))
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
149
              );
Open commit View diff
149 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
150
              return false;
Open commit View diff
150 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
151
            }
Open commit View diff
151 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
152
          }
Open commit View diff
152 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
153
          elseif ($filter_type == 'postfilter') {
Open commit View diff
153 elseif ($filter_type == 'postfilter') {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
154
            try {
Open commit View diff
154 try {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
155
              if (file_exists('/global_sieve/after')) {
Open commit View diff
155 if (file_exists('/global_sieve/after')) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
156
                $filter_handle = fopen('/global_sieve/after', 'w');
Open commit View diff
156 $filter_handle = fopen('/global_sieve/after', 'w');
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
157
                if (!$filter_handle) {
Open commit View diff
157 if (!$filter_handle) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
158
                  throw new Exception($lang['danger']['file_open_error']);
Open commit View diff
158 throw new Exception($lang['danger']['file_open_error']);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
159
                }
Open commit View diff
159 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
160
                fwrite($filter_handle, $script_data);
Open commit View diff
160 fwrite($filter_handle, $script_data);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
161
                fclose($filter_handle);
Open commit View diff
161 fclose($filter_handle);
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
162
              }
Open commit View diff
162 }
andryyy over 6 years ago aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
163
              $restart_response = json_decode(docker('post', 'dovecot-mailcow', 'restart'), true);
Open commit View diff
163 $restart_response = json_decode(docker('post', 'dovecot-mailcow', 'restart'), true);
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
164
              if ($restart_response['type'] == "success") {
Open commit View diff
164 if ($restart_response['type'] == "success") {
andryyy over 6 years ago ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
165
                $_SESSION['return'][] = array(
Open commit View diff
165 $_SESSION['return'][] = array(
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
166
                  'type' => 'success',
Open commit View diff
166 'type' => 'success',
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
167
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
167 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
168
                  'msg' => 'dovecot_restart_success'
Open commit View diff
168 'msg' => 'dovecot_restart_success'
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
169
                );
Open commit View diff
169 );
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
170
              }
Open commit View diff
170 }
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
171
              else {
Open commit View diff
171 else {
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
172
                $_SESSION['return'][] = array(
Open commit View diff
172 $_SESSION['return'][] = array(
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
173
                  'type' => 'warning',
Open commit View diff
173 'type' => 'warning',
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
174
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
174 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
175
                  'msg' => 'dovecot_restart_failed'
Open commit View diff
175 'msg' => 'dovecot_restart_failed'
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
176
                );
Open commit View diff
176 );
same change ad536fd

[Web] Restart Dovecot when changing global sieve filters, add a warning

Full commit hash
ad536fd43a346e9867c254704bc37d45282ee4a7
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
177
              }
Open commit View diff
177 }
andryyy over 6 years ago e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
178
            }
Open commit View diff
178 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
179
            catch (Exception $e) {
Open commit View diff
179 catch (Exception $e) {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
180
              $_SESSION['return'][] = array(
Open commit View diff
180 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
181
                'type' => 'danger',
Open commit View diff
181 'type' => 'danger',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
182
                'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
182 'log' => array(__FUNCTION__, $_action, $_data_log),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
183
                'msg' => array('global_filter_write_error', htmlspecialchars($e->getMessage()))
Open commit View diff
183 'msg' => array('global_filter_write_error', htmlspecialchars($e->getMessage()))
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
184
              );
Open commit View diff
184 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
185
              return false;
Open commit View diff
185 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
186
            }
Open commit View diff
186 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
187
          }
Open commit View diff
187 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
188
          else {
Open commit View diff
188 else {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
189
            $_SESSION['return'][] = array(
Open commit View diff
189 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
190
              'type' => 'danger',
Open commit View diff
190 'type' => 'danger',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
191
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
191 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
192
              'msg' => 'invalid_filter_type'
Open commit View diff
192 'msg' => 'invalid_filter_type'
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
193
            );
Open commit View diff
193 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
194
            return false;
Open commit View diff
194 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
195
          }
Open commit View diff
195 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
196
          $_SESSION['return'][] = array(
Open commit View diff
196 $_SESSION['return'][] = array(
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
197
            'type' => 'success',
Open commit View diff
197 'type' => 'success',
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
198
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
198 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
199
            'msg' => 'global_filter_written'
Open commit View diff
199 'msg' => 'global_filter_written'
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
200
          );
Open commit View diff
200 );
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
201
          return true;
Open commit View diff
201 return true;
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
202
        break;
Open commit View diff
202 break;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
203
        case 'filter':
Open commit View diff
203 case 'filter':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
204
          $sieve = new Sieve\SieveParser();
Open commit View diff
204 $sieve = new Sieve\SieveParser();
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
205
          if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
Open commit View diff
205 if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
206
            $_SESSION['return'][] = array(
Open commit View diff
206 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
207
              'type' => 'danger',
Open commit View diff
207 '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
208
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
208 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
209
              'msg' => 'access_denied'
Open commit View diff
209 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
210
            );
Open commit View diff
210 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
211
            return false;
Open commit View diff
211 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
212
          }
Open commit View diff
212 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
213
          if (isset($_data['username']) && filter_var($_data['username'], FILTER_VALIDATE_EMAIL)) {
Open commit View diff
213 if (isset($_data['username']) && filter_var($_data['username'], FILTER_VALIDATE_EMAIL)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
214
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
Open commit View diff
214 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
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
215
              $_SESSION['return'][] = array(
Open commit View diff
215 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
216
                'type' => 'danger',
Open commit View diff
216 '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
217
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
217 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
218
                'msg' => 'access_denied'
Open commit View diff
218 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
219
              );
Open commit View diff
219 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
220
              return false;
Open commit View diff
220 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
221
            }
Open commit View diff
221 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
222
            else {
Open commit View diff
222 else {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
223
              $username = $_data['username'];
Open commit View diff
223 $username = $_data['username'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
224
            }
Open commit View diff
224 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
225
          }
Open commit View diff
225 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
226
          elseif ($_SESSION['mailcow_cc_role'] == "user") {
Open commit View diff
226 elseif ($_SESSION['mailcow_cc_role'] == "user") {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
227
            $username = $_SESSION['mailcow_cc_username'];
Open commit View diff
227 $username = $_SESSION['mailcow_cc_username'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
228
          }
Open commit View diff
228 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
229
          else {
Open commit View diff
229 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
230
            $_SESSION['return'][] = array(
Open commit View diff
230 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
231
              'type' => 'danger',
Open commit View diff
231 '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
232
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
232 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
233
              'msg' => 'no_user_defined'
Open commit View diff
233 'msg' => 'no_user_defined'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
234
            );
Open commit View diff
234 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
235
            return false;
Open commit View diff
235 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
236
          }
Open commit View diff
236 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
237
          $active     = intval($_data['active']);
Open commit View diff
237 $active = intval($_data['active']);
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
238
          $script_data = $_data['script_data'];
Open commit View diff
238 $script_data = $_data['script_data'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
239
          $script_desc = $_data['script_desc'];
Open commit View diff
239 $script_desc = $_data['script_desc'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
240
          $filter_type = $_data['filter_type'];
Open commit View diff
240 $filter_type = $_data['filter_type'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
241
          if (empty($script_data)) {
Open commit View diff
241 if (empty($script_data)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
242
            $_SESSION['return'][] = array(
Open commit View diff
242 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
243
              'type' => 'danger',
Open commit View diff
243 '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
244
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
244 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
245
              'msg' => 'script_empty'
Open commit View diff
245 'msg' => 'script_empty'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
246
            );
Open commit View diff
246 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
247
            return false;
Open commit View diff
247 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
248
          }
Open commit View diff
248 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
249
          try {
Open commit View diff
249 try {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
250
            $sieve->parse($script_data);
Open commit View diff
250 $sieve->parse($script_data);
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
251
          }
Open commit View diff
251 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
252
          catch (Exception $e) {
Open commit View diff
252 catch (Exception $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
253
            $_SESSION['return'][] = array(
Open commit View diff
253 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
254
              'type' => 'danger',
Open commit View diff
254 '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
255
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
255 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
256
              'msg' => array('sieve_error', $e->getMessage())
Open commit View diff
256 'msg' => array('sieve_error', $e->getMessage())
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
257
            );
Open commit View diff
257 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
258
            return false;
Open commit View diff
258 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
259
          }
Open commit View diff
259 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
260
          if (empty($script_data) || empty($script_desc)) {
Open commit View diff
260 if (empty($script_data) || empty($script_desc)) {
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(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
262
              'type' => 'danger',
Open commit View diff
262 '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
263
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
263 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
264
              'msg' => 'value_missing'
Open commit View diff
264 'msg' => 'value_missing'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
265
            );
Open commit View diff
265 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
266
            return false;
Open commit View diff
266 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
267
          }
Open commit View diff
267 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
268
          if ($filter_type != 'postfilter' && $filter_type != 'prefilter') {
Open commit View diff
268 if ($filter_type != 'postfilter' && $filter_type != 'prefilter') {
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
269
            $_SESSION['return'][] = array(
Open commit View diff
269 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
270
              'type' => 'danger',
Open commit View diff
270 '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
271
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
271 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
272
              'msg' => 'filter_type'
Open commit View diff
272 'msg' => 'filter_type'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
273
            );
Open commit View diff
273 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
274
            return false;
Open commit View diff
274 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
275
          }
Open commit View diff
275 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
276
          if (!empty($active)) {
Open commit View diff
276 if (!empty($active)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
277
            $script_name = 'active';
Open commit View diff
277 $script_name = 'active';
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
278
            $stmt = $pdo->prepare("UPDATE `sieve_filters` SET `script_name` = 'inactive' WHERE `username` = :username AND `filter_type` = :filter_type");
Open commit View diff
278 $stmt = $pdo->prepare("UPDATE `sieve_filters` SET `script_name` = 'inactive' WHERE `username` = :username AND `filter_type` = :filter_type");
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
279
            $stmt->execute(array(
Open commit View diff
279 $stmt->execute(array(
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
280
              ':username' => $username,
Open commit View diff
280 ':username' => $username,
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
281
              ':filter_type' => $filter_type
Open commit View diff
281 ':filter_type' => $filter_type
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
282
            ));
Open commit View diff
282 ));
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
283
          }
Open commit View diff
283 }
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
284
          else {
Open commit View diff
284 else {
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
            $script_name = 'inactive';
Open commit View diff
285 $script_name = 'inactive';
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
286
          }
Open commit View diff
286 }
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
287
          $stmt = $pdo->prepare("INSERT INTO `sieve_filters` (`username`, `script_data`, `script_desc`, `script_name`, `filter_type`)
Open commit View diff
287 $stmt = $pdo->prepare("INSERT INTO `sieve_filters` (`username`, `script_data`, `script_desc`, `script_name`, `filter_type`)
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
288
            VALUES (:username, :script_data, :script_desc, :script_name, :filter_type)");
Open commit View diff
288 VALUES (:username, :script_data, :script_desc, :script_name, :filter_type)");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
289
          $stmt->execute(array(
Open commit View diff
289 $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
290
            ':username' => $username,
Open commit View diff
290 ':username' => $username,
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
            ':script_data' => $script_data,
Open commit View diff
291 ':script_data' => $script_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
292
            ':script_desc' => $script_desc,
Open commit View diff
292 ':script_desc' => $script_desc,
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
293
            ':script_name' => $script_name,
Open commit View diff
293 ':script_name' => $script_name,
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
294
            ':filter_type' => $filter_type
Open commit View diff
294 ':filter_type' => $filter_type
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
295
          ));
Open commit View diff
295 ));
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
296
          $_SESSION['return'][] = array(
Open commit View diff
296 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
297
            'type' => 'success',
Open commit View diff
297 '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
298
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
298 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
299
            'msg' => array('mailbox_modified', $username)
Open commit View diff
299 'msg' => array('mailbox_modified', $username)
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
300
          );
Open commit View diff
300 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
301
        break;
Open commit View diff
301 break;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
302
        case 'syncjob':
Open commit View diff
302 case 'syncjob':
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
303
          if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
Open commit View diff
303 if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
304
            $_SESSION['return'][] = array(
Open commit View diff
304 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
305
              'type' => 'danger',
Open commit View diff
305 '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
306
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
306 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
308
            );
Open commit View diff
308 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
309
            return false;
Open commit View diff
309 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
310
          }
Open commit View diff
310 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
312
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
Open commit View diff
312 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
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
313
              $_SESSION['return'][] = array(
Open commit View diff
313 $_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
314
                'type' => 'danger',
Open commit View diff
314 '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
315
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
315 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
316
                'msg' => 'access_denied'
Open commit View diff
316 '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
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
              return false;
Open commit View diff
318 return false;
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 }
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
323
          }
Open commit View diff
323 }
andryyy almost 9 years ago 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
324
          elseif ($_SESSION['mailcow_cc_role'] == "user") {
Open commit View diff
324 elseif ($_SESSION['mailcow_cc_role'] == "user") {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
325
            $username = $_SESSION['mailcow_cc_username'];
Open commit View diff
325 $username = $_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
326
          }
Open commit View diff
326 }
andryyy almost 9 years ago 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
327
          else {
Open commit View diff
327 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
328
            $_SESSION['return'][] = array(
Open commit View diff
328 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
329
              'type' => 'danger',
Open commit View diff
329 '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
330
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
330 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
331
              'msg' => 'no_user_defined'
Open commit View diff
331 'msg' => 'no_user_defined'
andryyy almost 9 years ago 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
332
            );
Open commit View diff
332 );
same change 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
333
            return false;
Open commit View diff
333 return false;
same change 66e06a0

[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
334
          }
Open commit View diff
334 }
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
335
          $active               = intval($_data['active']);
Open commit View diff
335 $active = intval($_data['active']);
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
336
          $subscribeall         = intval($_data['subscribeall']);
Open commit View diff
336 $subscribeall = intval($_data['subscribeall']);
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
337
          $delete2duplicates    = intval($_data['delete2duplicates']);
Open commit View diff
337 $delete2duplicates = intval($_data['delete2duplicates']);
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
338
          $delete1              = intval($_data['delete1']);
Open commit View diff
338 $delete1 = intval($_data['delete1']);
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
339
          $delete2              = intval($_data['delete2']);
Open commit View diff
339 $delete2 = intval($_data['delete2']);
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
340
          $timeout1             = intval($_data['timeout1']);
Open commit View diff
340 $timeout1 = intval($_data['timeout1']);
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
341
          $timeout2             = intval($_data['timeout2']);
Open commit View diff
341 $timeout2 = intval($_data['timeout2']);
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
342
          $skipcrossduplicates  = intval($_data['skipcrossduplicates']);
Open commit View diff
342 $skipcrossduplicates = intval($_data['skipcrossduplicates']);
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
343
          $automap              = intval($_data['automap']);
Open commit View diff
343 $automap = intval($_data['automap']);
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
344
          $dry                  = intval($_data['dry']);
Open commit View diff
344 $dry = intval($_data['dry']);
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
345
          $port1                = $_data['port1'];
Open commit View diff
345 $port1 = $_data['port1'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
346
          $host1                = strtolower($_data['host1']);
Open commit View diff
346 $host1 = strtolower($_data['host1']);
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
347
          $password1            = $_data['password1'];
Open commit View diff
347 $password1 = $_data['password1'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
348
          $exclude              = $_data['exclude'];
Open commit View diff
348 $exclude = $_data['exclude'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
349
          $maxage               = $_data['maxage'];
Open commit View diff
349 $maxage = $_data['maxage'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
350
          $maxbytespersecond    = $_data['maxbytespersecond'];
Open commit View diff
350 $maxbytespersecond = $_data['maxbytespersecond'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
351
          $subfolder2           = $_data['subfolder2'];
Open commit View diff
351 $subfolder2 = $_data['subfolder2'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
352
          $user1                = $_data['user1'];
Open commit View diff
352 $user1 = $_data['user1'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
353
          $mins_interval        = $_data['mins_interval'];
Open commit View diff
353 $mins_interval = $_data['mins_interval'];
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
354
          $enc1                 = $_data['enc1'];
Open commit View diff
354 $enc1 = $_data['enc1'];
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
355
          $custom_params        = (empty(trim($_data['custom_params']))) ? '' : trim($_data['custom_params']);
Open commit View diff
355 $custom_params = (empty(trim($_data['custom_params']))) ? '' : trim($_data['custom_params']);
FreddleSpl0it about 4 years ago 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
356
Open commit View diff
356
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
357
          // validate custom params
Open commit View diff
357 // validate custom params
FreddleSpl0it about 4 years ago f724662

readd imapsync fix

Full commit hash
f7246628747121886d13bd022b8d7d46a0a91d43
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
358
          foreach (explode('-', $custom_params) as $param){
Open commit View diff
358 foreach (explode('-', $custom_params) as $param){
FreddleSpl0it about 4 years ago a835419

fix imapsync

Full commit hash
a835419168394bcbefdafb03de50fa9e6187717a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
359
            if(empty($param)) continue;
Open commit View diff
359 if(empty($param)) continue;
same change a835419

fix imapsync

Full commit hash
a835419168394bcbefdafb03de50fa9e6187717a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
360
Open commit View diff
360
FreddleSpl0it about 4 years ago 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
361
            // extract option
Open commit View diff
361 // extract option
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
362
            if (str_contains($param, '=')) $param = explode('=', $param)[0];
Open commit View diff
362 if (str_contains($param, '=')) $param = explode('=', $param)[0];
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
363
            else $param = rtrim($param, ' ');
Open commit View diff
363 else $param = rtrim($param, ' ');
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
364
            // remove first char if first char is -
Open commit View diff
364 // remove first char if first char is -
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
365
            if ($param[0] == '-') $param = ltrim($param, $param[0]);
Open commit View diff
365 if ($param[0] == '-') $param = ltrim($param, $param[0]);
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
366
Open commit View diff
366
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
367
            if (str_contains($param, ' ')) {
Open commit View diff
367 if (str_contains($param, ' ')) {
FreddleSpl0it about 4 years ago 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
368
              // bad char
Open commit View diff
368 // bad char
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
369
              $_SESSION['return'][] = array(
Open commit View diff
369 $_SESSION['return'][] = array(
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
370
                'type' => 'danger',
Open commit View diff
370 'type' => 'danger',
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
371
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
371 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
372
                'msg' => 'bad character SPACE'
Open commit View diff
372 'msg' => 'bad character SPACE'
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
373
              );
Open commit View diff
373 );
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
374
              return false;
Open commit View diff
374 return false;
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
375
            }
Open commit View diff
375 }
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
376
Open commit View diff
376
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
377
            // check if param is whitelisted
Open commit View diff
377 // check if param is whitelisted
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
378
            if (!in_array(strtolower($param), $GLOBALS["IMAPSYNC_OPTIONS"]["whitelist"])){
Open commit View diff
378 if (!in_array(strtolower($param), $GLOBALS["IMAPSYNC_OPTIONS"]["whitelist"])){
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
379
              // bad option
Open commit View diff
379 // bad option
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
380
              $_SESSION['return'][] = array(
Open commit View diff
380 $_SESSION['return'][] = array(
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
381
                'type' => 'danger',
Open commit View diff
381 'type' => 'danger',
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
382
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
382 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
383
                'msg' => 'bad option '. $param
Open commit View diff
383 'msg' => 'bad option '. $param
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
384
              );
Open commit View diff
384 );
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
385
              return false;
Open commit View diff
385 return false;
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
386
            }
Open commit View diff
386 }
andryyy over 5 years ago b9a8b8a

[Web] More custom_params

Full commit hash
b9a8b8a3e79646409f91e2cdcd09ca44752cb5f5
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
387
          }
Open commit View diff
387 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
390
          }
Open commit View diff
390 }
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
391
          if (!isset($maxage) || !filter_var($maxage, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
391 if (!isset($maxage) || !filter_var($maxage, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
393
          }
Open commit View diff
393 }
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
394
          if (!isset($timeout1) || !filter_var($timeout1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
394 if (!isset($timeout1) || !filter_var($timeout1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
395
            $timeout1 = "600";
Open commit View diff
395 $timeout1 = "600";
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
396
          }
Open commit View diff
396 }
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
397
          if (!isset($timeout2) || !filter_var($timeout2, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
397 if (!isset($timeout2) || !filter_var($timeout2, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
398
            $timeout2 = "600";
Open commit View diff
398 $timeout2 = "600";
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
399
          }
Open commit View diff
399 }
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
400
          if (!isset($maxbytespersecond) || !filter_var($maxbytespersecond, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 125000000)))) {
Open commit View diff
400 if (!isset($maxbytespersecond) || !filter_var($maxbytespersecond, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 125000000)))) {
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
401
            $maxbytespersecond = "0";
Open commit View diff
401 $maxbytespersecond = "0";
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
402
          }
Open commit View diff
402 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
403
          if (!filter_var($port1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 65535)))) {
Open commit View diff
403 if (!filter_var($port1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 65535)))) {
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
404
            $_SESSION['return'][] = array(
Open commit View diff
404 $_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
405
              'type' => 'danger',
Open commit View diff
405 '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
406
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
406 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
410
          }
Open commit View diff
410 }
andryyy about 6 years ago 2d049f3

[Web] Allow mins_interval of max 1 month for sync jobs, fixes #3642

Full commit hash
2d049f37da24a74685430068a38626cf8e495670
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
411
          if (!filter_var($mins_interval, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 43800)))) {
Open commit View diff
411 if (!filter_var($mins_interval, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 43800)))) {
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
412
            $_SESSION['return'][] = array(
Open commit View diff
412 $_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
413
              'type' => 'danger',
Open commit View diff
413 '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
414
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
414 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
418
          }
Open commit View diff
418 }
andryyy almost 7 years ago 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
419
          // if (!is_valid_domain_name($host1)) {
Open commit View diff
419 // if (!is_valid_domain_name($host1)) {
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
420
            // $_SESSION['return'][] = array(
Open commit View diff
420 // $_SESSION['return'][] = array(
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
421
              // 'type' => 'danger',
Open commit View diff
421 // 'type' => 'danger',
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
422
              // 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
422 // 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
423
              // 'msg' => 'access_denied'
Open commit View diff
423 // 'msg' => 'access_denied'
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
424
            // );
Open commit View diff
424 // );
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
425
            // return false;
Open commit View diff
425 // return false;
same change 1207c6e

[Web] Do not check hostname is is_valid_domain_name

Full commit hash
1207c6e86541e07baae38df2598a7ea7a7998acc
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
426
          // }
Open commit View diff
426 // }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
427
          if ($enc1 != "TLS" && $enc1 != "SSL" && $enc1 != "PLAIN") {
Open commit View diff
427 if ($enc1 != "TLS" && $enc1 != "SSL" && $enc1 != "PLAIN") {
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
428
            $_SESSION['return'][] = array(
Open commit View diff
428 $_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
429
              'type' => 'danger',
Open commit View diff
429 '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
430
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
430 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
435
          if (@preg_match("/" . $exclude . "/", null) === false) {
Open commit View diff
435 if (@preg_match("/" . $exclude . "/", null) === false) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
436
            $_SESSION['return'][] = array(
Open commit View diff
436 $_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
437
              'type' => 'danger',
Open commit View diff
437 '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
438
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
438 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
442
          }
Open commit View diff
442 }
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
443
          $stmt = $pdo->prepare("SELECT '1' FROM `imapsync`
Open commit View diff
443 $stmt = $pdo->prepare("SELECT '1' FROM `imapsync`
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
444
            WHERE `user2` = :user2 AND `user1` = :user1 AND `host1` = :host1");
Open commit View diff
444 WHERE `user2` = :user2 AND `user1` = :user1 AND `host1` = :host1");
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
445
          $stmt->execute(array(':user1' => $user1, ':user2' => $username, ':host1' => $host1));
Open commit View diff
445 $stmt->execute(array(':user1' => $user1, ':user2' => $username, ':host1' => $host1));
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
446
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
446 $num_results = count($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
447
          if ($num_results != 0) {
Open commit View diff
447 if ($num_results != 0) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
448
            $_SESSION['return'][] = array(
Open commit View diff
448 $_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
449
              'type' => 'danger',
Open commit View diff
449 '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
450
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
450 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
451
              'msg' => array('object_exists', htmlspecialchars($host1 . ' / ' . $user1))
Open commit View diff
451 'msg' => array('object_exists', htmlspecialchars($host1 . ' / ' . $user1))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
454
          }
Open commit View diff
454 }
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
455
          $stmt = $pdo->prepare("INSERT INTO `imapsync` (`user2`, `exclude`, `delete1`, `delete2`, `timeout1`, `timeout2`, `automap`, `skipcrossduplicates`, `maxbytespersecond`, `subscribeall`, `dry`, `maxage`, `subfolder2`, `host1`, `authmech1`, `user1`, `password1`, `mins_interval`, `port1`, `enc1`, `delete2duplicates`, `custom_params`, `active`)
Open commit View diff
455 $stmt = $pdo->prepare("INSERT INTO `imapsync` (`user2`, `exclude`, `delete1`, `delete2`, `timeout1`, `timeout2`, `automap`, `skipcrossduplicates`, `maxbytespersecond`, `subscribeall`, `dry`, `maxage`, `subfolder2`, `host1`, `authmech1`, `user1`, `password1`, `mins_interval`, `port1`, `enc1`, `delete2duplicates`, `custom_params`, `active`)
same change 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
456
            VALUES (:user2, :exclude, :delete1, :delete2, :timeout1, :timeout2, :automap, :skipcrossduplicates, :maxbytespersecond, :subscribeall, :dry, :maxage, :subfolder2, :host1, :authmech1, :user1, :password1, :mins_interval, :port1, :enc1, :delete2duplicates, :custom_params, :active)");
Open commit View diff
456 VALUES (:user2, :exclude, :delete1, :delete2, :timeout1, :timeout2, :automap, :skipcrossduplicates, :maxbytespersecond, :subscribeall, :dry, :maxage, :subfolder2, :host1, :authmech1, :user1, :password1, :mins_interval, :port1, :enc1, :delete2duplicates, :custom_params, :active)");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
457
          $stmt->execute(array(
Open commit View diff
457 $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
458
            ':user2' => $username,
Open commit View diff
458 ':user2' => $username,
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
459
            ':custom_params' => $custom_params,
Open commit View diff
459 ':custom_params' => $custom_params,
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
460
            ':exclude' => $exclude,
Open commit View diff
460 ':exclude' => $exclude,
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
461
            ':maxage' => $maxage,
Open commit View diff
461 ':maxage' => $maxage,
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
462
            ':delete1' => $delete1,
Open commit View diff
462 ':delete1' => $delete1,
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
463
            ':delete2' => $delete2,
Open commit View diff
463 ':delete2' => $delete2,
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
464
            ':timeout1' => $timeout1,
Open commit View diff
464 ':timeout1' => $timeout1,
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
465
            ':timeout2' => $timeout2,
Open commit View diff
465 ':timeout2' => $timeout2,
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
466
            ':automap' => $automap,
Open commit View diff
466 ':automap' => $automap,
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
467
            ':skipcrossduplicates' => $skipcrossduplicates,
Open commit View diff
467 ':skipcrossduplicates' => $skipcrossduplicates,
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
468
            ':maxbytespersecond' => $maxbytespersecond,
Open commit View diff
468 ':maxbytespersecond' => $maxbytespersecond,
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
469
            ':subscribeall' => $subscribeall,
Open commit View diff
469 ':subscribeall' => $subscribeall,
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
470
            ':dry' => $dry,
Open commit View diff
470 ':dry' => $dry,
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
471
            ':subfolder2' => $subfolder2,
Open commit View diff
471 ':subfolder2' => $subfolder2,
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
472
            ':host1' => $host1,
Open commit View diff
472 ':host1' => $host1,
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
473
            ':authmech1' => 'PLAIN',
Open commit View diff
473 ':authmech1' => 'PLAIN',
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
474
            ':user1' => $user1,
Open commit View diff
474 ':user1' => $user1,
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
475
            ':password1' => $password1,
Open commit View diff
475 ':password1' => $password1,
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
476
            ':mins_interval' => $mins_interval,
Open commit View diff
476 ':mins_interval' => $mins_interval,
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
477
            ':port1' => $port1,
Open commit View diff
477 ':port1' => $port1,
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
478
            ':enc1' => $enc1,
Open commit View diff
478 ':enc1' => $enc1,
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
479
            ':delete2duplicates' => $delete2duplicates,
Open commit View diff
479 ':delete2duplicates' => $delete2duplicates,
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
480
            ':active' => $active,
Open commit View diff
480 ':active' => $active,
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
481
          ));
Open commit View diff
481 ));
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
482
          $_SESSION['return'][] = array(
Open commit View diff
482 $_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
483
            'type' => 'success',
Open commit View diff
483 '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
484
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
484 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
489
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
489 if ($_SESSION['mailcow_cc_role'] != "admin") {
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
490
            $_SESSION['return'][] = array(
Open commit View diff
490 $_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
491
              'type' => 'danger',
Open commit View diff
491 'type' => 'danger',
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
492
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
492 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
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
493
              'msg' => 'access_denied'
Open commit View diff
493 '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
494
            );
Open commit View diff
494 );
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
495
            return false;
Open commit View diff
495 return false;
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
496
          }
Open commit View diff
496 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
497
          $DOMAIN_DEFAULT_ATTRIBUTES = null;
Open commit View diff
497 $DOMAIN_DEFAULT_ATTRIBUTES = null;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
498
          if ($_data['template']){
Open commit View diff
498 if ($_data['template']){
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
499
            $DOMAIN_DEFAULT_ATTRIBUTES = mailbox('get', 'domain_templates', $_data['template'])['attributes'];
Open commit View diff
499 $DOMAIN_DEFAULT_ATTRIBUTES = mailbox('get', 'domain_templates', $_data['template'])['attributes'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
500
          }
Open commit View diff
500 }
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
501
          if (empty($DOMAIN_DEFAULT_ATTRIBUTES)) {
Open commit View diff
501 if (empty($DOMAIN_DEFAULT_ATTRIBUTES)) {
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
502
            $DOMAIN_DEFAULT_ATTRIBUTES = mailbox('get', 'domain_templates')[0]['attributes'];
Open commit View diff
502 $DOMAIN_DEFAULT_ATTRIBUTES = mailbox('get', 'domain_templates')[0]['attributes'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
503
          }
Open commit View diff
503 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
504
Open commit View diff
504
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
505
          $domain       = idn_to_ascii(strtolower(trim($_data['domain'])), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
505 $domain = idn_to_ascii(strtolower(trim($_data['domain'])), 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
506
          $description  = $_data['description'];
Open commit View diff
506 $description = $_data['description'];
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
507
          if (empty($description)) $description = $domain;
Open commit View diff
507 if (empty($description)) $description = $domain;
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
508
          $tags         = (isset($_data['tags'])) ? (array)$_data['tags'] : $DOMAIN_DEFAULT_ATTRIBUTES['tags'];
Open commit View diff
508 $tags = (isset($_data['tags'])) ? (array)$_data['tags'] : $DOMAIN_DEFAULT_ATTRIBUTES['tags'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
509
          $aliases      = (isset($_data['aliases'])) ? (int)$_data['aliases'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_num_aliases_for_domain'];
Open commit View diff
509 $aliases = (isset($_data['aliases'])) ? (int)$_data['aliases'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_num_aliases_for_domain'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
510
          $mailboxes    = (isset($_data['mailboxes'])) ? (int)$_data['mailboxes'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_num_mboxes_for_domain'];
Open commit View diff
510 $mailboxes = (isset($_data['mailboxes'])) ? (int)$_data['mailboxes'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_num_mboxes_for_domain'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
511
          $defquota     = (isset($_data['defquota'])) ? (int)$_data['defquota'] : $DOMAIN_DEFAULT_ATTRIBUTES['def_quota_for_mbox'] / 1024 ** 2;
Open commit View diff
511 $defquota = (isset($_data['defquota'])) ? (int)$_data['defquota'] : $DOMAIN_DEFAULT_ATTRIBUTES['def_quota_for_mbox'] / 1024 ** 2;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
512
          $maxquota     = (isset($_data['maxquota'])) ? (int)$_data['maxquota'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_quota_for_mbox'] / 1024 ** 2;
Open commit View diff
512 $maxquota = (isset($_data['maxquota'])) ? (int)$_data['maxquota'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_quota_for_mbox'] / 1024 ** 2;
andryyy over 5 years ago 6b3ea28

[Web] Minor fixes

Full commit hash
6b3ea2850162eab56040e6adf3e57a188d038c7a
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
513
          $restart_sogo = (int)$_data['restart_sogo'];
Open commit View diff
513 $restart_sogo = (int)$_data['restart_sogo'];
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
514
          $quota        = (isset($_data['quota'])) ? (int)$_data['quota'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_quota_for_domain'] / 1024 ** 2;
Open commit View diff
514 $quota = (isset($_data['quota'])) ? (int)$_data['quota'] : $DOMAIN_DEFAULT_ATTRIBUTES['max_quota_for_domain'] / 1024 ** 2;
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
515
          if ($defquota > $maxquota) {
Open commit View diff
515 if ($defquota > $maxquota) {
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
516
            $_SESSION['return'][] = array(
Open commit View diff
516 $_SESSION['return'][] = array(
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
517
                'type' => 'danger',
Open commit View diff
517 'type' => 'danger',
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
518
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
518 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
519
                'msg' => 'mailbox_defquota_exceeds_mailbox_maxquota'
Open commit View diff
519 'msg' => 'mailbox_defquota_exceeds_mailbox_maxquota'
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
520
            );
Open commit View diff
520 );
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
521
            return false;
Open commit View diff
521 return false;
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
522
          }
Open commit View diff
522 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
523
          if ($maxquota > $quota) {
Open commit View diff
523 if ($maxquota > $quota) {
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
524
            $_SESSION['return'][] = array(
Open commit View diff
524 $_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
525
              'type' => 'danger',
Open commit View diff
525 '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
526
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
526 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
530
          }
Open commit View diff
530 }
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
531
          if ($defquota == "0" || empty($defquota)) {
Open commit View diff
531 if ($defquota == "0" || empty($defquota)) {
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
532
            $_SESSION['return'][] = array(
Open commit View diff
532 $_SESSION['return'][] = array(
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
533
                'type' => 'danger',
Open commit View diff
533 'type' => 'danger',
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
534
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
534 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
535
                'msg' => 'defquota_empty'
Open commit View diff
535 'msg' => 'defquota_empty'
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
536
            );
Open commit View diff
536 );
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
537
            return false;
Open commit View diff
537 return false;
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
538
          }
Open commit View diff
538 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
539
          if ($maxquota == "0" || empty($maxquota)) {
Open commit View diff
539 if ($maxquota == "0" || empty($maxquota)) {
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
540
            $_SESSION['return'][] = array(
Open commit View diff
540 $_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
541
              'type' => 'danger',
Open commit View diff
541 '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
542
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
542 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
546
          }
Open commit View diff
546 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
547
          $active = (isset($_data['active'])) ? intval($_data['active']) : $DOMAIN_DEFAULT_ATTRIBUTES['active'];
Open commit View diff
547 $active = (isset($_data['active'])) ? intval($_data['active']) : $DOMAIN_DEFAULT_ATTRIBUTES['active'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
548
          $relay_all_recipients = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : $DOMAIN_DEFAULT_ATTRIBUTES['relay_all_recipients'];
Open commit View diff
548 $relay_all_recipients = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : $DOMAIN_DEFAULT_ATTRIBUTES['relay_all_recipients'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
549
          $relay_unknown_only = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : $DOMAIN_DEFAULT_ATTRIBUTES['relay_unknown_only'];
Open commit View diff
549 $relay_unknown_only = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : $DOMAIN_DEFAULT_ATTRIBUTES['relay_unknown_only'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
550
          $backupmx = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : $DOMAIN_DEFAULT_ATTRIBUTES['backupmx'];
Open commit View diff
550 $backupmx = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : $DOMAIN_DEFAULT_ATTRIBUTES['backupmx'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
551
          $gal = (isset($_data['gal'])) ? intval($_data['gal']) : $DOMAIN_DEFAULT_ATTRIBUTES['gal'];
Open commit View diff
551 $gal = (isset($_data['gal'])) ? intval($_data['gal']) : $DOMAIN_DEFAULT_ATTRIBUTES['gal'];
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
552
          if ($relay_all_recipients == 1) {
Open commit View diff
552 if ($relay_all_recipients == 1) {
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
553
            $backupmx = '1';
Open commit View diff
553 $backupmx = '1';
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
554
          }
Open commit View diff
554 }
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
555
          if ($relay_unknown_only == 1) {
Open commit View diff
555 if ($relay_unknown_only == 1) {
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
556
            $backupmx = 1;
Open commit View diff
556 $backupmx = 1;
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
557
            $relay_all_recipients = 1;
Open commit View diff
557 $relay_all_recipients = 1;
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
558
          }
Open commit View diff
558 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
559
          if (!is_valid_domain_name($domain)) {
Open commit View diff
559 if (!is_valid_domain_name($domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
560
            $_SESSION['return'][] = array(
Open commit View diff
560 $_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
561
              'type' => 'danger',
Open commit View diff
561 '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
562
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
562 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
563
              'msg' => 'domain_invalid'
Open commit View diff
563 'msg' => 'domain_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
564
            );
Open commit View diff
564 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
567
          foreach (array($quota, $maxquota, $mailboxes, $aliases) as $data) {
Open commit View diff
567 foreach (array($quota, $maxquota, $mailboxes, $aliases) as $data) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
568
            if (!is_numeric($data)) {
Open commit View diff
568 if (!is_numeric($data)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
569
              $_SESSION['return'][] = array(
Open commit View diff
569 $_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
570
                'type' => 'danger',
Open commit View diff
570 '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
571
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
571 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
572
                'msg' => array('object_is_not_numeric', htmlspecialchars($data))
Open commit View diff
572 'msg' => array('object_is_not_numeric', htmlspecialchars($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
573
              );
Open commit View diff
573 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
576
          }
Open commit View diff
576 }
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
577
          $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
577 $stmt = $pdo->prepare("SELECT `domain` FROM `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
578
            WHERE `domain` = :domain");
Open commit View diff
578 WHERE `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
579
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
579 $stmt->execute(array(':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
580
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
580 $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
581
          $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain`
Open commit View diff
581 $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_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
582
            WHERE `alias_domain` = :domain");
Open commit View diff
582 WHERE `alias_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
583
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
583 $stmt->execute(array(':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
584
          $num_results = $num_results + count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
584 $num_results = $num_results + count($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
585
          if ($num_results != 0) {
Open commit View diff
585 if ($num_results != 0) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
586
            $_SESSION['return'][] = array(
Open commit View diff
586 $_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
587
              'type' => 'danger',
Open commit View diff
587 '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
588
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
588 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
592
          }
Open commit View diff
592 }
André almost 8 years ago 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
593
          if ($domain == getenv('MAILCOW_HOSTNAME')) {
Open commit View diff
593 if ($domain == getenv('MAILCOW_HOSTNAME')) {
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
594
            $_SESSION['return'][] = array(
Open commit View diff
594 $_SESSION['return'][] = array(
andryyy about 8 years ago e69b6db

[Web] Do not allow to create a domain where domain = mailcow_hostname

Full commit hash
e69b6db87722eece2aa49b7cf8aeed3f01e83428
Author
andryyy <[email protected]>
Date
about 8 years ago
Selected line
595
              'type' => 'danger',
Open commit View diff
595 '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
596
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
596 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Do not allow to create a domain where domain = mailcow_hostname

Full commit hash
e69b6db87722eece2aa49b7cf8aeed3f01e83428
Author
andryyy <[email protected]>
Date
about 8 years ago
Selected line
598
            );
Open commit View diff
598 );
same change e69b6db

[Web] Do not allow to create a domain where domain = mailcow_hostname

Full commit hash
e69b6db87722eece2aa49b7cf8aeed3f01e83428
Author
andryyy <[email protected]>
Date
about 8 years ago
Selected line
599
            return false;
Open commit View diff
599 return false;
same change e69b6db

[Web] Do not allow to create a domain where domain = mailcow_hostname

Full commit hash
e69b6db87722eece2aa49b7cf8aeed3f01e83428
Author
andryyy <[email protected]>
Date
about 8 years ago
Selected line
600
          }
Open commit View diff
600 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
601
Open commit View diff
601
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
602
          $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `send_as` LIKE :domain");
Open commit View diff
602 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `send_as` LIKE :domain");
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
603
          $stmt->execute(array(
Open commit View diff
603 $stmt->execute(array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
604
            ':domain' => '%@' . $domain
Open commit View diff
604 ':domain' => '%@' . $domain
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
605
          ));
Open commit View diff
605 ));
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
606
          // save domain
Open commit View diff
606 // save domain
andryyy about 5 years ago 8b08d09

[Web] Remove XMPP options

Full commit hash
8b08d09ca20402f06ca0c8a884cd58d4fc72fec0
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
607
          $stmt = $pdo->prepare("INSERT INTO `domain` (`domain`, `description`, `aliases`, `mailboxes`, `defquota`, `maxquota`, `quota`, `backupmx`, `gal`, `active`, `relay_unknown_only`, `relay_all_recipients`)
Open commit View diff
607 $stmt = $pdo->prepare("INSERT INTO `domain` (`domain`, `description`, `aliases`, `mailboxes`, `defquota`, `maxquota`, `quota`, `backupmx`, `gal`, `active`, `relay_unknown_only`, `relay_all_recipients`)
same change 8b08d09

[Web] Remove XMPP options

Full commit hash
8b08d09ca20402f06ca0c8a884cd58d4fc72fec0
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
608
            VALUES (:domain, :description, :aliases, :mailboxes, :defquota, :maxquota, :quota, :backupmx, :gal, :active, :relay_unknown_only, :relay_all_recipients)");
Open commit View diff
608 VALUES (:domain, :description, :aliases, :mailboxes, :defquota, :maxquota, :quota, :backupmx, :gal, :active, :relay_unknown_only, :relay_all_recipients)");
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
609
          $stmt->execute(array(
Open commit View diff
609 $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
610
            ':domain' => $domain,
Open commit View diff
610 ':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
611
            ':description' => $description,
Open commit View diff
611 ':description' => $description,
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
612
            ':aliases' => $aliases,
Open commit View diff
612 ':aliases' => $aliases,
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
613
            ':mailboxes' => $mailboxes,
Open commit View diff
613 ':mailboxes' => $mailboxes,
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
614
            ':defquota' => $defquota,
Open commit View diff
614 ':defquota' => $defquota,
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
615
            ':maxquota' => $maxquota,
Open commit View diff
615 ':maxquota' => $maxquota,
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
616
            ':quota' => $quota,
Open commit View diff
616 ':quota' => $quota,
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
617
            ':backupmx' => $backupmx,
Open commit View diff
617 ':backupmx' => $backupmx,
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
618
            ':gal' => $gal,
Open commit View diff
618 ':gal' => $gal,
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
619
            ':active' => $active,
Open commit View diff
619 ':active' => $active,
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
620
            ':relay_unknown_only' => $relay_unknown_only,
Open commit View diff
620 ':relay_unknown_only' => $relay_unknown_only,
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
621
            ':relay_all_recipients' => $relay_all_recipients
Open commit View diff
621 ':relay_all_recipients' => $relay_all_recipients
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
622
          ));
Open commit View diff
622 ));
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
623
          // save tags
Open commit View diff
623 // save tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
624
          foreach($tags as $index => $tag){
Open commit View diff
624 foreach($tags as $index => $tag){
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
625
            if (empty($tag)) continue;
Open commit View diff
625 if (empty($tag)) continue;
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
626
            if ($index > $GLOBALS['TAGGING_LIMIT']) {
Open commit View diff
626 if ($index > $GLOBALS['TAGGING_LIMIT']) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
627
              $_SESSION['return'][] = array(
Open commit View diff
627 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
628
                'type' => 'warning',
Open commit View diff
628 'type' => 'warning',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
629
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
629 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
630
                'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
Open commit View diff
630 'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
631
              );
Open commit View diff
631 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
632
              break;
Open commit View diff
632 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
633
            }
Open commit View diff
633 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
634
            $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
Open commit View diff
634 $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
635
            $stmt->execute(array(
Open commit View diff
635 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
636
              ':domain' => $domain,
Open commit View diff
636 ':domain' => $domain,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
637
              ':tag_name' => $tag,
Open commit View diff
637 ':tag_name' => $tag,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
638
            ));
Open commit View diff
638 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
639
          }
Open commit View diff
639 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
640
Open commit View diff
640
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
641
          try {
Open commit View diff
641 try {
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
642
            $redis->hSet('DOMAIN_MAP', $domain, 1);
Open commit View diff
642 $redis->hSet('DOMAIN_MAP', $domain, 1);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
643
          }
Open commit View diff
643 }
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
644
          catch (RedisException $e) {
Open commit View diff
644 catch (RedisException $e) {
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
645
            $_SESSION['return'][] = array(
Open commit View diff
645 $_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
646
              'type' => 'danger',
Open commit View diff
646 '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
647
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
647 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
648
              'msg' => array('redis_error', $e)
Open commit View diff
648 'msg' => array('redis_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
649
            );
Open commit View diff
649 );
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
651
          }
Open commit View diff
651 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
652
          $_data['rl_value'] = (isset($_data['rl_value'])) ? intval($_data['rl_value']) : $DOMAIN_DEFAULT_ATTRIBUTES['rl_value'];
Open commit View diff
652 $_data['rl_value'] = (isset($_data['rl_value'])) ? intval($_data['rl_value']) : $DOMAIN_DEFAULT_ATTRIBUTES['rl_value'];
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
653
          $_data['rl_frame'] = (isset($_data['rl_frame'])) ? $_data['rl_frame'] : $DOMAIN_DEFAULT_ATTRIBUTES['rl_frame'];
Open commit View diff
653 $_data['rl_frame'] = (isset($_data['rl_frame'])) ? $_data['rl_frame'] : $DOMAIN_DEFAULT_ATTRIBUTES['rl_frame'];
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
654
          if (!empty($_data['rl_value']) && !empty($_data['rl_frame'])){
Open commit View diff
654 if (!empty($_data['rl_value']) && !empty($_data['rl_frame'])){
André almost 8 years ago 1dea230

[Web] Fix setting a rate limit when adding a domain

Full commit hash
1dea230b7b3912f9b0405a55bc4ac00d7a447dfe
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
655
            ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
Open commit View diff
655 ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $domain));
André almost 8 years ago d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
656
          }
Open commit View diff
656 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
657
          $_data['key_size'] = (isset($_data['key_size'])) ? intval($_data['key_size']) : $DOMAIN_DEFAULT_ATTRIBUTES['key_size'];
Open commit View diff
657 $_data['key_size'] = (isset($_data['key_size'])) ? intval($_data['key_size']) : $DOMAIN_DEFAULT_ATTRIBUTES['key_size'];
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
658
          $_data['dkim_selector'] = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : $DOMAIN_DEFAULT_ATTRIBUTES['dkim_selector'];
Open commit View diff
658 $_data['dkim_selector'] = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : $DOMAIN_DEFAULT_ATTRIBUTES['dkim_selector'];
Kristian Feldsam almost 5 years ago c1dcb52

[Web] Add DKIM key when adding a domain or alias domain (#4254)

Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
659
          if (!empty($_data['key_size']) && !empty($_data['dkim_selector'])) {
Open commit View diff
659 if (!empty($_data['key_size']) && !empty($_data['dkim_selector'])) {
andryyy about 4 years ago 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
660
            if (!empty($redis->hGet('DKIM_SELECTORS', $domain))) {
Open commit View diff
660 if (!empty($redis->hGet('DKIM_SELECTORS', $domain))) {
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
661
              $_SESSION['return'][] = array(
Open commit View diff
661 $_SESSION['return'][] = array(
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
662
                'type' => 'success',
Open commit View diff
662 'type' => 'success',
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
663
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
663 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
664
                'msg' => 'domain_add_dkim_available'
Open commit View diff
664 'msg' => 'domain_add_dkim_available'
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
665
              );
Open commit View diff
665 );
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
666
            }
Open commit View diff
666 }
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
667
            else {
Open commit View diff
667 else {
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
668
              dkim('add', array('key_size' => $_data['key_size'], 'dkim_selector' => $_data['dkim_selector'], 'domains' => $domain));
Open commit View diff
668 dkim('add', array('key_size' => $_data['key_size'], 'dkim_selector' => $_data['dkim_selector'], 'domains' => $domain));
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
669
            }
Open commit View diff
669 }
Kristian Feldsam almost 5 years ago c1dcb52

[Web] Add DKIM key when adding a domain or alias domain (#4254)

Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
670
          }
Open commit View diff
670 }
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
671
          if (!empty($restart_sogo)) {
Open commit View diff
671 if (!empty($restart_sogo)) {
andryyy over 6 years ago aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
672
            $restart_response = json_decode(docker('post', 'sogo-mailcow', 'restart'), true);
Open commit View diff
672 $restart_response = json_decode(docker('post', 'sogo-mailcow', 'restart'), true);
same change aca16f6

[Web] Fix typo and missing Dovecot restart function (fixes #3466)

Full commit hash
aca16f68d1d3968549571a716ef528331a3fdac0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
673
            if ($restart_response['type'] == "success") {
Open commit View diff
673 if ($restart_response['type'] == "success") {
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
674
              $_SESSION['return'][] = array(
Open commit View diff
674 $_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
675
                'type' => 'success',
Open commit View diff
675 '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
676
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
676 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
677
                'msg' => array('domain_added', htmlspecialchars($domain))
Open commit View diff
677 'msg' => array('domain_added', htmlspecialchars($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
678
              );
Open commit View diff
678 );
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
679
              return true;
Open commit View diff
679 return true;
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
680
            }
Open commit View diff
680 }
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
681
            else {
Open commit View diff
681 else {
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
682
              $_SESSION['return'][] = array(
Open commit View diff
682 $_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
683
                'type' => 'warning',
Open commit View diff
683 'type' => 'warning',
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
684
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
684 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
685
                'msg' => 'domain_added_sogo_failed'
Open commit View diff
685 'msg' => 'domain_added_sogo_failed'
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
686
              );
Open commit View diff
686 );
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
687
              return false;
Open commit View diff
687 return false;
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
688
            }
Open commit View diff
688 }
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
689
          }
Open commit View diff
689 }
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
690
          $_SESSION['return'][] = array(
Open commit View diff
690 $_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
691
            'type' => 'success',
Open commit View diff
691 '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
692
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
692 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
693
            'msg' => array('domain_added', htmlspecialchars($domain))
Open commit View diff
693 'msg' => array('domain_added', htmlspecialchars($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
694
          );
Open commit View diff
694 );
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
695
          return true;
Open commit View diff
695 return true;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
697
        case 'alias':
Open commit View diff
697 case 'alias':
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
698
          $addresses       = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['address']));
Open commit View diff
698 $addresses = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['address']));
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
699
          $gotos           = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['goto']));
Open commit View diff
699 $gotos = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['goto']));
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
700
          $internal        = intval($_data['internal']);
Open commit View diff
700 $internal = intval($_data['internal']);
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
701
          $active          = intval($_data['active']);
Open commit View diff
701 $active = intval($_data['active']);
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
702
          $sender_allowed  = intval($_data['sender_allowed']);
Open commit View diff
702 $sender_allowed = intval($_data['sender_allowed']);
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
703
          $sogo_visible    = intval($_data['sogo_visible']);
Open commit View diff
703 $sogo_visible = intval($_data['sogo_visible']);
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
704
          $goto_null       = intval($_data['goto_null']);
Open commit View diff
704 $goto_null = intval($_data['goto_null']);
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
705
          $goto_spam       = intval($_data['goto_spam']);
Open commit View diff
705 $goto_spam = intval($_data['goto_spam']);
same change f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
706
          $goto_ham        = intval($_data['goto_ham']);
Open commit View diff
706 $goto_ham = intval($_data['goto_ham']);
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
707
          $private_comment = $_data['private_comment'];
Open commit View diff
707 $private_comment = $_data['private_comment'];
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
708
          $public_comment  = $_data['public_comment'];
Open commit View diff
708 $public_comment = $_data['public_comment'];
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
709
          if (strlen($private_comment) > 160 | strlen($public_comment) > 160){
Open commit View diff
709 if (strlen($private_comment) > 160 | strlen($public_comment) > 160){
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
710
            $_SESSION['return'][] = array(
Open commit View diff
710 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
711
              'type' => 'danger',
Open commit View diff
711 'type' => 'danger',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
712
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
712 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
713
              'msg' => 'comment_too_long'
Open commit View diff
713 'msg' => 'comment_too_long'
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
714
            );
Open commit View diff
714 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
715
            return false;
Open commit View diff
715 return false;
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
716
          }
Open commit View diff
716 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
717
          if (empty($addresses[0])) {
Open commit View diff
717 if (empty($addresses[0])) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
718
            $_SESSION['return'][] = array(
Open commit View diff
718 $_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
719
              'type' => 'danger',
Open commit View diff
719 '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
720
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
720 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
724
          }
Open commit View diff
724 }
André almost 8 years ago 241c6f0

[Web] Fix goto check for alias

Full commit hash
241c6f0411736290933e8f70fe20b8c2579b3528
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
725
          if (empty($gotos[0]) && ($goto_null + $goto_spam + $goto_ham == 0)) {
Open commit View diff
725 if (empty($gotos[0]) && ($goto_null + $goto_spam + $goto_ham == 0)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
726
            $_SESSION['return'][] = array(
Open commit View diff
726 $_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
727
              'type' => 'danger',
Open commit View diff
727 '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
728
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
728 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
732
          }
Open commit View diff
732 }
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
733
          if ($goto_null == "1") {
Open commit View diff
733 if ($goto_null == "1") {
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
734
            $goto = "null@localhost";
Open commit View diff
734 $goto = "null@localhost";
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
735
          }
Open commit View diff
735 }
André almost 8 years ago 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
736
          elseif ($goto_spam == "1") {
Open commit View diff
736 elseif ($goto_spam == "1") {
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
737
            $goto = "spam@localhost";
Open commit View diff
737 $goto = "spam@localhost";
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
738
          }
Open commit View diff
738 }
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
739
          elseif ($goto_ham == "1") {
Open commit View diff
739 elseif ($goto_ham == "1") {
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
740
            $goto = "ham@localhost";
Open commit View diff
740 $goto = "ham@localhost";
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
741
          }
Open commit View diff
741 }
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
742
          else {
Open commit View diff
742 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
743
            foreach ($gotos as $i => &$goto) {
Open commit View diff
743 foreach ($gotos as $i => &$goto) {
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
744
              if (empty($goto)) {
Open commit View diff
744 if (empty($goto)) {
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
745
                continue;
Open commit View diff
745 continue;
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
746
              }
Open commit View diff
746 }
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
747
              $goto_domain = idn_to_ascii(substr(strstr($goto, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
747 $goto_domain = idn_to_ascii(substr(strstr($goto, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
748
              $goto_local_part = strstr($goto, '@', true);
Open commit View diff
748 $goto_local_part = strstr($goto, '@', true);
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
749
              $goto = $goto_local_part.'@'.$goto_domain;
Open commit View diff
749 $goto = $goto_local_part.'@'.$goto_domain;
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
750
              $stmt = $pdo->prepare("SELECT `username` FROM `mailbox`
Open commit View diff
750 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox`
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
751
                WHERE `kind` REGEXP 'location|thing|group'
Open commit View diff
751 WHERE `kind` REGEXP 'location|thing|group'
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
752
                  AND `username`= :goto");
Open commit View diff
752 AND `username`= :goto");
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
753
              $stmt->execute(array(':goto' => $goto));
Open commit View diff
753 $stmt->execute(array(':goto' => $goto));
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
754
              $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
754 $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
755
              if ($num_results != 0) {
Open commit View diff
755 if ($num_results != 0) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
756
                $_SESSION['return'][] = array(
Open commit View diff
756 $_SESSION['return'][] = array(
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
757
                  'type' => 'danger',
Open commit View diff
757 '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
758
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
758 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
759
                  'msg' => array('goto_invalid', htmlspecialchars($goto))
Open commit View diff
759 'msg' => array('goto_invalid', htmlspecialchars($goto))
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
760
                );
Open commit View diff
760 );
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
761
                unset($gotos[$i]);
Open commit View diff
761 unset($gotos[$i]);
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
762
                continue;
Open commit View diff
762 continue;
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
763
              }
Open commit View diff
763 }
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
764
              if (!filter_var($goto, FILTER_VALIDATE_EMAIL) === true) {
Open commit View diff
764 if (!filter_var($goto, FILTER_VALIDATE_EMAIL) === true) {
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
765
                $_SESSION['return'][] = array(
Open commit View diff
765 $_SESSION['return'][] = array(
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
766
                  'type' => 'danger',
Open commit View diff
766 '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
767
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
767 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
768
                  'msg' => array('goto_invalid', htmlspecialchars($goto))
Open commit View diff
768 'msg' => array('goto_invalid', htmlspecialchars($goto))
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
769
                );
Open commit View diff
769 );
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
770
                unset($gotos[$i]);
Open commit View diff
770 unset($gotos[$i]);
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
771
                continue;
Open commit View diff
771 continue;
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
772
              }
Open commit View diff
772 }
andryyy about 9 years ago cbfe5e8

Fix error when adding alias with multiple alias addresses

Full commit hash
cbfe5e879e20d7251a68a689f50d90d682c884fa
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
773
            }
Open commit View diff
773 }
andryyy about 5 years ago e6d5516

[Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses

Full commit hash
e6d5516c7f0c441b00de7e5236d89ad18c976191
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
774
            $gotos = array_unique($gotos);
Open commit View diff
774 $gotos = array_unique($gotos);
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
775
            $gotos = array_filter($gotos);
Open commit View diff
775 $gotos = array_filter($gotos);
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
776
            if (empty($gotos)) { return false; }
Open commit View diff
776 if (empty($gotos)) { return false; }
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
777
            $goto = implode(",", (array)$gotos);
Open commit View diff
777 $goto = implode(",", (array)$gotos);
andryyy about 9 years ago cbfe5e8

Fix error when adding alias with multiple alias addresses

Full commit hash
cbfe5e879e20d7251a68a689f50d90d682c884fa
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
778
          }
Open commit View diff
778 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
782
            }
Open commit View diff
782 }
andryyy about 9 years ago cbfe5e8

Fix error when adding alias with multiple alias addresses

Full commit hash
cbfe5e879e20d7251a68a689f50d90d682c884fa
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
783
            if (in_array($address, $gotos)) {
Open commit View diff
783 if (in_array($address, $gotos)) {
same change cbfe5e8

Fix error when adding alias with multiple alias addresses

Full commit hash
cbfe5e879e20d7251a68a689f50d90d682c884fa
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
784
              continue;
Open commit View diff
784 continue;
same change cbfe5e8

Fix error when adding alias with multiple alias addresses

Full commit hash
cbfe5e879e20d7251a68a689f50d90d682c884fa
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
785
            }
Open commit View diff
785 }
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
786
            $domain       = idn_to_ascii(substr(strstr($address, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
786 $domain = idn_to_ascii(substr(strstr($address, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
André Peters over 8 years ago 2bdc3f9

[Web] Database schema test

Full commit hash
2bdc3f94c0f57f7edbaba8b29e784da49ce892f0
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
787
            $local_part   = strstr($address, '@', true);
Open commit View diff
787 $local_part = strstr($address, '@', true);
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
788
            $address      = $local_part.'@'.$domain;
Open commit View diff
788 $address = $local_part.'@'.$domain;
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
789
            $domaindata = mailbox('get', 'domain_details', $domain);
Open commit View diff
789 $domaindata = mailbox('get', 'domain_details', $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
790
            if (is_array($domaindata) && $domaindata['aliases_left'] == "0") {
Open commit View diff
790 if (is_array($domaindata) && $domaindata['aliases_left'] == "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
791
              $_SESSION['return'][] = array(
Open commit View diff
791 $_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
792
                'type' => 'danger',
Open commit View diff
792 'type' => 'danger',
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
793
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
793 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
794
                'msg' => 'max_alias_exceeded'
Open commit View diff
794 'msg' => 'max_alias_exceeded'
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
795
              );
Open commit View diff
795 );
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
796
              return false;
Open commit View diff
796 return false;
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
797
            }
Open commit View diff
797 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
798
            $stmt = $pdo->prepare("SELECT `address` FROM `alias`
Open commit View diff
798 $stmt = $pdo->prepare("SELECT `address` FROM `alias`
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
799
              WHERE `address`= :address OR `address` IN (
Open commit View diff
799 WHERE `address`= :address OR `address` IN (
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
800
                SELECT `username` FROM `mailbox`, `alias_domain`
Open commit View diff
800 SELECT `username` FROM `mailbox`, `alias_domain`
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
801
                  WHERE (
Open commit View diff
801 WHERE (
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
802
                    `alias_domain`.`alias_domain` = :address_d
Open commit View diff
802 `alias_domain`.`alias_domain` = :address_d
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
803
                      AND `mailbox`.`username` = CONCAT(:address_l, '@', alias_domain.target_domain)))");
Open commit View diff
803 AND `mailbox`.`username` = CONCAT(:address_l, '@', alias_domain.target_domain)))");
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
804
            $stmt->execute(array(
Open commit View diff
804 $stmt->execute(array(
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
805
              ':address' => $address,
Open commit View diff
805 ':address' => $address,
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
806
              ':address_l' => $local_part,
Open commit View diff
806 ':address_l' => $local_part,
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
807
              ':address_d' => $domain
Open commit View diff
807 ':address_d' => $domain
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
808
            ));
Open commit View diff
808 ));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
809
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
809 $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
810
            if ($num_results != 0) {
Open commit View diff
810 if ($num_results != 0) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
811
              $_SESSION['return'][] = array(
Open commit View diff
811 $_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
812
                'type' => 'danger',
Open commit View diff
812 '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
813
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
813 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
815
              );
Open commit View diff
815 );
andryyy over 7 years ago d8dbcfa

[Web] Continue when a check in add_alias fails

Full commit hash
d8dbcfac928825bcaad4325b898c0c32d1bf05c2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
816
              continue;
Open commit View diff
816 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
817
            }
Open commit View diff
817 }
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
818
            $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
818 $stmt = $pdo->prepare("SELECT `domain` FROM `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
819
              WHERE `domain`= :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2)");
Open commit View diff
819 WHERE `domain`= :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2)");
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
820
            $stmt->execute(array(':domain1' => $domain, ':domain2' => $domain));
Open commit View diff
820 $stmt->execute(array(':domain1' => $domain, ':domain2' => $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
821
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
821 $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
822
            if ($num_results == 0) {
Open commit View diff
822 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
823
              $_SESSION['return'][] = array(
Open commit View diff
823 $_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
824
                'type' => 'danger',
Open commit View diff
824 '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
825
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
825 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
826
                'msg' => array('domain_not_found', htmlspecialchars($domain))
Open commit View diff
826 'msg' => array('domain_not_found', htmlspecialchars($domain))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
827
              );
Open commit View diff
827 );
andryyy over 7 years ago d8dbcfa

[Web] Continue when a check in add_alias fails

Full commit hash
d8dbcfac928825bcaad4325b898c0c32d1bf05c2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
828
              continue;
Open commit View diff
828 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
829
            }
Open commit View diff
829 }
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
830
            $stmt = $pdo->prepare("SELECT `address` FROM `spamalias`
Open commit View diff
830 $stmt = $pdo->prepare("SELECT `address` FROM `spamalias`
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
831
              WHERE `address`= :address");
Open commit View diff
831 WHERE `address`= :address");
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
832
            $stmt->execute(array(':address' => $address));
Open commit View diff
832 $stmt->execute(array(':address' => $address));
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
833
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
833 $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
834
            if ($num_results != 0) {
Open commit View diff
834 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
835
              $_SESSION['return'][] = array(
Open commit View diff
835 $_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
836
                'type' => 'danger',
Open commit View diff
836 '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
837
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
837 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
838
                'msg' => array('is_spam_alias', htmlspecialchars($address))
Open commit View diff
838 'msg' => array('is_spam_alias', htmlspecialchars($address))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
839
              );
Open commit View diff
839 );
andryyy over 7 years ago d8dbcfa

[Web] Continue when a check in add_alias fails

Full commit hash
d8dbcfac928825bcaad4325b898c0c32d1bf05c2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
840
              continue;
Open commit View diff
840 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
841
            }
Open commit View diff
841 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
842
            if ((!filter_var($address, FILTER_VALIDATE_EMAIL) === true) && !empty($local_part)) {
Open commit View diff
842 if ((!filter_var($address, FILTER_VALIDATE_EMAIL) === true) && !empty($local_part)) {
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
843
              $_SESSION['return'][] = array(
Open commit View diff
843 $_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
844
                'type' => 'danger',
Open commit View diff
844 '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
845
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
845 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 6 years ago f2ae0db

[Web] Minor fixes, some style adjustments

Full commit hash
f2ae0db9a2183d0da4657922fa1387efac8cdebd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
846
                'msg' => array('alias_invalid', $address)
Open commit View diff
846 'msg' => array('alias_invalid', $address)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
847
              );
Open commit View diff
847 );
andryyy over 7 years ago d8dbcfa

[Web] Continue when a check in add_alias fails

Full commit hash
d8dbcfac928825bcaad4325b898c0c32d1bf05c2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
848
              continue;
Open commit View diff
848 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
849
            }
Open commit View diff
849 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
850
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
850 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
851
              $_SESSION['return'][] = array(
Open commit View diff
851 $_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
852
                'type' => 'danger',
Open commit View diff
852 '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
853
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
853 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
854
                'msg' => 'access_denied'
Open commit View diff
854 '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
855
              );
Open commit View diff
855 );
andryyy over 7 years ago d8dbcfa

[Web] Continue when a check in add_alias fails

Full commit hash
d8dbcfac928825bcaad4325b898c0c32d1bf05c2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
856
              continue;
Open commit View diff
856 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
857
            }
Open commit View diff
857 }
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
858
            $stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `public_comment`, `private_comment`, `goto`, `domain`, `sogo_visible`, `internal`, `sender_allowed`, `active`)
Open commit View diff
858 $stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `public_comment`, `private_comment`, `goto`, `domain`, `sogo_visible`, `internal`, `sender_allowed`, `active`)
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
859
              VALUES (:address, :public_comment, :private_comment, :goto, :domain, :sogo_visible, :internal, :sender_allowed, :active)");
Open commit View diff
859 VALUES (:address, :public_comment, :private_comment, :goto, :domain, :sogo_visible, :internal, :sender_allowed, :active)");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
860
            if (!filter_var($address, FILTER_VALIDATE_EMAIL) === true) {
Open commit View diff
860 if (!filter_var($address, FILTER_VALIDATE_EMAIL) === true) {
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
861
              $stmt->execute(array(
Open commit View diff
861 $stmt->execute(array(
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
862
                ':address' => '@'.$domain,
Open commit View diff
862 ':address' => '@'.$domain,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
863
                ':public_comment' => $public_comment,
Open commit View diff
863 ':public_comment' => $public_comment,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
864
                ':private_comment' => $private_comment,
Open commit View diff
864 ':private_comment' => $private_comment,
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
865
                ':address' => '@'.$domain,
Open commit View diff
865 ':address' => '@'.$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
866
                ':goto' => $goto,
Open commit View diff
866 ':goto' => $goto,
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
867
                ':domain' => $domain,
Open commit View diff
867 ':domain' => $domain,
andryyy almost 7 years ago c3be045

[Web] mailbox.php uses dropups

Full commit hash
c3be04560b9026770a27233a73b95c44b6920a15
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
868
                ':sogo_visible' => $sogo_visible,
Open commit View diff
868 ':sogo_visible' => $sogo_visible,
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
869
                ':internal' => $internal,
Open commit View diff
869 ':internal' => $internal,
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
870
                ':sender_allowed' => $sender_allowed,
Open commit View diff
870 ':sender_allowed' => $sender_allowed,
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
871
                ':active' => $active
Open commit View diff
871 ':active' => $active
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
872
              ));
Open commit View diff
872 ));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
873
            }
Open commit View diff
873 }
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
874
            else {
Open commit View diff
874 else {
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
875
              $stmt->execute(array(
Open commit View diff
875 $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
876
                ':address' => $address,
Open commit View diff
876 ':address' => $address,
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
877
                ':public_comment' => $public_comment,
Open commit View diff
877 ':public_comment' => $public_comment,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
878
                ':private_comment' => $private_comment,
Open commit View diff
878 ':private_comment' => $private_comment,
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
879
                ':goto' => $goto,
Open commit View diff
879 ':goto' => $goto,
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
880
                ':domain' => $domain,
Open commit View diff
880 ':domain' => $domain,
andryyy almost 7 years ago c3be045

[Web] mailbox.php uses dropups

Full commit hash
c3be04560b9026770a27233a73b95c44b6920a15
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
881
                ':sogo_visible' => $sogo_visible,
Open commit View diff
881 ':sogo_visible' => $sogo_visible,
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
882
                ':internal' => $internal,
Open commit View diff
882 ':internal' => $internal,
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
883
                ':sender_allowed' => $sender_allowed,
Open commit View diff
883 ':sender_allowed' => $sender_allowed,
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
884
                ':active' => $active
Open commit View diff
884 ':active' => $active
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
885
              ));
Open commit View diff
885 ));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
886
            }
Open commit View diff
886 }
Programmierus about 6 years ago e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
887
            $id = $pdo->lastInsertId();
Open commit View diff
887 $id = $pdo->lastInsertId();
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
888
            $_SESSION['return'][] = array(
Open commit View diff
888 $_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
889
              'type' => 'success',
Open commit View diff
889 '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
890
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
890 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Programmierus about 6 years ago e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
891
              'msg' => array('alias_added', $address, $id)
Open commit View diff
891 'msg' => array('alias_added', $address, $id)
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
892
            );
Open commit View diff
892 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
893
Open commit View diff
893
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
894
            // Track affected mailboxes for SOGo update
Open commit View diff
894 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
895
            if (!empty($goto)) {
Open commit View diff
895 if (!empty($goto)) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
896
              $gotos = array_map('trim', explode(',', $goto));
Open commit View diff
896 $gotos = array_map('trim', explode(',', $goto));
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
897
              foreach ($gotos as $g) {
Open commit View diff
897 foreach ($gotos as $g) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
898
                if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
Open commit View diff
898 if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
899
                    !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
Open commit View diff
899 !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
900
                  $update_sogo_mailboxes[] = $g;
Open commit View diff
900 $update_sogo_mailboxes[] = $g;
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
901
                }
Open commit View diff
901 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
902
              }
Open commit View diff
902 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
903
            }
Open commit View diff
903 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
907
          $active = intval($_data['active']);
Open commit View diff
907 $active = intval($_data['active']);
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
908
          $alias_domains  = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['alias_domain']));
Open commit View diff
908 $alias_domains = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['alias_domain']));
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
909
          $alias_domains = array_filter($alias_domains);
Open commit View diff
909 $alias_domains = array_filter($alias_domains);
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
910
          $target_domain = idn_to_ascii(strtolower(trim($_data['target_domain'])), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
910 $target_domain = idn_to_ascii(strtolower(trim($_data['target_domain'])), 0, INTL_IDNA_VARIANT_UTS46);
andryyy over 7 years ago 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
911
          if (!isset($_SESSION['acl']['alias_domains']) || $_SESSION['acl']['alias_domains'] != "1" ) {
Open commit View diff
911 if (!isset($_SESSION['acl']['alias_domains']) || $_SESSION['acl']['alias_domains'] != "1" ) {
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
912
            $_SESSION['return'][] = array(
Open commit View diff
912 $_SESSION['return'][] = array(
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
913
              'type' => 'danger',
Open commit View diff
913 'type' => 'danger',
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
914
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
914 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
915
              'msg' => 'access_denied'
Open commit View diff
915 'msg' => 'access_denied'
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
916
            );
Open commit View diff
916 );
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
917
            return false;
Open commit View diff
917 return false;
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
918
          }
Open commit View diff
918 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
919
          if (!is_valid_domain_name($target_domain)) {
Open commit View diff
919 if (!is_valid_domain_name($target_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
920
            $_SESSION['return'][] = array(
Open commit View diff
920 $_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
921
              'type' => 'danger',
Open commit View diff
921 '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
922
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
922 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
923
              'msg' => 'target_domain_invalid'
Open commit View diff
923 'msg' => 'target_domain_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
924
            );
Open commit View diff
924 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
927
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $target_domain)) {
Open commit View diff
927 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $target_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
928
            $_SESSION['return'][] = array(
Open commit View diff
928 $_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
929
              'type' => 'danger',
Open commit View diff
929 '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
930
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
930 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
934
          }
Open commit View diff
934 }
André almost 8 years ago 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
935
          foreach ($alias_domains as $i => $alias_domain) {
Open commit View diff
935 foreach ($alias_domains as $i => $alias_domain) {
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
936
            $alias_domain = idn_to_ascii(strtolower(trim($alias_domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
936 $alias_domain = idn_to_ascii(strtolower(trim($alias_domain)), 0, INTL_IDNA_VARIANT_UTS46);
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
937
            if (!is_valid_domain_name($alias_domain)) {
Open commit View diff
937 if (!is_valid_domain_name($alias_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
938
              $_SESSION['return'][] = array(
Open commit View diff
938 $_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
939
                'type' => 'danger',
Open commit View diff
939 '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
940
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
940 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
941
                'msg' => array('alias_domain_invalid', htmlspecialchars(alias_domain))
Open commit View diff
941 'msg' => array('alias_domain_invalid', htmlspecialchars(alias_domain))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
942
              );
Open commit View diff
942 );
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
943
              continue;
Open commit View diff
943 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
944
            }
Open commit View diff
944 }
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
945
            if ($alias_domain == $target_domain) {
Open commit View diff
945 if ($alias_domain == $target_domain) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
946
              $_SESSION['return'][] = array(
Open commit View diff
946 $_SESSION['return'][] = array(
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
947
                'type' => 'danger',
Open commit View diff
947 '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
948
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
948 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
949
                'msg' => array('aliasd_targetd_identical', htmlspecialchars($target_domain))
Open commit View diff
949 'msg' => array('aliasd_targetd_identical', htmlspecialchars($target_domain))
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
950
              );
Open commit View diff
950 );
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
951
              continue;
Open commit View diff
951 continue;
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
952
            }
Open commit View diff
952 }
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
953
            $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
953 $stmt = $pdo->prepare("SELECT `domain` FROM `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
954
              WHERE `domain`= :target_domain");
Open commit View diff
954 WHERE `domain`= :target_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
955
            $stmt->execute(array(':target_domain' => $target_domain));
Open commit View diff
955 $stmt->execute(array(':target_domain' => $target_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
956
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
956 $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
957
            if ($num_results == 0) {
Open commit View diff
957 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
958
              $_SESSION['return'][] = array(
Open commit View diff
958 $_SESSION['return'][] = array(
andryyy about 9 years ago db01b08

Fixes #351

Full commit hash
db01b089268164d6a75a8f305d84a196f1a95f4c
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
959
                'type' => 'danger',
Open commit View diff
959 '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
960
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
960 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
961
                'msg' => array('targetd_not_found', htmlspecialchars($target_domain))
Open commit View diff
961 'msg' => array('targetd_not_found', htmlspecialchars($target_domain))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
962
              );
Open commit View diff
962 );
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
963
              continue;
Open commit View diff
963 continue;
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
964
            }
Open commit View diff
964 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
965
            $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
965 $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
966
              WHERE `domain`= :target_domain AND `backupmx` = '1'");
Open commit View diff
966 WHERE `domain`= :target_domain AND `backupmx` = '1'");
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
967
            $stmt->execute(array(':target_domain' => $target_domain));
Open commit View diff
967 $stmt->execute(array(':target_domain' => $target_domain));
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
968
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
968 $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
André Peters almost 7 years ago cdd91bc

Update functions.mailbox.inc.php

Full commit hash
cdd91bcb9b95e7313369ed06c091ba1803e1a700
Author
André Peters <[email protected]>
Date
almost 7 years ago
Selected line
969
            if ($num_results == 1) {
Open commit View diff
969 if ($num_results == 1) {
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
970
              $_SESSION['return'][] = array(
Open commit View diff
970 $_SESSION['return'][] = array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
971
                'type' => 'danger',
Open commit View diff
971 'type' => 'danger',
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
972
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
972 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
973
                'msg' => array('targetd_relay_domain', htmlspecialchars($target_domain))
Open commit View diff
973 'msg' => array('targetd_relay_domain', htmlspecialchars($target_domain))
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
974
              );
Open commit View diff
974 );
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
975
              continue;
Open commit View diff
975 continue;
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
976
            }
Open commit View diff
976 }
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
977
            $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `alias_domain`= :alias_domain
Open commit View diff
977 $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `alias_domain`= :alias_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
978
              UNION
Open commit View diff
978 UNION
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
979
              SELECT `domain` FROM `domain` WHERE `domain`= :alias_domain_in_domain");
Open commit View diff
979 SELECT `domain` FROM `domain` WHERE `domain`= :alias_domain_in_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
980
            $stmt->execute(array(':alias_domain' => $alias_domain, ':alias_domain_in_domain' => $alias_domain));
Open commit View diff
980 $stmt->execute(array(':alias_domain' => $alias_domain, ':alias_domain_in_domain' => $alias_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
981
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
981 $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
982
            if ($num_results != 0) {
Open commit View diff
982 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
983
              $_SESSION['return'][] = array(
Open commit View diff
983 $_SESSION['return'][] = array(
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
984
                'type' => 'danger',
Open commit View diff
984 '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
985
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
985 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
986
                'msg' => array('alias_domain_invalid', $alias_domain)
Open commit View diff
986 'msg' => array('alias_domain_invalid', $alias_domain)
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
987
              );
Open commit View diff
987 );
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
988
              continue;
Open commit View diff
988 continue;
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
989
            }
Open commit View diff
989 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
990
            $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `send_as` LIKE :domain");
Open commit View diff
990 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `send_as` LIKE :domain");
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
991
            $stmt->execute(array(
Open commit View diff
991 $stmt->execute(array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
992
              ':domain' => '%@' . $domain
Open commit View diff
992 ':domain' => '%@' . $domain
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
993
            ));
Open commit View diff
993 ));
André almost 8 years ago 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
994
            $stmt = $pdo->prepare("INSERT INTO `alias_domain` (`alias_domain`, `target_domain`, `active`)
Open commit View diff
994 $stmt = $pdo->prepare("INSERT INTO `alias_domain` (`alias_domain`, `target_domain`, `active`)
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
995
              VALUES (:alias_domain, :target_domain, :active)");
Open commit View diff
995 VALUES (:alias_domain, :target_domain, :active)");
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
996
            $stmt->execute(array(
Open commit View diff
996 $stmt->execute(array(
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
997
              ':alias_domain' => $alias_domain,
Open commit View diff
997 ':alias_domain' => $alias_domain,
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
998
              ':target_domain' => $target_domain,
Open commit View diff
998 ':target_domain' => $target_domain,
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
999
              ':active' => $active
Open commit View diff
999 ':active' => $active
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1000
            ));
Open commit View diff
1000 ));
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1001
            try {
Open commit View diff
1001 try {
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1002
              $redis->hSet('DOMAIN_MAP', $alias_domain, 1);
Open commit View diff
1002 $redis->hSet('DOMAIN_MAP', $alias_domain, 1);
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1003
            }
Open commit View diff
1003 }
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1004
            catch (RedisException $e) {
Open commit View diff
1004 catch (RedisException $e) {
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1005
              $_SESSION['return'][] = array(
Open commit View diff
1005 $_SESSION['return'][] = array(
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1006
                'type' => 'danger',
Open commit View diff
1006 'type' => 'danger',
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1007
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1007 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1008
                'msg' => array('redis_error', $e)
Open commit View diff
1008 'msg' => array('redis_error', $e)
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1009
              );
Open commit View diff
1009 );
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1010
              return false;
Open commit View diff
1010 return false;
same change 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1011
            }
Open commit View diff
1011 }
andryyy over 7 years ago 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1012
            if (!empty(intval($_data['rl_value']))) {
Open commit View diff
1012 if (!empty(intval($_data['rl_value']))) {
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1013
              ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $alias_domain));
Open commit View diff
1013 ratelimit('edit', 'domain', array('rl_value' => $_data['rl_value'], 'rl_frame' => $_data['rl_frame'], 'object' => $alias_domain));
same change 2515a91

[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

Full commit hash
2515a91ac3d4c4270bab9738341b0315d5a2b3f8
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1014
            }
Open commit View diff
1014 }
Kristian Feldsam almost 5 years ago c1dcb52

[Web] Add DKIM key when adding a domain or alias domain (#4254)

Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
1015
            if (!empty($_data['key_size']) && !empty($_data['dkim_selector'])) {
Open commit View diff
1015 if (!empty($_data['key_size']) && !empty($_data['dkim_selector'])) {
andryyy about 4 years ago 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1016
              if (!empty($redis->hGet('DKIM_SELECTORS', $alias_domain))) {
Open commit View diff
1016 if (!empty($redis->hGet('DKIM_SELECTORS', $alias_domain))) {
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1017
                $_SESSION['return'][] = array(
Open commit View diff
1017 $_SESSION['return'][] = array(
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1018
                  'type' => 'success',
Open commit View diff
1018 'type' => 'success',
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1019
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1019 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1020
                  'msg' => 'domain_add_dkim_available'
Open commit View diff
1020 'msg' => 'domain_add_dkim_available'
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1021
                );
Open commit View diff
1021 );
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1022
              }
Open commit View diff
1022 }
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1023
              else {
Open commit View diff
1023 else {
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1024
                dkim('add', array('key_size' => $_data['key_size'], 'dkim_selector' => $_data['dkim_selector'], 'domains' => $alias_domain));
Open commit View diff
1024 dkim('add', array('key_size' => $_data['key_size'], 'dkim_selector' => $_data['dkim_selector'], 'domains' => $alias_domain));
same change 7ae7f25

[Web] Re-use DKIM key if available

Full commit hash
7ae7f25580dbab0e49ff0d208ba876be1485d468
Author
andryyy <[email protected]>
Date
about 4 years ago
Selected line
1025
              }
Open commit View diff
1025 }
Kristian Feldsam almost 5 years ago c1dcb52

[Web] Add DKIM key when adding a domain or alias domain (#4254)

Full commit hash
c1dcb529f3abeb983d52a66018b2fec496aca0b7
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
1026
            }
Open commit View diff
1026 }
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
1027
            $_SESSION['return'][] = array(
Open commit View diff
1027 $_SESSION['return'][] = array(
André almost 8 years ago 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1028
              'type' => 'success',
Open commit View diff
1028 'type' => 'success',
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
1029
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1029 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago 5b4b184

[Web] Fixes to mailcow logo (stickers are coming!)

Full commit hash
5b4b184778ac04bd90fb2745d6d5a19f8423d7cc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1030
              'msg' => array('aliasd_added', htmlspecialchars($alias_domain))
Open commit View diff
1030 'msg' => array('aliasd_added', htmlspecialchars($alias_domain))
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1031
            );
Open commit View diff
1031 );
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
1032
          }
Open commit View diff
1032 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1035
          $local_part   = strtolower(trim($_data['local_part']));
Open commit View diff
1035 $local_part = strtolower(trim($_data['local_part']));
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
1036
          $domain       = idn_to_ascii(strtolower(trim($_data['domain'])), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
1036 $domain = idn_to_ascii(strtolower(trim($_data['domain'])), 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
1037
          $username     = $local_part . '@' . $domain;
Open commit View diff
1037 $username = $local_part . '@' . $domain;
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1038
          $authsource   = 'mailcow';
Open commit View diff
1038 $authsource = 'mailcow';
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1039
          if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
1039 if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1040
            $_SESSION['return'][] = array(
Open commit View diff
1040 $_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
1041
              'type' => 'danger',
Open commit View diff
1041 '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
1042
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1042 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1043
              'msg' => 'mailbox_invalid'
Open commit View diff
1043 'msg' => 'mailbox_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
1044
            );
Open commit View diff
1044 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1047
          if (empty($_data['local_part'])) {
Open commit View diff
1047 if (empty($_data['local_part'])) {
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
1048
            $_SESSION['return'][] = array(
Open commit View diff
1048 $_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
1049
              'type' => 'danger',
Open commit View diff
1049 '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
1050
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1050 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1051
              'msg' => 'mailbox_invalid'
Open commit View diff
1051 'msg' => 'mailbox_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
1052
            );
Open commit View diff
1052 );
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1054
          }
Open commit View diff
1054 }
FreddleSpl0it over 1 year ago 72ced70

[Web] Fix mailbox authsource selection

Full commit hash
72ced70e338b35ae1a099c1a8f390ec17d0035e7
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1055
          if ($_data['authsource'] == "mailcow" ||
Open commit View diff
1055 if ($_data['authsource'] == "mailcow" ||
same change 72ced70

[Web] Fix mailbox authsource selection

Full commit hash
72ced70e338b35ae1a099c1a8f390ec17d0035e7
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1056
              in_array($_data['authsource'], array('keycloak', 'generic-oidc', 'ldap')) && $iam_settings['authsource'] == $_data['authsource']){
Open commit View diff
1056 in_array($_data['authsource'], array('keycloak', 'generic-oidc', 'ldap')) && $iam_settings['authsource'] == $_data['authsource']){
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1057
            $authsource = $_data['authsource'];
Open commit View diff
1057 $authsource = $_data['authsource'];
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1058
          }
Open commit View diff
1058 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1059
          if (empty($name)) {
Open commit View diff
1059 if (empty($name)) {
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1060
            $name = $local_part;
Open commit View diff
1060 $name = $local_part;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1061
          }
Open commit View diff
1061 }
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1062
          $template_attr = null;
Open commit View diff
1062 $template_attr = null;
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1063
          if ($_data['template']){
Open commit View diff
1063 if ($_data['template']){
FreddleSpl0it over 2 years ago 9a4b79a

[Web] fix idp mailbox login

Full commit hash
9a4b79a6296452a8cf2c9365b4a245bc4ecef5d5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1064
            $template_attr = mailbox('get', 'mailbox_templates', $_data['template'], $_extra)['attributes'];
Open commit View diff
1064 $template_attr = mailbox('get', 'mailbox_templates', $_data['template'], $_extra)['attributes'];
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1065
          }
Open commit View diff
1065 }
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1066
          if (empty($template_attr)) {
Open commit View diff
1066 if (empty($template_attr)) {
FreddleSpl0it over 2 years ago 9a4b79a

[Web] fix idp mailbox login

Full commit hash
9a4b79a6296452a8cf2c9365b4a245bc4ecef5d5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1067
            $template_attr = mailbox('get', 'mailbox_templates', null, $_extra)[0]['attributes'];
Open commit View diff
1067 $template_attr = mailbox('get', 'mailbox_templates', null, $_extra)[0]['attributes'];
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1068
          }
Open commit View diff
1068 }
FreddleSpl0it over 2 years ago 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1069
          $MAILBOX_DEFAULT_ATTRIBUTES = array_merge($MAILBOX_DEFAULT_ATTRIBUTES, $template_attr);
Open commit View diff
1069 $MAILBOX_DEFAULT_ATTRIBUTES = array_merge($MAILBOX_DEFAULT_ATTRIBUTES, $template_attr);
same change 99d9a2e

[Web] fix mailbox and domain creation

Full commit hash
99d9a2eacdfffc27604e2b7c572638c456398d19
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1070
Open commit View diff
1070
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1072
          $password2    = $_data['password2'];
Open commit View diff
1072 $password2 = $_data['password2'];
andryyy over 7 years ago 97adcbe

[Web] Strip < and > from start/end of full name

Full commit hash
97adcbe5f834cf6eb7e11f2678b4f73fc17e85a6
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1073
          $name         = ltrim(rtrim($_data['name'], '>'), '<');
Open commit View diff
1073 $name = ltrim(rtrim($_data['name'], '>'), '<');
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1074
          $tags         = (isset($_data['tags'])) ? $_data['tags'] : $MAILBOX_DEFAULT_ATTRIBUTES['tags'];
Open commit View diff
1074 $tags = (isset($_data['tags'])) ? $_data['tags'] : $MAILBOX_DEFAULT_ATTRIBUTES['tags'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1075
          $quota_m      = (isset($_data['quota'])) ? intval($_data['quota']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['quota']) / 1024 ** 2;
Open commit View diff
1075 $quota_m = (isset($_data['quota'])) ? intval($_data['quota']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['quota']) / 1024 ** 2;
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1076
          if ($authsource != 'mailcow'){
Open commit View diff
1076 if ($authsource != 'mailcow'){
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1077
            $password = '';
Open commit View diff
1077 $password = '';
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1078
            $password2 = '';
Open commit View diff
1078 $password2 = '';
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1079
            $password_hashed = '';
Open commit View diff
1079 $password_hashed = '';
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1080
          }
Open commit View diff
1080 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1081
          if (!hasACLAccess("unlimited_quota") && $quota_m === 0) {
Open commit View diff
1081 if (!hasACLAccess("unlimited_quota") && $quota_m === 0) {
andryyy over 7 years ago 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1082
            $_SESSION['return'][] = array(
Open commit View diff
1082 $_SESSION['return'][] = array(
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1083
              'type' => 'danger',
Open commit View diff
1083 'type' => 'danger',
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1084
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1084 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1085
              'msg' => 'unlimited_quota_acl'
Open commit View diff
1085 'msg' => 'unlimited_quota_acl'
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1086
            );
Open commit View diff
1086 );
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1087
            return false;
Open commit View diff
1087 return false;
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1088
          }
Open commit View diff
1088 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1089
Open commit View diff
1089
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1090
          if (isset($_data['protocol_access'])) {
Open commit View diff
1090 if (isset($_data['protocol_access'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1091
            $_data['protocol_access'] = (array)$_data['protocol_access'];
Open commit View diff
1091 $_data['protocol_access'] = (array)$_data['protocol_access'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1092
            $_data['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1092 $_data['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1093
            $_data['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1093 $_data['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1094
            $_data['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1094 $_data['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1095
            $_data['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1095 $_data['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1096
            $_data['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1096 $_data['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1097
            $_data['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1097 $_data['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1098
          }
Open commit View diff
1098 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1099
          $active = (isset($_data['active'])) ? intval($_data['active']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['active']);
Open commit View diff
1099 $active = (isset($_data['active'])) ? intval($_data['active']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['active']);
andryyy almost 6 years ago 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1100
          $force_pw_update = (isset($_data['force_pw_update'])) ? intval($_data['force_pw_update']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_pw_update']);
Open commit View diff
1100 $force_pw_update = (isset($_data['force_pw_update'])) ? intval($_data['force_pw_update']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_pw_update']);
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1101
          $force_tfa = (isset($_data['force_tfa'])) ? intval($_data['force_tfa']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_tfa']);
Open commit View diff
1101 $force_tfa = (isset($_data['force_tfa'])) ? intval($_data['force_tfa']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_tfa']);
andryyy almost 6 years ago 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1102
          $tls_enforce_in = (isset($_data['tls_enforce_in'])) ? intval($_data['tls_enforce_in']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_in']);
Open commit View diff
1102 $tls_enforce_in = (isset($_data['tls_enforce_in'])) ? intval($_data['tls_enforce_in']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_in']);
same change 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1103
          $tls_enforce_out = (isset($_data['tls_enforce_out'])) ? intval($_data['tls_enforce_out']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_out']);
Open commit View diff
1103 $tls_enforce_out = (isset($_data['tls_enforce_out'])) ? intval($_data['tls_enforce_out']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_out']);
same change 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1104
          $sogo_access = (isset($_data['sogo_access'])) ? intval($_data['sogo_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sogo_access']);
Open commit View diff
1104 $sogo_access = (isset($_data['sogo_access'])) ? intval($_data['sogo_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sogo_access']);
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1105
          $imap_access = (isset($_data['imap_access'])) ? intval($_data['imap_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['imap_access']);
Open commit View diff
1105 $imap_access = (isset($_data['imap_access'])) ? intval($_data['imap_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['imap_access']);
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1106
          $pop3_access = (isset($_data['pop3_access'])) ? intval($_data['pop3_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['pop3_access']);
Open commit View diff
1106 $pop3_access = (isset($_data['pop3_access'])) ? intval($_data['pop3_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['pop3_access']);
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1107
          $smtp_access = (isset($_data['smtp_access'])) ? intval($_data['smtp_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['smtp_access']);
Open commit View diff
1107 $smtp_access = (isset($_data['smtp_access'])) ? intval($_data['smtp_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['smtp_access']);
andryyy over 4 years ago 644b1f8

[Dovecot, Web] Allow SOGo access with app password when imap is disabled; Add sieve to mailbox protocol access restrictions

Full commit hash
644b1f85d1b5ff43425c503c56554ac1c8d1d0a9
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
1108
          $sieve_access = (isset($_data['sieve_access'])) ? intval($_data['sieve_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sieve_access']);
Open commit View diff
1108 $sieve_access = (isset($_data['sieve_access'])) ? intval($_data['sieve_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sieve_access']);
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1109
          $eas_access = (isset($_data['eas_access'])) ? intval($_data['eas_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['eas_access']);
Open commit View diff
1109 $eas_access = (isset($_data['eas_access'])) ? intval($_data['eas_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['eas_access']);
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1110
          $dav_access = (isset($_data['dav_access'])) ? intval($_data['dav_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['dav_access']);
Open commit View diff
1110 $dav_access = (isset($_data['dav_access'])) ? intval($_data['dav_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['dav_access']);
andryyy almost 5 years ago fcbd4e7

[Web] Set default relayhost to 0 when adding a mailbox; add missing lang strings

Full commit hash
fcbd4e762d4a0617385804bb228ed0dd824d5c5f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
1111
          $relayhost = (isset($_data['relayhost'])) ? intval($_data['relayhost']) : 0;
Open commit View diff
1111 $relayhost = (isset($_data['relayhost'])) ? intval($_data['relayhost']) : 0;
andryyy almost 6 years ago 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1112
          $quarantine_notification = (isset($_data['quarantine_notification'])) ? strval($_data['quarantine_notification']) : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_notification']);
Open commit View diff
1112 $quarantine_notification = (isset($_data['quarantine_notification'])) ? strval($_data['quarantine_notification']) : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_notification']);
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1113
          $quarantine_category = (isset($_data['quarantine_category'])) ? strval($_data['quarantine_category']) : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_category']);
Open commit View diff
1113 $quarantine_category = (isset($_data['quarantine_category'])) ? strval($_data['quarantine_category']) : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_category']);
FreddleSpl0it 4 months ago 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1114
          // Validate quarantine_category
Open commit View diff
1114 // Validate quarantine_category
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1115
          if (!in_array($quarantine_category, array('add_header', 'reject', 'all'))) {
Open commit View diff
1115 if (!in_array($quarantine_category, array('add_header', 'reject', 'all'))) {
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1116
            $_SESSION['return'][] = array(
Open commit View diff
1116 $_SESSION['return'][] = array(
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1117
              'type' => 'danger',
Open commit View diff
1117 'type' => 'danger',
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1118
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1118 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1119
              'msg' => 'quarantine_category_invalid'
Open commit View diff
1119 'msg' => 'quarantine_category_invalid'
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1120
            );
Open commit View diff
1120 );
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1121
            return false;
Open commit View diff
1121 return false;
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1122
          }
Open commit View diff
1122 }
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
1123
          $quota_b    = ($quota_m * 1048576);
Open commit View diff
1123 $quota_b = ($quota_m * 1048576);
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1124
          $attribute_hash = (!empty($_data['attribute_hash'])) ? $_data['attribute_hash'] : '';
Open commit View diff
1124 $attribute_hash = (!empty($_data['attribute_hash'])) ? $_data['attribute_hash'] : '';
FreddleSpl0it over 1 year ago 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1125
          if (in_array($authsource, array('keycloak', 'generic-oidc', 'ldap'))){
Open commit View diff
1125 if (in_array($authsource, array('keycloak', 'generic-oidc', 'ldap'))){
same change 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1126
            $force_pw_update = 0;
Open commit View diff
1126 $force_pw_update = 0;
FreddleSpl0it 4 months ago ed9264f

[Web] Allow force_tfa for LDAP and Keycloak users

Full commit hash
ed9264fd2aeb50ada8b5c270a22da8b6f8bfb2c0
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1127
          }
Open commit View diff
1127 }
same change ed9264f

[Web] Allow force_tfa for LDAP and Keycloak users

Full commit hash
ed9264fd2aeb50ada8b5c270a22da8b6f8bfb2c0
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1128
          if ($authsource == 'generic-oidc'){
Open commit View diff
1128 if ($authsource == 'generic-oidc'){
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1129
            $force_tfa = 0;
Open commit View diff
1129 $force_tfa = 0;
FreddleSpl0it over 1 year ago 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1130
          }
Open commit View diff
1130 }
André almost 8 years ago 76530b7

[Web] Use json_encode for mail attrs when creating a mailbox

Full commit hash
76530b7e6ddf43ad53bb9515baf11d5dab2f2fd5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1131
          $mailbox_attrs = json_encode(
Open commit View diff
1131 $mailbox_attrs = json_encode(
same change 76530b7

[Web] Use json_encode for mail attrs when creating a mailbox

Full commit hash
76530b7e6ddf43ad53bb9515baf11d5dab2f2fd5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1132
            array(
Open commit View diff
1132 array(
andryyy almost 6 years ago 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1133
              'force_pw_update' => strval($force_pw_update),
Open commit View diff
1133 'force_pw_update' => strval($force_pw_update),
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1134
              'force_tfa' => strval($force_tfa),
Open commit View diff
1134 'force_tfa' => strval($force_tfa),
andryyy almost 6 years ago 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1135
              'tls_enforce_in' => strval($tls_enforce_in),
Open commit View diff
1135 'tls_enforce_in' => strval($tls_enforce_in),
same change 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1136
              'tls_enforce_out' => strval($tls_enforce_out),
Open commit View diff
1136 'tls_enforce_out' => strval($tls_enforce_out),
same change 9274b7b

[Web] Allow to set force_pw_update, tls_enforce_in, tls_enforce_out, sogo_access and quarantine_notification when adding a domain (via API)

Full commit hash
9274b7b8e1399c2bce488c051ab3b0261bb486f4
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1137
              'sogo_access' => strval($sogo_access),
Open commit View diff
1137 'sogo_access' => strval($sogo_access),
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1138
              'imap_access' => strval($imap_access),
Open commit View diff
1138 'imap_access' => strval($imap_access),
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1139
              'pop3_access' => strval($pop3_access),
Open commit View diff
1139 'pop3_access' => strval($pop3_access),
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1140
              'smtp_access' => strval($smtp_access),
Open commit View diff
1140 'smtp_access' => strval($smtp_access),
andryyy over 4 years ago 644b1f8

[Dovecot, Web] Allow SOGo access with app password when imap is disabled; Add sieve to mailbox protocol access restrictions

Full commit hash
644b1f85d1b5ff43425c503c56554ac1c8d1d0a9
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
1141
              'sieve_access' => strval($sieve_access),
Open commit View diff
1141 'sieve_access' => strval($sieve_access),
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1142
              'eas_access' => strval($eas_access),
Open commit View diff
1142 'eas_access' => strval($eas_access),
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1143
              'dav_access' => strval($dav_access),
Open commit View diff
1143 'dav_access' => strval($dav_access),
andryyy almost 5 years ago fcbd4e7

[Web] Set default relayhost to 0 when adding a mailbox; add missing lang strings

Full commit hash
fcbd4e762d4a0617385804bb228ed0dd824d5c5f
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
1144
              'relayhost' => strval($relayhost),
Open commit View diff
1144 'relayhost' => strval($relayhost),
andryyy about 5 years ago da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1145
              'passwd_update' => time(),
Open commit View diff
1145 'passwd_update' => time(),
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1146
              'mailbox_format' => strval($MAILBOX_DEFAULT_ATTRIBUTES['mailbox_format']),
Open commit View diff
1146 'mailbox_format' => strval($MAILBOX_DEFAULT_ATTRIBUTES['mailbox_format']),
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1147
              'quarantine_notification' => strval($quarantine_notification),
Open commit View diff
1147 'quarantine_notification' => strval($quarantine_notification),
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1148
              'quarantine_category' => strval($quarantine_category),
Open commit View diff
1148 'quarantine_category' => strval($quarantine_category),
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1149
              'attribute_hash' => $attribute_hash
Open commit View diff
1149 'attribute_hash' => $attribute_hash
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
1150
            )
Open commit View diff
1150 )
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
1151
          );
Open commit View diff
1151 );
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1152
          if (!is_valid_domain_name($domain)) {
Open commit View diff
1152 if (!is_valid_domain_name($domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1153
            $_SESSION['return'][] = array(
Open commit View diff
1153 $_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
1154
              'type' => 'danger',
Open commit View diff
1154 '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
1155
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1155 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1156
              'msg' => 'domain_invalid'
Open commit View diff
1156 'msg' => 'domain_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
1157
            );
Open commit View diff
1157 );
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1159
          }
Open commit View diff
1159 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1160
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
1160 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1161
            $_SESSION['return'][] = array(
Open commit View diff
1161 $_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
1162
              'type' => 'danger',
Open commit View diff
1162 '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
1163
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1163 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1167
          }
Open commit View diff
1167 }
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
1168
          $stmt = $pdo->prepare("SELECT `mailboxes`, `maxquota`, `quota` FROM `domain`
Open commit View diff
1168 $stmt = $pdo->prepare("SELECT `mailboxes`, `maxquota`, `quota` FROM `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
1169
            WHERE `domain` = :domain");
Open commit View diff
1169 WHERE `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
1170
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
1170 $stmt->execute(array(':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
1171
          $DomainData = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
1171 $DomainData = $stmt->fetch(PDO::FETCH_ASSOC);
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
1172
          $stmt = $pdo->prepare("SELECT
Open commit View diff
1172 $stmt = $pdo->prepare("SELECT
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
1173
            COUNT(*) as count,
Open commit View diff
1173 COUNT(*) as count,
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
1174
            COALESCE(ROUND(SUM(`quota`)/1048576), 0) as `quota`
Open commit View diff
1174 COALESCE(ROUND(SUM(`quota`)/1048576), 0) as `quota`
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
1175
              FROM `mailbox`
Open commit View diff
1175 FROM `mailbox`
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1176
                WHERE (`kind` = '' OR `kind` = NULL)
Open commit View diff
1176 WHERE (`kind` = '' OR `kind` = NULL)
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
1177
                  AND `domain` = :domain");
Open commit View diff
1177 AND `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
1178
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
1178 $stmt->execute(array(':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
1179
          $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
1179 $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1180
          $stmt = $pdo->prepare("SELECT `local_part` FROM `mailbox` WHERE `local_part` = :local_part and `domain`= :domain");
Open commit View diff
1180 $stmt = $pdo->prepare("SELECT `local_part` FROM `mailbox` WHERE `local_part` = :local_part and `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
1181
          $stmt->execute(array(':local_part' => $local_part, ':domain' => $domain));
Open commit View diff
1181 $stmt->execute(array(':local_part' => $local_part, ':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
1182
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1182 $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
1183
          if ($num_results != 0) {
Open commit View diff
1183 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
1184
            $_SESSION['return'][] = array(
Open commit View diff
1184 $_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
1185
              'type' => 'danger',
Open commit View diff
1185 'type' => 'danger',
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
1186
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1186 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1187
              'msg' => array('object_exists', htmlspecialchars($username))
Open commit View diff
1187 'msg' => array('object_exists', htmlspecialchars($username))
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
1188
            );
Open commit View diff
1188 );
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
1189
            return false;
Open commit View diff
1189 return false;
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
1190
          }
Open commit View diff
1190 }
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
1191
          $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE address= :username");
Open commit View diff
1191 $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE address= :username");
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
1192
          $stmt->execute(array(':username' => $username));
Open commit View diff
1192 $stmt->execute(array(':username' => $username));
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
1193
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1193 $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
1194
          if ($num_results != 0) {
Open commit View diff
1194 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
1195
            $_SESSION['return'][] = array(
Open commit View diff
1195 $_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
1196
              'type' => 'danger',
Open commit View diff
1196 'type' => 'danger',
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
1197
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1197 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1198
              'msg' => array('is_alias', htmlspecialchars($username))
Open commit View diff
1198 'msg' => array('is_alias', htmlspecialchars($username))
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
1199
            );
Open commit View diff
1199 );
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
1200
            return false;
Open commit View diff
1200 return false;
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
1201
          }
Open commit View diff
1201 }
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
1202
          $stmt = $pdo->prepare("SELECT `address` FROM `spamalias` WHERE `address`= :username");
Open commit View diff
1202 $stmt = $pdo->prepare("SELECT `address` FROM `spamalias` WHERE `address`= :username");
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
1203
          $stmt->execute(array(':username' => $username));
Open commit View diff
1203 $stmt->execute(array(':username' => $username));
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
1204
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1204 $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
1205
          if ($num_results != 0) {
Open commit View diff
1205 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
1206
            $_SESSION['return'][] = array(
Open commit View diff
1206 $_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
1207
              'type' => 'danger',
Open commit View diff
1207 'type' => 'danger',
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
1208
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1208 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1209
              'msg' => array('is_spam_alias', htmlspecialchars($username))
Open commit View diff
1209 'msg' => array('is_spam_alias', htmlspecialchars($username))
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
1210
            );
Open commit View diff
1210 );
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
1211
            return false;
Open commit View diff
1211 return false;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1212
          }
Open commit View diff
1212 }
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
1213
          $stmt = $pdo->prepare("SELECT `domain` FROM `domain` WHERE `domain`= :domain");
Open commit View diff
1213 $stmt = $pdo->prepare("SELECT `domain` FROM `domain` WHERE `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
1214
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
1214 $stmt->execute(array(':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
1215
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1215 $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
1216
          if ($num_results == 0) {
Open commit View diff
1216 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
1217
            $_SESSION['return'][] = array(
Open commit View diff
1217 $_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
1218
              'type' => 'danger',
Open commit View diff
1218 '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
1219
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1219 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1220
              'msg' => array('domain_not_found', htmlspecialchars($domain))
Open commit View diff
1220 'msg' => array('domain_not_found', htmlspecialchars($domain))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1223
          }
Open commit View diff
1223 }
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1224
          if ($authsource == 'mailcow'){
Open commit View diff
1224 if ($authsource == 'mailcow'){
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1225
            if (password_check($password, $password2) !== true) {
Open commit View diff
1225 if (password_check($password, $password2) !== true) {
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1226
              return false;
Open commit View diff
1226 return false;
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1227
            }
Open commit View diff
1227 }
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1228
            $password_hashed = hash_password($password);
Open commit View diff
1228 $password_hashed = hash_password($password);
andryyy over 5 years ago 5ea649b

[Web] Feature: Add password policy

Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1229
          }
Open commit View diff
1229 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1230
          if ($MailboxData['count'] >= $DomainData['mailboxes']) {
Open commit View diff
1230 if ($MailboxData['count'] >= $DomainData['mailboxes']) {
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
1231
            $_SESSION['return'][] = array(
Open commit View diff
1231 $_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
1232
              'type' => 'danger',
Open commit View diff
1232 '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
1233
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1233 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1238
          if ($quota_m > $DomainData['maxquota']) {
Open commit View diff
1238 if ($quota_m > $DomainData['maxquota']) {
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
1239
            $_SESSION['return'][] = array(
Open commit View diff
1239 $_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
1240
              'type' => 'danger',
Open commit View diff
1240 '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
1241
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1241 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1246
          if (($MailboxData['quota'] + $quota_m) > $DomainData['quota']) {
Open commit View diff
1246 if (($MailboxData['quota'] + $quota_m) > $DomainData['quota']) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1247
            $quota_left_m = ($DomainData['quota'] - $MailboxData['quota']);
Open commit View diff
1247 $quota_left_m = ($DomainData['quota'] - $MailboxData['quota']);
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
1248
            $_SESSION['return'][] = array(
Open commit View diff
1248 $_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
1249
              'type' => 'danger',
Open commit View diff
1249 '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
1250
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1250 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1254
          }
Open commit View diff
1254 }
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1255
          $stmt = $pdo->prepare("INSERT INTO `mailbox` (`username`, `password`, `name`, `quota`, `local_part`, `domain`, `attributes`, `authsource`, `active`)
Open commit View diff
1255 $stmt = $pdo->prepare("INSERT INTO `mailbox` (`username`, `password`, `name`, `quota`, `local_part`, `domain`, `attributes`, `authsource`, `active`)
same change 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1256
            VALUES (:username, :password_hashed, :name, :quota_b, :local_part, :domain, :mailbox_attrs, :authsource, :active)");
Open commit View diff
1256 VALUES (:username, :password_hashed, :name, :quota_b, :local_part, :domain, :mailbox_attrs, :authsource, :active)");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1257
          $stmt->execute(array(
Open commit View diff
1257 $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
1258
            ':username' => $username,
Open commit View diff
1258 ':username' => $username,
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
1259
            ':password_hashed' => $password_hashed,
Open commit View diff
1259 ':password_hashed' => $password_hashed,
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
1260
            ':name' => $name,
Open commit View diff
1260 ':name' => $name,
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
1261
            ':quota_b' => $quota_b,
Open commit View diff
1261 ':quota_b' => $quota_b,
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
1262
            ':local_part' => $local_part,
Open commit View diff
1262 ':local_part' => $local_part,
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
1263
            ':domain' => $domain,
Open commit View diff
1263 ':domain' => $domain,
André almost 8 years ago 76530b7

[Web] Use json_encode for mail attrs when creating a mailbox

Full commit hash
76530b7e6ddf43ad53bb9515baf11d5dab2f2fd5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1264
            ':mailbox_attrs' => $mailbox_attrs,
Open commit View diff
1264 ':mailbox_attrs' => $mailbox_attrs,
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1265
            ':authsource' => $authsource,
Open commit View diff
1265 ':authsource' => $authsource,
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
1266
            ':active' => $active
Open commit View diff
1266 ':active' => $active
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
1267
          ));
Open commit View diff
1267 ));
andryyy about 5 years ago da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1268
          $stmt = $pdo->prepare("UPDATE `mailbox` SET
Open commit View diff
1268 $stmt = $pdo->prepare("UPDATE `mailbox` SET
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1269
            `attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
Open commit View diff
1269 `attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1270
              WHERE `username` = :username");
Open commit View diff
1270 WHERE `username` = :username");
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1271
          $stmt->execute(array(
Open commit View diff
1271 $stmt->execute(array(
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1272
            ':username' => $username
Open commit View diff
1272 ':username' => $username
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
1273
          ));
Open commit View diff
1273 ));
FreddleSpl0it 12 months ago 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1274
          // save delimiter_action
Open commit View diff
1274 // save delimiter_action
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1275
          if (isset($_data['tagged_mail_handler'])) {
Open commit View diff
1275 if (isset($_data['tagged_mail_handler'])) {
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1276
            mailbox('edit', 'delimiter_action', array(
Open commit View diff
1276 mailbox('edit', 'delimiter_action', array(
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1277
              'username' => $username,
Open commit View diff
1277 'username' => $username,
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1278
              'tagged_mail_handler' => $_data['tagged_mail_handler']
Open commit View diff
1278 'tagged_mail_handler' => $_data['tagged_mail_handler']
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1279
            ));
Open commit View diff
1279 ));
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1280
          }
Open commit View diff
1280 }
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1281
Open commit View diff
1281
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1282
          // save tags
Open commit View diff
1282 // save tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1283
          foreach($tags as $index => $tag){
Open commit View diff
1283 foreach($tags as $index => $tag){
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1284
            if (empty($tag)) continue;
Open commit View diff
1284 if (empty($tag)) continue;
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1285
            if ($index > $GLOBALS['TAGGING_LIMIT']) {
Open commit View diff
1285 if ($index > $GLOBALS['TAGGING_LIMIT']) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1286
              $_SESSION['return'][] = array(
Open commit View diff
1286 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1287
                'type' => 'warning',
Open commit View diff
1287 'type' => 'warning',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1288
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1288 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1289
                'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
Open commit View diff
1289 'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1290
              );
Open commit View diff
1290 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1291
              break;
Open commit View diff
1291 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1292
            }
Open commit View diff
1292 }
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1293
            try {
Open commit View diff
1293 try {
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1294
              $stmt = $pdo->prepare("INSERT INTO `tags_mailbox` (`username`, `tag_name`) VALUES (:username, :tag_name)");
Open commit View diff
1294 $stmt = $pdo->prepare("INSERT INTO `tags_mailbox` (`username`, `tag_name`) VALUES (:username, :tag_name)");
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1295
              $stmt->execute(array(
Open commit View diff
1295 $stmt->execute(array(
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1296
                ':username' => $username,
Open commit View diff
1296 ':username' => $username,
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1297
                ':tag_name' => $tag,
Open commit View diff
1297 ':tag_name' => $tag,
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1298
              ));
Open commit View diff
1298 ));
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1299
            } catch (Exception $e) {
Open commit View diff
1299 } catch (Exception $e) {
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1300
            }
Open commit View diff
1300 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
1301
          }
Open commit View diff
1301 }
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
1302
          $stmt = $pdo->prepare("INSERT INTO `quota2` (`username`, `bytes`, `messages`)
Open commit View diff
1302 $stmt = $pdo->prepare("INSERT INTO `quota2` (`username`, `bytes`, `messages`)
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
1303
            VALUES (:username, '0', '0') ON DUPLICATE KEY UPDATE `bytes` = '0', `messages` = '0';");
Open commit View diff
1303 VALUES (:username, '0', '0') ON DUPLICATE KEY UPDATE `bytes` = '0', `messages` = '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
1304
          $stmt->execute(array(':username' => $username));
Open commit View diff
1304 $stmt->execute(array(':username' => $username));
andryyy over 6 years ago 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
1305
          $stmt = $pdo->prepare("INSERT INTO `quota2replica` (`username`, `bytes`, `messages`)
Open commit View diff
1305 $stmt = $pdo->prepare("INSERT INTO `quota2replica` (`username`, `bytes`, `messages`)
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
1306
            VALUES (:username, '0', '0') ON DUPLICATE KEY UPDATE `bytes` = '0', `messages` = '0';");
Open commit View diff
1306 VALUES (:username, '0', '0') ON DUPLICATE KEY UPDATE `bytes` = '0', `messages` = '0';");
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
1307
          $stmt->execute(array(':username' => $username));
Open commit View diff
1307 $stmt->execute(array(':username' => $username));
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
1308
          $stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `goto`, `domain`, `active`)
Open commit View diff
1308 $stmt = $pdo->prepare("INSERT INTO `alias` (`address`, `goto`, `domain`, `active`)
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
1309
            VALUES (:username1, :username2, :domain, :active)");
Open commit View diff
1309 VALUES (:username1, :username2, :domain, :active)");
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
1310
          $stmt->execute(array(
Open commit View diff
1310 $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
1311
            ':username1' => $username,
Open commit View diff
1311 ':username1' => $username,
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
1312
            ':username2' => $username,
Open commit View diff
1312 ':username2' => $username,
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
1313
            ':domain' => $domain,
Open commit View diff
1313 ':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
1314
            ':active' => $active
Open commit View diff
1314 ':active' => $active
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
1315
          ));
Open commit View diff
1315 ));
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1316
Open commit View diff
1316
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1317
Open commit View diff
1317
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1318
          if (isset($_data['acl'])) {
Open commit View diff
1318 if (isset($_data['acl'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1319
            $_data['acl'] = (array)$_data['acl'];
Open commit View diff
1319 $_data['acl'] = (array)$_data['acl'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1320
            $_data['spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
Open commit View diff
1320 $_data['spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1321
            $_data['tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
1321 $_data['tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1322
            $_data['spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
Open commit View diff
1322 $_data['spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1323
            $_data['spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
1323 $_data['spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1324
            $_data['delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
Open commit View diff
1324 $_data['delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1325
            $_data['syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
Open commit View diff
1325 $_data['syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1326
            $_data['eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1326 $_data['eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1327
            $_data['sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1327 $_data['sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1328
            $_data['pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
Open commit View diff
1328 $_data['pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1329
            $_data['quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
Open commit View diff
1329 $_data['quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1330
            $_data['quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
Open commit View diff
1330 $_data['quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1331
            $_data['quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
Open commit View diff
1331 $_data['quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1332
            $_data['quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
Open commit View diff
1332 $_data['quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1333
            $_data['app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
Open commit View diff
1333 $_data['app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1334
            $_data['pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1334 $_data['pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1335
          } else {
Open commit View diff
1335 } else {
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1336
            $_data['spam_alias'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_alias']);
Open commit View diff
1336 $_data['spam_alias'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_alias']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1337
            $_data['tls_policy'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_tls_policy']);
Open commit View diff
1337 $_data['tls_policy'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_tls_policy']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1338
            $_data['spam_score'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_score']);
Open commit View diff
1338 $_data['spam_score'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_score']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1339
            $_data['spam_policy'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_policy']);
Open commit View diff
1339 $_data['spam_policy'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_spam_policy']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1340
            $_data['delimiter_action'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_delimiter_action']);
Open commit View diff
1340 $_data['delimiter_action'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_delimiter_action']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1341
            $_data['syncjobs'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_syncjobs']);
Open commit View diff
1341 $_data['syncjobs'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_syncjobs']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1342
            $_data['eas_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_eas_reset']);
Open commit View diff
1342 $_data['eas_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_eas_reset']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1343
            $_data['sogo_profile_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_sogo_profile_reset']);
Open commit View diff
1343 $_data['sogo_profile_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_sogo_profile_reset']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1344
            $_data['pushover'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_pushover']);
Open commit View diff
1344 $_data['pushover'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_pushover']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1345
            $_data['quarantine'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine']);
Open commit View diff
1345 $_data['quarantine'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1346
            $_data['quarantine_attachments'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_attachments']);
Open commit View diff
1346 $_data['quarantine_attachments'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_attachments']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1347
            $_data['quarantine_notification'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_notification']);
Open commit View diff
1347 $_data['quarantine_notification'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_notification']);
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1348
            $_data['quarantine_category'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_category']);
Open commit View diff
1348 $_data['quarantine_category'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_quarantine_category']);
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1349
            $_data['app_passwds'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_app_passwds']);
Open commit View diff
1349 $_data['app_passwds'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_app_passwds']);
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1350
            $_data['pw_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_pw_reset']);
Open commit View diff
1350 $_data['pw_reset'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['acl_pw_reset']);
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1351
          }
Open commit View diff
1351 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1352
Open commit View diff
1352
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1353
          try {
Open commit View diff
1353 try {
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1354
            $stmt = $pdo->prepare("INSERT INTO `user_acl`
Open commit View diff
1354 $stmt = $pdo->prepare("INSERT INTO `user_acl`
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1355
              (`username`, `spam_alias`, `tls_policy`, `spam_score`, `spam_policy`, `delimiter_action`, `syncjobs`, `eas_reset`, `sogo_profile_reset`,
Open commit View diff
1355 (`username`, `spam_alias`, `tls_policy`, `spam_score`, `spam_policy`, `delimiter_action`, `syncjobs`, `eas_reset`, `sogo_profile_reset`,
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1356
                `pushover`, `quarantine`, `quarantine_attachments`, `quarantine_notification`, `quarantine_category`, `app_passwds`, `pw_reset`)
Open commit View diff
1356 `pushover`, `quarantine`, `quarantine_attachments`, `quarantine_notification`, `quarantine_category`, `app_passwds`, `pw_reset`)
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1357
              VALUES (:username, :spam_alias, :tls_policy, :spam_score, :spam_policy, :delimiter_action, :syncjobs, :eas_reset, :sogo_profile_reset,
Open commit View diff
1357 VALUES (:username, :spam_alias, :tls_policy, :spam_score, :spam_policy, :delimiter_action, :syncjobs, :eas_reset, :sogo_profile_reset,
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1358
                :pushover, :quarantine, :quarantine_attachments, :quarantine_notification, :quarantine_category, :app_passwds, :pw_reset) ");
Open commit View diff
1358 :pushover, :quarantine, :quarantine_attachments, :quarantine_notification, :quarantine_category, :app_passwds, :pw_reset) ");
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1359
            $stmt->execute(array(
Open commit View diff
1359 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1360
              ':username' => $username,
Open commit View diff
1360 ':username' => $username,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1361
              ':spam_alias' => $_data['spam_alias'],
Open commit View diff
1361 ':spam_alias' => $_data['spam_alias'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1362
              ':tls_policy' => $_data['tls_policy'],
Open commit View diff
1362 ':tls_policy' => $_data['tls_policy'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1363
              ':spam_score' => $_data['spam_score'],
Open commit View diff
1363 ':spam_score' => $_data['spam_score'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1364
              ':spam_policy' => $_data['spam_policy'],
Open commit View diff
1364 ':spam_policy' => $_data['spam_policy'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1365
              ':delimiter_action' => $_data['delimiter_action'],
Open commit View diff
1365 ':delimiter_action' => $_data['delimiter_action'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1366
              ':syncjobs' => $_data['syncjobs'],
Open commit View diff
1366 ':syncjobs' => $_data['syncjobs'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1367
              ':eas_reset' => $_data['eas_reset'],
Open commit View diff
1367 ':eas_reset' => $_data['eas_reset'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1368
              ':sogo_profile_reset' => $_data['sogo_profile_reset'],
Open commit View diff
1368 ':sogo_profile_reset' => $_data['sogo_profile_reset'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1369
              ':pushover' => $_data['pushover'],
Open commit View diff
1369 ':pushover' => $_data['pushover'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1370
              ':quarantine' => $_data['quarantine'],
Open commit View diff
1370 ':quarantine' => $_data['quarantine'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1371
              ':quarantine_attachments' => $_data['quarantine_attachments'],
Open commit View diff
1371 ':quarantine_attachments' => $_data['quarantine_attachments'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1372
              ':quarantine_notification' => $_data['quarantine_notification'],
Open commit View diff
1372 ':quarantine_notification' => $_data['quarantine_notification'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1373
              ':quarantine_category' => $_data['quarantine_category'],
Open commit View diff
1373 ':quarantine_category' => $_data['quarantine_category'],
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1374
              ':app_passwds' => $_data['app_passwds'],
Open commit View diff
1374 ':app_passwds' => $_data['app_passwds'],
same change fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1375
              ':pw_reset' => $_data['pw_reset']
Open commit View diff
1375 ':pw_reset' => $_data['pw_reset']
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1376
            ));
Open commit View diff
1376 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1377
          }
Open commit View diff
1377 }
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1378
          catch (PDOException $e) {
Open commit View diff
1378 catch (PDOException $e) {
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1379
            $_SESSION['return'][] = array(
Open commit View diff
1379 $_SESSION['return'][] = array(
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1380
              'type' => 'danger',
Open commit View diff
1380 'type' => 'danger',
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1381
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1381 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1382
              'msg' => $e->getMessage()
Open commit View diff
1382 'msg' => $e->getMessage()
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1383
            );
Open commit View diff
1383 );
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1384
            return false;
Open commit View diff
1384 return false;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1385
          }
Open commit View diff
1385 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1386
Open commit View diff
1386
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1387
          $_data['rl_frame'] = (isset($_data['rl_frame'])) ? $_data['rl_frame'] : $MAILBOX_DEFAULT_ATTRIBUTES['rl_frame'];
Open commit View diff
1387 $_data['rl_frame'] = (isset($_data['rl_frame'])) ? $_data['rl_frame'] : $MAILBOX_DEFAULT_ATTRIBUTES['rl_frame'];
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1388
          $_data['rl_value'] = (isset($_data['rl_value'])) ? $_data['rl_value'] : $MAILBOX_DEFAULT_ATTRIBUTES['rl_value'];
Open commit View diff
1388 $_data['rl_value'] = (isset($_data['rl_value'])) ? $_data['rl_value'] : $MAILBOX_DEFAULT_ATTRIBUTES['rl_value'];
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1389
          if (isset($_data['rl_frame']) && isset($_data['rl_value'])){
Open commit View diff
1389 if (isset($_data['rl_frame']) && isset($_data['rl_value'])){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1390
            ratelimit('edit', 'mailbox', array(
Open commit View diff
1390 ratelimit('edit', 'mailbox', array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1391
              'object' => $username,
Open commit View diff
1391 'object' => $username,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1392
              'rl_frame' => $_data['rl_frame'],
Open commit View diff
1392 'rl_frame' => $_data['rl_frame'],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1393
              'rl_value' => $_data['rl_value']
Open commit View diff
1393 'rl_value' => $_data['rl_value']
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1394
            ), $_extra);
Open commit View diff
1394 ), $_extra);
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1395
          }
Open commit View diff
1395 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1396
Open commit View diff
1396
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1397
          // Track affected mailboxes for SOGo update
Open commit View diff
1397 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1398
          $update_sogo_mailboxes[] = $username;
Open commit View diff
1398 $update_sogo_mailboxes[] = $username;
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
1399
          $_SESSION['return'][] = array(
Open commit View diff
1399 $_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
1400
            'type' => 'success',
Open commit View diff
1400 '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
1401
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1401 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1402
            'msg' => array('mailbox_added', htmlspecialchars($username))
Open commit View diff
1402 'msg' => array('mailbox_added', htmlspecialchars($username))
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
1403
          );
Open commit View diff
1403 );
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1404
        break;
Open commit View diff
1404 break;
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1405
        case 'mailbox_from_template':
Open commit View diff
1405 case 'mailbox_from_template':
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1406
          $stmt = $pdo->prepare("SELECT * FROM `templates`
Open commit View diff
1406 $stmt = $pdo->prepare("SELECT * FROM `templates`
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1407
          WHERE `template` = :template AND type = 'mailbox'");
Open commit View diff
1407 WHERE `template` = :template AND type = 'mailbox'");
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1408
          $stmt->execute(array(
Open commit View diff
1408 $stmt->execute(array(
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1409
            ":template" => $_data['template']
Open commit View diff
1409 ":template" => $_data['template']
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1410
          ));
Open commit View diff
1410 ));
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1411
          $mbox_template_data = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
1411 $mbox_template_data = $stmt->fetch(PDO::FETCH_ASSOC);
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1412
          if (empty($mbox_template_data)){
Open commit View diff
1412 if (empty($mbox_template_data)){
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1413
            $_SESSION['return'][] =  array(
Open commit View diff
1413 $_SESSION['return'][] = array(
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1414
              'type' => 'danger',
Open commit View diff
1414 'type' => 'danger',
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1415
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1415 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1416
              'msg' => 'template_missing'
Open commit View diff
1416 'msg' => 'template_missing'
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1417
            );
Open commit View diff
1417 );
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1418
            return false;
Open commit View diff
1418 return false;
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1419
          }
Open commit View diff
1419 }
same change 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1420
Open commit View diff
1420
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1421
          $attribute_hash = sha1(json_encode($mbox_template_data["attributes"]));
Open commit View diff
1421 $attribute_hash = sha1(json_encode($mbox_template_data["attributes"]));
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1422
          $mbox_template_data = json_decode($mbox_template_data["attributes"], true);
Open commit View diff
1422 $mbox_template_data = json_decode($mbox_template_data["attributes"], true);
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1423
          $mbox_template_data['domain'] = $_data['domain'];
Open commit View diff
1423 $mbox_template_data['domain'] = $_data['domain'];
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1424
          $mbox_template_data['name'] = $_data['name'];
Open commit View diff
1424 $mbox_template_data['name'] = $_data['name'];
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1425
          $mbox_template_data['local_part'] = $_data['local_part'];
Open commit View diff
1425 $mbox_template_data['local_part'] = $_data['local_part'];
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1426
          $mbox_template_data['authsource'] = $_data['authsource'];
Open commit View diff
1426 $mbox_template_data['authsource'] = $_data['authsource'];
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1427
          $mbox_template_data['attribute_hash'] = $attribute_hash;
Open commit View diff
1427 $mbox_template_data['attribute_hash'] = $attribute_hash;
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1428
          $mbox_template_data['quota'] = intval($mbox_template_data['quota'] / 1048576);
Open commit View diff
1428 $mbox_template_data['quota'] = intval($mbox_template_data['quota'] / 1048576);
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1429
Open commit View diff
1429
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1430
          $mailbox_attributes = array('acl' => array());
Open commit View diff
1430 $mailbox_attributes = array('acl' => array());
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1431
          foreach ($mbox_template_data as $key => $value){
Open commit View diff
1431 foreach ($mbox_template_data as $key => $value){
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1432
            switch (true) {
Open commit View diff
1432 switch (true) {
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1433
              case (strpos($key, 'acl_') === 0 && $value != 0):
Open commit View diff
1433 case (strpos($key, 'acl_') === 0 && $value != 0):
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1434
                array_push($mailbox_attributes['acl'], str_replace('acl_' , '', $key));
Open commit View diff
1434 array_push($mailbox_attributes['acl'], str_replace('acl_' , '', $key));
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1435
              break;
Open commit View diff
1435 break;
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1436
              default:
Open commit View diff
1436 default:
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1437
                $mailbox_attributes[$key] = $value;
Open commit View diff
1437 $mailbox_attributes[$key] = $value;
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1438
              break;
Open commit View diff
1438 break;
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1439
            }
Open commit View diff
1439 }
same change e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1440
          }
Open commit View diff
1440 }
FreddleSpl0it about 3 years ago 4dc3222

[Web] fix bug on mailbox login

Full commit hash
4dc3222f03e8bf366dcc730c34b9db4cf1ab2cef
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1441
Open commit View diff
1441
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1442
          return mailbox('add', 'mailbox', $mailbox_attributes);
Open commit View diff
1442 return mailbox('add', 'mailbox', $mailbox_attributes);
FreddleSpl0it about 3 years ago e784c98

[Web] add "add mailbox_from_template" function

Full commit hash
e784c98a5a88cfcaf13e45071cc6038b3dee59fa
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1443
        break;
Open commit View diff
1443 break;
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1444
        case 'mta_sts':
Open commit View diff
1444 case 'mta_sts':
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1445
          $domain       = idn_to_ascii(strtolower(trim($_data['domain'])), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
1445 $domain = idn_to_ascii(strtolower(trim($_data['domain'])), 0, INTL_IDNA_VARIANT_UTS46);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1446
          $version      = strtolower($_data['version']);
Open commit View diff
1446 $version = strtolower($_data['version']);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1447
          $mode         = strtolower($_data['mode']);
Open commit View diff
1447 $mode = strtolower($_data['mode']);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1448
          $mx           = explode(",", preg_replace('/\s+/', '', $_data['mx']));
Open commit View diff
1448 $mx = explode(",", preg_replace('/\s+/', '', $_data['mx']));
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1449
          $max_age      = intval($_data['max_age']);
Open commit View diff
1449 $max_age = intval($_data['max_age']);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1450
          $active       = (intval($_data['active']) == 1) ? 1 : 0;
Open commit View diff
1450 $active = (intval($_data['active']) == 1) ? 1 : 0;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1451
          $id           = date('YmdHis');
Open commit View diff
1451 $id = date('YmdHis');
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1452
Open commit View diff
1452
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1453
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
1453 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1454
            $_SESSION['return'][] = array(
Open commit View diff
1454 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1455
              'type' => 'danger',
Open commit View diff
1455 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1456
              'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
1456 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1457
              'msg' => 'access_denied'
Open commit View diff
1457 'msg' => 'access_denied'
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1458
            );
Open commit View diff
1458 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1459
            return false;
Open commit View diff
1459 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1460
          }
Open commit View diff
1460 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1461
          if (empty($version) || !in_array($version, array('stsv1'))) {
Open commit View diff
1461 if (empty($version) || !in_array($version, array('stsv1'))) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1462
            $_SESSION['return'][] = array(
Open commit View diff
1462 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1463
              'type' => 'danger',
Open commit View diff
1463 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1464
              'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
1464 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1465
              'msg' => array('version_invalid', htmlspecialchars($domain))
Open commit View diff
1465 'msg' => array('version_invalid', htmlspecialchars($domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1466
            );
Open commit View diff
1466 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1467
            return false;
Open commit View diff
1467 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1468
          }
Open commit View diff
1468 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1469
          if (empty($mode) || !in_array($mode, array('enforce', 'testing', 'none'))) {
Open commit View diff
1469 if (empty($mode) || !in_array($mode, array('enforce', 'testing', 'none'))) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1470
            $_SESSION['return'][] = array(
Open commit View diff
1470 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1471
              'type' => 'danger',
Open commit View diff
1471 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1472
              'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
1472 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1473
              'msg' => array('mode_invalid', htmlspecialchars($domain))
Open commit View diff
1473 'msg' => array('mode_invalid', htmlspecialchars($domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1474
            );
Open commit View diff
1474 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1475
            return false;
Open commit View diff
1475 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1476
          }
Open commit View diff
1476 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1477
          if (empty($max_age) || $max_age < 0 || $max_age > 31536000) {
Open commit View diff
1477 if (empty($max_age) || $max_age < 0 || $max_age > 31536000) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1478
            $_SESSION['return'][] = array(
Open commit View diff
1478 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1479
              'type' => 'danger',
Open commit View diff
1479 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1480
              'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
1480 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1481
              'msg' => array('max_age_invalid', htmlspecialchars($domain))
Open commit View diff
1481 'msg' => array('max_age_invalid', htmlspecialchars($domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1482
            );
Open commit View diff
1482 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1483
            return false;
Open commit View diff
1483 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1484
          }
Open commit View diff
1484 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1485
          foreach ($mx as $index => $mx_domain) {
Open commit View diff
1485 foreach ($mx as $index => $mx_domain) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1486
            $mx_domain = idn_to_ascii(strtolower(trim($mx_domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
1486 $mx_domain = idn_to_ascii(strtolower(trim($mx_domain)), 0, INTL_IDNA_VARIANT_UTS46);
FreddleSpl0it 10 months ago a36485f

[Web] Allow wildcard subdomains for MTA-STS

Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90
Author
FreddleSpl0it <[email protected]>
Date
10 months ago
Selected line
1487
            if (!is_valid_domain_name($mx_domain, array('allow_wildcard' => true))) {
Open commit View diff
1487 if (!is_valid_domain_name($mx_domain, array('allow_wildcard' => true))) {
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1488
              $_SESSION['return'][] = array(
Open commit View diff
1488 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1489
                'type' => 'danger',
Open commit View diff
1489 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1490
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
1490 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1491
                'msg' => array('mx_invalid', htmlspecialchars($mx_domain))
Open commit View diff
1491 'msg' => array('mx_invalid', htmlspecialchars($mx_domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1492
              );
Open commit View diff
1492 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1493
              return false;
Open commit View diff
1493 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1494
            }
Open commit View diff
1494 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1495
          }
Open commit View diff
1495 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1496
Open commit View diff
1496
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1497
          try {
Open commit View diff
1497 try {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1498
            $stmt = $pdo->prepare("INSERT INTO `mta_sts` (`id`, `domain`, `version`, `mode`, `mx`, `max_age`, `active`)
Open commit View diff
1498 $stmt = $pdo->prepare("INSERT INTO `mta_sts` (`id`, `domain`, `version`, `mode`, `mx`, `max_age`, `active`)
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1499
              VALUES (:id, :domain, :version, :mode, :mx, :max_age, :active)");
Open commit View diff
1499 VALUES (:id, :domain, :version, :mode, :mx, :max_age, :active)");
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1500
            $stmt->execute(array(
Open commit View diff
1500 $stmt->execute(array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1501
              ':id' => $id,
Open commit View diff
1501 ':id' => $id,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1502
              ':domain' => $domain,
Open commit View diff
1502 ':domain' => $domain,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1503
              ':version' => $version,
Open commit View diff
1503 ':version' => $version,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1504
              ':mode' => $mode,
Open commit View diff
1504 ':mode' => $mode,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1505
              ':mx' => implode(",", $mx),
Open commit View diff
1505 ':mx' => implode(",", $mx),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1506
              ':max_age' => $max_age,
Open commit View diff
1506 ':max_age' => $max_age,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1507
              ':active' => $active
Open commit View diff
1507 ':active' => $active
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1508
            ));
Open commit View diff
1508 ));
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1509
          } catch (PDOException $e) {
Open commit View diff
1509 } catch (PDOException $e) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1510
            $_SESSION['return'][] = array(
Open commit View diff
1510 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1511
              'type' => 'danger',
Open commit View diff
1511 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1512
              'log' => array(__FUNCTION__, $_action, $_type, $_data),
Open commit View diff
1512 'log' => array(__FUNCTION__, $_action, $_type, $_data),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1513
              'msg' => $e->getMessage()
Open commit View diff
1513 'msg' => $e->getMessage()
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1514
            );
Open commit View diff
1514 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1515
            return false;
Open commit View diff
1515 return false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1516
          }
Open commit View diff
1516 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1517
        break;
Open commit View diff
1517 break;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1518
        case 'resource':
Open commit View diff
1518 case 'resource':
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
1519
          $domain             = idn_to_ascii(strtolower(trim($_data['domain'])), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
1519 $domain = idn_to_ascii(strtolower(trim($_data['domain'])), 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
1520
          $description        = $_data['description'];
Open commit View diff
1520 $description = $_data['description'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1521
          $local_part         = preg_replace('/[^\da-z]/i', '', preg_quote($description, '/'));
Open commit View diff
1521 $local_part = preg_replace('/[^\da-z]/i', '', preg_quote($description, '/'));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1522
          $name               = $local_part . '@' . $domain;
Open commit View diff
1522 $name = $local_part . '@' . $domain;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1523
          $kind               = $_data['kind'];
Open commit View diff
1523 $kind = $_data['kind'];
André about 8 years ago 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
1524
          $multiple_bookings  = intval($_data['multiple_bookings']);
Open commit View diff
1524 $multiple_bookings = intval($_data['multiple_bookings']);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1525
          $active = intval($_data['active']);
Open commit View diff
1525 $active = intval($_data['active']);
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1526
          if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
1526 if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1527
            $_SESSION['return'][] = array(
Open commit View diff
1527 $_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
1528
              'type' => 'danger',
Open commit View diff
1528 '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
1529
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1529 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1530
              'msg' => 'resource_invalid'
Open commit View diff
1530 'msg' => 'resource_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
1531
            );
Open commit View diff
1531 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1534
          if (empty($description)) {
Open commit View diff
1534 if (empty($description)) {
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
1535
            $_SESSION['return'][] = array(
Open commit View diff
1535 $_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
1536
              'type' => 'danger',
Open commit View diff
1536 '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
1537
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1537 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1538
              'msg' => 'description_invalid'
Open commit View diff
1538 'msg' => 'description_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
1539
            );
Open commit View diff
1539 );
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1541
          }
Open commit View diff
1541 }
André about 8 years ago 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
1542
          if (!isset($multiple_bookings) || $multiple_bookings < -1) {
Open commit View diff
1542 if (!isset($multiple_bookings) || $multiple_bookings < -1) {
same change 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
1543
            $multiple_bookings = -1;
Open commit View diff
1543 $multiple_bookings = -1;
same change 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1545
          if ($kind != 'location' && $kind != 'group' && $kind != 'thing') {
Open commit View diff
1545 if ($kind != 'location' && $kind != 'group' && $kind != 'thing') {
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
1546
            $_SESSION['return'][] = array(
Open commit View diff
1546 $_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
1547
              'type' => 'danger',
Open commit View diff
1547 '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
1548
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1548 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1549
              'msg' => 'resource_invalid'
Open commit View diff
1549 'msg' => 'resource_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
1550
            );
Open commit View diff
1550 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1553
          if (!is_valid_domain_name($domain)) {
Open commit View diff
1553 if (!is_valid_domain_name($domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1554
            $_SESSION['return'][] = array(
Open commit View diff
1554 $_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
1555
              'type' => 'danger',
Open commit View diff
1555 '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
1556
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1556 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1557
              'msg' => 'domain_invalid'
Open commit View diff
1557 'msg' => 'domain_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
1558
            );
Open commit View diff
1558 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1561
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
1561 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1562
            $_SESSION['return'][] = array(
Open commit View diff
1562 $_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
1563
              'type' => 'danger',
Open commit View diff
1563 '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
1564
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1564 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1568
          }
Open commit View diff
1568 }
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
1569
          $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :name");
Open commit View diff
1569 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `username` = :name");
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
1570
          $stmt->execute(array(':name' => $name));
Open commit View diff
1570 $stmt->execute(array(':name' => $name));
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
1571
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1571 $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
1572
          if ($num_results != 0) {
Open commit View diff
1572 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
1573
            $_SESSION['return'][] = array(
Open commit View diff
1573 $_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
1574
              'type' => 'danger',
Open commit View diff
1574 'type' => 'danger',
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
1575
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1575 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1576
              'msg' => array('object_exists', htmlspecialchars($name))
Open commit View diff
1576 'msg' => array('object_exists', htmlspecialchars($name))
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
1577
            );
Open commit View diff
1577 );
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
1578
            return false;
Open commit View diff
1578 return false;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1579
          }
Open commit View diff
1579 }
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
1580
          $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE address= :name");
Open commit View diff
1580 $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE address= :name");
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
1581
          $stmt->execute(array(':name' => $name));
Open commit View diff
1581 $stmt->execute(array(':name' => $name));
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
1582
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1582 $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
1583
          if ($num_results != 0) {
Open commit View diff
1583 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
1584
            $_SESSION['return'][] = array(
Open commit View diff
1584 $_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
1585
              'type' => 'danger',
Open commit View diff
1585 '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
1586
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1586 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1587
              'msg' => array('is_alias', htmlspecialchars($name))
Open commit View diff
1587 'msg' => array('is_alias', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1590
          }
Open commit View diff
1590 }
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
1591
          $stmt = $pdo->prepare("SELECT `address` FROM `spamalias` WHERE `address`= :name");
Open commit View diff
1591 $stmt = $pdo->prepare("SELECT `address` FROM `spamalias` WHERE `address`= :name");
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
1592
          $stmt->execute(array(':name' => $name));
Open commit View diff
1592 $stmt->execute(array(':name' => $name));
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
1593
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1593 $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
1594
          if ($num_results != 0) {
Open commit View diff
1594 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
1595
            $_SESSION['return'][] = array(
Open commit View diff
1595 $_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
1596
              'type' => 'danger',
Open commit View diff
1596 '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
1597
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1597 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1598
              'msg' => array('is_spam_alias', htmlspecialchars($name))
Open commit View diff
1598 'msg' => array('is_spam_alias', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1601
          }
Open commit View diff
1601 }
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
1602
          $stmt = $pdo->prepare("SELECT `domain` FROM `domain` WHERE `domain`= :domain");
Open commit View diff
1602 $stmt = $pdo->prepare("SELECT `domain` FROM `domain` WHERE `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
1603
          $stmt->execute(array(':domain' => $domain));
Open commit View diff
1603 $stmt->execute(array(':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
1604
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
1604 $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
1605
          if ($num_results == 0) {
Open commit View diff
1605 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
1606
            $_SESSION['return'][] = array(
Open commit View diff
1606 $_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
1607
              'type' => 'danger',
Open commit View diff
1607 '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
1608
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1608 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1609
              'msg' => array('domain_not_found', htmlspecialchars($domain))
Open commit View diff
1609 'msg' => array('domain_not_found', htmlspecialchars($domain))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1612
          }
Open commit View diff
1612 }
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
1613
          $stmt = $pdo->prepare("INSERT INTO `mailbox` (`username`, `password`, `name`, `quota`, `local_part`, `domain`, `active`, `multiple_bookings`, `kind`)
Open commit View diff
1613 $stmt = $pdo->prepare("INSERT INTO `mailbox` (`username`, `password`, `name`, `quota`, `local_part`, `domain`, `active`, `multiple_bookings`, `kind`)
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1614
            VALUES (:name, 'RESOURCE', :description, 0, :local_part, :domain, :active, :multiple_bookings, :kind)");
Open commit View diff
1614 VALUES (:name, 'RESOURCE', :description, 0, :local_part, :domain, :active, :multiple_bookings, :kind)");
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
1615
          $stmt->execute(array(
Open commit View diff
1615 $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
1616
            ':name' => $name,
Open commit View diff
1616 ':name' => $name,
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
1617
            ':description' => $description,
Open commit View diff
1617 ':description' => $description,
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
1618
            ':local_part' => $local_part,
Open commit View diff
1618 ':local_part' => $local_part,
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
1619
            ':domain' => $domain,
Open commit View diff
1619 ':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
1620
            ':active' => $active,
Open commit View diff
1620 ':active' => $active,
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
1621
            ':kind' => $kind,
Open commit View diff
1621 ':kind' => $kind,
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
1622
            ':multiple_bookings' => $multiple_bookings
Open commit View diff
1622 ':multiple_bookings' => $multiple_bookings
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
1623
          ));
Open commit View diff
1623 ));
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
1624
          $_SESSION['return'][] = array(
Open commit View diff
1624 $_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
1625
            'type' => 'success',
Open commit View diff
1625 '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
1626
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1626 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1627
            'msg' => array('resource_added', htmlspecialchars($name))
Open commit View diff
1627 'msg' => array('resource_added', htmlspecialchars($name))
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
1628
          );
Open commit View diff
1628 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1629
Open commit View diff
1629
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1630
          // Track affected mailboxes for SOGo update
Open commit View diff
1630 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1631
          $update_sogo_mailboxes[] = $name;
Open commit View diff
1631 $update_sogo_mailboxes[] = $name;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1632
        break;
Open commit View diff
1632 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1633
        case 'domain_templates':
Open commit View diff
1633 case 'domain_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1634
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
1634 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1635
            $_SESSION['return'][] = array(
Open commit View diff
1635 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1636
              'type' => 'danger',
Open commit View diff
1636 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1637
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1637 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1638
              'msg' => 'access_denied'
Open commit View diff
1638 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1639
            );
Open commit View diff
1639 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1640
            return false;
Open commit View diff
1640 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1641
          }
Open commit View diff
1641 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1642
          if (empty($_data["template"])){
Open commit View diff
1642 if (empty($_data["template"])){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1643
            $_SESSION['return'][] = array(
Open commit View diff
1643 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1644
              'type' => 'danger',
Open commit View diff
1644 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1645
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1645 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1646
              'msg' => 'template_name_invalid'
Open commit View diff
1646 'msg' => 'template_name_invalid'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1647
            );
Open commit View diff
1647 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1648
            return false;
Open commit View diff
1648 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1649
          }
Open commit View diff
1649 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1650
Open commit View diff
1650
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1651
          // check if template name exists, return false
Open commit View diff
1651 // check if template name exists, return false
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1652
          $stmt = $pdo->prepare("SELECT id FROM `templates` WHERE `type` = :type AND `template` = :template");
Open commit View diff
1652 $stmt = $pdo->prepare("SELECT id FROM `templates` WHERE `type` = :type AND `template` = :template");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1653
          $stmt->execute(array(
Open commit View diff
1653 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1654
            ":type" => "domain",
Open commit View diff
1654 ":type" => "domain",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1655
            ":template" => $_data["template"]
Open commit View diff
1655 ":template" => $_data["template"]
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1656
          ));
Open commit View diff
1656 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1657
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
1657 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1658
Open commit View diff
1658
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1659
          if (!empty($row)){
Open commit View diff
1659 if (!empty($row)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1660
            $_SESSION['return'][] = array(
Open commit View diff
1660 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1661
              'type' => 'danger',
Open commit View diff
1661 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1662
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1662 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1663
              'msg' => array('template_exists', $_data["template"])
Open commit View diff
1663 'msg' => array('template_exists', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1664
            );
Open commit View diff
1664 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1665
            return false;
Open commit View diff
1665 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1666
          }
Open commit View diff
1666 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1667
Open commit View diff
1667
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1668
          // check attributes
Open commit View diff
1668 // check attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1669
          $attr = array();
Open commit View diff
1669 $attr = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1670
          $attr['tags']                       = (isset($_data['tags'])) ? $_data['tags'] : array();
Open commit View diff
1670 $attr['tags'] = (isset($_data['tags'])) ? $_data['tags'] : array();
DerLinkman over 3 years ago f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
1671
          $attr['max_num_aliases_for_domain'] = (!empty($_data['max_num_aliases_for_domain'])) ? intval($_data['max_num_aliases_for_domain']) : 400;
Open commit View diff
1671 $attr['max_num_aliases_for_domain'] = (!empty($_data['max_num_aliases_for_domain'])) ? intval($_data['max_num_aliases_for_domain']) : 400;
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
1672
          $attr['max_num_mboxes_for_domain']  = (!empty($_data['max_num_mboxes_for_domain'])) ? intval($_data['max_num_mboxes_for_domain']) : 10;
Open commit View diff
1672 $attr['max_num_mboxes_for_domain'] = (!empty($_data['max_num_mboxes_for_domain'])) ? intval($_data['max_num_mboxes_for_domain']) : 10;
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
1673
          $attr['def_quota_for_mbox']         = (!empty($_data['def_quota_for_mbox'])) ? intval($_data['def_quota_for_mbox']) * 1048576 : 3072 * 1048576;
Open commit View diff
1673 $attr['def_quota_for_mbox'] = (!empty($_data['def_quota_for_mbox'])) ? intval($_data['def_quota_for_mbox']) * 1048576 : 3072 * 1048576;
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
1674
          $attr['max_quota_for_mbox']         = (!empty($_data['max_quota_for_mbox'])) ? intval($_data['max_quota_for_mbox']) * 1048576 : 10240 * 1048576;
Open commit View diff
1674 $attr['max_quota_for_mbox'] = (!empty($_data['max_quota_for_mbox'])) ? intval($_data['max_quota_for_mbox']) * 1048576 : 10240 * 1048576;
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
1675
          $attr['max_quota_for_domain']       = (!empty($_data['max_quota_for_domain'])) ? intval($_data['max_quota_for_domain']) * 1048576 : 10240 * 1048576;
Open commit View diff
1675 $attr['max_quota_for_domain'] = (!empty($_data['max_quota_for_domain'])) ? intval($_data['max_quota_for_domain']) * 1048576 : 10240 * 1048576;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1676
          $attr['rl_frame']                   = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
Open commit View diff
1676 $attr['rl_frame'] = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1677
          $attr['rl_value']                   = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
Open commit View diff
1677 $attr['rl_value'] = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1678
          $attr['active']                     = isset($_data['active']) ? intval($_data['active']) : 1;
Open commit View diff
1678 $attr['active'] = isset($_data['active']) ? intval($_data['active']) : 1;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1679
          $attr['gal']                        = (isset($_data['gal'])) ? intval($_data['gal']) : 1;
Open commit View diff
1679 $attr['gal'] = (isset($_data['gal'])) ? intval($_data['gal']) : 1;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1680
          $attr['backupmx']                   = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : 0;
Open commit View diff
1680 $attr['backupmx'] = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1681
          $attr['relay_all_recipients']       = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : 0;
Open commit View diff
1681 $attr['relay_all_recipients'] = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1682
          $attr['relay_unknown_only']          = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : 0;
Open commit View diff
1682 $attr['relay_unknown_only'] = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1683
          $attr['dkim_selector']              = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : "dkim";
Open commit View diff
1683 $attr['dkim_selector'] = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : "dkim";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1684
          $attr['key_size']                   = isset($_data['key_size']) ? intval($_data['key_size']) : 2048;
Open commit View diff
1684 $attr['key_size'] = isset($_data['key_size']) ? intval($_data['key_size']) : 2048;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1685
Open commit View diff
1685
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1686
          // save template
Open commit View diff
1686 // save template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1687
          $stmt = $pdo->prepare("INSERT INTO `templates` (`type`, `template`, `attributes`)
Open commit View diff
1687 $stmt = $pdo->prepare("INSERT INTO `templates` (`type`, `template`, `attributes`)
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1688
            VALUES (:type, :template, :attributes)");
Open commit View diff
1688 VALUES (:type, :template, :attributes)");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1689
          $stmt->execute(array(
Open commit View diff
1689 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1690
            ":type" => "domain",
Open commit View diff
1690 ":type" => "domain",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1691
            ":template" => $_data["template"],
Open commit View diff
1691 ":template" => $_data["template"],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1692
            ":attributes" => json_encode($attr)
Open commit View diff
1692 ":attributes" => json_encode($attr)
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1693
          ));
Open commit View diff
1693 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1694
Open commit View diff
1694
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1695
          // success
Open commit View diff
1695 // success
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1696
          $_SESSION['return'][] = array(
Open commit View diff
1696 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1697
            'type' => 'success',
Open commit View diff
1697 'type' => 'success',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1698
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1698 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1699
            'msg' => array('template_added', $_data["template"])
Open commit View diff
1699 'msg' => array('template_added', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1700
          );
Open commit View diff
1700 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1701
          return true;
Open commit View diff
1701 return true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1702
        break;
Open commit View diff
1702 break;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1703
        case 'mailbox_templates':
Open commit View diff
1703 case 'mailbox_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1704
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
1704 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1705
            $_SESSION['return'][] = array(
Open commit View diff
1705 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1706
              'type' => 'danger',
Open commit View diff
1706 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1707
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1707 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1708
              'msg' => 'access_denied'
Open commit View diff
1708 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1709
            );
Open commit View diff
1709 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1710
            return false;
Open commit View diff
1710 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1711
          }
Open commit View diff
1711 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1712
          if (empty($_data["template"])){
Open commit View diff
1712 if (empty($_data["template"])){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1713
            $_SESSION['return'][] = array(
Open commit View diff
1713 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1714
              'type' => 'danger',
Open commit View diff
1714 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1715
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1715 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1716
              'msg' => 'template_name_invalid'
Open commit View diff
1716 'msg' => 'template_name_invalid'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1717
            );
Open commit View diff
1717 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1718
            return false;
Open commit View diff
1718 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1719
          }
Open commit View diff
1719 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1720
Open commit View diff
1720
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1721
          // check if template name exists, return false
Open commit View diff
1721 // check if template name exists, return false
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1722
          $stmt = $pdo->prepare("SELECT id FROM `templates` WHERE `type` = :type AND `template` = :template");
Open commit View diff
1722 $stmt = $pdo->prepare("SELECT id FROM `templates` WHERE `type` = :type AND `template` = :template");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1723
          $stmt->execute(array(
Open commit View diff
1723 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1724
            ":type" => "mailbox",
Open commit View diff
1724 ":type" => "mailbox",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1725
            ":template" => $_data["template"]
Open commit View diff
1725 ":template" => $_data["template"]
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1726
          ));
Open commit View diff
1726 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1727
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
1727 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1728
          if (!empty($row)){
Open commit View diff
1728 if (!empty($row)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1729
            $_SESSION['return'][] = array(
Open commit View diff
1729 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1730
              'type' => 'danger',
Open commit View diff
1730 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1731
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1731 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1732
              'msg' => array('template_exists', $_data["template"])
Open commit View diff
1732 'msg' => array('template_exists', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1733
            );
Open commit View diff
1733 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1734
            return false;
Open commit View diff
1734 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1735
          }
Open commit View diff
1735 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1736
Open commit View diff
1736
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1737
Open commit View diff
1737
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1738
          // check attributes
Open commit View diff
1738 // check attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1739
          $attr = array();
Open commit View diff
1739 $attr = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1740
          $attr["quota"]                       = isset($_data['quota']) ? intval($_data['quota']) * 1048576 : 0;
Open commit View diff
1740 $attr["quota"] = isset($_data['quota']) ? intval($_data['quota']) * 1048576 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1741
          $attr['tags']                        = (isset($_data['tags'])) ? $_data['tags'] : array();
Open commit View diff
1741 $attr['tags'] = (isset($_data['tags'])) ? $_data['tags'] : array();
FreddleSpl0it 12 months ago 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
1742
          $attr["tagged_mail_handler"]         = (!empty($_data['tagged_mail_handler'])) ? $_data['tagged_mail_handler'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['tagged_mail_handler']);
Open commit View diff
1742 $attr["tagged_mail_handler"] = (!empty($_data['tagged_mail_handler'])) ? $_data['tagged_mail_handler'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['tagged_mail_handler']);
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1743
          $attr["quarantine_notification"]     = (!empty($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_notification']);
Open commit View diff
1743 $attr["quarantine_notification"] = (!empty($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_notification']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1744
          $attr["quarantine_category"]         = (!empty($_data['quarantine_category'])) ? $_data['quarantine_category'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_category']);
Open commit View diff
1744 $attr["quarantine_category"] = (!empty($_data['quarantine_category'])) ? $_data['quarantine_category'] : strval($MAILBOX_DEFAULT_ATTRIBUTES['quarantine_category']);
FreddleSpl0it 4 months ago 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1745
          // Validate quarantine_category
Open commit View diff
1745 // Validate quarantine_category
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1746
          if (!in_array($attr["quarantine_category"], array('add_header', 'reject', 'all'))) {
Open commit View diff
1746 if (!in_array($attr["quarantine_category"], array('add_header', 'reject', 'all'))) {
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1747
            $_SESSION['return'][] = array(
Open commit View diff
1747 $_SESSION['return'][] = array(
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1748
              'type' => 'danger',
Open commit View diff
1748 'type' => 'danger',
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1749
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
1749 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1750
              'msg' => 'quarantine_category_invalid'
Open commit View diff
1750 'msg' => 'quarantine_category_invalid'
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1751
            );
Open commit View diff
1751 );
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1752
            return false;
Open commit View diff
1752 return false;
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1753
          }
Open commit View diff
1753 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1754
          $attr["rl_frame"]                    = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
Open commit View diff
1754 $attr["rl_frame"] = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1755
          $attr["rl_value"]                    = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
Open commit View diff
1755 $attr["rl_value"] = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1756
          $attr["force_pw_update"]             = isset($_data['force_pw_update']) ? intval($_data['force_pw_update']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_pw_update']);
Open commit View diff
1756 $attr["force_pw_update"] = isset($_data['force_pw_update']) ? intval($_data['force_pw_update']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_pw_update']);
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
1757
          $attr["force_tfa"]                   = isset($_data['force_tfa']) ? intval($_data['force_tfa']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_tfa']);
Open commit View diff
1757 $attr["force_tfa"] = isset($_data['force_tfa']) ? intval($_data['force_tfa']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['force_tfa']);
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1758
          $attr["sogo_access"]                 = isset($_data['sogo_access']) ? intval($_data['sogo_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sogo_access']);
Open commit View diff
1758 $attr["sogo_access"] = isset($_data['sogo_access']) ? intval($_data['sogo_access']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['sogo_access']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1759
          $attr["active"]                      = isset($_data['active']) ? intval($_data['active']) : 1;
Open commit View diff
1759 $attr["active"] = isset($_data['active']) ? intval($_data['active']) : 1;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1760
          $attr["tls_enforce_in"]              = isset($_data['tls_enforce_in']) ? intval($_data['tls_enforce_in']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_in']);
Open commit View diff
1760 $attr["tls_enforce_in"] = isset($_data['tls_enforce_in']) ? intval($_data['tls_enforce_in']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_in']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1761
          $attr["tls_enforce_out"]             = isset($_data['tls_enforce_out']) ? intval($_data['tls_enforce_out']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_out']);
Open commit View diff
1761 $attr["tls_enforce_out"] = isset($_data['tls_enforce_out']) ? intval($_data['tls_enforce_out']) : intval($MAILBOX_DEFAULT_ATTRIBUTES['tls_enforce_out']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1762
          if (isset($_data['protocol_access'])) {
Open commit View diff
1762 if (isset($_data['protocol_access'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1763
            $_data['protocol_access'] = (array)$_data['protocol_access'];
Open commit View diff
1763 $_data['protocol_access'] = (array)$_data['protocol_access'];
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1764
            $attr['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1764 $attr['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1765
            $attr['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1765 $attr['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1766
            $attr['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1766 $attr['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
same change 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1767
            $attr['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1767 $attr['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1768
            $attr['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1768 $attr['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1769
            $attr['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
1769 $attr['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1770
          }
Open commit View diff
1770 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1771
          else {
Open commit View diff
1771 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1772
            $attr['imap_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['imap_access']);
Open commit View diff
1772 $attr['imap_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['imap_access']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1773
            $attr['pop3_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['pop3_access']);
Open commit View diff
1773 $attr['pop3_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['pop3_access']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1774
            $attr['smtp_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['smtp_access']);
Open commit View diff
1774 $attr['smtp_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['smtp_access']);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1775
            $attr['sieve_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['sieve_access']);
Open commit View diff
1775 $attr['sieve_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['sieve_access']);
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1776
            $attr['eas_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['eas_access']);
Open commit View diff
1776 $attr['eas_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['eas_access']);
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
1777
            $attr['dav_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['dav_access']);
Open commit View diff
1777 $attr['dav_access'] = intval($MAILBOX_DEFAULT_ATTRIBUTES['dav_access']);
FreddleSpl0it over 2 years ago 38497b0

[Web] use template for default values in mbox and domain creation

Full commit hash
38497b04acb872753f3b5d6f00c7c941d2da8ef5
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1778
          }
Open commit View diff
1778 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1779
          if (isset($_data['acl'])) {
Open commit View diff
1779 if (isset($_data['acl'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1780
            $_data['acl'] = (array)$_data['acl'];
Open commit View diff
1780 $_data['acl'] = (array)$_data['acl'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1781
            $attr['acl_spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
Open commit View diff
1781 $attr['acl_spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1782
            $attr['acl_tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
1782 $attr['acl_tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1783
            $attr['acl_spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
Open commit View diff
1783 $attr['acl_spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1784
            $attr['acl_spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
1784 $attr['acl_spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1785
            $attr['acl_delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
Open commit View diff
1785 $attr['acl_delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1786
            $attr['acl_syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
Open commit View diff
1786 $attr['acl_syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1787
            $attr['acl_eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1787 $attr['acl_eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1788
            $attr['acl_sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1788 $attr['acl_sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1789
            $attr['acl_pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
Open commit View diff
1789 $attr['acl_pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1790
            $attr['acl_quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
Open commit View diff
1790 $attr['acl_quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1791
            $attr['acl_quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
Open commit View diff
1791 $attr['acl_quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1792
            $attr['acl_quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
Open commit View diff
1792 $attr['acl_quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1793
            $attr['acl_quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
Open commit View diff
1793 $attr['acl_quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1794
            $attr['acl_app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
Open commit View diff
1794 $attr['acl_app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
1795
            $attr['acl_pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
1795 $attr['acl_pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1796
          } else {
Open commit View diff
1796 } else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1797
            $_data['acl'] = (array)$_data['acl'];
Open commit View diff
1797 $_data['acl'] = (array)$_data['acl'];
FreddleSpl0it almost 3 years ago 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1798
            $attr['acl_spam_alias'] = 0;
Open commit View diff
1798 $attr['acl_spam_alias'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1799
            $attr['acl_tls_policy'] = 0;
Open commit View diff
1799 $attr['acl_tls_policy'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1800
            $attr['acl_spam_score'] = 0;
Open commit View diff
1800 $attr['acl_spam_score'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1801
            $attr['acl_spam_policy'] = 0;
Open commit View diff
1801 $attr['acl_spam_policy'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1802
            $attr['acl_delimiter_action'] = 0;
Open commit View diff
1802 $attr['acl_delimiter_action'] = 0;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1803
            $attr['acl_syncjobs'] = 0;
Open commit View diff
1803 $attr['acl_syncjobs'] = 0;
FreddleSpl0it almost 3 years ago 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1804
            $attr['acl_eas_reset'] = 0;
Open commit View diff
1804 $attr['acl_eas_reset'] = 0;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1805
            $attr['acl_sogo_profile_reset'] = 0;
Open commit View diff
1805 $attr['acl_sogo_profile_reset'] = 0;
FreddleSpl0it almost 3 years ago 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1806
            $attr['acl_pushover'] = 0;
Open commit View diff
1806 $attr['acl_pushover'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1807
            $attr['acl_quarantine'] = 0;
Open commit View diff
1807 $attr['acl_quarantine'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1808
            $attr['acl_quarantine_attachments'] = 0;
Open commit View diff
1808 $attr['acl_quarantine_attachments'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1809
            $attr['acl_quarantine_notification'] = 0;
Open commit View diff
1809 $attr['acl_quarantine_notification'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1810
            $attr['acl_quarantine_category'] = 0;
Open commit View diff
1810 $attr['acl_quarantine_category'] = 0;
same change 33a38e6

[Web] Avoid setting default ACL on create when nothing is selected

Full commit hash
33a38e6fde83e10f5a7987fcc624d6edda8e39f2
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
1811
            $attr['acl_app_passwds'] = 0;
Open commit View diff
1811 $attr['acl_app_passwds'] = 0;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1812
          }
Open commit View diff
1812 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1813
Open commit View diff
1813
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1814
Open commit View diff
1814
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1815
Open commit View diff
1815
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1816
          // save template
Open commit View diff
1816 // save template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1817
          $stmt = $pdo->prepare("INSERT INTO `templates` (`type`, `template`, `attributes`)
Open commit View diff
1817 $stmt = $pdo->prepare("INSERT INTO `templates` (`type`, `template`, `attributes`)
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1818
          VALUES (:type, :template, :attributes)");
Open commit View diff
1818 VALUES (:type, :template, :attributes)");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1819
          $stmt->execute(array(
Open commit View diff
1819 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1820
            ":type" => "mailbox",
Open commit View diff
1820 ":type" => "mailbox",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1821
            ":template" => $_data["template"],
Open commit View diff
1821 ":template" => $_data["template"],
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1822
            ":attributes" => json_encode($attr)
Open commit View diff
1822 ":attributes" => json_encode($attr)
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1823
          ));
Open commit View diff
1823 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1824
Open commit View diff
1824
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1825
          // success
Open commit View diff
1825 // success
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1826
          $_SESSION['return'][] = array(
Open commit View diff
1826 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1827
            'type' => 'success',
Open commit View diff
1827 'type' => 'success',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1828
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1828 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1829
            'msg' => array('template_added', $_data["template"])
Open commit View diff
1829 'msg' => array('template_added', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1830
          );
Open commit View diff
1830 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1831
          return true;
Open commit View diff
1831 return true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1832
        break;
Open commit View diff
1832 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1837
        case 'alias_domain':
Open commit View diff
1837 case 'alias_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
1838
          $alias_domains = (array)$_data['alias_domain'];
Open commit View diff
1838 $alias_domains = (array)$_data['alias_domain'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1839
          foreach ($alias_domains as $alias_domain) {
Open commit View diff
1839 foreach ($alias_domains as $alias_domain) {
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
1840
            $alias_domain = idn_to_ascii(strtolower(trim($alias_domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
1840 $alias_domain = idn_to_ascii(strtolower(trim($alias_domain)), 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
1841
            $is_now = mailbox('get', 'alias_domain_details', $alias_domain);
Open commit View diff
1841 $is_now = mailbox('get', 'alias_domain_details', $alias_domain);
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1842
            if (!empty($is_now)) {
Open commit View diff
1842 if (!empty($is_now)) {
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
1843
              $active         = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
1843 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
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
1844
              $target_domain  = (!empty($_data['target_domain'])) ? idn_to_ascii(strtolower(trim($_data['target_domain'])), 0, INTL_IDNA_VARIANT_UTS46) : $is_now['target_domain'];
Open commit View diff
1844 $target_domain = (!empty($_data['target_domain'])) ? idn_to_ascii(strtolower(trim($_data['target_domain'])), 0, INTL_IDNA_VARIANT_UTS46) : $is_now['target_domain'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1846
            else {
Open commit View diff
1846 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
1847
              $_SESSION['return'][] = array(
Open commit View diff
1847 $_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
1848
                'type' => 'danger',
Open commit View diff
1848 '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
1849
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1849 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1850
                'msg' => array('alias_domain_invalid', htmlspecialchars($alias_domain))
Open commit View diff
1850 'msg' => array('alias_domain_invalid', htmlspecialchars($alias_domain))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1854
            if (!is_valid_domain_name($target_domain)) {
Open commit View diff
1854 if (!is_valid_domain_name($target_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1855
              $_SESSION['return'][] = array(
Open commit View diff
1855 $_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
1856
                'type' => 'danger',
Open commit View diff
1856 '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
1857
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1857 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1858
                'msg' => array('target_domain_invalid', htmlspecialchars($target_domain))
Open commit View diff
1858 'msg' => array('target_domain_invalid', htmlspecialchars($target_domain))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1862
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $target_domain)) {
Open commit View diff
1862 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $target_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1863
              $_SESSION['return'][] = array(
Open commit View diff
1863 $_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
1864
                'type' => 'danger',
Open commit View diff
1864 '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
1865
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1865 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1866
                'msg' => 'access_denied'
Open commit View diff
1866 '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
1867
              );
Open commit View diff
1867 );
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
1868
              continue;
Open commit View diff
1868 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
1869
            }
Open commit View diff
1869 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1870
            if (empty(mailbox('get', 'domain_details', $target_domain)) || !empty(mailbox('get', 'alias_domain_details', $target_domain))) {
Open commit View diff
1870 if (empty(mailbox('get', 'domain_details', $target_domain)) || !empty(mailbox('get', 'alias_domain_details', $target_domain))) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1871
              $_SESSION['return'][] = array(
Open commit View diff
1871 $_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
1872
                'type' => 'danger',
Open commit View diff
1872 '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
1873
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1873 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1874
                'msg' => array('target_domain_invalid', htmlspecialchars($target_domain))
Open commit View diff
1874 'msg' => array('target_domain_invalid', htmlspecialchars($target_domain))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1875
              );
Open commit View diff
1875 );
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
1876
              continue;
Open commit View diff
1876 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
1877
            }
Open commit View diff
1877 }
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
1878
            $stmt = $pdo->prepare("UPDATE `alias_domain` SET
Open commit View diff
1878 $stmt = $pdo->prepare("UPDATE `alias_domain` SET
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
1879
              `target_domain` = :target_domain,
Open commit View diff
1879 `target_domain` = :target_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
1880
              `active` = :active
Open commit View diff
1880 `active` = :active
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
1881
                WHERE `alias_domain` = :alias_domain");
Open commit View diff
1881 WHERE `alias_domain` = :alias_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
1882
            $stmt->execute(array(
Open commit View diff
1882 $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
1883
              ':alias_domain' => $alias_domain,
Open commit View diff
1883 ':alias_domain' => $alias_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
1884
              ':target_domain' => $target_domain,
Open commit View diff
1884 ':target_domain' => $target_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
1885
              ':active' => $active
Open commit View diff
1885 ':active' => $active
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
1886
            ));
Open commit View diff
1886 ));
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
1887
            $_SESSION['return'][] = array(
Open commit View diff
1887 $_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
1888
              'type' => 'success',
Open commit View diff
1888 '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
1889
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1889 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1890
              'msg' => array('aliasd_modified', htmlspecialchars($alias_domain))
Open commit View diff
1890 'msg' => array('aliasd_modified', htmlspecialchars($alias_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
1891
            );
Open commit View diff
1891 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1901
          }
Open commit View diff
1901 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1902
          if (!hasACLAccess("tls_policy")) {
Open commit View diff
1902 if (!hasACLAccess("tls_policy")) {
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
1903
            $_SESSION['return'][] = array(
Open commit View diff
1903 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
1904
              'type' => 'danger',
Open commit View diff
1904 '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
1905
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1905 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
1907
            );
Open commit View diff
1907 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
1908
            return false;
Open commit View diff
1908 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
1909
          }
Open commit View diff
1909 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1910
          foreach ($usernames as $username) {
Open commit View diff
1910 foreach ($usernames as $username) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1911
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
1911 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
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
1912
              $_SESSION['return'][] = array(
Open commit View diff
1912 $_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
1913
                'type' => 'danger',
Open commit View diff
1913 '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
1914
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1914 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1915
                'msg' => 'access_denied'
Open commit View diff
1915 '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
1916
              );
Open commit View diff
1916 );
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
1917
              continue;
Open commit View diff
1917 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
1918
            }
Open commit View diff
1918 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1919
            $is_now = mailbox('get', 'tls_policy', $username, $_extra);
Open commit View diff
1919 $is_now = mailbox('get', 'tls_policy', $username, $_extra);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1920
            if (!empty($is_now)) {
Open commit View diff
1920 if (!empty($is_now)) {
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1921
              $tls_enforce_in = (isset($_data['tls_enforce_in'])) ? intval($_data['tls_enforce_in']) : $is_now['tls_enforce_in'];
Open commit View diff
1921 $tls_enforce_in = (isset($_data['tls_enforce_in'])) ? intval($_data['tls_enforce_in']) : $is_now['tls_enforce_in'];
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1922
              $tls_enforce_out = (isset($_data['tls_enforce_out'])) ? intval($_data['tls_enforce_out']) : $is_now['tls_enforce_out'];
Open commit View diff
1922 $tls_enforce_out = (isset($_data['tls_enforce_out'])) ? intval($_data['tls_enforce_out']) : $is_now['tls_enforce_out'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1924
            else {
Open commit View diff
1924 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
1925
              $_SESSION['return'][] = array(
Open commit View diff
1925 $_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
1926
                'type' => 'danger',
Open commit View diff
1926 '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
1927
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1927 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1928
                'msg' => 'access_denied'
Open commit View diff
1928 '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
1929
              );
Open commit View diff
1929 );
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
1930
              continue;
Open commit View diff
1930 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
1931
            }
Open commit View diff
1931 }
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
1932
            $stmt = $pdo->prepare("UPDATE `mailbox`
Open commit View diff
1932 $stmt = $pdo->prepare("UPDATE `mailbox`
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
1933
              SET `attributes` = JSON_SET(`attributes`, '$.tls_enforce_out', :tls_out),
Open commit View diff
1933 SET `attributes` = JSON_SET(`attributes`, '$.tls_enforce_out', :tls_out),
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
1934
                  `attributes` = JSON_SET(`attributes`, '$.tls_enforce_in', :tls_in)
Open commit View diff
1934 `attributes` = JSON_SET(`attributes`, '$.tls_enforce_in', :tls_in)
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
1935
                    WHERE `username` = :username");
Open commit View diff
1935 WHERE `username` = :username");
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
1936
            $stmt->execute(array(
Open commit View diff
1936 $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
1937
              ':tls_out' => intval($tls_enforce_out),
Open commit View diff
1937 ':tls_out' => intval($tls_enforce_out),
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
1938
              ':tls_in' => intval($tls_enforce_in),
Open commit View diff
1938 ':tls_in' => intval($tls_enforce_in),
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
1939
              ':username' => $username
Open commit View diff
1939 ':username' => $username
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
1940
            ));
Open commit View diff
1940 ));
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
1941
            $_SESSION['return'][] = array(
Open commit View diff
1941 $_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
1942
              'type' => 'success',
Open commit View diff
1942 '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
1943
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1943 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
1944
              'msg' => array('mailbox_modified', $username)
Open commit View diff
1944 'msg' => array('mailbox_modified', $username)
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
1945
            );
Open commit View diff
1945 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1947
        break;
Open commit View diff
1947 break;
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1948
        case 'quarantine_notification':
Open commit View diff
1948 case 'quarantine_notification':
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1949
          if (!is_array($_data['username'])) {
Open commit View diff
1949 if (!is_array($_data['username'])) {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1950
            $usernames = array();
Open commit View diff
1950 $usernames = array();
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1951
            $usernames[] = $_data['username'];
Open commit View diff
1951 $usernames[] = $_data['username'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1952
          }
Open commit View diff
1952 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1953
          else {
Open commit View diff
1953 else {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1954
            $usernames = $_data['username'];
Open commit View diff
1954 $usernames = $_data['username'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1955
          }
Open commit View diff
1955 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1956
          if (!hasACLAccess("quarantine_notification")) {
Open commit View diff
1956 if (!hasACLAccess("quarantine_notification")) {
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1957
            $_SESSION['return'][] = array(
Open commit View diff
1957 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1958
              'type' => 'danger',
Open commit View diff
1958 'type' => 'danger',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1959
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1959 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1960
              'msg' => 'access_denied'
Open commit View diff
1960 'msg' => 'access_denied'
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1961
            );
Open commit View diff
1961 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1962
            return false;
Open commit View diff
1962 return false;
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1963
          }
Open commit View diff
1963 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1964
          foreach ($usernames as $username) {
Open commit View diff
1964 foreach ($usernames as $username) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1965
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
1965 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1966
              $_SESSION['return'][] = array(
Open commit View diff
1966 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1967
                'type' => 'danger',
Open commit View diff
1967 'type' => 'danger',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1968
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1968 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1969
                'msg' => 'access_denied'
Open commit View diff
1969 'msg' => 'access_denied'
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1970
              );
Open commit View diff
1970 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1971
              continue;
Open commit View diff
1971 continue;
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1972
            }
Open commit View diff
1972 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
1973
            $is_now = mailbox('get', 'quarantine_notification', $username, $_extra);
Open commit View diff
1973 $is_now = mailbox('get', 'quarantine_notification', $username, $_extra);
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1974
            if (!empty($is_now)) {
Open commit View diff
1974 if (!empty($is_now)) {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1975
              $quarantine_notification = (isset($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : $is_now['quarantine_notification'];
Open commit View diff
1975 $quarantine_notification = (isset($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : $is_now['quarantine_notification'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1976
            }
Open commit View diff
1976 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1977
            else {
Open commit View diff
1977 else {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1978
              $_SESSION['return'][] = array(
Open commit View diff
1978 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1979
                'type' => 'danger',
Open commit View diff
1979 'type' => 'danger',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1980
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1980 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1981
                'msg' => 'access_denied'
Open commit View diff
1981 'msg' => 'access_denied'
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1982
              );
Open commit View diff
1982 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1983
              continue;
Open commit View diff
1983 continue;
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1984
            }
Open commit View diff
1984 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1985
            if (!in_array($quarantine_notification, array('never', 'hourly', 'daily', 'weekly'))) {
Open commit View diff
1985 if (!in_array($quarantine_notification, array('never', 'hourly', 'daily', 'weekly'))) {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1986
              $_SESSION['return'][] = array(
Open commit View diff
1986 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1987
                'type' => 'danger',
Open commit View diff
1987 'type' => 'danger',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1988
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
1988 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1989
                'msg' => 'access_denied'
Open commit View diff
1989 'msg' => 'access_denied'
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1990
              );
Open commit View diff
1990 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1991
              continue;
Open commit View diff
1991 continue;
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
1992
            }
Open commit View diff
1992 }
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1993
            $stmt = $pdo->prepare("UPDATE `mailbox`
Open commit View diff
1993 $stmt = $pdo->prepare("UPDATE `mailbox`
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1994
              SET `attributes` = JSON_SET(`attributes`, '$.quarantine_notification', :quarantine_notification)
Open commit View diff
1994 SET `attributes` = JSON_SET(`attributes`, '$.quarantine_notification', :quarantine_notification)
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1995
                WHERE `username` = :username");
Open commit View diff
1995 WHERE `username` = :username");
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1996
            $stmt->execute(array(
Open commit View diff
1996 $stmt->execute(array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1997
              ':quarantine_notification' => $quarantine_notification,
Open commit View diff
1997 ':quarantine_notification' => $quarantine_notification,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1998
              ':username' => $username
Open commit View diff
1998 ':username' => $username
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1999
            ));
Open commit View diff
1999 ));
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2000
            $_SESSION['return'][] = array(
Open commit View diff
2000 $_SESSION['return'][] = array(
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2001
              'type' => 'success',
Open commit View diff
2001 'type' => 'success',
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2002
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2002 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2003
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2003 'msg' => array('mailbox_modified', $username)
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2004
            );
Open commit View diff
2004 );
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2005
          }
Open commit View diff
2005 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2006
        break;
Open commit View diff
2006 break;
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2007
        case 'quarantine_category':
Open commit View diff
2007 case 'quarantine_category':
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2008
          if (!is_array($_data['username'])) {
Open commit View diff
2008 if (!is_array($_data['username'])) {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2009
            $usernames = array();
Open commit View diff
2009 $usernames = array();
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2010
            $usernames[] = $_data['username'];
Open commit View diff
2010 $usernames[] = $_data['username'];
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2011
          }
Open commit View diff
2011 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2012
          else {
Open commit View diff
2012 else {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2013
            $usernames = $_data['username'];
Open commit View diff
2013 $usernames = $_data['username'];
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2014
          }
Open commit View diff
2014 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
2015
          if (!hasACLAccess("quarantine_category")) {
Open commit View diff
2015 if (!hasACLAccess("quarantine_category")) {
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2016
            $_SESSION['return'][] = array(
Open commit View diff
2016 $_SESSION['return'][] = array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2017
              'type' => 'danger',
Open commit View diff
2017 'type' => 'danger',
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2018
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2018 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2019
              'msg' => 'access_denied'
Open commit View diff
2019 'msg' => 'access_denied'
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2020
            );
Open commit View diff
2020 );
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2021
            return false;
Open commit View diff
2021 return false;
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2022
          }
Open commit View diff
2022 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2023
          foreach ($usernames as $username) {
Open commit View diff
2023 foreach ($usernames as $username) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
2024
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
2024 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2025
              $_SESSION['return'][] = array(
Open commit View diff
2025 $_SESSION['return'][] = array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2026
                'type' => 'danger',
Open commit View diff
2026 'type' => 'danger',
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2027
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2027 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2028
                'msg' => 'access_denied'
Open commit View diff
2028 'msg' => 'access_denied'
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2029
              );
Open commit View diff
2029 );
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2030
              continue;
Open commit View diff
2030 continue;
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2031
            }
Open commit View diff
2031 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
2032
            $is_now = mailbox('get', 'quarantine_category', $username, $_extra);
Open commit View diff
2032 $is_now = mailbox('get', 'quarantine_category', $username, $_extra);
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2033
            if (!empty($is_now)) {
Open commit View diff
2033 if (!empty($is_now)) {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2034
              $quarantine_category = (isset($_data['quarantine_category'])) ? $_data['quarantine_category'] : $is_now['quarantine_category'];
Open commit View diff
2034 $quarantine_category = (isset($_data['quarantine_category'])) ? $_data['quarantine_category'] : $is_now['quarantine_category'];
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2035
            }
Open commit View diff
2035 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2036
            else {
Open commit View diff
2036 else {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2037
              $_SESSION['return'][] = array(
Open commit View diff
2037 $_SESSION['return'][] = array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2038
                'type' => 'danger',
Open commit View diff
2038 'type' => 'danger',
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2039
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2039 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2040
                'msg' => 'access_denied'
Open commit View diff
2040 'msg' => 'access_denied'
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2041
              );
Open commit View diff
2041 );
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2042
              continue;
Open commit View diff
2042 continue;
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2043
            }
Open commit View diff
2043 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2044
            if (!in_array($quarantine_category, array('add_header', 'reject', 'all'))) {
Open commit View diff
2044 if (!in_array($quarantine_category, array('add_header', 'reject', 'all'))) {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2045
              $_SESSION['return'][] = array(
Open commit View diff
2045 $_SESSION['return'][] = array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2046
                'type' => 'danger',
Open commit View diff
2046 'type' => 'danger',
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2047
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2047 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2048
                'msg' => 'access_denied'
Open commit View diff
2048 'msg' => 'access_denied'
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2049
              );
Open commit View diff
2049 );
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2050
              continue;
Open commit View diff
2050 continue;
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2051
            }
Open commit View diff
2051 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2052
            $stmt = $pdo->prepare("UPDATE `mailbox`
Open commit View diff
2052 $stmt = $pdo->prepare("UPDATE `mailbox`
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2053
              SET `attributes` = JSON_SET(`attributes`, '$.quarantine_category', :quarantine_category)
Open commit View diff
2053 SET `attributes` = JSON_SET(`attributes`, '$.quarantine_category', :quarantine_category)
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2054
                WHERE `username` = :username");
Open commit View diff
2054 WHERE `username` = :username");
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2055
            $stmt->execute(array(
Open commit View diff
2055 $stmt->execute(array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2056
              ':quarantine_category' => $quarantine_category,
Open commit View diff
2056 ':quarantine_category' => $quarantine_category,
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2057
              ':username' => $username
Open commit View diff
2057 ':username' => $username
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2058
            ));
Open commit View diff
2058 ));
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2059
            $_SESSION['return'][] = array(
Open commit View diff
2059 $_SESSION['return'][] = array(
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2060
              'type' => 'success',
Open commit View diff
2060 'type' => 'success',
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2061
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2061 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2062
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2062 'msg' => array('mailbox_modified', $username)
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2063
            );
Open commit View diff
2063 );
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2064
          }
Open commit View diff
2064 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2065
        break;
Open commit View diff
2065 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2073
          }
Open commit View diff
2073 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2074
          if (!isset($_SESSION['acl']['spam_score']) || $_SESSION['acl']['spam_score'] != "1" ) {
Open commit View diff
2074 if (!isset($_SESSION['acl']['spam_score']) || $_SESSION['acl']['spam_score'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2075
            $_SESSION['return'][] = array(
Open commit View diff
2075 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2076
              'type' => 'danger',
Open commit View diff
2076 '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
2077
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2077 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2079
            );
Open commit View diff
2079 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2080
            return false;
Open commit View diff
2080 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2081
          }
Open commit View diff
2081 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2082
          foreach ($usernames as $username) {
Open commit View diff
2082 foreach ($usernames as $username) {
FreddleSpl0it 4 months ago ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2083
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
2083 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2084
              $_SESSION['return'][] = array(
Open commit View diff
2084 $_SESSION['return'][] = array(
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2085
                'type' => 'danger',
Open commit View diff
2085 'type' => 'danger',
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2086
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2086 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2087
                'msg' => 'access_denied'
Open commit View diff
2087 'msg' => 'access_denied'
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2088
              );
Open commit View diff
2088 );
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2089
              continue;
Open commit View diff
2089 continue;
same change ecb8484

add missing object-level access control

Full commit hash
ecb848493b0bd5ee79528bf8643239d120574438
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
2090
            }
Open commit View diff
2090 }
André almost 8 years ago 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2091
            if ($_data['spam_score'] == "default") {
Open commit View diff
2091 if ($_data['spam_score'] == "default") {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2092
              $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username
Open commit View diff
2092 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2093
                AND (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
Open commit View diff
2093 AND (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2094
              $stmt->execute(array(
Open commit View diff
2094 $stmt->execute(array(
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2095
                ':username' => $username
Open commit View diff
2095 ':username' => $username
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2096
              ));
Open commit View diff
2096 ));
André almost 8 years ago 2ac664c

[Web] Fix missing return msg when resetting spam score

Full commit hash
2ac664ceb7c32a25f9a494a8dd1a8caac731313d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2097
              $_SESSION['return'][] = array(
Open commit View diff
2097 $_SESSION['return'][] = array(
same change 2ac664c

[Web] Fix missing return msg when resetting spam score

Full commit hash
2ac664ceb7c32a25f9a494a8dd1a8caac731313d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2098
                'type' => 'success',
Open commit View diff
2098 'type' => 'success',
same change 2ac664c

[Web] Fix missing return msg when resetting spam score

Full commit hash
2ac664ceb7c32a25f9a494a8dd1a8caac731313d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2099
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2099 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 2ac664c

[Web] Fix missing return msg when resetting spam score

Full commit hash
2ac664ceb7c32a25f9a494a8dd1a8caac731313d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2100
                'msg' => array('mailbox_modified', $username)
Open commit View diff
2100 'msg' => array('mailbox_modified', $username)
same change 2ac664c

[Web] Fix missing return msg when resetting spam score

Full commit hash
2ac664ceb7c32a25f9a494a8dd1a8caac731313d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2101
              );
Open commit View diff
2101 );
André almost 8 years ago 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2102
              continue;
Open commit View diff
2102 continue;
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2103
            }
Open commit View diff
2103 }
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
2104
            $lowspamlevel = explode(',', $_data['spam_score'])[0];
Open commit View diff
2104 $lowspamlevel = explode(',', $_data['spam_score'])[0];
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
2105
            $highspamlevel  = explode(',', $_data['spam_score'])[1];
Open commit View diff
2105 $highspamlevel = explode(',', $_data['spam_score'])[1];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2106
            if (!is_numeric($lowspamlevel) || !is_numeric($highspamlevel)) {
Open commit View diff
2106 if (!is_numeric($lowspamlevel) || !is_numeric($highspamlevel)) {
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
2107
              $_SESSION['return'][] = array(
Open commit View diff
2107 $_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
2108
                'type' => 'danger',
Open commit View diff
2108 '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
2109
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2109 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2110
                'msg' => 'Invalid spam score, format must be "1,2" where first is low and second is high spam value.'
Open commit View diff
2110 'msg' => 'Invalid spam score, format must be "1,2" where first is low and second is high spam value.'
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2111
              );
Open commit View diff
2111 );
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
2112
              continue;
Open commit View diff
2112 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
2113
            }
Open commit View diff
2113 }
andryyy about 5 years ago 9c075af

[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility;

Full commit hash
9c075af2d93dbaec98bf6769c07da3a4587baf14
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2114
            if ($lowspamlevel == $highspamlevel) {
Open commit View diff
2114 if ($lowspamlevel == $highspamlevel) {
same change 9c075af

[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility;

Full commit hash
9c075af2d93dbaec98bf6769c07da3a4587baf14
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2115
              $highspamlevel = $highspamlevel + 0.1;
Open commit View diff
2115 $highspamlevel = $highspamlevel + 0.1;
same change 9c075af

[Web] Bye Glyphicons, hello BS5 icons\!; [Web] Change font to Noto for better compatibility;

Full commit hash
9c075af2d93dbaec98bf6769c07da3a4587baf14
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2116
            }
Open commit View diff
2116 }
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
2117
            $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username
Open commit View diff
2117 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username
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
2118
              AND (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
Open commit View diff
2118 AND (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
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
2119
            $stmt->execute(array(
Open commit View diff
2119 $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
2120
              ':username' => $username
Open commit View diff
2120 ':username' => $username
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
2121
            ));
Open commit View diff
2121 ));
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
2122
            $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option`, `value`)
Open commit View diff
2122 $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
2123
              VALUES (:username, 'highspamlevel', :highspamlevel)");
Open commit View diff
2123 VALUES (:username, 'highspamlevel', :highspamlevel)");
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
2124
            $stmt->execute(array(
Open commit View diff
2124 $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
2125
              ':username' => $username,
Open commit View diff
2125 ':username' => $username,
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
2126
              ':highspamlevel' => $highspamlevel
Open commit View diff
2126 ':highspamlevel' => $highspamlevel
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
2127
            ));
Open commit View diff
2127 ));
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
2128
            $stmt = $pdo->prepare("INSERT INTO `filterconf` (`object`, `option`, `value`)
Open commit View diff
2128 $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
2129
              VALUES (:username, 'lowspamlevel', :lowspamlevel)");
Open commit View diff
2129 VALUES (:username, 'lowspamlevel', :lowspamlevel)");
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
2130
            $stmt->execute(array(
Open commit View diff
2130 $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
2131
              ':username' => $username,
Open commit View diff
2131 ':username' => $username,
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
2132
              ':lowspamlevel' => $lowspamlevel
Open commit View diff
2132 ':lowspamlevel' => $lowspamlevel
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
2133
            ));
Open commit View diff
2133 ));
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
2134
            $_SESSION['return'][] = array(
Open commit View diff
2134 $_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
2135
              'type' => 'success',
Open commit View diff
2135 '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
2136
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2136 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2137
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2137 'msg' => array('mailbox_modified', $username)
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
2138
            );
Open commit View diff
2138 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2141
        case 'time_limited_alias':
Open commit View diff
2141 case 'time_limited_alias':
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2142
          if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
Open commit View diff
2142 if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2143
            $_SESSION['return'][] = array(
Open commit View diff
2143 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2144
              'type' => 'danger',
Open commit View diff
2144 '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
2145
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2145 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2147
            );
Open commit View diff
2147 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2148
            return false;
Open commit View diff
2148 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2149
          }
Open commit View diff
2149 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2157
          foreach ($addresses as $address) {
Open commit View diff
2157 foreach ($addresses as $address) {
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
2158
            $stmt = $pdo->prepare("SELECT `goto` FROM `spamalias` WHERE `address` = :address");
Open commit View diff
2158 $stmt = $pdo->prepare("SELECT `goto` FROM `spamalias` WHERE `address` = :address");
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
2159
            $stmt->execute(array(':address' => $address));
Open commit View diff
2159 $stmt->execute(array(':address' => $address));
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
2160
            $goto = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
Open commit View diff
2160 $goto = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2161
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $goto)) {
Open commit View diff
2161 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $goto)) {
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
2162
              $_SESSION['return'][] = array(
Open commit View diff
2162 $_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
2163
                'type' => 'danger',
Open commit View diff
2163 '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
2164
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2164 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2165
                'msg' => 'access_denied'
Open commit View diff
2165 '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
2166
              );
Open commit View diff
2166 );
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
2167
              continue;
Open commit View diff
2167 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
2168
            }
Open commit View diff
2168 }
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2169
            if (empty($_data['validity']) && empty($_data['permanent'])) {
Open commit View diff
2169 if (empty($_data['validity']) && empty($_data['permanent'])) {
André almost 8 years ago 788e32b

[Web] Set new expire date for time limited aliases via actions button, fixes #1903

Full commit hash
788e32b32859b584b8837c909835187f056eabf5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2170
              continue;
Open commit View diff
2170 continue;
same change 788e32b

[Web] Set new expire date for time limited aliases via actions button, fixes #1903

Full commit hash
788e32b32859b584b8837c909835187f056eabf5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2171
            }
Open commit View diff
2171 }
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2172
            if (isset($_data['permanent']) && filter_var($_data['permanent'], FILTER_VALIDATE_BOOL)) {
Open commit View diff
2172 if (isset($_data['permanent']) && filter_var($_data['permanent'], FILTER_VALIDATE_BOOL)) {
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2173
              $permanent = 1;
Open commit View diff
2173 $permanent = 1;
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2174
              $validity = 0;
Open commit View diff
2174 $validity = 0;
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2175
            }
Open commit View diff
2175 }
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2176
            else if (isset($_data['validity'])) {
Open commit View diff
2176 else if (isset($_data['validity'])) {
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2177
              $permanent = 0;
Open commit View diff
2177 $permanent = 0;
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2178
              $validity = round((int)time() + ($_data['validity'] * 3600));
Open commit View diff
2178 $validity = round((int)time() + ($_data['validity'] * 3600));
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2179
            }
Open commit View diff
2179 }
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2180
            $stmt = $pdo->prepare("UPDATE `spamalias` SET `validity` = :validity, `permanent` = :permanent WHERE
Open commit View diff
2180 $stmt = $pdo->prepare("UPDATE `spamalias` SET `validity` = :validity, `permanent` = :permanent WHERE
André almost 8 years ago 788e32b

[Web] Set new expire date for time limited aliases via actions button, fixes #1903

Full commit hash
788e32b32859b584b8837c909835187f056eabf5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2181
              `address` = :address");
Open commit View diff
2181 `address` = :address");
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
2182
            $stmt->execute(array(
Open commit View diff
2182 $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
2183
              ':address' => $address,
Open commit View diff
2183 ':address' => $address,
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2184
              ':validity' => $validity,
Open commit View diff
2184 ':validity' => $validity,
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
2185
              ':permanent' => $permanent
Open commit View diff
2185 ':permanent' => $permanent
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
2186
            ));
Open commit View diff
2186 ));
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
2187
            $_SESSION['return'][] = array(
Open commit View diff
2187 $_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
2188
              'type' => 'success',
Open commit View diff
2188 '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
2189
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2189 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
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
2190
              'msg' => array('mailbox_modified', htmlspecialchars(implode(', ', (array)$usernames)))
Open commit View diff
2190 'msg' => array('mailbox_modified', htmlspecialchars(implode(', ', (array)$usernames)))
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
2191
            );
Open commit View diff
2191 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2201
          }
Open commit View diff
2201 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2202
          if (!isset($_SESSION['acl']['delimiter_action']) || $_SESSION['acl']['delimiter_action'] != "1" ) {
Open commit View diff
2202 if (!isset($_SESSION['acl']['delimiter_action']) || $_SESSION['acl']['delimiter_action'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2203
            $_SESSION['return'][] = array(
Open commit View diff
2203 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2204
              'type' => 'danger',
Open commit View diff
2204 '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
2205
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2205 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2207
            );
Open commit View diff
2207 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2208
            return false;
Open commit View diff
2208 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2209
          }
Open commit View diff
2209 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2211
            if (!filter_var($username, FILTER_VALIDATE_EMAIL) || !hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
2211 if (!filter_var($username, FILTER_VALIDATE_EMAIL) || !hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
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
2212
              $_SESSION['return'][] = array(
Open commit View diff
2212 $_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
2213
                'type' => 'danger',
Open commit View diff
2213 '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
2214
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2214 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2215
                'msg' => 'access_denied'
Open commit View diff
2215 '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
2216
              );
Open commit View diff
2216 );
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
2217
              continue;
Open commit View diff
2217 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
2218
            }
Open commit View diff
2218 }
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2221
                $redis->hSet('RCPT_WANTS_SUBJECT_TAG', $username, 1);
Open commit View diff
2221 $redis->hSet('RCPT_WANTS_SUBJECT_TAG', $username, 1);
Tii over 8 years ago d58b895

rspamd multimap redis stuff doesn't work as expected...

Full commit hash
d58b89528f0cf57bf0b2fbfcac51b7d0e71bb17c
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2222
                $redis->hDel('RCPT_WANTS_SUBFOLDER_TAG', $username);
Open commit View diff
2222 $redis->hDel('RCPT_WANTS_SUBFOLDER_TAG', $username);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2224
              catch (RedisException $e) {
Open commit View diff
2224 catch (RedisException $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
2225
                $_SESSION['return'][] = array(
Open commit View diff
2225 $_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
2226
                  'type' => 'danger',
Open commit View diff
2226 '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
2227
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2227 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2228
                  'msg' => array('redis_error', $e)
Open commit View diff
2228 'msg' => array('redis_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
2229
                );
Open commit View diff
2229 );
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
2230
                continue;
Open commit View diff
2230 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
2231
              }
Open commit View diff
2231 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2232
            }
Open commit View diff
2232 }
Tii over 8 years ago cd2c242

Added 'do nothing' option as default for sub-addressing

Full commit hash
cd2c24254085160b34ee8391e3015ef072e50dd4
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2233
            else if (isset($_data['tagged_mail_handler']) && $_data['tagged_mail_handler'] == "subfolder") {
Open commit View diff
2233 else if (isset($_data['tagged_mail_handler']) && $_data['tagged_mail_handler'] == "subfolder") {
same change cd2c242

Added 'do nothing' option as default for sub-addressing

Full commit hash
cd2c24254085160b34ee8391e3015ef072e50dd4
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2234
              try {
Open commit View diff
2234 try {
Tii over 8 years ago d58b895

rspamd multimap redis stuff doesn't work as expected...

Full commit hash
d58b89528f0cf57bf0b2fbfcac51b7d0e71bb17c
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2235
                $redis->hSet('RCPT_WANTS_SUBFOLDER_TAG', $username, 1);
Open commit View diff
2235 $redis->hSet('RCPT_WANTS_SUBFOLDER_TAG', $username, 1);
same change d58b895

rspamd multimap redis stuff doesn't work as expected...

Full commit hash
d58b89528f0cf57bf0b2fbfcac51b7d0e71bb17c
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2236
                $redis->hDel('RCPT_WANTS_SUBJECT_TAG', $username);
Open commit View diff
2236 $redis->hDel('RCPT_WANTS_SUBJECT_TAG', $username);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2238
              catch (RedisException $e) {
Open commit View diff
2238 catch (RedisException $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
2239
                $_SESSION['return'][] = array(
Open commit View diff
2239 $_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
2240
                  'type' => 'danger',
Open commit View diff
2240 '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
2241
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2241 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2242
                  'msg' => array('redis_error', $e)
Open commit View diff
2242 'msg' => array('redis_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
2243
                );
Open commit View diff
2243 );
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
2244
                continue;
Open commit View diff
2244 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
2245
              }
Open commit View diff
2245 }
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2249
                $redis->hDel('RCPT_WANTS_SUBJECT_TAG', $username);
Open commit View diff
2249 $redis->hDel('RCPT_WANTS_SUBJECT_TAG', $username);
Tii over 8 years ago d58b895

rspamd multimap redis stuff doesn't work as expected...

Full commit hash
d58b89528f0cf57bf0b2fbfcac51b7d0e71bb17c
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
2250
                $redis->hDel('RCPT_WANTS_SUBFOLDER_TAG', $username);
Open commit View diff
2250 $redis->hDel('RCPT_WANTS_SUBFOLDER_TAG', $username);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2252
              catch (RedisException $e) {
Open commit View diff
2252 catch (RedisException $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
2253
                $_SESSION['return'][] = array(
Open commit View diff
2253 $_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
2254
                  'type' => 'danger',
Open commit View diff
2254 '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
2255
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2255 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2256
                  'msg' => array('redis_error', $e)
Open commit View diff
2256 'msg' => array('redis_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
2257
                );
Open commit View diff
2257 );
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
2258
                continue;
Open commit View diff
2258 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
2259
              }
Open commit View diff
2259 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2260
            }
Open commit View diff
2260 }
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
2261
            $_SESSION['return'][] = array(
Open commit View diff
2261 $_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
2262
              'type' => 'success',
Open commit View diff
2262 '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
2263
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2263 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2264
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2264 'msg' => array('mailbox_modified', $username)
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
2265
            );
Open commit View diff
2265 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2275
          }
Open commit View diff
2275 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2276
          if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
Open commit View diff
2276 if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2277
            $_SESSION['return'][] = array(
Open commit View diff
2277 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2278
              'type' => 'danger',
Open commit View diff
2278 '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
2279
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2279 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2281
            );
Open commit View diff
2281 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2282
            return false;
Open commit View diff
2282 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2283
          }
Open commit View diff
2283 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2284
          foreach ($ids as $id) {
Open commit View diff
2284 foreach ($ids as $id) {
André over 8 years ago f603008

[Web] Reset last_run for imapsync jobs to run next, other minor changes...

Full commit hash
f603008440b28f0d8423c56ac49a56b5481d4089
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2285
            $is_now = mailbox('get', 'syncjob_details', $id, array('with_password'));
Open commit View diff
2285 $is_now = mailbox('get', 'syncjob_details', $id, array('with_password'));
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2288
              $user1 = (!empty($_data['user1'])) ? $_data['user1'] : $is_now['user1'];
Open commit View diff
2288 $user1 = (!empty($_data['user1'])) ? $_data['user1'] : $is_now['user1'];
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2289
              $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
2289 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
André over 8 years ago f603008

[Web] Reset last_run for imapsync jobs to run next, other minor changes...

Full commit hash
f603008440b28f0d8423c56ac49a56b5481d4089
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2290
              $last_run = (isset($_data['last_run'])) ? NULL : $is_now['last_run'];
Open commit View diff
2290 $last_run = (isset($_data['last_run'])) ? NULL : $is_now['last_run'];
Kristian Feldsam almost 5 years ago 54c4d7e

[Dovecot: Imapsync] Parse, save and show last run status (#4253)

Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
2291
              $success = (isset($_data['success'])) ? NULL : $is_now['success'];
Open commit View diff
2291 $success = (isset($_data['success'])) ? NULL : $is_now['success'];
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2292
              $delete2duplicates = (isset($_data['delete2duplicates'])) ? intval($_data['delete2duplicates']) : $is_now['delete2duplicates'];
Open commit View diff
2292 $delete2duplicates = (isset($_data['delete2duplicates'])) ? intval($_data['delete2duplicates']) : $is_now['delete2duplicates'];
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2293
              $subscribeall = (isset($_data['subscribeall'])) ? intval($_data['subscribeall']) : $is_now['subscribeall'];
Open commit View diff
2293 $subscribeall = (isset($_data['subscribeall'])) ? intval($_data['subscribeall']) : $is_now['subscribeall'];
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
2294
              $dry = (isset($_data['dry'])) ? intval($_data['dry']) : $is_now['dry'];
Open commit View diff
2294 $dry = (isset($_data['dry'])) ? intval($_data['dry']) : $is_now['dry'];
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2295
              $delete1 = (isset($_data['delete1'])) ? intval($_data['delete1']) : $is_now['delete1'];
Open commit View diff
2295 $delete1 = (isset($_data['delete1'])) ? intval($_data['delete1']) : $is_now['delete1'];
andryyy almost 9 years ago 08d6b97

[Dovecot] New Dovecot and Pigeonhole versions; include delete2 option in imapsync

Full commit hash
08d6b97ffa971636b82aef453eceb8432dd1fb61
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2296
              $delete2 = (isset($_data['delete2'])) ? intval($_data['delete2']) : $is_now['delete2'];
Open commit View diff
2296 $delete2 = (isset($_data['delete2'])) ? intval($_data['delete2']) : $is_now['delete2'];
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2297
              $automap = (isset($_data['automap'])) ? intval($_data['automap']) : $is_now['automap'];
Open commit View diff
2297 $automap = (isset($_data['automap'])) ? intval($_data['automap']) : $is_now['automap'];
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2298
              $skipcrossduplicates = (isset($_data['skipcrossduplicates'])) ? intval($_data['skipcrossduplicates']) : $is_now['skipcrossduplicates'];
Open commit View diff
2298 $skipcrossduplicates = (isset($_data['skipcrossduplicates'])) ? intval($_data['skipcrossduplicates']) : $is_now['skipcrossduplicates'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2299
              $port1 = (!empty($_data['port1'])) ? $_data['port1'] : $is_now['port1'];
Open commit View diff
2299 $port1 = (!empty($_data['port1'])) ? $_data['port1'] : $is_now['port1'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2300
              $password1 = (!empty($_data['password1'])) ? $_data['password1'] : $is_now['password1'];
Open commit View diff
2300 $password1 = (!empty($_data['password1'])) ? $_data['password1'] : $is_now['password1'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2301
              $host1 = (!empty($_data['host1'])) ? $_data['host1'] : $is_now['host1'];
Open commit View diff
2301 $host1 = (!empty($_data['host1'])) ? $_data['host1'] : $is_now['host1'];
André almost 9 years ago 8177576

[Web] Customize app menu and logo; Fix #671

Full commit hash
81775765d8c6ea6b4946f03d4ac9666697d854c3
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
2302
              $subfolder2 = (isset($_data['subfolder2'])) ? $_data['subfolder2'] : $is_now['subfolder2'];
Open commit View diff
2302 $subfolder2 = (isset($_data['subfolder2'])) ? $_data['subfolder2'] : $is_now['subfolder2'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2303
              $enc1 = (!empty($_data['enc1'])) ? $_data['enc1'] : $is_now['enc1'];
Open commit View diff
2303 $enc1 = (!empty($_data['enc1'])) ? $_data['enc1'] : $is_now['enc1'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2304
              $mins_interval = (!empty($_data['mins_interval'])) ? $_data['mins_interval'] : $is_now['mins_interval'];
Open commit View diff
2304 $mins_interval = (!empty($_data['mins_interval'])) ? $_data['mins_interval'] : $is_now['mins_interval'];
André Peters over 8 years ago 33c24c7

[Web] Fix empty exlude regex in sync job

Full commit hash
33c24c737a80ef1780c2833472b9113bb421ac5d
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
2305
              $exclude = (isset($_data['exclude'])) ? $_data['exclude'] : $is_now['exclude'];
Open commit View diff
2305 $exclude = (isset($_data['exclude'])) ? $_data['exclude'] : $is_now['exclude'];
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2306
              $custom_params = (isset($_data['custom_params'])) ? $_data['custom_params'] : $is_now['custom_params'];
Open commit View diff
2306 $custom_params = (isset($_data['custom_params'])) ? $_data['custom_params'] : $is_now['custom_params'];
André almost 9 years ago 8177576

[Web] Customize app menu and logo; Fix #671

Full commit hash
81775765d8c6ea6b4946f03d4ac9666697d854c3
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
2307
              $maxage = (isset($_data['maxage']) && $_data['maxage'] != "") ? intval($_data['maxage']) : $is_now['maxage'];
Open commit View diff
2307 $maxage = (isset($_data['maxage']) && $_data['maxage'] != "") ? intval($_data['maxage']) : $is_now['maxage'];
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2308
              $maxbytespersecond = (isset($_data['maxbytespersecond']) && $_data['maxbytespersecond'] != "") ? intval($_data['maxbytespersecond']) : $is_now['maxbytespersecond'];
Open commit View diff
2308 $maxbytespersecond = (isset($_data['maxbytespersecond']) && $_data['maxbytespersecond'] != "") ? intval($_data['maxbytespersecond']) : $is_now['maxbytespersecond'];
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2309
              $timeout1 = (isset($_data['timeout1']) && $_data['timeout1'] != "") ? intval($_data['timeout1']) : $is_now['timeout1'];
Open commit View diff
2309 $timeout1 = (isset($_data['timeout1']) && $_data['timeout1'] != "") ? intval($_data['timeout1']) : $is_now['timeout1'];
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2310
              $timeout2 = (isset($_data['timeout2']) && $_data['timeout2'] != "") ? intval($_data['timeout2']) : $is_now['timeout2'];
Open commit View diff
2310 $timeout2 = (isset($_data['timeout2']) && $_data['timeout2'] != "") ? intval($_data['timeout2']) : $is_now['timeout2'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2312
            else {
Open commit View diff
2312 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
2313
              $_SESSION['return'][] = array(
Open commit View diff
2313 $_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
2314
                'type' => 'danger',
Open commit View diff
2314 '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
2315
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2315 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2316
                'msg' => 'access_denied'
Open commit View diff
2316 '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
2317
              );
Open commit View diff
2317 );
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
2318
              continue;
Open commit View diff
2318 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
2319
            }
Open commit View diff
2319 }
FreddleSpl0it about 4 years ago 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2320
Open commit View diff
2320
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2321
            // validate custom params
Open commit View diff
2321 // validate custom params
FreddleSpl0it about 4 years ago f724662

readd imapsync fix

Full commit hash
f7246628747121886d13bd022b8d7d46a0a91d43
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2322
            foreach (explode('-', $custom_params) as $param){
Open commit View diff
2322 foreach (explode('-', $custom_params) as $param){
FreddleSpl0it about 4 years ago a835419

fix imapsync

Full commit hash
a835419168394bcbefdafb03de50fa9e6187717a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2323
              if(empty($param)) continue;
Open commit View diff
2323 if(empty($param)) continue;
same change a835419

fix imapsync

Full commit hash
a835419168394bcbefdafb03de50fa9e6187717a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2324
Open commit View diff
2324
FreddleSpl0it about 4 years ago 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2325
              // extract option
Open commit View diff
2325 // extract option
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2326
              if (str_contains($param, '=')) $param = explode('=', $param)[0];
Open commit View diff
2326 if (str_contains($param, '=')) $param = explode('=', $param)[0];
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2327
              else $param = rtrim($param, ' ');
Open commit View diff
2327 else $param = rtrim($param, ' ');
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2328
              // remove first char if first char is -
Open commit View diff
2328 // remove first char if first char is -
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2329
              if ($param[0] == '-') $param = ltrim($param, $param[0]);
Open commit View diff
2329 if ($param[0] == '-') $param = ltrim($param, $param[0]);
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2330
Open commit View diff
2330
same change 223ba44

rearrange custom params validation

Full commit hash
223ba44b6151f62a98779711a9173aa23876bd8a
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2331
              if (str_contains($param, ' ')) {
Open commit View diff
2331 if (str_contains($param, ' ')) {
FreddleSpl0it about 4 years ago 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2332
                // bad char
Open commit View diff
2332 // bad char
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2333
                $_SESSION['return'][] = array(
Open commit View diff
2333 $_SESSION['return'][] = array(
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2334
                  'type' => 'danger',
Open commit View diff
2334 'type' => 'danger',
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2335
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2335 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2336
                  'msg' => 'bad character SPACE'
Open commit View diff
2336 'msg' => 'bad character SPACE'
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2337
                );
Open commit View diff
2337 );
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2338
                return false;
Open commit View diff
2338 return false;
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2339
              }
Open commit View diff
2339 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
2340
Open commit View diff
2340
FreddleSpl0it about 4 years ago 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2341
              // check if param is whitelisted
Open commit View diff
2341 // check if param is whitelisted
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2342
              if (!in_array(strtolower($param), $GLOBALS["IMAPSYNC_OPTIONS"]["whitelist"])){
Open commit View diff
2342 if (!in_array(strtolower($param), $GLOBALS["IMAPSYNC_OPTIONS"]["whitelist"])){
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2343
                // bad option
Open commit View diff
2343 // bad option
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2344
                $_SESSION['return'][] = array(
Open commit View diff
2344 $_SESSION['return'][] = array(
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2345
                  'type' => 'danger',
Open commit View diff
2345 'type' => 'danger',
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2346
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2346 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2347
                  'msg' => 'bad option '. $param
Open commit View diff
2347 'msg' => 'bad option '. $param
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2348
                );
Open commit View diff
2348 );
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2349
                return false;
Open commit View diff
2349 return false;
same change 71db83e

hotfix imapsync

Full commit hash
71db83efce069c8f241bdfd4ecac56babc9b2610
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2350
              }
Open commit View diff
2350 }
andryyy over 5 years ago b9a8b8a

[Web] More custom_params

Full commit hash
b9a8b8a3e79646409f91e2cdcd09ca44752cb5f5
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2351
            }
Open commit View diff
2351 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2354
            }
Open commit View diff
2354 }
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2355
            if (!isset($maxage) || !filter_var($maxage, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
2355 if (!isset($maxage) || !filter_var($maxage, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2357
            }
Open commit View diff
2357 }
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2358
            if (!isset($timeout1) || !filter_var($timeout1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
2358 if (!isset($timeout1) || !filter_var($timeout1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2359
              $timeout1 = "600";
Open commit View diff
2359 $timeout1 = "600";
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2360
            }
Open commit View diff
2360 }
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2361
            if (!isset($timeout2) || !filter_var($timeout2, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
Open commit View diff
2361 if (!isset($timeout2) || !filter_var($timeout2, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 32000)))) {
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2362
              $timeout2 = "600";
Open commit View diff
2362 $timeout2 = "600";
same change 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2363
            }
Open commit View diff
2363 }
andre.peters over 8 years ago 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2364
            if (!isset($maxbytespersecond) || !filter_var($maxbytespersecond, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 125000000)))) {
Open commit View diff
2364 if (!isset($maxbytespersecond) || !filter_var($maxbytespersecond, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 125000000)))) {
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2365
              $maxbytespersecond = "0";
Open commit View diff
2365 $maxbytespersecond = "0";
same change 04f9d74

[Web, Dovecot] Add new options to imapsync, other minor changes to forms, partly fixes #955

Full commit hash
04f9d7433917046343228293e78ce202035c6551
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2366
            }
Open commit View diff
2366 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2367
            if (!filter_var($port1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 65535)))) {
Open commit View diff
2367 if (!filter_var($port1, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 65535)))) {
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
2368
              $_SESSION['return'][] = array(
Open commit View diff
2368 $_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
2369
                'type' => 'danger',
Open commit View diff
2369 '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
2370
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2370 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2371
                'msg' => 'access_denied'
Open commit View diff
2371 '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
2372
              );
Open commit View diff
2372 );
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
2373
              continue;
Open commit View diff
2373 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
2374
            }
Open commit View diff
2374 }
andryyy about 6 years ago 2d049f3

[Web] Allow mins_interval of max 1 month for sync jobs, fixes #3642

Full commit hash
2d049f37da24a74685430068a38626cf8e495670
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
2375
            if (!filter_var($mins_interval, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 43800)))) {
Open commit View diff
2375 if (!filter_var($mins_interval, FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 43800)))) {
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
2376
              $_SESSION['return'][] = array(
Open commit View diff
2376 $_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
2377
                'type' => 'danger',
Open commit View diff
2377 '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
2378
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2378 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2379
                'msg' => 'access_denied'
Open commit View diff
2379 '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
2380
              );
Open commit View diff
2380 );
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
2381
              continue;
Open commit View diff
2381 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
2382
            }
Open commit View diff
2382 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2383
            if (!is_valid_domain_name($host1)) {
Open commit View diff
2383 if (!is_valid_domain_name($host1)) {
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
2384
              $_SESSION['return'][] = array(
Open commit View diff
2384 $_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
2385
                'type' => 'danger',
Open commit View diff
2385 '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
2386
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2386 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2387
                'msg' => 'access_denied'
Open commit View diff
2387 '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
2388
              );
Open commit View diff
2388 );
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
2389
              continue;
Open commit View diff
2389 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
2390
            }
Open commit View diff
2390 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2391
            if ($enc1 != "TLS" && $enc1 != "SSL" && $enc1 != "PLAIN") {
Open commit View diff
2391 if ($enc1 != "TLS" && $enc1 != "SSL" && $enc1 != "PLAIN") {
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
2392
              $_SESSION['return'][] = array(
Open commit View diff
2392 $_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
2393
                'type' => 'danger',
Open commit View diff
2393 '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
2394
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2394 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2395
                'msg' => 'access_denied'
Open commit View diff
2395 '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
2396
              );
Open commit View diff
2396 );
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
2397
              continue;
Open commit View diff
2397 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
2398
            }
Open commit View diff
2398 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2399
            if (@preg_match("/" . $exclude . "/", null) === false) {
Open commit View diff
2399 if (@preg_match("/" . $exclude . "/", null) === false) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2400
              $_SESSION['return'][] = array(
Open commit View diff
2400 $_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
2401
                'type' => 'danger',
Open commit View diff
2401 '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
2402
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2402 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2403
                'msg' => 'access_denied'
Open commit View diff
2403 '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
2404
              );
Open commit View diff
2404 );
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
2405
              continue;
Open commit View diff
2405 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
2406
            }
Open commit View diff
2406 }
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
2407
            $stmt = $pdo->prepare("UPDATE `imapsync` SET `delete1` = :delete1,
Open commit View diff
2407 $stmt = $pdo->prepare("UPDATE `imapsync` SET `delete1` = :delete1,
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
2408
              `delete2` = :delete2,
Open commit View diff
2408 `delete2` = :delete2,
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
2409
              `automap` = :automap,
Open commit View diff
2409 `automap` = :automap,
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
2410
              `skipcrossduplicates` = :skipcrossduplicates,
Open commit View diff
2410 `skipcrossduplicates` = :skipcrossduplicates,
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
2411
              `maxage` = :maxage,
Open commit View diff
2411 `maxage` = :maxage,
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
2412
              `maxbytespersecond` = :maxbytespersecond,
Open commit View diff
2412 `maxbytespersecond` = :maxbytespersecond,
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
2413
              `subfolder2` = :subfolder2,
Open commit View diff
2413 `subfolder2` = :subfolder2,
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
2414
              `exclude` = :exclude,
Open commit View diff
2414 `exclude` = :exclude,
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
2415
              `host1` = :host1,
Open commit View diff
2415 `host1` = :host1,
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
2416
              `last_run` = :last_run,
Open commit View diff
2416 `last_run` = :last_run,
Kristian Feldsam almost 5 years ago 54c4d7e

[Dovecot: Imapsync] Parse, save and show last run status (#4253)

Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
2417
              `success` = :success,
Open commit View diff
2417 `success` = :success,
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
2418
              `user1` = :user1,
Open commit View diff
2418 `user1` = :user1,
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
2419
              `password1` = :password1,
Open commit View diff
2419 `password1` = :password1,
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
2420
              `mins_interval` = :mins_interval,
Open commit View diff
2420 `mins_interval` = :mins_interval,
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
2421
              `port1` = :port1,
Open commit View diff
2421 `port1` = :port1,
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
2422
              `enc1` = :enc1,
Open commit View diff
2422 `enc1` = :enc1,
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
2423
              `delete2duplicates` = :delete2duplicates,
Open commit View diff
2423 `delete2duplicates` = :delete2duplicates,
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
2424
              `custom_params` = :custom_params,
Open commit View diff
2424 `custom_params` = :custom_params,
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
2425
              `timeout1` = :timeout1,
Open commit View diff
2425 `timeout1` = :timeout1,
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
2426
              `timeout2` = :timeout2,
Open commit View diff
2426 `timeout2` = :timeout2,
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
2427
              `subscribeall` = :subscribeall,
Open commit View diff
2427 `subscribeall` = :subscribeall,
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
2428
              `dry` = :dry,
Open commit View diff
2428 `dry` = :dry,
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
2429
              `active` = :active
Open commit View diff
2429 `active` = :active
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
2430
                WHERE `id` = :id");
Open commit View diff
2430 WHERE `id` = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2431
            $stmt->execute(array(
Open commit View diff
2431 $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
2432
              ':delete1' => $delete1,
Open commit View diff
2432 ':delete1' => $delete1,
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
2433
              ':delete2' => $delete2,
Open commit View diff
2433 ':delete2' => $delete2,
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
2434
              ':automap' => $automap,
Open commit View diff
2434 ':automap' => $automap,
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
2435
              ':skipcrossduplicates' => $skipcrossduplicates,
Open commit View diff
2435 ':skipcrossduplicates' => $skipcrossduplicates,
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
2436
              ':id' => $id,
Open commit View diff
2436 ':id' => $id,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2437
              ':exclude' => $exclude,
Open commit View diff
2437 ':exclude' => $exclude,
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
2438
              ':maxage' => $maxage,
Open commit View diff
2438 ':maxage' => $maxage,
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
2439
              ':maxbytespersecond' => $maxbytespersecond,
Open commit View diff
2439 ':maxbytespersecond' => $maxbytespersecond,
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
2440
              ':subfolder2' => $subfolder2,
Open commit View diff
2440 ':subfolder2' => $subfolder2,
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
2441
              ':host1' => $host1,
Open commit View diff
2441 ':host1' => $host1,
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
2442
              ':user1' => $user1,
Open commit View diff
2442 ':user1' => $user1,
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
2443
              ':password1' => $password1,
Open commit View diff
2443 ':password1' => $password1,
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
2444
              ':last_run' => $last_run,
Open commit View diff
2444 ':last_run' => $last_run,
Kristian Feldsam almost 5 years ago 54c4d7e

[Dovecot: Imapsync] Parse, save and show last run status (#4253)

Full commit hash
54c4d7e49c53fbbc4f5df697b27b9dfa37052533
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
2445
              ':success' => $success,
Open commit View diff
2445 ':success' => $success,
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
2446
              ':mins_interval' => $mins_interval,
Open commit View diff
2446 ':mins_interval' => $mins_interval,
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
2447
              ':port1' => $port1,
Open commit View diff
2447 ':port1' => $port1,
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
2448
              ':enc1' => $enc1,
Open commit View diff
2448 ':enc1' => $enc1,
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
2449
              ':delete2duplicates' => $delete2duplicates,
Open commit View diff
2449 ':delete2duplicates' => $delete2duplicates,
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
2450
              ':custom_params' => $custom_params,
Open commit View diff
2450 ':custom_params' => $custom_params,
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
2451
              ':timeout1' => $timeout1,
Open commit View diff
2451 ':timeout1' => $timeout1,
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
2452
              ':timeout2' => $timeout2,
Open commit View diff
2452 ':timeout2' => $timeout2,
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
2453
              ':subscribeall' => $subscribeall,
Open commit View diff
2453 ':subscribeall' => $subscribeall,
DerLinkman over 2 years ago 547d2ca

Add Dry Mode Option for ImapSyncs (Button)

Full commit hash
547d2ca3087a9a3b1e383c8edd6c38fd02c455b9
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
2454
              ':dry' => $dry,
Open commit View diff
2454 ':dry' => $dry,
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
2455
              ':active' => $active,
Open commit View diff
2455 ':active' => $active,
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
2456
            ));
Open commit View diff
2456 ));
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
2457
            $_SESSION['return'][] = array(
Open commit View diff
2457 $_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
2458
              'type' => 'success',
Open commit View diff
2458 '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
2459
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2459 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2460
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2460 'msg' => array('mailbox_modified', $username)
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
2461
            );
Open commit View diff
2461 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2463
        break;
Open commit View diff
2463 break;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2464
        case 'filter':
Open commit View diff
2464 case 'filter':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2465
          if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
Open commit View diff
2465 if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2466
            $_SESSION['return'][] = array(
Open commit View diff
2466 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2467
              'type' => 'danger',
Open commit View diff
2467 '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
2468
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2468 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2469
              'msg' => 'access_denied'
Open commit View diff
2469 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2470
            );
Open commit View diff
2470 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2471
            return false;
Open commit View diff
2471 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2472
          }
Open commit View diff
2472 }
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
2473
          $sieve = new Sieve\SieveParser();
Open commit View diff
2473 $sieve = new Sieve\SieveParser();
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2474
          if (!is_array($_data['id'])) {
Open commit View diff
2474 if (!is_array($_data['id'])) {
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2475
            $ids = array();
Open commit View diff
2475 $ids = array();
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2476
            $ids[] = $_data['id'];
Open commit View diff
2476 $ids[] = $_data['id'];
same change c9554ca

[Compose] Update watchdog image

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

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2478
          else {
Open commit View diff
2478 else {
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2479
            $ids = $_data['id'];
Open commit View diff
2479 $ids = $_data['id'];
same change c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2480
          }
Open commit View diff
2480 }
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2481
          foreach ($ids as $id) {
Open commit View diff
2481 foreach ($ids as $id) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2482
            $is_now = mailbox('get', 'filter_details', $id);
Open commit View diff
2482 $is_now = mailbox('get', 'filter_details', $id);
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2483
            if (!empty($is_now)) {
Open commit View diff
2483 if (!empty($is_now)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2484
              $username = $is_now['username'];
Open commit View diff
2484 $username = $is_now['username'];
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2485
              $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
2485 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2486
              $script_desc = (!empty($_data['script_desc'])) ? $_data['script_desc'] : $is_now['script_desc'];
Open commit View diff
2486 $script_desc = (!empty($_data['script_desc'])) ? $_data['script_desc'] : $is_now['script_desc'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2487
              $script_data = (!empty($_data['script_data'])) ? $_data['script_data'] : $is_now['script_data'];
Open commit View diff
2487 $script_data = (!empty($_data['script_data'])) ? $_data['script_data'] : $is_now['script_data'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2488
              $filter_type = (!empty($_data['filter_type'])) ? $_data['filter_type'] : $is_now['filter_type'];
Open commit View diff
2488 $filter_type = (!empty($_data['filter_type'])) ? $_data['filter_type'] : $is_now['filter_type'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2489
            }
Open commit View diff
2489 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2490
            else {
Open commit View diff
2490 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
2491
              $_SESSION['return'][] = array(
Open commit View diff
2491 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2492
                'type' => 'danger',
Open commit View diff
2492 '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
2493
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2493 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2494
                'msg' => 'access_denied'
Open commit View diff
2494 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2495
              );
Open commit View diff
2495 );
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
2496
              continue;
Open commit View diff
2496 continue;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2497
            }
Open commit View diff
2497 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2498
            try {
Open commit View diff
2498 try {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2499
              $sieve->parse($script_data);
Open commit View diff
2499 $sieve->parse($script_data);
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2500
            }
Open commit View diff
2500 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2501
            catch (Exception $e) {
Open commit View diff
2501 catch (Exception $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
2502
              $_SESSION['return'][] = array(
Open commit View diff
2502 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2503
                'type' => 'danger',
Open commit View diff
2503 '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
2504
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2504 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2505
                'msg' => array('sieve_error', $e->getMessage())
Open commit View diff
2505 'msg' => array('sieve_error', $e->getMessage())
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2506
              );
Open commit View diff
2506 );
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
2507
              continue;
Open commit View diff
2507 continue;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2508
            }
Open commit View diff
2508 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2509
            if ($filter_type != 'postfilter' && $filter_type != 'prefilter') {
Open commit View diff
2509 if ($filter_type != 'postfilter' && $filter_type != 'prefilter') {
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
2510
              $_SESSION['return'][] = array(
Open commit View diff
2510 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2511
                'type' => 'danger',
Open commit View diff
2511 '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
2512
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2512 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2513
                'msg' => 'filter_type'
Open commit View diff
2513 'msg' => 'filter_type'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2514
              );
Open commit View diff
2514 );
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
2515
              continue;
Open commit View diff
2515 continue;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2516
            }
Open commit View diff
2516 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2517
            if ($active == '1') {
Open commit View diff
2517 if ($active == '1') {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2518
              $script_name = 'active';
Open commit View diff
2518 $script_name = 'active';
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2519
              $stmt = $pdo->prepare("UPDATE `sieve_filters`
Open commit View diff
2519 $stmt = $pdo->prepare("UPDATE `sieve_filters`
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
2520
                SET `script_name` = 'inactive'
Open commit View diff
2520 SET `script_name` = 'inactive'
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
2521
                  WHERE `username` = :username
Open commit View diff
2521 WHERE `username` = :username
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
2522
                    AND `filter_type` = :filter_type");
Open commit View diff
2522 AND `filter_type` = :filter_type");
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2523
              $stmt->execute(array(
Open commit View diff
2523 $stmt->execute(array(
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
2524
                ':username' => $username,
Open commit View diff
2524 ':username' => $username,
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
2525
                ':filter_type' => $filter_type
Open commit View diff
2525 ':filter_type' => $filter_type
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2526
              ));
Open commit View diff
2526 ));
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2527
            }
Open commit View diff
2527 }
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
2528
            else {
Open commit View diff
2528 else {
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
2529
              $script_name = 'inactive';
Open commit View diff
2529 $script_name = 'inactive';
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2530
            }
Open commit View diff
2530 }
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
2531
            $stmt = $pdo->prepare("UPDATE `sieve_filters` SET `script_desc` = :script_desc, `script_data` = :script_data, `script_name` = :script_name, `filter_type` = :filter_type
Open commit View diff
2531 $stmt = $pdo->prepare("UPDATE `sieve_filters` SET `script_desc` = :script_desc, `script_data` = :script_data, `script_name` = :script_name, `filter_type` = :filter_type
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2532
              WHERE `id` = :id");
Open commit View diff
2532 WHERE `id` = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2533
            $stmt->execute(array(
Open commit View diff
2533 $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
2534
              ':script_desc' => $script_desc,
Open commit View diff
2534 ':script_desc' => $script_desc,
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
2535
              ':script_data' => $script_data,
Open commit View diff
2535 ':script_data' => $script_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
2536
              ':script_name' => $script_name,
Open commit View diff
2536 ':script_name' => $script_name,
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
2537
              ':filter_type' => $filter_type,
Open commit View diff
2537 ':filter_type' => $filter_type,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2538
              ':id' => $id
Open commit View diff
2538 ':id' => $id
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2539
            ));
Open commit View diff
2539 ));
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
2540
            $_SESSION['return'][] = array(
Open commit View diff
2540 $_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
2541
              'type' => 'success',
Open commit View diff
2541 '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
2542
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2542 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2543
              'msg' => array('mailbox_modified', $username)
Open commit View diff
2543 'msg' => array('mailbox_modified', $username)
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
2544
            );
Open commit View diff
2544 );
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2545
          }
Open commit View diff
2545 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2546
        break;
Open commit View diff
2546 break;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2547
        case 'alias':
Open commit View diff
2547 case 'alias':
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
2548
          if (!is_array($_data['id'])) {
Open commit View diff
2548 if (!is_array($_data['id'])) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2549
            $ids = array();
Open commit View diff
2549 $ids = 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
2550
            $ids[] = $_data['id'];
Open commit View diff
2550 $ids[] = $_data['id'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2552
          else {
Open commit View diff
2552 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
2553
            $ids = $_data['id'];
Open commit View diff
2553 $ids = $_data['id'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2554
          }
Open commit View diff
2554 }
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
2555
          foreach ($ids as $id) {
Open commit View diff
2555 foreach ($ids as $id) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2556
            $is_now = mailbox('get', 'alias_details', $id);
Open commit View diff
2556 $is_now = mailbox('get', 'alias_details', $id);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2557
            if (!empty($is_now)) {
Open commit View diff
2557 if (!empty($is_now)) {
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
2558
              $internal = (isset($_data['internal'])) ? intval($_data['internal']) : $is_now['internal'];
Open commit View diff
2558 $internal = (isset($_data['internal'])) ? intval($_data['internal']) : $is_now['internal'];
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2559
              $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
2559 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
2560
              $sender_allowed = (isset($_data['sender_allowed'])) ? intval($_data['sender_allowed']) : $is_now['sender_allowed'];
Open commit View diff
2560 $sender_allowed = (isset($_data['sender_allowed'])) ? intval($_data['sender_allowed']) : $is_now['sender_allowed'];
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2561
              $sogo_visible = (isset($_data['sogo_visible'])) ? intval($_data['sogo_visible']) : $is_now['sogo_visible'];
Open commit View diff
2561 $sogo_visible = (isset($_data['sogo_visible'])) ? intval($_data['sogo_visible']) : $is_now['sogo_visible'];
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
2562
              $goto_null = (isset($_data['goto_null'])) ? intval($_data['goto_null']) : 0;
Open commit View diff
2562 $goto_null = (isset($_data['goto_null'])) ? intval($_data['goto_null']) : 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
2563
              $goto_spam = (isset($_data['goto_spam'])) ? intval($_data['goto_spam']) : 0;
Open commit View diff
2563 $goto_spam = (isset($_data['goto_spam'])) ? intval($_data['goto_spam']) : 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
2564
              $goto_ham = (isset($_data['goto_ham'])) ? intval($_data['goto_ham']) : 0;
Open commit View diff
2564 $goto_ham = (isset($_data['goto_ham'])) ? intval($_data['goto_ham']) : 0;
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2565
              $public_comment = (isset($_data['public_comment'])) ? $_data['public_comment'] : $is_now['public_comment'];
Open commit View diff
2565 $public_comment = (isset($_data['public_comment'])) ? $_data['public_comment'] : $is_now['public_comment'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2566
              $private_comment = (isset($_data['private_comment'])) ? $_data['private_comment'] : $is_now['private_comment'];
Open commit View diff
2566 $private_comment = (isset($_data['private_comment'])) ? $_data['private_comment'] : $is_now['private_comment'];
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
2567
              $goto = (!empty($_data['goto'])) ? $_data['goto'] : $is_now['goto'];
Open commit View diff
2567 $goto = (!empty($_data['goto'])) ? $_data['goto'] : $is_now['goto'];
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
2568
              $address = (!empty($_data['address'])) ? $_data['address'] : $is_now['address'];
Open commit View diff
2568 $address = (!empty($_data['address'])) ? $_data['address'] : $is_now['address'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2570
            else {
Open commit View diff
2570 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
2571
              $_SESSION['return'][] = array(
Open commit View diff
2571 $_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
2572
                'type' => 'danger',
Open commit View diff
2572 '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
2573
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2573 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 6 years ago f2ae0db

[Web] Minor fixes, some style adjustments

Full commit hash
f2ae0db9a2183d0da4657922fa1387efac8cdebd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2574
                'msg' => array('alias_invalid', $address)
Open commit View diff
2574 'msg' => array('alias_invalid', $address)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2575
              );
Open commit View diff
2575 );
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
2576
              continue;
Open commit View diff
2576 continue;
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
2577
            }
Open commit View diff
2577 }
andryyy over 5 years ago a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2578
            if ($_data['expand_alias'] === true || $_data['expand_alias'] == 1) {
Open commit View diff
2578 if ($_data['expand_alias'] === true || $_data['expand_alias'] == 1) {
andryyy over 5 years ago b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2579
              $stmt = $pdo->prepare("SELECT `address` FROM `alias`
Open commit View diff
2579 $stmt = $pdo->prepare("SELECT `address` FROM `alias`
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2580
                WHERE `address` = :address
Open commit View diff
2580 WHERE `address` = :address
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2581
                  AND `domain` NOT IN (
Open commit View diff
2581 AND `domain` NOT IN (
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2582
                    SELECT `alias_domain` FROM `alias_domain`
Open commit View diff
2582 SELECT `alias_domain` FROM `alias_domain`
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2583
                  )");
Open commit View diff
2583 )");
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2584
              $stmt->execute(array(
Open commit View diff
2584 $stmt->execute(array(
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2585
                ':address' => $address,
Open commit View diff
2585 ':address' => $address,
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2586
              ));
Open commit View diff
2586 ));
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2587
              $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
2587 $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2588
              if ($num_results == 0) {
Open commit View diff
2588 if ($num_results == 0) {
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2589
                $_SESSION['return'][] = array(
Open commit View diff
2589 $_SESSION['return'][] = array(
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2590
                  'type' => 'warning',
Open commit View diff
2590 'type' => 'warning',
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2591
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2591 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2592
                  'msg' => array('is_not_primary_alias', htmlspecialchars($address))
Open commit View diff
2592 'msg' => array('is_not_primary_alias', htmlspecialchars($address))
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2593
                );
Open commit View diff
2593 );
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2594
                continue;
Open commit View diff
2594 continue;
same change b82bf50

[Web] Feature: Expand alias over alias domains

Full commit hash
b82bf5073bd4306aa95d5a3eb8add786328fad30
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2595
              }
Open commit View diff
2595 }
andryyy over 5 years ago a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2596
              $stmt = $pdo->prepare("SELECT `goto`, GROUP_CONCAT(CONCAT(SUBSTRING(`alias`.`address`, 1, LOCATE('@', `alias`.`address`) - 1), '@', `alias_domain`.`alias_domain`)) AS `missing_alias`
Open commit View diff
2596 $stmt = $pdo->prepare("SELECT `goto`, GROUP_CONCAT(CONCAT(SUBSTRING(`alias`.`address`, 1, LOCATE('@', `alias`.`address`) - 1), '@', `alias_domain`.`alias_domain`)) AS `missing_alias`
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2597
                FROM `alias` JOIN `alias_domain` ON `alias_domain`.`target_domain` = `alias`.`domain`
Open commit View diff
2597 FROM `alias` JOIN `alias_domain` ON `alias_domain`.`target_domain` = `alias`.`domain`
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2598
                    WHERE CONCAT(SUBSTRING(`alias`.`address`, 1, LOCATE('@', `alias`.`address`) - 1), '@', `alias_domain`.`alias_domain`) NOT IN (
Open commit View diff
2598 WHERE CONCAT(SUBSTRING(`alias`.`address`, 1, LOCATE('@', `alias`.`address`) - 1), '@', `alias_domain`.`alias_domain`) NOT IN (
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2599
                      SELECT `address` FROM `alias` WHERE `address` != `goto`
Open commit View diff
2599 SELECT `address` FROM `alias` WHERE `address` != `goto`
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2600
                    )
Open commit View diff
2600 )
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2601
                    AND `alias`.`address` NOT IN (
Open commit View diff
2601 AND `alias`.`address` NOT IN (
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2602
                      SELECT `address` FROM `alias` WHERE `address` = `goto`
Open commit View diff
2602 SELECT `address` FROM `alias` WHERE `address` = `goto`
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2603
                    )
Open commit View diff
2603 )
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2604
                    AND `address` = :address ;");
Open commit View diff
2604 AND `address` = :address ;");
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2605
              $stmt->execute(array(
Open commit View diff
2605 $stmt->execute(array(
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2606
                ':address' => $address
Open commit View diff
2606 ':address' => $address
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2607
              ));
Open commit View diff
2607 ));
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2608
              $missing_aliases = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
2608 $missing_aliases = $stmt->fetch(PDO::FETCH_ASSOC);
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2609
              if (!empty($missing_aliases['missing_alias'])) {
Open commit View diff
2609 if (!empty($missing_aliases['missing_alias'])) {
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2610
                mailbox('add', 'alias', array(
Open commit View diff
2610 mailbox('add', 'alias', array(
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2611
                  'address' => $missing_aliases['missing_alias'],
Open commit View diff
2611 'address' => $missing_aliases['missing_alias'],
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2612
                  'goto' => $missing_aliases['goto'],
Open commit View diff
2612 'goto' => $missing_aliases['goto'],
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2613
                  'sogo_visible' => 1,
Open commit View diff
2613 'sogo_visible' => 1,
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2614
                  'active' => 1
Open commit View diff
2614 'active' => 1
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2615
                ));
Open commit View diff
2615 ));
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2616
              }
Open commit View diff
2616 }
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2617
              $_SESSION['return'][] = array(
Open commit View diff
2617 $_SESSION['return'][] = array(
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2618
                'type' => 'success',
Open commit View diff
2618 'type' => 'success',
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2619
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2619 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2620
                'msg' => array('alias_modified', htmlspecialchars($address))
Open commit View diff
2620 'msg' => array('alias_modified', htmlspecialchars($address))
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2621
              );
Open commit View diff
2621 );
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2622
              continue;
Open commit View diff
2622 continue;
same change a3c6c51

[Web] Feature: Expand alias over alias domains

Full commit hash
a3c6c51b35fba42132ae50126aa65b1096b3de71
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2623
            }
Open commit View diff
2623 }
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2624
            $domain = idn_to_ascii(substr(strstr($address, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
2624 $domain = idn_to_ascii(substr(strstr($address, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
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
2625
            if ($is_now['address'] != $address) {
Open commit View diff
2625 if ($is_now['address'] != $address) {
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
2626
              $local_part = strstr($address, '@', true);
Open commit View diff
2626 $local_part = strstr($address, '@', true);
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
2627
              $address      = $local_part.'@'.$domain;
Open commit View diff
2627 $address = $local_part.'@'.$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
2628
              if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
2628 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $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
2629
                $_SESSION['return'][] = array(
Open commit View diff
2629 $_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
2630
                  'type' => 'danger',
Open commit View diff
2630 'type' => 'danger',
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
2631
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2631 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2632
                  'msg' => 'access_denied'
Open commit View diff
2632 'msg' => 'access_denied'
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
2633
                );
Open commit View diff
2633 );
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
2634
                continue;
Open commit View diff
2634 continue;
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
2635
              }
Open commit View diff
2635 }
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
2636
              if ((!filter_var($address, FILTER_VALIDATE_EMAIL) === true) && !empty($local_part)) {
Open commit View diff
2636 if ((!filter_var($address, FILTER_VALIDATE_EMAIL) === true) && !empty($local_part)) {
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
2637
                $_SESSION['return'][] = array(
Open commit View diff
2637 $_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
2638
                  'type' => 'danger',
Open commit View diff
2638 'type' => 'danger',
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
2639
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2639 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 6 years ago f2ae0db

[Web] Minor fixes, some style adjustments

Full commit hash
f2ae0db9a2183d0da4657922fa1387efac8cdebd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2640
                  'msg' => array('alias_invalid', $address)
Open commit View diff
2640 'msg' => array('alias_invalid', $address)
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
2641
                );
Open commit View diff
2641 );
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
2642
                continue;
Open commit View diff
2642 continue;
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
2643
              }
Open commit View diff
2643 }
andryyy about 7 years ago 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2644
              if (strtolower($is_now['address']) != strtolower($address)) {
Open commit View diff
2644 if (strtolower($is_now['address']) != strtolower($address)) {
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2645
                $stmt = $pdo->prepare("SELECT `address` FROM `alias`
Open commit View diff
2645 $stmt = $pdo->prepare("SELECT `address` FROM `alias`
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2646
                  WHERE `address`= :address OR `address` IN (
Open commit View diff
2646 WHERE `address`= :address OR `address` IN (
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2647
                    SELECT `username` FROM `mailbox`, `alias_domain`
Open commit View diff
2647 SELECT `username` FROM `mailbox`, `alias_domain`
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2648
                      WHERE (
Open commit View diff
2648 WHERE (
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2649
                        `alias_domain`.`alias_domain` = :address_d
Open commit View diff
2649 `alias_domain`.`alias_domain` = :address_d
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2650
                          AND `mailbox`.`username` = CONCAT(:address_l, '@', alias_domain.target_domain)))");
Open commit View diff
2650 AND `mailbox`.`username` = CONCAT(:address_l, '@', alias_domain.target_domain)))");
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2651
                $stmt->execute(array(
Open commit View diff
2651 $stmt->execute(array(
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2652
                  ':address' => $address,
Open commit View diff
2652 ':address' => $address,
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2653
                  ':address_l' => $local_part,
Open commit View diff
2653 ':address_l' => $local_part,
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2654
                  ':address_d' => $domain
Open commit View diff
2654 ':address_d' => $domain
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2655
                ));
Open commit View diff
2655 ));
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2656
                $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
2656 $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2657
                if ($num_results != 0) {
Open commit View diff
2657 if ($num_results != 0) {
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2658
                  $_SESSION['return'][] = array(
Open commit View diff
2658 $_SESSION['return'][] = array(
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2659
                    'type' => 'danger',
Open commit View diff
2659 'type' => 'danger',
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2660
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2660 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2661
                    'msg' => array('is_alias_or_mailbox', htmlspecialchars($address))
Open commit View diff
2661 'msg' => array('is_alias_or_mailbox', htmlspecialchars($address))
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2662
                  );
Open commit View diff
2662 );
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2663
                  continue;
Open commit View diff
2663 continue;
same change 05a2301

[Web] Allow to rename alias to Alias

Full commit hash
05a2301ea6a5711bb71d4787e231aa0cf14c0f57
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2664
                }
Open commit View diff
2664 }
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
2665
              }
Open commit View diff
2665 }
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
2666
              $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
2666 $stmt = $pdo->prepare("SELECT `domain` FROM `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
2667
                WHERE `domain`= :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2)");
Open commit View diff
2667 WHERE `domain`= :domain1 OR `domain` = (SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain2)");
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
2668
              $stmt->execute(array(':domain1' => $domain, ':domain2' => $domain));
Open commit View diff
2668 $stmt->execute(array(':domain1' => $domain, ':domain2' => $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
2669
              $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
2669 $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
2670
              if ($num_results == 0) {
Open commit View diff
2670 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
2671
                $_SESSION['return'][] = array(
Open commit View diff
2671 $_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
2672
                  'type' => 'danger',
Open commit View diff
2672 'type' => 'danger',
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
2673
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2673 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2674
                  'msg' => array('domain_not_found', htmlspecialchars($domain))
Open commit View diff
2674 'msg' => array('domain_not_found', htmlspecialchars($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
2675
                );
Open commit View diff
2675 );
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
2676
                continue;
Open commit View diff
2676 continue;
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
2677
              }
Open commit View diff
2677 }
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
2678
              $stmt = $pdo->prepare("SELECT `address` FROM `spamalias`
Open commit View diff
2678 $stmt = $pdo->prepare("SELECT `address` FROM `spamalias`
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
2679
                WHERE `address`= :address");
Open commit View diff
2679 WHERE `address`= :address");
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
2680
              $stmt->execute(array(':address' => $address));
Open commit View diff
2680 $stmt->execute(array(':address' => $address));
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
2681
              $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
2681 $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
2682
              if ($num_results != 0) {
Open commit View diff
2682 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
2683
                $_SESSION['return'][] = array(
Open commit View diff
2683 $_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
2684
                  'type' => 'danger',
Open commit View diff
2684 'type' => 'danger',
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
2685
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2685 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2686
                  'msg' => array('is_spam_alias', htmlspecialchars($address))
Open commit View diff
2686 'msg' => array('is_spam_alias', htmlspecialchars($address))
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
2687
                );
Open commit View diff
2687 );
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
2688
                continue;
Open commit View diff
2688 continue;
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
2689
              }
Open commit View diff
2689 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2690
            }
Open commit View diff
2690 }
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2691
            if ($goto_null == "1") {
Open commit View diff
2691 if ($goto_null == "1") {
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2692
              $goto = "null@localhost";
Open commit View diff
2692 $goto = "null@localhost";
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2693
            }
Open commit View diff
2693 }
André almost 8 years ago 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2694
            elseif ($goto_spam == "1") {
Open commit View diff
2694 elseif ($goto_spam == "1") {
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2695
              $goto = "spam@localhost";
Open commit View diff
2695 $goto = "spam@localhost";
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2696
            }
Open commit View diff
2696 }
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2697
            elseif ($goto_ham == "1") {
Open commit View diff
2697 elseif ($goto_ham == "1") {
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2698
              $goto = "ham@localhost";
Open commit View diff
2698 $goto = "ham@localhost";
same change 8934a3a

[Web] Allow spam/ham "traps"

Full commit hash
8934a3a68b4f9d8bf2ecff8e25a3324fbb54944c
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2699
            }
Open commit View diff
2699 }
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2700
            else {
Open commit View diff
2700 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
2701
              $gotos = array_map('trim', preg_split( "/( |,|;|\n)/", $goto));
Open commit View diff
2701 $gotos = array_map('trim', preg_split( "/( |,|;|\n)/", $goto));
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
2702
              foreach ($gotos as $i => &$goto) {
Open commit View diff
2702 foreach ($gotos as $i => &$goto) {
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2703
                if (empty($goto)) {
Open commit View diff
2703 if (empty($goto)) {
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2704
                  continue;
Open commit View diff
2704 continue;
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2705
                }
Open commit View diff
2705 }
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2706
                if (!filter_var($goto, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
2706 if (!filter_var($goto, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2707
                  $_SESSION['return'][] = array(
Open commit View diff
2707 $_SESSION['return'][] = array(
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2708
                    'type' => 'danger',
Open commit View diff
2708 '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
2709
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2709 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2710
                    'msg' => array('goto_invalid', $goto)
Open commit View diff
2710 'msg' => array('goto_invalid', $goto)
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2711
                  );
Open commit View diff
2711 );
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
2712
                  unset($gotos[$i]);
Open commit View diff
2712 unset($gotos[$i]);
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
2713
                  continue;
Open commit View diff
2713 continue;
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2714
                }
Open commit View diff
2714 }
same change 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2715
                if ($goto == $address) {
Open commit View diff
2715 if ($goto == $address) {
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
2716
                  $_SESSION['return'][] = array(
Open commit View diff
2716 $_SESSION['return'][] = array(
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2717
                    'type' => 'danger',
Open commit View diff
2717 '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
2718
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2718 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2719
                    'msg' => 'alias_goto_identical'
Open commit View diff
2719 'msg' => 'alias_goto_identical'
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2720
                  );
Open commit View diff
2720 );
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
2721
                  unset($gotos[$i]);
Open commit View diff
2721 unset($gotos[$i]);
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
2722
                  continue;
Open commit View diff
2722 continue;
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2723
                }
Open commit View diff
2723 }
andryyy about 7 years ago d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2724
                // Delete from sender_acl to prevent duplicates
Open commit View diff
2724 // Delete from sender_acl to prevent duplicates
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2725
                $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE
Open commit View diff
2725 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2726
                  `logged_in_as` = :goto AND
Open commit View diff
2726 `logged_in_as` = :goto AND
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2727
                  `send_as` = :address");
Open commit View diff
2727 `send_as` = :address");
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2728
                $stmt->execute(array(
Open commit View diff
2728 $stmt->execute(array(
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2729
                  ':goto' => $goto,
Open commit View diff
2729 ':goto' => $goto,
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2730
                  ':address' => $address
Open commit View diff
2730 ':address' => $address
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
2731
                ));
Open commit View diff
2731 ));
andryyy about 9 years ago fd5a590

More structural changes

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

[Web] Feature: Allow copies of quota notifications to be sent via SMTP to internal or external addresses

Full commit hash
e6d5516c7f0c441b00de7e5236d89ad18c976191
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2733
              $gotos = array_unique($gotos);
Open commit View diff
2733 $gotos = array_unique($gotos);
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2734
              $gotos = array_filter($gotos);
Open commit View diff
2734 $gotos = array_filter($gotos);
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
2735
              $goto = implode(",", (array)$gotos);
Open commit View diff
2735 $goto = implode(",", (array)$gotos);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2736
            }
Open commit View diff
2736 }
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
2737
            if (!empty($goto)) {
Open commit View diff
2737 if (!empty($goto)) {
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
2738
              $stmt = $pdo->prepare("UPDATE `alias` SET
Open commit View diff
2738 $stmt = $pdo->prepare("UPDATE `alias` SET
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
2739
                `address` = :address,
Open commit View diff
2739 `address` = :address,
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2740
                `public_comment` = :public_comment,
Open commit View diff
2740 `public_comment` = :public_comment,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2741
                `private_comment` = :private_comment,
Open commit View diff
2741 `private_comment` = :private_comment,
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2742
                `domain` = :domain,
Open commit View diff
2742 `domain` = :domain,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2743
                `goto` = :goto,
Open commit View diff
2743 `goto` = :goto,
andryyy almost 7 years ago c3be045

[Web] mailbox.php uses dropups

Full commit hash
c3be04560b9026770a27233a73b95c44b6920a15
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
2744
                `sogo_visible`= :sogo_visible,
Open commit View diff
2744 `sogo_visible`= :sogo_visible,
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
2745
                `internal`= :internal,
Open commit View diff
2745 `internal`= :internal,
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
2746
                `sender_allowed`= :sender_allowed,
Open commit View diff
2746 `sender_allowed`= :sender_allowed,
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
2747
                `active`= :active
Open commit View diff
2747 `active`= :active
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
2748
                  WHERE `id` = :id");
Open commit View diff
2748 WHERE `id` = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2749
              $stmt->execute(array(
Open commit View diff
2749 $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
2750
                ':address' => $address,
Open commit View diff
2750 ':address' => $address,
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2751
                ':public_comment' => $public_comment,
Open commit View diff
2751 ':public_comment' => $public_comment,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2752
                ':private_comment' => $private_comment,
Open commit View diff
2752 ':private_comment' => $private_comment,
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2753
                ':domain' => $domain,
Open commit View diff
2753 ':domain' => $domain,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2754
                ':goto' => $goto,
Open commit View diff
2754 ':goto' => $goto,
andryyy almost 7 years ago c3be045

[Web] mailbox.php uses dropups

Full commit hash
c3be04560b9026770a27233a73b95c44b6920a15
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
2755
                ':sogo_visible' => $sogo_visible,
Open commit View diff
2755 ':sogo_visible' => $sogo_visible,
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
2756
                ':internal' => $internal,
Open commit View diff
2756 ':internal' => $internal,
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
2757
                ':sender_allowed' => $sender_allowed,
Open commit View diff
2757 ':sender_allowed' => $sender_allowed,
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
2758
                ':active' => $active,
Open commit View diff
2758 ':active' => $active,
Programmierus about 6 years ago 8b02acb

Fix a bug that failed to edit Alias by address (#3574)

Full commit hash
8b02acbef55e60c97c7224471e895d02bddb07cb
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
2759
                ':id' => $is_now['id']
Open commit View diff
2759 ':id' => $is_now['id']
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2760
              ));
Open commit View diff
2760 ));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2761
            }
Open commit View diff
2761 }
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
2762
            $_SESSION['return'][] = array(
Open commit View diff
2762 $_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
2763
              'type' => 'success',
Open commit View diff
2763 '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
2764
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2764 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2765
              'msg' => array('alias_modified', htmlspecialchars($address))
Open commit View diff
2765 'msg' => array('alias_modified', htmlspecialchars($address))
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
2766
            );
Open commit View diff
2766 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2767
Open commit View diff
2767
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2768
            // Track affected mailboxes for SOGo update (both old and new goto addresses)
Open commit View diff
2768 // Track affected mailboxes for SOGo update (both old and new goto addresses)
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2769
            // Old goto: to remove alias from their view
Open commit View diff
2769 // Old goto: to remove alias from their view
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2770
            if (!empty($is_now['goto'])) {
Open commit View diff
2770 if (!empty($is_now['goto'])) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2771
              $old_gotos = array_map('trim', explode(',', $is_now['goto']));
Open commit View diff
2771 $old_gotos = array_map('trim', explode(',', $is_now['goto']));
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2772
              foreach ($old_gotos as $g) {
Open commit View diff
2772 foreach ($old_gotos as $g) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2773
                if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
Open commit View diff
2773 if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2774
                    !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
Open commit View diff
2774 !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2775
                  $update_sogo_mailboxes[] = $g;
Open commit View diff
2775 $update_sogo_mailboxes[] = $g;
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2776
                }
Open commit View diff
2776 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2777
              }
Open commit View diff
2777 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2778
            }
Open commit View diff
2778 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2779
            // New goto: to add alias to their view
Open commit View diff
2779 // New goto: to add alias to their view
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2780
            if (!empty($goto)) {
Open commit View diff
2780 if (!empty($goto)) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2781
              $new_gotos = array_map('trim', explode(',', $goto));
Open commit View diff
2781 $new_gotos = array_map('trim', explode(',', $goto));
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2782
              foreach ($new_gotos as $g) {
Open commit View diff
2782 foreach ($new_gotos as $g) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2783
                if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
Open commit View diff
2783 if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2784
                    !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
Open commit View diff
2784 !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2785
                  $update_sogo_mailboxes[] = $g;
Open commit View diff
2785 $update_sogo_mailboxes[] = $g;
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2786
                }
Open commit View diff
2786 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2787
              }
Open commit View diff
2787 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
2788
            }
Open commit View diff
2788 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2799
          foreach ($domains as $domain) {
Open commit View diff
2799 foreach ($domains as $domain) {
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
2800
            $domain = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
2800 $domain = idn_to_ascii($domain, 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
2801
            if (!is_valid_domain_name($domain)) {
Open commit View diff
2801 if (!is_valid_domain_name($domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2802
              $_SESSION['return'][] = array(
Open commit View diff
2802 $_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
2803
                'type' => 'danger',
Open commit View diff
2803 '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
2804
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2804 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2805
                'msg' => 'domain_invalid'
Open commit View diff
2805 'msg' => 'domain_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
2806
              );
Open commit View diff
2806 );
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
2807
              continue;
Open commit View diff
2807 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
2808
            }
Open commit View diff
2808 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2809
            if ($_SESSION['mailcow_cc_role'] == "domainadmin" &&
Open commit View diff
2809 if ($_SESSION['mailcow_cc_role'] == "domainadmin" &&
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2810
            hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
2810 hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2811
              $is_now = mailbox('get', 'domain_details', $domain);
Open commit View diff
2811 $is_now = mailbox('get', 'domain_details', $domain);
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2812
              if (!empty($is_now)) {
Open commit View diff
2812 if (!empty($is_now)) {
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2813
                $gal                  = (isset($_data['gal'])) ? intval($_data['gal']) : $is_now['gal'];
Open commit View diff
2813 $gal = (isset($_data['gal'])) ? intval($_data['gal']) : $is_now['gal'];
andryyy almost 6 years ago 155dfc6

[Web] Create ACL to toggle permission of a domain administrator to change a domain desc

Full commit hash
155dfc66ee46879063d0090b80ac70c1b2cf947a
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2814
                $description          = (!empty($_data['description']) && isset($_SESSION['acl']['domain_desc']) && $_SESSION['acl']['domain_desc'] == "1") ? $_data['description'] : $is_now['description'];
Open commit View diff
2814 $description = (!empty($_data['description']) && isset($_SESSION['acl']['domain_desc']) && $_SESSION['acl']['domain_desc'] == "1") ? $_data['description'] : $is_now['description'];
andryyy about 5 years ago 5065667

[Postfix] Allow to set and override a relayhost per mailbox

Full commit hash
5065667ae467261d6a2336ec01faf9d26998044c
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2815
                (int)$relayhost       = (isset($_data['relayhost']) && isset($_SESSION['acl']['domain_relayhost']) && $_SESSION['acl']['domain_relayhost'] == "1") ? intval($_data['relayhost']) : intval($is_now['relayhost']);
Open commit View diff
2815 (int)$relayhost = (isset($_data['relayhost']) && isset($_SESSION['acl']['domain_relayhost']) && $_SESSION['acl']['domain_relayhost'] == "1") ? intval($_data['relayhost']) : intval($is_now['relayhost']);
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2816
                $tags                 = (is_array($_data['tags']) ? $_data['tags'] : array());
Open commit View diff
2816 $tags = (is_array($_data['tags']) ? $_data['tags'] : array());
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2817
              }
Open commit View diff
2817 }
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2818
              else {
Open commit View diff
2818 else {
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2819
                $_SESSION['return'][] = array(
Open commit View diff
2819 $_SESSION['return'][] = array(
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2820
                  'type' => 'danger',
Open commit View diff
2820 'type' => 'danger',
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2821
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2821 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2822
                  'msg' => 'domain_invalid'
Open commit View diff
2822 'msg' => 'domain_invalid'
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2823
                );
Open commit View diff
2823 );
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2824
                continue;
Open commit View diff
2824 continue;
same change 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2825
              }
Open commit View diff
2825 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2826
Open commit View diff
2826
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
2827
              $stmt = $pdo->prepare("UPDATE `domain` SET
Open commit View diff
2827 $stmt = $pdo->prepare("UPDATE `domain` SET
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2828
              `description` = :description,
Open commit View diff
2828 `description` = :description,
andryyy about 5 years ago 8b08d09

[Web] Remove XMPP options

Full commit hash
8b08d09ca20402f06ca0c8a884cd58d4fc72fec0
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
2829
              `gal` = :gal
Open commit View diff
2829 `gal` = :gal
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
2830
                WHERE `domain` = :domain");
Open commit View diff
2830 WHERE `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
2831
              $stmt->execute(array(
Open commit View diff
2831 $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
2832
                ':description' => $description,
Open commit View diff
2832 ':description' => $description,
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2833
                ':gal' => $gal,
Open commit View diff
2833 ':gal' => $gal,
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
2834
                ':domain' => $domain
Open commit View diff
2834 ':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
2835
              ));
Open commit View diff
2835 ));
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2836
              // save tags
Open commit View diff
2836 // save tags
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2837
              foreach($tags as $index => $tag){
Open commit View diff
2837 foreach($tags as $index => $tag){
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2838
                if (empty($tag)) continue;
Open commit View diff
2838 if (empty($tag)) continue;
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2839
                if ($index > $GLOBALS['TAGGING_LIMIT']) {
Open commit View diff
2839 if ($index > $GLOBALS['TAGGING_LIMIT']) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2840
                  $_SESSION['return'][] = array(
Open commit View diff
2840 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2841
                    'type' => 'warning',
Open commit View diff
2841 'type' => 'warning',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2842
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2842 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2843
                    'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
Open commit View diff
2843 'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2844
                  );
Open commit View diff
2844 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2845
                  break;
Open commit View diff
2845 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2846
                }
Open commit View diff
2846 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2847
                $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
Open commit View diff
2847 $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2848
                $stmt->execute(array(
Open commit View diff
2848 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2849
                  ':domain' => $domain,
Open commit View diff
2849 ':domain' => $domain,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2850
                  ':tag_name' => $tag,
Open commit View diff
2850 ':tag_name' => $tag,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2851
                ));
Open commit View diff
2851 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2852
              }
Open commit View diff
2852 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2853
Open commit View diff
2853
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
2854
              $_SESSION['return'][] = array(
Open commit View diff
2854 $_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
2855
                'type' => 'success',
Open commit View diff
2855 '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
2856
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2856 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2857
                'msg' => array('domain_modified', htmlspecialchars($domain))
Open commit View diff
2857 'msg' => array('domain_modified', htmlspecialchars($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
2858
              );
Open commit View diff
2858 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2862
              if (!empty($is_now)) {
Open commit View diff
2862 if (!empty($is_now)) {
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2863
                $active               = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
2863 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2864
                $backupmx             = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : $is_now['backupmx'];
Open commit View diff
2864 $backupmx = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : $is_now['backupmx'];
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2865
                $gal                  = (isset($_data['gal'])) ? intval($_data['gal']) : $is_now['gal'];
Open commit View diff
2865 $gal = (isset($_data['gal'])) ? intval($_data['gal']) : $is_now['gal'];
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2866
                $relay_all_recipients = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : $is_now['relay_all_recipients'];
Open commit View diff
2866 $relay_all_recipients = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : $is_now['relay_all_recipients'];
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
2867
                $relay_unknown_only   = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : $is_now['relay_unknown_only'];
Open commit View diff
2867 $relay_unknown_only = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : $is_now['relay_unknown_only'];
andryyy about 9 years ago 83d485d

[Web, Postfix, Compose] Allow to add relayhosts per domain (+ plain and login authentication)

Full commit hash
83d485dd94662806551d072f280a3ed46a478f80
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2868
                $relayhost            = (isset($_data['relayhost'])) ? intval($_data['relayhost']) : $is_now['relayhost'];
Open commit View diff
2868 $relayhost = (isset($_data['relayhost'])) ? intval($_data['relayhost']) : $is_now['relayhost'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2869
                $aliases              = (!empty($_data['aliases'])) ? $_data['aliases'] : $is_now['max_num_aliases_for_domain'];
Open commit View diff
2869 $aliases = (!empty($_data['aliases'])) ? $_data['aliases'] : $is_now['max_num_aliases_for_domain'];
andryyy over 7 years ago 05e1440

[Web] Edit domain, allow set max mailboxes to 0, fixes #2021

Full commit hash
05e14401ad10b08246561e4d5bd152ac4a7eb5f7
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2870
                $mailboxes            = (isset($_data['mailboxes']) && $_data['mailboxes'] != '') ? intval($_data['mailboxes']) : $is_now['max_num_mboxes_for_domain'];
Open commit View diff
2870 $mailboxes = (isset($_data['mailboxes']) && $_data['mailboxes'] != '') ? intval($_data['mailboxes']) : $is_now['max_num_mboxes_for_domain'];
andryyy almost 7 years ago 9a500a7

[Web] Verify OPTIONAL license plus minor fixes

Full commit hash
9a500a7068a633c41b35373b83d25d8d7d9cacc7
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
2871
                $defquota             = (isset($_data['defquota']) && $_data['defquota'] != '') ? intval($_data['defquota']) : ($is_now['def_quota_for_mbox'] / 1048576);
Open commit View diff
2871 $defquota = (isset($_data['defquota']) && $_data['defquota'] != '') ? intval($_data['defquota']) : ($is_now['def_quota_for_mbox'] / 1048576);
andryyy about 9 years ago 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2872
                $maxquota             = (!empty($_data['maxquota'])) ? $_data['maxquota'] : ($is_now['max_quota_for_mbox'] / 1048576);
Open commit View diff
2872 $maxquota = (!empty($_data['maxquota'])) ? $_data['maxquota'] : ($is_now['max_quota_for_mbox'] / 1048576);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2873
                $quota                = (!empty($_data['quota'])) ? $_data['quota'] : ($is_now['max_quota_for_domain'] / 1048576);
Open commit View diff
2873 $quota = (!empty($_data['quota'])) ? $_data['quota'] : ($is_now['max_quota_for_domain'] / 1048576);
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2874
                $description          = (!empty($_data['description'])) ? $_data['description'] : $is_now['description'];
Open commit View diff
2874 $description = (!empty($_data['description'])) ? $_data['description'] : $is_now['description'];
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2875
                $tags                 = (is_array($_data['tags']) ? $_data['tags'] : array());
Open commit View diff
2875 $tags = (is_array($_data['tags']) ? $_data['tags'] : array());
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2876
                if ($relay_all_recipients == '1') {
Open commit View diff
2876 if ($relay_all_recipients == '1') {
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2877
                  $backupmx = '1';
Open commit View diff
2877 $backupmx = '1';
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2878
                }
Open commit View diff
2878 }
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2879
                if ($relay_unknown_only == '1') {
Open commit View diff
2879 if ($relay_unknown_only == '1') {
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2880
                  $backupmx = '1';
Open commit View diff
2880 $backupmx = '1';
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2881
                  $relay_all_recipients = '1';
Open commit View diff
2881 $relay_all_recipients = '1';
same change ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2882
                }
Open commit View diff
2882 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2884
              else {
Open commit View diff
2884 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
2885
                $_SESSION['return'][] = array(
Open commit View diff
2885 $_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
2886
                  'type' => 'danger',
Open commit View diff
2886 '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
2887
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2887 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2888
                  'msg' => 'domain_invalid'
Open commit View diff
2888 'msg' => 'domain_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
2889
                );
Open commit View diff
2889 );
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
2890
                continue;
Open commit View diff
2890 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
2891
              }
Open commit View diff
2891 }
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
2892
              // todo: should be using api here
Open commit View diff
2892 // todo: should be using api here
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
2893
              $stmt = $pdo->prepare("SELECT
Open commit View diff
2893 $stmt = $pdo->prepare("SELECT
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
2894
                  COUNT(*) AS count,
Open commit View diff
2894 COUNT(*) AS count,
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
2895
                  MAX(COALESCE(ROUND(`quota`/1048576), 0)) AS `biggest_mailbox`,
Open commit View diff
2895 MAX(COALESCE(ROUND(`quota`/1048576), 0)) AS `biggest_mailbox`,
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
2896
                  COALESCE(ROUND(SUM(`quota`)/1048576), 0) AS `quota_all`
Open commit View diff
2896 COALESCE(ROUND(SUM(`quota`)/1048576), 0) AS `quota_all`
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
2897
                    FROM `mailbox`
Open commit View diff
2897 FROM `mailbox`
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
2898
                      WHERE (`kind` = '' OR `kind` = NULL)
Open commit View diff
2898 WHERE (`kind` = '' OR `kind` = NULL)
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
2899
                        AND domain = :domain");
Open commit View diff
2899 AND 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
2900
              $stmt->execute(array(':domain' => $domain));
Open commit View diff
2900 $stmt->execute(array(':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
2901
              $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
2901 $MailboxData = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
2902
              // todo: should be using api here
Open commit View diff
2902 // todo: should be using api here
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
2903
              $stmt = $pdo->prepare("SELECT COUNT(*) AS `count` FROM `alias`
Open commit View diff
2903 $stmt = $pdo->prepare("SELECT COUNT(*) AS `count` FROM `alias`
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
2904
                  WHERE domain = :domain
Open commit View diff
2904 WHERE 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
2905
                  AND address NOT IN (
Open commit View diff
2905 AND address NOT IN (
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
2906
                    SELECT `username` FROM `mailbox`
Open commit View diff
2906 SELECT `username` FROM `mailbox`
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
2907
                  )");
Open commit View diff
2907 )");
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
2908
              $stmt->execute(array(':domain' => $domain));
Open commit View diff
2908 $stmt->execute(array(':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
2909
              $AliasData = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
2909 $AliasData = $stmt->fetch(PDO::FETCH_ASSOC);
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2910
              if ($defquota > $maxquota) {
Open commit View diff
2910 if ($defquota > $maxquota) {
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2911
                $_SESSION['return'][] = array(
Open commit View diff
2911 $_SESSION['return'][] = array(
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2912
                    'type' => 'danger',
Open commit View diff
2912 'type' => 'danger',
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2913
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2913 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2914
                    'msg' => 'mailbox_defquota_exceeds_mailbox_maxquota'
Open commit View diff
2914 'msg' => 'mailbox_defquota_exceeds_mailbox_maxquota'
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2915
                );
Open commit View diff
2915 );
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2916
                continue;
Open commit View diff
2916 continue;
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2917
              }
Open commit View diff
2917 }
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2918
              if ($defquota == "0" || empty($defquota)) {
Open commit View diff
2918 if ($defquota == "0" || empty($defquota)) {
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2919
                $_SESSION['return'][] = array(
Open commit View diff
2919 $_SESSION['return'][] = array(
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2920
                    'type' => 'danger',
Open commit View diff
2920 'type' => 'danger',
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2921
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2921 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2922
                    'msg' => 'defquota_empty'
Open commit View diff
2922 'msg' => 'defquota_empty'
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2923
                );
Open commit View diff
2923 );
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2924
                continue;
Open commit View diff
2924 continue;
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2925
              }
Open commit View diff
2925 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2926
              if ($maxquota > $quota) {
Open commit View diff
2926 if ($maxquota > $quota) {
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
2927
                $_SESSION['return'][] = array(
Open commit View diff
2927 $_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
2928
                  'type' => 'danger',
Open commit View diff
2928 '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
2929
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2929 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2934
              if ($maxquota == "0" || empty($maxquota)) {
Open commit View diff
2934 if ($maxquota == "0" || empty($maxquota)) {
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
2935
                $_SESSION['return'][] = array(
Open commit View diff
2935 $_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
2936
                  'type' => 'danger',
Open commit View diff
2936 '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
2937
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2937 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2942
              if ($MailboxData['biggest_mailbox'] > $maxquota) {
Open commit View diff
2942 if ($MailboxData['biggest_mailbox'] > $maxquota) {
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
2943
                $_SESSION['return'][] = array(
Open commit View diff
2943 $_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
2944
                  'type' => 'danger',
Open commit View diff
2944 '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
2945
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2945 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2950
              if ($MailboxData['quota_all'] > $quota) {
Open commit View diff
2950 if ($MailboxData['quota_all'] > $quota) {
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
2951
                $_SESSION['return'][] = array(
Open commit View diff
2951 $_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
2952
                  'type' => 'danger',
Open commit View diff
2952 '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
2953
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2953 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2958
              if ($MailboxData['count'] > $mailboxes) {
Open commit View diff
2958 if ($MailboxData['count'] > $mailboxes) {
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
2959
                $_SESSION['return'][] = array(
Open commit View diff
2959 $_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
2960
                  'type' => 'danger',
Open commit View diff
2960 '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
2961
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2961 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2966
              if ($AliasData['count'] > $aliases) {
Open commit View diff
2966 if ($AliasData['count'] > $aliases) {
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
2967
                $_SESSION['return'][] = array(
Open commit View diff
2967 $_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
2968
                  'type' => 'danger',
Open commit View diff
2968 '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
2969
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
2969 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2971
                );
Open commit View diff
2971 );
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
2972
                continue;
Open commit View diff
2972 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
2973
              }
Open commit View diff
2973 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
2974
Open commit View diff
2974
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
2975
              $stmt = $pdo->prepare("UPDATE `domain` SET
Open commit View diff
2975 $stmt = $pdo->prepare("UPDATE `domain` SET
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
2976
              `relay_all_recipients` = :relay_all_recipients,
Open commit View diff
2976 `relay_all_recipients` = :relay_all_recipients,
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2977
              `relay_unknown_only` = :relay_unknown_only,
Open commit View diff
2977 `relay_unknown_only` = :relay_unknown_only,
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
2978
              `backupmx` = :backupmx,
Open commit View diff
2978 `backupmx` = :backupmx,
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2979
              `gal` = :gal,
Open commit View diff
2979 `gal` = :gal,
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
2980
              `active` = :active,
Open commit View diff
2980 `active` = :active,
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
2981
              `quota` = :quota,
Open commit View diff
2981 `quota` = :quota,
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2982
              `defquota` = :defquota,
Open commit View diff
2982 `defquota` = :defquota,
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
2983
              `maxquota` = :maxquota,
Open commit View diff
2983 `maxquota` = :maxquota,
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
2984
              `relayhost` = :relayhost,
Open commit View diff
2984 `relayhost` = :relayhost,
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
2985
              `mailboxes` = :mailboxes,
Open commit View diff
2985 `mailboxes` = :mailboxes,
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
2986
              `aliases` = :aliases,
Open commit View diff
2986 `aliases` = :aliases,
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
2987
              `description` = :description
Open commit View diff
2987 `description` = :description
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
2988
                WHERE `domain` = :domain");
Open commit View diff
2988 WHERE `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
2989
              $stmt->execute(array(
Open commit View diff
2989 $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
2990
                ':relay_all_recipients' => $relay_all_recipients,
Open commit View diff
2990 ':relay_all_recipients' => $relay_all_recipients,
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2991
                ':relay_unknown_only' => $relay_unknown_only,
Open commit View diff
2991 ':relay_unknown_only' => $relay_unknown_only,
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
2992
                ':backupmx' => $backupmx,
Open commit View diff
2992 ':backupmx' => $backupmx,
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2993
                ':gal' => $gal,
Open commit View diff
2993 ':gal' => $gal,
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
2994
                ':active' => $active,
Open commit View diff
2994 ':active' => $active,
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
2995
                ':quota' => $quota,
Open commit View diff
2995 ':quota' => $quota,
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
2996
                ':defquota' => $defquota,
Open commit View diff
2996 ':defquota' => $defquota,
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
2997
                ':maxquota' => $maxquota,
Open commit View diff
2997 ':maxquota' => $maxquota,
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
2998
                ':relayhost' => $relayhost,
Open commit View diff
2998 ':relayhost' => $relayhost,
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
2999
                ':mailboxes' => $mailboxes,
Open commit View diff
2999 ':mailboxes' => $mailboxes,
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
3000
                ':aliases' => $aliases,
Open commit View diff
3000 ':aliases' => $aliases,
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
3001
                ':description' => $description,
Open commit View diff
3001 ':description' => $description,
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
3002
                ':domain' => $domain
Open commit View diff
3002 ':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
3003
              ));
Open commit View diff
3003 ));
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3004
              // save tags
Open commit View diff
3004 // save tags
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3005
              foreach($tags as $index => $tag){
Open commit View diff
3005 foreach($tags as $index => $tag){
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3006
                if (empty($tag)) continue;
Open commit View diff
3006 if (empty($tag)) continue;
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3007
                if ($index > $GLOBALS['TAGGING_LIMIT']) {
Open commit View diff
3007 if ($index > $GLOBALS['TAGGING_LIMIT']) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3008
                  $_SESSION['return'][] = array(
Open commit View diff
3008 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3009
                    'type' => 'warning',
Open commit View diff
3009 'type' => 'warning',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3010
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3010 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3011
                    'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
Open commit View diff
3011 'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3012
                  );
Open commit View diff
3012 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3013
                  break;
Open commit View diff
3013 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3014
                }
Open commit View diff
3014 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3015
                $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
Open commit View diff
3015 $stmt = $pdo->prepare("INSERT INTO `tags_domain` (`domain`, `tag_name`) VALUES (:domain, :tag_name)");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3016
                $stmt->execute(array(
Open commit View diff
3016 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3017
                  ':domain' => $domain,
Open commit View diff
3017 ':domain' => $domain,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3018
                  ':tag_name' => $tag,
Open commit View diff
3018 ':tag_name' => $tag,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3019
                ));
Open commit View diff
3019 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3020
              }
Open commit View diff
3020 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3021
Open commit View diff
3021
André almost 8 years ago 1791383

[Web] Fix duplicate success message after editing a domain as domain administrator

Full commit hash
1791383eab16e5c6f7640395e711aabcd7b6912a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3022
              $_SESSION['return'][] = array(
Open commit View diff
3022 $_SESSION['return'][] = array(
same change 1791383

[Web] Fix duplicate success message after editing a domain as domain administrator

Full commit hash
1791383eab16e5c6f7640395e711aabcd7b6912a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3023
                'type' => 'success',
Open commit View diff
3023 'type' => 'success',
same change 1791383

[Web] Fix duplicate success message after editing a domain as domain administrator

Full commit hash
1791383eab16e5c6f7640395e711aabcd7b6912a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3024
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3024 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 1791383

[Web] Fix duplicate success message after editing a domain as domain administrator

Full commit hash
1791383eab16e5c6f7640395e711aabcd7b6912a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3025
                'msg' => array('domain_modified', htmlspecialchars($domain))
Open commit View diff
3025 'msg' => array('domain_modified', htmlspecialchars($domain))
same change 1791383

[Web] Fix duplicate success message after editing a domain as domain administrator

Full commit hash
1791383eab16e5c6f7640395e711aabcd7b6912a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3026
              );
Open commit View diff
3026 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3029
        break;
Open commit View diff
3029 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3030
        case 'domain_templates':
Open commit View diff
3030 case 'domain_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3031
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
3031 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3032
            $_SESSION['return'][] = array(
Open commit View diff
3032 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3033
              'type' => 'danger',
Open commit View diff
3033 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3034
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
3034 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3035
              'msg' => 'access_denied'
Open commit View diff
3035 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3036
            );
Open commit View diff
3036 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3037
            return false;
Open commit View diff
3037 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3038
          }
Open commit View diff
3038 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3039
          if (!is_array($_data['ids'])) {
Open commit View diff
3039 if (!is_array($_data['ids'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3040
            $ids = array();
Open commit View diff
3040 $ids = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3041
            $ids[] = $_data['ids'];
Open commit View diff
3041 $ids[] = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3042
          }
Open commit View diff
3042 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3043
          else {
Open commit View diff
3043 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3044
            $ids = $_data['ids'];
Open commit View diff
3044 $ids = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3045
          }
Open commit View diff
3045 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3046
          foreach ($ids as $id) {
Open commit View diff
3046 foreach ($ids as $id) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3047
            $is_now = mailbox("get", "domain_templates", $id);
Open commit View diff
3047 $is_now = mailbox("get", "domain_templates", $id);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3048
            if (empty($is_now) ||
Open commit View diff
3048 if (empty($is_now) ||
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3049
                $is_now["type"] != "domain"){
Open commit View diff
3049 $is_now["type"] != "domain"){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3050
              $_SESSION['return'][] = array(
Open commit View diff
3050 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3051
                'type' => 'danger',
Open commit View diff
3051 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3052
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
3052 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3053
                'msg' => 'template_id_invalid'
Open commit View diff
3053 'msg' => 'template_id_invalid'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3054
              );
Open commit View diff
3054 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3055
              continue;
Open commit View diff
3055 continue;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3056
            }
Open commit View diff
3056 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3057
Open commit View diff
3057
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3058
            // check name
Open commit View diff
3058 // check name
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3059
            if ($is_now["template"] == "Default" && $is_now["template"] != $_data["template"]){
Open commit View diff
3059 if ($is_now["template"] == "Default" && $is_now["template"] != $_data["template"]){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3060
              // keep template name of Default template
Open commit View diff
3060 // keep template name of Default template
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3061
              $_data["template"]                   = $is_now["template"];
Open commit View diff
3061 $_data["template"] = $is_now["template"];
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3062
            }
Open commit View diff
3062 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3063
            else {
Open commit View diff
3063 else {
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3064
              $_data["template"]                   = (isset($_data["template"])) ? $_data["template"] : $is_now["template"];
Open commit View diff
3064 $_data["template"] = (isset($_data["template"])) ? $_data["template"] : $is_now["template"];
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3065
            }
Open commit View diff
3065 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3066
            // check attributes
Open commit View diff
3066 // check attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3067
            $attr = array();
Open commit View diff
3067 $attr = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3068
            $attr['tags']                       = (isset($_data['tags'])) ? $_data['tags'] : array();
Open commit View diff
3068 $attr['tags'] = (isset($_data['tags'])) ? $_data['tags'] : array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3069
            $attr['max_num_aliases_for_domain'] = (isset($_data['max_num_aliases_for_domain'])) ? intval($_data['max_num_aliases_for_domain']) : 0;
Open commit View diff
3069 $attr['max_num_aliases_for_domain'] = (isset($_data['max_num_aliases_for_domain'])) ? intval($_data['max_num_aliases_for_domain']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3070
            $attr['max_num_mboxes_for_domain']  = (isset($_data['max_num_mboxes_for_domain'])) ? intval($_data['max_num_mboxes_for_domain']) : 0;
Open commit View diff
3070 $attr['max_num_mboxes_for_domain'] = (isset($_data['max_num_mboxes_for_domain'])) ? intval($_data['max_num_mboxes_for_domain']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3071
            $attr['def_quota_for_mbox']         = (isset($_data['def_quota_for_mbox'])) ? intval($_data['def_quota_for_mbox']) * 1048576 : 0;
Open commit View diff
3071 $attr['def_quota_for_mbox'] = (isset($_data['def_quota_for_mbox'])) ? intval($_data['def_quota_for_mbox']) * 1048576 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3072
            $attr['max_quota_for_mbox']         = (isset($_data['max_quota_for_mbox'])) ? intval($_data['max_quota_for_mbox']) * 1048576 : 0;
Open commit View diff
3072 $attr['max_quota_for_mbox'] = (isset($_data['max_quota_for_mbox'])) ? intval($_data['max_quota_for_mbox']) * 1048576 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3073
            $attr['max_quota_for_domain']       = (isset($_data['max_quota_for_domain'])) ? intval($_data['max_quota_for_domain']) * 1048576 : 0;
Open commit View diff
3073 $attr['max_quota_for_domain'] = (isset($_data['max_quota_for_domain'])) ? intval($_data['max_quota_for_domain']) * 1048576 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3074
            $attr['rl_frame']                   = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
Open commit View diff
3074 $attr['rl_frame'] = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : "s";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3075
            $attr['rl_value']                   = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
Open commit View diff
3075 $attr['rl_value'] = (!empty($_data['rl_value'])) ? $_data['rl_value'] : "";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3076
            $attr['active']                     = isset($_data['active']) ? intval($_data['active']) : 1;
Open commit View diff
3076 $attr['active'] = isset($_data['active']) ? intval($_data['active']) : 1;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3077
            $attr['gal']                        = (isset($_data['gal'])) ? intval($_data['gal']) : 1;
Open commit View diff
3077 $attr['gal'] = (isset($_data['gal'])) ? intval($_data['gal']) : 1;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3078
            $attr['backupmx']                   = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : 0;
Open commit View diff
3078 $attr['backupmx'] = (isset($_data['backupmx'])) ? intval($_data['backupmx']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3079
            $attr['relay_all_recipients']       = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : 0;
Open commit View diff
3079 $attr['relay_all_recipients'] = (isset($_data['relay_all_recipients'])) ? intval($_data['relay_all_recipients']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3080
            $attr['relay_unknown_only']          = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : 0;
Open commit View diff
3080 $attr['relay_unknown_only'] = (isset($_data['relay_unknown_only'])) ? intval($_data['relay_unknown_only']) : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3081
            $attr['dkim_selector']              = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : "dkim";
Open commit View diff
3081 $attr['dkim_selector'] = (isset($_data['dkim_selector'])) ? $_data['dkim_selector'] : "dkim";
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3082
            $attr['key_size']                   = isset($_data['key_size']) ? intval($_data['key_size']) : 2048;
Open commit View diff
3082 $attr['key_size'] = isset($_data['key_size']) ? intval($_data['key_size']) : 2048;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3083
Open commit View diff
3083
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3084
            // update template
Open commit View diff
3084 // update template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3085
            $stmt = $pdo->prepare("UPDATE `templates`
Open commit View diff
3085 $stmt = $pdo->prepare("UPDATE `templates`
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3086
              SET `template` = :template, `attributes` = :attributes
Open commit View diff
3086 SET `template` = :template, `attributes` = :attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3087
              WHERE id = :id");
Open commit View diff
3087 WHERE id = :id");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3088
            $stmt->execute(array(
Open commit View diff
3088 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3089
              ":id" => $id ,
Open commit View diff
3089 ":id" => $id ,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3090
              ":template" => $_data["template"] ,
Open commit View diff
3090 ":template" => $_data["template"] ,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3091
              ":attributes" => json_encode($attr)
Open commit View diff
3091 ":attributes" => json_encode($attr)
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3092
            ));
Open commit View diff
3092 ));
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3093
          }
Open commit View diff
3093 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3094
Open commit View diff
3094
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3095
Open commit View diff
3095
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3096
          $_SESSION['return'][] = array(
Open commit View diff
3096 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3097
            'type' => 'success',
Open commit View diff
3097 'type' => 'success',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3098
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3098 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3099
            'msg' => array('template_modified', $_data["template"])
Open commit View diff
3099 'msg' => array('template_modified', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3100
          );
Open commit View diff
3100 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3101
          return true;
Open commit View diff
3101 return true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3102
        break;
Open commit View diff
3102 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3112
            if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3112 if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3113
              $_SESSION['return'][] = array(
Open commit View diff
3113 $_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
3114
                'type' => 'danger',
Open commit View diff
3114 '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
3115
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3115 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3116
                'msg' => array('username_invalid', $username)
Open commit View diff
3116 'msg' => array('username_invalid', $username)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3117
              );
Open commit View diff
3117 );
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
3118
              continue;
Open commit View diff
3118 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
3119
            }
Open commit View diff
3119 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3120
            $is_now = mailbox('get', 'mailbox_details', $username, $_extra);
Open commit View diff
3120 $is_now = mailbox('get', 'mailbox_details', $username, $_extra);
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
3121
            if (isset($_data['protocol_access'])) {
Open commit View diff
3121 if (isset($_data['protocol_access'])) {
andryyy over 4 years ago 51c8d43

[Web] Fix array

Full commit hash
51c8d43223509b7e53c61525ce20657c622273be
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
3122
              $_data['protocol_access'] = (array)$_data['protocol_access'];
Open commit View diff
3122 $_data['protocol_access'] = (array)$_data['protocol_access'];
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
3123
              $_data['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3123 $_data['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
3124
              $_data['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3124 $_data['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
3125
              $_data['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3125 $_data['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
andryyy over 4 years ago 644b1f8

[Dovecot, Web] Allow SOGo access with app password when imap is disabled; Add sieve to mailbox protocol access restrictions

Full commit hash
644b1f85d1b5ff43425c503c56554ac1c8d1d0a9
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
3126
              $_data['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3126 $_data['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3127
              $_data['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3127 $_data['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3128
              $_data['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3128 $_data['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
3129
            }
Open commit View diff
3129 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3130
            if (!empty($is_now)) {
Open commit View diff
3130 if (!empty($is_now)) {
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3131
              $active               = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
3131 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
André Peters over 8 years ago 2865c89

[Multi] Fixes #1058 by including a 'force password update' option and also introduces a attributes json object to be used for further mailbox configurations in the future

Full commit hash
2865c892a684fe1d614cf709173ed5ddb0be6ce0
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
3132
              (int)$force_pw_update = (isset($_data['force_pw_update'])) ? intval($_data['force_pw_update']) : intval($is_now['attributes']['force_pw_update']);
Open commit View diff
3132 (int)$force_pw_update = (isset($_data['force_pw_update'])) ? intval($_data['force_pw_update']) : intval($is_now['attributes']['force_pw_update']);
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
3133
              (int)$force_tfa       = (isset($_data['force_tfa'])) ? intval($_data['force_tfa']) : intval($is_now['attributes']['force_tfa']);
Open commit View diff
3133 (int)$force_tfa = (isset($_data['force_tfa'])) ? intval($_data['force_tfa']) : intval($is_now['attributes']['force_tfa']);
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3134
              (int)$sogo_access     = (isset($_data['sogo_access']) && hasACLAccess("sogo_access")) ? intval($_data['sogo_access']) : intval($is_now['attributes']['sogo_access']);
Open commit View diff
3134 (int)$sogo_access = (isset($_data['sogo_access']) && hasACLAccess("sogo_access")) ? intval($_data['sogo_access']) : intval($is_now['attributes']['sogo_access']);
same change 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3135
              (int)$imap_access     = (isset($_data['imap_access']) && hasACLAccess("protocol_access")) ? intval($_data['imap_access']) : intval($is_now['attributes']['imap_access']);
Open commit View diff
3135 (int)$imap_access = (isset($_data['imap_access']) && hasACLAccess("protocol_access")) ? intval($_data['imap_access']) : intval($is_now['attributes']['imap_access']);
same change 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3136
              (int)$pop3_access     = (isset($_data['pop3_access']) && hasACLAccess("protocol_access")) ? intval($_data['pop3_access']) : intval($is_now['attributes']['pop3_access']);
Open commit View diff
3136 (int)$pop3_access = (isset($_data['pop3_access']) && hasACLAccess("protocol_access")) ? intval($_data['pop3_access']) : intval($is_now['attributes']['pop3_access']);
same change 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3137
              (int)$smtp_access     = (isset($_data['smtp_access']) && hasACLAccess("protocol_access")) ? intval($_data['smtp_access']) : intval($is_now['attributes']['smtp_access']);
Open commit View diff
3137 (int)$smtp_access = (isset($_data['smtp_access']) && hasACLAccess("protocol_access")) ? intval($_data['smtp_access']) : intval($is_now['attributes']['smtp_access']);
same change 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3138
              (int)$sieve_access    = (isset($_data['sieve_access']) && hasACLAccess("protocol_access")) ? intval($_data['sieve_access']) : intval($is_now['attributes']['sieve_access']);
Open commit View diff
3138 (int)$sieve_access = (isset($_data['sieve_access']) && hasACLAccess("protocol_access")) ? intval($_data['sieve_access']) : intval($is_now['attributes']['sieve_access']);
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3139
              (int)$eas_access     = (isset($_data['eas_access']) && hasACLAccess("protocol_access")) ? intval($_data['eas_access']) : intval($is_now['attributes']['eas_access']);
Open commit View diff
3139 (int)$eas_access = (isset($_data['eas_access']) && hasACLAccess("protocol_access")) ? intval($_data['eas_access']) : intval($is_now['attributes']['eas_access']);
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3140
              (int)$dav_access    = (isset($_data['dav_access']) && hasACLAccess("protocol_access")) ? intval($_data['dav_access']) : intval($is_now['attributes']['dav_access']);
Open commit View diff
3140 (int)$dav_access = (isset($_data['dav_access']) && hasACLAccess("protocol_access")) ? intval($_data['dav_access']) : intval($is_now['attributes']['dav_access']);
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3141
              (int)$relayhost       = (isset($_data['relayhost']) && hasACLAccess("mailbox_relayhost")) ? intval($_data['relayhost']) : intval($is_now['attributes']['relayhost']);
Open commit View diff
3141 (int)$relayhost = (isset($_data['relayhost']) && hasACLAccess("mailbox_relayhost")) ? intval($_data['relayhost']) : intval($is_now['attributes']['relayhost']);
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3142
              (int)$quota_m         = (isset_has_content($_data['quota'])) ? intval($_data['quota']) : ($is_now['quota'] / 1048576);
Open commit View diff
3142 (int)$quota_m = (isset_has_content($_data['quota'])) ? intval($_data['quota']) : ($is_now['quota'] / 1048576);
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3143
              $name                 = (!empty($_data['name'])) ? ltrim(rtrim($_data['name'], '>'), '<') : $is_now['name'];
Open commit View diff
3143 $name = (!empty($_data['name'])) ? ltrim(rtrim($_data['name'], '>'), '<') : $is_now['name'];
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3144
              $domain               = $is_now['domain'];
Open commit View diff
3144 $domain = $is_now['domain'];
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3145
              $quota_b              = $quota_m * 1048576;
Open commit View diff
3145 $quota_b = $quota_m * 1048576;
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3146
              $password             = (!empty($_data['password'])) ? $_data['password'] : null;
Open commit View diff
3146 $password = (!empty($_data['password'])) ? $_data['password'] : null;
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3147
              $password2            = (!empty($_data['password2'])) ? $_data['password2'] : null;
Open commit View diff
3147 $password2 = (!empty($_data['password2'])) ? $_data['password2'] : null;
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3148
              $tags                 = (is_array($_data['tags']) ? $_data['tags'] : array());
Open commit View diff
3148 $tags = (is_array($_data['tags']) ? $_data['tags'] : array());
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3149
              $attribute_hash       = (!empty($_data['attribute_hash'])) ? $_data['attribute_hash'] : '';
Open commit View diff
3149 $attribute_hash = (!empty($_data['attribute_hash'])) ? $_data['attribute_hash'] : '';
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3150
              $authsource           = $is_now['authsource'];
Open commit View diff
3150 $authsource = $is_now['authsource'];
FreddleSpl0it over 1 year ago 72ced70

[Web] Fix mailbox authsource selection

Full commit hash
72ced70e338b35ae1a099c1a8f390ec17d0035e7
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3151
              if ($_data['authsource'] == "mailcow" ||
Open commit View diff
3151 if ($_data['authsource'] == "mailcow" ||
same change 72ced70

[Web] Fix mailbox authsource selection

Full commit hash
72ced70e338b35ae1a099c1a8f390ec17d0035e7
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3152
                  in_array($_data['authsource'], array('keycloak', 'generic-oidc', 'ldap')) && $iam_settings['authsource'] == $_data['authsource']){
Open commit View diff
3152 in_array($_data['authsource'], array('keycloak', 'generic-oidc', 'ldap')) && $iam_settings['authsource'] == $_data['authsource']){
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3153
                $authsource = $_data['authsource'];
Open commit View diff
3153 $authsource = $_data['authsource'];
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3154
              }
Open commit View diff
3154 }
FreddleSpl0it over 1 year ago 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3155
              if (in_array($authsource, array('keycloak', 'generic-oidc', 'ldap'))){
Open commit View diff
3155 if (in_array($authsource, array('keycloak', 'generic-oidc', 'ldap'))){
same change 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3156
                $force_pw_update = 0;
Open commit View diff
3156 $force_pw_update = 0;
FreddleSpl0it 4 months ago ed9264f

[Web] Allow force_tfa for LDAP and Keycloak users

Full commit hash
ed9264fd2aeb50ada8b5c270a22da8b6f8bfb2c0
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3157
              }
Open commit View diff
3157 }
same change ed9264f

[Web] Allow force_tfa for LDAP and Keycloak users

Full commit hash
ed9264fd2aeb50ada8b5c270a22da8b6f8bfb2c0
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3158
              if ($authsource == 'generic-oidc'){
Open commit View diff
3158 if ($authsource == 'generic-oidc'){
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
3159
                $force_tfa = 0;
Open commit View diff
3159 $force_tfa = 0;
FreddleSpl0it over 1 year ago 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3160
              }
Open commit View diff
3160 }
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3161
              $pw_recovery_email    = (isset($_data['pw_recovery_email']) && $authsource == 'mailcow') ? $_data['pw_recovery_email'] : $is_now['attributes']['recovery_email'];
Open commit View diff
3161 $pw_recovery_email = (isset($_data['pw_recovery_email']) && $authsource == 'mailcow') ? $_data['pw_recovery_email'] : $is_now['attributes']['recovery_email'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3163
            else {
Open commit View diff
3163 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
3164
              $_SESSION['return'][] = array(
Open commit View diff
3164 $_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
3165
                'type' => 'danger',
Open commit View diff
3165 '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
3166
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3166 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3167
                'msg' => 'access_denied'
Open commit View diff
3167 '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
3168
              );
Open commit View diff
3168 );
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
3169
              continue;
Open commit View diff
3169 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
3170
            }
Open commit View diff
3170 }
andryyy over 7 years ago 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3171
            // if already 0 == ok
Open commit View diff
3171 // if already 0 == ok
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3172
            if (!hasACLAccess("unlimited_quota") && ($quota_m == 0 && $is_now['quota'] != 0)) {
Open commit View diff
3172 if (!hasACLAccess("unlimited_quota") && ($quota_m == 0 && $is_now['quota'] != 0)) {
andryyy over 7 years ago 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3173
              $_SESSION['return'][] = array(
Open commit View diff
3173 $_SESSION['return'][] = array(
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3174
                'type' => 'danger',
Open commit View diff
3174 'type' => 'danger',
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3175
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3175 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3176
                'msg' => 'unlimited_quota_acl'
Open commit View diff
3176 'msg' => 'unlimited_quota_acl'
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3177
              );
Open commit View diff
3177 );
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3178
              return false;
Open commit View diff
3178 return false;
same change 14e57cf

[Web] Add ACL for unlimited quota (default 0)

Full commit hash
14e57cf80f37d434e219f685f8c095104385c28b
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3179
            }
Open commit View diff
3179 }
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3180
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
3180 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3181
              $_SESSION['return'][] = array(
Open commit View diff
3181 $_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
3182
                'type' => 'danger',
Open commit View diff
3182 '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
3183
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3183 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3184
                'msg' => 'access_denied'
Open commit View diff
3184 '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
3185
              );
Open commit View diff
3185 );
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
3186
              continue;
Open commit View diff
3186 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
3187
            }
Open commit View diff
3187 }
FreddleSpl0it over 1 year ago 1d6513f

[Web] fix idp login alerts and updates

Full commit hash
1d6513ffbabdde974bca853d15f4ecd889111c09
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3188
            $DomainData = mailbox('get', 'domain_details', $domain, $_extra);
Open commit View diff
3188 $DomainData = mailbox('get', 'domain_details', $domain, $_extra);
andryyy over 5 years ago 616226b

[Web] Fix quota calculation, fixes #4036

Full commit hash
616226be8a99c07386429d48ecf5b31c4907b958
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3189
            if ($quota_m > ($is_now['max_new_quota'] / 1048576)) {
Open commit View diff
3189 if ($quota_m > ($is_now['max_new_quota'] / 1048576)) {
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
3190
              $_SESSION['return'][] = array(
Open commit View diff
3190 $_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
3191
                'type' => 'danger',
Open commit View diff
3191 '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
3192
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3192 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 5 years ago 6426476

[Web] Fix quota-left calculations when editing a mailbox (respect max domain quota)

Full commit hash
64264767d7a0cc232fe11159aa4b1b9d5745b04f
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3193
                'msg' => array('mailbox_quota_left_exceeded', ($is_now['max_new_quota'] / 1048576))
Open commit View diff
3193 'msg' => array('mailbox_quota_left_exceeded', ($is_now['max_new_quota'] / 1048576))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3194
              );
Open commit View diff
3194 );
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
3195
              continue;
Open commit View diff
3195 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
3196
            }
Open commit View diff
3196 }
andryyy over 5 years ago 616226b

[Web] Fix quota calculation, fixes #4036

Full commit hash
616226be8a99c07386429d48ecf5b31c4907b958
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3197
            if ($quota_m > $DomainData['max_quota_for_mbox']) {
Open commit View diff
3197 if ($quota_m > $DomainData['max_quota_for_mbox']) {
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
3198
              $_SESSION['return'][] = array(
Open commit View diff
3198 $_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
3199
                'type' => 'danger',
Open commit View diff
3199 '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
3200
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3200 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 5 years ago 616226b

[Web] Fix quota calculation, fixes #4036

Full commit hash
616226be8a99c07386429d48ecf5b31c4907b958
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3201
                'msg' => array('mailbox_quota_exceeded', $DomainData['max_quota_for_mbox'])
Open commit View diff
3201 'msg' => array('mailbox_quota_exceeded', $DomainData['max_quota_for_mbox'])
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3202
              );
Open commit View diff
3202 );
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
3203
              continue;
Open commit View diff
3203 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
3204
            }
Open commit View diff
3204 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3205
            $extra_acls = array();
Open commit View diff
3205 $extra_acls = array();
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3206
            if (isset($_data['extended_sender_acl'])) {
Open commit View diff
3206 if (isset($_data['extended_sender_acl'])) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3207
              if (!hasACLAccess("extend_sender_acl")) {
Open commit View diff
3207 if (!hasACLAccess("extend_sender_acl")) {
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3208
                $_SESSION['return'][] = array(
Open commit View diff
3208 $_SESSION['return'][] = array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3209
                  'type' => 'danger',
Open commit View diff
3209 'type' => 'danger',
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3210
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3210 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3211
                  'msg' => 'extended_sender_acl_denied'
Open commit View diff
3211 'msg' => 'extended_sender_acl_denied'
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3212
                );
Open commit View diff
3212 );
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3213
              }
Open commit View diff
3213 }
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3214
              else {
Open commit View diff
3214 else {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3215
                $extra_acls = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['extended_sender_acl']));
Open commit View diff
3215 $extra_acls = array_map('trim', preg_split( "/( |,|;|\n)/", $_data['extended_sender_acl']));
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3216
                foreach ($extra_acls as $i => &$extra_acl) {
Open commit View diff
3216 foreach ($extra_acls as $i => &$extra_acl) {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3217
                  if (empty($extra_acl)) {
Open commit View diff
3217 if (empty($extra_acl)) {
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3218
                    continue;
Open commit View diff
3218 continue;
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3219
                  }
Open commit View diff
3219 }
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3220
                  if (substr($extra_acl, 0, 1) === "@") {
Open commit View diff
3220 if (substr($extra_acl, 0, 1) === "@") {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3221
                    $extra_acl = ltrim($extra_acl, '@');
Open commit View diff
3221 $extra_acl = ltrim($extra_acl, '@');
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3222
                  }
Open commit View diff
3222 }
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3223
                  if (!filter_var($extra_acl, FILTER_VALIDATE_EMAIL) && !is_valid_domain_name($extra_acl)) {
Open commit View diff
3223 if (!filter_var($extra_acl, FILTER_VALIDATE_EMAIL) && !is_valid_domain_name($extra_acl)) {
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3224
                    $_SESSION['return'][] = array(
Open commit View diff
3224 $_SESSION['return'][] = array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3225
                      'type' => 'danger',
Open commit View diff
3225 'type' => 'danger',
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3226
                      'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3226 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3227
                      'msg' => array('extra_acl_invalid', htmlspecialchars($extra_acl))
Open commit View diff
3227 'msg' => array('extra_acl_invalid', htmlspecialchars($extra_acl))
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3228
                    );
Open commit View diff
3228 );
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3229
                    unset($extra_acls[$i]);
Open commit View diff
3229 unset($extra_acls[$i]);
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3230
                    continue;
Open commit View diff
3230 continue;
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3231
                  }
Open commit View diff
3231 }
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3232
                  $domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
Open commit View diff
3232 $domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3233
                  if (filter_var($extra_acl, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3233 if (filter_var($extra_acl, FILTER_VALIDATE_EMAIL)) {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3234
                    $extra_acl_domain = idn_to_ascii(substr(strstr($extra_acl, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
3234 $extra_acl_domain = idn_to_ascii(substr(strstr($extra_acl, '@'), 1), 0, INTL_IDNA_VARIANT_UTS46);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3235
                    if (in_array($extra_acl_domain, $domains)) {
Open commit View diff
3235 if (in_array($extra_acl_domain, $domains)) {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3236
                      $_SESSION['return'][] = array(
Open commit View diff
3236 $_SESSION['return'][] = array(
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3237
                        'type' => 'danger',
Open commit View diff
3237 'type' => 'danger',
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3238
                        'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3238 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3239
                        'msg' => array('extra_acl_invalid_domain', $extra_acl_domain)
Open commit View diff
3239 'msg' => array('extra_acl_invalid_domain', $extra_acl_domain)
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3240
                      );
Open commit View diff
3240 );
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3241
                      unset($extra_acls[$i]);
Open commit View diff
3241 unset($extra_acls[$i]);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3242
                      continue;
Open commit View diff
3242 continue;
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3243
                    }
Open commit View diff
3243 }
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3244
                  }
Open commit View diff
3244 }
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3245
                  else {
Open commit View diff
3245 else {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3246
                    if (in_array($extra_acl, $domains)) {
Open commit View diff
3246 if (in_array($extra_acl, $domains)) {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3247
                      $_SESSION['return'][] = array(
Open commit View diff
3247 $_SESSION['return'][] = array(
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3248
                        'type' => 'danger',
Open commit View diff
3248 'type' => 'danger',
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3249
                        'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3249 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3250
                        'msg' => array('extra_acl_invalid_domain', $extra_acl_domain)
Open commit View diff
3250 'msg' => array('extra_acl_invalid_domain', $extra_acl_domain)
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3251
                      );
Open commit View diff
3251 );
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3252
                      unset($extra_acls[$i]);
Open commit View diff
3252 unset($extra_acls[$i]);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3253
                      continue;
Open commit View diff
3253 continue;
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3254
                    }
Open commit View diff
3254 }
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3255
                    $extra_acl = '@' . $extra_acl;
Open commit View diff
3255 $extra_acl = '@' . $extra_acl;
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3256
                  }
Open commit View diff
3256 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3257
                }
Open commit View diff
3257 }
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3258
                $extra_acls = array_filter($extra_acls);
Open commit View diff
3258 $extra_acls = array_filter($extra_acls);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3259
                $extra_acls = array_values($extra_acls);
Open commit View diff
3259 $extra_acls = array_values($extra_acls);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3260
                $extra_acls = array_unique($extra_acls);
Open commit View diff
3260 $extra_acls = array_unique($extra_acls);
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3261
                $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `logged_in_as` = :username");
Open commit View diff
3261 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 1 AND `logged_in_as` = :username");
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3262
                $stmt->execute(array(
Open commit View diff
3262 $stmt->execute(array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3263
                  ':username' => $username
Open commit View diff
3263 ':username' => $username
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3264
                ));
Open commit View diff
3264 ));
FreddleSpl0it over 3 years ago dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3265
                foreach ($extra_acls as $sender_acl_external) {
Open commit View diff
3265 foreach ($extra_acls as $sender_acl_external) {
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3266
                  $stmt = $pdo->prepare("INSERT INTO `sender_acl` (`send_as`, `logged_in_as`, `external`)
Open commit View diff
3266 $stmt = $pdo->prepare("INSERT INTO `sender_acl` (`send_as`, `logged_in_as`, `external`)
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3267
                    VALUES (:sender_acl, :username, 1)");
Open commit View diff
3267 VALUES (:sender_acl, :username, 1)");
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3268
                  $stmt->execute(array(
Open commit View diff
3268 $stmt->execute(array(
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3269
                    ':sender_acl' => $sender_acl_external,
Open commit View diff
3269 ':sender_acl' => $sender_acl_external,
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3270
                    ':username' => $username
Open commit View diff
3270 ':username' => $username
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3271
                  ));
Open commit View diff
3271 ));
same change dd9296f

[Web] fix extend_sender_acl issue for domainadmins

Full commit hash
dd9296ffc28d6442d479f0f41a90950226cccaf2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3272
                }
Open commit View diff
3272 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3273
              }
Open commit View diff
3273 }
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3274
            }
Open commit View diff
3274 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3276
              // Get sender_acl items set by admin
Open commit View diff
3276 // Get sender_acl items set by admin
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3277
              $current_sender_acls = mailbox('get', 'sender_acl_handles', $username);
Open commit View diff
3277 $current_sender_acls = mailbox('get', 'sender_acl_handles', $username);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3278
              $sender_acl_admin = array_merge(
Open commit View diff
3278 $sender_acl_admin = array_merge(
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3279
                $current_sender_acls['sender_acl_domains']['ro'],
Open commit View diff
3279 $current_sender_acls['sender_acl_domains']['ro'],
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3280
                $current_sender_acls['sender_acl_addresses']['ro']
Open commit View diff
3280 $current_sender_acls['sender_acl_addresses']['ro']
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3282
              // Get sender_acl items from POST array
Open commit View diff
3282 // Get sender_acl items from POST array
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
3283
              // Set sender_acl_domain_admin to empty array if sender_acl contains "default" to trigger a reset
Open commit View diff
3283 // Set sender_acl_domain_admin to empty array if sender_acl contains "default" to trigger a reset
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3284
              // Delete records from sender_acl if sender_acl contains "*" and set to array("*")
Open commit View diff
3284 // Delete records from sender_acl if sender_acl contains "*" and set to array("*")
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3285
              $_data['sender_acl'] = (array)$_data['sender_acl'];
Open commit View diff
3285 $_data['sender_acl'] = (array)$_data['sender_acl'];
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3286
              if (in_array("*", $_data['sender_acl'])) {
Open commit View diff
3286 if (in_array("*", $_data['sender_acl'])) {
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3287
                $sender_acl_domain_admin = array('*');
Open commit View diff
3287 $sender_acl_domain_admin = array('*');
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3288
              }
Open commit View diff
3288 }
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3289
              elseif (array("default") === $_data['sender_acl']) {
Open commit View diff
3289 elseif (array("default") === $_data['sender_acl']) {
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3290
                $sender_acl_domain_admin = array();
Open commit View diff
3290 $sender_acl_domain_admin = array();
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3291
              }
Open commit View diff
3291 }
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3292
              else {
Open commit View diff
3292 else {
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3293
                if (array_search('default', $_data['sender_acl']) !== false){
Open commit View diff
3293 if (array_search('default', $_data['sender_acl']) !== false){
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3294
                  unset($_data['sender_acl'][array_search('default', $_data['sender_acl'])]);
Open commit View diff
3294 unset($_data['sender_acl'][array_search('default', $_data['sender_acl'])]);
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
3295
                }
Open commit View diff
3295 }
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3296
                $sender_acl_domain_admin = $_data['sender_acl'];
Open commit View diff
3296 $sender_acl_domain_admin = $_data['sender_acl'];
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3298
              if (!empty($sender_acl_domain_admin) || !empty($sender_acl_admin)) {
Open commit View diff
3298 if (!empty($sender_acl_domain_admin) || !empty($sender_acl_admin)) {
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3299
                // Check items in POST array and skip invalid
Open commit View diff
3299 // Check items in POST array and skip invalid
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3300
                foreach ($sender_acl_domain_admin as $key => $val) {
Open commit View diff
3300 foreach ($sender_acl_domain_admin as $key => $val) {
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
3301
                  // Check for invalid domain or email format or not *
Open commit View diff
3301 // Check for invalid domain or email format or not *
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3302
                  if (!filter_var($val, FILTER_VALIDATE_EMAIL) && !is_valid_domain_name(ltrim($val, '@')) && $val != '*') {
Open commit View diff
3302 if (!filter_var($val, FILTER_VALIDATE_EMAIL) && !is_valid_domain_name(ltrim($val, '@')) && $val != '*') {
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
3303
                    $_SESSION['return'][] = array(
Open commit View diff
3303 $_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
3304
                      'type' => 'danger',
Open commit View diff
3304 'type' => 'danger',
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
3305
                      'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3305 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3306
                      'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
Open commit View diff
3306 'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
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
3307
                    );
Open commit View diff
3307 );
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3308
                    unset($sender_acl_domain_admin[$key]);
Open commit View diff
3308 unset($sender_acl_domain_admin[$key]);
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
3309
                    continue;
Open commit View diff
3309 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
3310
                  }
Open commit View diff
3310 }
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
3311
                  // Check if user has domain access (if object is domain)
Open commit View diff
3311 // Check if user has domain access (if object is domain)
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3312
                  $domain = ltrim($sender_acl_domain_admin[$key], '@');
Open commit View diff
3312 $domain = ltrim($sender_acl_domain_admin[$key], '@');
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
3313
                  if (is_valid_domain_name($domain)) {
Open commit View diff
3313 if (is_valid_domain_name($domain)) {
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3314
                    // Check for- and skip non-mailcow domains
Open commit View diff
3314 // Check for- and skip non-mailcow domains
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3315
                    $domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
Open commit View diff
3315 $domains = array_merge(mailbox('get', 'domains'), mailbox('get', 'alias_domains'));
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3316
                    if (!empty($domains)) {
Open commit View diff
3316 if (!empty($domains)) {
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3317
                      if (!in_array($domain, $domains)) {
Open commit View diff
3317 if (!in_array($domain, $domains)) {
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
3318
                        $_SESSION['return'][] = array(
Open commit View diff
3318 $_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
3319
                          'type' => 'danger',
Open commit View diff
3319 'type' => 'danger',
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
3320
                          'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3320 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3321
                          'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
Open commit View diff
3321 'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
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
3322
                        );
Open commit View diff
3322 );
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
3323
                        unset($sender_acl_domain_admin[$key]);
Open commit View diff
3323 unset($sender_acl_domain_admin[$key]);
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3324
                        continue;
Open commit View diff
3324 continue;
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3325
                      }
Open commit View diff
3325 }
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3326
                    }
Open commit View diff
3326 }
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3327
                    if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
3327 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3328
                      $_SESSION['return'][] = array(
Open commit View diff
3328 $_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
3329
                        'type' => 'danger',
Open commit View diff
3329 '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
3330
                        'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3330 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3331
                        'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
Open commit View diff
3331 'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3332
                      );
Open commit View diff
3332 );
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
3333
                      unset($sender_acl_domain_admin[$key]);
Open commit View diff
3333 unset($sender_acl_domain_admin[$key]);
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
3334
                      continue;
Open commit View diff
3334 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
3335
                    }
Open commit View diff
3335 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3336
                  }
Open commit View diff
3336 }
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
3337
                  // Wildcard can only be used if role == admin
Open commit View diff
3337 // Wildcard can only be used if role == admin
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3338
                  if ($val == '*' && $_SESSION['mailcow_cc_role'] != 'admin') {
Open commit View diff
3338 if ($val == '*' && $_SESSION['mailcow_cc_role'] != 'admin') {
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
3339
                    $_SESSION['return'][] = array(
Open commit View diff
3339 $_SESSION['return'][] = array(
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
3340
                      'type' => 'danger',
Open commit View diff
3340 'type' => 'danger',
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3341
                      'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3341 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3342
                      'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
Open commit View diff
3342 'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
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
3343
                    );
Open commit View diff
3343 );
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
3344
                    unset($sender_acl_domain_admin[$key]);
Open commit View diff
3344 unset($sender_acl_domain_admin[$key]);
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
3345
                    continue;
Open commit View diff
3345 continue;
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
3346
                  }
Open commit View diff
3346 }
andryyy about 7 years ago 5087d5c

[Web] Allow aliases as send-as

Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
3347
                  // Check if user has alias access (if object is email)
Open commit View diff
3347 // Check if user has alias access (if object is email)
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3348
                  if (filter_var($val, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3348 if (filter_var($val, FILTER_VALIDATE_EMAIL)) {
andryyy about 7 years ago 5087d5c

[Web] Allow aliases as send-as

Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
3349
                    if (!hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $val)) {
Open commit View diff
3349 if (!hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $val)) {
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
3350
                      $_SESSION['return'][] = array(
Open commit View diff
3350 $_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
3351
                        'type' => 'danger',
Open commit View diff
3351 '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
3352
                        'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3352 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3353
                        'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
Open commit View diff
3353 'msg' => array('sender_acl_invalid', $sender_acl_domain_admin[$key])
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3354
                      );
Open commit View diff
3354 );
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
3355
                      unset($sender_acl_domain_admin[$key]);
Open commit View diff
3355 unset($sender_acl_domain_admin[$key]);
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
3356
                      continue;
Open commit View diff
3356 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
3357
                    }
Open commit View diff
3357 }
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3360
                // Merge both arrays
Open commit View diff
3360 // Merge both arrays
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3361
                $sender_acl_merged = array_merge($sender_acl_domain_admin, $sender_acl_admin);
Open commit View diff
3361 $sender_acl_merged = array_merge($sender_acl_domain_admin, $sender_acl_admin);
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
3362
                // If merged array still contains "*", set it as only value
Open commit View diff
3362 // If merged array still contains "*", set it as only value
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3363
                !in_array('*', $sender_acl_merged) ?: $sender_acl_merged = array('*');
Open commit View diff
3363 !in_array('*', $sender_acl_merged) ?: $sender_acl_merged = array('*');
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3364
                $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 0 AND `logged_in_as` = :username");
Open commit View diff
3364 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 0 AND `logged_in_as` = :username");
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
3365
                $stmt->execute(array(
Open commit View diff
3365 $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
3366
                  ':username' => $username
Open commit View diff
3366 ':username' => $username
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
3367
                ));
Open commit View diff
3367 ));
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3368
                $sender_acl_handles = mailbox('get', 'sender_acl_handles', $username);
Open commit View diff
3368 $sender_acl_handles = mailbox('get', 'sender_acl_handles', $username);
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3369
                $fixed_sender_aliases_allowed = $sender_acl_handles['fixed_sender_aliases_allowed'];
Open commit View diff
3369 $fixed_sender_aliases_allowed = $sender_acl_handles['fixed_sender_aliases_allowed'];
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3370
                $fixed_sender_aliases_blocked = $sender_acl_handles['fixed_sender_aliases_blocked'];
Open commit View diff
3370 $fixed_sender_aliases_blocked = $sender_acl_handles['fixed_sender_aliases_blocked'];
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3371
Open commit View diff
3371
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3373
                  $domain = ltrim($sender_acl, '@');
Open commit View diff
3373 $domain = ltrim($sender_acl, '@');
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3376
                  }
Open commit View diff
3376 }
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3377
Open commit View diff
3377
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3378
                  // Always add to sender_acl table to create explicit permission
Open commit View diff
3378 // Always add to sender_acl table to create explicit permission
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3379
                  // Skip only if it's in allowed list (would be redundant)
Open commit View diff
3379 // Skip only if it's in allowed list (would be redundant)
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3380
                  // But DO add if it's in blocked list (creates override)
Open commit View diff
3380 // But DO add if it's in blocked list (creates override)
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3381
                  if (in_array($sender_acl, $fixed_sender_aliases_allowed)) {
Open commit View diff
3381 if (in_array($sender_acl, $fixed_sender_aliases_allowed)) {
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3382
                    // Skip: already allowed by sender_allowed=1, no need for sender_acl entry
Open commit View diff
3382 // Skip: already allowed by sender_allowed=1, no need for sender_acl entry
andryyy about 7 years ago d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
3383
                    continue;
Open commit View diff
3383 continue;
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
3384
                  }
Open commit View diff
3384 }
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3385
Open commit View diff
3385
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3386
                  // Add to sender_acl (either override for blocked aliases, or grant for selectable ones)
Open commit View diff
3386 // Add to sender_acl (either override for blocked aliases, or grant for selectable ones)
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
3387
                  $stmt = $pdo->prepare("INSERT INTO `sender_acl` (`send_as`, `logged_in_as`)
Open commit View diff
3387 $stmt = $pdo->prepare("INSERT INTO `sender_acl` (`send_as`, `logged_in_as`)
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
3388
                    VALUES (:sender_acl, :username)");
Open commit View diff
3388 VALUES (:sender_acl, :username)");
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3389
                  $stmt->execute(array(
Open commit View diff
3389 $stmt->execute(array(
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
3390
                    ':sender_acl' => $sender_acl,
Open commit View diff
3390 ':sender_acl' => $sender_acl,
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3393
                }
Open commit View diff
3393 }
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
3394
              }
Open commit View diff
3394 }
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
3395
              else {
Open commit View diff
3395 else {
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
3396
                $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 0 AND `logged_in_as` = :username");
Open commit View diff
3396 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `external` = 0 AND `logged_in_as` = :username");
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
3397
                $stmt->execute(array(
Open commit View diff
3397 $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
3398
                  ':username' => $username
Open commit View diff
3398 ':username' => $username
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
3399
                ));
Open commit View diff
3399 ));
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3401
            }
Open commit View diff
3401 }
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3402
            if (!empty($password)) {
Open commit View diff
3402 if (!empty($password)) {
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3403
              if (password_check($password, $password2) !== true) {
Open commit View diff
3403 if (password_check($password, $password2) !== true) {
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3404
                continue;
Open commit View diff
3404 continue;
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3405
              }
Open commit View diff
3405 }
Shea Ramage about 5 years ago 08dfc02

[Web] Remove redundant password hash checks (#4180)

Full commit hash
08dfc0220efd48a4c6d5a20c9504a9ba1b63964c
Author
Shea Ramage <[email protected]>
Date
about 5 years ago
Selected line
3406
              $password_hashed = hash_password($password);
Open commit View diff
3406 $password_hashed = hash_password($password);
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3407
              $stmt = $pdo->prepare("UPDATE `mailbox` SET
Open commit View diff
3407 $stmt = $pdo->prepare("UPDATE `mailbox` SET
andryyy about 5 years ago da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
3408
                  `password` = :password_hashed,
Open commit View diff
3408 `password` = :password_hashed,
same change da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
3409
                  `attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
Open commit View diff
3409 `attributes` = JSON_SET(`attributes`, '$.passwd_update', NOW())
FreddleSpl0it about 3 years ago 5545d8a

[Web] hide auth settings for external users

Full commit hash
5545d8a56c87f4f3e8267d4a5954470466cdbecd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3410
                    WHERE `username` = :username AND authsource = 'mailcow'");
Open commit View diff
3410 WHERE `username` = :username AND authsource = 'mailcow'");
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3411
              $stmt->execute(array(
Open commit View diff
3411 $stmt->execute(array(
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3412
                ':password_hashed' => $password_hashed,
Open commit View diff
3412 ':password_hashed' => $password_hashed,
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3413
                ':username' => $username
Open commit View diff
3413 ':username' => $username
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3414
              ));
Open commit View diff
3414 ));
andryyy over 5 years ago 5ea649b

[Web] Feature: Add password policy

Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3415
            }
Open commit View diff
3415 }
andryyy about 5 years ago da20d5d

[Web] Replace country flags, improve flags for last logins, add info about last password change of a user

Full commit hash
da20d5dc38ef79ca87179080323491a50e9eb222
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
3416
            // We could either set alias = 1 if alias = 2 or tune the Postfix alias table (that's what we did, TODO: do it the other way)
Open commit View diff
3416 // We could either set alias = 1 if alias = 2 or tune the Postfix alias table (that's what we did, TODO: do it the other way)
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
3417
            $stmt = $pdo->prepare("UPDATE `alias` SET
Open commit View diff
3417 $stmt = $pdo->prepare("UPDATE `alias` SET
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
3418
                `active` = :active
Open commit View diff
3418 `active` = :active
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
3419
                  WHERE `address` = :address");
Open commit View diff
3419 WHERE `address` = :address");
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
3420
            $stmt->execute(array(
Open commit View diff
3420 $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
3421
              ':address' => $username,
Open commit View diff
3421 ':address' => $username,
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
3422
              ':active' => $active
Open commit View diff
3422 ':active' => $active
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
3423
            ));
Open commit View diff
3423 ));
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3424
            try {
Open commit View diff
3424 try {
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3425
              $stmt = $pdo->prepare("UPDATE `mailbox` SET
Open commit View diff
3425 $stmt = $pdo->prepare("UPDATE `mailbox` SET
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3426
                  `active` = :active,
Open commit View diff
3426 `active` = :active,
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3427
                  `name`= :name,
Open commit View diff
3427 `name`= :name,
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3428
                  `quota` = :quota_b,
Open commit View diff
3428 `quota` = :quota_b,
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3429
                  `authsource` = :authsource,
Open commit View diff
3429 `authsource` = :authsource,
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3430
                  `attributes` = JSON_SET(`attributes`, '$.force_pw_update', :force_pw_update),
Open commit View diff
3430 `attributes` = JSON_SET(`attributes`, '$.force_pw_update', :force_pw_update),
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
3431
                  `attributes` = JSON_SET(`attributes`, '$.force_tfa', :force_tfa),
Open commit View diff
3431 `attributes` = JSON_SET(`attributes`, '$.force_tfa', :force_tfa),
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3432
                  `attributes` = JSON_SET(`attributes`, '$.sogo_access', :sogo_access),
Open commit View diff
3432 `attributes` = JSON_SET(`attributes`, '$.sogo_access', :sogo_access),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3433
                  `attributes` = JSON_SET(`attributes`, '$.imap_access', :imap_access),
Open commit View diff
3433 `attributes` = JSON_SET(`attributes`, '$.imap_access', :imap_access),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3434
                  `attributes` = JSON_SET(`attributes`, '$.sieve_access', :sieve_access),
Open commit View diff
3434 `attributes` = JSON_SET(`attributes`, '$.sieve_access', :sieve_access),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3435
                  `attributes` = JSON_SET(`attributes`, '$.pop3_access', :pop3_access),
Open commit View diff
3435 `attributes` = JSON_SET(`attributes`, '$.pop3_access', :pop3_access),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3436
                  `attributes` = JSON_SET(`attributes`, '$.relayhost', :relayhost),
Open commit View diff
3436 `attributes` = JSON_SET(`attributes`, '$.relayhost', :relayhost),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3437
                  `attributes` = JSON_SET(`attributes`, '$.smtp_access', :smtp_access),
Open commit View diff
3437 `attributes` = JSON_SET(`attributes`, '$.smtp_access', :smtp_access),
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3438
                  `attributes` = JSON_SET(`attributes`, '$.eas_access', :eas_access),
Open commit View diff
3438 `attributes` = JSON_SET(`attributes`, '$.eas_access', :eas_access),
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3439
                  `attributes` = JSON_SET(`attributes`, '$.dav_access', :dav_access),
Open commit View diff
3439 `attributes` = JSON_SET(`attributes`, '$.dav_access', :dav_access),
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3440
                  `attributes` = JSON_SET(`attributes`, '$.recovery_email', :recovery_email),
Open commit View diff
3440 `attributes` = JSON_SET(`attributes`, '$.recovery_email', :recovery_email),
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3441
                  `attributes` = JSON_SET(`attributes`, '$.attribute_hash', :attribute_hash)
Open commit View diff
3441 `attributes` = JSON_SET(`attributes`, '$.attribute_hash', :attribute_hash)
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3442
                    WHERE `username` = :username");
Open commit View diff
3442 WHERE `username` = :username");
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3443
              $stmt->execute(array(
Open commit View diff
3443 $stmt->execute(array(
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3444
                ':active' => $active,
Open commit View diff
3444 ':active' => $active,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3445
                ':name' => $name,
Open commit View diff
3445 ':name' => $name,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3446
                ':quota_b' => $quota_b,
Open commit View diff
3446 ':quota_b' => $quota_b,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3447
                ':attribute_hash' => $attribute_hash,
Open commit View diff
3447 ':attribute_hash' => $attribute_hash,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3448
                ':force_pw_update' => $force_pw_update,
Open commit View diff
3448 ':force_pw_update' => $force_pw_update,
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
3449
                ':force_tfa' => $force_tfa,
Open commit View diff
3449 ':force_tfa' => $force_tfa,
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3450
                ':sogo_access' => $sogo_access,
Open commit View diff
3450 ':sogo_access' => $sogo_access,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3451
                ':imap_access' => $imap_access,
Open commit View diff
3451 ':imap_access' => $imap_access,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3452
                ':pop3_access' => $pop3_access,
Open commit View diff
3452 ':pop3_access' => $pop3_access,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3453
                ':sieve_access' => $sieve_access,
Open commit View diff
3453 ':sieve_access' => $sieve_access,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3454
                ':smtp_access' => $smtp_access,
Open commit View diff
3454 ':smtp_access' => $smtp_access,
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3455
                ':eas_access' => $eas_access,
Open commit View diff
3455 ':eas_access' => $eas_access,
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3456
                ':dav_access' => $dav_access,
Open commit View diff
3456 ':dav_access' => $dav_access,
FreddleSpl0it almost 2 years ago 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3457
                ':recovery_email' => $pw_recovery_email,
Open commit View diff
3457 ':recovery_email' => $pw_recovery_email,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3458
                ':relayhost' => $relayhost,
Open commit View diff
3458 ':relayhost' => $relayhost,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3459
                ':username' => $username,
Open commit View diff
3459 ':username' => $username,
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3460
                ':authsource' => $authsource
Open commit View diff
3460 ':authsource' => $authsource
same change 962ac39

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
962ac39e4aa6232ce046f57923e72aeeb25f32a8
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3461
              ));
Open commit View diff
3461 ));
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3462
            }
Open commit View diff
3462 }
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3463
            catch (PDOException $e) {
Open commit View diff
3463 catch (PDOException $e) {
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3464
              $_SESSION['return'][] = array(
Open commit View diff
3464 $_SESSION['return'][] = array(
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3465
                'type' => 'danger',
Open commit View diff
3465 'type' => 'danger',
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3466
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3466 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3467
                'msg' => $e->getMessage()
Open commit View diff
3467 'msg' => $e->getMessage()
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3468
              );
Open commit View diff
3468 );
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3469
              return false;
Open commit View diff
3469 return false;
same change 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3470
            }
Open commit View diff
3470 }
FreddleSpl0it 12 months ago 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3471
            // save delimiter_action
Open commit View diff
3471 // save delimiter_action
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3472
            if (isset($_data['tagged_mail_handler'])) {
Open commit View diff
3472 if (isset($_data['tagged_mail_handler'])) {
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3473
              mailbox('edit', 'delimiter_action', array(
Open commit View diff
3473 mailbox('edit', 'delimiter_action', array(
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3474
                'username' => $username,
Open commit View diff
3474 'username' => $username,
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3475
                'tagged_mail_handler' => $_data['tagged_mail_handler']
Open commit View diff
3475 'tagged_mail_handler' => $_data['tagged_mail_handler']
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3476
              ));
Open commit View diff
3476 ));
same change 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3477
            }
Open commit View diff
3477 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3478
            // save tags
Open commit View diff
3478 // save tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3479
            foreach($tags as $index => $tag){
Open commit View diff
3479 foreach($tags as $index => $tag){
FreddleSpl0it about 4 years ago f40e682

[Web] domain/mailbox tagging check for empty tags

Full commit hash
f40e682800f72c034d4c3698c9984ab006913910
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3480
              if (empty($tag)) continue;
Open commit View diff
3480 if (empty($tag)) continue;
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3481
              if ($index > $GLOBALS['TAGGING_LIMIT']) {
Open commit View diff
3481 if ($index > $GLOBALS['TAGGING_LIMIT']) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3482
                $_SESSION['return'][] = array(
Open commit View diff
3482 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3483
                  'type' => 'warning',
Open commit View diff
3483 'type' => 'warning',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3484
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3484 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3485
                  'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
Open commit View diff
3485 'msg' => array('tag_limit_exceeded', 'limit '.$GLOBALS['TAGGING_LIMIT'])
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3486
                );
Open commit View diff
3486 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3487
                break;
Open commit View diff
3487 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3488
              }
Open commit View diff
3488 }
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3489
              try {
Open commit View diff
3489 try {
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3490
                $stmt = $pdo->prepare("INSERT INTO `tags_mailbox` (`username`, `tag_name`) VALUES (:username, :tag_name)");
Open commit View diff
3490 $stmt = $pdo->prepare("INSERT INTO `tags_mailbox` (`username`, `tag_name`) VALUES (:username, :tag_name)");
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3491
                $stmt->execute(array(
Open commit View diff
3491 $stmt->execute(array(
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3492
                  ':username' => $username,
Open commit View diff
3492 ':username' => $username,
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3493
                  ':tag_name' => $tag,
Open commit View diff
3493 ':tag_name' => $tag,
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3494
                ));
Open commit View diff
3494 ));
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3495
              } catch (Exception $e) {
Open commit View diff
3495 } catch (Exception $e) {
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3496
              }
Open commit View diff
3496 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
3497
            }
Open commit View diff
3497 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3498
Open commit View diff
3498
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
3499
            $_SESSION['return'][] = array(
Open commit View diff
3499 $_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
3500
              'type' => 'success',
Open commit View diff
3500 '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
3501
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3501 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
3502
              'msg' => array('mailbox_modified', $username)
Open commit View diff
3502 'msg' => array('mailbox_modified', $username)
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
3503
            );
Open commit View diff
3503 );
FreddleSpl0it over 3 years ago d9d9583

[Web] optimizing update_sogo_static_view function

Full commit hash
d9d958356a456018d028c94efdbb0871078ed131
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3504
Open commit View diff
3504
FreddleSpl0it about 1 month ago 277a307

[Web] Fix refresh SOGo view on mailbox deletion

Full commit hash
277a307fb91f701f2f2619debd50ec183ca34192
Author
FreddleSpl0it <[email protected]>
Date
about 1 month ago
Selected line
3505
            // Track affected mailboxes for SOGo update
Open commit View diff
3505 // Track affected mailboxes for SOGo update
same change 277a307

[Web] Fix refresh SOGo view on mailbox deletion

Full commit hash
277a307fb91f701f2f2619debd50ec183ca34192
Author
FreddleSpl0it <[email protected]>
Date
about 1 month ago
Selected line
3506
            $update_sogo_mailboxes[] = $username;
Open commit View diff
3506 $update_sogo_mailboxes[] = $username;
same change 277a307

[Web] Fix refresh SOGo view on mailbox deletion

Full commit hash
277a307fb91f701f2f2619debd50ec183ca34192
Author
FreddleSpl0it <[email protected]>
Date
about 1 month ago
Selected line
3507
          }
Open commit View diff
3507 }
same change 277a307

[Web] Fix refresh SOGo view on mailbox deletion

Full commit hash
277a307fb91f701f2f2619debd50ec183ca34192
Author
FreddleSpl0it <[email protected]>
Date
about 1 month ago
Selected line
3508
        break;
Open commit View diff
3508 break;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3509
        case 'mailbox_rename':
Open commit View diff
3509 case 'mailbox_rename':
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3510
          $domain = $_data['domain'];
Open commit View diff
3510 $domain = $_data['domain'];
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3511
          $old_local_part = $_data['old_local_part'];
Open commit View diff
3511 $old_local_part = $_data['old_local_part'];
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3512
          $old_username = $old_local_part . "@" . $domain;
Open commit View diff
3512 $old_username = $old_local_part . "@" . $domain;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3513
          $new_local_part = $_data['new_local_part'];
Open commit View diff
3513 $new_local_part = $_data['new_local_part'];
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3514
          $new_username = $new_local_part . "@" . $domain;
Open commit View diff
3514 $new_username = $new_local_part . "@" . $domain;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3515
          $create_alias = intval($_data['create_alias']);
Open commit View diff
3515 $create_alias = intval($_data['create_alias']);
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3516
Open commit View diff
3516
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3517
          if (!filter_var($old_username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3517 if (!filter_var($old_username, FILTER_VALIDATE_EMAIL)) {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3518
            $_SESSION['return'][] = array(
Open commit View diff
3518 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3519
              'type' => 'danger',
Open commit View diff
3519 'type' => 'danger',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3520
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3520 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3521
              'msg' => array('username_invalid', $old_username)
Open commit View diff
3521 'msg' => array('username_invalid', $old_username)
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3522
            );
Open commit View diff
3522 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3523
            return false;
Open commit View diff
3523 return false;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3524
          }
Open commit View diff
3524 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3525
          if (!filter_var($new_username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3525 if (!filter_var($new_username, FILTER_VALIDATE_EMAIL)) {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3526
            $_SESSION['return'][] = array(
Open commit View diff
3526 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3527
              'type' => 'danger',
Open commit View diff
3527 'type' => 'danger',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3528
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3528 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3529
              'msg' => array('username_invalid', $new_username)
Open commit View diff
3529 'msg' => array('username_invalid', $new_username)
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3530
            );
Open commit View diff
3530 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3531
            return false;
Open commit View diff
3531 return false;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3532
          }
Open commit View diff
3532 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3533
Open commit View diff
3533
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3534
          $is_now = mailbox('get', 'mailbox_details', $old_username);
Open commit View diff
3534 $is_now = mailbox('get', 'mailbox_details', $old_username);
FreddleSpl0it over 1 year ago 95aa35e

[Web] Check if mailbox is active before renaming

Full commit hash
95aa35e133d4c23498ce21d977478c038f7b1f8d
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3535
          if (empty($is_now) || ($is_now['active'] != '1' && $is_now['active'] != '2')) {
Open commit View diff
3535 if (empty($is_now) || ($is_now['active'] != '1' && $is_now['active'] != '2')) {
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3536
            $_SESSION['return'][] = array(
Open commit View diff
3536 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3537
              'type' => 'danger',
Open commit View diff
3537 'type' => 'danger',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3538
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3538 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3539
              'msg' => 'access_denied'
Open commit View diff
3539 'msg' => 'access_denied'
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3540
            );
Open commit View diff
3540 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3541
            return false;
Open commit View diff
3541 return false;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3542
          }
Open commit View diff
3542 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3543
Open commit View diff
3543
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3544
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $is_now['domain'])) {
Open commit View diff
3544 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $is_now['domain'])) {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3545
            $_SESSION['return'][] = array(
Open commit View diff
3545 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3546
              'type' => 'danger',
Open commit View diff
3546 'type' => 'danger',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3547
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3547 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3548
              'msg' => 'access_denied'
Open commit View diff
3548 'msg' => 'access_denied'
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3549
            );
Open commit View diff
3549 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3550
            return false;
Open commit View diff
3550 return false;
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3551
          }
Open commit View diff
3551 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3552
Open commit View diff
3552
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3553
          // get imap acls
Open commit View diff
3553 // get imap acls
FreddleSpl0it almost 2 years ago d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3554
          try {
Open commit View diff
3554 try {
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3555
            $exec_fields = array(
Open commit View diff
3555 $exec_fields = array(
FreddleSpl0it almost 2 years ago 8e7b27a

[DockerApi] rework doveadm__get_acl function

Full commit hash
8e7b27aae469d5dbe757779cd11df6eb11430b8c
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3556
              'cmd' => 'doveadm',
Open commit View diff
3556 'cmd' => 'doveadm',
FreddleSpl0it almost 2 years ago d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3557
              'task' => 'get_acl',
Open commit View diff
3557 'task' => 'get_acl',
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3558
              'id' => $old_username
Open commit View diff
3558 'id' => $old_username
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3559
            );
Open commit View diff
3559 );
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3560
            $imap_acls = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
Open commit View diff
3560 $imap_acls = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3561
            // delete imap acls
Open commit View diff
3561 // delete imap acls
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3562
            foreach ($imap_acls as $imap_acl) {
Open commit View diff
3562 foreach ($imap_acls as $imap_acl) {
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3563
              $exec_fields = array(
Open commit View diff
3563 $exec_fields = array(
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3564
                'cmd' => 'doveadm',
Open commit View diff
3564 'cmd' => 'doveadm',
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3565
                'task' => 'delete_acl',
Open commit View diff
3565 'task' => 'delete_acl',
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3566
                'user' => $imap_acl['user'],
Open commit View diff
3566 'user' => $imap_acl['user'],
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3567
                'mailbox' => $imap_acl['mailbox'],
Open commit View diff
3567 'mailbox' => $imap_acl['mailbox'],
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3568
                'id' => $imap_acl['id']
Open commit View diff
3568 'id' => $imap_acl['id']
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3569
              );
Open commit View diff
3569 );
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3570
              docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
3570 docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3571
            }
Open commit View diff
3571 }
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3572
          } catch (Exception $e) {
Open commit View diff
3572 } catch (Exception $e) {
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3573
            $_SESSION['return'][] = array(
Open commit View diff
3573 $_SESSION['return'][] = array(
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3574
              'type' => 'danger',
Open commit View diff
3574 'type' => 'danger',
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3575
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3575 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3576
              'msg' => $e->getMessage()
Open commit View diff
3576 'msg' => $e->getMessage()
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3577
            );
Open commit View diff
3577 );
FreddleSpl0it almost 2 years ago d21c1bf

[Web] add error handling for get_acl call

Full commit hash
d21c1bfa72b761507ff3ba47ff3454315356aa50
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3578
            return false;
Open commit View diff
3578 return false;
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3579
          }
Open commit View diff
3579 }
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3580
Open commit View diff
3580
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3581
          // rename username in sql
Open commit View diff
3581 // rename username in sql
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3582
          try {
Open commit View diff
3582 try {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3583
            $pdo->beginTransaction();
Open commit View diff
3583 $pdo->beginTransaction();
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3584
            $pdo->exec('SET FOREIGN_KEY_CHECKS = 0');
Open commit View diff
3584 $pdo->exec('SET FOREIGN_KEY_CHECKS = 0');
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3585
Open commit View diff
3585
FreddleSpl0it almost 2 years ago 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3586
            // Update username in mailbox table
Open commit View diff
3586 // Update username in mailbox table
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3587
            $pdo->prepare('UPDATE mailbox SET username = :new_username, local_part = :new_local_part WHERE username = :old_username')
Open commit View diff
3587 $pdo->prepare('UPDATE mailbox SET username = :new_username, local_part = :new_local_part WHERE username = :old_username')
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3588
              ->execute([
Open commit View diff
3588 ->execute([
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3589
                ':new_username' => $new_username,
Open commit View diff
3589 ':new_username' => $new_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3590
                ':new_local_part' => $new_local_part,
Open commit View diff
3590 ':new_local_part' => $new_local_part,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3591
                ':old_username' => $old_username
Open commit View diff
3591 ':old_username' => $old_username
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3592
              ]);
Open commit View diff
3592 ]);
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3593
Open commit View diff
3593
FreddleSpl0it almost 2 years ago 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3594
            $pdo->prepare("UPDATE alias SET address = :new_username, goto = :new_username2 WHERE address = :old_username")
Open commit View diff
3594 $pdo->prepare("UPDATE alias SET address = :new_username, goto = :new_username2 WHERE address = :old_username")
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3595
            ->execute([
Open commit View diff
3595 ->execute([
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3596
              ':new_username' => $new_username,
Open commit View diff
3596 ':new_username' => $new_username,
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3597
              ':new_username2' => $new_username,
Open commit View diff
3597 ':new_username2' => $new_username,
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3598
              ':old_username' => $old_username
Open commit View diff
3598 ':old_username' => $old_username
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3599
            ]);
Open commit View diff
3599 ]);
same change 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3600
Open commit View diff
3600
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3601
            // Update the username in all related tables
Open commit View diff
3601 // Update the username in all related tables
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3602
            $tables = [
Open commit View diff
3602 $tables = [
FreddleSpl0it almost 2 years ago 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3603
              'tags_mailbox' => ['username'],
Open commit View diff
3603 'tags_mailbox' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3604
              'sieve_filters' => ['username'],
Open commit View diff
3604 'sieve_filters' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3605
              'app_passwd' => ['mailbox'],
Open commit View diff
3605 'app_passwd' => ['mailbox'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3606
              'user_acl' => ['username'],
Open commit View diff
3606 'user_acl' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3607
              'da_acl' => ['username'],
Open commit View diff
3607 'da_acl' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3608
              'quota2' => ['username'],
Open commit View diff
3608 'quota2' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3609
              'quota2replica' => ['username'],
Open commit View diff
3609 'quota2replica' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3610
              'pushover' => ['username'],
Open commit View diff
3610 'pushover' => ['username'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3611
              'alias' => ['goto'],
Open commit View diff
3611 'alias' => ['goto'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3612
              "imapsync" => ['user2'],
Open commit View diff
3612 "imapsync" => ['user2'],
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3613
              'bcc_maps' => ['local_dest', 'bcc_dest'],
Open commit View diff
3613 'bcc_maps' => ['local_dest', 'bcc_dest'],
FreddleSpl0it almost 2 years ago f2e35df

[Web] rename user in sender_acl table

Full commit hash
f2e35dff68c1763c94a1b05eb389ae3b0ec4406b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3614
              'recipient_maps' => ['old_dest', 'new_dest'],
Open commit View diff
3614 'recipient_maps' => ['old_dest', 'new_dest'],
same change f2e35df

[Web] rename user in sender_acl table

Full commit hash
f2e35dff68c1763c94a1b05eb389ae3b0ec4406b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3615
              'sender_acl' => ['logged_in_as', 'send_as']
Open commit View diff
3615 'sender_acl' => ['logged_in_as', 'send_as']
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3616
            ];
Open commit View diff
3616 ];
FreddleSpl0it almost 2 years ago 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3617
            foreach ($tables as $table => $columns) {
Open commit View diff
3617 foreach ($tables as $table => $columns) {
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3618
              foreach ($columns as $column) {
Open commit View diff
3618 foreach ($columns as $column) {
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3619
                $stmt = $pdo->prepare("UPDATE $table SET $column = :new_username WHERE $column = :old_username")
Open commit View diff
3619 $stmt = $pdo->prepare("UPDATE $table SET $column = :new_username WHERE $column = :old_username")
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3620
                  ->execute([
Open commit View diff
3620 ->execute([
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3621
                    ':new_username' => $new_username,
Open commit View diff
3621 ':new_username' => $new_username,
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3622
                    ':old_username' => $old_username
Open commit View diff
3622 ':old_username' => $old_username
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3623
                  ]);
Open commit View diff
3623 ]);
same change 4f9e37c

[Web] rename user in bcc_maps, recipient_maps and imapsync table

Full commit hash
4f9e37c0c3f8543406d83b452e91b22298cb0550
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3624
              }
Open commit View diff
3624 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3625
            }
Open commit View diff
3625 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3626
Open commit View diff
3626
FreddleSpl0it almost 2 years ago 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3627
            // Update c_uid, c_name and mail in _sogo_static_view table
Open commit View diff
3627 // Update c_uid, c_name and mail in _sogo_static_view table
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3628
            $pdo->prepare("UPDATE _sogo_static_view SET c_uid = :new_username, c_name = :new_username2, mail = :new_username3 WHERE c_uid = :old_username")
Open commit View diff
3628 $pdo->prepare("UPDATE _sogo_static_view SET c_uid = :new_username, c_name = :new_username2, mail = :new_username3 WHERE c_uid = :old_username")
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3629
              ->execute([
Open commit View diff
3629 ->execute([
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3630
                ':new_username' => $new_username,
Open commit View diff
3630 ':new_username' => $new_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3631
                ':new_username2' => $new_username,
Open commit View diff
3631 ':new_username2' => $new_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3632
                ':new_username3' => $new_username,
Open commit View diff
3632 ':new_username3' => $new_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3633
                ':old_username' => $old_username
Open commit View diff
3633 ':old_username' => $old_username
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3634
              ]);
Open commit View diff
3634 ]);
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3635
Open commit View diff
3635
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3636
            // Re-enable foreign key checks
Open commit View diff
3636 // Re-enable foreign key checks
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3637
            $pdo->exec('SET FOREIGN_KEY_CHECKS = 1');
Open commit View diff
3637 $pdo->exec('SET FOREIGN_KEY_CHECKS = 1');
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3638
            $pdo->commit();
Open commit View diff
3638 $pdo->commit();
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3639
          } catch (PDOException $e) {
Open commit View diff
3639 } catch (PDOException $e) {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3640
            // Rollback the transaction if something goes wrong
Open commit View diff
3640 // Rollback the transaction if something goes wrong
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3641
            $pdo->rollBack();
Open commit View diff
3641 $pdo->rollBack();
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3642
            $_SESSION['return'][] = array(
Open commit View diff
3642 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3643
              'type' => 'danger',
Open commit View diff
3643 'type' => 'danger',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3644
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3644 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3645
              'msg' => $e->getMessage()
Open commit View diff
3645 'msg' => $e->getMessage()
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3646
            );
Open commit View diff
3646 );
FreddleSpl0it almost 2 years ago 822d9a7

[Web] rename goto in alias table

Full commit hash
822d9a7de6e72efbfecc882245d47629ba26cc9e
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3647
            return false;
Open commit View diff
3647 return false;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3648
          }
Open commit View diff
3648 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3649
Open commit View diff
3649
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3650
          // move maildir
Open commit View diff
3650 // move maildir
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3651
          $exec_fields = array(
Open commit View diff
3651 $exec_fields = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3652
            'cmd' => 'maildir',
Open commit View diff
3652 'cmd' => 'maildir',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3653
            'task' => 'move',
Open commit View diff
3653 'task' => 'move',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3654
            'old_maildir' => $domain . '/' . $old_local_part,
Open commit View diff
3654 'old_maildir' => $domain . '/' . $old_local_part,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3655
            'new_maildir' => $domain . '/' . $new_local_part
Open commit View diff
3655 'new_maildir' => $domain . '/' . $new_local_part
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3656
          );
Open commit View diff
3656 );
FreddleSpl0it over 1 year ago 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3657
          if (getenv("CLUSTERMODE") == "replication") {
Open commit View diff
3657 if (getenv("CLUSTERMODE") == "replication") {
same change 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3658
            // broadcast to each dovecot container
Open commit View diff
3658 // broadcast to each dovecot container
same change 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3659
            docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
3659 docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields);
same change 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3660
          } else {
Open commit View diff
3660 } else {
same change 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3661
            docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
3661 docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
same change 6d1f748

[Web] broadcast maildir move to dovecot containers on mailbox_rename

Full commit hash
6d1f7482edae6927fa1b2b540d5ef11fa8e2bcb2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3662
          }
Open commit View diff
3662 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3663
Open commit View diff
3663
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3664
          // rename username in sogo
Open commit View diff
3664 // rename username in sogo
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3665
          $exec_fields = array(
Open commit View diff
3665 $exec_fields = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3666
            'cmd' => 'sogo',
Open commit View diff
3666 'cmd' => 'sogo',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3667
            'task' => 'rename_user',
Open commit View diff
3667 'task' => 'rename_user',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3668
            'old_username' => $old_username,
Open commit View diff
3668 'old_username' => $old_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3669
            'new_username' => $new_username
Open commit View diff
3669 'new_username' => $new_username
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3670
          );
Open commit View diff
3670 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3671
          docker('post', 'sogo-mailcow', 'exec', $exec_fields);
Open commit View diff
3671 docker('post', 'sogo-mailcow', 'exec', $exec_fields);
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3672
Open commit View diff
3672
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3673
          // set imap acls
Open commit View diff
3673 // set imap acls
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3674
          foreach ($imap_acls as $imap_acl) {
Open commit View diff
3674 foreach ($imap_acls as $imap_acl) {
FreddleSpl0it over 1 year ago d8c8e4a

[DockerApi] Fix IMAP ACL migration issue when renaming mailbox

Full commit hash
d8c8e4ab1bc9168f0ed5ecb4074dcd42176ad7ea
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3675
            $user_id = ($imap_acl['id'] == $old_username) ? $new_username : $imap_acl['id'];
Open commit View diff
3675 $user_id = ($imap_acl['id'] == $old_username) ? $new_username : $imap_acl['id'];
same change d8c8e4a

[DockerApi] Fix IMAP ACL migration issue when renaming mailbox

Full commit hash
d8c8e4ab1bc9168f0ed5ecb4074dcd42176ad7ea
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3676
            $user = ($imap_acl['user'] == $old_username) ? $new_username : $imap_acl['user'];
Open commit View diff
3676 $user = ($imap_acl['user'] == $old_username) ? $new_username : $imap_acl['user'];
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3677
            $exec_fields = array(
Open commit View diff
3677 $exec_fields = array(
FreddleSpl0it almost 2 years ago 8e7b27a

[DockerApi] rework doveadm__get_acl function

Full commit hash
8e7b27aae469d5dbe757779cd11df6eb11430b8c
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3678
              'cmd' => 'doveadm',
Open commit View diff
3678 'cmd' => 'doveadm',
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3679
              'task' => 'set_acl',
Open commit View diff
3679 'task' => 'set_acl',
FreddleSpl0it over 1 year ago d8c8e4a

[DockerApi] Fix IMAP ACL migration issue when renaming mailbox

Full commit hash
d8c8e4ab1bc9168f0ed5ecb4074dcd42176ad7ea
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3680
              'user' => $user,
Open commit View diff
3680 'user' => $user,
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3681
              'mailbox' => $imap_acl['mailbox'],
Open commit View diff
3681 'mailbox' => $imap_acl['mailbox'],
FreddleSpl0it over 1 year ago d8c8e4a

[DockerApi] Fix IMAP ACL migration issue when renaming mailbox

Full commit hash
d8c8e4ab1bc9168f0ed5ecb4074dcd42176ad7ea
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3682
              'id' => $user_id,
Open commit View diff
3682 'id' => $user_id,
FreddleSpl0it almost 2 years ago be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3683
              'rights' => $imap_acl['rights']
Open commit View diff
3683 'rights' => $imap_acl['rights']
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3684
            );
Open commit View diff
3684 );
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3685
            docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
3685 docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3686
          }
Open commit View diff
3686 }
same change be5a181

[Web][DockerApi] migrate imap acl on mbox rename

Full commit hash
be5a181be5b4717c080faf05e47965e8273ea9ea
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3687
Open commit View diff
3687
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3688
          // create alias
Open commit View diff
3688 // create alias
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3689
          if ($create_alias == 1) {
Open commit View diff
3689 if ($create_alias == 1) {
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3690
            mailbox("add", "alias", array(
Open commit View diff
3690 mailbox("add", "alias", array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3691
              "address" => $old_username,
Open commit View diff
3691 "address" => $old_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3692
              "goto" => $new_username,
Open commit View diff
3692 "goto" => $new_username,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3693
              "active" => 1,
Open commit View diff
3693 "active" => 1,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3694
              "sogo_visible" => 1,
Open commit View diff
3694 "sogo_visible" => 1,
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3695
              "private_comment" => sprintf($lang['success']['mailbox_renamed'], $old_username, $new_username)
Open commit View diff
3695 "private_comment" => sprintf($lang['success']['mailbox_renamed'], $old_username, $new_username)
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3696
            ));
Open commit View diff
3696 ));
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3697
          }
Open commit View diff
3697 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3698
Open commit View diff
3698
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3699
          $_SESSION['return'][] = array(
Open commit View diff
3699 $_SESSION['return'][] = array(
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3700
            'type' => 'success',
Open commit View diff
3700 'type' => 'success',
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3701
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3701 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3702
            'msg' => array('mailbox_renamed', $old_username, $new_username)
Open commit View diff
3702 'msg' => array('mailbox_renamed', $old_username, $new_username)
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3703
          );
Open commit View diff
3703 );
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3704
        break;
Open commit View diff
3704 break;
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3705
        case 'mailbox_from_template':
Open commit View diff
3705 case 'mailbox_from_template':
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3706
          $stmt = $pdo->prepare("SELECT * FROM `templates`
Open commit View diff
3706 $stmt = $pdo->prepare("SELECT * FROM `templates`
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3707
          WHERE `template` = :template AND type = 'mailbox'");
Open commit View diff
3707 WHERE `template` = :template AND type = 'mailbox'");
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3708
          $stmt->execute(array(
Open commit View diff
3708 $stmt->execute(array(
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3709
            ":template" => $_data['template']
Open commit View diff
3709 ":template" => $_data['template']
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3710
          ));
Open commit View diff
3710 ));
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3711
          $mbox_template_data = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
3711 $mbox_template_data = $stmt->fetch(PDO::FETCH_ASSOC);
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3712
          if (empty($mbox_template_data)){
Open commit View diff
3712 if (empty($mbox_template_data)){
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3713
            $_SESSION['return'][] =  array(
Open commit View diff
3713 $_SESSION['return'][] = array(
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3714
              'type' => 'danger',
Open commit View diff
3714 'type' => 'danger',
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3715
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3715 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3716
              'msg' => 'template_missing'
Open commit View diff
3716 'msg' => 'template_missing'
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3717
            );
Open commit View diff
3717 );
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3718
            return false;
Open commit View diff
3718 return false;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3719
          }
Open commit View diff
3719 }
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3720
Open commit View diff
3720
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3721
          $attribute_hash = sha1(json_encode($mbox_template_data["attributes"]));
Open commit View diff
3721 $attribute_hash = sha1(json_encode($mbox_template_data["attributes"]));
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3722
          $is_now = mailbox('get', 'mailbox_details', $_data['username']);
Open commit View diff
3722 $is_now = mailbox('get', 'mailbox_details', $_data['username']);
FreddleSpl0it over 2 years ago a06c783

[Web] add ldap idp

Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3723
          $name = ltrim(rtrim($_data['name'], '>'), '<');
Open commit View diff
3723 $name = ltrim(rtrim($_data['name'], '>'), '<');
same change a06c783

[Web] add ldap idp

Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3724
          if ($is_now['attributes']['attribute_hash'] == $attribute_hash && $is_now['name'] == $name)
Open commit View diff
3724 if ($is_now['attributes']['attribute_hash'] == $attribute_hash && $is_now['name'] == $name)
FreddleSpl0it about 3 years ago a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3725
            return true;
Open commit View diff
3725 return true;
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3726
Open commit View diff
3726
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3727
          $mbox_template_data = json_decode($mbox_template_data["attributes"], true);
Open commit View diff
3727 $mbox_template_data = json_decode($mbox_template_data["attributes"], true);
same change a4cce14

[Web] improve attribute sync performance & make authsource editable

Full commit hash
a4cce147aa3fa9c5d8a28ab295a5869751b4e38e
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3728
          $mbox_template_data['attribute_hash'] = $attribute_hash;
Open commit View diff
3728 $mbox_template_data['attribute_hash'] = $attribute_hash;
FreddleSpl0it over 2 years ago a06c783

[Web] add ldap idp

Full commit hash
a06c78362a29eba6c5ecf1e4a2a6a65362301e1f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3729
          $mbox_template_data['name'] = $name;
Open commit View diff
3729 $mbox_template_data['name'] = $name;
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3730
          $quarantine_attributes = array('username' => $_data['username']);
Open commit View diff
3730 $quarantine_attributes = array('username' => $_data['username']);
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3731
          $tls_attributes = array('username' => $_data['username']);
Open commit View diff
3731 $tls_attributes = array('username' => $_data['username']);
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3732
          $ratelimit_attributes = array('object' => $_data['username']);
Open commit View diff
3732 $ratelimit_attributes = array('object' => $_data['username']);
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3733
          $acl_attributes = array('username' => $_data['username'], 'user_acl' => array());
Open commit View diff
3733 $acl_attributes = array('username' => $_data['username'], 'user_acl' => array());
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3734
          $mailbox_attributes = array('username' => $_data['username']);
Open commit View diff
3734 $mailbox_attributes = array('username' => $_data['username']);
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3735
          foreach ($mbox_template_data as $key => $value){
Open commit View diff
3735 foreach ($mbox_template_data as $key => $value){
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3736
            switch (true) {
Open commit View diff
3736 switch (true) {
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3737
              case (strpos($key, 'quarantine_') === 0):
Open commit View diff
3737 case (strpos($key, 'quarantine_') === 0):
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3738
                $quarantine_attributes[$key] = $value;
Open commit View diff
3738 $quarantine_attributes[$key] = $value;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3739
              break;
Open commit View diff
3739 break;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3740
              case (strpos($key, 'tls_') === 0):
Open commit View diff
3740 case (strpos($key, 'tls_') === 0):
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3741
                if ($value == null)
Open commit View diff
3741 if ($value == null)
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3742
                  $value = 0;
Open commit View diff
3742 $value = 0;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3743
                $tls_attributes[$key] = $value;
Open commit View diff
3743 $tls_attributes[$key] = $value;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3744
              break;
Open commit View diff
3744 break;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3745
              case (strpos($key, 'rl_') === 0):
Open commit View diff
3745 case (strpos($key, 'rl_') === 0):
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3746
                $ratelimit_attributes[$key] = $value;
Open commit View diff
3746 $ratelimit_attributes[$key] = $value;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3747
              break;
Open commit View diff
3747 break;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3748
              case (strpos($key, 'acl_') === 0 && $value != 0):
Open commit View diff
3748 case (strpos($key, 'acl_') === 0 && $value != 0):
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3749
                array_push($acl_attributes['user_acl'], str_replace('acl_' , '', $key));
Open commit View diff
3749 array_push($acl_attributes['user_acl'], str_replace('acl_' , '', $key));
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3750
              break;
Open commit View diff
3750 break;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3751
              default:
Open commit View diff
3751 default:
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3752
                $mailbox_attributes[$key] = $value;
Open commit View diff
3752 $mailbox_attributes[$key] = $value;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3753
              break;
Open commit View diff
3753 break;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3754
            }
Open commit View diff
3754 }
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3755
          }
Open commit View diff
3755 }
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3756
Open commit View diff
3756
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3757
          $mailbox_attributes['quota'] = intval($mailbox_attributes['quota'] / 1048576);
Open commit View diff
3757 $mailbox_attributes['quota'] = intval($mailbox_attributes['quota'] / 1048576);
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3758
          $result = mailbox('edit', 'mailbox', $mailbox_attributes);
Open commit View diff
3758 $result = mailbox('edit', 'mailbox', $mailbox_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3759
          if ($result === false) return $result;
Open commit View diff
3759 if ($result === false) return $result;
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3760
          $result = mailbox('edit', 'tls_policy', $tls_attributes);
Open commit View diff
3760 $result = mailbox('edit', 'tls_policy', $tls_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3761
          if ($result === false) return $result;
Open commit View diff
3761 if ($result === false) return $result;
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3762
          $result = mailbox('edit', 'quarantine_notification', $quarantine_attributes);
Open commit View diff
3762 $result = mailbox('edit', 'quarantine_notification', $quarantine_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3763
          if ($result === false) return $result;
Open commit View diff
3763 if ($result === false) return $result;
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3764
          $result = mailbox('edit', 'quarantine_category', $quarantine_attributes);
Open commit View diff
3764 $result = mailbox('edit', 'quarantine_category', $quarantine_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3765
          if ($result === false) return $result;
Open commit View diff
3765 if ($result === false) return $result;
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3766
          $result = ratelimit('edit', 'mailbox', $ratelimit_attributes);
Open commit View diff
3766 $result = ratelimit('edit', 'mailbox', $ratelimit_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3767
          if ($result === false) return $result;
Open commit View diff
3767 if ($result === false) return $result;
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3768
          $result = acl('edit', 'user', $acl_attributes);
Open commit View diff
3768 $result = acl('edit', 'user', $acl_attributes);
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3769
          if ($result === false) return $result;
Open commit View diff
3769 if ($result === false) return $result;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3770
Open commit View diff
3770
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3771
          $_SESSION['return'] = array();
Open commit View diff
3771 $_SESSION['return'] = array();
FreddleSpl0it about 3 years ago c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3772
          return true;
Open commit View diff
3772 return true;
same change c8fec24

[Web] add "edit mailbox_from_template" function

Full commit hash
c8fec24da30162c1fe56bcab4042402f05f2be03
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
3773
        break;
Open commit View diff
3773 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3774
        case 'mailbox_templates':
Open commit View diff
3774 case 'mailbox_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3775
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
3775 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3776
            $_SESSION['return'][] = array(
Open commit View diff
3776 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3777
              'type' => 'danger',
Open commit View diff
3777 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3778
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
3778 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3779
              'msg' => 'access_denied'
Open commit View diff
3779 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3780
            );
Open commit View diff
3780 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3781
            return false;
Open commit View diff
3781 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3782
          }
Open commit View diff
3782 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3783
          if (!is_array($_data['ids'])) {
Open commit View diff
3783 if (!is_array($_data['ids'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3784
            $ids = array();
Open commit View diff
3784 $ids = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3785
            $ids[] = $_data['ids'];
Open commit View diff
3785 $ids[] = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3786
          }
Open commit View diff
3786 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3787
          else {
Open commit View diff
3787 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3788
            $ids = $_data['ids'];
Open commit View diff
3788 $ids = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3789
          }
Open commit View diff
3789 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3790
          foreach ($ids as $id) {
Open commit View diff
3790 foreach ($ids as $id) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3791
            $is_now = mailbox("get", "mailbox_templates", $id);
Open commit View diff
3791 $is_now = mailbox("get", "mailbox_templates", $id);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3792
            if (empty($is_now) ||
Open commit View diff
3792 if (empty($is_now) ||
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3793
                $is_now["type"] != "mailbox"){
Open commit View diff
3793 $is_now["type"] != "mailbox"){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3794
              $_SESSION['return'][] = array(
Open commit View diff
3794 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3795
                'type' => 'danger',
Open commit View diff
3795 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3796
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
3796 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3797
                'msg' => 'template_id_invalid'
Open commit View diff
3797 'msg' => 'template_id_invalid'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3798
              );
Open commit View diff
3798 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3799
              continue;
Open commit View diff
3799 continue;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3800
            }
Open commit View diff
3800 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3801
Open commit View diff
3801
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3802
Open commit View diff
3802
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3803
            // check name
Open commit View diff
3803 // check name
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3804
            if ($is_now["template"] == "Default" && $is_now["template"] != $_data["template"]){
Open commit View diff
3804 if ($is_now["template"] == "Default" && $is_now["template"] != $_data["template"]){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3805
              // keep template name of Default template
Open commit View diff
3805 // keep template name of Default template
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3806
              $_data["template"]                   = $is_now["template"];
Open commit View diff
3806 $_data["template"] = $is_now["template"];
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3807
            }
Open commit View diff
3807 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3808
            else {
Open commit View diff
3808 else {
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3809
              $_data["template"]                   = (isset($_data["template"])) ? $_data["template"] : $is_now["template"];
Open commit View diff
3809 $_data["template"] = (isset($_data["template"])) ? $_data["template"] : $is_now["template"];
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3810
            }
Open commit View diff
3810 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3811
            // check attributes
Open commit View diff
3811 // check attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3812
            $attr = array();
Open commit View diff
3812 $attr = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3813
            $attr["quota"]                       = isset($_data['quota']) ? intval($_data['quota']) * 1048576 : 0;
Open commit View diff
3813 $attr["quota"] = isset($_data['quota']) ? intval($_data['quota']) * 1048576 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3814
            $attr['tags']                        = (isset($_data['tags'])) ? $_data['tags'] : $is_now['tags'];
Open commit View diff
3814 $attr['tags'] = (isset($_data['tags'])) ? $_data['tags'] : $is_now['tags'];
FreddleSpl0it 12 months ago 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
3815
            $attr["tagged_mail_handler"]         = (!empty($_data['tagged_mail_handler'])) ? $_data['tagged_mail_handler'] : $is_now['tagged_mail_handler'];
Open commit View diff
3815 $attr["tagged_mail_handler"] = (!empty($_data['tagged_mail_handler'])) ? $_data['tagged_mail_handler'] : $is_now['tagged_mail_handler'];
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3816
            $attr["quarantine_notification"]     = (!empty($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : $is_now['quarantine_notification'];
Open commit View diff
3816 $attr["quarantine_notification"] = (!empty($_data['quarantine_notification'])) ? $_data['quarantine_notification'] : $is_now['quarantine_notification'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3817
            $attr["quarantine_category"]         = (!empty($_data['quarantine_category'])) ? $_data['quarantine_category'] : $is_now['quarantine_category'];
Open commit View diff
3817 $attr["quarantine_category"] = (!empty($_data['quarantine_category'])) ? $_data['quarantine_category'] : $is_now['quarantine_category'];
FreddleSpl0it 4 months ago 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3818
            // Validate quarantine_category
Open commit View diff
3818 // Validate quarantine_category
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3819
            if (!in_array($attr["quarantine_category"], array('add_header', 'reject', 'all'))) {
Open commit View diff
3819 if (!in_array($attr["quarantine_category"], array('add_header', 'reject', 'all'))) {
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3820
              $_SESSION['return'][] = array(
Open commit View diff
3820 $_SESSION['return'][] = array(
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3821
                'type' => 'danger',
Open commit View diff
3821 'type' => 'danger',
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3822
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
Open commit View diff
3822 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_extra),
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3823
                'msg' => 'quarantine_category_invalid'
Open commit View diff
3823 'msg' => 'quarantine_category_invalid'
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3824
              );
Open commit View diff
3824 );
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3825
              continue;
Open commit View diff
3825 continue;
same change 5a00b51

[Web][Dovecot] Add parameterized queries and input validation for quarantine_category

Full commit hash
5a00b5124b58c4399b6320270947683efb080e89
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
3826
            }
Open commit View diff
3826 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3827
            $attr["rl_frame"]                    = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : $is_now['rl_frame'];
Open commit View diff
3827 $attr["rl_frame"] = (!empty($_data['rl_frame'])) ? $_data['rl_frame'] : $is_now['rl_frame'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3828
            $attr["rl_value"]                    = (!empty($_data['rl_value'])) ? $_data['rl_value'] : $is_now['rl_value'];
Open commit View diff
3828 $attr["rl_value"] = (!empty($_data['rl_value'])) ? $_data['rl_value'] : $is_now['rl_value'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3829
            $attr["force_pw_update"]             = isset($_data['force_pw_update']) ? intval($_data['force_pw_update']) : $is_now['force_pw_update'];
Open commit View diff
3829 $attr["force_pw_update"] = isset($_data['force_pw_update']) ? intval($_data['force_pw_update']) : $is_now['force_pw_update'];
Snafu about 2 months ago 0fafda6

Fix force_tfa not available in mailbox template #7216

Full commit hash
0fafda696bc9ee997e3c2a368b28f4600037aaca
Author
Snafu <[email protected]>
Date
about 2 months ago
Selected line
3830
            $attr["force_tfa"]                   = isset($_data['force_tfa']) ? intval($_data['force_tfa']) : $is_now['force_tfa'];
Open commit View diff
3830 $attr["force_tfa"] = isset($_data['force_tfa']) ? intval($_data['force_tfa']) : $is_now['force_tfa'];
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3831
            $attr["sogo_access"]                 = isset($_data['sogo_access']) ? intval($_data['sogo_access']) : $is_now['sogo_access'];
Open commit View diff
3831 $attr["sogo_access"] = isset($_data['sogo_access']) ? intval($_data['sogo_access']) : $is_now['sogo_access'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3832
            $attr["active"]                      = isset($_data['active']) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
3832 $attr["active"] = isset($_data['active']) ? intval($_data['active']) : $is_now['active'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3833
            $attr["tls_enforce_in"]              = isset($_data['tls_enforce_in']) ? intval($_data['tls_enforce_in']) : $is_now['tls_enforce_in'];
Open commit View diff
3833 $attr["tls_enforce_in"] = isset($_data['tls_enforce_in']) ? intval($_data['tls_enforce_in']) : $is_now['tls_enforce_in'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3834
            $attr["tls_enforce_out"]             = isset($_data['tls_enforce_out']) ? intval($_data['tls_enforce_out']) : $is_now['tls_enforce_out'];
Open commit View diff
3834 $attr["tls_enforce_out"] = isset($_data['tls_enforce_out']) ? intval($_data['tls_enforce_out']) : $is_now['tls_enforce_out'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3835
            if (isset($_data['protocol_access'])) {
Open commit View diff
3835 if (isset($_data['protocol_access'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3836
              $_data['protocol_access'] = (array)$_data['protocol_access'];
Open commit View diff
3836 $_data['protocol_access'] = (array)$_data['protocol_access'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3837
              $attr['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3837 $attr['imap_access'] = (in_array('imap', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3838
              $attr['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3838 $attr['pop3_access'] = (in_array('pop3', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3839
              $attr['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3839 $attr['smtp_access'] = (in_array('smtp', $_data['protocol_access'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3840
              $attr['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3840 $attr['sieve_access'] = (in_array('sieve', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it 6 months ago 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3841
              $attr['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3841 $attr['eas_access'] = (in_array('eas', $_data['protocol_access'])) ? 1 : 0;
same change 56ea430

[Web] Allow admins to limit EAS and DAV access for mailbox users

Full commit hash
56ea4302ed13ac9aa344dc840689c4dd6ac76b68
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
3842
              $attr['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
Open commit View diff
3842 $attr['dav_access'] = (in_array('dav', $_data['protocol_access'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3843
            }
Open commit View diff
3843 }
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3844
            else {
Open commit View diff
3844 else {
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3845
              foreach ($is_now as $key => $value){
Open commit View diff
3845 foreach ($is_now as $key => $value){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3846
                $attr[$key] = $is_now[$key];
Open commit View diff
3846 $attr[$key] = $is_now[$key];
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3847
              }
Open commit View diff
3847 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3848
            }
Open commit View diff
3848 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3849
            if (isset($_data['acl'])) {
Open commit View diff
3849 if (isset($_data['acl'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3850
              $_data['acl'] = (array)$_data['acl'];
Open commit View diff
3850 $_data['acl'] = (array)$_data['acl'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3851
              $attr['acl_spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
Open commit View diff
3851 $attr['acl_spam_alias'] = (in_array('spam_alias', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3852
              $attr['acl_tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
3852 $attr['acl_tls_policy'] = (in_array('tls_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3853
              $attr['acl_spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
Open commit View diff
3853 $attr['acl_spam_score'] = (in_array('spam_score', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3854
              $attr['acl_spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
Open commit View diff
3854 $attr['acl_spam_policy'] = (in_array('spam_policy', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3855
              $attr['acl_delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
Open commit View diff
3855 $attr['acl_delimiter_action'] = (in_array('delimiter_action', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3856
              $attr['acl_syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
Open commit View diff
3856 $attr['acl_syncjobs'] = (in_array('syncjobs', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3857
              $attr['acl_eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
3857 $attr['acl_eas_reset'] = (in_array('eas_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3858
              $attr['acl_sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
3858 $attr['acl_sogo_profile_reset'] = (in_array('sogo_profile_reset', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3859
              $attr['acl_pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
Open commit View diff
3859 $attr['acl_pushover'] = (in_array('pushover', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3860
              $attr['acl_quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
Open commit View diff
3860 $attr['acl_quarantine'] = (in_array('quarantine', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3861
              $attr['acl_quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
Open commit View diff
3861 $attr['acl_quarantine_attachments'] = (in_array('quarantine_attachments', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3862
              $attr['acl_quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
Open commit View diff
3862 $attr['acl_quarantine_notification'] = (in_array('quarantine_notification', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3863
              $attr['acl_quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
Open commit View diff
3863 $attr['acl_quarantine_category'] = (in_array('quarantine_category', $_data['acl'])) ? 1 : 0;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3864
              $attr['acl_app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
Open commit View diff
3864 $attr['acl_app_passwds'] = (in_array('app_passwds', $_data['acl'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago fbecd60

[Web] add new pw_reset acl to mailbox templates

Full commit hash
fbecd60e563d3e924e2c085681a5dfe976e692d9
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3865
              $attr['acl_pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
Open commit View diff
3865 $attr['acl_pw_reset'] = (in_array('pw_reset', $_data['acl'])) ? 1 : 0;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3866
            } else {
Open commit View diff
3866 } else {
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3867
              foreach ($is_now as $key => $value){
Open commit View diff
3867 foreach ($is_now as $key => $value){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3868
                $attr[$key] = $is_now[$key];
Open commit View diff
3868 $attr[$key] = $is_now[$key];
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3869
              }
Open commit View diff
3869 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3870
            }
Open commit View diff
3870 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3871
Open commit View diff
3871
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3872
Open commit View diff
3872
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3873
            // update template
Open commit View diff
3873 // update template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3874
            $stmt = $pdo->prepare("UPDATE `templates`
Open commit View diff
3874 $stmt = $pdo->prepare("UPDATE `templates`
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3875
              SET `template` = :template, `attributes` = :attributes
Open commit View diff
3875 SET `template` = :template, `attributes` = :attributes
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3876
              WHERE id = :id");
Open commit View diff
3876 WHERE id = :id");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3877
            $stmt->execute(array(
Open commit View diff
3877 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3878
              ":id" => $id ,
Open commit View diff
3878 ":id" => $id ,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3879
              ":template" => $_data["template"] ,
Open commit View diff
3879 ":template" => $_data["template"] ,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3880
              ":attributes" => json_encode($attr)
Open commit View diff
3880 ":attributes" => json_encode($attr)
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3881
            ));
Open commit View diff
3881 ));
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3882
          }
Open commit View diff
3882 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3883
Open commit View diff
3883
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3884
Open commit View diff
3884
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3885
          $_SESSION['return'][] = array(
Open commit View diff
3885 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3886
            'type' => 'success',
Open commit View diff
3886 'type' => 'success',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3887
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3887 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3888
            'msg' => array('template_modified', $_data["template"])
Open commit View diff
3888 'msg' => array('template_modified', $_data["template"])
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3889
          );
Open commit View diff
3889 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3890
          return true;
Open commit View diff
3890 return true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3891
        break;
Open commit View diff
3891 break;
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3892
        case 'mailbox_custom_attribute':
Open commit View diff
3892 case 'mailbox_custom_attribute':
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3893
          $_data['attribute'] = isset($_data['attribute']) ? $_data['attribute'] : array();
Open commit View diff
3893 $_data['attribute'] = isset($_data['attribute']) ? $_data['attribute'] : array();
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3894
          $_data['attribute'] = is_array($_data['attribute']) ? $_data['attribute'] : array($_data['attribute']);
Open commit View diff
3894 $_data['attribute'] = is_array($_data['attribute']) ? $_data['attribute'] : array($_data['attribute']);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3895
          $_data['attribute'] = array_map(function($value) { return str_replace(' ', '', $value); }, $_data['attribute']);
Open commit View diff
3895 $_data['attribute'] = array_map(function($value) { return str_replace(' ', '', $value); }, $_data['attribute']);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3896
          $_data['value']     = isset($_data['value']) ? $_data['value'] : array();
Open commit View diff
3896 $_data['value'] = isset($_data['value']) ? $_data['value'] : array();
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3897
          $_data['value']     = is_array($_data['value']) ? $_data['value'] : array($_data['value']);
Open commit View diff
3897 $_data['value'] = is_array($_data['value']) ? $_data['value'] : array($_data['value']);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3898
          $attributes         = (object)array_combine($_data['attribute'], $_data['value']);
Open commit View diff
3898 $attributes = (object)array_combine($_data['attribute'], $_data['value']);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3899
          $mailboxes          = is_array($_data['mailboxes']) ? $_data['mailboxes'] : array($_data['mailboxes']);
Open commit View diff
3899 $mailboxes = is_array($_data['mailboxes']) ? $_data['mailboxes'] : array($_data['mailboxes']);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3900
Open commit View diff
3900
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3901
          foreach ($mailboxes as $mailbox) {
Open commit View diff
3901 foreach ($mailboxes as $mailbox) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3902
            if (!filter_var($mailbox, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
3902 if (!filter_var($mailbox, FILTER_VALIDATE_EMAIL)) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3903
              $_SESSION['return'][] = array(
Open commit View diff
3903 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3904
                'type' => 'danger',
Open commit View diff
3904 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3905
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3905 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3906
                'msg' => array('username_invalid', $mailbox)
Open commit View diff
3906 'msg' => array('username_invalid', $mailbox)
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3907
              );
Open commit View diff
3907 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3908
              continue;
Open commit View diff
3908 continue;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3909
            }
Open commit View diff
3909 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3910
            $is_now = mailbox('get', 'mailbox_details', $mailbox);
Open commit View diff
3910 $is_now = mailbox('get', 'mailbox_details', $mailbox);
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3911
            if(!empty($is_now)){
Open commit View diff
3911 if(!empty($is_now)){
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3912
              if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $is_now['domain'])) {
Open commit View diff
3912 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $is_now['domain'])) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3913
                $_SESSION['return'][] = array(
Open commit View diff
3913 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3914
                  'type' => 'danger',
Open commit View diff
3914 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3915
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3915 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3916
                  'msg' => 'access_denied'
Open commit View diff
3916 'msg' => 'access_denied'
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3917
                );
Open commit View diff
3917 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3918
                continue;
Open commit View diff
3918 continue;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3919
              }
Open commit View diff
3919 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3920
            }
Open commit View diff
3920 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3921
            else {
Open commit View diff
3921 else {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3922
              $_SESSION['return'][] = array(
Open commit View diff
3922 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3923
                'type' => 'danger',
Open commit View diff
3923 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3924
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3924 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3925
                'msg' => 'access_denied'
Open commit View diff
3925 'msg' => 'access_denied'
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3926
              );
Open commit View diff
3926 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3927
              continue;
Open commit View diff
3927 continue;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3928
            }
Open commit View diff
3928 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3929
Open commit View diff
3929
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3930
Open commit View diff
3930
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3931
            $stmt = $pdo->prepare("UPDATE `mailbox`
Open commit View diff
3931 $stmt = $pdo->prepare("UPDATE `mailbox`
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3932
              SET `custom_attributes` = :custom_attributes
Open commit View diff
3932 SET `custom_attributes` = :custom_attributes
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3933
              WHERE username = :username");
Open commit View diff
3933 WHERE username = :username");
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3934
            $stmt->execute(array(
Open commit View diff
3934 $stmt->execute(array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3935
              ":username" => $mailbox,
Open commit View diff
3935 ":username" => $mailbox,
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3936
              ":custom_attributes" => json_encode($attributes)
Open commit View diff
3936 ":custom_attributes" => json_encode($attributes)
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3937
            ));
Open commit View diff
3937 ));
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3938
Open commit View diff
3938
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3939
            $_SESSION['return'][] = array(
Open commit View diff
3939 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3940
              'type' => 'success',
Open commit View diff
3940 'type' => 'success',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3941
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3941 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3942
              'msg' => array('mailbox_modified', $mailbox)
Open commit View diff
3942 'msg' => array('mailbox_modified', $mailbox)
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3943
            );
Open commit View diff
3943 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3944
          }
Open commit View diff
3944 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
3945
Open commit View diff
3945
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3946
          return true;
Open commit View diff
3946 return true;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
3947
        break;
Open commit View diff
3947 break;
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3948
        case 'mta_sts':
Open commit View diff
3948 case 'mta_sts':
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3949
          if (!is_array($_data['domains'])) {
Open commit View diff
3949 if (!is_array($_data['domains'])) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3950
            $domains = array();
Open commit View diff
3950 $domains = array();
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3951
            $domains[] = $_data['domains'];
Open commit View diff
3951 $domains[] = $_data['domains'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3952
          }
Open commit View diff
3952 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3953
          else {
Open commit View diff
3953 else {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3954
            $domains = $_data['domains'];
Open commit View diff
3954 $domains = $_data['domains'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3955
          }
Open commit View diff
3955 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3956
Open commit View diff
3956
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3957
          foreach ($domains as $domain) {
Open commit View diff
3957 foreach ($domains as $domain) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3958
            $domain       = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
3958 $domain = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3959
Open commit View diff
3959
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3960
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
3960 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3961
              $_SESSION['return'][] = array(
Open commit View diff
3961 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3962
                'type' => 'danger',
Open commit View diff
3962 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3963
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
3963 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3964
                'msg' => 'access_denied'
Open commit View diff
3964 'msg' => 'access_denied'
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3965
              );
Open commit View diff
3965 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3966
              continue;
Open commit View diff
3966 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3967
            }
Open commit View diff
3967 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3968
Open commit View diff
3968
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3969
            $is_now = mailbox('get', 'mta_sts', $domain);
Open commit View diff
3969 $is_now = mailbox('get', 'mta_sts', $domain);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3970
            if (!empty($is_now)) {
Open commit View diff
3970 if (!empty($is_now)) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3971
              $version               = (isset($_data['version'])) ? strtolower($_data['version']) : $is_now['version'];
Open commit View diff
3971 $version = (isset($_data['version'])) ? strtolower($_data['version']) : $is_now['version'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3972
              $active                = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
3972 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3973
              $active                = ($active == 1) ? 1 : 0;
Open commit View diff
3973 $active = ($active == 1) ? 1 : 0;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3974
              $mode                  = (isset($_data['mode'])) ? strtolower($_data['mode']) : $is_now['mode'];
Open commit View diff
3974 $mode = (isset($_data['mode'])) ? strtolower($_data['mode']) : $is_now['mode'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3975
              $mx                    = (isset($_data['mx'])) ? explode(",", preg_replace('/\s+/', '', $_data['mx'])) : $is_now['mx'];
Open commit View diff
3975 $mx = (isset($_data['mx'])) ? explode(",", preg_replace('/\s+/', '', $_data['mx'])) : $is_now['mx'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3976
              $max_age               = (isset($_data['max_age'])) ? intval($_data['max_age']) : $is_now['max_age'];
Open commit View diff
3976 $max_age = (isset($_data['max_age'])) ? intval($_data['max_age']) : $is_now['max_age'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3977
Open commit View diff
3977
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3978
              // Update ID if neccesary
Open commit View diff
3978 // Update ID if neccesary
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3979
              if ($version != strtolower($is_now['version']) ||
Open commit View diff
3979 if ($version != strtolower($is_now['version']) ||
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3980
                  $mode != strtolower($is_now['mode']) ||
Open commit View diff
3980 $mode != strtolower($is_now['mode']) ||
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3981
                  $mx != $is_now['mx'] ||
Open commit View diff
3981 $mx != $is_now['mx'] ||
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3982
                  $max_age != $is_now['max_age']) {
Open commit View diff
3982 $max_age != $is_now['max_age']) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3983
                $id           = date('YmdHis');
Open commit View diff
3983 $id = date('YmdHis');
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3984
              } else {
Open commit View diff
3984 } else {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3985
                $id           = $is_now['id'];
Open commit View diff
3985 $id = $is_now['id'];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3986
              }
Open commit View diff
3986 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3987
Open commit View diff
3987
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3988
            } else {
Open commit View diff
3988 } else {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3989
              $_SESSION['return'][] = array(
Open commit View diff
3989 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3990
                'type' => 'danger',
Open commit View diff
3990 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3991
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
3991 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3992
                'msg' => 'access_denied'
Open commit View diff
3992 'msg' => 'access_denied'
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3993
              );
Open commit View diff
3993 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3994
              continue;
Open commit View diff
3994 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3995
            }
Open commit View diff
3995 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3996
Open commit View diff
3996
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3997
            if (empty($version) || !in_array($version, array('stsv1'))) {
Open commit View diff
3997 if (empty($version) || !in_array($version, array('stsv1'))) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3998
              $_SESSION['return'][] = array(
Open commit View diff
3998 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3999
                'type' => 'danger',
Open commit View diff
3999 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4000
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
4000 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4001
                'msg' => array('version_invalid', htmlspecialchars($version))
Open commit View diff
4001 'msg' => array('version_invalid', htmlspecialchars($version))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4002
              );
Open commit View diff
4002 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4003
              continue;
Open commit View diff
4003 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4004
            }
Open commit View diff
4004 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4005
            if (empty($mode) || !in_array($mode, array('enforce', 'testing', 'none'))) {
Open commit View diff
4005 if (empty($mode) || !in_array($mode, array('enforce', 'testing', 'none'))) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4006
              $_SESSION['return'][] = array(
Open commit View diff
4006 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4007
                'type' => 'danger',
Open commit View diff
4007 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4008
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
4008 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4009
                'msg' => array('mode_invalid', htmlspecialchars($domain))
Open commit View diff
4009 'msg' => array('mode_invalid', htmlspecialchars($domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4010
              );
Open commit View diff
4010 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4011
              continue;
Open commit View diff
4011 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4012
            }
Open commit View diff
4012 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4013
            if (empty($max_age) || $max_age < 0 || $max_age > 31557600) {
Open commit View diff
4013 if (empty($max_age) || $max_age < 0 || $max_age > 31557600) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4014
              $_SESSION['return'][] = array(
Open commit View diff
4014 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4015
                'type' => 'danger',
Open commit View diff
4015 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4016
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
4016 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4017
                'msg' => array('max_age_invalid', htmlspecialchars($domain))
Open commit View diff
4017 'msg' => array('max_age_invalid', htmlspecialchars($domain))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4018
              );
Open commit View diff
4018 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4019
              continue;
Open commit View diff
4019 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4020
            }
Open commit View diff
4020 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4021
            foreach ($mx as $index => $mx_domain) {
Open commit View diff
4021 foreach ($mx as $index => $mx_domain) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4022
              $mx_domain = idn_to_ascii(strtolower(trim($mx_domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
4022 $mx_domain = idn_to_ascii(strtolower(trim($mx_domain)), 0, INTL_IDNA_VARIANT_UTS46);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4023
              $invalid_mx = false;
Open commit View diff
4023 $invalid_mx = false;
FreddleSpl0it 10 months ago a36485f

[Web] Allow wildcard subdomains for MTA-STS

Full commit hash
a36485f0f1fe7ac2599a7c49b3604282b0391d90
Author
FreddleSpl0it <[email protected]>
Date
10 months ago
Selected line
4024
              if (!is_valid_domain_name($mx_domain, array('allow_wildcard' => true))) {
Open commit View diff
4024 if (!is_valid_domain_name($mx_domain, array('allow_wildcard' => true))) {
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4025
                $invalid_mx = $mx_domain;
Open commit View diff
4025 $invalid_mx = $mx_domain;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4026
                break;
Open commit View diff
4026 break;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4027
              }
Open commit View diff
4027 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4028
            }
Open commit View diff
4028 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4029
            if ($invalid_mx) {
Open commit View diff
4029 if ($invalid_mx) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4030
              $_SESSION['return'][] = array(
Open commit View diff
4030 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4031
                'type' => 'danger',
Open commit View diff
4031 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4032
                'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
4032 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4033
                'msg' => array('mx_invalid', htmlspecialchars($invalid_mx))
Open commit View diff
4033 'msg' => array('mx_invalid', htmlspecialchars($invalid_mx))
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4034
              );
Open commit View diff
4034 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4035
              continue;
Open commit View diff
4035 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4036
            }
Open commit View diff
4036 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4037
Open commit View diff
4037
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4038
            try {
Open commit View diff
4038 try {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4039
              $stmt = $pdo->prepare("UPDATE `mta_sts` SET `id` = :id, `version` = :version, `mode` = :mode, `mx` = :mx, `max_age` = :max_age, `active` = :active WHERE `domain` = :domain");
Open commit View diff
4039 $stmt = $pdo->prepare("UPDATE `mta_sts` SET `id` = :id, `version` = :version, `mode` = :mode, `mx` = :mx, `max_age` = :max_age, `active` = :active WHERE `domain` = :domain");
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4040
              $stmt->execute(array(
Open commit View diff
4040 $stmt->execute(array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4041
                ':id' => $id,
Open commit View diff
4041 ':id' => $id,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4042
                ':domain' => $domain,
Open commit View diff
4042 ':domain' => $domain,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4043
                ':version' => $version,
Open commit View diff
4043 ':version' => $version,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4044
                ':mode' => $mode,
Open commit View diff
4044 ':mode' => $mode,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4045
                ':mx' => implode(",", $mx),
Open commit View diff
4045 ':mx' => implode(",", $mx),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4046
                ':max_age' => $max_age,
Open commit View diff
4046 ':max_age' => $max_age,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4047
                ':active' => $active
Open commit View diff
4047 ':active' => $active
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4048
              ));
Open commit View diff
4048 ));
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4049
            } catch (PDOException $e) {
Open commit View diff
4049 } catch (PDOException $e) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4050
              $_SESSION['return'][] = array(
Open commit View diff
4050 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4051
                'type' => 'danger',
Open commit View diff
4051 'type' => 'danger',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4052
                'log' => array(__FUNCTION__, $_action, $_type, $_data),
Open commit View diff
4052 'log' => array(__FUNCTION__, $_action, $_type, $_data),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4053
                'msg' => $e->getMessage()
Open commit View diff
4053 'msg' => $e->getMessage()
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4054
              );
Open commit View diff
4054 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4055
              continue;
Open commit View diff
4055 continue;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4056
            }
Open commit View diff
4056 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4057
Open commit View diff
4057
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4058
            $_SESSION['return'][] = array(
Open commit View diff
4058 $_SESSION['return'][] = array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4059
              'type' => 'success',
Open commit View diff
4059 'type' => 'success',
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4060
              'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
Open commit View diff
4060 'log' => array(__FUNCTION__, $_action, $_type, $_data, $_attr),
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4061
              'msg' => array('object_modified', $domain)
Open commit View diff
4061 'msg' => array('object_modified', $domain)
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4062
            );
Open commit View diff
4062 );
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4063
          }
Open commit View diff
4063 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4064
Open commit View diff
4064
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4065
          return true;
Open commit View diff
4065 return true;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4066
        break;
Open commit View diff
4066 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4077
            if (!empty($is_now)) {
Open commit View diff
4077 if (!empty($is_now)) {
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4078
              $active             = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
4078 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
André about 8 years ago 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
4079
              $multiple_bookings  = (isset($_data['multiple_bookings'])) ? intval($_data['multiple_bookings']) : $is_now['multiple_bookings'];
Open commit View diff
4079 $multiple_bookings = (isset($_data['multiple_bookings'])) ? intval($_data['multiple_bookings']) : $is_now['multiple_bookings'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4080
              $description        = (!empty($_data['description'])) ? $_data['description'] : $is_now['description'];
Open commit View diff
4080 $description = (!empty($_data['description'])) ? $_data['description'] : $is_now['description'];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4081
              $kind               = (!empty($_data['kind'])) ? $_data['kind'] : $is_now['kind'];
Open commit View diff
4081 $kind = (!empty($_data['kind'])) ? $_data['kind'] : $is_now['kind'];
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4083
            else {
Open commit View diff
4083 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
4084
              $_SESSION['return'][] = array(
Open commit View diff
4084 $_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
4085
                'type' => 'danger',
Open commit View diff
4085 '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
4086
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4086 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4087
                'msg' => array('resource_invalid', htmlspecialchars($name))
Open commit View diff
4087 'msg' => array('resource_invalid', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4091
            if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4091 if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4092
              $_SESSION['return'][] = array(
Open commit View diff
4092 $_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
4093
                'type' => 'danger',
Open commit View diff
4093 '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
4094
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4094 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4095
                'msg' => array('resource_invalid', htmlspecialchars($name))
Open commit View diff
4095 'msg' => array('resource_invalid', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4096
              );
Open commit View diff
4096 );
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
4097
              continue;
Open commit View diff
4097 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
4098
            }
Open commit View diff
4098 }
André about 8 years ago 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
4099
            if (!isset($multiple_bookings) || $multiple_bookings < -1) {
Open commit View diff
4099 if (!isset($multiple_bookings) || $multiple_bookings < -1) {
same change 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

Full commit hash
2ee983c1a14ed89014cabbb02933cedc802f5f1a
Author
André <[email protected]>
Date
about 8 years ago
Selected line
4100
              $multiple_bookings = -1;
Open commit View diff
4100 $multiple_bookings = -1;
same change 2ee983c

[Web] Fix implementation of multiple bookings for resources, fixes #1358

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4102
            if (empty($description)) {
Open commit View diff
4102 if (empty($description)) {
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
4103
              $_SESSION['return'][] = array(
Open commit View diff
4103 $_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
4104
                'type' => 'danger',
Open commit View diff
4104 '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
4105
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4105 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4106
                'msg' => array('description_invalid', htmlspecialchars($name))
Open commit View diff
4106 'msg' => array('description_invalid', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4110
            if ($kind != 'location' && $kind != 'group' && $kind != 'thing') {
Open commit View diff
4110 if ($kind != 'location' && $kind != 'group' && $kind != 'thing') {
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
4111
              $_SESSION['return'][] = array(
Open commit View diff
4111 $_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
4112
                'type' => 'danger',
Open commit View diff
4112 '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
4113
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4113 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4114
                'msg' => array('resource_invalid', htmlspecialchars($name))
Open commit View diff
4114 'msg' => array('resource_invalid', htmlspecialchars($name))
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4118
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $name)) {
Open commit View diff
4118 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $name)) {
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
4119
              $_SESSION['return'][] = array(
Open commit View diff
4119 $_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
4120
                'type' => 'danger',
Open commit View diff
4120 '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
4121
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4121 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4122
                'msg' => 'access_denied'
Open commit View diff
4122 '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
4123
              );
Open commit View diff
4123 );
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
4124
              continue;
Open commit View diff
4124 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
4125
            }
Open commit View diff
4125 }
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
4126
            $stmt = $pdo->prepare("UPDATE `mailbox` SET
Open commit View diff
4126 $stmt = $pdo->prepare("UPDATE `mailbox` SET
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
4127
                `active` = :active,
Open commit View diff
4127 `active` = :active,
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
4128
                `name`= :description,
Open commit View diff
4128 `name`= :description,
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
4129
                `kind`= :kind,
Open commit View diff
4129 `kind`= :kind,
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
4130
                `multiple_bookings`= :multiple_bookings
Open commit View diff
4130 `multiple_bookings`= :multiple_bookings
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
4131
                  WHERE `username` = :name");
Open commit View diff
4131 WHERE `username` = :name");
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
4132
            $stmt->execute(array(
Open commit View diff
4132 $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
4133
              ':active' => $active,
Open commit View diff
4133 ':active' => $active,
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
4134
              ':description' => $description,
Open commit View diff
4134 ':description' => $description,
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
4135
              ':multiple_bookings' => $multiple_bookings,
Open commit View diff
4135 ':multiple_bookings' => $multiple_bookings,
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
4136
              ':kind' => $kind,
Open commit View diff
4136 ':kind' => $kind,
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
4137
              ':name' => $name
Open commit View diff
4137 ':name' => $name
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
4138
            ));
Open commit View diff
4138 ));
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
4139
            $_SESSION['return'][] = array(
Open commit View diff
4139 $_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
4140
              'type' => 'success',
Open commit View diff
4140 '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
4141
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4141 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4142
              'msg' => array('resource_modified', htmlspecialchars($name))
Open commit View diff
4142 'msg' => array('resource_modified', htmlspecialchars($name))
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
4143
            );
Open commit View diff
4143 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
4144
Open commit View diff
4144
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
4145
            // Track affected mailboxes for SOGo update
Open commit View diff
4145 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
4146
            $update_sogo_mailboxes[] = $name;
Open commit View diff
4146 $update_sogo_mailboxes[] = $name;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4148
        break;
Open commit View diff
4148 break;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
4149
        case 'domain_wide_footer':
Open commit View diff
4149 case 'domain_wide_footer':
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4150
          if (!is_array($_data['domains'])) {
Open commit View diff
4150 if (!is_array($_data['domains'])) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4151
            $domains = array();
Open commit View diff
4151 $domains = array();
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4152
            $domains[] = $_data['domains'];
Open commit View diff
4152 $domains[] = $_data['domains'];
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4153
          }
Open commit View diff
4153 }
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4154
          else {
Open commit View diff
4154 else {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4155
            $domains = $_data['domains'];
Open commit View diff
4155 $domains = $_data['domains'];
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4156
          }
Open commit View diff
4156 }
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4157
Open commit View diff
4157
FreddleSpl0it over 2 years ago 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4158
          $footers = array();
Open commit View diff
4158 $footers = array();
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4159
          $footers['html'] = isset($_data['html']) ? $_data['html'] : '';
Open commit View diff
4159 $footers['html'] = isset($_data['html']) ? $_data['html'] : '';
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4160
          $footers['plain'] = isset($_data['plain']) ? $_data['plain'] : '';
Open commit View diff
4160 $footers['plain'] = isset($_data['plain']) ? $_data['plain'] : '';
FreddleSpl0it over 2 years ago efab117

add option to skip footer on reply e-mails

Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4161
          $footers['skip_replies'] = isset($_data['skip_replies']) ? (int)$_data['skip_replies'] : 0;
Open commit View diff
4161 $footers['skip_replies'] = isset($_data['skip_replies']) ? (int)$_data['skip_replies'] : 0;
FreddleSpl0it over 2 years ago 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4162
          $footers['mbox_exclude'] = array();
Open commit View diff
4162 $footers['mbox_exclude'] = array();
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4163
          $footers['alias_domain_exclude'] = array();
Open commit View diff
4163 $footers['alias_domain_exclude'] = array();
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4164
          if (isset($_data["exclude"])){
Open commit View diff
4164 if (isset($_data["exclude"])){
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4165
            if (!is_array($_data["exclude"])) {
Open commit View diff
4165 if (!is_array($_data["exclude"])) {
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4166
              $_data["exclude"] = array($_data["exclude"]);
Open commit View diff
4166 $_data["exclude"] = array($_data["exclude"]);
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4167
            }
Open commit View diff
4167 }
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4168
            foreach ($_data["exclude"] as $exclude) {
Open commit View diff
4168 foreach ($_data["exclude"] as $exclude) {
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4169
              if (filter_var($exclude, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4169 if (filter_var($exclude, FILTER_VALIDATE_EMAIL)) {
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4170
                $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE `address` = :address
Open commit View diff
4170 $stmt = $pdo->prepare("SELECT `address` FROM `alias` WHERE `address` = :address
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4171
                  UNION
Open commit View diff
4171 UNION
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4172
                  SELECT `username` FROM `mailbox` WHERE `username` = :username");
Open commit View diff
4172 SELECT `username` FROM `mailbox` WHERE `username` = :username");
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4173
                $stmt->execute(array(
Open commit View diff
4173 $stmt->execute(array(
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4174
                  ':address' => $exclude,
Open commit View diff
4174 ':address' => $exclude,
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4175
                  ':username' => $exclude,
Open commit View diff
4175 ':username' => $exclude,
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4176
                ));
Open commit View diff
4176 ));
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4177
                $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4177 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4178
                if(!$row){
Open commit View diff
4178 if(!$row){
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4179
                  $_SESSION['return'][] = array(
Open commit View diff
4179 $_SESSION['return'][] = array(
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4180
                    'type' => 'danger',
Open commit View diff
4180 'type' => 'danger',
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4181
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4181 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4182
                    'msg' => array('username_invalid', $exclude)
Open commit View diff
4182 'msg' => array('username_invalid', $exclude)
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4183
                  );
Open commit View diff
4183 );
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4184
                  continue;
Open commit View diff
4184 continue;
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4185
                }
Open commit View diff
4185 }
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4186
                array_push($footers['mbox_exclude'], $exclude);
Open commit View diff
4186 array_push($footers['mbox_exclude'], $exclude);
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4187
              }
Open commit View diff
4187 }
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4188
              elseif (is_valid_domain_name($exclude)) {
Open commit View diff
4188 elseif (is_valid_domain_name($exclude)) {
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4189
                $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `alias_domain` = :alias_domain");
Open commit View diff
4189 $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `alias_domain` = :alias_domain");
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4190
                $stmt->execute(array(
Open commit View diff
4190 $stmt->execute(array(
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4191
                  ':alias_domain' => $exclude,
Open commit View diff
4191 ':alias_domain' => $exclude,
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4192
                ));
Open commit View diff
4192 ));
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4193
                $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4193 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4194
                if(!$row){
Open commit View diff
4194 if(!$row){
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4195
                  $_SESSION['return'][] = array(
Open commit View diff
4195 $_SESSION['return'][] = array(
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4196
                    'type' => 'danger',
Open commit View diff
4196 'type' => 'danger',
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4197
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4197 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4198
                    'msg' => array('username_invalid', $exclude)
Open commit View diff
4198 'msg' => array('username_invalid', $exclude)
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4199
                  );
Open commit View diff
4199 );
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4200
                  continue;
Open commit View diff
4200 continue;
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4201
                }
Open commit View diff
4201 }
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4202
                array_push($footers['alias_domain_exclude'], $exclude);
Open commit View diff
4202 array_push($footers['alias_domain_exclude'], $exclude);
FreddleSpl0it over 2 years ago 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4203
              }
Open commit View diff
4203 }
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4204
              else {
Open commit View diff
4204 else {
FreddleSpl0it over 2 years ago 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4205
                $_SESSION['return'][] = array(
Open commit View diff
4205 $_SESSION['return'][] = array(
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4206
                  'type' => 'danger',
Open commit View diff
4206 'type' => 'danger',
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4207
                  'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4207 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4208
                  'msg' => array('username_invalid', $exclude)
Open commit View diff
4208 'msg' => array('username_invalid', $exclude)
FreddleSpl0it over 2 years ago 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4209
                );
Open commit View diff
4209 );
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4210
              }
Open commit View diff
4210 }
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4211
            }
Open commit View diff
4211 }
same change 7b7798e

[Web] check if mbox exists before excluding it from domain wide footer

Full commit hash
7b7798e8c44f22900d8f817ba1ed9acfe8f29c15
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4212
          }
Open commit View diff
4212 }
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4213
          foreach ($domains as $domain) {
Open commit View diff
4213 foreach ($domains as $domain) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4214
            $domain = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
4214 $domain = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4215
            if (!is_valid_domain_name($domain)) {
Open commit View diff
4215 if (!is_valid_domain_name($domain)) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4216
              $_SESSION['return'][] = array(
Open commit View diff
4216 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4217
                'type' => 'danger',
Open commit View diff
4217 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4218
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4218 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4219
                'msg' => 'domain_invalid'
Open commit View diff
4219 'msg' => 'domain_invalid'
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4220
              );
Open commit View diff
4220 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4221
              return false;
Open commit View diff
4221 return false;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4222
            }
Open commit View diff
4222 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4223
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
4223 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4224
              $_SESSION['return'][] = array(
Open commit View diff
4224 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4225
                'type' => 'danger',
Open commit View diff
4225 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4226
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4226 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4227
                'msg' => 'access_denied'
Open commit View diff
4227 'msg' => 'access_denied'
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4228
              );
Open commit View diff
4228 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4229
              return false;
Open commit View diff
4229 return false;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4230
            }
Open commit View diff
4230 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4231
Open commit View diff
4231
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4232
            try {
Open commit View diff
4232 try {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4233
              $stmt = $pdo->prepare("DELETE FROM `domain_wide_footer` WHERE `domain`= :domain");
Open commit View diff
4233 $stmt = $pdo->prepare("DELETE FROM `domain_wide_footer` WHERE `domain`= :domain");
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4234
              $stmt->execute(array(':domain' => $domain));
Open commit View diff
4234 $stmt->execute(array(':domain' => $domain));
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4235
              $stmt = $pdo->prepare("INSERT INTO `domain_wide_footer` (`domain`, `html`, `plain`, `mbox_exclude`, `alias_domain_exclude`, `skip_replies`) VALUES (:domain, :html, :plain, :mbox_exclude, :alias_domain_exclude, :skip_replies)");
Open commit View diff
4235 $stmt = $pdo->prepare("INSERT INTO `domain_wide_footer` (`domain`, `html`, `plain`, `mbox_exclude`, `alias_domain_exclude`, `skip_replies`) VALUES (:domain, :html, :plain, :mbox_exclude, :alias_domain_exclude, :skip_replies)");
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4236
              $stmt->execute(array(
Open commit View diff
4236 $stmt->execute(array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4237
                ':domain' => $domain,
Open commit View diff
4237 ':domain' => $domain,
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4238
                ':html' => $footers['html'],
Open commit View diff
4238 ':html' => $footers['html'],
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4239
                ':plain' => $footers['plain'],
Open commit View diff
4239 ':plain' => $footers['plain'],
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4240
                ':mbox_exclude' => json_encode($footers['mbox_exclude']),
Open commit View diff
4240 ':mbox_exclude' => json_encode($footers['mbox_exclude']),
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4241
                ':alias_domain_exclude' => json_encode($footers['alias_domain_exclude']),
Open commit View diff
4241 ':alias_domain_exclude' => json_encode($footers['alias_domain_exclude']),
FreddleSpl0it over 2 years ago efab117

add option to skip footer on reply e-mails

Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4242
                ':skip_replies' => $footers['skip_replies'],
Open commit View diff
4242 ':skip_replies' => $footers['skip_replies'],
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4243
              ));
Open commit View diff
4243 ));
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4244
            }
Open commit View diff
4244 }
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4245
            catch (PDOException $e) {
Open commit View diff
4245 catch (PDOException $e) {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4246
              $_SESSION['return'][] = array(
Open commit View diff
4246 $_SESSION['return'][] = array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4247
                'type' => 'danger',
Open commit View diff
4247 'type' => 'danger',
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4248
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4248 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4249
                'msg' => $e->getMessage()
Open commit View diff
4249 'msg' => $e->getMessage()
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4250
              );
Open commit View diff
4250 );
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4251
              return false;
Open commit View diff
4251 return false;
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4252
            }
Open commit View diff
4252 }
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4253
            $_SESSION['return'][] = array(
Open commit View diff
4253 $_SESSION['return'][] = array(
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4254
              'type' => 'success',
Open commit View diff
4254 'type' => 'success',
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4255
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4255 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4256
              'msg' => array('domain_footer_modified', htmlspecialchars($domain))
Open commit View diff
4256 'msg' => array('domain_footer_modified', htmlspecialchars($domain))
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4257
            );
Open commit View diff
4257 );
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4258
          }
Open commit View diff
4258 }
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
4259
        break;
Open commit View diff
4259 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4265
          if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
Open commit View diff
4265 if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4274
          $data['fixed_sender_aliases']                   = array();
Open commit View diff
4274 $data['fixed_sender_aliases'] = array();
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4275
          $data['fixed_sender_aliases_allowed']           = array();
Open commit View diff
4275 $data['fixed_sender_aliases_allowed'] = array();
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4276
          $data['fixed_sender_aliases_blocked']           = array();
Open commit View diff
4276 $data['fixed_sender_aliases_blocked'] = array();
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4277
          $data['external_sender_aliases']                = array();
Open commit View diff
4277 $data['external_sender_aliases'] = array();
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4278
          // Fixed addresses - split by sender_allowed status
Open commit View diff
4278 // Fixed addresses - split by sender_allowed status
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4279
          $stmt = $pdo->prepare("SELECT `address`, `sender_allowed` FROM `alias` WHERE `goto` REGEXP :goto AND `address` NOT LIKE '@%'");
Open commit View diff
4279 $stmt = $pdo->prepare("SELECT `address`, `sender_allowed` FROM `alias` WHERE `goto` REGEXP :goto AND `address` NOT LIKE '@%'");
FreddleSpl0it over 1 year ago abd789f

[Web] Escape mailbox name before querying aliases

Full commit hash
abd789f629a88e5cf7e5eb45f2c19224e91e2f25
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
4280
          $stmt->execute(array(':goto' => '(^|,)'.preg_quote($_data, '/').'($|,)'));
Open commit View diff
4280 $stmt->execute(array(':goto' => '(^|,)'.preg_quote($_data, '/').'($|,)'));
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4281
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4281 $rows = $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
4282
          while ($row = array_shift($rows)) {
Open commit View diff
4282 while ($row = array_shift($rows)) {
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4283
            // Keep old array for backward compatibility
Open commit View diff
4283 // Keep old array for backward compatibility
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
4284
            $data['fixed_sender_aliases'][] = $row['address'];
Open commit View diff
4284 $data['fixed_sender_aliases'][] = $row['address'];
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4285
            // Split into allowed/blocked for proper display
Open commit View diff
4285 // Split into allowed/blocked for proper display
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4286
            if ($row['sender_allowed'] == '1') {
Open commit View diff
4286 if ($row['sender_allowed'] == '1') {
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4287
              $data['fixed_sender_aliases_allowed'][] = $row['address'];
Open commit View diff
4287 $data['fixed_sender_aliases_allowed'][] = $row['address'];
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4288
            } else {
Open commit View diff
4288 } else {
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4289
              $data['fixed_sender_aliases_blocked'][] = $row['address'];
Open commit View diff
4289 $data['fixed_sender_aliases_blocked'][] = $row['address'];
same change c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4290
            }
Open commit View diff
4290 }
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
4291
          }
Open commit View diff
4291 }
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
4292
          $stmt = $pdo->prepare("SELECT CONCAT(`local_part`, '@', `alias_domain`.`alias_domain`) AS `alias_domain_alias` FROM `mailbox`, `alias_domain`
Open commit View diff
4292 $stmt = $pdo->prepare("SELECT CONCAT(`local_part`, '@', `alias_domain`.`alias_domain`) AS `alias_domain_alias` FROM `mailbox`, `alias_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
4293
            WHERE `alias_domain`.`target_domain` = `mailbox`.`domain`
Open commit View diff
4293 WHERE `alias_domain`.`target_domain` = `mailbox`.`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
4294
            AND `mailbox`.`username` = :username");
Open commit View diff
4294 AND `mailbox`.`username` = :username");
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
4295
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4295 $stmt->execute(array(':username' => $_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
4296
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4296 $rows = $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
4297
          while ($row = array_shift($rows)) {
Open commit View diff
4297 while ($row = array_shift($rows)) {
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
4298
            if (!empty($row['alias_domain_alias'])) {
Open commit View diff
4298 if (!empty($row['alias_domain_alias'])) {
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
4299
              $data['fixed_sender_aliases'][] = $row['alias_domain_alias'];
Open commit View diff
4299 $data['fixed_sender_aliases'][] = $row['alias_domain_alias'];
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
4300
            }
Open commit View diff
4300 }
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
4301
          }
Open commit View diff
4301 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4302
          // External addresses
Open commit View diff
4302 // External addresses
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4303
          $stmt = $pdo->prepare("SELECT `send_as` as `send_as_external` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '1'");
Open commit View diff
4303 $stmt = $pdo->prepare("SELECT `send_as` as `send_as_external` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '1'");
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4304
          $stmt->execute(array(':logged_in_as' => $_data));
Open commit View diff
4304 $stmt->execute(array(':logged_in_as' => $_data));
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4305
          $exernal_rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4305 $exernal_rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4306
          while ($row = array_shift($exernal_rows)) {
Open commit View diff
4306 while ($row = array_shift($exernal_rows)) {
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4307
            if (!empty($row['send_as_external'])) {
Open commit View diff
4307 if (!empty($row['send_as_external'])) {
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4308
              $data['external_sender_aliases'][] = $row['send_as_external'];
Open commit View diff
4308 $data['external_sender_aliases'][] = $row['send_as_external'];
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4309
            }
Open commit View diff
4309 }
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4310
          }
Open commit View diff
4310 }
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
4311
          // Return array $data['sender_acl_domains/addresses']['ro'] with read-only objects
Open commit View diff
4311 // Return array $data['sender_acl_domains/addresses']['ro'] with read-only objects
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
4312
          // Return array $data['sender_acl_domains/addresses']['rw'] with read-write objects (can be deleted)
Open commit View diff
4312 // Return array $data['sender_acl_domains/addresses']['rw'] with read-write objects (can be deleted)
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4313
          $stmt = $pdo->prepare("SELECT REPLACE(`send_as`, '@', '') AS `send_as` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '0' AND (`send_as` LIKE '@%' OR `send_as` = '*')");
Open commit View diff
4313 $stmt = $pdo->prepare("SELECT REPLACE(`send_as`, '@', '') AS `send_as` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '0' AND (`send_as` LIKE '@%' OR `send_as` = '*')");
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
4314
          $stmt->execute(array(':logged_in_as' => $_data));
Open commit View diff
4314 $stmt->execute(array(':logged_in_as' => $_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
4315
          $domain_rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4315 $domain_rows = $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
4316
          while ($domain_row = array_shift($domain_rows)) {
Open commit View diff
4316 while ($domain_row = array_shift($domain_rows)) {
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
4317
            if (is_valid_domain_name($domain_row['send_as']) && !hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain_row['send_as'])) {
Open commit View diff
4317 if (is_valid_domain_name($domain_row['send_as']) && !hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain_row['send_as'])) {
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
4318
              $data['sender_acl_domains']['ro'][] = $domain_row['send_as'];
Open commit View diff
4318 $data['sender_acl_domains']['ro'][] = $domain_row['send_as'];
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
4319
              continue;
Open commit View diff
4319 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
4320
            }
Open commit View diff
4320 }
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
4321
            if (is_valid_domain_name($domain_row['send_as']) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain_row['send_as'])) {
Open commit View diff
4321 if (is_valid_domain_name($domain_row['send_as']) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain_row['send_as'])) {
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
4322
              $data['sender_acl_domains']['rw'][] = $domain_row['send_as'];
Open commit View diff
4322 $data['sender_acl_domains']['rw'][] = $domain_row['send_as'];
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
4323
              continue;
Open commit View diff
4323 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
4324
            }
Open commit View diff
4324 }
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
4325
            if ($domain_row['send_as'] == '*' && $_SESSION['mailcow_cc_role'] != 'admin') {
Open commit View diff
4325 if ($domain_row['send_as'] == '*' && $_SESSION['mailcow_cc_role'] != 'admin') {
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
4326
              $data['sender_acl_domains']['ro'][] = $domain_row['send_as'];
Open commit View diff
4326 $data['sender_acl_domains']['ro'][] = $domain_row['send_as'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4327
            }
Open commit View diff
4327 }
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
4328
            if ($domain_row['send_as'] == '*' && $_SESSION['mailcow_cc_role'] == 'admin') {
Open commit View diff
4328 if ($domain_row['send_as'] == '*' && $_SESSION['mailcow_cc_role'] == 'admin') {
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
4329
              $data['sender_acl_domains']['rw'][] = $domain_row['send_as'];
Open commit View diff
4329 $data['sender_acl_domains']['rw'][] = $domain_row['send_as'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4330
            }
Open commit View diff
4330 }
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
4331
          }
Open commit View diff
4331 }
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4332
          $stmt = $pdo->prepare("SELECT `send_as` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '0' AND (`send_as` NOT LIKE '@%' AND `send_as` != '*')");
Open commit View diff
4332 $stmt = $pdo->prepare("SELECT `send_as` FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as AND `external` = '0' AND (`send_as` NOT LIKE '@%' AND `send_as` != '*')");
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
4333
          $stmt->execute(array(':logged_in_as' => $_data));
Open commit View diff
4333 $stmt->execute(array(':logged_in_as' => $_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
4334
          $address_rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4334 $address_rows = $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
4335
          while ($address_row = array_shift($address_rows)) {
Open commit View diff
4335 while ($address_row = array_shift($address_rows)) {
andryyy about 7 years ago 5087d5c

[Web] Allow aliases as send-as

Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4336
            if (filter_var($address_row['send_as'], FILTER_VALIDATE_EMAIL) && !hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $address_row['send_as'])) {
Open commit View diff
4336 if (filter_var($address_row['send_as'], FILTER_VALIDATE_EMAIL) && !hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $address_row['send_as'])) {
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
4337
              $data['sender_acl_addresses']['ro'][] = $address_row['send_as'];
Open commit View diff
4337 $data['sender_acl_addresses']['ro'][] = $address_row['send_as'];
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
4338
              continue;
Open commit View diff
4338 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
4339
            }
Open commit View diff
4339 }
andryyy about 7 years ago 5087d5c

[Web] Allow aliases as send-as

Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4340
            if (filter_var($address_row['send_as'], FILTER_VALIDATE_EMAIL) && hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $address_row['send_as'])) {
Open commit View diff
4340 if (filter_var($address_row['send_as'], FILTER_VALIDATE_EMAIL) && hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $address_row['send_as'])) {
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
4341
              $data['sender_acl_addresses']['rw'][] = $address_row['send_as'];
Open commit View diff
4341 $data['sender_acl_addresses']['rw'][] = $address_row['send_as'];
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
4342
              continue;
Open commit View diff
4342 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
4343
            }
Open commit View diff
4343 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4344
          }
Open commit View diff
4344 }
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
4345
          $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
4345 $stmt = $pdo->prepare("SELECT `domain` FROM `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
4346
            WHERE `domain` NOT IN (
Open commit View diff
4346 WHERE `domain` NOT IN (
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
4347
              SELECT REPLACE(`send_as`, '@', '') FROM `sender_acl`
Open commit View diff
4347 SELECT REPLACE(`send_as`, '@', '') FROM `sender_acl`
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
4348
                WHERE `logged_in_as` = :logged_in_as1
Open commit View diff
4348 WHERE `logged_in_as` = :logged_in_as1
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4349
                  AND `external` = '0'
Open commit View diff
4349 AND `external` = '0'
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4350
                  AND `send_as` LIKE '@%')
Open commit View diff
4350 AND `send_as` LIKE '@%')
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
4351
            UNION
Open commit View diff
4351 UNION
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
4352
            SELECT '*' FROM `domain`
Open commit View diff
4352 SELECT '*' FROM `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
4353
              WHERE '*' NOT IN (
Open commit View diff
4353 WHERE '*' NOT IN (
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
4354
                SELECT `send_as` FROM `sender_acl`
Open commit View diff
4354 SELECT `send_as` FROM `sender_acl`
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
4355
                  WHERE `logged_in_as` = :logged_in_as2
Open commit View diff
4355 WHERE `logged_in_as` = :logged_in_as2
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4356
                    AND `external` = '0'
Open commit View diff
4356 AND `external` = '0'
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4357
              )");
Open commit View diff
4357 )");
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
4358
          $stmt->execute(array(
Open commit View diff
4358 $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
4359
            ':logged_in_as1' => $_data,
Open commit View diff
4359 ':logged_in_as1' => $_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
4360
            ':logged_in_as2' => $_data
Open commit View diff
4360 ':logged_in_as2' => $_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
4361
          ));
Open commit View diff
4361 ));
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
4362
          $rows_domain = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4362 $rows_domain = $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
4363
          while ($row_domain = array_shift($rows_domain)) {
Open commit View diff
4363 while ($row_domain = array_shift($rows_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
4364
            if (is_valid_domain_name($row_domain['domain']) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row_domain['domain'])) {
Open commit View diff
4364 if (is_valid_domain_name($row_domain['domain']) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row_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
4365
              $data['sender_acl_domains']['selectable'][] = $row_domain['domain'];
Open commit View diff
4365 $data['sender_acl_domains']['selectable'][] = $row_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
4366
              continue;
Open commit View diff
4366 continue;
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
4367
            }
Open commit View diff
4367 }
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
4368
            if ($row_domain['domain'] == '*' && $_SESSION['mailcow_cc_role'] == 'admin') {
Open commit View diff
4368 if ($row_domain['domain'] == '*' && $_SESSION['mailcow_cc_role'] == 'admin') {
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
4369
              $data['sender_acl_domains']['selectable'][] = $row_domain['domain'];
Open commit View diff
4369 $data['sender_acl_domains']['selectable'][] = $row_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
4370
              continue;
Open commit View diff
4370 continue;
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
4371
            }
Open commit View diff
4371 }
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
4372
          }
Open commit View diff
4372 }
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
4373
          $stmt = $pdo->prepare("SELECT `address` FROM `alias`
Open commit View diff
4373 $stmt = $pdo->prepare("SELECT `address` FROM `alias`
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
4374
            WHERE `goto` != :goto
Open commit View diff
4374 WHERE `goto` != :goto
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
4375
              AND `address` NOT IN (
Open commit View diff
4375 AND `address` NOT IN (
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
4376
                SELECT `send_as` FROM `sender_acl`
Open commit View diff
4376 SELECT `send_as` FROM `sender_acl`
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
4377
                  WHERE `logged_in_as` = :logged_in_as
Open commit View diff
4377 WHERE `logged_in_as` = :logged_in_as
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4378
                    AND `external` = '0'
Open commit View diff
4378 AND `external` = '0'
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4379
                    AND `send_as` NOT LIKE '@%')");
Open commit View diff
4379 AND `send_as` NOT LIKE '@%')");
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
4380
          $stmt->execute(array(
Open commit View diff
4380 $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
4381
            ':logged_in_as' => $_data,
Open commit View diff
4381 ':logged_in_as' => $_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
4382
            ':goto' => $_data
Open commit View diff
4382 ':goto' => $_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
4383
          ));
Open commit View diff
4383 ));
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
4384
          $rows_mbox = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4384 $rows_mbox = $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
4385
          while ($row = array_shift($rows_mbox)) {
Open commit View diff
4385 while ($row = array_shift($rows_mbox)) {
andryyy about 7 years ago d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4386
            // Aliases are not selectable
Open commit View diff
4386 // Aliases are not selectable
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4387
            if (in_array($row['address'], $data['fixed_sender_aliases'])) {
Open commit View diff
4387 if (in_array($row['address'], $data['fixed_sender_aliases'])) {
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4388
              continue;
Open commit View diff
4388 continue;
same change d5612cf

[Web] More fixes for alias as sender_acl

Full commit hash
d5612cf60f0288049161618211e054abed8533e9
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4389
            }
Open commit View diff
4389 }
andryyy about 7 years ago 5087d5c

[Web] Allow aliases as send-as

Full commit hash
5087d5ce96a7403792ab4f1bf669522bc04e2240
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
4390
            if (filter_var($row['address'], FILTER_VALIDATE_EMAIL) && hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row['address'])) {
Open commit View diff
4390 if (filter_var($row['address'], FILTER_VALIDATE_EMAIL) && hasAliasObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row['address'])) {
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
4391
              $data['sender_acl_addresses']['selectable'][] = $row['address'];
Open commit View diff
4391 $data['sender_acl_addresses']['selectable'][] = $row['address'];
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
4392
            }
Open commit View diff
4392 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4397
          $mailboxes = array();
Open commit View diff
4397 $mailboxes = array();
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4398
          if (isset($_extra) && is_array($_extra) && isset($_data)) {
Open commit View diff
4398 if (isset($_extra) && is_array($_extra) && isset($_data)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4399
            // get by domain and tags
Open commit View diff
4399 // get by domain and tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4400
            $tags = is_array($_extra) ? $_extra : array();
Open commit View diff
4400 $tags = is_array($_extra) ? $_extra : array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4401
Open commit View diff
4401
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4402
            $sql = "";
Open commit View diff
4402 $sql = "";
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4403
            foreach ($tags as $key => $tag) {
Open commit View diff
4403 foreach ($tags as $key => $tag) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4404
              $sql = $sql."SELECT DISTINCT `username` FROM `tags_mailbox` WHERE `username` LIKE ? AND `tag_name` LIKE ?"; // distinct, avoid duplicates
Open commit View diff
4404 $sql = $sql."SELECT DISTINCT `username` FROM `tags_mailbox` WHERE `username` LIKE ? AND `tag_name` LIKE ?"; // distinct, avoid duplicates
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4405
              if ($key === array_key_last($tags)) break;
Open commit View diff
4405 if ($key === array_key_last($tags)) break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4406
              $sql = $sql.' UNION DISTINCT '; // combine querys with union - distinct, avoid duplicates
Open commit View diff
4406 $sql = $sql.' UNION DISTINCT '; // combine querys with union - distinct, avoid duplicates
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4407
            }
Open commit View diff
4407 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4408
Open commit View diff
4408
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4409
            // prepend domain to array
Open commit View diff
4409 // prepend domain to array
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4410
            $params = array();
Open commit View diff
4410 $params = array();
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
4411
            foreach ($tags as $key => $val){
Open commit View diff
4411 foreach ($tags as $key => $val){
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4412
              array_push($params, '%'.$_data.'%');
Open commit View diff
4412 array_push($params, '%'.$_data.'%');
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4413
              array_push($params, '%'.$val.'%');
Open commit View diff
4413 array_push($params, '%'.$val.'%');
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4414
            }
Open commit View diff
4414 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4415
            $stmt = $pdo->prepare($sql);
Open commit View diff
4415 $stmt = $pdo->prepare($sql);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4416
            $stmt->execute($params);
Open commit View diff
4416 $stmt->execute($params);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4417
Open commit View diff
4417
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4418
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4418 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4419
            while($row = array_shift($rows)) {
Open commit View diff
4419 while($row = array_shift($rows)) {
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
4420
              if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], explode('@', $row['username'])[1]))
Open commit View diff
4420 if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], explode('@', $row['username'])[1]))
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4421
                $mailboxes[] = $row['username'];
Open commit View diff
4421 $mailboxes[] = $row['username'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4422
            }
Open commit View diff
4422 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4424
          elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4424 elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4425
            // get by domain
Open commit View diff
4425 // get by domain
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4426
            $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND `domain` = :domain");
Open commit View diff
4426 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND `domain` = :domain");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4427
            $stmt->execute(array(
Open commit View diff
4427 $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
4428
              ':domain' => $_data,
Open commit View diff
4428 ':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
4429
            ));
Open commit View diff
4429 ));
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
4430
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4430 $rows = $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
4431
            while($row = array_shift($rows)) {
Open commit View diff
4431 while($row = array_shift($rows)) {
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
4432
              $mailboxes[] = $row['username'];
Open commit View diff
4432 $mailboxes[] = $row['username'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4435
          else {
Open commit View diff
4435 else {
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4436
            $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND (`domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role)");
Open commit View diff
4436 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND (`domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role)");
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
4437
            $stmt->execute(array(
Open commit View diff
4437 $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
4438
              ':username' => $_SESSION['mailcow_cc_username'],
Open commit View diff
4438 ':username' => $_SESSION['mailcow_cc_username'],
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
4439
              ':role' => $_SESSION['mailcow_cc_role'],
Open commit View diff
4439 ':role' => $_SESSION['mailcow_cc_role'],
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
4440
            ));
Open commit View diff
4440 ));
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
4441
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4441 $rows = $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
4442
            while($row = array_shift($rows)) {
Open commit View diff
4442 while($row = array_shift($rows)) {
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
4443
              $mailboxes[] = $row['username'];
Open commit View diff
4443 $mailboxes[] = $row['username'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4448
        case 'tls_policy':
Open commit View diff
4448 case 'tls_policy':
André Peters over 8 years ago ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4449
          $attrs = array();
Open commit View diff
4449 $attrs = 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
4450
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4450 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
4451
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4451 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_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
4452
              return false;
Open commit View diff
4452 return false;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4456
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4456 $_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
4457
          }
Open commit View diff
4457 }
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
4458
          $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
Open commit View diff
4458 $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
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
4459
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4459 $stmt->execute(array(':username' => $_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
4460
          $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4460 $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
André Peters over 8 years ago ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4461
          $attrs = json_decode($attrs['attributes'], true);
Open commit View diff
4461 $attrs = json_decode($attrs['attributes'], true);
same change ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4462
          return array(
Open commit View diff
4462 return array(
same change ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4463
            'tls_enforce_in' => $attrs['tls_enforce_in'],
Open commit View diff
4463 'tls_enforce_in' => $attrs['tls_enforce_in'],
same change ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4464
            'tls_enforce_out' => $attrs['tls_enforce_out']
Open commit View diff
4464 'tls_enforce_out' => $attrs['tls_enforce_out']
same change ab720bf

[Web, Postfix] Move TLS policy to mailbox attributes

Full commit hash
ab720bf164c8b3f4dc536699b68314263f1334f6
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
4465
          );
Open commit View diff
4465 );
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4466
        break;
Open commit View diff
4466 break;
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4467
        case 'quarantine_notification':
Open commit View diff
4467 case 'quarantine_notification':
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4468
          $attrs = array();
Open commit View diff
4468 $attrs = array();
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4469
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4469 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
4470
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4470 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4471
              return false;
Open commit View diff
4471 return false;
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4472
            }
Open commit View diff
4472 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4473
          }
Open commit View diff
4473 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4474
          else {
Open commit View diff
4474 else {
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4475
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4475 $_data = $_SESSION['mailcow_cc_username'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4476
          }
Open commit View diff
4476 }
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4477
          $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
Open commit View diff
4477 $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4478
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4478 $stmt->execute(array(':username' => $_data));
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4479
          $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4479 $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4480
          $attrs = json_decode($attrs['attributes'], true);
Open commit View diff
4480 $attrs = json_decode($attrs['attributes'], true);
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4481
          return $attrs['quarantine_notification'];
Open commit View diff
4481 return $attrs['quarantine_notification'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4482
        break;
Open commit View diff
4482 break;
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4483
        case 'quarantine_category':
Open commit View diff
4483 case 'quarantine_category':
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4484
          $attrs = array();
Open commit View diff
4484 $attrs = array();
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4485
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4485 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
4486
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4486 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
andryyy over 5 years ago ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4487
              return false;
Open commit View diff
4487 return false;
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4488
            }
Open commit View diff
4488 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4489
          }
Open commit View diff
4489 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4490
          else {
Open commit View diff
4490 else {
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4491
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4491 $_data = $_SESSION['mailcow_cc_username'];
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4492
          }
Open commit View diff
4492 }
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4493
          $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
Open commit View diff
4493 $stmt = $pdo->prepare("SELECT `attributes` FROM `mailbox` WHERE `username` = :username");
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4494
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4494 $stmt->execute(array(':username' => $_data));
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4495
          $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4495 $attrs = $stmt->fetch(PDO::FETCH_ASSOC);
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4496
          $attrs = json_decode($attrs['attributes'], true);
Open commit View diff
4496 $attrs = json_decode($attrs['attributes'], true);
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4497
          return $attrs['quarantine_category'];
Open commit View diff
4497 return $attrs['quarantine_category'];
same change ba20db2

[Web] Allow a user to choose notification categories (junk folder, rejected mail, both/all) + user ACL

Full commit hash
ba20db2e086aeaaffbd101f37c056b25dfb3d2d4
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4498
        break;
Open commit View diff
4498 break;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4499
        case 'filters':
Open commit View diff
4499 case 'filters':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4500
          $filters = array();
Open commit View diff
4500 $filters = array();
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4501
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4501 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4502
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4502 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4503
              return false;
Open commit View diff
4503 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4504
            }
Open commit View diff
4504 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4505
          }
Open commit View diff
4505 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4506
          else {
Open commit View diff
4506 else {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4507
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4507 $_data = $_SESSION['mailcow_cc_username'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4508
          }
Open commit View diff
4508 }
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
4509
          $stmt = $pdo->prepare("SELECT `id` FROM `sieve_filters` WHERE `username` = :username");
Open commit View diff
4509 $stmt = $pdo->prepare("SELECT `id` FROM `sieve_filters` WHERE `username` = :username");
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
4510
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4510 $stmt->execute(array(':username' => $_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
4511
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4511 $rows = $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
4512
          while($row = array_shift($rows)) {
Open commit View diff
4512 while($row = array_shift($rows)) {
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
4513
            $filters[] = $row['id'];
Open commit View diff
4513 $filters[] = $row['id'];
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4514
          }
Open commit View diff
4514 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4515
          return $filters;
Open commit View diff
4515 return $filters;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4516
        break;
Open commit View diff
4516 break;
andryyy over 6 years ago e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4517
        case 'global_filter_details':
Open commit View diff
4517 case 'global_filter_details':
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4518
          $global_filters = array();
Open commit View diff
4518 $global_filters = array();
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4519
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
4519 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4520
            return false;
Open commit View diff
4520 return false;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4521
          }
Open commit View diff
4521 }
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4522
          $global_filters['prefilter'] = file_get_contents('/global_sieve/before');
Open commit View diff
4522 $global_filters['prefilter'] = file_get_contents('/global_sieve/before');
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4523
          $global_filters['postfilter'] = file_get_contents('/global_sieve/after');
Open commit View diff
4523 $global_filters['postfilter'] = file_get_contents('/global_sieve/after');
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4524
          return $global_filters;
Open commit View diff
4524 return $global_filters;
same change e1897b0

[Web] Allow to set global sieve filters

Full commit hash
e1897b0631db96a9d05604f2eb38132122edb099
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4525
        break;
Open commit View diff
4525 break;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4526
        case 'filter_details':
Open commit View diff
4526 case 'filter_details':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4527
          $filter_details = array();
Open commit View diff
4527 $filter_details = array();
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4528
          if (!is_numeric($_data)) {
Open commit View diff
4528 if (!is_numeric($_data)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4529
            return false;
Open commit View diff
4529 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4530
          }
Open commit View diff
4530 }
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4531
          $stmt = $pdo->prepare("SELECT CASE `script_name` WHEN 'active' THEN 1 ELSE 0 END AS `active`,
Open commit View diff
4531 $stmt = $pdo->prepare("SELECT CASE `script_name` WHEN 'active' THEN 1 ELSE 0 END AS `active`,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4532
            id,
Open commit View diff
4532 id,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4533
            username,
Open commit View diff
4533 username,
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
4534
            filter_type,
Open commit View diff
4534 filter_type,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4535
            script_data,
Open commit View diff
4535 script_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
4536
            script_desc
Open commit View diff
4536 script_desc
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
4537
            FROM `sieve_filters`
Open commit View diff
4537 FROM `sieve_filters`
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
4538
              WHERE `id` = :id");
Open commit View diff
4538 WHERE `id` = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4539
          $stmt->execute(array(':id' => $_data));
Open commit View diff
4539 $stmt->execute(array(':id' => $_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
4540
          $filter_details = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4540 $filter_details = $stmt->fetch(PDO::FETCH_ASSOC);
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4541
          if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $filter_details['username'])) {
Open commit View diff
4541 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $filter_details['username'])) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4542
            return false;
Open commit View diff
4542 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4543
          }
Open commit View diff
4543 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4544
          return $filter_details;
Open commit View diff
4544 return $filter_details;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4545
        break;
Open commit View diff
4545 break;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4546
        case 'active_user_sieve':
Open commit View diff
4546 case 'active_user_sieve':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4547
          $filter_details = array();
Open commit View diff
4547 $filter_details = array();
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4548
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4548 if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4549
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4549 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4550
              return false;
Open commit View diff
4550 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4551
            }
Open commit View diff
4551 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4552
          }
Open commit View diff
4552 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4553
          else {
Open commit View diff
4553 else {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4554
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4554 $_data = $_SESSION['mailcow_cc_username'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4555
          }
Open commit View diff
4555 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4556
          $exec_fields = array(
Open commit View diff
4556 $exec_fields = array(
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4557
            'cmd' => 'sieve',
Open commit View diff
4557 'cmd' => 'sieve',
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4558
            'task' => 'list',
Open commit View diff
4558 'task' => 'list',
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4559
            'username' => $_data
Open commit View diff
4559 'username' => $_data
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4560
          );
Open commit View diff
4560 );
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4561
          $filters = docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
4561 $filters = docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4562
          $filters = array_filter(preg_split("/(\r\n|\n|\r)/",$filters));
Open commit View diff
4562 $filters = array_filter(preg_split("/(\r\n|\n|\r)/",$filters));
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4563
          foreach ($filters as $filter) {
Open commit View diff
4563 foreach ($filters as $filter) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4564
            if (preg_match('/.+ ACTIVE/i', $filter)) {
Open commit View diff
4564 if (preg_match('/.+ ACTIVE/i', $filter)) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4565
              $exec_fields = array(
Open commit View diff
4565 $exec_fields = array(
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4566
                'cmd' => 'sieve',
Open commit View diff
4566 'cmd' => 'sieve',
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4567
                'task' => 'print',
Open commit View diff
4567 'task' => 'print',
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4568
                'script_name' => substr($filter, 0, -7),
Open commit View diff
4568 'script_name' => substr($filter, 0, -7),
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4569
                'username' => $_data
Open commit View diff
4569 'username' => $_data
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4570
              );
Open commit View diff
4570 );
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4571
              $script = docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
4571 $script = docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4572
              // Remove first line
Open commit View diff
4572 // Remove first line
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
4573
              return preg_replace('/^.+\n/', '', $script);
Open commit View diff
4573 return preg_replace('/^.+\n/', '', $script);
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4574
            }
Open commit View diff
4574 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4575
          }
Open commit View diff
4575 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4576
          return false;
Open commit View diff
4576 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4577
        break;
Open commit View diff
4577 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4582
          }
Open commit View diff
4582 }
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
4583
          if (isset($_extra) && in_array('no_log', $_extra)) {
Open commit View diff
4583 if (isset($_extra) && in_array('no_log', $_extra)) {
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
4584
            $field_query = $pdo->query('SHOW FIELDS FROM `imapsync` WHERE FIELD NOT IN ("returned_text", "password1")');
Open commit View diff
4584 $field_query = $pdo->query('SHOW FIELDS FROM `imapsync` WHERE FIELD NOT IN ("returned_text", "password1")');
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
4585
            $fields = $field_query->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4585 $fields = $field_query->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
4586
            while($field = array_shift($fields)) {
Open commit View diff
4586 while($field = array_shift($fields)) {
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
4587
              $shown_fields[] = $field['Field'];
Open commit View diff
4587 $shown_fields[] = $field['Field'];
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4588
            }
Open commit View diff
4588 }
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
4589
            $stmt = $pdo->prepare("SELECT " . implode(',', (array)$shown_fields) . ",
Open commit View diff
4589 $stmt = $pdo->prepare("SELECT " . implode(',', (array)$shown_fields) . ",
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4590
              `active`
Open commit View diff
4590 `active`
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4591
                FROM `imapsync` WHERE id = :id");
Open commit View diff
4591 FROM `imapsync` WHERE id = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4592
          }
Open commit View diff
4592 }
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
4593
          elseif (isset($_extra) && in_array('with_password', $_extra)) {
Open commit View diff
4593 elseif (isset($_extra) && in_array('with_password', $_extra)) {
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
4594
            $stmt = $pdo->prepare("SELECT *,
Open commit View diff
4594 $stmt = $pdo->prepare("SELECT *,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4595
              `active`
Open commit View diff
4595 `active`
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4596
                FROM `imapsync` WHERE id = :id");
Open commit View diff
4596 FROM `imapsync` WHERE id = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4597
          }
Open commit View diff
4597 }
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
4598
          else {
Open commit View diff
4598 else {
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
4599
            $field_query = $pdo->query('SHOW FIELDS FROM `imapsync` WHERE FIELD NOT IN ("password1")');
Open commit View diff
4599 $field_query = $pdo->query('SHOW FIELDS FROM `imapsync` WHERE FIELD NOT IN ("password1")');
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
4600
            $fields = $field_query->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4600 $fields = $field_query->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
4601
            while($field = array_shift($fields)) {
Open commit View diff
4601 while($field = array_shift($fields)) {
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
4602
              $shown_fields[] = $field['Field'];
Open commit View diff
4602 $shown_fields[] = $field['Field'];
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
4603
            }
Open commit View diff
4603 }
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
4604
            $stmt = $pdo->prepare("SELECT " . implode(',', (array)$shown_fields) . ",
Open commit View diff
4604 $stmt = $pdo->prepare("SELECT " . implode(',', (array)$shown_fields) . ",
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4605
              `active`
Open commit View diff
4605 `active`
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4606
                FROM `imapsync` WHERE id = :id");
Open commit View diff
4606 FROM `imapsync` WHERE id = :id");
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4607
          }
Open commit View diff
4607 }
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
4608
          $stmt->execute(array(':id' => $_data));
Open commit View diff
4608 $stmt->execute(array(':id' => $_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
4609
          $syncjobdetails = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4609 $syncjobdetails = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4610
          if (!empty($syncjobdetails['returned_text'])) {
Open commit View diff
4610 if (!empty($syncjobdetails['returned_text'])) {
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
4611
            $syncjobdetails['log'] = $syncjobdetails['returned_text'];
Open commit View diff
4611 $syncjobdetails['log'] = $syncjobdetails['returned_text'];
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
4612
          }
Open commit View diff
4612 }
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
4613
          else {
Open commit View diff
4613 else {
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
4614
            $syncjobdetails['log'] = '';
Open commit View diff
4614 $syncjobdetails['log'] = '';
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4615
          }
Open commit View diff
4615 }
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
4616
          unset($syncjobdetails['returned_text']);
Open commit View diff
4616 unset($syncjobdetails['returned_text']);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4624
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4624 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
4625
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4625 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
4626
              return false;
Open commit View diff
4626 return false;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4630
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4630 $_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
4631
          }
Open commit View diff
4631 }
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
4632
          $stmt = $pdo->prepare("SELECT `id` FROM `imapsync` WHERE `user2` = :username");
Open commit View diff
4632 $stmt = $pdo->prepare("SELECT `id` FROM `imapsync` WHERE `user2` = :username");
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
4633
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4633 $stmt->execute(array(':username' => $_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
4634
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4634 $rows = $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
4635
          while($row = array_shift($rows)) {
Open commit View diff
4635 while($row = array_shift($rows)) {
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
4636
            $syncjobdata[] = $row['id'];
Open commit View diff
4636 $syncjobdata[] = $row['id'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4640
        case 'spam_score':
Open commit View diff
4640 case 'spam_score':
André almost 8 years ago 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4641
          $curl = curl_init();
Open commit View diff
4641 $curl = curl_init();
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4642
          curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
Open commit View diff
4642 curl_setopt($curl, CURLOPT_UNIX_SOCKET_PATH, '/var/lib/rspamd/rspamd.sock');
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4643
          curl_setopt($curl, CURLOPT_URL,"http://rspamd/actions");
Open commit View diff
4643 curl_setopt($curl, CURLOPT_URL,"http://rspamd/actions");
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4644
          curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
Open commit View diff
4644 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4645
          $default_actions = curl_exec($curl);
Open commit View diff
4645 $default_actions = curl_exec($curl);
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4646
          if (!curl_errno($curl)) {
Open commit View diff
4646 if (!curl_errno($curl)) {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4647
            $data_array = json_decode($default_actions, true);
Open commit View diff
4647 $data_array = json_decode($default_actions, true);
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4648
            curl_close($curl);
Open commit View diff
4648 curl_close($curl);
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4649
            foreach ($data_array as $data) {
Open commit View diff
4649 foreach ($data_array as $data) {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4650
              if ($data['action'] == 'reject') {
Open commit View diff
4650 if ($data['action'] == 'reject') {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4651
                $reject = $data['value'];
Open commit View diff
4651 $reject = $data['value'];
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4652
                continue;
Open commit View diff
4652 continue;
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4653
              }
Open commit View diff
4653 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4654
              elseif ($data['action'] == 'add header') {
Open commit View diff
4654 elseif ($data['action'] == 'add header') {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4655
                $add_header = $data['value'];
Open commit View diff
4655 $add_header = $data['value'];
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4656
                continue;
Open commit View diff
4656 continue;
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4657
              }
Open commit View diff
4657 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4658
            }
Open commit View diff
4658 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4659
            if (empty($add_header) || empty($reject)) {
Open commit View diff
4659 if (empty($add_header) || empty($reject)) {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4660
              // Assume default, set warning
Open commit View diff
4660 // Assume default, set warning
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4661
              $default = "5, 15";
Open commit View diff
4661 $default = "5, 15";
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4662
              $_SESSION['return'][] = array(
Open commit View diff
4662 $_SESSION['return'][] = array(
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4663
                'type' => 'warning',
Open commit View diff
4663 'type' => 'warning',
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4664
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4664 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4665
                'msg' => 'Could not determine servers default spam score, assuming default'
Open commit View diff
4665 'msg' => 'Could not determine servers default spam score, assuming default'
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4666
              );
Open commit View diff
4666 );
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4667
            }
Open commit View diff
4667 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4668
            else {
Open commit View diff
4668 else {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4669
              $default = $add_header . ', ' . $reject;
Open commit View diff
4669 $default = $add_header . ', ' . $reject;
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4670
            }
Open commit View diff
4670 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4671
          }
Open commit View diff
4671 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4672
          else {
Open commit View diff
4672 else {
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4673
            // Assume default, set warning
Open commit View diff
4673 // Assume default, set warning
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4674
            $default = "5, 15";
Open commit View diff
4674 $default = "5, 15";
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4675
            $_SESSION['return'][] = array(
Open commit View diff
4675 $_SESSION['return'][] = array(
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4676
              'type' => 'warning',
Open commit View diff
4676 'type' => 'warning',
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4677
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4677 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4678
              'msg' => 'Could not determine servers default spam score, assuming default'
Open commit View diff
4678 'msg' => 'Could not determine servers default spam score, assuming default'
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4679
            );
Open commit View diff
4679 );
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4680
          }
Open commit View diff
4680 }
same change 67658c1

[Web] Read default actions from Rspamd instead of using/printing "5,15"

Full commit hash
67658c1a078d64644d4076da0e42832216adc467
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4681
          curl_close($curl);
Open commit View diff
4681 curl_close($curl);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4683
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4683 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
4684
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4684 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
4685
              return false;
Open commit View diff
4685 return false;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4689
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4689 $_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
4690
          }
Open commit View diff
4690 }
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
4691
          $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `object` = :username AND
Open commit View diff
4691 $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `object` = :username AND
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
4692
            (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
Open commit View diff
4692 (`option` = 'lowspamlevel' OR `option` = 'highspamlevel')");
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
4693
          $stmt->execute(array(':username' => $_data));
Open commit View diff
4693 $stmt->execute(array(':username' => $_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
4694
          $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
4694 $num_results = count($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
4695
          if (empty($num_results)) {
Open commit View diff
4695 if (empty($num_results)) {
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4698
          else {
Open commit View diff
4698 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
4699
            $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `option` = 'highspamlevel' AND `object` = :username");
Open commit View diff
4699 $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `option` = 'highspamlevel' AND `object` = :username");
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
4700
            $stmt->execute(array(':username' => $_data));
Open commit View diff
4700 $stmt->execute(array(':username' => $_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
4701
            $highspamlevel = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4701 $highspamlevel = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4702
            $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `option` = 'lowspamlevel' AND `object` = :username");
Open commit View diff
4702 $stmt = $pdo->prepare("SELECT `value` FROM `filterconf` WHERE `option` = 'lowspamlevel' AND `object` = :username");
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
4703
            $stmt->execute(array(':username' => $_data));
Open commit View diff
4703 $stmt->execute(array(':username' => $_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
4704
            $lowspamlevel = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4704 $lowspamlevel = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4705
            return $lowspamlevel['value'].', '.$highspamlevel['value'];
Open commit View diff
4705 return $lowspamlevel['value'].', '.$highspamlevel['value'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4710
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4710 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
4711
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4711 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
4712
              return false;
Open commit View diff
4712 return false;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4716
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4716 $_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
4717
          }
Open commit View diff
4717 }
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
4718
          $stmt = $pdo->prepare("SELECT `address`,
Open commit View diff
4718 $stmt = $pdo->prepare("SELECT `address`,
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
4719
            `goto`,
Open commit View diff
4719 `goto`,
Filip Marek almost 2 years ago 60ca250

add temporary email description

Full commit hash
60ca25026dd194ae8f2681df761070fa9b1ce414
Author
Filip Marek <[email protected]>
Date
almost 2 years ago
Selected line
4720
            `description`,
Open commit View diff
4720 `description`,
andryyy about 5 years ago e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
4721
            `validity`,
Open commit View diff
4721 `validity`,
same change e21e0b9

[Web] Time limited aliases: show create date; create aliases with 1yr retention by default; create temp alias in alias domain; better random names; accept any validity time

Full commit hash
e21e0b9dbf70c49141b365bf68532a7cc3dd3964
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
4722
            `created`,
Open commit View diff
4722 `created`,
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
4723
            `modified`,
Open commit View diff
4723 `modified`,
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
4724
            `permanent`
Open commit View diff
4724 `permanent`
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
4725
              FROM `spamalias`
Open commit View diff
4725 FROM `spamalias`
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
4726
                WHERE `goto` = :username
Open commit View diff
4726 WHERE `goto` = :username
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
4727
                  AND (`validity` >= :unixnow
Open commit View diff
4727 AND (`validity` >= :unixnow
same change 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
4728
                    OR `permanent` != 0)");
Open commit View diff
4728 OR `permanent` != 0)");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4729
          $stmt->execute(array(':username' => $_data, ':unixnow' => time()));
Open commit View diff
4729 $stmt->execute(array(':username' => $_data, ':unixnow' => time()));
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
4730
          $tladata = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4730 $tladata = $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
4731
          return $tladata;
Open commit View diff
4731 return $tladata;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4735
          if (isset($_data) && filter_var($_data, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
4735 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
4736
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4736 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
4737
              return false;
Open commit View diff
4737 return false;
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4741
            $_data = $_SESSION['mailcow_cc_username'];
Open commit View diff
4741 $_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
4742
          }
Open commit View diff
4742 }
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4744
            if ($redis->hGet('RCPT_WANTS_SUBJECT_TAG', $_data)) {
Open commit View diff
4744 if ($redis->hGet('RCPT_WANTS_SUBJECT_TAG', $_data)) {
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4746
            }
Open commit View diff
4746 }
Tii over 8 years ago d58b895

rspamd multimap redis stuff doesn't work as expected...

Full commit hash
d58b89528f0cf57bf0b2fbfcac51b7d0e71bb17c
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
4747
            elseif ($redis->hGet('RCPT_WANTS_SUBFOLDER_TAG', $_data)) {
Open commit View diff
4747 elseif ($redis->hGet('RCPT_WANTS_SUBFOLDER_TAG', $_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
4748
              return "subfolder";
Open commit View diff
4748 return "subfolder";
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4749
            }
Open commit View diff
4749 }
Tii over 8 years ago cd2c242

Added 'do nothing' option as default for sub-addressing

Full commit hash
cd2c24254085160b34ee8391e3015ef072e50dd4
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
4750
            else {
Open commit View diff
4750 else {
same change cd2c242

Added 'do nothing' option as default for sub-addressing

Full commit hash
cd2c24254085160b34ee8391e3015ef072e50dd4
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
4751
              return "none";
Open commit View diff
4751 return "none";
same change cd2c242

Added 'do nothing' option as default for sub-addressing

Full commit hash
cd2c24254085160b34ee8391e3015ef072e50dd4
Author
Tii <[email protected]>
Date
over 8 years ago
Selected line
4752
            }
Open commit View diff
4752 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4754
          catch (RedisException $e) {
Open commit View diff
4754 catch (RedisException $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
4755
            $_SESSION['return'][] = array(
Open commit View diff
4755 $_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
4756
              'type' => 'danger',
Open commit View diff
4756 '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
4757
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
4757 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4758
              'msg' => array('redis_error', $e)
Open commit View diff
4758 'msg' => array('redis_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
4759
            );
Open commit View diff
4759 );
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4765
          if (isset($_data) && !hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4765 if (isset($_data) && !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
4766
            return false;
Open commit View diff
4766 return false;
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4768
          elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4768 elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4769
            $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `domain` = :domain");
Open commit View diff
4769 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `domain` = :domain");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4770
            $stmt->execute(array(
Open commit View diff
4770 $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
4771
              ':domain' => $_data,
Open commit View diff
4771 ':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
4772
            ));
Open commit View diff
4772 ));
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
4773
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4773 $rows = $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
4774
            while($row = array_shift($rows)) {
Open commit View diff
4774 while($row = array_shift($rows)) {
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
4775
              $resources[] = $row['username'];
Open commit View diff
4775 $resources[] = $row['username'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4778
          else {
Open commit View diff
4778 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
4779
            $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role");
Open commit View diff
4779 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role");
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
4780
            $stmt->execute(array(
Open commit View diff
4780 $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
4781
              ':username' => $_SESSION['mailcow_cc_username'],
Open commit View diff
4781 ':username' => $_SESSION['mailcow_cc_username'],
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
4782
              ':role' => $_SESSION['mailcow_cc_role'],
Open commit View diff
4782 ':role' => $_SESSION['mailcow_cc_role'],
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
4783
            ));
Open commit View diff
4783 ));
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
4784
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4784 $rows = $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
4785
            while($row = array_shift($rows)) {
Open commit View diff
4785 while($row = array_shift($rows)) {
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
4786
              $resources[] = $row['username'];
Open commit View diff
4786 $resources[] = $row['username'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4793
          if (isset($_data) && !hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4793 if (isset($_data) && !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
4794
            return false;
Open commit View diff
4794 return false;
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4796
          elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4796 elseif (isset($_data) && hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4797
            $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `target_domain` = :domain");
Open commit View diff
4797 $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `target_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
4798
            $stmt->execute(array(
Open commit View diff
4798 $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
4799
              ':domain' => $_data,
Open commit View diff
4799 ':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
4800
            ));
Open commit View diff
4800 ));
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
4801
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4801 $rows = $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
4802
            while($row = array_shift($rows)) {
Open commit View diff
4802 while($row = array_shift($rows)) {
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
4803
              $aliasdomains[] = $row['alias_domain'];
Open commit View diff
4803 $aliasdomains[] = $row['alias_domain'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4806
          else {
Open commit View diff
4806 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
4807
            $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `target_domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role");
Open commit View diff
4807 $stmt = $pdo->prepare("SELECT `alias_domain` FROM `alias_domain` WHERE `target_domain` IN (SELECT `domain` FROM `domain_admins` WHERE `active` = '1' AND `username` = :username) OR 'admin' = :role");
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
4808
            $stmt->execute(array(
Open commit View diff
4808 $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
4809
              ':username' => $_SESSION['mailcow_cc_username'],
Open commit View diff
4809 ':username' => $_SESSION['mailcow_cc_username'],
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
4810
              ':role' => $_SESSION['mailcow_cc_role'],
Open commit View diff
4810 ':role' => $_SESSION['mailcow_cc_role'],
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
4811
            ));
Open commit View diff
4811 ));
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
4812
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4812 $rows = $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
4813
            while($row = array_shift($rows)) {
Open commit View diff
4813 while($row = array_shift($rows)) {
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
4814
              $aliasdomains[] = $row['alias_domain'];
Open commit View diff
4814 $aliasdomains[] = $row['alias_domain'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4821
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
4821 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
4822
            return false;
Open commit View diff
4822 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4823
          }
Open commit View diff
4823 }
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4824
          $stmt = $pdo->prepare("SELECT `id`, `address` FROM `alias` WHERE `address` != `goto` AND `domain` = :domain");
Open commit View diff
4824 $stmt = $pdo->prepare("SELECT `id`, `address` FROM `alias` WHERE `address` != `goto` AND `domain` = :domain");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4825
          $stmt->execute(array(
Open commit View diff
4825 $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
4826
            ':domain' => $_data,
Open commit View diff
4826 ':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
4827
          ));
Open commit View diff
4827 ));
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
4828
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4828 $rows = $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
4829
          while($row = array_shift($rows)) {
Open commit View diff
4829 while($row = array_shift($rows)) {
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4830
            if ($_extra == "address"){
Open commit View diff
4830 if ($_extra == "address"){
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4831
              $aliases[] = $row['address'];
Open commit View diff
4831 $aliases[] = $row['address'];
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4832
            } else {
Open commit View diff
4832 } else {
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4833
              $aliases[] = $row['id'];
Open commit View diff
4833 $aliases[] = $row['id'];
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
4834
            }
Open commit View diff
4834 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4839
          $aliasdata = array();
Open commit View diff
4839 $aliasdata = array();
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
4840
          $stmt = $pdo->prepare("SELECT
Open commit View diff
4840 $stmt = $pdo->prepare("SELECT
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
4841
            `id`,
Open commit View diff
4841 `id`,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4842
            `domain`,
Open commit View diff
4842 `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
4843
            `goto`,
Open commit View diff
4843 `goto`,
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
4844
            `address`,
Open commit View diff
4844 `address`,
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4845
            `public_comment`,
Open commit View diff
4845 `public_comment`,
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4846
            `private_comment`,
Open commit View diff
4846 `private_comment`,
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
4847
            `internal`,
Open commit View diff
4847 `internal`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4848
            `active`,
Open commit View diff
4848 `active`,
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4849
            `sogo_visible`,
Open commit View diff
4849 `sogo_visible`,
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4850
            `sender_allowed`,
Open commit View diff
4850 `sender_allowed`,
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
4851
            `created`,
Open commit View diff
4851 `created`,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4852
            `modified`
Open commit View diff
4852 `modified`
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
4853
              FROM `alias`
Open commit View diff
4853 FROM `alias`
Programmierus about 6 years ago e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
4854
                  WHERE (`id` = :id OR `address` = :address) AND `address` != `goto`");
Open commit View diff
4854 WHERE (`id` = :id OR `address` = :address) AND `address` != `goto`");
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
4855
          $stmt->execute(array(
Open commit View diff
4855 $stmt->execute(array(
Programmierus about 6 years ago e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
4856
              ':id' => $_data,
Open commit View diff
4856 ':id' => $_data,
same change e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
4857
              ':address' => $_data,
Open commit View diff
4857 ':address' => $_data,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4858
          ));
Open commit View diff
4858 ));
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
4859
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4859 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4860
          $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` = :domain");
Open commit View diff
4860 $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_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
4861
          $stmt->execute(array(
Open commit View diff
4861 $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
4862
            ':domain' => $row['domain'],
Open commit View diff
4862 ':domain' => $row['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
4863
          ));
Open commit View diff
4863 ));
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
4864
          $row_alias_domain = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4864 $row_alias_domain = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4865
          if (isset($row_alias_domain['target_domain']) && !empty($row_alias_domain['target_domain'])) {
Open commit View diff
4865 if (isset($row_alias_domain['target_domain']) && !empty($row_alias_domain['target_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
4866
            $aliasdata['in_primary_domain'] = $row_alias_domain['target_domain'];
Open commit View diff
4866 $aliasdata['in_primary_domain'] = $row_alias_domain['target_domain'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4867
          }
Open commit View diff
4867 }
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
4868
          else {
Open commit View diff
4868 else {
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
4869
            $aliasdata['in_primary_domain'] = "";
Open commit View diff
4869 $aliasdata['in_primary_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
4870
          }
Open commit View diff
4870 }
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
4871
          $aliasdata['id'] = $row['id'];
Open commit View diff
4871 $aliasdata['id'] = $row['id'];
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4872
          $aliasdata['domain'] = $row['domain'];
Open commit View diff
4872 $aliasdata['domain'] = $row['domain'];
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4873
          $aliasdata['public_comment'] = $row['public_comment'];
Open commit View diff
4873 $aliasdata['public_comment'] = $row['public_comment'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4874
          $aliasdata['private_comment'] = $row['private_comment'];
Open commit View diff
4874 $aliasdata['private_comment'] = $row['private_comment'];
same change 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4875
          $aliasdata['domain'] = $row['domain'];
Open commit View diff
4875 $aliasdata['domain'] = $row['domain'];
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4876
          $aliasdata['goto'] = $row['goto'];
Open commit View diff
4876 $aliasdata['goto'] = $row['goto'];
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
4877
          $aliasdata['address'] = $row['address'];
Open commit View diff
4877 $aliasdata['address'] = $row['address'];
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
4878
          (!filter_var($aliasdata['address'], FILTER_VALIDATE_EMAIL)) ? $aliasdata['is_catch_all'] = 1 : $aliasdata['is_catch_all'] = 0;
Open commit View diff
4878 (!filter_var($aliasdata['address'], FILTER_VALIDATE_EMAIL)) ? $aliasdata['is_catch_all'] = 1 : $aliasdata['is_catch_all'] = 0;
FreddleSpl0it 11 months ago f67c053

[Rspamd][Web] Internal alias support

Full commit hash
f67c0530f56495d4b7a2c3b8816a8140c2f25586
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
4879
          $aliasdata['internal'] = $row['internal'];
Open commit View diff
4879 $aliasdata['internal'] = $row['internal'];
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
4880
          $aliasdata['active'] = $row['active'];
Open commit View diff
4880 $aliasdata['active'] = $row['active'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4881
          $aliasdata['active_int'] = $row['active'];
Open commit View diff
4881 $aliasdata['active_int'] = $row['active'];
andryyy almost 7 years ago c3be045

[Web] mailbox.php uses dropups

Full commit hash
c3be04560b9026770a27233a73b95c44b6920a15
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4882
          $aliasdata['sogo_visible'] = $row['sogo_visible'];
Open commit View diff
4882 $aliasdata['sogo_visible'] = $row['sogo_visible'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4883
          $aliasdata['sogo_visible_int'] = $row['sogo_visible'];
Open commit View diff
4883 $aliasdata['sogo_visible_int'] = $row['sogo_visible'];
FreddleSpl0it 6 months ago c06112b

[Postfix] Configurable send permissions for alias addresses

Full commit hash
c06112b26e6f41c7f9d5c2ea2549b266e66a44e3
Author
FreddleSpl0it <[email protected]>
Date
6 months ago
Selected line
4884
          $aliasdata['sender_allowed'] = $row['sender_allowed'];
Open commit View diff
4884 $aliasdata['sender_allowed'] = $row['sender_allowed'];
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
4885
          $aliasdata['created'] = $row['created'];
Open commit View diff
4885 $aliasdata['created'] = $row['created'];
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4886
          $aliasdata['modified'] = $row['modified'];
Open commit View diff
4886 $aliasdata['modified'] = $row['modified'];
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
4887
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $aliasdata['domain'])) {
Open commit View diff
4887 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $aliasdata['domain'])) {
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4893
          $aliasdomaindata = array();
Open commit View diff
4893 $aliasdomaindata = array();
André almost 8 years ago d64a894

[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)

Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4894
          $rl = ratelimit('get', 'domain', $_data);
Open commit View diff
4894 $rl = ratelimit('get', 'domain', $_data);
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4895
          $stmt = $pdo->prepare("SELECT
Open commit View diff
4895 $stmt = $pdo->prepare("SELECT
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
4896
            `alias_domain`,
Open commit View diff
4896 `alias_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
4897
            `target_domain`,
Open commit View diff
4897 `target_domain`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4898
            `active`,
Open commit View diff
4898 `active`,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4899
            `created`,
Open commit View diff
4899 `created`,
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4900
            `modified`
Open commit View diff
4900 `modified`
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
4901
              FROM `alias_domain`
Open commit View diff
4901 FROM `alias_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
4902
                  WHERE `alias_domain` = :aliasdomain");
Open commit View diff
4902 WHERE `alias_domain` = :aliasdomain");
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
4903
          $stmt->execute(array(
Open commit View diff
4903 $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
4904
            ':aliasdomain' => $_data,
Open commit View diff
4904 ':aliasdomain' => $_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
4905
          ));
Open commit View diff
4905 ));
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
4906
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4906 $row = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4907
          $stmt = $pdo->prepare("SELECT `backupmx` FROM `domain` WHERE `domain` = :target_domain");
Open commit View diff
4907 $stmt = $pdo->prepare("SELECT `backupmx` FROM `domain` WHERE `domain` = :target_domain");
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4908
          $stmt->execute(array(
Open commit View diff
4908 $stmt->execute(array(
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4909
            ':target_domain' => $row['target_domain']
Open commit View diff
4909 ':target_domain' => $row['target_domain']
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4910
          ));
Open commit View diff
4910 ));
same change 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4911
          $row_parent = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
4911 $row_parent = $stmt->fetch(PDO::FETCH_ASSOC);
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
4912
          $aliasdomaindata['alias_domain'] = $row['alias_domain'];
Open commit View diff
4912 $aliasdomaindata['alias_domain'] = $row['alias_domain'];
andryyy almost 7 years ago 893ce5a

[Web] Allow to add external sender addresses, can be disabled by domain admin ACL and is disabled by default

Full commit hash
893ce5a7895108a63d70bea324e64b330fc8f400
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4913
          $aliasdomaindata['parent_is_backupmx'] = $row_parent['backupmx'];
Open commit View diff
4913 $aliasdomaindata['parent_is_backupmx'] = $row_parent['backupmx'];
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
4914
          $aliasdomaindata['target_domain'] = $row['target_domain'];
Open commit View diff
4914 $aliasdomaindata['target_domain'] = $row['target_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
4915
          $aliasdomaindata['active'] = $row['active'];
Open commit View diff
4915 $aliasdomaindata['active'] = $row['active'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
4916
          $aliasdomaindata['active_int'] = $row['active'];
Open commit View diff
4916 $aliasdomaindata['active_int'] = $row['active'];
André almost 8 years ago d64a894

[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)

Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4917
          $aliasdomaindata['rl'] = $rl;
Open commit View diff
4917 $aliasdomaindata['rl'] = $rl;
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
4918
          $aliasdomaindata['created'] = $row['created'];
Open commit View diff
4918 $aliasdomaindata['created'] = $row['created'];
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
4919
          $aliasdomaindata['modified'] = $row['modified'];
Open commit View diff
4919 $aliasdomaindata['modified'] = $row['modified'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4924
        break;
Open commit View diff
4924 break;
FreddleSpl0it over 3 years ago 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4925
        case 'shared_aliases':
Open commit View diff
4925 case 'shared_aliases':
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4926
          $shared_aliases = array();
Open commit View diff
4926 $shared_aliases = array();
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4927
          $stmt = $pdo->query("SELECT `address` FROM `alias`
Open commit View diff
4927 $stmt = $pdo->query("SELECT `address` FROM `alias`
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4928
            WHERE `goto` REGEXP ','
Open commit View diff
4928 WHERE `goto` REGEXP ','
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4929
            AND `address` NOT LIKE '@%'
Open commit View diff
4929 AND `address` NOT LIKE '@%'
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4930
            AND `goto` != `address`");
Open commit View diff
4930 AND `goto` != `address`");
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4931
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4931 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4932
          while($row = array_shift($rows)) {
Open commit View diff
4932 while($row = array_shift($rows)) {
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4933
            $domain = explode("@", $row['address'])[1];
Open commit View diff
4933 $domain = explode("@", $row['address'])[1];
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4934
            if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
4934 if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4935
              $shared_aliases[] = $row['address'];
Open commit View diff
4935 $shared_aliases[] = $row['address'];
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4936
            }
Open commit View diff
4936 }
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4937
          }
Open commit View diff
4937 }
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4938
Open commit View diff
4938
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4939
          return $shared_aliases;
Open commit View diff
4939 return $shared_aliases;
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4940
        break;
Open commit View diff
4940 break;
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4941
        case 'direct_aliases':
Open commit View diff
4941 case 'direct_aliases':
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4942
          $direct_aliases = array();
Open commit View diff
4942 $direct_aliases = array();
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4943
          $stmt = $pdo->query("SELECT `address` FROM `alias`
Open commit View diff
4943 $stmt = $pdo->query("SELECT `address` FROM `alias`
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4944
            WHERE `goto` NOT LIKE '%,%'
Open commit View diff
4944 WHERE `goto` NOT LIKE '%,%'
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4945
            AND `address` NOT LIKE '@%'
Open commit View diff
4945 AND `address` NOT LIKE '@%'
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4946
            AND `goto` != `address`");
Open commit View diff
4946 AND `goto` != `address`");
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4947
          $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4947 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4948
Open commit View diff
4948
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4949
          while($row = array_shift($rows)) {
Open commit View diff
4949 while($row = array_shift($rows)) {
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4950
            $domain = explode("@", $row['address'])[1];
Open commit View diff
4950 $domain = explode("@", $row['address'])[1];
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4951
            if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
4951 if (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4952
              $direct_aliases[] = $row['address'];
Open commit View diff
4952 $direct_aliases[] = $row['address'];
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4953
            }
Open commit View diff
4953 }
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4954
          }
Open commit View diff
4954 }
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4955
Open commit View diff
4955
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4956
          return $direct_aliases;
Open commit View diff
4956 return $direct_aliases;
same change 6824a56

[Web] Fix BCC validation

Full commit hash
6824a5650f265d0e5b347064654ebe33b1895fa8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4957
        break;
Open commit View diff
4957 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4960
          if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
Open commit View diff
4960 if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4962
          }
Open commit View diff
4962 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4963
Open commit View diff
4963
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4964
          if (isset($_extra) && is_array($_extra)){
Open commit View diff
4964 if (isset($_extra) && is_array($_extra)){
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4965
            // get by tags
Open commit View diff
4965 // get by tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4966
            $tags = is_array($_extra) ? $_extra : array();
Open commit View diff
4966 $tags = is_array($_extra) ? $_extra : array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4967
            // add % as prefix and suffix to every element for relative searching
Open commit View diff
4967 // add % as prefix and suffix to every element for relative searching
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4968
            $tags = array_map(function($x){ return '%'.$x.'%'; }, $tags);
Open commit View diff
4968 $tags = array_map(function($x){ return '%'.$x.'%'; }, $tags);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4969
            $sql = "";
Open commit View diff
4969 $sql = "";
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4970
            foreach ($tags as $key => $tag) {
Open commit View diff
4970 foreach ($tags as $key => $tag) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4971
              $sql = $sql."SELECT DISTINCT `domain` FROM `tags_domain` WHERE `tag_name` LIKE ?"; // distinct, avoid duplicates
Open commit View diff
4971 $sql = $sql."SELECT DISTINCT `domain` FROM `tags_domain` WHERE `tag_name` LIKE ?"; // distinct, avoid duplicates
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4972
              if ($key === array_key_last($tags)) break;
Open commit View diff
4972 if ($key === array_key_last($tags)) break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4973
              $sql = $sql.' UNION DISTINCT '; // combine querys with union - distinct, avoid duplicates
Open commit View diff
4973 $sql = $sql.' UNION DISTINCT '; // combine querys with union - distinct, avoid duplicates
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4974
            }
Open commit View diff
4974 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4975
            $stmt = $pdo->prepare($sql);
Open commit View diff
4975 $stmt = $pdo->prepare($sql);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4976
            $stmt->execute($tags);
Open commit View diff
4976 $stmt->execute($tags);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4977
Open commit View diff
4977
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4978
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4978 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4979
            while($row = array_shift($rows)) {
Open commit View diff
4979 while($row = array_shift($rows)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4980
              if ($_SESSION['mailcow_cc_role'] == "admin")
Open commit View diff
4980 if ($_SESSION['mailcow_cc_role'] == "admin")
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4981
                $domains[] = $row['domain'];
Open commit View diff
4981 $domains[] = $row['domain'];
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
4982
              elseif (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row['domain']))
Open commit View diff
4982 elseif (hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $row['domain']))
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4983
                $domains[] = $row['domain'];
Open commit View diff
4983 $domains[] = $row['domain'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4984
            }
Open commit View diff
4984 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4985
          } else {
Open commit View diff
4985 } else {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4986
            // get all
Open commit View diff
4986 // get all
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4987
            $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
Open commit View diff
4987 $stmt = $pdo->prepare("SELECT `domain` FROM `domain`
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4988
              WHERE (`domain` IN (
Open commit View diff
4988 WHERE (`domain` IN (
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4989
                SELECT `domain` from `domain_admins`
Open commit View diff
4989 SELECT `domain` from `domain_admins`
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4990
                  WHERE (`active`='1' AND `username` = :username))
Open commit View diff
4990 WHERE (`active`='1' AND `username` = :username))
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4991
                )
Open commit View diff
4991 )
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4992
                OR 'admin'= :role");
Open commit View diff
4992 OR 'admin'= :role");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4993
            $stmt->execute(array(
Open commit View diff
4993 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4994
              ':username' => $_SESSION['mailcow_cc_username'],
Open commit View diff
4994 ':username' => $_SESSION['mailcow_cc_username'],
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4995
              ':role' => $_SESSION['mailcow_cc_role'],
Open commit View diff
4995 ':role' => $_SESSION['mailcow_cc_role'],
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4996
            ));
Open commit View diff
4996 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4997
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
4997 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4998
            while($row = array_shift($rows)) {
Open commit View diff
4998 while($row = array_shift($rows)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
4999
              $domains[] = $row['domain'];
Open commit View diff
4999 $domains[] = $row['domain'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5000
            }
Open commit View diff
5000 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5001
          }
Open commit View diff
5001 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5002
Open commit View diff
5002
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5006
          $domaindata = array();
Open commit View diff
5006 $domaindata = array();
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
5007
          $_data = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
5007 $_data = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
5008
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
5008 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_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
5009
            return false;
Open commit View diff
5009 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5010
          }
Open commit View diff
5010 }
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
5011
          $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_domain` =  :domain");
Open commit View diff
5011 $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain` WHERE `alias_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
5012
          $stmt->execute(array(
Open commit View diff
5012 $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
5013
            ':domain' => $_data
Open commit View diff
5013 ':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
5014
          ));
Open commit View diff
5014 ));
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
5015
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5015 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5016
          if (!empty($row)) {
Open commit View diff
5016 if (!empty($row)) {
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
5017
            $_data = $row['target_domain'];
Open commit View diff
5017 $_data = $row['target_domain'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5018
          }
Open commit View diff
5018 }
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5019
          $stmt = $pdo->prepare("SELECT
Open commit View diff
5019 $stmt = $pdo->prepare("SELECT
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
5020
              `domain`,
Open commit View diff
5020 `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
5021
              `description`,
Open commit View diff
5021 `description`,
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
5022
              `aliases`,
Open commit View diff
5022 `aliases`,
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5023
              `mailboxes`,
Open commit View diff
5023 `mailboxes`,
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5024
              `defquota`,
Open commit View diff
5024 `defquota`,
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
5025
              `maxquota`,
Open commit View diff
5025 `maxquota`,
FreddleSpl0it over 3 years ago c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5026
              `created`,
Open commit View diff
5026 `created`,
same change c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5027
              `modified`,
Open commit View diff
5027 `modified`,
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
5028
              `quota`,
Open commit View diff
5028 `quota`,
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
5029
              `relayhost`,
Open commit View diff
5029 `relayhost`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5030
              `relay_all_recipients`,
Open commit View diff
5030 `relay_all_recipients`,
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5031
              `relay_unknown_only`,
Open commit View diff
5031 `relay_unknown_only`,
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5032
              `backupmx`,
Open commit View diff
5032 `backupmx`,
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5033
              `gal`,
Open commit View diff
5033 `gal`,
same change d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5034
              `active`
Open commit View diff
5034 `active`
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5035
                FROM `domain` WHERE `domain`= :domain");
Open commit View diff
5035 FROM `domain` WHERE `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
5036
          $stmt->execute(array(
Open commit View diff
5036 $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
5037
            ':domain' => $_data
Open commit View diff
5037 ':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
5038
          ));
Open commit View diff
5038 ));
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
5039
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5039 $row = $stmt->fetch(PDO::FETCH_ASSOC);
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5040
          if (empty($row)) {
Open commit View diff
5040 if (empty($row)) {
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
5041
            return false;
Open commit View diff
5041 return false;
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
5042
          }
Open commit View diff
5042 }
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5043
          $stmt = $pdo->prepare("SELECT COUNT(`username`) AS `count`,
Open commit View diff
5043 $stmt = $pdo->prepare("SELECT COUNT(`username`) AS `count`,
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
5044
            COALESCE(SUM(`quota`), 0) AS `in_use`
Open commit View diff
5044 COALESCE(SUM(`quota`), 0) AS `in_use`
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
5045
              FROM `mailbox`
Open commit View diff
5045 FROM `mailbox`
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5046
                WHERE (`kind` = '' OR `kind` = NULL)
Open commit View diff
5046 WHERE (`kind` = '' OR `kind` = NULL)
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
5047
                  AND `domain` = :domain");
Open commit View diff
5047 AND `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
5048
          $stmt->execute(array(':domain' => $row['domain']));
Open commit View diff
5048 $stmt->execute(array(':domain' => $row['domain']));
andryyy over 6 years ago 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5049
          $MailboxDataDomain = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5049 $MailboxDataDomain = $stmt->fetch(PDO::FETCH_ASSOC);
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5050
          $stmt = $pdo->prepare("SELECT SUM(bytes) AS `bytes_total`, SUM(messages) AS `msgs_total` FROM `quota2`
Open commit View diff
5050 $stmt = $pdo->prepare("SELECT SUM(bytes) AS `bytes_total`, SUM(messages) AS `msgs_total` FROM `quota2`
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5051
            WHERE `username` IN (
Open commit View diff
5051 WHERE `username` IN (
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5052
              SELECT `username` FROM `mailbox`
Open commit View diff
5052 SELECT `username` FROM `mailbox`
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5053
                WHERE `domain` = :domain
Open commit View diff
5053 WHERE `domain` = :domain
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5054
            );");
Open commit View diff
5054 );");
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5055
          $stmt->execute(array(':domain' => $row['domain']));
Open commit View diff
5055 $stmt->execute(array(':domain' => $row['domain']));
same change 0095388

[Web] Show label for relayed domains; Return total bytes and msgs of domain in API (WIP)

Full commit hash
0095388f272a166c05d08e0b9fcb20b0818243ed
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5056
          $SumQuotaInUse = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5056 $SumQuotaInUse = $stmt->fetch(PDO::FETCH_ASSOC);
André almost 8 years ago d64a894

[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)

Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5057
          $rl = ratelimit('get', 'domain', $_data);
Open commit View diff
5057 $rl = ratelimit('get', 'domain', $_data);
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
5058
          $domaindata['max_new_mailbox_quota']  = ($row['quota'] * 1048576) - $MailboxDataDomain['in_use'];
Open commit View diff
5058 $domaindata['max_new_mailbox_quota'] = ($row['quota'] * 1048576) - $MailboxDataDomain['in_use'];
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
5059
          if ($domaindata['max_new_mailbox_quota'] > ($row['maxquota'] * 1048576)) {
Open commit View diff
5059 if ($domaindata['max_new_mailbox_quota'] > ($row['maxquota'] * 1048576)) {
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
5060
            $domaindata['max_new_mailbox_quota'] = ($row['maxquota'] * 1048576);
Open commit View diff
5060 $domaindata['max_new_mailbox_quota'] = ($row['maxquota'] * 1048576);
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
5061
          }
Open commit View diff
5061 }
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5062
          $domaindata['def_new_mailbox_quota'] = $domaindata['max_new_mailbox_quota'];
Open commit View diff
5062 $domaindata['def_new_mailbox_quota'] = $domaindata['max_new_mailbox_quota'];
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5063
          if ($domaindata['def_new_mailbox_quota'] > ($row['defquota'] * 1048576)) {
Open commit View diff
5063 if ($domaindata['def_new_mailbox_quota'] > ($row['defquota'] * 1048576)) {
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5064
            $domaindata['def_new_mailbox_quota'] = ($row['defquota'] * 1048576);
Open commit View diff
5064 $domaindata['def_new_mailbox_quota'] = ($row['defquota'] * 1048576);
same change b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5065
          }
Open commit View diff
5065 }
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
5066
          $domaindata['quota_used_in_domain'] = $MailboxDataDomain['in_use'];
Open commit View diff
5066 $domaindata['quota_used_in_domain'] = $MailboxDataDomain['in_use'];
andryyy over 6 years ago 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5067
          if (!empty($SumQuotaInUse['bytes_total'])) {
Open commit View diff
5067 if (!empty($SumQuotaInUse['bytes_total'])) {
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5068
            $domaindata['bytes_total'] = $SumQuotaInUse['bytes_total'];
Open commit View diff
5068 $domaindata['bytes_total'] = $SumQuotaInUse['bytes_total'];
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5069
          }
Open commit View diff
5069 }
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5070
          else {
Open commit View diff
5070 else {
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5071
            $domaindata['bytes_total'] = 0;
Open commit View diff
5071 $domaindata['bytes_total'] = 0;
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5072
          }
Open commit View diff
5072 }
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5073
          if (!empty($SumQuotaInUse['msgs_total'])) {
Open commit View diff
5073 if (!empty($SumQuotaInUse['msgs_total'])) {
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5074
            $domaindata['msgs_total'] = $SumQuotaInUse['msgs_total'];
Open commit View diff
5074 $domaindata['msgs_total'] = $SumQuotaInUse['msgs_total'];
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5075
          }
Open commit View diff
5075 }
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5076
          else {
Open commit View diff
5076 else {
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5077
            $domaindata['msgs_total'] = 0;
Open commit View diff
5077 $domaindata['msgs_total'] = 0;
same change 92f8b4a

[Web] Add domain statistics

Full commit hash
92f8b4a09156c5b30d6f4fc49e82a38208d500a6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5078
          }
Open commit View diff
5078 }
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
5079
          $domaindata['mboxes_in_domain'] = $MailboxDataDomain['count'];
Open commit View diff
5079 $domaindata['mboxes_in_domain'] = $MailboxDataDomain['count'];
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
5080
          $domaindata['mboxes_left'] = $row['mailboxes']  - $MailboxDataDomain['count'];
Open commit View diff
5080 $domaindata['mboxes_left'] = $row['mailboxes'] - $MailboxDataDomain['count'];
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
5081
          $domaindata['domain_name'] = $row['domain'];
Open commit View diff
5081 $domaindata['domain_name'] = $row['domain'];
FreddleSpl0it over 2 years ago 288dbfa

[Web] display human readable domainnames instead of punycode

Full commit hash
288dbfa37c59666e548915e66cd0cd3902f08eed
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5082
          $domaindata['domain_h_name'] = idn_to_utf8($row['domain']);
Open commit View diff
5082 $domaindata['domain_h_name'] = idn_to_utf8($row['domain']);
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5083
          $domaindata['description'] = $row['description'];
Open commit View diff
5083 $domaindata['description'] = $row['description'];
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
5084
          $domaindata['max_num_aliases_for_domain'] = $row['aliases'];
Open commit View diff
5084 $domaindata['max_num_aliases_for_domain'] = $row['aliases'];
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
5085
          $domaindata['max_num_mboxes_for_domain'] = $row['mailboxes'];
Open commit View diff
5085 $domaindata['max_num_mboxes_for_domain'] = $row['mailboxes'];
Kristián Feldsam about 7 years ago b8b6450

Default quota for mailbox

Full commit hash
b8b645075346d48c92856e6cad978c5505833829
Author
Kristián Feldsam <[email protected]>
Date
about 7 years ago
Selected line
5086
          $domaindata['def_quota_for_mbox'] = $row['defquota'] * 1048576;
Open commit View diff
5086 $domaindata['def_quota_for_mbox'] = $row['defquota'] * 1048576;
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
5087
          $domaindata['max_quota_for_mbox'] = $row['maxquota'] * 1048576;
Open commit View diff
5087 $domaindata['max_quota_for_mbox'] = $row['maxquota'] * 1048576;
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
5088
          $domaindata['max_quota_for_domain'] = $row['quota'] * 1048576;
Open commit View diff
5088 $domaindata['max_quota_for_domain'] = $row['quota'] * 1048576;
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
5089
          $domaindata['relayhost'] = $row['relayhost'];
Open commit View diff
5089 $domaindata['relayhost'] = $row['relayhost'];
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
5090
          $domaindata['backupmx'] = $row['backupmx'];
Open commit View diff
5090 $domaindata['backupmx'] = $row['backupmx'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5091
          $domaindata['backupmx_int'] = $row['backupmx'];
Open commit View diff
5091 $domaindata['backupmx_int'] = $row['backupmx'];
andryyy over 7 years ago 8dde735

[Web] Allow to turn off GAL for each domain

Full commit hash
8dde735a0a9ead7228bef2a86f5b51f5ec9701db
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5092
          $domaindata['gal'] = $row['gal'];
Open commit View diff
5092 $domaindata['gal'] = $row['gal'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5093
          $domaindata['gal_int'] = $row['gal'];
Open commit View diff
5093 $domaindata['gal_int'] = $row['gal'];
André almost 8 years ago d64a894

[Web] Add multiple DKIM at once (+ button to auto-fill missing keys)

Full commit hash
d64a89473ea53fb49ad9dfd13af8ffd89cc417f5
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5094
          $domaindata['rl'] = $rl;
Open commit View diff
5094 $domaindata['rl'] = $rl;
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
5095
          $domaindata['active'] = $row['active'];
Open commit View diff
5095 $domaindata['active'] = $row['active'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5096
          $domaindata['active_int'] = $row['active'];
Open commit View diff
5096 $domaindata['active_int'] = $row['active'];
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5097
          $domaindata['relay_all_recipients'] = $row['relay_all_recipients'];
Open commit View diff
5097 $domaindata['relay_all_recipients'] = $row['relay_all_recipients'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5098
          $domaindata['relay_all_recipients_int'] = $row['relay_all_recipients'];
Open commit View diff
5098 $domaindata['relay_all_recipients_int'] = $row['relay_all_recipients'];
andryyy over 6 years ago ef0b400

[Postfix] Allow to relay only non-local mailboxes

Full commit hash
ef0b40085bd11731d418765248c05ecbaa573333
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5099
          $domaindata['relay_unknown_only'] = $row['relay_unknown_only'];
Open commit View diff
5099 $domaindata['relay_unknown_only'] = $row['relay_unknown_only'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5100
          $domaindata['relay_unknown_only_int'] = $row['relay_unknown_only'];
Open commit View diff
5100 $domaindata['relay_unknown_only_int'] = $row['relay_unknown_only'];
FreddleSpl0it over 3 years ago c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5101
          $domaindata['created'] = $row['created'];
Open commit View diff
5101 $domaindata['created'] = $row['created'];
same change c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5102
          $domaindata['modified'] = $row['modified'];
Open commit View diff
5102 $domaindata['modified'] = $row['modified'];
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5103
          $stmt = $pdo->prepare("SELECT COUNT(`address`) AS `alias_count` FROM `alias`
Open commit View diff
5103 $stmt = $pdo->prepare("SELECT COUNT(`address`) AS `alias_count` FROM `alias`
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
5104
            WHERE (`domain`= :domain OR `domain` IN (SELECT `alias_domain` FROM `alias_domain` WHERE `target_domain` = :domain2))
Open commit View diff
5104 WHERE (`domain`= :domain OR `domain` IN (SELECT `alias_domain` FROM `alias_domain` WHERE `target_domain` = :domain2))
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
5105
              AND `address` NOT IN (
Open commit View diff
5105 AND `address` NOT IN (
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
5106
                SELECT `username` FROM `mailbox`
Open commit View diff
5106 SELECT `username` FROM `mailbox`
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
5107
              )");
Open commit View diff
5107 )");
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
5108
          $stmt->execute(array(
Open commit View diff
5108 $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
5109
            ':domain' => $_data,
Open commit View diff
5109 ':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
5110
            ':domain2' => $_data
Open commit View diff
5110 ':domain2' => $_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
5111
          ));
Open commit View diff
5111 ));
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
5112
          $AliasDataDomain = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5112 $AliasDataDomain = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5113
          (isset($AliasDataDomain['alias_count'])) ? $domaindata['aliases_in_domain'] = $AliasDataDomain['alias_count'] : $domaindata['aliases_in_domain'] = "0";
Open commit View diff
5113 (isset($AliasDataDomain['alias_count'])) ? $domaindata['aliases_in_domain'] = $AliasDataDomain['alias_count'] : $domaindata['aliases_in_domain'] = "0";
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
5114
          $domaindata['aliases_left'] = $row['aliases'] - $AliasDataDomain['alias_count'];
Open commit View diff
5114 $domaindata['aliases_left'] = $row['aliases'] - $AliasDataDomain['alias_count'];
Max over 6 years ago 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5115
          if ($_SESSION['mailcow_cc_role'] == "admin")
Open commit View diff
5115 if ($_SESSION['mailcow_cc_role'] == "admin")
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5116
          {
Open commit View diff
5116 {
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5117
              $stmt = $pdo->prepare("SELECT GROUP_CONCAT(`username` SEPARATOR ', ') AS domain_admins FROM `domain_admins` WHERE `domain` = :domain");
Open commit View diff
5117 $stmt = $pdo->prepare("SELECT GROUP_CONCAT(`username` SEPARATOR ', ') AS domain_admins FROM `domain_admins` WHERE `domain` = :domain");
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5118
              $stmt->execute(array(
Open commit View diff
5118 $stmt->execute(array(
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5119
                ':domain' => $_data
Open commit View diff
5119 ':domain' => $_data
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5120
              ));
Open commit View diff
5120 ));
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5121
              $domain_admins = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5121 $domain_admins = $stmt->fetch(PDO::FETCH_ASSOC);
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5122
              (isset($domain_admins['domain_admins'])) ? $domaindata['domain_admins'] = $domain_admins['domain_admins'] : $domaindata['domain_admins'] = "-";
Open commit View diff
5122 (isset($domain_admins['domain_admins'])) ? $domaindata['domain_admins'] = $domain_admins['domain_admins'] : $domaindata['domain_admins'] = "-";
same change 3243bf4

Include domain-admins in domain-table (#3136)

Full commit hash
3243bf42cd2be960c5a61b44764e95a58d09ac15
Author
Max <[email protected]>
Date
over 6 years ago
Selected line
5123
          }
Open commit View diff
5123 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5124
          $stmt = $pdo->prepare("SELECT `tag_name`
Open commit View diff
5124 $stmt = $pdo->prepare("SELECT `tag_name`
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5125
            FROM `tags_domain` WHERE `domain`= :domain");
Open commit View diff
5125 FROM `tags_domain` WHERE `domain`= :domain");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5126
          $stmt->execute(array(
Open commit View diff
5126 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5127
            ':domain' => $_data
Open commit View diff
5127 ':domain' => $_data
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5128
          ));
Open commit View diff
5128 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5129
          $tags = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
5129 $tags = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5130
          while ($tag = array_shift($tags)) {
Open commit View diff
5130 while ($tag = array_shift($tags)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5131
            $domaindata['tags'][] = $tag['tag_name'];
Open commit View diff
5131 $domaindata['tags'][] = $tag['tag_name'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5132
          }
Open commit View diff
5132 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5133
Open commit View diff
5133
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5135
        break;
Open commit View diff
5135 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5136
        case 'domain_templates':
Open commit View diff
5136 case 'domain_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5137
          if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
Open commit View diff
5137 if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5138
            return false;
Open commit View diff
5138 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5139
          }
Open commit View diff
5139 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5140
          $_data = (isset($_data)) ? intval($_data) : null;
Open commit View diff
5140 $_data = (isset($_data)) ? intval($_data) : null;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5141
Open commit View diff
5141
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5142
          if (isset($_data)){
Open commit View diff
5142 if (isset($_data)){
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5143
            $stmt = $pdo->prepare("SELECT * FROM `templates`
Open commit View diff
5143 $stmt = $pdo->prepare("SELECT * FROM `templates`
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5144
              WHERE `id` = :id AND type = :type");
Open commit View diff
5144 WHERE `id` = :id AND type = :type");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5145
            $stmt->execute(array(
Open commit View diff
5145 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5146
              ":id" => $_data,
Open commit View diff
5146 ":id" => $_data,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5147
              ":type" => "domain"
Open commit View diff
5147 ":type" => "domain"
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5148
            ));
Open commit View diff
5148 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5149
            $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5149 $row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5150
Open commit View diff
5150
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5151
            if (empty($row)){
Open commit View diff
5151 if (empty($row)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5152
              return false;
Open commit View diff
5152 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5153
            }
Open commit View diff
5153 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5154
Open commit View diff
5154
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5155
            $row["attributes"] = json_decode($row["attributes"], true);
Open commit View diff
5155 $row["attributes"] = json_decode($row["attributes"], true);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5156
            return $row;
Open commit View diff
5156 return $row;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5157
          }
Open commit View diff
5157 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5158
          else {
Open commit View diff
5158 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5159
            $stmt = $pdo->prepare("SELECT * FROM `templates` WHERE `type` =  'domain'");
Open commit View diff
5159 $stmt = $pdo->prepare("SELECT * FROM `templates` WHERE `type` = 'domain'");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5160
            $stmt->execute();
Open commit View diff
5160 $stmt->execute();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5161
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
5161 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5162
Open commit View diff
5162
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5163
            if (empty($rows)){
Open commit View diff
5163 if (empty($rows)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5164
              return false;
Open commit View diff
5164 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5165
            }
Open commit View diff
5165 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5166
Open commit View diff
5166
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5167
            foreach($rows as $key => $row){
Open commit View diff
5167 foreach($rows as $key => $row){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5168
              $rows[$key]["attributes"] = json_decode($row["attributes"], true);
Open commit View diff
5168 $rows[$key]["attributes"] = json_decode($row["attributes"], true);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5169
            }
Open commit View diff
5169 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5170
            return $rows;
Open commit View diff
5170 return $rows;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5171
          }
Open commit View diff
5171 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5172
        break;
Open commit View diff
5172 break;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5173
        case 'mailbox_details':
Open commit View diff
5173 case 'mailbox_details':
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
5174
          if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
5174 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_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
5175
            return false;
Open commit View diff
5175 return false;
same change fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5177
          $mailboxdata = array();
Open commit View diff
5177 $mailboxdata = array();
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5178
          if (preg_match('/y|yes/i', getenv('MASTER'))) {
Open commit View diff
5178 if (preg_match('/y|yes/i', getenv('MASTER'))) {
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5179
            $stmt = $pdo->prepare("SELECT
Open commit View diff
5179 $stmt = $pdo->prepare("SELECT
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
5180
              `domain`.`backupmx`,
Open commit View diff
5180 `domain`.`backupmx`,
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
5181
              `mailbox`.`username`,
Open commit View diff
5181 `mailbox`.`username`,
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
5182
              `mailbox`.`name`,
Open commit View diff
5182 `mailbox`.`name`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5183
              `mailbox`.`active`,
Open commit View diff
5183 `mailbox`.`active`,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5184
              `mailbox`.`domain`,
Open commit View diff
5184 `mailbox`.`domain`,
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5185
              `mailbox`.`local_part`,
Open commit View diff
5185 `mailbox`.`local_part`,
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
5186
              `mailbox`.`quota`,
Open commit View diff
5186 `mailbox`.`quota`,
FreddleSpl0it over 3 years ago c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5187
              `mailbox`.`created`,
Open commit View diff
5187 `mailbox`.`created`,
same change c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5188
              `mailbox`.`modified`,
Open commit View diff
5188 `mailbox`.`modified`,
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5189
              `mailbox`.`authsource`,
Open commit View diff
5189 `mailbox`.`authsource`,
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
5190
              `quota2`.`bytes`,
Open commit View diff
5190 `quota2`.`bytes`,
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
5191
              `attributes`,
Open commit View diff
5191 `attributes`,
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5192
              `custom_attributes`,
Open commit View diff
5192 `custom_attributes`,
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
5193
              `quota2`.`messages`
Open commit View diff
5193 `quota2`.`messages`
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
5194
                FROM `mailbox`, `quota2`, `domain`
Open commit View diff
5194 FROM `mailbox`, `quota2`, `domain`
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5195
                  WHERE (`mailbox`.`kind` = '' OR `mailbox`.`kind` = NULL)
Open commit View diff
5195 WHERE (`mailbox`.`kind` = '' OR `mailbox`.`kind` = NULL)
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5196
                    AND `mailbox`.`username` = `quota2`.`username`
Open commit View diff
5196 AND `mailbox`.`username` = `quota2`.`username`
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5197
                    AND `domain`.`domain` = `mailbox`.`domain`
Open commit View diff
5197 AND `domain`.`domain` = `mailbox`.`domain`
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5198
                    AND `mailbox`.`username` = :mailbox");
Open commit View diff
5198 AND `mailbox`.`username` = :mailbox");
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5199
          }
Open commit View diff
5199 }
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5200
          else {
Open commit View diff
5200 else {
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5201
            $stmt = $pdo->prepare("SELECT
Open commit View diff
5201 $stmt = $pdo->prepare("SELECT
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5202
              `domain`.`backupmx`,
Open commit View diff
5202 `domain`.`backupmx`,
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5203
              `mailbox`.`username`,
Open commit View diff
5203 `mailbox`.`username`,
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5204
              `mailbox`.`name`,
Open commit View diff
5204 `mailbox`.`name`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5205
              `mailbox`.`active`,
Open commit View diff
5205 `mailbox`.`active`,
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5206
              `mailbox`.`domain`,
Open commit View diff
5206 `mailbox`.`domain`,
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5207
              `mailbox`.`local_part`,
Open commit View diff
5207 `mailbox`.`local_part`,
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5208
              `mailbox`.`quota`,
Open commit View diff
5208 `mailbox`.`quota`,
FreddleSpl0it over 3 years ago c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5209
              `mailbox`.`created`,
Open commit View diff
5209 `mailbox`.`created`,
same change c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5210
              `mailbox`.`modified`,
Open commit View diff
5210 `mailbox`.`modified`,
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5211
              `mailbox`.`authsource`,
Open commit View diff
5211 `mailbox`.`authsource`,
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5212
              `quota2replica`.`bytes`,
Open commit View diff
5212 `quota2replica`.`bytes`,
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5213
              `attributes`,
Open commit View diff
5213 `attributes`,
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5214
              `custom_attributes`,
Open commit View diff
5214 `custom_attributes`,
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5215
              `quota2replica`.`messages`
Open commit View diff
5215 `quota2replica`.`messages`
same change 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5216
                FROM `mailbox`, `quota2replica`, `domain`
Open commit View diff
5216 FROM `mailbox`, `quota2replica`, `domain`
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5217
                  WHERE (`mailbox`.`kind` = '' OR `mailbox`.`kind` = NULL)
Open commit View diff
5217 WHERE (`mailbox`.`kind` = '' OR `mailbox`.`kind` = NULL)
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5218
                    AND `mailbox`.`username` = `quota2replica`.`username`
Open commit View diff
5218 AND `mailbox`.`username` = `quota2replica`.`username`
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5219
                    AND `domain`.`domain` = `mailbox`.`domain`
Open commit View diff
5219 AND `domain`.`domain` = `mailbox`.`domain`
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5220
                    AND `mailbox`.`username` = :mailbox");
Open commit View diff
5220 AND `mailbox`.`username` = :mailbox");
andryyy over 6 years ago 3e2cbac

[Rspamd] 2.5 RC3

Full commit hash
3e2cbac7780128fc8aaa9a6a90dab46aa2da1bb3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5221
          }
Open commit View diff
5221 }
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
5222
          $stmt->execute(array(
Open commit View diff
5222 $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
5223
            ':mailbox' => $_data,
Open commit View diff
5223 ':mailbox' => $_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
5224
          ));
Open commit View diff
5224 ));
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
5225
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5225 $row = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5226
Open commit View diff
5226
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
5227
          $mailboxdata['username'] = $row['username'];
Open commit View diff
5227 $mailboxdata['username'] = $row['username'];
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
5228
          $mailboxdata['active'] = $row['active'];
Open commit View diff
5228 $mailboxdata['active'] = $row['active'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5229
          $mailboxdata['active_int'] = $row['active'];
Open commit View diff
5229 $mailboxdata['active_int'] = $row['active'];
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5230
          $mailboxdata['domain'] = $row['domain'];
Open commit View diff
5230 $mailboxdata['domain'] = $row['domain'];
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5231
          $mailboxdata['name'] = $row['name'];
Open commit View diff
5231 $mailboxdata['name'] = $row['name'];
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5232
          $mailboxdata['local_part'] = $row['local_part'];
Open commit View diff
5232 $mailboxdata['local_part'] = $row['local_part'];
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
5233
          $mailboxdata['quota'] = $row['quota'];
Open commit View diff
5233 $mailboxdata['quota'] = $row['quota'];
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5234
          $mailboxdata['messages'] = $row['messages'];
Open commit View diff
5234 $mailboxdata['messages'] = $row['messages'];
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
5235
          $mailboxdata['attributes'] = json_decode($row['attributes'], true);
Open commit View diff
5235 $mailboxdata['attributes'] = json_decode($row['attributes'], true);
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5236
          $mailboxdata['custom_attributes'] = json_decode($row['custom_attributes'], true);
Open commit View diff
5236 $mailboxdata['custom_attributes'] = json_decode($row['custom_attributes'], true);
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
5237
          $mailboxdata['quota_used'] = intval($row['bytes']);
Open commit View diff
5237 $mailboxdata['quota_used'] = intval($row['bytes']);
andryyy over 7 years ago 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5238
          $mailboxdata['percent_in_use'] = ($row['quota'] == 0) ? '- ' : round((intval($row['bytes']) / intval($row['quota'])) * 100);
Open commit View diff
5238 $mailboxdata['percent_in_use'] = ($row['quota'] == 0) ? '- ' : round((intval($row['bytes']) / intval($row['quota'])) * 100);
FreddleSpl0it over 3 years ago c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5239
          $mailboxdata['created'] = $row['created'];
Open commit View diff
5239 $mailboxdata['created'] = $row['created'];
same change c8f69ff

show created_on, last_modified for domain, mailbox

Full commit hash
c8f69ffe77c7e8c3b4e5a40466cf37fd8513dc5e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5240
          $mailboxdata['modified'] = $row['modified'];
Open commit View diff
5240 $mailboxdata['modified'] = $row['modified'];
FreddleSpl0it over 3 years ago 6adad79

[Web] organize auth functions+api auth w/ dovecot

Full commit hash
6adad79e5cd50ae11bfc975ebb1ee7486e37a1a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5241
          $mailboxdata['authsource'] = ($row['authsource']) ? $row['authsource'] : 'mailcow';
Open commit View diff
5241 $mailboxdata['authsource'] = ($row['authsource']) ? $row['authsource'] : 'mailcow';
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5242
Open commit View diff
5242
andryyy over 7 years ago 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5243
          if ($mailboxdata['percent_in_use'] === '- ') {
Open commit View diff
5243 if ($mailboxdata['percent_in_use'] === '- ') {
same change 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5244
            $mailboxdata['percent_class'] = "info";
Open commit View diff
5244 $mailboxdata['percent_class'] = "info";
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
5245
          }
Open commit View diff
5245 }
andryyy over 7 years ago 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5246
          elseif ($mailboxdata['percent_in_use'] >= 90) {
Open commit View diff
5246 elseif ($mailboxdata['percent_in_use'] >= 90) {
same change 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5247
            $mailboxdata['percent_class'] = "danger";
Open commit View diff
5247 $mailboxdata['percent_class'] = "danger";
same change 49492df

[Web, Dovecot] Allow empty/unlimited quota

Full commit hash
49492dff615116c2084a81ade836b5f66dbb5e5e
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5248
          }
Open commit View diff
5248 }
andryyy over 7 years ago e94c9e1

[Web] Fix class for full mailbox

Full commit hash
e94c9e1ca60a92b3df08d94d340f3b73e5aba975
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5249
          elseif ($mailboxdata['percent_in_use'] >= 75) {
Open commit View diff
5249 elseif ($mailboxdata['percent_in_use'] >= 75) {
same change e94c9e1

[Web] Fix class for full mailbox

Full commit hash
e94c9e1ca60a92b3df08d94d340f3b73e5aba975
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5250
            $mailboxdata['percent_class'] = "warning";
Open commit View diff
5250 $mailboxdata['percent_class'] = "warning";
same change e94c9e1

[Web] Fix class for full mailbox

Full commit hash
e94c9e1ca60a92b3df08d94d340f3b73e5aba975
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5251
          }
Open commit View diff
5251 }
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
5252
          else {
Open commit View diff
5252 else {
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
5253
            $mailboxdata['percent_class'] = "success";
Open commit View diff
5253 $mailboxdata['percent_class'] = "success";
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5254
          }
Open commit View diff
5254 }
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5255
Open commit View diff
5255
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5256
          // Determine last logins
Open commit View diff
5256 // Determine last logins
andryyy about 5 years ago 78084c5

[Web] Log only latest datetime of a unique datetime, service and ip combination

Full commit hash
78084c5e7b7b0282a895603604c929e41f313888
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5257
          $stmt = $pdo->prepare("SELECT MAX(`datetime`) AS `datetime`, `service` FROM `sasl_log`
Open commit View diff
5257 $stmt = $pdo->prepare("SELECT MAX(`datetime`) AS `datetime`, `service` FROM `sasl_log`
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5258
            WHERE `username` = :mailbox
Open commit View diff
5258 WHERE `username` = :mailbox
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5259
                GROUP BY `service` DESC");
Open commit View diff
5259 GROUP BY `service` DESC");
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5260
          $stmt->execute(array(':mailbox' => $_data));
Open commit View diff
5260 $stmt->execute(array(':mailbox' => $_data));
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5261
          $SaslLogsData  = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
5261 $SaslLogsData = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5262
          foreach ($SaslLogsData as $SaslLogs) {
Open commit View diff
5262 foreach ($SaslLogsData as $SaslLogs) {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5263
            if ($SaslLogs['service'] == 'imap') {
Open commit View diff
5263 if ($SaslLogs['service'] == 'imap') {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5264
              $last_imap_login = strtotime($SaslLogs['datetime']);
Open commit View diff
5264 $last_imap_login = strtotime($SaslLogs['datetime']);
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5265
            }
Open commit View diff
5265 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5266
            else if ($SaslLogs['service'] == 'smtp') {
Open commit View diff
5266 else if ($SaslLogs['service'] == 'smtp') {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5267
              $last_smtp_login = strtotime($SaslLogs['datetime']);
Open commit View diff
5267 $last_smtp_login = strtotime($SaslLogs['datetime']);
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5268
            }
Open commit View diff
5268 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5269
            else if ($SaslLogs['service'] == 'pop3') {
Open commit View diff
5269 else if ($SaslLogs['service'] == 'pop3') {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5270
              $last_pop3_login = strtotime($SaslLogs['datetime']);
Open commit View diff
5270 $last_pop3_login = strtotime($SaslLogs['datetime']);
q16marvin over 2 years ago 19deda3

Update functions.mailbox.inc.php

Full commit hash
19deda31bc92b56241286bac4ad1711d7b1eb520
Author
q16marvin <[email protected]>
Date
over 2 years ago
Selected line
5271
            }
Open commit View diff
5271 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
5272
			      else if ($SaslLogs['service'] == 'SSO') {
Open commit View diff
5272 else if ($SaslLogs['service'] == 'SSO') {
q16marvin over 2 years ago 19deda3

Update functions.mailbox.inc.php

Full commit hash
19deda31bc92b56241286bac4ad1711d7b1eb520
Author
q16marvin <[email protected]>
Date
over 2 years ago
Selected line
5273
              $last_sso_login = strtotime($SaslLogs['datetime']);
Open commit View diff
5273 $last_sso_login = strtotime($SaslLogs['datetime']);
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5274
            }
Open commit View diff
5274 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5275
          }
Open commit View diff
5275 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5276
          if (!isset($last_imap_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
Open commit View diff
5276 if (!isset($last_imap_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5277
            $last_imap_login = 0;
Open commit View diff
5277 $last_imap_login = 0;
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5278
          }
Open commit View diff
5278 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5279
          if (!isset($last_smtp_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
Open commit View diff
5279 if (!isset($last_smtp_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5280
            $last_smtp_login = 0;
Open commit View diff
5280 $last_smtp_login = 0;
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5281
          }
Open commit View diff
5281 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5282
          if (!isset($last_pop3_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
Open commit View diff
5282 if (!isset($last_pop3_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5283
            $last_pop3_login = 0;
Open commit View diff
5283 $last_pop3_login = 0;
q16marvin over 2 years ago 19deda3

Update functions.mailbox.inc.php

Full commit hash
19deda31bc92b56241286bac4ad1711d7b1eb520
Author
q16marvin <[email protected]>
Date
over 2 years ago
Selected line
5284
          }
Open commit View diff
5284 }
FreddleSpl0it over 1 year ago 45c13c6

[Web] update user based on template after login

Full commit hash
45c13c687b7c294d24708cd44eb05062d0862d33
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
5285
		      if (!isset($last_sso_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
Open commit View diff
5285 if (!isset($last_sso_login) || $GLOBALS['SHOW_LAST_LOGIN'] === false) {
q16marvin over 2 years ago 19deda3

Update functions.mailbox.inc.php

Full commit hash
19deda31bc92b56241286bac4ad1711d7b1eb520
Author
q16marvin <[email protected]>
Date
over 2 years ago
Selected line
5286
            $last_sso_login = 0;
Open commit View diff
5286 $last_sso_login = 0;
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5287
          }
Open commit View diff
5287 }
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5288
          $mailboxdata['last_imap_login'] = $last_imap_login;
Open commit View diff
5288 $mailboxdata['last_imap_login'] = $last_imap_login;
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5289
          $mailboxdata['last_smtp_login'] = $last_smtp_login;
Open commit View diff
5289 $mailboxdata['last_smtp_login'] = $last_smtp_login;
same change 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5290
          $mailboxdata['last_pop3_login'] = $last_pop3_login;
Open commit View diff
5290 $mailboxdata['last_pop3_login'] = $last_pop3_login;
q16marvin over 2 years ago 19deda3

Update functions.mailbox.inc.php

Full commit hash
19deda31bc92b56241286bac4ad1711d7b1eb520
Author
q16marvin <[email protected]>
Date
over 2 years ago
Selected line
5291
          $mailboxdata['last_sso_login'] = $last_sso_login;
Open commit View diff
5291 $mailboxdata['last_sso_login'] = $last_sso_login;
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5292
Open commit View diff
5292
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5293
          if (!isset($_extra) || $_extra != 'reduced') {
Open commit View diff
5293 if (!isset($_extra) || $_extra != 'reduced') {
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5294
            $rl = ratelimit('get', 'mailbox', $_data);
Open commit View diff
5294 $rl = ratelimit('get', 'mailbox', $_data);
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5295
            $stmt = $pdo->prepare("SELECT `maxquota`, `quota` FROM  `domain` WHERE `domain` = :domain");
Open commit View diff
5295 $stmt = $pdo->prepare("SELECT `maxquota`, `quota` FROM `domain` WHERE `domain` = :domain");
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5296
            $stmt->execute(array(':domain' => $row['domain']));
Open commit View diff
5296 $stmt->execute(array(':domain' => $row['domain']));
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5297
            $DomainQuota  = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5297 $DomainQuota = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy about 5 years ago 2d55b54

[Web] Show users the last known connections for SASL authentication

Full commit hash
2d55b54904c5111180910e95620445a931f26710
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
5298
Open commit View diff
5298
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5299
            $stmt = $pdo->prepare("SELECT IFNULL(COUNT(`active`), 0) AS `pushover_active` FROM `pushover` WHERE `username` = :username AND `active` = 1");
Open commit View diff
5299 $stmt = $pdo->prepare("SELECT IFNULL(COUNT(`active`), 0) AS `pushover_active` FROM `pushover` WHERE `username` = :username AND `active` = 1");
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5300
            $stmt->execute(array(':username' => $_data));
Open commit View diff
5300 $stmt->execute(array(':username' => $_data));
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5301
            $PushoverActive  = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5301 $PushoverActive = $stmt->fetch(PDO::FETCH_ASSOC);
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5302
            $stmt = $pdo->prepare("SELECT COALESCE(SUM(`quota`), 0) as `in_use` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND `domain` = :domain AND `username` != :username");
Open commit View diff
5302 $stmt = $pdo->prepare("SELECT COALESCE(SUM(`quota`), 0) as `in_use` FROM `mailbox` WHERE (`kind` = '' OR `kind` = NULL) AND `domain` = :domain AND `username` != :username");
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5303
            $stmt->execute(array(':domain' => $row['domain'], ':username' => $_data));
Open commit View diff
5303 $stmt->execute(array(':domain' => $row['domain'], ':username' => $_data));
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
5304
            $MailboxUsage = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5304 $MailboxUsage = $stmt->fetch(PDO::FETCH_ASSOC);
Josh 8 months ago 0413d26

Allow making spam aliases permanent (#6888)

Full commit hash
0413d268552b845916b94eda54bc3dba0ee12798
Author
Josh <[email protected]>
Date
8 months ago
Selected line
5305
            $stmt = $pdo->prepare("SELECT IFNULL(COUNT(`address`), 0) AS `sa_count` FROM `spamalias` WHERE `goto` = :address AND (`validity` >= :unixnow OR `permanent` != 0)");
Open commit View diff
5305 $stmt = $pdo->prepare("SELECT IFNULL(COUNT(`address`), 0) AS `sa_count` FROM `spamalias` WHERE `goto` = :address AND (`validity` >= :unixnow OR `permanent` != 0)");
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5306
            $stmt->execute(array(':address' => $_data, ':unixnow' => time()));
Open commit View diff
5306 $stmt->execute(array(':address' => $_data, ':unixnow' => time()));
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
5307
            $SpamaliasUsage = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5307 $SpamaliasUsage = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5308
            $mailboxdata['max_new_quota'] = ($DomainQuota['quota'] * 1048576) - $MailboxUsage['in_use'];
Open commit View diff
5308 $mailboxdata['max_new_quota'] = ($DomainQuota['quota'] * 1048576) - $MailboxUsage['in_use'];
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5309
            $mailboxdata['spam_aliases'] = $SpamaliasUsage['sa_count'];
Open commit View diff
5309 $mailboxdata['spam_aliases'] = $SpamaliasUsage['sa_count'];
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5310
            $mailboxdata['pushover_active'] = ($PushoverActive['pushover_active'] == 1) ? 1 : 0;
Open commit View diff
5310 $mailboxdata['pushover_active'] = ($PushoverActive['pushover_active'] == 1) ? 1 : 0;
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5311
            if ($mailboxdata['max_new_quota'] > ($DomainQuota['maxquota'] * 1048576)) {
Open commit View diff
5311 if ($mailboxdata['max_new_quota'] > ($DomainQuota['maxquota'] * 1048576)) {
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5312
              $mailboxdata['max_new_quota'] = ($DomainQuota['maxquota'] * 1048576);
Open commit View diff
5312 $mailboxdata['max_new_quota'] = ($DomainQuota['maxquota'] * 1048576);
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5313
            }
Open commit View diff
5313 }
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5314
            if (!empty($rl)) {
Open commit View diff
5314 if (!empty($rl)) {
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5315
              $mailboxdata['rl'] = $rl;
Open commit View diff
5315 $mailboxdata['rl'] = $rl;
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5316
              $mailboxdata['rl_scope'] = 'mailbox';
Open commit View diff
5316 $mailboxdata['rl_scope'] = 'mailbox';
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5317
            }
Open commit View diff
5317 }
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5318
            else {
Open commit View diff
5318 else {
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5319
              $mailboxdata['rl'] = ratelimit('get', 'domain', $row['domain']);
Open commit View diff
5319 $mailboxdata['rl'] = ratelimit('get', 'domain', $row['domain']);
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5320
              $mailboxdata['rl_scope'] = 'domain';
Open commit View diff
5320 $mailboxdata['rl_scope'] = 'domain';
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5321
            }
Open commit View diff
5321 }
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5322
            $mailboxdata['is_relayed'] = $row['backupmx'];
Open commit View diff
5322 $mailboxdata['is_relayed'] = $row['backupmx'];
same change dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5323
          }
Open commit View diff
5323 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5324
          $stmt = $pdo->prepare("SELECT `tag_name`
Open commit View diff
5324 $stmt = $pdo->prepare("SELECT `tag_name`
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5325
            FROM `tags_mailbox` WHERE `username`= :username");
Open commit View diff
5325 FROM `tags_mailbox` WHERE `username`= :username");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5326
          $stmt->execute(array(
Open commit View diff
5326 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5327
            ':username' => $_data
Open commit View diff
5327 ':username' => $_data
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5328
          ));
Open commit View diff
5328 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5329
          $tags = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
5329 $tags = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5330
          while ($tag = array_shift($tags)) {
Open commit View diff
5330 while ($tag = array_shift($tags)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5331
            $mailboxdata['tags'][] = $tag['tag_name'];
Open commit View diff
5331 $mailboxdata['tags'][] = $tag['tag_name'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
5332
          }
Open commit View diff
5332 }
andryyy over 5 years ago dd19874

[Web] Use api/v1/get/mailbox/reduced for faster loading of mailbox table

Full commit hash
dd198747b79a48bd7ef86bc641a353a7ccd8877b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5333
Open commit View diff
5333
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5335
        break;
Open commit View diff
5335 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5336
        case 'mailbox_templates':
Open commit View diff
5336 case 'mailbox_templates':
FreddleSpl0it over 1 year ago 8048e0a

[Web] Fix permission exception in IdP actions

Full commit hash
8048e0a53c793ed587cba0b5ee5eadb80efed88e
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
5337
          if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin" && $_SESSION['access_all_exception'] != "1") {
Open commit View diff
5337 if ($_SESSION['mailcow_cc_role'] != "admin" && $_SESSION['mailcow_cc_role'] != "domainadmin" && $_SESSION['access_all_exception'] != "1") {
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5338
            return false;
Open commit View diff
5338 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5339
          }
Open commit View diff
5339 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5340
          $_data = (isset($_data)) ? intval($_data) : null;
Open commit View diff
5340 $_data = (isset($_data)) ? intval($_data) : null;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5341
Open commit View diff
5341
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5342
          if (isset($_data)){
Open commit View diff
5342 if (isset($_data)){
same change 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5343
            $stmt = $pdo->prepare("SELECT * FROM `templates`
Open commit View diff
5343 $stmt = $pdo->prepare("SELECT * FROM `templates`
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5344
              WHERE `id` = :id AND type = :type");
Open commit View diff
5344 WHERE `id` = :id AND type = :type");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5345
            $stmt->execute(array(
Open commit View diff
5345 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5346
              ":id" => $_data,
Open commit View diff
5346 ":id" => $_data,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5347
              ":type" => "mailbox"
Open commit View diff
5347 ":type" => "mailbox"
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5348
            ));
Open commit View diff
5348 ));
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5349
            $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5349 $row = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5350
Open commit View diff
5350
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5351
            if (empty($row)){
Open commit View diff
5351 if (empty($row)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5352
              return false;
Open commit View diff
5352 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5353
            }
Open commit View diff
5353 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5354
Open commit View diff
5354
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5355
            $row["attributes"] = json_decode($row["attributes"], true);
Open commit View diff
5355 $row["attributes"] = json_decode($row["attributes"], true);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5356
            return $row;
Open commit View diff
5356 return $row;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5357
          }
Open commit View diff
5357 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5358
          else {
Open commit View diff
5358 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5359
            $stmt = $pdo->prepare("SELECT * FROM `templates` WHERE `type` =  'mailbox'");
Open commit View diff
5359 $stmt = $pdo->prepare("SELECT * FROM `templates` WHERE `type` = 'mailbox'");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5360
            $stmt->execute();
Open commit View diff
5360 $stmt->execute();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5361
            $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
5361 $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5362
Open commit View diff
5362
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5363
            if (empty($rows)){
Open commit View diff
5363 if (empty($rows)){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5364
              return false;
Open commit View diff
5364 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5365
            }
Open commit View diff
5365 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5366
Open commit View diff
5366
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5367
            foreach($rows as $key => $row){
Open commit View diff
5367 foreach($rows as $key => $row){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5368
              $rows[$key]["attributes"] = json_decode($row["attributes"], true);
Open commit View diff
5368 $rows[$key]["attributes"] = json_decode($row["attributes"], true);
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5369
            }
Open commit View diff
5369 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5370
            return $rows;
Open commit View diff
5370 return $rows;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5371
          }
Open commit View diff
5371 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5372
        break;
Open commit View diff
5372 break;
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5373
        case 'mta_sts':
Open commit View diff
5373 case 'mta_sts':
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5374
          $stmt = $pdo->prepare("SELECT * FROM `mta_sts` WHERE `domain` = :domain");
Open commit View diff
5374 $stmt = $pdo->prepare("SELECT * FROM `mta_sts` WHERE `domain` = :domain");
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5375
          $stmt->execute(array(
Open commit View diff
5375 $stmt->execute(array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5376
            ':domain' => $_data,
Open commit View diff
5376 ':domain' => $_data,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5377
          ));
Open commit View diff
5377 ));
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5378
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5378 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5379
          if (empty($row)){
Open commit View diff
5379 if (empty($row)){
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5380
            return [];
Open commit View diff
5380 return [];
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5381
          }
Open commit View diff
5381 }
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5382
          $row['mx'] = explode(',', $row['mx']);
Open commit View diff
5382 $row['mx'] = explode(',', $row['mx']);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5383
          $row['version'] = strtoupper(substr($row['version'], 0, 3)) . substr($row['version'], 3);
Open commit View diff
5383 $row['version'] = strtoupper(substr($row['version'], 0, 3)) . substr($row['version'], 3);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5384
Open commit View diff
5384
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5385
          return $row;
Open commit View diff
5385 return $row;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5386
        break;
Open commit View diff
5386 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5389
          if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
5389 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
5390
            return false;
Open commit View diff
5390 return false;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5391
          }
Open commit View diff
5391 }
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
5392
          $stmt = $pdo->prepare("SELECT
Open commit View diff
5392 $stmt = $pdo->prepare("SELECT
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
5393
              `username`,
Open commit View diff
5393 `username`,
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
5394
              `name`,
Open commit View diff
5394 `name`,
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
5395
              `kind`,
Open commit View diff
5395 `kind`,
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
5396
              `multiple_bookings`,
Open commit View diff
5396 `multiple_bookings`,
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
5397
              `local_part`,
Open commit View diff
5397 `local_part`,
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5398
              `active`,
Open commit View diff
5398 `active`,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5399
              `domain`
Open commit View diff
5399 `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
5400
                FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `username` = :resource");
Open commit View diff
5400 FROM `mailbox` WHERE `kind` REGEXP 'location|thing|group' AND `username` = :resource");
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
5401
          $stmt->execute(array(
Open commit View diff
5401 $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
5402
            ':resource' => $_data,
Open commit View diff
5402 ':resource' => $_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
5403
          ));
Open commit View diff
5403 ));
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
5404
          $row = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5404 $row = $stmt->fetch(PDO::FETCH_ASSOC);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5405
          $resourcedata['name'] = $row['username'];
Open commit View diff
5405 $resourcedata['name'] = $row['username'];
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
5406
          $resourcedata['kind'] = $row['kind'];
Open commit View diff
5406 $resourcedata['kind'] = $row['kind'];
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
5407
          $resourcedata['multiple_bookings'] = $row['multiple_bookings'];
Open commit View diff
5407 $resourcedata['multiple_bookings'] = $row['multiple_bookings'];
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
5408
          $resourcedata['description'] = $row['name'];
Open commit View diff
5408 $resourcedata['description'] = $row['name'];
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
5409
          $resourcedata['active'] = $row['active'];
Open commit View diff
5409 $resourcedata['active'] = $row['active'];
andryyy almost 6 years ago 29104dd

[Web] Compatibility: Re-add _int vars

Full commit hash
29104ddf4c9f1d78e44c161b73606d68254202e8
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
5410
          $resourcedata['active_int'] = $row['active'];
Open commit View diff
5410 $resourcedata['active_int'] = $row['active'];
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5411
          $resourcedata['domain'] = $row['domain'];
Open commit View diff
5411 $resourcedata['domain'] = $row['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
5412
          $resourcedata['local_part'] = $row['local_part'];
Open commit View diff
5412 $resourcedata['local_part'] = $row['local_part'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5413
          if (!isset($resourcedata['domain']) ||
Open commit View diff
5413 if (!isset($resourcedata['domain']) ||
same change fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5418
        break;
Open commit View diff
5418 break;
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5419
        case 'domain_wide_footer':
Open commit View diff
5419 case 'domain_wide_footer':
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5420
          $domain = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
5420 $domain = idn_to_ascii(strtolower(trim($_data)), 0, INTL_IDNA_VARIANT_UTS46);
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5421
          if (!is_valid_domain_name($domain)) {
Open commit View diff
5421 if (!is_valid_domain_name($domain)) {
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5422
            $_SESSION['return'][] = array(
Open commit View diff
5422 $_SESSION['return'][] = array(
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5423
              'type' => 'danger',
Open commit View diff
5423 'type' => 'danger',
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5424
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5424 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5425
              'msg' => 'domain_invalid'
Open commit View diff
5425 'msg' => 'domain_invalid'
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5426
            );
Open commit View diff
5426 );
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5427
            return false;
Open commit View diff
5427 return false;
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5428
          }
Open commit View diff
5428 }
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5429
          if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
Open commit View diff
5429 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5430
            $_SESSION['return'][] = array(
Open commit View diff
5430 $_SESSION['return'][] = array(
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5431
              'type' => 'danger',
Open commit View diff
5431 'type' => 'danger',
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5432
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5432 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5433
              'msg' => 'access_denied'
Open commit View diff
5433 'msg' => 'access_denied'
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5434
            );
Open commit View diff
5434 );
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5435
            return false;
Open commit View diff
5435 return false;
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5436
          }
Open commit View diff
5436 }
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5437
Open commit View diff
5437
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5438
          try {
Open commit View diff
5438 try {
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5439
            $stmt = $pdo->prepare("SELECT `html`, `plain`, `mbox_exclude`, `alias_domain_exclude`, `skip_replies` FROM `domain_wide_footer`
Open commit View diff
5439 $stmt = $pdo->prepare("SELECT `html`, `plain`, `mbox_exclude`, `alias_domain_exclude`, `skip_replies` FROM `domain_wide_footer`
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5440
              WHERE `domain` = :domain");
Open commit View diff
5440 WHERE `domain` = :domain");
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5441
            $stmt->execute(array(
Open commit View diff
5441 $stmt->execute(array(
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5442
              ':domain' => $domain
Open commit View diff
5442 ':domain' => $domain
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5443
            ));
Open commit View diff
5443 ));
same change d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5444
            $footer = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5444 $footer = $stmt->fetch(PDO::FETCH_ASSOC);
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5445
          }
Open commit View diff
5445 }
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5446
          catch (PDOException $e) {
Open commit View diff
5446 catch (PDOException $e) {
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5447
            $_SESSION['return'][] = array(
Open commit View diff
5447 $_SESSION['return'][] = array(
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5448
              'type' => 'danger',
Open commit View diff
5448 'type' => 'danger',
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5449
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5449 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5450
              'msg' => $e->getMessage()
Open commit View diff
5450 'msg' => $e->getMessage()
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5451
            );
Open commit View diff
5451 );
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5452
            return false;
Open commit View diff
5452 return false;
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5453
          }
Open commit View diff
5453 }
same change f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5454
Open commit View diff
5454
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
5455
          return $footer;
Open commit View diff
5455 return $footer;
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5456
        break;
Open commit View diff
5456 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5468
          }
Open commit View diff
5468 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5469
          if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
Open commit View diff
5469 if (!isset($_SESSION['acl']['syncjobs']) || $_SESSION['acl']['syncjobs'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5470
            $_SESSION['return'][] = array(
Open commit View diff
5470 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5471
              'type' => 'danger',
Open commit View diff
5471 '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
5472
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5472 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5474
            );
Open commit View diff
5474 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5475
            return false;
Open commit View diff
5475 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5476
          }
Open commit View diff
5476 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5480
            }
Open commit View diff
5480 }
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
5481
            $stmt = $pdo->prepare("SELECT `user2` FROM `imapsync` WHERE id = :id");
Open commit View diff
5481 $stmt = $pdo->prepare("SELECT `user2` FROM `imapsync` WHERE id = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5482
            $stmt->execute(array(':id' => $id));
Open commit View diff
5482 $stmt->execute(array(':id' => $id));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5483
            $user2 = $stmt->fetch(PDO::FETCH_ASSOC)['user2'];
Open commit View diff
5483 $user2 = $stmt->fetch(PDO::FETCH_ASSOC)['user2'];
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
5484
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $user2)) {
Open commit View diff
5484 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $user2)) {
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
5485
              $_SESSION['return'][] = array(
Open commit View diff
5485 $_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
5486
                'type' => 'danger',
Open commit View diff
5486 '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
5487
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5487 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5488
                'msg' => 'access_denied'
Open commit View diff
5488 '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
5489
              );
Open commit View diff
5489 );
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
5490
              continue;
Open commit View diff
5490 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
5491
            }
Open commit View diff
5491 }
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
5492
            $stmt = $pdo->prepare("DELETE FROM `imapsync` WHERE `id`= :id");
Open commit View diff
5492 $stmt = $pdo->prepare("DELETE FROM `imapsync` WHERE `id`= :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5493
            $stmt->execute(array(':id' => $id));
Open commit View diff
5493 $stmt->execute(array(':id' => $id));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5494
            $_SESSION['return'][] = array(
Open commit View diff
5494 $_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
5495
              'type' => 'success',
Open commit View diff
5495 '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
5496
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5496 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5497
              'msg' => array('deleted_syncjob', $id)
Open commit View diff
5497 'msg' => array('deleted_syncjob', $id)
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5498
            );
Open commit View diff
5498 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5500
        break;
Open commit View diff
5500 break;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5501
        case 'filter':
Open commit View diff
5501 case 'filter':
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5502
          if (!is_array($_data['id'])) {
Open commit View diff
5502 if (!is_array($_data['id'])) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5503
            $ids = array();
Open commit View diff
5503 $ids = array();
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5504
            $ids[] = $_data['id'];
Open commit View diff
5504 $ids[] = $_data['id'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5505
          }
Open commit View diff
5505 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5506
          else {
Open commit View diff
5506 else {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5507
            $ids = $_data['id'];
Open commit View diff
5507 $ids = $_data['id'];
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5508
          }
Open commit View diff
5508 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5509
          if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
Open commit View diff
5509 if (!isset($_SESSION['acl']['filters']) || $_SESSION['acl']['filters'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5510
            $_SESSION['return'][] = array(
Open commit View diff
5510 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5511
              'type' => 'danger',
Open commit View diff
5511 '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
5512
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5512 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5513
              'msg' => 'access_denied'
Open commit View diff
5513 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5514
            );
Open commit View diff
5514 );
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5515
            return false;
Open commit View diff
5515 return false;
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5516
          }
Open commit View diff
5516 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5517
          foreach ($ids as $id) {
Open commit View diff
5517 foreach ($ids as $id) {
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5518
            if (!is_numeric($id)) {
Open commit View diff
5518 if (!is_numeric($id)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5519
              continue;
Open commit View diff
5519 continue;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5520
            }
Open commit View diff
5520 }
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
5521
            $stmt = $pdo->prepare("SELECT `username` FROM `sieve_filters` WHERE id = :id");
Open commit View diff
5521 $stmt = $pdo->prepare("SELECT `username` FROM `sieve_filters` WHERE id = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5522
            $stmt->execute(array(':id' => $id));
Open commit View diff
5522 $stmt->execute(array(':id' => $id));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5523
            $usr = $stmt->fetch(PDO::FETCH_ASSOC)['username'];
Open commit View diff
5523 $usr = $stmt->fetch(PDO::FETCH_ASSOC)['username'];
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
5524
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $usr)) {
Open commit View diff
5524 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $usr)) {
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
5525
              $_SESSION['return'][] = array(
Open commit View diff
5525 $_SESSION['return'][] = array(
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5526
                'type' => 'danger',
Open commit View diff
5526 '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
5527
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5527 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5528
                'msg' => 'access_denied'
Open commit View diff
5528 'msg' => 'access_denied'
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5529
              );
Open commit View diff
5529 );
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
5530
              continue;
Open commit View diff
5530 continue;
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5531
            }
Open commit View diff
5531 }
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
5532
            $stmt = $pdo->prepare("DELETE FROM `sieve_filters` WHERE `id`= :id");
Open commit View diff
5532 $stmt = $pdo->prepare("DELETE FROM `sieve_filters` WHERE `id`= :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5533
            $stmt->execute(array(':id' => $id));
Open commit View diff
5533 $stmt->execute(array(':id' => $id));
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5534
            $_SESSION['return'][] = array(
Open commit View diff
5534 $_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
5535
              'type' => 'success',
Open commit View diff
5535 '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
5536
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5536 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5537
              'msg' => array('delete_filter', $id)
Open commit View diff
5537 'msg' => array('delete_filter', $id)
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5538
            );
Open commit View diff
5538 );
André over 8 years ago 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5539
          }
Open commit View diff
5539 }
same change 85d1ee2

[Web] Autodiscover returns given password decoded and trimed; Add sieve pre and post filters to UI; Move ajax called files; Rework log system: 100 entries per default, add more per click; Syncjobs: Do not read log to data attribute

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
5540
        break;
Open commit View diff
5540 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5548
          }
Open commit View diff
5548 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5549
          if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
Open commit View diff
5549 if (!isset($_SESSION['acl']['spam_alias']) || $_SESSION['acl']['spam_alias'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5550
            $_SESSION['return'][] = array(
Open commit View diff
5550 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5551
              'type' => 'danger',
Open commit View diff
5551 '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
5552
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5552 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5554
            );
Open commit View diff
5554 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5555
            return false;
Open commit View diff
5555 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5556
          }
Open commit View diff
5556 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5557
          foreach ($addresses as $address) {
Open commit View diff
5557 foreach ($addresses as $address) {
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
5558
            $stmt = $pdo->prepare("SELECT `goto` FROM `spamalias` WHERE `address` = :address");
Open commit View diff
5558 $stmt = $pdo->prepare("SELECT `goto` FROM `spamalias` WHERE `address` = :address");
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
5559
            $stmt->execute(array(':address' => $address));
Open commit View diff
5559 $stmt->execute(array(':address' => $address));
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
5560
            $goto = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
Open commit View diff
5560 $goto = $stmt->fetch(PDO::FETCH_ASSOC)['goto'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5561
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $goto)) {
Open commit View diff
5561 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $goto)) {
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
5562
              $_SESSION['return'][] = array(
Open commit View diff
5562 $_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
5563
                'type' => 'danger',
Open commit View diff
5563 '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
5564
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5564 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5565
                'msg' => 'access_denied'
Open commit View diff
5565 '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
5566
              );
Open commit View diff
5566 );
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
5567
              continue;
Open commit View diff
5567 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
5568
            }
Open commit View diff
5568 }
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
5569
            $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `goto` = :username AND `address` = :item");
Open commit View diff
5569 $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `goto` = :username AND `address` = :item");
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
5570
            $stmt->execute(array(
Open commit View diff
5570 $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
5571
              ':username' => $goto,
Open commit View diff
5571 ':username' => $goto,
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
5572
              ':item' => $address
Open commit View diff
5572 ':item' => $address
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
5573
            ));
Open commit View diff
5573 ));
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
5574
            $_SESSION['return'][] = array(
Open commit View diff
5574 $_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
5575
              'type' => 'success',
Open commit View diff
5575 '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
5576
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5576 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5577
              'msg' => array('mailbox_modified', htmlspecialchars($goto))
Open commit View diff
5577 'msg' => array('mailbox_modified', htmlspecialchars($goto))
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
5578
            );
Open commit View diff
5578 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5588
          }
Open commit View diff
5588 }
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5589
          if (!isset($_SESSION['acl']['eas_reset']) || $_SESSION['acl']['eas_reset'] != "1" ) {
Open commit View diff
5589 if (!isset($_SESSION['acl']['eas_reset']) || $_SESSION['acl']['eas_reset'] != "1" ) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5590
            $_SESSION['return'][] = array(
Open commit View diff
5590 $_SESSION['return'][] = array(
andryyy almost 9 years ago 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5591
              'type' => 'danger',
Open commit View diff
5591 '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
5592
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5592 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5594
            );
Open commit View diff
5594 );
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5595
            return false;
Open commit View diff
5595 return false;
same change 66ae588

[Web] Started work on ACL, fix notifications

Full commit hash
66ae588445af7db7d7cd274b7c82d38a935e9fa4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5596
          }
Open commit View diff
5596 }
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5598
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
5598 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
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
5599
              $_SESSION['return'][] = array(
Open commit View diff
5599 $_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
5600
                'type' => 'danger',
Open commit View diff
5600 '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
5601
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5601 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5602
                'msg' => 'access_denied'
Open commit View diff
5602 '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
5603
              );
Open commit View diff
5603 );
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
5604
              continue;
Open commit View diff
5604 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
5605
            }
Open commit View diff
5605 }
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
5606
            $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
Open commit View diff
5606 $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
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
5607
            $stmt->execute(array(
Open commit View diff
5607 $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
5608
              ':username' => $username
Open commit View diff
5608 ':username' => $username
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
5609
            ));
Open commit View diff
5609 ));
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
5610
            $_SESSION['return'][] = array(
Open commit View diff
5610 $_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
5611
              'type' => 'success',
Open commit View diff
5611 '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
5612
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5612 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5613
              'msg' => array('eas_reset', htmlspecialchars($username))
Open commit View diff
5613 'msg' => array('eas_reset', htmlspecialchars($username))
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
5614
            );
Open commit View diff
5614 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5616
        break;
Open commit View diff
5616 break;
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5617
        case 'sogo_profile':
Open commit View diff
5617 case 'sogo_profile':
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5618
          if (!is_array($_data['username'])) {
Open commit View diff
5618 if (!is_array($_data['username'])) {
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5619
            $usernames = array();
Open commit View diff
5619 $usernames = array();
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5620
            $usernames[] = $_data['username'];
Open commit View diff
5620 $usernames[] = $_data['username'];
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5621
          }
Open commit View diff
5621 }
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5622
          else {
Open commit View diff
5622 else {
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5623
            $usernames = $_data['username'];
Open commit View diff
5623 $usernames = $_data['username'];
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5624
          }
Open commit View diff
5624 }
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5625
          if (!isset($_SESSION['acl']['sogo_profile_reset']) || $_SESSION['acl']['sogo_profile_reset'] != "1" ) {
Open commit View diff
5625 if (!isset($_SESSION['acl']['sogo_profile_reset']) || $_SESSION['acl']['sogo_profile_reset'] != "1" ) {
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5626
            $_SESSION['return'][] = array(
Open commit View diff
5626 $_SESSION['return'][] = array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5627
              'type' => 'danger',
Open commit View diff
5627 'type' => 'danger',
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5628
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5628 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5629
              'msg' => 'access_denied'
Open commit View diff
5629 'msg' => 'access_denied'
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5630
            );
Open commit View diff
5630 );
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5631
            return false;
Open commit View diff
5631 return false;
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5632
          }
Open commit View diff
5632 }
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5633
          foreach ($usernames as $username) {
Open commit View diff
5633 foreach ($usernames as $username) {
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5634
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
5634 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5635
              $_SESSION['return'][] = array(
Open commit View diff
5635 $_SESSION['return'][] = array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5636
                'type' => 'danger',
Open commit View diff
5636 'type' => 'danger',
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5637
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5637 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5638
                'msg' => 'access_denied'
Open commit View diff
5638 'msg' => 'access_denied'
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5639
              );
Open commit View diff
5639 );
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5640
              continue;
Open commit View diff
5640 continue;
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5641
            }
Open commit View diff
5641 }
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5642
            $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
Open commit View diff
5642 $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5643
            $stmt->execute(array(
Open commit View diff
5643 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5644
              ':username' => $username
Open commit View diff
5644 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5645
            ));
Open commit View diff
5645 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5646
            $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
Open commit View diff
5646 $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5647
            $stmt->execute(array(
Open commit View diff
5647 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5648
              ':username' => $username
Open commit View diff
5648 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5649
            ));
Open commit View diff
5649 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5650
            $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . $username . "/%' OR `c_uid` = :username");
Open commit View diff
5650 $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . $username . "/%' OR `c_uid` = :username");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5651
            $stmt->execute(array(
Open commit View diff
5651 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5652
              ':username' => $username
Open commit View diff
5652 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5653
            ));
Open commit View diff
5653 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5654
            $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
5654 $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5655
            $stmt->execute(array(
Open commit View diff
5655 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5656
              ':username' => $username
Open commit View diff
5656 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5657
            ));
Open commit View diff
5657 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5658
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
5658 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5659
            $stmt->execute(array(
Open commit View diff
5659 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5660
              ':username' => $username
Open commit View diff
5660 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5661
            ));
Open commit View diff
5661 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5662
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
5662 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5663
            $stmt->execute(array(
Open commit View diff
5663 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5664
              ':username' => $username
Open commit View diff
5664 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5665
            ));
Open commit View diff
5665 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5666
            $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
Open commit View diff
5666 $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5667
            $stmt->execute(array(
Open commit View diff
5667 $stmt->execute(array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5668
              ':username' => $username
Open commit View diff
5668 ':username' => $username
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5669
            ));
Open commit View diff
5669 ));
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5670
            $_SESSION['return'][] = array(
Open commit View diff
5670 $_SESSION['return'][] = array(
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5671
              'type' => 'success',
Open commit View diff
5671 'type' => 'success',
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5672
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5672 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5673
              'msg' => array('sogo_profile_reset', htmlspecialchars($username))
Open commit View diff
5673 'msg' => array('sogo_profile_reset', htmlspecialchars($username))
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5674
            );
Open commit View diff
5674 );
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5675
          }
Open commit View diff
5675 }
same change e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5676
        break;
Open commit View diff
5676 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5685
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
5685 if ($_SESSION['mailcow_cc_role'] != "admin") {
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
5686
            $_SESSION['return'][] = array(
Open commit View diff
5686 $_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
5687
              'type' => 'danger',
Open commit View diff
5687 '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
5688
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5688 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5694
            if (!is_valid_domain_name($domain)) {
Open commit View diff
5694 if (!is_valid_domain_name($domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5695
              $_SESSION['return'][] = array(
Open commit View diff
5695 $_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
5696
                'type' => 'danger',
Open commit View diff
5696 '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
5697
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5697 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5698
                'msg' => 'domain_invalid'
Open commit View diff
5698 'msg' => 'domain_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
5699
              );
Open commit View diff
5699 );
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
5700
              continue;
Open commit View diff
5700 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
5701
            }
Open commit View diff
5701 }
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
5702
            $domain = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
Open commit View diff
5702 $domain = idn_to_ascii(strtolower(trim($domain)), 0, INTL_IDNA_VARIANT_UTS46);
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
5703
            $stmt = $pdo->prepare("SELECT `username` FROM `mailbox`
Open commit View diff
5703 $stmt = $pdo->prepare("SELECT `username` FROM `mailbox`
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
5704
              WHERE `domain` = :domain");
Open commit View diff
5704 WHERE `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
5705
            $stmt->execute(array(':domain' => $domain));
Open commit View diff
5705 $stmt->execute(array(':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
5706
            $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC));
Open commit View diff
5706 $num_results = count($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
5707
            if ($num_results != 0 || !empty($num_results)) {
Open commit View diff
5707 if ($num_results != 0 || !empty($num_results)) {
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
5708
              $_SESSION['return'][] = array(
Open commit View diff
5708 $_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
5709
                'type' => 'danger',
Open commit View diff
5709 '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
5710
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5710 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy almost 7 years ago d8dfd50

[Web] Minor fixes and changes

Full commit hash
d8dfd5061bfa0d501140c2e9df53db9204cd8270
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
5711
                'msg' => array('domain_not_empty', $domain)
Open commit View diff
5711 'msg' => array('domain_not_empty', $domain)
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5712
              );
Open commit View diff
5712 );
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
5713
              continue;
Open commit View diff
5713 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
5714
            }
Open commit View diff
5714 }
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5715
            $exec_fields = array('cmd' => 'maildir', 'task' => 'cleanup', 'maildir' => $domain);
Open commit View diff
5715 $exec_fields = array('cmd' => 'maildir', 'task' => 'cleanup', 'maildir' => $domain);
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5716
            $maildir_gc = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
Open commit View diff
5716 $maildir_gc = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5717
            if ($maildir_gc['type'] != 'success') {
Open commit View diff
5717 if ($maildir_gc['type'] != 'success') {
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5718
              $_SESSION['return'][] = array(
Open commit View diff
5718 $_SESSION['return'][] = array(
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5719
                'type' => 'warning',
Open commit View diff
5719 'type' => 'warning',
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5720
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5720 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5721
                'msg' => 'Could not move mail storage to garbage collector: ' . $maildir_gc['msg']
Open commit View diff
5721 'msg' => 'Could not move mail storage to garbage collector: ' . $maildir_gc['msg']
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5722
              );
Open commit View diff
5722 );
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5723
            }
Open commit View diff
5723 }
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
5724
            $stmt = $pdo->prepare("DELETE FROM `domain` WHERE `domain` = :domain");
Open commit View diff
5724 $stmt = $pdo->prepare("DELETE FROM `domain` WHERE `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
5725
            $stmt->execute(array(
Open commit View diff
5725 $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
5726
              ':domain' => $domain,
Open commit View diff
5726 ':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
5727
            ));
Open commit View diff
5727 ));
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
5728
            $stmt = $pdo->prepare("DELETE FROM `domain_admins` WHERE `domain` = :domain");
Open commit View diff
5728 $stmt = $pdo->prepare("DELETE FROM `domain_admins` WHERE `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
5729
            $stmt->execute(array(
Open commit View diff
5729 $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
5730
              ':domain' => $domain,
Open commit View diff
5730 ':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
5731
            ));
Open commit View diff
5731 ));
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
5732
            $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `domain` = :domain");
Open commit View diff
5732 $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `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
5733
            $stmt->execute(array(
Open commit View diff
5733 $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
5734
              ':domain' => $domain,
Open commit View diff
5734 ':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
5735
            ));
Open commit View diff
5735 ));
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
5736
            $stmt = $pdo->prepare("DELETE FROM `alias_domain` WHERE `target_domain` = :domain");
Open commit View diff
5736 $stmt = $pdo->prepare("DELETE FROM `alias_domain` WHERE `target_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
5737
            $stmt->execute(array(
Open commit View diff
5737 $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
5738
              ':domain' => $domain,
Open commit View diff
5738 ':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
5739
            ));
Open commit View diff
5739 ));
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
5740
            $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `domain` = :domain");
Open commit View diff
5740 $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `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
5741
            $stmt->execute(array(
Open commit View diff
5741 $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
5742
              ':domain' => $domain,
Open commit View diff
5742 ':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
5743
            ));
Open commit View diff
5743 ));
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
5744
            $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `logged_in_as` LIKE :domain");
Open commit View diff
5744 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `logged_in_as` LIKE :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
5745
            $stmt->execute(array(
Open commit View diff
5745 $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
5746
              ':domain' => '%@'.$domain,
Open commit View diff
5746 ':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
5747
            ));
Open commit View diff
5747 ));
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5748
            $stmt = $pdo->prepare("DELETE FROM `quota2` WHERE `username` LIKE :domain");
Open commit View diff
5748 $stmt = $pdo->prepare("DELETE FROM `quota2` WHERE `username` LIKE :domain");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5749
            $stmt->execute(array(
Open commit View diff
5749 $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
5750
              ':domain' => '%@'.$domain,
Open commit View diff
5750 ':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
5751
            ));
Open commit View diff
5751 ));
andryyy over 6 years ago c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5752
            $stmt = $pdo->prepare("DELETE FROM `pushover` WHERE `username` LIKE :domain");
Open commit View diff
5752 $stmt = $pdo->prepare("DELETE FROM `pushover` WHERE `username` LIKE :domain");
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5753
            $stmt->execute(array(
Open commit View diff
5753 $stmt->execute(array(
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5754
              ':domain' => '%@'.$domain,
Open commit View diff
5754 ':domain' => '%@'.$domain,
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5755
            ));
Open commit View diff
5755 ));
andryyy over 6 years ago 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5756
            $stmt = $pdo->prepare("DELETE FROM `quota2replica` WHERE `username` LIKE :domain");
Open commit View diff
5756 $stmt = $pdo->prepare("DELETE FROM `quota2replica` WHERE `username` LIKE :domain");
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5757
            $stmt->execute(array(
Open commit View diff
5757 $stmt->execute(array(
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5758
              ':domain' => '%@'.$domain,
Open commit View diff
5758 ':domain' => '%@'.$domain,
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5759
            ));
Open commit View diff
5759 ));
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5760
            $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `address` LIKE :domain");
Open commit View diff
5760 $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `address` LIKE :domain");
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5761
            $stmt->execute(array(
Open commit View diff
5761 $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
5762
              ':domain' => '%@'.$domain,
Open commit View diff
5762 ':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
5763
            ));
Open commit View diff
5763 ));
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
5764
            $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :domain");
Open commit View diff
5764 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `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
5765
            $stmt->execute(array(
Open commit View diff
5765 $stmt->execute(array(
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5766
              ':domain' => $domain,
Open commit View diff
5766 ':domain' => $domain,
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5767
            ));
Open commit View diff
5767 ));
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
5768
            $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :domain");
Open commit View diff
5768 $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :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
5769
            $stmt->execute(array(
Open commit View diff
5769 $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
5770
              ':domain' => $domain,
Open commit View diff
5770 ':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
5771
            ));
Open commit View diff
5771 ));
DerLinkman 11 months ago c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5772
            $stmt = $pdo->prepare("DELETE FROM `mta_sts` WHERE `domain` = :domain");
Open commit View diff
5772 $stmt = $pdo->prepare("DELETE FROM `mta_sts` WHERE `domain` = :domain");
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5773
            $stmt->execute(array(
Open commit View diff
5773 $stmt->execute(array(
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5774
              ':domain' => $domain,
Open commit View diff
5774 ':domain' => $domain,
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5775
            ));
Open commit View diff
5775 ));
andryyy almost 7 years ago 6213d6e

[Web] Remove dangling domain admins after deleting domain, fixes #3027

Full commit hash
6213d6ee02a4054a909cc0d7a2b87f4b19e4aad0
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
5776
            $stmt = $pdo->query("DELETE FROM `admin` WHERE `superadmin` = 0 AND `username` NOT IN (SELECT `username`FROM `domain_admins`);");
Open commit View diff
5776 $stmt = $pdo->query("DELETE FROM `admin` WHERE `superadmin` = 0 AND `username` NOT IN (SELECT `username`FROM `domain_admins`);");
andryyy almost 7 years ago 8783ec4

[Web] Remove dangling domain admins after deleting domain, fixes #3027 - again

Full commit hash
8783ec4415b95fef55a013b5e0eae33e986c4c8f
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
5777
            $stmt = $pdo->query("DELETE FROM `da_acl` WHERE `username` NOT IN (SELECT `username`FROM `domain_admins`);");
Open commit View diff
5777 $stmt = $pdo->query("DELETE FROM `da_acl` WHERE `username` NOT IN (SELECT `username`FROM `domain_admins`);");
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5779
              $redis->hDel('DOMAIN_MAP', $domain);
Open commit View diff
5779 $redis->hDel('DOMAIN_MAP', $domain);
André almost 8 years ago d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5780
              $redis->hDel('RL_VALUE', $domain);
Open commit View diff
5780 $redis->hDel('RL_VALUE', $domain);
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5782
            catch (RedisException $e) {
Open commit View diff
5782 catch (RedisException $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
5783
              $_SESSION['return'][] = array(
Open commit View diff
5783 $_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
5784
                'type' => 'danger',
Open commit View diff
5784 '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
5785
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5785 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5786
                'msg' => array('redis_error', $e)
Open commit View diff
5786 'msg' => array('redis_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
5787
              );
Open commit View diff
5787 );
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
5788
              continue;
Open commit View diff
5788 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
5789
            }
Open commit View diff
5789 }
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
5790
            $_SESSION['return'][] = array(
Open commit View diff
5790 $_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
5791
              'type' => 'success',
Open commit View diff
5791 '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
5792
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5792 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5793
              'msg' => array('domain_removed', htmlspecialchars($domain))
Open commit View diff
5793 'msg' => array('domain_removed', htmlspecialchars($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
5794
            );
Open commit View diff
5794 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5796
        break;
Open commit View diff
5796 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5797
        case 'domain_templates':
Open commit View diff
5797 case 'domain_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5798
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
5798 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5799
            $_SESSION['return'][] = array(
Open commit View diff
5799 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5800
              'type' => 'danger',
Open commit View diff
5800 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5801
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5801 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5802
              'msg' => 'access_denied'
Open commit View diff
5802 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5803
            );
Open commit View diff
5803 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5804
            return false;
Open commit View diff
5804 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5805
          }
Open commit View diff
5805 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5806
          if (!is_array($_data['ids'])) {
Open commit View diff
5806 if (!is_array($_data['ids'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5807
            $ids = array();
Open commit View diff
5807 $ids = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5808
            $ids[] = $_data['ids'];
Open commit View diff
5808 $ids[] = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5809
          }
Open commit View diff
5809 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5810
          else {
Open commit View diff
5810 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5811
            $ids = $_data['ids'];
Open commit View diff
5811 $ids = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5812
          }
Open commit View diff
5812 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5813
Open commit View diff
5813
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
5814
Open commit View diff
5814
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5815
          foreach ($ids as $id) {
Open commit View diff
5815 foreach ($ids as $id) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5816
            // delete template
Open commit View diff
5816 // delete template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5817
            $stmt = $pdo->prepare("DELETE FROM `templates`
Open commit View diff
5817 $stmt = $pdo->prepare("DELETE FROM `templates`
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5818
              WHERE id = :id AND type = :type AND NOT template = :template");
Open commit View diff
5818 WHERE id = :id AND type = :type AND NOT template = :template");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5819
            $stmt->execute(array(
Open commit View diff
5819 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5820
              ":id" => $id,
Open commit View diff
5820 ":id" => $id,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5821
              ":type" => "domain",
Open commit View diff
5821 ":type" => "domain",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5822
              ":template" => "Default"
Open commit View diff
5822 ":template" => "Default"
DerLinkman over 3 years ago f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5823
            ));
Open commit View diff
5823 ));
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5824
Open commit View diff
5824
DerLinkman over 3 years ago f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5825
            $_SESSION['return'][] = array(
Open commit View diff
5825 $_SESSION['return'][] = array(
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5826
              'type' => 'success',
Open commit View diff
5826 'type' => 'success',
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5827
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5827 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5828
              'msg' => array('template_removed', htmlspecialchars($id))
Open commit View diff
5828 'msg' => array('template_removed', htmlspecialchars($id))
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5829
            );
Open commit View diff
5829 );
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5830
            return true;
Open commit View diff
5830 return true;
same change f4731ee

Cleanup + Language Fixes

Full commit hash
f4731eecdb029be7393177bc76c6e649e40320b2
Author
DerLinkman <[email protected]>
Date
over 3 years ago
Selected line
5831
          }
Open commit View diff
5831 }
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5832
        break;
Open commit View diff
5832 break;
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5833
        case 'alias':
Open commit View diff
5833 case 'alias':
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
5834
          if (!is_array($_data['id'])) {
Open commit View diff
5834 if (!is_array($_data['id'])) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5835
            $ids = array();
Open commit View diff
5835 $ids = 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
5836
            $ids[] = $_data['id'];
Open commit View diff
5836 $ids[] = $_data['id'];
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5838
          else {
Open commit View diff
5838 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
5839
            $ids = $_data['id'];
Open commit View diff
5839 $ids = $_data['id'];
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5840
          }
Open commit View diff
5840 }
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
5841
          foreach ($ids as $id) {
Open commit View diff
5841 foreach ($ids as $id) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5842
            $alias_data = mailbox('get', 'alias_details', $id);
Open commit View diff
5842 $alias_data = mailbox('get', 'alias_details', $id);
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5843
            if (empty($alias_data)) {
Open commit View diff
5843 if (empty($alias_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
5844
              $_SESSION['return'][] = array(
Open commit View diff
5844 $_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
5845
                'type' => 'danger',
Open commit View diff
5845 '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
5846
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5846 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5847
                'msg' => 'access_denied'
Open commit View diff
5847 '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
5848
              );
Open commit View diff
5848 );
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
5849
              continue;
Open commit View diff
5849 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
5850
            }
Open commit View diff
5850 }
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5851
Open commit View diff
5851
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5852
            // Track affected mailboxes for SOGo update (capture before deletion)
Open commit View diff
5852 // Track affected mailboxes for SOGo update (capture before deletion)
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5853
            if (!empty($alias_data['goto'])) {
Open commit View diff
5853 if (!empty($alias_data['goto'])) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5854
              $gotos = array_map('trim', explode(',', $alias_data['goto']));
Open commit View diff
5854 $gotos = array_map('trim', explode(',', $alias_data['goto']));
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5855
              foreach ($gotos as $g) {
Open commit View diff
5855 foreach ($gotos as $g) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5856
                if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
Open commit View diff
5856 if (filter_var($g, FILTER_VALIDATE_EMAIL) &&
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5857
                    !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
Open commit View diff
5857 !in_array($g, array('null@localhost', 'spam@localhost', 'ham@localhost'))) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5858
                  $update_sogo_mailboxes[] = $g;
Open commit View diff
5858 $update_sogo_mailboxes[] = $g;
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5859
                }
Open commit View diff
5859 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5860
              }
Open commit View diff
5860 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5861
            }
Open commit View diff
5861 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5862
Open commit View diff
5862
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
5863
            $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `id` = :id");
Open commit View diff
5863 $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `id` = :id");
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5864
            $stmt->execute(array(
Open commit View diff
5864 $stmt->execute(array(
Programmierus about 6 years ago e3d9a53

Some minor changes to Aliases handling (#3572)

Full commit hash
e3d9a53eeb2c2e2dc6e084a7788bc92a3b67bd24
Author
Programmierus <[email protected]>
Date
about 6 years ago
Selected line
5865
              ':id' => $alias_data['id']
Open commit View diff
5865 ':id' => $alias_data['id']
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5866
            ));
Open commit View diff
5866 ));
andryyy about 7 years ago 2508ee5

[Web] Delete from sender_acl when deleting an alias

Full commit hash
2508ee5b69c4ab5d091d3cc71af9b5d415a98a53
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
5867
            $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `send_as` = :alias_address");
Open commit View diff
5867 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `send_as` = :alias_address");
same change 2508ee5

[Web] Delete from sender_acl when deleting an alias

Full commit hash
2508ee5b69c4ab5d091d3cc71af9b5d415a98a53
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
5868
            $stmt->execute(array(
Open commit View diff
5868 $stmt->execute(array(
same change 2508ee5

[Web] Delete from sender_acl when deleting an alias

Full commit hash
2508ee5b69c4ab5d091d3cc71af9b5d415a98a53
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
5869
              ':alias_address' => $alias_data['address']
Open commit View diff
5869 ':alias_address' => $alias_data['address']
same change 2508ee5

[Web] Delete from sender_acl when deleting an alias

Full commit hash
2508ee5b69c4ab5d091d3cc71af9b5d415a98a53
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
5870
            ));
Open commit View diff
5870 ));
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
5871
            $_SESSION['return'][] = array(
Open commit View diff
5871 $_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
5872
              'type' => 'success',
Open commit View diff
5872 '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
5873
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5873 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5874
              'msg' => array('alias_removed', htmlspecialchars($alias_data['address']))
Open commit View diff
5874 'msg' => array('alias_removed', htmlspecialchars($alias_data['address']))
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
5875
            );
Open commit View diff
5875 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5887
            if (!is_valid_domain_name($alias_domain)) {
Open commit View diff
5887 if (!is_valid_domain_name($alias_domain)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5888
              $_SESSION['return'][] = array(
Open commit View diff
5888 $_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
5889
                'type' => 'danger',
Open commit View diff
5889 '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
5890
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5890 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5891
                'msg' => 'domain_invalid'
Open commit View diff
5891 'msg' => 'domain_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
5892
              );
Open commit View diff
5892 );
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
5893
              continue;
Open commit View diff
5893 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
5894
            }
Open commit View diff
5894 }
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
5895
            $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_domain`
Open commit View diff
5895 $stmt = $pdo->prepare("SELECT `target_domain` FROM `alias_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
5896
              WHERE `alias_domain`= :alias_domain");
Open commit View diff
5896 WHERE `alias_domain`= :alias_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
5897
            $stmt->execute(array(':alias_domain' => $alias_domain));
Open commit View diff
5897 $stmt->execute(array(':alias_domain' => $alias_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
5898
            $DomainData = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
5898 $DomainData = $stmt->fetch(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
5899
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $DomainData['target_domain'])) {
Open commit View diff
5899 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $DomainData['target_domain'])) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5900
              $_SESSION['return'][] = array(
Open commit View diff
5900 $_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
5901
                'type' => 'danger',
Open commit View diff
5901 '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
5902
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5902 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5903
                'msg' => 'access_denied'
Open commit View diff
5903 '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
5904
              );
Open commit View diff
5904 );
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
5905
              continue;
Open commit View diff
5905 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
5906
            }
Open commit View diff
5906 }
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
5907
            $stmt = $pdo->prepare("DELETE FROM `alias_domain` WHERE `alias_domain` = :alias_domain");
Open commit View diff
5907 $stmt = $pdo->prepare("DELETE FROM `alias_domain` WHERE `alias_domain` = :alias_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
5908
            $stmt->execute(array(
Open commit View diff
5908 $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
5909
              ':alias_domain' => $alias_domain,
Open commit View diff
5909 ':alias_domain' => $alias_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
5910
            ));
Open commit View diff
5910 ));
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
5911
            $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `domain` = :alias_domain");
Open commit View diff
5911 $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `domain` = :alias_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
5912
            $stmt->execute(array(
Open commit View diff
5912 $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
5913
              ':alias_domain' => $alias_domain,
Open commit View diff
5913 ':alias_domain' => $alias_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
5914
            ));
Open commit View diff
5914 ));
andryyy over 4 years ago b820096

[Web] Delete related spam aliases when deleting alias domain

Full commit hash
b82009665670c55376d27149a25be23ed16c5814
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
5915
            $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `address` LIKE :domain");
Open commit View diff
5915 $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `address` LIKE :domain");
same change b820096

[Web] Delete related spam aliases when deleting alias domain

Full commit hash
b82009665670c55376d27149a25be23ed16c5814
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
5916
            $stmt->execute(array(
Open commit View diff
5916 $stmt->execute(array(
same change b820096

[Web] Delete related spam aliases when deleting alias domain

Full commit hash
b82009665670c55376d27149a25be23ed16c5814
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
5917
              ':domain' => '%@'.$alias_domain,
Open commit View diff
5917 ':domain' => '%@'.$alias_domain,
same change b820096

[Web] Delete related spam aliases when deleting alias domain

Full commit hash
b82009665670c55376d27149a25be23ed16c5814
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
5918
            ));
Open commit View diff
5918 ));
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
5919
            $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :alias_domain");
Open commit View diff
5919 $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :alias_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
5920
            $stmt->execute(array(
Open commit View diff
5920 $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
5921
              ':alias_domain' => $alias_domain,
Open commit View diff
5921 ':alias_domain' => $alias_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
5922
            ));
Open commit View diff
5922 ));
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5923
            try {
Open commit View diff
5923 try {
same change 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5924
              $redis->hDel('DOMAIN_MAP', $alias_domain);
Open commit View diff
5924 $redis->hDel('DOMAIN_MAP', $alias_domain);
André almost 8 years ago d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5925
              $redis->hDel('RL_VALUE', $domain);
Open commit View diff
5925 $redis->hDel('RL_VALUE', $domain);
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5926
            }
Open commit View diff
5926 }
same change 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5927
            catch (RedisException $e) {
Open commit View diff
5927 catch (RedisException $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
5928
              $_SESSION['return'][] = array(
Open commit View diff
5928 $_SESSION['return'][] = array(
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5929
                'type' => 'danger',
Open commit View diff
5929 '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
5930
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5930 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5931
                'msg' => array('redis_error', $e)
Open commit View diff
5931 'msg' => array('redis_error', $e)
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5932
              );
Open commit View diff
5932 );
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
5933
              continue;
Open commit View diff
5933 continue;
andre.peters over 8 years ago 8419266

[Web] Important fixes for quarantaine; other minor changes

Full commit hash
841926667807b579efe2d5af002a1ba948fad058
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
5934
            }
Open commit View diff
5934 }
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
5935
            $_SESSION['return'][] = array(
Open commit View diff
5935 $_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
5936
              'type' => 'success',
Open commit View diff
5936 '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
5937
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5937 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5938
              'msg' => array('alias_domain_removed', htmlspecialchars($alias_domain))
Open commit View diff
5938 'msg' => array('alias_domain_removed', htmlspecialchars($alias_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
5939
            );
Open commit View diff
5939 );
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5951
            if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
5951 if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5952
              $_SESSION['return'][] = array(
Open commit View diff
5952 $_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
5953
                'type' => 'danger',
Open commit View diff
5953 '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
5954
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5954 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5955
                'msg' => 'access_denied'
Open commit View diff
5955 '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
5956
              );
Open commit View diff
5956 );
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
5957
              continue;
Open commit View diff
5957 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
5958
            }
Open commit View diff
5958 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5959
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
Open commit View diff
5959 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $username)) {
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
5960
              $_SESSION['return'][] = array(
Open commit View diff
5960 $_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
5961
                'type' => 'danger',
Open commit View diff
5961 '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
5962
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5962 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5963
                'msg' => 'access_denied'
Open commit View diff
5963 '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
5964
              );
Open commit View diff
5964 );
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
5965
              continue;
Open commit View diff
5965 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
5966
            }
Open commit View diff
5966 }
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5967
            $mailbox_details = mailbox('get', 'mailbox_details', $username);
Open commit View diff
5967 $mailbox_details = mailbox('get', 'mailbox_details', $username);
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5968
            if (!empty($mailbox_details['domain']) && !empty($mailbox_details['local_part'])) {
Open commit View diff
5968 if (!empty($mailbox_details['domain']) && !empty($mailbox_details['local_part'])) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5969
              $maildir = $mailbox_details['domain'] . '/' . $mailbox_details['local_part'];
Open commit View diff
5969 $maildir = $mailbox_details['domain'] . '/' . $mailbox_details['local_part'];
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5970
              $exec_fields = array('cmd' => 'maildir', 'task' => 'cleanup', 'maildir' => $maildir);
Open commit View diff
5970 $exec_fields = array('cmd' => 'maildir', 'task' => 'cleanup', 'maildir' => $maildir);
FreddleSpl0it about 3 years ago 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5971
Open commit View diff
5971
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5972
              if (getenv("CLUSTERMODE") == "replication") {
Open commit View diff
5972 if (getenv("CLUSTERMODE") == "replication") {
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5973
                // broadcast to each dovecot container
Open commit View diff
5973 // broadcast to each dovecot container
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5974
                docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields);
Open commit View diff
5974 docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields);
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5975
              } else {
Open commit View diff
5975 } else {
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5976
                $maildir_gc = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
Open commit View diff
5976 $maildir_gc = json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true);
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5977
                if ($maildir_gc['type'] != 'success') {
Open commit View diff
5977 if ($maildir_gc['type'] != 'success') {
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5978
                  $_SESSION['return'][] = array(
Open commit View diff
5978 $_SESSION['return'][] = array(
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5979
                    'type' => 'warning',
Open commit View diff
5979 'type' => 'warning',
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5980
                    'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5980 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5981
                    'msg' => 'Could not move maildir to garbage collector: ' . $maildir_gc['msg']
Open commit View diff
5981 'msg' => 'Could not move maildir to garbage collector: ' . $maildir_gc['msg']
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5982
                  );
Open commit View diff
5982 );
same change 0f69565

[Web] add CLUSTERMODE environment variable

Full commit hash
0f6956572e760f6b303902f95de5898848d28cff
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
5983
                }
Open commit View diff
5983 }
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5984
              }
Open commit View diff
5984 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5985
            }
Open commit View diff
5985 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5986
            else {
Open commit View diff
5986 else {
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5987
              $_SESSION['return'][] = array(
Open commit View diff
5987 $_SESSION['return'][] = array(
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5988
                'type' => 'warning',
Open commit View diff
5988 'type' => 'warning',
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5989
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
5989 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5990
                'msg' => 'Could not move maildir to garbage collector: variables local_part and/or domain empty'
Open commit View diff
5990 'msg' => 'Could not move maildir to garbage collector: variables local_part and/or domain empty'
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5991
              );
Open commit View diff
5991 );
same change 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
5992
            }
Open commit View diff
5992 }
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
5993
            $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `goto` = :username");
Open commit View diff
5993 $stmt = $pdo->prepare("DELETE FROM `alias` WHERE `goto` = :username");
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
5994
            $stmt->execute(array(
Open commit View diff
5994 $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
5995
              ':username' => $username
Open commit View diff
5995 ':username' => $username
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
5996
            ));
Open commit View diff
5996 ));
andryyy over 6 years ago c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5997
            $stmt = $pdo->prepare("DELETE FROM `pushover` WHERE `username` = :username");
Open commit View diff
5997 $stmt = $pdo->prepare("DELETE FROM `pushover` WHERE `username` = :username");
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5998
            $stmt->execute(array(
Open commit View diff
5998 $stmt->execute(array(
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5999
              ':username' => $username
Open commit View diff
5999 ':username' => $username
same change c67bb75

[Rspamd] More pushover options

Full commit hash
c67bb75071089c1e8f057721e5efdf085ec0c385
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6000
            ));
Open commit View diff
6000 ));
andryyy over 7 years ago c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6001
            $stmt = $pdo->prepare("DELETE FROM `quarantine` WHERE `rcpt` = :username");
Open commit View diff
6001 $stmt = $pdo->prepare("DELETE FROM `quarantine` WHERE `rcpt` = :username");
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6002
            $stmt->execute(array(
Open commit View diff
6002 $stmt->execute(array(
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6003
              ':username' => $username
Open commit View diff
6003 ':username' => $username
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6004
            ));
Open commit View diff
6004 ));
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
6005
            $stmt = $pdo->prepare("DELETE FROM `quota2` WHERE `username` = :username");
Open commit View diff
6005 $stmt = $pdo->prepare("DELETE FROM `quota2` WHERE `username` = :username");
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
6006
            $stmt->execute(array(
Open commit View diff
6006 $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
6007
              ':username' => $username
Open commit View diff
6007 ':username' => $username
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
6008
            ));
Open commit View diff
6008 ));
andryyy over 6 years ago 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6009
            $stmt = $pdo->prepare("DELETE FROM `quota2replica` WHERE `username` = :username");
Open commit View diff
6009 $stmt = $pdo->prepare("DELETE FROM `quota2replica` WHERE `username` = :username");
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6010
            $stmt->execute(array(
Open commit View diff
6010 $stmt->execute(array(
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6011
              ':username' => $username
Open commit View diff
6011 ':username' => $username
same change 6686152

[Web] Use redis master where necessary, hide UI if not master, create replicate quota2 table

Full commit hash
6686152ce05802a9cb70ce7200d36efda9b15cae
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6012
            ));
Open commit View diff
6012 ));
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
6013
            $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `username` = :username");
Open commit View diff
6013 $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `username` = :username");
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
6014
            $stmt->execute(array(
Open commit View diff
6014 $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
6015
              ':username' => $username
Open commit View diff
6015 ':username' => $username
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
6016
            ));
Open commit View diff
6016 ));
FreddleSpl0it over 3 years ago d7dfa95

[Web] Fix deleting sender_acl when mbox is deleted

Full commit hash
d7dfa95e1b810e3bf0362426aa08ff3c879a5a0b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6017
            $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as OR `send_as` = :send_as");
Open commit View diff
6017 $stmt = $pdo->prepare("DELETE FROM `sender_acl` WHERE `logged_in_as` = :logged_in_as OR `send_as` = :send_as");
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
6018
            $stmt->execute(array(
Open commit View diff
6018 $stmt->execute(array(
FreddleSpl0it over 3 years ago d7dfa95

[Web] Fix deleting sender_acl when mbox is deleted

Full commit hash
d7dfa95e1b810e3bf0362426aa08ff3c879a5a0b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6019
              ':logged_in_as' => $username,
Open commit View diff
6019 ':logged_in_as' => $username,
same change d7dfa95

[Web] Fix deleting sender_acl when mbox is deleted

Full commit hash
d7dfa95e1b810e3bf0362426aa08ff3c879a5a0b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6020
              ':send_as' => $username
Open commit View diff
6020 ':send_as' => $username
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
6021
            ));
Open commit View diff
6021 ));
andryyy over 7 years ago c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6022
            // fk, better safe than sorry
Open commit View diff
6022 // fk, better safe than sorry
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6023
            $stmt = $pdo->prepare("DELETE FROM `user_acl` WHERE `username` = :username");
Open commit View diff
6023 $stmt = $pdo->prepare("DELETE FROM `user_acl` WHERE `username` = :username");
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6024
            $stmt->execute(array(
Open commit View diff
6024 $stmt->execute(array(
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6025
              ':username' => $username
Open commit View diff
6025 ':username' => $username
same change c111c4e

[Web] Delete from quarantine and user_acl when deleting mailbox

Full commit hash
c111c4e42931c5d8a29d34d95cf6aea0e7216210
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6026
            ));
Open commit View diff
6026 ));
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
6027
            $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `goto` = :username");
Open commit View diff
6027 $stmt = $pdo->prepare("DELETE FROM `spamalias` WHERE `goto` = :username");
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
6028
            $stmt->execute(array(
Open commit View diff
6028 $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
6029
              ':username' => $username
Open commit View diff
6029 ':username' => $username
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
6030
            ));
Open commit View diff
6030 ));
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
6031
            $stmt = $pdo->prepare("DELETE FROM `imapsync` WHERE `user2` = :username");
Open commit View diff
6031 $stmt = $pdo->prepare("DELETE FROM `imapsync` WHERE `user2` = :username");
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
6032
            $stmt->execute(array(
Open commit View diff
6032 $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
6033
              ':username' => $username
Open commit View diff
6033 ':username' => $username
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
6034
            ));
Open commit View diff
6034 ));
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
6035
            $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username");
Open commit View diff
6035 $stmt = $pdo->prepare("DELETE FROM `filterconf` WHERE `object` = :username");
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
6036
            $stmt->execute(array(
Open commit View diff
6036 $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
6037
              ':username' => $username
Open commit View diff
6037 ':username' => $username
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
6038
            ));
Open commit View diff
6038 ));
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
6039
            $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
Open commit View diff
6039 $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
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
6040
            $stmt->execute(array(
Open commit View diff
6040 $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
6041
              ':username' => $username
Open commit View diff
6041 ':username' => $username
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
6042
            ));
Open commit View diff
6042 ));
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
6043
            $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
Open commit View diff
6043 $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
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
6044
            $stmt->execute(array(
Open commit View diff
6044 $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
6045
              ':username' => $username
Open commit View diff
6045 ':username' => $username
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
6046
            ));
Open commit View diff
6046 ));
andryyy almost 7 years ago 03259d6

[Web] Minor fixes

Full commit hash
03259d66bb7f7dd8dce663bab843945faf026ae3
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6047
            $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . str_replace('%', '\%', $username) . "/%' OR `c_uid` = :username");
Open commit View diff
6047 $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . str_replace('%', '\%', $username) . "/%' OR `c_uid` = :username");
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
6048
            $stmt->execute(array(
Open commit View diff
6048 $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
6049
              ':username' => $username
Open commit View diff
6049 ':username' => $username
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
6050
            ));
Open commit View diff
6050 ));
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
6051
            $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6051 $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6052
            $stmt->execute(array(
Open commit View diff
6052 $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
6053
              ':username' => $username
Open commit View diff
6053 ':username' => $username
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
6054
            ));
Open commit View diff
6054 ));
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
6055
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6055 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6056
            $stmt->execute(array(
Open commit View diff
6056 $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
6057
              ':username' => $username
Open commit View diff
6057 ':username' => $username
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
6058
            ));
Open commit View diff
6058 ));
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
6059
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6059 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6060
            $stmt->execute(array(
Open commit View diff
6060 $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
6061
              ':username' => $username
Open commit View diff
6061 ':username' => $username
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
6062
            ));
Open commit View diff
6062 ));
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
6063
            $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
Open commit View diff
6063 $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
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
6064
            $stmt->execute(array(
Open commit View diff
6064 $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
6065
              ':username' => $username
Open commit View diff
6065 ':username' => $username
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
6066
            ));
Open commit View diff
6066 ));
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
6067
            $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :username");
Open commit View diff
6067 $stmt = $pdo->prepare("DELETE FROM `bcc_maps` WHERE `local_dest` = :username");
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
6068
            $stmt->execute(array(
Open commit View diff
6068 $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
6069
              ':username' => $username
Open commit View diff
6069 ':username' => $username
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
6070
            ));
Open commit View diff
6070 ));
andryyy almost 7 years ago 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6071
            $stmt = $pdo->prepare("DELETE FROM `oauth_access_tokens` WHERE `user_id` = :username");
Open commit View diff
6071 $stmt = $pdo->prepare("DELETE FROM `oauth_access_tokens` WHERE `user_id` = :username");
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6072
            $stmt->execute(array(
Open commit View diff
6072 $stmt->execute(array(
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6073
              ':username' => $username
Open commit View diff
6073 ':username' => $username
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6074
            ));
Open commit View diff
6074 ));
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6075
            $stmt = $pdo->prepare("DELETE FROM `oauth_refresh_tokens` WHERE `user_id` = :username");
Open commit View diff
6075 $stmt = $pdo->prepare("DELETE FROM `oauth_refresh_tokens` WHERE `user_id` = :username");
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6076
            $stmt->execute(array(
Open commit View diff
6076 $stmt->execute(array(
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6077
              ':username' => $username
Open commit View diff
6077 ':username' => $username
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6078
            ));
Open commit View diff
6078 ));
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6079
            $stmt = $pdo->prepare("DELETE FROM `oauth_authorization_codes` WHERE `user_id` = :username");
Open commit View diff
6079 $stmt = $pdo->prepare("DELETE FROM `oauth_authorization_codes` WHERE `user_id` = :username");
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6080
            $stmt->execute(array(
Open commit View diff
6080 $stmt->execute(array(
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6081
              ':username' => $username
Open commit View diff
6081 ':username' => $username
same change 1c35002

[Web] Do not allow to add domain admin for non existing domain

Full commit hash
1c35002505f4eeaa32329fbed42a123ede85cf4b
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
6082
            ));
Open commit View diff
6082 ));
andryyy about 5 years ago d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6083
            $stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
Open commit View diff
6083 $stmt = $pdo->prepare("DELETE FROM `tfa` WHERE `username` = :username");
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6084
            $stmt->execute(array(
Open commit View diff
6084 $stmt->execute(array(
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6085
              ':username' => $username,
Open commit View diff
6085 ':username' => $username,
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6086
            ));
Open commit View diff
6086 ));
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6087
            $stmt = $pdo->prepare("DELETE FROM `fido2` WHERE `username` = :username");
Open commit View diff
6087 $stmt = $pdo->prepare("DELETE FROM `fido2` WHERE `username` = :username");
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6088
            $stmt->execute(array(
Open commit View diff
6088 $stmt->execute(array(
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6089
              ':username' => $username,
Open commit View diff
6089 ':username' => $username,
same change d156a93

[Web] Various fixes; Allow users to login with FIDO2, SOGo SSO is a wip

Full commit hash
d156a93a8415b0f488cee831a00387ffdf69b20f
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
6090
            ));
Open commit View diff
6090 ));
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
6091
            $stmt = $pdo->prepare("SELECT `address`, `goto` FROM `alias`
Open commit View diff
6091 $stmt = $pdo->prepare("SELECT `address`, `goto` FROM `alias`
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
6092
                WHERE `goto` REGEXP :username");
Open commit View diff
6092 WHERE `goto` REGEXP :username");
FreddleSpl0it over 1 year ago abd789f

[Web] Escape mailbox name before querying aliases

Full commit hash
abd789f629a88e5cf7e5eb45f2c19224e91e2f25
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
6093
            $stmt->execute(array(':username' => '(^|,)'.preg_quote($username, '/').'($|,)'));
Open commit View diff
6093 $stmt->execute(array(':username' => '(^|,)'.preg_quote($username, '/').'($|,)'));
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
6094
            $GotoData = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
6094 $GotoData = $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
6095
            foreach ($GotoData as $gotos) {
Open commit View diff
6095 foreach ($GotoData as $gotos) {
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
6096
              $goto_exploded = explode(',', $gotos['goto']);
Open commit View diff
6096 $goto_exploded = explode(',', $gotos['goto']);
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
6097
              if (($key = array_search($username, $goto_exploded)) !== false) {
Open commit View diff
6097 if (($key = array_search($username, $goto_exploded)) !== false) {
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
6098
                unset($goto_exploded[$key]);
Open commit View diff
6098 unset($goto_exploded[$key]);
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
6099
              }
Open commit View diff
6099 }
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
6100
              $gotos_rebuild = implode(',', (array)$goto_exploded);
Open commit View diff
6100 $gotos_rebuild = implode(',', (array)$goto_exploded);
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
6101
              $stmt = $pdo->prepare("UPDATE `alias` SET
Open commit View diff
6101 $stmt = $pdo->prepare("UPDATE `alias` SET
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
6102
                `goto` = :goto
Open commit View diff
6102 `goto` = :goto
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
6103
                  WHERE `address` = :address");
Open commit View diff
6103 WHERE `address` = :address");
André over 8 years ago ade4b9e

[Postfix, Web] Feature: BCC maps

Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4
Author
André <[email protected]>
Date
over 8 years ago
Selected line
6104
              $stmt->execute(array(
Open commit View diff
6104 $stmt->execute(array(
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
6105
                ':goto' => $gotos_rebuild,
Open commit View diff
6105 ':goto' => $gotos_rebuild,
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
6106
                ':address' => $gotos['address']
Open commit View diff
6106 ':address' => $gotos['address']
André over 8 years ago ade4b9e

[Postfix, Web] Feature: BCC maps

Full commit hash
ade4b9e7ae7e28535ed261535526bc4e98ff48b4
Author
André <[email protected]>
Date
over 8 years ago
Selected line
6107
              ));
Open commit View diff
6107 ));
andryyy about 9 years ago fd5a590

More structural changes

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

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6109
            try {
Open commit View diff
6109 try {
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6110
              $redis->hDel('RL_VALUE', $username);
Open commit View diff
6110 $redis->hDel('RL_VALUE', $username);
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6111
            }
Open commit View diff
6111 }
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6112
            catch (RedisException $e) {
Open commit View diff
6112 catch (RedisException $e) {
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6113
              $_SESSION['return'][] = array(
Open commit View diff
6113 $_SESSION['return'][] = array(
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6114
                'type' => 'danger',
Open commit View diff
6114 'type' => 'danger',
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6115
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6115 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6116
                'msg' => array('redis_error', $e)
Open commit View diff
6116 'msg' => array('redis_error', $e)
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6117
              );
Open commit View diff
6117 );
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6118
              continue;
Open commit View diff
6118 continue;
same change d28fd40

[Web] Allow to set rate limit in add_domain modal

Full commit hash
d28fd4070b8b21ca58185e8af56e5142c7847004
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6119
            }
Open commit View diff
6119 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6120
Open commit View diff
6120
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
6121
            $_SESSION['return'][] = array(
Open commit View diff
6121 $_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
6122
              'type' => 'success',
Open commit View diff
6122 '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
6123
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6123 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6124
              'msg' => array('mailbox_removed', htmlspecialchars($username))
Open commit View diff
6124 'msg' => array('mailbox_removed', htmlspecialchars($username))
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
6125
            );
Open commit View diff
6125 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6126
Open commit View diff
6126
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6127
            // Track affected mailboxes for SOGo update
Open commit View diff
6127 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6128
            $update_sogo_mailboxes[] = $username;
Open commit View diff
6128 $update_sogo_mailboxes[] = $username;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6130
        break;
Open commit View diff
6130 break;
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6131
        case 'mailbox_templates':
Open commit View diff
6131 case 'mailbox_templates':
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6132
          if ($_SESSION['mailcow_cc_role'] != "admin") {
Open commit View diff
6132 if ($_SESSION['mailcow_cc_role'] != "admin") {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6133
            $_SESSION['return'][] = array(
Open commit View diff
6133 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6134
              'type' => 'danger',
Open commit View diff
6134 'type' => 'danger',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6135
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6135 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6136
              'msg' => 'access_denied'
Open commit View diff
6136 'msg' => 'access_denied'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6137
            );
Open commit View diff
6137 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6138
            return false;
Open commit View diff
6138 return false;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6139
          }
Open commit View diff
6139 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6140
          if (!is_array($_data['ids'])) {
Open commit View diff
6140 if (!is_array($_data['ids'])) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6141
            $ids = array();
Open commit View diff
6141 $ids = array();
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6142
            $ids[] = $_data['ids'];
Open commit View diff
6142 $ids[] = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6143
          }
Open commit View diff
6143 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6144
          else {
Open commit View diff
6144 else {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6145
            $ids = $_data['ids'];
Open commit View diff
6145 $ids = $_data['ids'];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6146
          }
Open commit View diff
6146 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6147
Open commit View diff
6147
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6148
Open commit View diff
6148
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6149
          foreach ($ids as $id) {
Open commit View diff
6149 foreach ($ids as $id) {
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6150
            // delete template
Open commit View diff
6150 // delete template
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6151
            $stmt = $pdo->prepare("DELETE FROM `templates`
Open commit View diff
6151 $stmt = $pdo->prepare("DELETE FROM `templates`
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6152
              WHERE id = :id AND type = :type AND NOT template = :template");
Open commit View diff
6152 WHERE id = :id AND type = :type AND NOT template = :template");
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6153
            $stmt->execute(array(
Open commit View diff
6153 $stmt->execute(array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6154
              ":id" => $id,
Open commit View diff
6154 ":id" => $id,
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6155
              ":type" => "mailbox",
Open commit View diff
6155 ":type" => "mailbox",
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6156
              ":template" => "Default"
Open commit View diff
6156 ":template" => "Default"
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6157
            ));
Open commit View diff
6157 ));
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6158
          }
Open commit View diff
6158 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6159
Open commit View diff
6159
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6160
          $_SESSION['return'][] = array(
Open commit View diff
6160 $_SESSION['return'][] = array(
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6161
            'type' => 'success',
Open commit View diff
6161 'type' => 'success',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6162
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6162 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6163
            'msg' => 'template_removed'
Open commit View diff
6163 'msg' => 'template_removed'
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6164
          );
Open commit View diff
6164 );
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6165
          return true;
Open commit View diff
6165 return true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6166
        break;
Open commit View diff
6166 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6176
            if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
6176 if (!filter_var($name, FILTER_VALIDATE_EMAIL)) {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6177
              $_SESSION['return'][] = array(
Open commit View diff
6177 $_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
6178
                'type' => 'danger',
Open commit View diff
6178 '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
6179
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6179 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6180
                'msg' => 'access_denied'
Open commit View diff
6180 '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
6181
              );
Open commit View diff
6181 );
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
6182
              continue;
Open commit View diff
6182 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
6183
            }
Open commit View diff
6183 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6184
            if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $name)) {
Open commit View diff
6184 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $name)) {
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
6185
              $_SESSION['return'][] = array(
Open commit View diff
6185 $_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
6186
                'type' => 'danger',
Open commit View diff
6186 '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
6187
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6187 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 7f86a80

[Web] Fix log line handling

Full commit hash
7f86a8067039b63e6afa7bb1724eadad9493d112
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6188
                'msg' => 'access_denied'
Open commit View diff
6188 '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
6189
              );
Open commit View diff
6189 );
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
6190
              continue;
Open commit View diff
6190 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
6191
            }
Open commit View diff
6191 }
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
6192
            $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `username` = :username");
Open commit View diff
6192 $stmt = $pdo->prepare("DELETE FROM `mailbox` WHERE `username` = :username");
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
6193
            $stmt->execute(array(
Open commit View diff
6193 $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
6194
              ':username' => $name
Open commit View diff
6194 ':username' => $name
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
6195
            ));
Open commit View diff
6195 ));
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
6196
            $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
Open commit View diff
6196 $stmt = $pdo->prepare("DELETE FROM `sogo_user_profile` WHERE `c_uid` = :username");
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
6197
            $stmt->execute(array(
Open commit View diff
6197 $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
6198
              ':username' => $name
Open commit View diff
6198 ':username' => $name
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
6199
            ));
Open commit View diff
6199 ));
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
6200
            $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
Open commit View diff
6200 $stmt = $pdo->prepare("DELETE FROM `sogo_cache_folder` WHERE `c_uid` = :username");
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
6201
            $stmt->execute(array(
Open commit View diff
6201 $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
6202
              ':username' => $name
Open commit View diff
6202 ':username' => $name
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
6203
            ));
Open commit View diff
6203 ));
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
6204
            $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . $name . "/%' OR `c_uid` = :username");
Open commit View diff
6204 $stmt = $pdo->prepare("DELETE FROM `sogo_acl` WHERE `c_object` LIKE '%/" . $name . "/%' OR `c_uid` = :username");
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
6205
            $stmt->execute(array(
Open commit View diff
6205 $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
6206
              ':username' => $name
Open commit View diff
6206 ':username' => $name
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
6207
            ));
Open commit View diff
6207 ));
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
6208
            $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6208 $stmt = $pdo->prepare("DELETE FROM `sogo_store` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6209
            $stmt->execute(array(
Open commit View diff
6209 $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
6210
              ':username' => $name
Open commit View diff
6210 ':username' => $name
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
6211
            ));
Open commit View diff
6211 ));
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
6212
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6212 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_contact` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6213
            $stmt->execute(array(
Open commit View diff
6213 $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
6214
              ':username' => $name
Open commit View diff
6214 ':username' => $name
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
6215
            ));
Open commit View diff
6215 ));
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
6216
            $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
Open commit View diff
6216 $stmt = $pdo->prepare("DELETE FROM `sogo_quick_appointment` WHERE `c_folder_id` IN (SELECT `c_folder_id` FROM `sogo_folder_info` WHERE `c_path2` = :username)");
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
6217
            $stmt->execute(array(
Open commit View diff
6217 $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
6218
              ':username' => $name
Open commit View diff
6218 ':username' => $name
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
6219
            ));
Open commit View diff
6219 ));
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
6220
            $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
Open commit View diff
6220 $stmt = $pdo->prepare("DELETE FROM `sogo_folder_info` WHERE `c_path2` = :username");
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
6221
            $stmt->execute(array(
Open commit View diff
6221 $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
6222
              ':username' => $name
Open commit View diff
6222 ':username' => $name
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
6223
            ));
Open commit View diff
6223 ));
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
6224
            $_SESSION['return'][] = array(
Open commit View diff
6224 $_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
6225
              'type' => 'success',
Open commit View diff
6225 '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
6226
              'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6226 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
6227
              'msg' => array('resource_removed', htmlspecialchars($name))
Open commit View diff
6227 'msg' => array('resource_removed', htmlspecialchars($name))
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
6228
            );
Open commit View diff
6228 );
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6229
Open commit View diff
6229
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6230
            // Track affected mailboxes for SOGo update
Open commit View diff
6230 // Track affected mailboxes for SOGo update
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6231
            $update_sogo_mailboxes[] = $name;
Open commit View diff
6231 $update_sogo_mailboxes[] = $name;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6233
        break;
Open commit View diff
6233 break;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6234
        case 'tags_domain':
Open commit View diff
6234 case 'tags_domain':
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6235
          if (!is_array($_data['domain'])) {
Open commit View diff
6235 if (!is_array($_data['domain'])) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6236
            $domains = array();
Open commit View diff
6236 $domains = array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6237
            $domains[] = $_data['domain'];
Open commit View diff
6237 $domains[] = $_data['domain'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6238
          }
Open commit View diff
6238 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6239
          else {
Open commit View diff
6239 else {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6240
            $domains = $_data['domain'];
Open commit View diff
6240 $domains = $_data['domain'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6241
          }
Open commit View diff
6241 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6242
          $tags = $_data['tags'];
Open commit View diff
6242 $tags = $_data['tags'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6243
          if (!is_array($tags)) $tags = array();
Open commit View diff
6243 if (!is_array($tags)) $tags = array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6244
Open commit View diff
6244
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6245
Open commit View diff
6245
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6246
          $wasModified = false;
Open commit View diff
6246 $wasModified = false;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6247
          foreach ($domains as $domain) {
Open commit View diff
6247 foreach ($domains as $domain) {
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6248
            if (!is_valid_domain_name($domain)) {
Open commit View diff
6248 if (!is_valid_domain_name($domain)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6249
              $_SESSION['return'][] = array(
Open commit View diff
6249 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6250
                'type' => 'danger',
Open commit View diff
6250 'type' => 'danger',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6251
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6251 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6252
                'msg' => 'domain_invalid'
Open commit View diff
6252 'msg' => 'domain_invalid'
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6253
              );
Open commit View diff
6253 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6254
              continue;
Open commit View diff
6254 continue;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6255
            }
Open commit View diff
6255 }
FreddleSpl0it over 3 years ago 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6256
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
6256 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6257
              $_SESSION['return'][] = array(
Open commit View diff
6257 $_SESSION['return'][] = array(
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6258
                'type' => 'danger',
Open commit View diff
6258 'type' => 'danger',
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6259
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6259 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6260
                'msg' => 'access_denied'
Open commit View diff
6260 'msg' => 'access_denied'
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6261
              );
Open commit View diff
6261 );
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6262
              return false;
Open commit View diff
6262 return false;
same change 36fa5dc

[Web] fix domain admins cant delete tags

Full commit hash
36fa5dc6330102da68425fda09670c25be548bce
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6263
            }
Open commit View diff
6263 }
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6264
Open commit View diff
6264
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6265
            foreach($tags as $tag){
Open commit View diff
6265 foreach($tags as $tag){
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6266
              // delete tag
Open commit View diff
6266 // delete tag
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6267
              $wasModified = true;
Open commit View diff
6267 $wasModified = true;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6268
              $stmt = $pdo->prepare("DELETE FROM `tags_domain` WHERE `domain` = :domain AND `tag_name` = :tag_name");
Open commit View diff
6268 $stmt = $pdo->prepare("DELETE FROM `tags_domain` WHERE `domain` = :domain AND `tag_name` = :tag_name");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6269
              $stmt->execute(array(
Open commit View diff
6269 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6270
                ':domain' => $domain,
Open commit View diff
6270 ':domain' => $domain,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6271
                ':tag_name' => $tag,
Open commit View diff
6271 ':tag_name' => $tag,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6272
              ));
Open commit View diff
6272 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6273
            }
Open commit View diff
6273 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6274
          }
Open commit View diff
6274 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6275
Open commit View diff
6275
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6276
          if (!$wasModified) return false;
Open commit View diff
6276 if (!$wasModified) return false;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6277
          $_SESSION['return'][] = array(
Open commit View diff
6277 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6278
            'type' => 'success',
Open commit View diff
6278 'type' => 'success',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6279
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6279 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6280
            'msg' => array('domain_modified', $domain)
Open commit View diff
6280 'msg' => array('domain_modified', $domain)
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6281
          );
Open commit View diff
6281 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6282
        break;
Open commit View diff
6282 break;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6283
        case 'tags_mailbox':
Open commit View diff
6283 case 'tags_mailbox':
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6284
          if (!is_array($_data['username'])) {
Open commit View diff
6284 if (!is_array($_data['username'])) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6285
            $usernames = array();
Open commit View diff
6285 $usernames = array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6286
            $usernames[] = $_data['username'];
Open commit View diff
6286 $usernames[] = $_data['username'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6287
          }
Open commit View diff
6287 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6288
          else {
Open commit View diff
6288 else {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6289
            $usernames = $_data['username'];
Open commit View diff
6289 $usernames = $_data['username'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6290
          }
Open commit View diff
6290 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6291
          $tags = $_data['tags'];
Open commit View diff
6291 $tags = $_data['tags'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6292
          if (!is_array($tags)) $tags = array();
Open commit View diff
6292 if (!is_array($tags)) $tags = array();
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6293
Open commit View diff
6293
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6294
          $wasModified = false;
Open commit View diff
6294 $wasModified = false;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6295
          foreach ($usernames as $username) {
Open commit View diff
6295 foreach ($usernames as $username) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6296
            if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
Open commit View diff
6296 if (!filter_var($username, FILTER_VALIDATE_EMAIL)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6297
              $_SESSION['return'][] = array(
Open commit View diff
6297 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6298
                'type' => 'danger',
Open commit View diff
6298 'type' => 'danger',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6299
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6299 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6300
                'msg' => 'email invalid'
Open commit View diff
6300 'msg' => 'email invalid'
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6301
              );
Open commit View diff
6301 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6302
              continue;
Open commit View diff
6302 continue;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6303
            }
Open commit View diff
6303 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6304
Open commit View diff
6304
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6305
            $is_now = mailbox('get', 'mailbox_details', $username);
Open commit View diff
6305 $is_now = mailbox('get', 'mailbox_details', $username);
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6306
            $domain     = $is_now['domain'];
Open commit View diff
6306 $domain = $is_now['domain'];
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6307
            if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
Open commit View diff
6307 if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $domain)) {
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6308
              $_SESSION['return'][] = array(
Open commit View diff
6308 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6309
                'type' => 'danger',
Open commit View diff
6309 'type' => 'danger',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6310
                'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6310 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6311
                'msg' => 'access_denied'
Open commit View diff
6311 'msg' => 'access_denied'
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6312
              );
Open commit View diff
6312 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6313
              continue;
Open commit View diff
6313 continue;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6314
            }
Open commit View diff
6314 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6315
Open commit View diff
6315
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6316
            // delete tags
Open commit View diff
6316 // delete tags
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6317
            foreach($tags as $tag){
Open commit View diff
6317 foreach($tags as $tag){
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6318
              $wasModified = true;
Open commit View diff
6318 $wasModified = true;
FreddleSpl0it almost 2 years ago 10dfd0a

[Web][DockerApi] Add the ability to rename the local part of a mailbox

Full commit hash
10dfd0a4433df4ad519115e8dc380b58543b383b
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
6319
Open commit View diff
6319
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6320
              $stmt = $pdo->prepare("DELETE FROM `tags_mailbox` WHERE `username` = :username AND `tag_name` = :tag_name");
Open commit View diff
6320 $stmt = $pdo->prepare("DELETE FROM `tags_mailbox` WHERE `username` = :username AND `tag_name` = :tag_name");
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6321
              $stmt->execute(array(
Open commit View diff
6321 $stmt->execute(array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6322
                ':username' => $username,
Open commit View diff
6322 ':username' => $username,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6323
                ':tag_name' => $tag,
Open commit View diff
6323 ':tag_name' => $tag,
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6324
              ));
Open commit View diff
6324 ));
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6325
            }
Open commit View diff
6325 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6326
          }
Open commit View diff
6326 }
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6327
Open commit View diff
6327
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6328
          if (!$wasModified) return false;
Open commit View diff
6328 if (!$wasModified) return false;
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6329
          $_SESSION['return'][] = array(
Open commit View diff
6329 $_SESSION['return'][] = array(
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6330
            'type' => 'success',
Open commit View diff
6330 'type' => 'success',
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6331
            'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6331 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6332
            'msg' => array('mailbox_modified', $username)
Open commit View diff
6332 'msg' => array('mailbox_modified', $username)
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6333
          );
Open commit View diff
6333 );
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
6334
        break;
Open commit View diff
6334 break;
andryyy about 9 years ago fd5a590

More structural changes

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

More structural changes

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

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6337
  }
Open commit View diff
6337 }
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6338
  if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'resource', 'mailbox')) && getenv('SKIP_SOGO') != "y") {
Open commit View diff
6338 if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'resource', 'mailbox')) && getenv('SKIP_SOGO') != "y") {
FreddleSpl0it almost 3 years ago 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6339
    try {
Open commit View diff
6339 try {
FreddleSpl0it 5 months ago 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6340
      if (($_type == 'alias' || $_type == 'resource' || $_type == 'mailbox') && !empty($update_sogo_mailboxes)) {
Open commit View diff
6340 if (($_type == 'alias' || $_type == 'resource' || $_type == 'mailbox') && !empty($update_sogo_mailboxes)) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6341
        // INCREMENTAL UPDATE: Update only affected mailboxes/resources
Open commit View diff
6341 // INCREMENTAL UPDATE: Update only affected mailboxes/resources
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6342
        $update_sogo_mailboxes = array_unique($update_sogo_mailboxes);
Open commit View diff
6342 $update_sogo_mailboxes = array_unique($update_sogo_mailboxes);
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6343
        foreach ($update_sogo_mailboxes as $mailbox) {
Open commit View diff
6343 foreach ($update_sogo_mailboxes as $mailbox) {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6344
          update_sogo_static_view($mailbox);
Open commit View diff
6344 update_sogo_static_view($mailbox);
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6345
        }
Open commit View diff
6345 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6346
      }
Open commit View diff
6346 }
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6347
      else {
Open commit View diff
6347 else {
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6348
        // FULL REBUILD: For domain and alias_domain operations or if no tracked mailboxes
Open commit View diff
6348 // FULL REBUILD: For domain and alias_domain operations or if no tracked mailboxes
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6349
        // Domain operations affect all mailboxes
Open commit View diff
6349 // Domain operations affect all mailboxes
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6350
        // Alias_domain operations affect entire target domain
Open commit View diff
6350 // Alias_domain operations affect entire target domain
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6351
        update_sogo_static_view();
Open commit View diff
6351 update_sogo_static_view();
same change 4e33c71

[SOGo][Web] use incremental updates for mailbox/alias/resource sync in sogo_static_view

Full commit hash
4e33c7143f5f3ba960744a7ab7bb4d62dbdffb1e
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
6352
      }
Open commit View diff
6352 }
FreddleSpl0it almost 3 years ago 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6353
    }catch (PDOException $e) {
Open commit View diff
6353 }catch (PDOException $e) {
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6354
      $_SESSION['return'][] = array(
Open commit View diff
6354 $_SESSION['return'][] = array(
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6355
        'type' => 'success',
Open commit View diff
6355 'type' => 'success',
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6356
        'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
Open commit View diff
6356 'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6357
        'msg' => $e->getMessage()
Open commit View diff
6357 'msg' => $e->getMessage()
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6358
      );
Open commit View diff
6358 );
same change 185c36c

[Web] catch update_sogo exceptions

Full commit hash
185c36cdfe466a0dfcbfb633846d3548952bf24d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
6359
    }
Open commit View diff
6359 }
André about 8 years ago 51cb3e1

[Web] Run _sogo_static_view update when changing sogo_view content

Full commit hash
51cb3e1aa391c603316238bfd511da3c77c99ed7
Author
André <[email protected]>
Date
about 8 years ago
Selected line
6360
  }
Open commit View diff
6360 }
FreddleSpl0it over 1 year ago 9542698

Merge remote-tracking branch 'origin/staging' into nightly

Full commit hash
9542698e95c3ac6ec467db993bbdecb9d2e7c797
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
6361
Open commit View diff
6361
FreddleSpl0it over 3 years ago 2040638

[Web] fix broken sogo-sso

Full commit hash
204063819ccc4e04b6ab03018e194d1429d67da8
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6362
  return true;
Open commit View diff
6362 return true;
André Peters almost 8 years ago 4b09b5b

Update functions.mailbox.inc.php

Full commit hash
4b09b5b1bb78cb5e5623954bc9680342e982a725
Author
André Peters <[email protected]>
Date
almost 8 years ago
Selected line
6363
}
Open commit View diff
6363 }