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/ajax/dns_diagnostics.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

dns_diagnostics.php on main
Author Date Commit Line Code
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
2
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
Open commit View diff
2 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
same change d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
3
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/spf.inc.php';
Open commit View diff
3 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/spf.inc.php';
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
4
Open commit View diff
4
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
5
define('state_good', '<i class="bi bi-check-lg text-success"></i>');
Open commit View diff
5 define('state_good', '<i class="bi bi-check-lg text-success"></i>');
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
6
define('state_missing', '<i class="bi bi-x-lg text-danger"></i>');
Open commit View diff
6 define('state_missing', '<i class="bi bi-x-lg text-danger"></i>');
Michael Kuron about 9 years ago 98be90c

Remove SPF and DMARC checks

Full commit hash
98be90c4943bf05f488d7cefc8299283336369df
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
7
define('state_nomatch', "?");
Open commit View diff
7 define('state_nomatch', "?");
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
8
define('state_optional', " <sup>2</sup>");
Open commit View diff
8 define('state_optional', " <sup>2</sup>");
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
9
Open commit View diff
9
Kristián Feldsam over 8 years ago 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
10
if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "admin"|| $_SESSION['mailcow_cc_role'] == "domainadmin")) {
Open commit View diff
10 if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "admin"|| $_SESSION['mailcow_cc_role'] == "domainadmin")) {
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
11
Open commit View diff
11
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
12
  $alias_domains = array();
Open commit View diff
12 $alias_domains = array();
andre.peters over 8 years ago 3feabe0

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
3feabe00a287c56ab73e206bb16f27a0371c86d3
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
13
Open commit View diff
13
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
14
  if (isset($_GET['domain'])) {
Open commit View diff
14 if (isset($_GET['domain'])) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
15
    $domain_details = mailbox('get', 'domain_details', $_GET['domain']);
Open commit View diff
15 $domain_details = mailbox('get', 'domain_details', $_GET['domain']);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
16
    if ($domain_details !== false) {
Open commit View diff
16 if ($domain_details !== false) {
andre.peters over 8 years ago 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
17
      $domain = $_GET['domain'];
Open commit View diff
17 $domain = $_GET['domain'];
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
18
      $alias_domains = array_merge($alias_domains, mailbox('get', 'alias_domains', $domain));
Open commit View diff
18 $alias_domains = array_merge($alias_domains, mailbox('get', 'alias_domains', $domain));
andre.peters over 8 years ago 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
19
    }
Open commit View diff
19 }
same change 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
20
    else {
Open commit View diff
20 else {
same change 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
21
      echo "No such domain in context";
Open commit View diff
21 echo "No such domain in context";
ntimo almost 7 years ago cb9ab92

[Web] Replaced die(); with exit(); due to code conventions

Full commit hash
cb9ab928b37effa66fea2d70fbc25c71c6bdf8f3
Author
ntimo <[email protected]>
Date
almost 7 years ago
Selected line
22
      exit();
Open commit View diff
22 exit();
andre.peters over 8 years ago 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
23
    }
Open commit View diff
23 }
same change 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
24
  }
Open commit View diff
24 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
25
Open commit View diff
25
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
26
  $ch = curl_init('http://ip4.mailcow.email');
Open commit View diff
26 $ch = curl_init('http://ip4.mailcow.email');
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
27
  curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
Open commit View diff
27 curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
28
  curl_setopt($ch, CURLOPT_VERBOSE, false);
Open commit View diff
28 curl_setopt($ch, CURLOPT_VERBOSE, false);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
29
  curl_setopt($ch, CURLOPT_HEADER, false);
Open commit View diff
29 curl_setopt($ch, CURLOPT_HEADER, false);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
30
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
Open commit View diff
30 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
31
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
Open commit View diff
31 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
32
  $ip = curl_exec($ch);
Open commit View diff
32 $ip = curl_exec($ch);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
33
  curl_close($ch);
Open commit View diff
33 curl_close($ch);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
34
Open commit View diff
34
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
35
  $ch = curl_init('http://ip6.mailcow.email');
Open commit View diff
35 $ch = curl_init('http://ip6.mailcow.email');
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
36
  curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);
Open commit View diff
36 curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
37
  curl_setopt($ch, CURLOPT_VERBOSE, false);
Open commit View diff
37 curl_setopt($ch, CURLOPT_VERBOSE, false);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
38
  curl_setopt($ch, CURLOPT_HEADER, false);
Open commit View diff
38 curl_setopt($ch, CURLOPT_HEADER, false);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
39
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
Open commit View diff
39 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
40
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
Open commit View diff
40 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
41
  $ip6 = curl_exec($ch);
Open commit View diff
41 $ip6 = curl_exec($ch);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
42
  curl_close($ch);
Open commit View diff
42 curl_close($ch);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
43
Open commit View diff
43
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
44
  $ptr = implode('.', array_reverse(explode('.', $ip))) . '.in-addr.arpa';
Open commit View diff
44 $ptr = implode('.', array_reverse(explode('.', $ip))) . '.in-addr.arpa';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
45
  if (!empty($ip6)) {
Open commit View diff
45 if (!empty($ip6)) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
46
    $ip6_full = str_replace('::', str_repeat(':', 9-substr_count($ip6, ':')), $ip6);
Open commit View diff
46 $ip6_full = str_replace('::', str_repeat(':', 9-substr_count($ip6, ':')), $ip6);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
47
    $ip6_full = str_replace('::', ':0:', $ip6_full);
Open commit View diff
47 $ip6_full = str_replace('::', ':0:', $ip6_full);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
48
    $ip6_full = str_replace('::', ':0:', $ip6_full);
Open commit View diff
48 $ip6_full = str_replace('::', ':0:', $ip6_full);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
49
    $ptr6 = '';
Open commit View diff
49 $ptr6 = '';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
50
    foreach (explode(':', $ip6_full) as $part) {
Open commit View diff
50 foreach (explode(':', $ip6_full) as $part) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
51
      $ptr6 .= str_pad($part, 4, '0', STR_PAD_LEFT);
Open commit View diff
51 $ptr6 .= str_pad($part, 4, '0', STR_PAD_LEFT);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
52
    }
Open commit View diff
52 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
53
    $ptr6 = implode('.', array_reverse(str_split($ptr6, 1))) . '.ip6.arpa';
Open commit View diff
53 $ptr6 = implode('.', array_reverse(str_split($ptr6, 1))) . '.ip6.arpa';
andre.peters over 8 years ago 520bc69

[Web] Fixes TLSA for self-signed certs, closes #997

Full commit hash
520bc6950f95512541e9f750f13a766ed1461b02
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
54
  }
Open commit View diff
54 }
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
55
Open commit View diff
55
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
56
  $https_port = strpos($_SERVER['HTTP_HOST'], ':');
Open commit View diff
56 $https_port = strpos($_SERVER['HTTP_HOST'], ':');
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
57
  if ($https_port === FALSE) {
Open commit View diff
57 if ($https_port === FALSE) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
58
    $https_port = 443;
Open commit View diff
58 $https_port = 443;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
59
  }
Open commit View diff
59 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
60
  else {
Open commit View diff
60 else {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
61
    $https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
Open commit View diff
61 $https_port = substr($_SERVER['HTTP_HOST'], $https_port+1);
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
62
  }
Open commit View diff
62 }
same change 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
63
Open commit View diff
63
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
64
  if (!isset($autodiscover_config['sieve'])) {
Open commit View diff
64 if (!isset($autodiscover_config['sieve'])) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
65
    $autodiscover_config['sieve'] = array(
Open commit View diff
65 $autodiscover_config['sieve'] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
66
      'server' => $mailcow_hostname,
Open commit View diff
66 'server' => $mailcow_hostname,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
67
      'port' => array_pop(explode(':', getenv('SIEVE_PORT')))
Open commit View diff
67 'port' => array_pop(explode(':', getenv('SIEVE_PORT')))
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
68
    );
Open commit View diff
68 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
69
  }
Open commit View diff
69 }
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
70
Open commit View diff
70
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
71
  // Init records array
Open commit View diff
71 // Init records array
Kristian Feldsam about 5 years ago 9c6995c

[web] dns diag spf record syntax link updated (#4175)

Full commit hash
9c6995c82d8ac2f672b6daa5def4fe385b5b3827
Author
Kristian Feldsam <[email protected]>
Date
about 5 years ago
Selected line
72
  $spf_link = '<a href="http://www.open-spf.org/SPF_Record_Syntax/" target="_blank">SPF Record Syntax</a><br />';
Open commit View diff
72 $spf_link = '<a href="http://www.open-spf.org/SPF_Record_Syntax/" target="_blank">SPF Record Syntax</a><br />';
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
73
  $dmarc_link = '<a href="https://www.kitterman.com/dmarc/assistant.html" target="_blank">DMARC Assistant</a>';
Open commit View diff
73 $dmarc_link = '<a href="https://www.kitterman.com/dmarc/assistant.html" target="_blank">DMARC Assistant</a>';
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
74
  $mtasts_report_link = '<a href="https://mxtoolbox.com/dmarc/smtp-tls/how-to-setup-smtp-tls-reports" target="_blank">TLS Report Record Syntax</a>';
Open commit View diff
74 $mtasts_report_link = '<a href="https://mxtoolbox.com/dmarc/smtp-tls/how-to-setup-smtp-tls-reports" target="_blank">TLS Report Record Syntax</a>';
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
75
Open commit View diff
75
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
76
  $records = array();
Open commit View diff
76 $records = array();
André Peters over 8 years ago 74bd635

Update dns_diagnostics.php

Full commit hash
74bd635505ac2ad9173b9c741c0104fee8a3e8cc
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
77
Open commit View diff
77
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
78
  if ($_SESSION['mailcow_cc_role'] == "admin") {
Open commit View diff
78 if ($_SESSION['mailcow_cc_role'] == "admin") {
Kristián Feldsam over 8 years ago 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
79
    $records[] = array(
Open commit View diff
79 $records[] = array(
same change 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
80
      $mailcow_hostname,
Open commit View diff
80 $mailcow_hostname,
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
81
      'A',
Open commit View diff
81 'A',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
82
      $ip
Open commit View diff
82 $ip
Kristián Feldsam over 8 years ago 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
83
    );
Open commit View diff
83 );
same change 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
84
    $records[] = array(
Open commit View diff
84 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
85
      $ptr,
Open commit View diff
85 $ptr,
Kristián Feldsam over 8 years ago 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
86
      'PTR',
Open commit View diff
86 'PTR',
same change 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
87
      $mailcow_hostname
Open commit View diff
87 $mailcow_hostname
same change 9f258df

DNS Diagnostics - Allow for domain administrator

Full commit hash
9f258df883220d4d7c96802cae783db1da5197cc
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
88
    );
Open commit View diff
88 );
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
89
    if (!empty($ip6)) {
Open commit View diff
89 if (!empty($ip6)) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
90
      $records[] = array(
Open commit View diff
90 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
91
        $mailcow_hostname,
Open commit View diff
91 $mailcow_hostname,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
92
        'AAAA',
Open commit View diff
92 'AAAA',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
93
        expand_ipv6($ip6)
Open commit View diff
93 expand_ipv6($ip6)
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
94
      );
Open commit View diff
94 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
95
      $records[] = array(
Open commit View diff
95 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
96
        $ptr6,
Open commit View diff
96 $ptr6,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
97
        'PTR',
Open commit View diff
97 'PTR',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
98
        $mailcow_hostname
Open commit View diff
98 $mailcow_hostname
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
99
      );
Open commit View diff
99 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
100
    }
Open commit View diff
100 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
101
    $records[] = array(
Open commit View diff
101 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
102
      '_25._tcp.' . $autodiscover_config['smtp']['server'],
Open commit View diff
102 '_25._tcp.' . $autodiscover_config['smtp']['server'],
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
103
      'TLSA',
Open commit View diff
103 'TLSA',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
104
      generate_tlsa_digest($autodiscover_config['smtp']['server'], 25, 1)
Open commit View diff
104 generate_tlsa_digest($autodiscover_config['smtp']['server'], 25, 1)
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
105
    );
Open commit View diff
105 );
André Peters over 8 years ago f1f7749

Update dns_diagnostics.php

Full commit hash
f1f7749b852b5bd2e69bae5e8f0aeadd0eb8b493
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
106
  }
Open commit View diff
106 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
107
Open commit View diff
107
André Peters over 8 years ago f1f7749

Update dns_diagnostics.php

Full commit hash
f1f7749b852b5bd2e69bae5e8f0aeadd0eb8b493
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
108
  $records[] = array(
Open commit View diff
108 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
109
    $domain,
Open commit View diff
109 $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
110
    'MX',
Open commit View diff
110 'MX',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
111
    $mailcow_hostname
Open commit View diff
111 $mailcow_hostname
André Peters over 8 years ago f1f7749

Update dns_diagnostics.php

Full commit hash
f1f7749b852b5bd2e69bae5e8f0aeadd0eb8b493
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
112
  );
Open commit View diff
112 );
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
113
Open commit View diff
113
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
114
  if (!in_array($domain, $alias_domains)) {
Open commit View diff
114 if (!in_array($domain, $alias_domains)) {
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
115
    $records[] = array(
Open commit View diff
115 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
116
      'autodiscover.' . $domain,
Open commit View diff
116 'autodiscover.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
117
      'CNAME',
Open commit View diff
117 'CNAME',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
118
      $mailcow_hostname
Open commit View diff
118 $mailcow_hostname
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
119
    );
Open commit View diff
119 );
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
120
    $records[] = array(
Open commit View diff
120 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
121
      '_autodiscover._tcp.' . $domain,
Open commit View diff
121 '_autodiscover._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
122
      'SRV',
Open commit View diff
122 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
123
      $mailcow_hostname . ' ' . $https_port
Open commit View diff
123 $mailcow_hostname . ' ' . $https_port
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
124
    );
Open commit View diff
124 );
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
125
    $records[] = array(
Open commit View diff
125 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
126
      'autoconfig.' . $domain,
Open commit View diff
126 'autoconfig.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
127
      'CNAME',
Open commit View diff
127 'CNAME',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
128
      $mailcow_hostname
Open commit View diff
128 $mailcow_hostname
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
129
    );
Open commit View diff
129 );
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
130
  }
Open commit View diff
130 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
131
Open commit View diff
131
Copilot 7 months ago 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
132
  // Check if domain is an alias domain and get target domain's MTA-STS
Open commit View diff
132 // Check if domain is an alias domain and get target domain's MTA-STS
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
133
  $alias_domain_details = mailbox('get', 'alias_domain_details', $domain);
Open commit View diff
133 $alias_domain_details = mailbox('get', 'alias_domain_details', $domain);
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
134
  $mta_sts_domain = $domain;
Open commit View diff
134 $mta_sts_domain = $domain;
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
135
  
Open commit View diff
135
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
136
  if ($alias_domain_details !== false && !empty($alias_domain_details['target_domain'])) {
Open commit View diff
136 if ($alias_domain_details !== false && !empty($alias_domain_details['target_domain'])) {
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
137
    // This is an alias domain, check target domain for MTA-STS
Open commit View diff
137 // This is an alias domain, check target domain for MTA-STS
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
138
    $mta_sts_domain = $alias_domain_details['target_domain'];
Open commit View diff
138 $mta_sts_domain = $alias_domain_details['target_domain'];
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
139
  }
Open commit View diff
139 }
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
140
  
Open commit View diff
140
same change 038b2ef

Add MTA-STS support for alias domains (#6972)

Full commit hash
038b2efb759e6d011b35beee53e3e534d266341f
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
141
  $mta_sts = mailbox('get', 'mta_sts', $mta_sts_domain);
Open commit View diff
141 $mta_sts = mailbox('get', 'mta_sts', $mta_sts_domain);
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
142
  if (count($mta_sts) > 0 && $mta_sts['active'] == 1) {
Open commit View diff
142 if (count($mta_sts) > 0 && $mta_sts['active'] == 1) {
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
143
    if (!in_array($domain, $alias_domains)) {
Open commit View diff
143 if (!in_array($domain, $alias_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
144
      $records[] = array(
Open commit View diff
144 $records[] = 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
145
        'mta-sts.' . $domain,
Open commit View diff
145 '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
146
        'CNAME',
Open commit View diff
146 'CNAME',
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
147
        $mailcow_hostname
Open commit View diff
147 $mailcow_hostname
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
148
      );
Open commit View diff
148 );
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
149
    }
Open commit View diff
149 }
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
150
    $records[] = array(
Open commit View diff
150 $records[] = 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
151
        '_mta-sts.' . $domain,
Open commit View diff
151 '_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
152
        'TXT',
Open commit View diff
152 'TXT',
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
153
        "v={$mta_sts['version']};id={$mta_sts['id']};",
Open commit View diff
153 "v={$mta_sts['version']};id={$mta_sts['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
154
    );
Open commit View diff
154 );
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
155
    $records[] = array(
Open commit View diff
155 $records[] = 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
156
        '_smtp._tls.' . $domain,
Open commit View diff
156 '_smtp._tls.' . $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
157
        'TXT',
Open commit View diff
157 'TXT',
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
158
        $mtasts_report_link,
Open commit View diff
158 $mtasts_report_link,
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
159
    );
Open commit View diff
159 );
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
160
  }
Open commit View diff
160 }
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
161
Open commit View diff
161
André Peters over 8 years ago f1f7749

Update dns_diagnostics.php

Full commit hash
f1f7749b852b5bd2e69bae5e8f0aeadd0eb8b493
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
162
  $records[] = array(
Open commit View diff
162 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
163
    $domain,
Open commit View diff
163 $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
164
    'TXT',
Open commit View diff
164 'TXT',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
165
    $spf_link,
Open commit View diff
165 $spf_link,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
166
    state_optional
Open commit View diff
166 state_optional
André Peters over 8 years ago f1f7749

Update dns_diagnostics.php

Full commit hash
f1f7749b852b5bd2e69bae5e8f0aeadd0eb8b493
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
167
  );
Open commit View diff
167 );
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
168
Open commit View diff
168
andre.peters over 8 years ago 7a54b5c

[Web] Some minor fixes/changes to DNS diagnostics

Full commit hash
7a54b5cb67cf83e32b4c7c4584117b4320ed8ec9
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
169
  $records[] = array(
Open commit View diff
169 $records[] = array(
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
170
    '_dmarc.' . $domain,
Open commit View diff
170 '_dmarc.' . $domain,
andre.peters over 8 years ago 7a54b5c

[Web] Some minor fixes/changes to DNS diagnostics

Full commit hash
7a54b5cb67cf83e32b4c7c4584117b4320ed8ec9
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
171
    'TXT',
Open commit View diff
171 'TXT',
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
172
    $dmarc_link,
Open commit View diff
172 $dmarc_link,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
173
    state_optional
Open commit View diff
173 state_optional
andre.peters over 8 years ago 7a54b5c

[Web] Some minor fixes/changes to DNS diagnostics

Full commit hash
7a54b5cb67cf83e32b4c7c4584117b4320ed8ec9
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
174
  );
Open commit View diff
174 );
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
175
Open commit View diff
175
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
176
  if (!empty($dkim = dkim('details', $domain))) {
Open commit View diff
176 if (!empty($dkim = dkim('details', $domain))) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
177
    $records[] = array(
Open commit View diff
177 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
178
      $dkim['dkim_selector'] . '._domainkey.' . $domain,
Open commit View diff
178 $dkim['dkim_selector'] . '._domainkey.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
179
      'TXT',
Open commit View diff
179 'TXT',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
180
      $dkim['dkim_txt']
Open commit View diff
180 $dkim['dkim_txt']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
181
    );
Open commit View diff
181 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
182
  }
Open commit View diff
182 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
183
Open commit View diff
183
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
184
  if (!in_array($domain, $alias_domains)) {
Open commit View diff
184 if (!in_array($domain, $alias_domains)) {
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
185
    $current_records = (array)dns_get_record('_pop3._tcp.' . $domain, DNS_SRV);
Open commit View diff
185 $current_records = (array)dns_get_record('_pop3._tcp.' . $domain, DNS_SRV);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
186
    if (count($current_records) == 0 || $current_records[0]['target'] != '') {
Open commit View diff
186 if (count($current_records) == 0 || $current_records[0]['target'] != '') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
187
      if ($autodiscover_config['pop3']['tlsport'] != '110') {
Open commit View diff
187 if ($autodiscover_config['pop3']['tlsport'] != '110') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
188
        $records[] = array(
Open commit View diff
188 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
189
          '_pop3._tcp.' . $domain,
Open commit View diff
189 '_pop3._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
190
          'SRV',
Open commit View diff
190 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
191
          $autodiscover_config['pop3']['server'] . ' ' . $autodiscover_config['pop3']['tlsport']
Open commit View diff
191 $autodiscover_config['pop3']['server'] . ' ' . $autodiscover_config['pop3']['tlsport']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
192
        );
Open commit View diff
192 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
193
      }
Open commit View diff
193 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
194
    }
Open commit View diff
194 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
195
    else {
Open commit View diff
195 else {
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
196
      $records[] = array(
Open commit View diff
196 $records[] = array(
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
197
        '_pop3._tcp.' . $domain,
Open commit View diff
197 '_pop3._tcp.' . $domain,
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
198
        'SRV',
Open commit View diff
198 'SRV',
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
199
        '. 0'
Open commit View diff
199 '. 0'
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
200
      );
Open commit View diff
200 );
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
201
    }
Open commit View diff
201 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
202
Open commit View diff
202
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
203
    $current_records = (array)dns_get_record('_pop3s._tcp.' . $domain, DNS_SRV);
Open commit View diff
203 $current_records = (array)dns_get_record('_pop3s._tcp.' . $domain, DNS_SRV);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
204
Open commit View diff
204
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
205
    if (count($current_records) == 0 || $current_records[0]['target'] != '') {
Open commit View diff
205 if (count($current_records) == 0 || $current_records[0]['target'] != '') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
206
      if ($autodiscover_config['pop3']['port'] != '995') {
Open commit View diff
206 if ($autodiscover_config['pop3']['port'] != '995') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
207
        $records[] = array(
Open commit View diff
207 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
208
          '_pop3s._tcp.' . $domain,
Open commit View diff
208 '_pop3s._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
209
          'SRV',
Open commit View diff
209 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
210
          $autodiscover_config['pop3']['server'] . ' ' . $autodiscover_config['pop3']['port']
Open commit View diff
210 $autodiscover_config['pop3']['server'] . ' ' . $autodiscover_config['pop3']['port']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
211
        );
Open commit View diff
211 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
212
      }
Open commit View diff
212 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
213
    }
Open commit View diff
213 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
214
    else {
Open commit View diff
214 else {
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
215
      $records[] = array(
Open commit View diff
215 $records[] = array(
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
216
        '_pop3s._tcp.' . $domain,
Open commit View diff
216 '_pop3s._tcp.' . $domain,
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
217
        'SRV',
Open commit View diff
217 'SRV',
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
218
        '. 0'
Open commit View diff
218 '. 0'
Michael Kuron almost 8 years ago 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
219
      );
Open commit View diff
219 );
same change 1bb618d

Update dns_diagnostics.php

Full commit hash
1bb618d563259f5b1ac8d03963b176b2e41946c7
Author
Michael Kuron <[email protected]>
Date
almost 8 years ago
Selected line
220
    }
Open commit View diff
220 }
andryyy almost 6 years ago 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
221
Open commit View diff
221
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
222
    if ($autodiscover_config['imap']['tlsport'] != '143') {
Open commit View diff
222 if ($autodiscover_config['imap']['tlsport'] != '143') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
223
      $records[] = array(
Open commit View diff
223 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
224
        '_imap._tcp.' . $domain,
Open commit View diff
224 '_imap._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
225
        'SRV',
Open commit View diff
225 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
226
        $autodiscover_config['imap']['server'] . ' ' . $autodiscover_config['imap']['tlsport']
Open commit View diff
226 $autodiscover_config['imap']['server'] . ' ' . $autodiscover_config['imap']['tlsport']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
227
      );
Open commit View diff
227 );
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
228
    }
Open commit View diff
228 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
229
Open commit View diff
229
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
230
    if ($autodiscover_config['imap']['port'] != '993') {
Open commit View diff
230 if ($autodiscover_config['imap']['port'] != '993') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
231
      $records[] = array(
Open commit View diff
231 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
232
        '_imaps._tcp.' . $domain,
Open commit View diff
232 '_imaps._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
233
        'SRV',
Open commit View diff
233 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
234
        $autodiscover_config['imap']['server'] . ' ' . $autodiscover_config['imap']['port']
Open commit View diff
234 $autodiscover_config['imap']['server'] . ' ' . $autodiscover_config['imap']['port']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
235
      );
Open commit View diff
235 );
andryyy almost 6 years ago 1c8cca8

[Web] MAILCOW_HOSTNAME should not be a CNAME

Full commit hash
1c8cca81879b5dee73313c8fb389095b638bbff2
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
236
    }
Open commit View diff
236 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
237
Open commit View diff
237
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
238
    if ($autodiscover_config['smtp']['tlsport'] != '587') {
Open commit View diff
238 if ($autodiscover_config['smtp']['tlsport'] != '587') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
239
      $records[] = array(
Open commit View diff
239 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
240
        '_submission._tcp.' . $domain,
Open commit View diff
240 '_submission._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
241
        'SRV',
Open commit View diff
241 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
242
        $autodiscover_config['smtp']['server'] . ' ' . $autodiscover_config['smtp']['tlsport']
Open commit View diff
242 $autodiscover_config['smtp']['server'] . ' ' . $autodiscover_config['smtp']['tlsport']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
243
      );
Open commit View diff
243 );
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
244
    }
Open commit View diff
244 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
245
Open commit View diff
245
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
246
    if ($autodiscover_config['smtp']['port'] != '465') {
Open commit View diff
246 if ($autodiscover_config['smtp']['port'] != '465') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
247
      $records[] = array(
Open commit View diff
247 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
248
        '_smtps._tcp.' . $domain,
Open commit View diff
248 '_smtps._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
249
        'SRV',
Open commit View diff
249 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
250
        $autodiscover_config['smtp']['server'] . ' ' . $autodiscover_config['smtp']['port']
Open commit View diff
250 $autodiscover_config['smtp']['server'] . ' ' . $autodiscover_config['smtp']['port']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
251
      );
Open commit View diff
251 );
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
252
    }
Open commit View diff
252 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
253
Open commit View diff
253
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
254
    if ($autodiscover_config['sieve']['port'] != '4190') {
Open commit View diff
254 if ($autodiscover_config['sieve']['port'] != '4190') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
255
      $records[] = array(
Open commit View diff
255 $records[] = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
256
        '_sieve._tcp.' . $domain,
Open commit View diff
256 '_sieve._tcp.' . $domain,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
257
        'SRV',
Open commit View diff
257 'SRV',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
258
        $autodiscover_config['sieve']['server'] . ' ' . $autodiscover_config['sieve']['port']
Open commit View diff
258 $autodiscover_config['sieve']['server'] . ' ' . $autodiscover_config['sieve']['port']
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
259
      );
Open commit View diff
259 );
andryyy about 6 years ago a6af7cb

[Web] Expand IPv6 addresses for better comparison

Full commit hash
a6af7cbc2ea6933bc4dc8a76afd2d207b64b80f0
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
260
    }
Open commit View diff
260 }
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
261
  }
Open commit View diff
261 }
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
262
Open commit View diff
262
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
263
  $record_types = array(
Open commit View diff
263 $record_types = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
264
    'A' => DNS_A,
Open commit View diff
264 'A' => DNS_A,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
265
    'AAAA' => DNS_AAAA,
Open commit View diff
265 'AAAA' => DNS_AAAA,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
266
    'CNAME' => DNS_CNAME,
Open commit View diff
266 'CNAME' => DNS_CNAME,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
267
    'MX' => DNS_MX,
Open commit View diff
267 'MX' => DNS_MX,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
268
    'PTR' => DNS_PTR,
Open commit View diff
268 'PTR' => DNS_PTR,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
269
    'SRV' => DNS_SRV,
Open commit View diff
269 'SRV' => DNS_SRV,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
270
    'TXT' => DNS_TXT,
Open commit View diff
270 'TXT' => DNS_TXT,
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
271
  );
Open commit View diff
271 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
272
Open commit View diff
272
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
273
  $data_field = array(
Open commit View diff
273 $data_field = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
274
    'A' => 'ip',
Open commit View diff
274 'A' => 'ip',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
275
    'AAAA' => 'ipv6',
Open commit View diff
275 'AAAA' => 'ipv6',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
276
    'CNAME' => 'target',
Open commit View diff
276 'CNAME' => 'target',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
277
    'MX' => 'target',
Open commit View diff
277 'MX' => 'target',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
278
    'PTR' => 'target',
Open commit View diff
278 'PTR' => 'target',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
279
    'SRV' => 'data',
Open commit View diff
279 'SRV' => 'data',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
280
    'TLSA' => 'data',
Open commit View diff
280 'TLSA' => 'data',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
281
    'TXT' => 'txt',
Open commit View diff
281 'TXT' => 'txt',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
282
  );
Open commit View diff
282 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
283
Open commit View diff
283
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
284
  ?>
Open commit View diff
284 ?>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
285
  <div class="table-responsive" id="dnstable">
Open commit View diff
285 <div class="table-responsive" id="dnstable">
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
286
    <table class="table table-striped">
Open commit View diff
286 <table class="table table-striped">
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
287
      <tr>
Open commit View diff
287 <tr>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
288
        <th><?=$lang['diagnostics']['dns_records_name'];?></th>
Open commit View diff
288 <th><?=$lang['diagnostics']['dns_records_name'];?></th>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
289
        <th><?=$lang['diagnostics']['dns_records_type'];?></th>
Open commit View diff
289 <th><?=$lang['diagnostics']['dns_records_type'];?></th>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
290
        <th><?=$lang['diagnostics']['dns_records_data'];?></th>
Open commit View diff
290 <th><?=$lang['diagnostics']['dns_records_data'];?></th>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
291
        <th><?=$lang['diagnostics']['dns_records_status'];?></th>
Open commit View diff
291 <th><?=$lang['diagnostics']['dns_records_status'];?></th>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
292
      </tr>
Open commit View diff
292 </tr>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
293
      <?php
Open commit View diff
293 <?php
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
294
      foreach ($records as &$record) {
Open commit View diff
294 foreach ($records as &$record) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
295
        $record[1] = strtoupper($record[1]);
Open commit View diff
295 $record[1] = strtoupper($record[1]);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
296
        $state = state_optional;
Open commit View diff
296 $state = state_optional;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
297
Open commit View diff
297
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
298
        if ($record[1] == 'TLSA') {
Open commit View diff
298 if ($record[1] == 'TLSA') {
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
299
          $currents = (array)dns_get_record($record[0], 52, $_, $_, TRUE);
Open commit View diff
299 $currents = (array)dns_get_record($record[0], 52, $_, $_, TRUE);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
300
          foreach ($currents as &$current) {
Open commit View diff
300 foreach ($currents as &$current) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
301
            $current['type'] = 'TLSA';
Open commit View diff
301 $current['type'] = 'TLSA';
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
302
            $current['cert_usage'] = hexdec(bin2hex($current['data'][0]));
Open commit View diff
302 $current['cert_usage'] = hexdec(bin2hex($current['data'][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
303
            $current['selector'] = hexdec(bin2hex($current['data'][1]));
Open commit View diff
303 $current['selector'] = hexdec(bin2hex($current['data'][1]));
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
304
            $current['match_type'] = hexdec(bin2hex($current['data'][2]));
Open commit View diff
304 $current['match_type'] = hexdec(bin2hex($current['data'][2]));
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
305
            $current['cert_data'] = bin2hex(substr($current['data'], 3));
Open commit View diff
305 $current['cert_data'] = bin2hex(substr($current['data'], 3));
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
306
            $current['data'] = $current['cert_usage'] . ' ' . $current['selector'] . ' ' . $current['match_type'] . ' ' . $current['cert_data'];
Open commit View diff
306 $current['data'] = $current['cert_usage'] . ' ' . $current['selector'] . ' ' . $current['match_type'] . ' ' . $current['cert_data'];
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
307
          }
Open commit View diff
307 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
308
          unset($current);
Open commit View diff
308 unset($current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
309
        }
Open commit View diff
309 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
310
        else {
Open commit View diff
310 else {
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
311
          $currents = (array)dns_get_record($record[0], $record_types[$record[1]]);
Open commit View diff
311 $currents = (array)dns_get_record($record[0], $record_types[$record[1]]);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
312
          if ($record[0] == $mailcow_hostname && ($record[1] == "A" || $record[1] == "AAAA")) {
Open commit View diff
312 if ($record[0] == $mailcow_hostname && ($record[1] == "A" || $record[1] == "AAAA")) {
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
313
            if (!empty((array)dns_get_record($record[0], DNS_CNAME))) {
Open commit View diff
313 if (!empty((array)dns_get_record($record[0], DNS_CNAME))) {
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
314
              $currents[0]['ip'] = state_missing . ' <b>(CNAME)</b>';
Open commit View diff
314 $currents[0]['ip'] = state_missing . ' <b>(CNAME)</b>';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
315
              $currents[0]['ipv6'] = state_missing . ' <b>(CNAME)</b>';
Open commit View diff
315 $currents[0]['ipv6'] = state_missing . ' <b>(CNAME)</b>';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
316
            }
Open commit View diff
316 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
317
          }
Open commit View diff
317 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
318
          if ($record[1] == 'SRV') {
Open commit View diff
318 if ($record[1] == 'SRV') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
319
            foreach ($currents as &$current) {
Open commit View diff
319 foreach ($currents as &$current) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
320
              if ($current['target'] == '') {
Open commit View diff
320 if ($current['target'] == '') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
321
                $current['target'] = '.';
Open commit View diff
321 $current['target'] = '.';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
322
                $current['port'] = '0';
Open commit View diff
322 $current['port'] = '0';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
323
              }
Open commit View diff
323 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
324
              $current['data'] = $current['target'] . ' ' . $current['port'];
Open commit View diff
324 $current['data'] = $current['target'] . ' ' . $current['port'];
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
325
            }
Open commit View diff
325 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
326
            unset($current);
Open commit View diff
326 unset($current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
327
          }
Open commit View diff
327 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
328
          elseif ($record[1] == 'TXT') {
Open commit View diff
328 elseif ($record[1] == 'TXT') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
329
            foreach ($currents as &$current) {
Open commit View diff
329 foreach ($currents as &$current) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
330
              unset($current);
Open commit View diff
330 unset($current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
331
            }
Open commit View diff
331 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
332
            unset($current);
Open commit View diff
332 unset($current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
333
          }
Open commit View diff
333 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
334
          elseif ($record[1] == 'AAAA') {
Open commit View diff
334 elseif ($record[1] == 'AAAA') {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
335
            foreach ($currents as &$current) {
Open commit View diff
335 foreach ($currents as &$current) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
336
              $current['ipv6'] = expand_ipv6($current['ipv6']);
Open commit View diff
336 $current['ipv6'] = expand_ipv6($current['ipv6']);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
337
            }
Open commit View diff
337 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
338
          }
Open commit View diff
338 }
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
339
        }
Open commit View diff
339 }
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
340
Open commit View diff
340
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
341
        if ($record[1] == 'CNAME' && count($currents) == 0) {
Open commit View diff
341 if ($record[1] == 'CNAME' && count($currents) == 0) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
342
          // A and AAAA are also valid instead of CNAME
Open commit View diff
342 // A and AAAA are also valid instead of CNAME
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
343
          $a = (array)dns_get_record($record[0], DNS_A);
Open commit View diff
343 $a = (array)dns_get_record($record[0], DNS_A);
same change 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
344
          $cname = (array)dns_get_record($record[2], DNS_A);
Open commit View diff
344 $cname = (array)dns_get_record($record[2], DNS_A);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
345
          if (count($a) > 0 && count($cname) > 0) {
Open commit View diff
345 if (count($a) > 0 && count($cname) > 0) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
346
            if ($a[0]['ip'] == $cname[0]['ip']) {
Open commit View diff
346 if ($a[0]['ip'] == $cname[0]['ip']) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
347
              $currents = array(
Open commit View diff
347 $currents = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
348
                array(
Open commit View diff
348 array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
349
                  'host' => $record[0],
Open commit View diff
349 'host' => $record[0],
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
350
                  'class' => 'IN',
Open commit View diff
350 'class' => 'IN',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
351
                  'type' => 'CNAME',
Open commit View diff
351 'type' => 'CNAME',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
352
                  'target' => $record[2]
Open commit View diff
352 'target' => $record[2]
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
353
                )
Open commit View diff
353 )
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
354
              );
Open commit View diff
354 );
andryyy almost 5 years ago 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
355
              $aaaa = (array)dns_get_record($record[0], DNS_AAAA);
Open commit View diff
355 $aaaa = (array)dns_get_record($record[0], DNS_AAAA);
same change 50c90ba

[Web] Cast all DNS check results to arrays

Full commit hash
50c90badb0d060295e902c0ce8351e4705036293
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
356
              $cname = (array)dns_get_record($record[2], DNS_AAAA);
Open commit View diff
356 $cname = (array)dns_get_record($record[2], DNS_AAAA);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
357
              if (count($aaaa) == 0 || count($cname) == 0 || expand_ipv6($aaaa[0]['ipv6']) != expand_ipv6($cname[0]['ipv6'])) {
Open commit View diff
357 if (count($aaaa) == 0 || count($cname) == 0 || expand_ipv6($aaaa[0]['ipv6']) != expand_ipv6($cname[0]['ipv6'])) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
358
                $currents[0]['target'] = expand_ipv6($aaaa[0]['ipv6']) . ' <sup>1</sup>';
Open commit View diff
358 $currents[0]['target'] = expand_ipv6($aaaa[0]['ipv6']) . ' <sup>1</sup>';
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
359
              }
Open commit View diff
359 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
360
            }
Open commit View diff
360 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
361
            else {
Open commit View diff
361 else {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
362
              $currents = array(
Open commit View diff
362 $currents = array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
363
                array(
Open commit View diff
363 array(
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
364
                  'host' => $record[0],
Open commit View diff
364 'host' => $record[0],
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
365
                  'class' => 'IN',
Open commit View diff
365 'class' => 'IN',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
366
                  'type' => 'CNAME',
Open commit View diff
366 'type' => 'CNAME',
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
367
                  'target' => $a[0]['ip'] . ' <sup>1</sup>'
Open commit View diff
367 'target' => $a[0]['ip'] . ' <sup>1</sup>'
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
368
                )
Open commit View diff
368 )
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
369
              );
Open commit View diff
369 );
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
370
            }
Open commit View diff
370 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
371
          }
Open commit View diff
371 }
Kristián Feldsam over 8 years ago 2a8bdc8

DNS Diagnostics - Ehnaced SPF record check

Full commit hash
2a8bdc8deab60db693fe36aa217dbdc88887e332
Author
Kristián Feldsam <[email protected]>
Date
over 8 years ago
Selected line
372
        }
Open commit View diff
372 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
373
Open commit View diff
373
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
374
        foreach ($currents as &$current) {
Open commit View diff
374 foreach ($currents as &$current) {
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
375
          if ($current['type'] == "TXT" &&
Open commit View diff
375 if ($current['type'] == "TXT" &&
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
376
              stripos(strtolower($current['txt']), 'v=sts') === 0) {
Open commit View diff
376 stripos(strtolower($current['txt']), 'v=sts') === 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
377
            if (strtolower($current[$data_field[$current['type']]]) == strtolower($record[2])) {
Open commit View diff
377 if (strtolower($current[$data_field[$current['type']]]) == strtolower($record[2])) {
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
378
              $state = state_good;
Open commit View diff
378 $state = state_good;
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
379
            }
Open commit View diff
379 }
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
380
            else {
Open commit View diff
380 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
381
              $state = state_nomatch;
Open commit View diff
381 $state = state_nomatch;
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
382
            }
Open commit View diff
382 }
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
383
            $state .= '<br />' . $current[$data_field[$current['type']]];
Open commit View diff
383 $state .= '<br />' . $current[$data_field[$current['type']]];
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
384
          }
Open commit View diff
384 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
385
          if ($current['type'] == 'TXT' &&
Open commit View diff
385 if ($current['type'] == 'TXT' &&
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
386
              stripos($current['txt'], 'v=dmarc') === 0 &&
Open commit View diff
386 stripos($current['txt'], 'v=dmarc') === 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
387
              $record[2] == $dmarc_link) {
Open commit View diff
387 $record[2] == $dmarc_link) {
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
388
            $current['txt'] = str_replace(' ', '', $current['txt']);
Open commit View diff
388 $current['txt'] = str_replace(' ', '', $current['txt']);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
389
            $state = $current[$data_field[$current['type']]] . state_optional;
Open commit View diff
389 $state = $current[$data_field[$current['type']]] . state_optional;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
390
          }
Open commit View diff
390 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
391
          elseif ($current['type'] == 'TXT' &&
Open commit View diff
391 elseif ($current['type'] == 'TXT' &&
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
392
                  stripos($current['txt'], 'v=spf') === 0 &&
Open commit View diff
392 stripos($current['txt'], 'v=spf') === 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
393
                  $record[2] == $spf_link) {
Open commit View diff
393 $record[2] == $spf_link) {
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
394
            $state = state_nomatch;
Open commit View diff
394 $state = state_nomatch;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
395
            $rslt = get_spf_allowed_hosts($record[0], true);
Open commit View diff
395 $rslt = get_spf_allowed_hosts($record[0], true);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
396
            if (in_array($ip, $rslt) && in_array(expand_ipv6($ip6), $rslt)) {
Open commit View diff
396 if (in_array($ip, $rslt) && in_array(expand_ipv6($ip6), $rslt)) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
397
              $state = state_good;
Open commit View diff
397 $state = state_good;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
398
            }
Open commit View diff
398 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
399
            $state .= '<br />' . $current[$data_field[$current['type']]] . state_optional;
Open commit View diff
399 $state .= '<br />' . $current[$data_field[$current['type']]] . state_optional;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
400
          }
Open commit View diff
400 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
401
          elseif ($current['type'] == 'TXT' &&
Open commit View diff
401 elseif ($current['type'] == 'TXT' &&
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
402
                  stripos($current['txt'], 'v=dkim') === 0 &&
Open commit View diff
402 stripos($current['txt'], 'v=dkim') === 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
403
                  stripos($record[2], 'v=dkim') === 0) {
Open commit View diff
403 stripos($record[2], 'v=dkim') === 0) {
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
404
            preg_match('/v=DKIM1;.*k=rsa;.*p=([^;]*).*/i', $current[$data_field[$current['type']]], $dkim_matches_current);
Open commit View diff
404 preg_match('/v=DKIM1;.*k=rsa;.*p=([^;]*).*/i', $current[$data_field[$current['type']]], $dkim_matches_current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
405
            preg_match('/v=DKIM1;.*k=rsa;.*p=([^;]*).*/i', $record[2], $dkim_matches_good);
Open commit View diff
405 preg_match('/v=DKIM1;.*k=rsa;.*p=([^;]*).*/i', $record[2], $dkim_matches_good);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
406
            if ($dkim_matches_current[1] == $dkim_matches_good[1]) {
Open commit View diff
406 if ($dkim_matches_current[1] == $dkim_matches_good[1]) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
407
              $state = state_good;
Open commit View diff
407 $state = state_good;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
408
            }
Open commit View diff
408 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
409
          }
Open commit View diff
409 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
410
          elseif ($current['type'] != 'TXT' &&
Open commit View diff
410 elseif ($current['type'] != 'TXT' &&
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
411
                  isset($data_field[$current['type']]) && $state != state_good) {
Open commit View diff
411 isset($data_field[$current['type']]) && $state != state_good) {
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
412
            $state = state_nomatch;
Open commit View diff
412 $state = state_nomatch;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
413
            if ($current[$data_field[$current['type']]] == $record[2]) {
Open commit View diff
413 if ($current[$data_field[$current['type']]] == $record[2]) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
414
              $state = state_good;
Open commit View diff
414 $state = state_good;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
415
            }
Open commit View diff
415 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
416
          }
Open commit View diff
416 }
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
417
        }
Open commit View diff
417 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
418
        unset($current);
Open commit View diff
418 unset($current);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
419
Open commit View diff
419
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
420
        if (isset($record[3]) &&
Open commit View diff
420 if (isset($record[3]) &&
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
421
        $record[3] == state_optional &&
Open commit View diff
421 $record[3] == state_optional &&
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
422
        ($state == state_missing || $state == state_nomatch)) {
Open commit View diff
422 ($state == state_missing || $state == state_nomatch)) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
423
          $state = state_optional;
Open commit View diff
423 $state = state_optional;
andre.peters over 8 years ago d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
424
        }
Open commit View diff
424 }
same change d76d103

[Web] Move DNS diagnostic to modal, some minor fixes

Full commit hash
d76d103c76f5c4f97e004b740ec8c6c99d44638a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
425
Open commit View diff
425
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
426
        if ($state == state_nomatch) {
Open commit View diff
426 if ($state == state_nomatch) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
427
          $state = array();
Open commit View diff
427 $state = array();
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
428
          foreach ($currents as $current) {
Open commit View diff
428 foreach ($currents as $current) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
429
            $state[] = $current[$data_field[$current['type']]];
Open commit View diff
429 $state[] = $current[$data_field[$current['type']]];
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
430
          }
Open commit View diff
430 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
431
          $state = implode('<br />', $state);
Open commit View diff
431 $state = implode('<br />', $state);
andryyy almost 6 years ago 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
432
        }
Open commit View diff
432 }
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
433
        echo sprintf('
Open commit View diff
433 echo sprintf('
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
434
        <tr>
Open commit View diff
434 <tr>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
435
          <td>%s</td>
Open commit View diff
435 <td>%s</td>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
436
          <td>%s</td>
Open commit View diff
436 <td>%s</td>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
437
          <td class="dns-found">%s</td>
Open commit View diff
437 <td class="dns-found">%s</td>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
438
          <td class="dns-recommended">%s</td>
Open commit View diff
438 <td class="dns-recommended">%s</td>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
439
        </tr>', $record[0], $record[1], $record[2], $state);
Open commit View diff
439 </tr>', $record[0], $record[1], $record[2], $state);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
440
        $record[3] = explode('<br />', $state);
Open commit View diff
440 $record[3] = explode('<br />', $state);
Michael Kuron about 6 years ago bae250c

DNS: add link for downloading zonefile (#3633)

Full commit hash
bae250cc81b831236583e886920c37999978ab3c
Author
Michael Kuron <[email protected]>
Date
about 6 years ago
Selected line
441
      }
Open commit View diff
441 }
andryyy almost 6 years ago 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
442
Open commit View diff
442
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
443
      unset($record);
Open commit View diff
443 unset($record);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
444
Open commit View diff
444
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
445
      $dns_data = sprintf("\$ORIGIN %s.\n", $domain);
Open commit View diff
445 $dns_data = sprintf("\$ORIGIN %s.\n", $domain);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
446
      foreach ($records as $record) {
Open commit View diff
446 foreach ($records as $record) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
447
        if ($domain == substr($record[0], -strlen($domain))) {
Open commit View diff
447 if ($domain == substr($record[0], -strlen($domain))) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
448
          $label = substr($record[0], 0, -strlen($domain)-1);
Open commit View diff
448 $label = substr($record[0], 0, -strlen($domain)-1);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
449
          $val = $record[2];
Open commit View diff
449 $val = $record[2];
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
450
Open commit View diff
450
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
451
          if (strlen($label) == 0) {
Open commit View diff
451 if (strlen($label) == 0) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
452
            $label = "@";
Open commit View diff
452 $label = "@";
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
453
          }
Open commit View diff
453 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
454
Open commit View diff
454
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
455
          $vals = array();
Open commit View diff
455 $vals = array();
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
456
          if (strpos($val, "<a") !== FALSE) {
Open commit View diff
456 if (strpos($val, "<a") !== FALSE) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
457
            if (is_array($record[3]) && count($record[3]) == 1 && $record[3][0] == state_optional) {
Open commit View diff
457 if (is_array($record[3]) && count($record[3]) == 1 && $record[3][0] == state_optional) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
458
              $record[3][0] = "**TODO**";
Open commit View diff
458 $record[3][0] = "**TODO**";
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
459
              $label = ';' . $label;
Open commit View diff
459 $label = ';' . $label;
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
460
            }
Open commit View diff
460 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
461
            foreach ($record[3] as $val) {
Open commit View diff
461 foreach ($record[3] as $val) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
462
              $val = str_replace(state_optional, '', $val);
Open commit View diff
462 $val = str_replace(state_optional, '', $val);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
463
              $val = str_replace(state_good, '', $val);
Open commit View diff
463 $val = str_replace(state_good, '', $val);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
464
              if (strlen($val) > 0) {
Open commit View diff
464 if (strlen($val) > 0) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
465
                $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val);
Open commit View diff
465 $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
466
              }
Open commit View diff
466 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
467
            }
Open commit View diff
467 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
468
          }
Open commit View diff
468 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
469
          else {
Open commit View diff
469 else {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
470
            $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val);
Open commit View diff
470 $vals[] = sprintf("%s\tIN\t%s\t%s\n", $label, $record[1], $val);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
471
          }
Open commit View diff
471 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
472
Open commit View diff
472
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
473
          foreach ($vals as $val) {
Open commit View diff
473 foreach ($vals as $val) {
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
474
            $dns_data .= str_replace($domain, $domain . '.', $val);
Open commit View diff
474 $dns_data .= str_replace($domain, $domain . '.', $val);
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
475
          }
Open commit View diff
475 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
476
        }
Open commit View diff
476 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
477
      }
Open commit View diff
477 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
478
      ?>
Open commit View diff
478 ?>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
479
    </table>
Open commit View diff
479 </table>
FreddleSpl0it about 4 years ago 18444bd

[BS5] fix minor issues

Full commit hash
18444bd2843a62adb89be6c78956667d9706cdc5
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
480
    <a id='download-zonefile' class="btn btn-sm btn-secondary visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline mb-4" style="margin-top:10px" data-zonefile="<?=base64_encode($dns_data);?>" download='<?=$_GET['domain'];?>.txt' type='text/csv'>Download</a>
Open commit View diff
480 <a id='download-zonefile' class="btn btn-sm btn-secondary visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline mb-4" style="margin-top:10px" data-zonefile="<?=base64_encode($dns_data);?>" download='<?=$_GET['domain'];?>.txt' type='text/csv'>Download</a>
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
481
    <script>
Open commit View diff
481 <script>
andryyy almost 6 years ago 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
482
      var zonefile_dl_link = document.getElementById('download-zonefile');
Open commit View diff
482 var zonefile_dl_link = document.getElementById('download-zonefile');
same change 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
483
      var zonefile = atob(zonefile_dl_link.getAttribute('data-zonefile'));
Open commit View diff
483 var zonefile = atob(zonefile_dl_link.getAttribute('data-zonefile'));
same change 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
484
      var data = new Blob([zonefile]);
Open commit View diff
484 var data = new Blob([zonefile]);
same change 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
485
      var download_zonefile_link = document.getElementById('download-zonefile');
Open commit View diff
485 var download_zonefile_link = document.getElementById('download-zonefile');
same change 4a8edd5

[Web] Fix download link for dns zone file

Full commit hash
4a8edd5b8879adad0e051f9646dbd90e5e91d584
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
486
      download_zonefile_link.href = URL.createObjectURL(data);
Open commit View diff
486 download_zonefile_link.href = URL.createObjectURL(data);
andryyy over 5 years ago 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
487
    </script>
Open commit View diff
487 </script>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
488
  </div>
Open commit View diff
488 </div>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
489
  <p class="help-block">
Open commit View diff
489 <p class="help-block">
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
490
    <sup>1</sup> <?=$lang['diagnostics']['cname_from_a'];?><br />
Open commit View diff
490 <sup>1</sup> <?=$lang['diagnostics']['cname_from_a'];?><br />
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
491
    <sup>2</sup> <?=$lang['diagnostics']['optional'];?>
Open commit View diff
491 <sup>2</sup> <?=$lang['diagnostics']['optional'];?>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
492
  </p>
Open commit View diff
492 </p>
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
493
  <?php
Open commit View diff
493 <?php
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
494
}
Open commit View diff
494 }
same change 06c89ba

[Web] Implement XMPP

Full commit hash
06c89bac7deec007fbc5703bb8973f4da2176846
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
495
else {
Open commit View diff
495 else {
andre.peters over 8 years ago 34b7ab7

[Web] Add DNS diagnostics as modal, some minor fixes, todo: Detect IPv4/6 by multiple sources and random selection

Full commit hash
34b7ab7104d6a5050233b14a64215e605b5c104a
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
496
  echo "Session invalid";
Open commit View diff
496 echo "Session invalid";
ntimo almost 7 years ago cb9ab92

[Web] Replaced die(); with exit(); due to code conventions

Full commit hash
cb9ab928b37effa66fea2d70fbc25c71c6bdf8f3
Author
ntimo <[email protected]>
Date
almost 7 years ago
Selected line
497
  exit();
Open commit View diff
497 exit();
Michael Kuron about 9 years ago 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
498
}
Open commit View diff
498 }
same change 14d2b3d

DNS diagnostics page

Full commit hash
14d2b3d7632881d1cb208dce7641a5a153bd2fcf
Author
Michael Kuron <[email protected]>
Date
about 9 years ago
Selected line
499
?>
Open commit View diff
499 ?>