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/edit.php

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

edit.php on main
Author Date Commit Line Code
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 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';
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
3
Open commit View diff
3
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
4
protect_route();
Open commit View diff
4 protect_route();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
5
Open commit View diff
5
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
6
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php';
Open commit View diff
6 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
7
Open commit View diff
7
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
8
$template = 'edit.twig';
Open commit View diff
8 $template = 'edit.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
9
$template_data = [];
Open commit View diff
9 $template_data = [];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
10
$result = null;
Open commit View diff
10 $result = null;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
11
if (isset($_SESSION['mailcow_cc_role'])) {
Open commit View diff
11 if (isset($_SESSION['mailcow_cc_role'])) {
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
12
  if ($_SESSION['mailcow_cc_role'] == "admin" || $_SESSION['mailcow_cc_role'] == "domainadmin") {
Open commit View diff
12 if ($_SESSION['mailcow_cc_role'] == "admin" || $_SESSION['mailcow_cc_role'] == "domainadmin") {
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
13
    if (isset($_GET["alias"]) &&
Open commit View diff
13 if (isset($_GET["alias"]) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
14
      !empty($_GET["alias"])) {
Open commit View diff
14 !empty($_GET["alias"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
15
        $alias = html_entity_decode(rawurldecode($_GET["alias"]));
Open commit View diff
15 $alias = html_entity_decode(rawurldecode($_GET["alias"]));
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
16
        $result = mailbox('get', 'alias_details', $alias);
Open commit View diff
16 $result = mailbox('get', 'alias_details', $alias);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
17
Open commit View diff
17
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
18
        $template = 'edit/alias.twig';
Open commit View diff
18 $template = 'edit/alias.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
19
        $template_data = [
Open commit View diff
19 $template_data = [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
20
          'alias' => $alias,
Open commit View diff
20 'alias' => $alias,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
21
          'goto' => (preg_match('/^(null|ham|spam)@localhost$/i', $result['goto'])) ? null : $result['goto'],
Open commit View diff
21 'goto' => (preg_match('/^(null|ham|spam)@localhost$/i', $result['goto'])) ? null : $result['goto'],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
22
        ];
Open commit View diff
22 ];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
23
    }
Open commit View diff
23 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
24
    elseif (isset($_GET['domainadmin'])) {
Open commit View diff
24 elseif (isset($_GET['domainadmin'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
25
      $domain_admin = $_GET["domainadmin"];
Open commit View diff
25 $domain_admin = $_GET["domainadmin"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
26
      $result = domain_admin('details', $domain_admin);
Open commit View diff
26 $result = domain_admin('details', $domain_admin);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
27
      $template = 'edit/domainadmin.twig';
Open commit View diff
27 $template = 'edit/domainadmin.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
28
      $template_data = [
Open commit View diff
28 $template_data = [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
29
        'domain_admin' => $domain_admin,
Open commit View diff
29 'domain_admin' => $domain_admin,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
30
        'da_acls' => acl('get', 'domainadmin', $domain_admin),
Open commit View diff
30 'da_acls' => acl('get', 'domainadmin', $domain_admin),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
31
      ];
Open commit View diff
31 ];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
32
    }
Open commit View diff
32 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
33
    elseif (isset($_GET['admin'])) {
Open commit View diff
33 elseif (isset($_GET['admin'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
34
      $admin = $_GET["admin"];
Open commit View diff
34 $admin = $_GET["admin"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
35
      $result = admin('details', $admin);
Open commit View diff
35 $result = admin('details', $admin);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
36
      $template = 'edit/admin.twig';
Open commit View diff
36 $template = 'edit/admin.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
37
      $template_data = ['admin' => $admin];
Open commit View diff
37 $template_data = ['admin' => $admin];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
38
    }
Open commit View diff
38 }
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
39
    elseif (isset($_GET['domain'])) {
Open commit View diff
39 elseif (isset($_GET['domain'])) {
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
40
      if (is_valid_domain_name($_GET["domain"]) &&
Open commit View diff
40 if (is_valid_domain_name($_GET["domain"]) &&
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
41
        !empty($_GET["domain"])) {
Open commit View diff
41 !empty($_GET["domain"])) {
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
42
          // edit domain
Open commit View diff
42 // edit domain
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
43
          $domain = $_GET["domain"];
Open commit View diff
43 $domain = $_GET["domain"];
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
44
          $result = mailbox('get', 'domain_details', $domain);
Open commit View diff
44 $result = mailbox('get', 'domain_details', $domain);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
45
          $quota_notification_bcc = quota_notification_bcc('get', $domain);
Open commit View diff
45 $quota_notification_bcc = quota_notification_bcc('get', $domain);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
46
          $rl = ratelimit('get', 'domain', $domain);
Open commit View diff
46 $rl = ratelimit('get', 'domain', $domain);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
47
          $rlyhosts = relayhost('get');
Open commit View diff
47 $rlyhosts = relayhost('get');
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
48
          $domain_footer = mailbox('get', 'domain_wide_footer', $domain);
Open commit View diff
48 $domain_footer = mailbox('get', 'domain_wide_footer', $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
49
          $mta_sts = mailbox('get', 'mta_sts', $domain);
Open commit View diff
49 $mta_sts = mailbox('get', 'mta_sts', $domain);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
50
          if (count($mta_sts) == 0) {
Open commit View diff
50 if (count($mta_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
51
            $mta_sts = false;
Open commit View diff
51 $mta_sts = false;
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
52
          } elseif (isset($mta_sts['mx'])) {
Open commit View diff
52 } elseif (isset($mta_sts['mx'])) {
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
53
            $mta_sts['mx'] = implode(',', $mta_sts['mx']);
Open commit View diff
53 $mta_sts['mx'] = implode(',', $mta_sts['mx']);
same change c39712a

pf/php: add mta-sts support (outbound) (#6686)

Full commit hash
c39712af671cc150595e6aadc7c31868eef14408
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
54
          }
Open commit View diff
54 }
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
55
          $template = 'edit/domain.twig';
Open commit View diff
55 $template = 'edit/domain.twig';
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
56
          $template_data = [
Open commit View diff
56 $template_data = [
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
57
            'acl' => $_SESSION['acl'],
Open commit View diff
57 'acl' => $_SESSION['acl'],
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
58
            'domain' => $domain,
Open commit View diff
58 'domain' => $domain,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
59
            'quota_notification_bcc' => $quota_notification_bcc,
Open commit View diff
59 'quota_notification_bcc' => $quota_notification_bcc,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
60
            'rl' => $rl,
Open commit View diff
60 'rl' => $rl,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
61
            'rlyhosts' => $rlyhosts,
Open commit View diff
61 'rlyhosts' => $rlyhosts,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
62
            'dkim' => dkim('details', $domain),
Open commit View diff
62 'dkim' => dkim('details', $domain),
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
63
            'domain_details' => $result,
Open commit View diff
63 'domain_details' => $result,
FreddleSpl0it about 3 years ago f295b8c

[Rspamd] add domain wide footer

Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
64
            'domain_footer' => $domain_footer,
Open commit View diff
64 'domain_footer' => $domain_footer,
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
65
            'mta_sts' => $mta_sts,
Open commit View diff
65 'mta_sts' => $mta_sts,
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
66
            'mailboxes' => mailbox('get', 'mailboxes', $_GET["domain"]),
Open commit View diff
66 'mailboxes' => mailbox('get', 'mailboxes', $_GET["domain"]),
FreddleSpl0it over 2 years ago 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
67
            'aliases' => mailbox('get', 'aliases', $_GET["domain"], 'address'),
Open commit View diff
67 'aliases' => mailbox('get', 'aliases', $_GET["domain"], 'address'),
same change 86ba019

[Rspamd] apply domain wide footer to alias domains

Full commit hash
86ba019ca09b7e09c59ec8a1e4f562493947510a
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
68
            'alias_domains' => mailbox('get', 'alias_domains', $_GET["domain"])
Open commit View diff
68 'alias_domains' => mailbox('get', 'alias_domains', $_GET["domain"])
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
69
          ];
Open commit View diff
69 ];
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
70
      }
Open commit View diff
70 }
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
71
    }
Open commit View diff
71 }
Kristian Feldsam almost 3 years ago e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
72
    elseif (isset($_GET['template'])){
Open commit View diff
72 elseif (isset($_GET['template'])){
same change e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
73
      $domain_template = mailbox('get', 'domain_templates', $_GET['template']);
Open commit View diff
73 $domain_template = mailbox('get', 'domain_templates', $_GET['template']);
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
74
      if ($domain_template){
Open commit View diff
74 if ($domain_template){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
75
        $template_data = [
Open commit View diff
75 $template_data = [
Kristian Feldsam almost 3 years ago e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
76
          'template' => $domain_template,
Open commit View diff
76 'template' => $domain_template,
same change e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
77
          'rl' => ['frame' => $domain_template['attributes']['rl_frame']],
Open commit View diff
77 'rl' => ['frame' => $domain_template['attributes']['rl_frame']],
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
78
        ];
Open commit View diff
78 ];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
79
        $template = 'edit/domain-templates.twig';
Open commit View diff
79 $template = 'edit/domain-templates.twig';
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
80
        $result = true;
Open commit View diff
80 $result = true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
81
      }
Open commit View diff
81 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
82
      else {
Open commit View diff
82 else {
Kristian Feldsam almost 3 years ago e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
83
        $mailbox_template = mailbox('get', 'mailbox_templates', $_GET['template']);
Open commit View diff
83 $mailbox_template = mailbox('get', 'mailbox_templates', $_GET['template']);
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
84
        if ($mailbox_template){
Open commit View diff
84 if ($mailbox_template){
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
85
          $template_data = [
Open commit View diff
85 $template_data = [
Kristian Feldsam almost 3 years ago e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
86
            'template' => $mailbox_template,
Open commit View diff
86 'template' => $mailbox_template,
same change e4e8abb

[Web] Ratelimit settings as input group

Full commit hash
e4e8abb1b9f04b6852d2b64e8ae99476d27ee11a
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
87
            'rl' => ['frame' => $mailbox_template['attributes']['rl_frame']],
Open commit View diff
87 'rl' => ['frame' => $mailbox_template['attributes']['rl_frame']],
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
88
          ];
Open commit View diff
88 ];
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
89
          $template = 'edit/mailbox-templates.twig';
Open commit View diff
89 $template = 'edit/mailbox-templates.twig';
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
90
          $result = true;
Open commit View diff
90 $result = true;
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
91
        }
Open commit View diff
91 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
92
      }
Open commit View diff
92 }
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
93
    }
Open commit View diff
93 }
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
94
    elseif (isset($_GET['oauth2client']) &&
Open commit View diff
94 elseif (isset($_GET['oauth2client']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
95
      is_numeric($_GET["oauth2client"]) &&
Open commit View diff
95 is_numeric($_GET["oauth2client"]) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
96
      !empty($_GET["oauth2client"])) {
Open commit View diff
96 !empty($_GET["oauth2client"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
97
        $oauth2client = $_GET["oauth2client"];
Open commit View diff
97 $oauth2client = $_GET["oauth2client"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
98
        $result = oauth2('details', 'client', $oauth2client);
Open commit View diff
98 $result = oauth2('details', 'client', $oauth2client);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
99
        $template = 'edit/oauth2client.twig';
Open commit View diff
99 $template = 'edit/oauth2client.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
100
        $template_data = ['oauth2client' => $oauth2client];
Open commit View diff
100 $template_data = ['oauth2client' => $oauth2client];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
101
    }
Open commit View diff
101 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
102
    elseif (isset($_GET['aliasdomain']) &&
Open commit View diff
102 elseif (isset($_GET['aliasdomain']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
103
      is_valid_domain_name(html_entity_decode(rawurldecode($_GET["aliasdomain"]))) &&
Open commit View diff
103 is_valid_domain_name(html_entity_decode(rawurldecode($_GET["aliasdomain"]))) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
104
      !empty($_GET["aliasdomain"])) {
Open commit View diff
104 !empty($_GET["aliasdomain"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
105
        $alias_domain = html_entity_decode(rawurldecode($_GET["aliasdomain"]));
Open commit View diff
105 $alias_domain = html_entity_decode(rawurldecode($_GET["aliasdomain"]));
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
106
        $result = mailbox('get', 'alias_domain_details', $alias_domain);
Open commit View diff
106 $result = mailbox('get', 'alias_domain_details', $alias_domain);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
107
        $rl = ratelimit('get', 'domain', $alias_domain);
Open commit View diff
107 $rl = ratelimit('get', 'domain', $alias_domain);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
108
        $template = 'edit/aliasdomain.twig';
Open commit View diff
108 $template = 'edit/aliasdomain.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
109
        $template_data = [
Open commit View diff
109 $template_data = [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
110
          'alias_domain' => $alias_domain,
Open commit View diff
110 'alias_domain' => $alias_domain,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
111
          'rl' => $rl,
Open commit View diff
111 'rl' => $rl,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
112
          'domains' => mailbox('get', 'domains'),
Open commit View diff
112 'domains' => mailbox('get', 'domains'),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
113
          'dkim' => dkim('details', $alias_domain),
Open commit View diff
113 'dkim' => dkim('details', $alias_domain),
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
114
        ];
Open commit View diff
114 ];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
115
    }
Open commit View diff
115 }
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
116
    elseif (isset($_GET['mailbox'])){
Open commit View diff
116 elseif (isset($_GET['mailbox'])){
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
117
      if(filter_var(html_entity_decode(rawurldecode($_GET["mailbox"])), FILTER_VALIDATE_EMAIL) && !empty($_GET["mailbox"])) {
Open commit View diff
117 if(filter_var(html_entity_decode(rawurldecode($_GET["mailbox"])), FILTER_VALIDATE_EMAIL) && !empty($_GET["mailbox"])) {
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
118
        // edit mailbox
Open commit View diff
118 // edit mailbox
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
119
        $mailbox = html_entity_decode(rawurldecode($_GET["mailbox"]));
Open commit View diff
119 $mailbox = html_entity_decode(rawurldecode($_GET["mailbox"]));
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
120
        $result = mailbox('get', 'mailbox_details', $mailbox);
Open commit View diff
120 $result = mailbox('get', 'mailbox_details', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
121
        $rl = ratelimit('get', 'mailbox', $mailbox);
Open commit View diff
121 $rl = ratelimit('get', 'mailbox', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
122
        $pushover_data = pushover('get', $mailbox);
Open commit View diff
122 $pushover_data = pushover('get', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
123
        $quarantine_notification = mailbox('get', 'quarantine_notification', $mailbox);
Open commit View diff
123 $quarantine_notification = mailbox('get', 'quarantine_notification', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
124
        $quarantine_category = mailbox('get', 'quarantine_category', $mailbox);
Open commit View diff
124 $quarantine_category = mailbox('get', 'quarantine_category', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
125
        $get_tls_policy = mailbox('get', 'tls_policy', $mailbox);
Open commit View diff
125 $get_tls_policy = mailbox('get', 'tls_policy', $mailbox);
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
126
        $rlyhosts = relayhost('get');
Open commit View diff
126 $rlyhosts = relayhost('get');
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
127
        $template = 'edit/mailbox.twig';
Open commit View diff
127 $template = 'edit/mailbox.twig';
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
128
        $template_data = [
Open commit View diff
128 $template_data = [
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
129
          'acl' => $_SESSION['acl'],
Open commit View diff
129 'acl' => $_SESSION['acl'],
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
130
          'mailbox' => $mailbox,
Open commit View diff
130 'mailbox' => $mailbox,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
131
          'rl' => $rl,
Open commit View diff
131 'rl' => $rl,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
132
          'pushover_data' => $pushover_data,
Open commit View diff
132 'pushover_data' => $pushover_data,
FreddleSpl0it 12 months ago 1e42b8d

[Web] Add delimiter_action to mailbox and mailbox_template add/edit admin forms (#6620)

Full commit hash
1e42b8dd21fb021e1ddcbb2cae94f79146fe4d39
Author
FreddleSpl0it <[email protected]>
Date
12 months ago
Selected line
133
          'get_tagging_options' => mailbox('get', 'delimiter_action', $mailbox),
Open commit View diff
133 'get_tagging_options' => mailbox('get', 'delimiter_action', $mailbox),
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
134
          'quarantine_notification' => $quarantine_notification,
Open commit View diff
134 'quarantine_notification' => $quarantine_notification,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
135
          'quarantine_category' => $quarantine_category,
Open commit View diff
135 'quarantine_category' => $quarantine_category,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
136
          'get_tls_policy' => $get_tls_policy,
Open commit View diff
136 'get_tls_policy' => $get_tls_policy,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
137
          'rlyhosts' => $rlyhosts,
Open commit View diff
137 'rlyhosts' => $rlyhosts,
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
138
          'sender_acl_handles' => mailbox('get', 'sender_acl_handles', $mailbox),
Open commit View diff
138 'sender_acl_handles' => mailbox('get', 'sender_acl_handles', $mailbox),
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
139
          'user_acls' => acl('get', 'user', $mailbox),
Open commit View diff
139 'user_acls' => acl('get', 'user', $mailbox),
FreddleSpl0it almost 3 years ago 17b6ac3

[Web] allow mailbox authsource to be switchable

Full commit hash
17b6ac331305e9f4a9b81c144969263c15f6a47d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
140
          'mailbox_details' => $result,
Open commit View diff
140 'mailbox_details' => $result,
same change 17b6ac3

[Web] allow mailbox authsource to be switchable

Full commit hash
17b6ac331305e9f4a9b81c144969263c15f6a47d
Author
FreddleSpl0it <[email protected]>
Date
almost 3 years ago
Selected line
141
          'iam_settings' => $iam_settings,
Open commit View diff
141 'iam_settings' => $iam_settings,
FreddleSpl0it over 3 years ago 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
142
        ];
Open commit View diff
142 ];
same change 3f40fad

edit page for default domain and mailbox settings

Full commit hash
3f40fada1bd93dffe8aeebcfde462034ec19deb1
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
143
      }
Open commit View diff
143 }
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
144
    }
Open commit View diff
144 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
145
    elseif (isset($_GET['relayhost']) && is_numeric($_GET["relayhost"]) && !empty($_GET["relayhost"])) {
Open commit View diff
145 elseif (isset($_GET['relayhost']) && is_numeric($_GET["relayhost"]) && !empty($_GET["relayhost"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
146
        $relayhost = intval($_GET["relayhost"]);
Open commit View diff
146 $relayhost = intval($_GET["relayhost"]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
147
        $result = relayhost('details', $relayhost);
Open commit View diff
147 $result = relayhost('details', $relayhost);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
148
        $template = 'edit/relayhost.twig';
Open commit View diff
148 $template = 'edit/relayhost.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
149
        $template_data = ['relayhost' => $relayhost];
Open commit View diff
149 $template_data = ['relayhost' => $relayhost];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
150
    }
Open commit View diff
150 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
151
    elseif (isset($_GET['transport']) && is_numeric($_GET["transport"]) && !empty($_GET["transport"])) {
Open commit View diff
151 elseif (isset($_GET['transport']) && is_numeric($_GET["transport"]) && !empty($_GET["transport"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
152
        $transport = intval($_GET["transport"]);
Open commit View diff
152 $transport = intval($_GET["transport"]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
153
        $result = transport('details', $transport);
Open commit View diff
153 $result = transport('details', $transport);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
154
        $template = 'edit/transport.twig';
Open commit View diff
154 $template = 'edit/transport.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
155
        $template_data = ['transport' => $transport];
Open commit View diff
155 $template_data = ['transport' => $transport];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
156
    }
Open commit View diff
156 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
157
    elseif (isset($_GET['resource']) && filter_var(html_entity_decode(rawurldecode($_GET["resource"])), FILTER_VALIDATE_EMAIL) && !empty($_GET["resource"])) {
Open commit View diff
157 elseif (isset($_GET['resource']) && filter_var(html_entity_decode(rawurldecode($_GET["resource"])), FILTER_VALIDATE_EMAIL) && !empty($_GET["resource"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
158
        $resource = html_entity_decode(rawurldecode($_GET["resource"]));
Open commit View diff
158 $resource = html_entity_decode(rawurldecode($_GET["resource"]));
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
159
        $result = mailbox('get', 'resource_details', $resource);
Open commit View diff
159 $result = mailbox('get', 'resource_details', $resource);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
160
        $template = 'edit/resource.twig';
Open commit View diff
160 $template = 'edit/resource.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
161
    }
Open commit View diff
161 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
162
    elseif (isset($_GET['bcc']) && !empty($_GET["bcc"])) {
Open commit View diff
162 elseif (isset($_GET['bcc']) && !empty($_GET["bcc"])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
163
        $bcc = intval($_GET["bcc"]);
Open commit View diff
163 $bcc = intval($_GET["bcc"]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
164
        $result = bcc('details', $bcc);
Open commit View diff
164 $result = bcc('details', $bcc);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
165
        $template = 'edit/bcc.twig';
Open commit View diff
165 $template = 'edit/bcc.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
166
        $template_data = ['bcc' => $bcc];
Open commit View diff
166 $template_data = ['bcc' => $bcc];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
167
    }
Open commit View diff
167 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
168
    elseif (isset($_GET['recipient_map']) &&
Open commit View diff
168 elseif (isset($_GET['recipient_map']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
169
      !empty($_GET["recipient_map"]) &&
Open commit View diff
169 !empty($_GET["recipient_map"]) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
170
      $_SESSION['mailcow_cc_role'] == "admin") {
Open commit View diff
170 $_SESSION['mailcow_cc_role'] == "admin") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
171
        $map = intval($_GET["recipient_map"]);
Open commit View diff
171 $map = intval($_GET["recipient_map"]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
172
        $result = recipient_map('details', $map);
Open commit View diff
172 $result = recipient_map('details', $map);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
173
        if (substr($result['recipient_map_old'], 0, 1) == '@') {
Open commit View diff
173 if (substr($result['recipient_map_old'], 0, 1) == '@') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
174
          $result['recipient_map_old'] = substr($result['recipient_map_old'], 1);
Open commit View diff
174 $result['recipient_map_old'] = substr($result['recipient_map_old'], 1);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
175
        }
Open commit View diff
175 }
PseudoResonance over 1 year ago e52323b

Fix @ prefixing domain rewrite and update localization

Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f
Author
PseudoResonance <[email protected]>
Date
over 1 year ago
Selected line
176
        if (substr($result['recipient_map_new'], 0, 1) == '@') {
Open commit View diff
176 if (substr($result['recipient_map_new'], 0, 1) == '@') {
same change e52323b

Fix @ prefixing domain rewrite and update localization

Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f
Author
PseudoResonance <[email protected]>
Date
over 1 year ago
Selected line
177
          $result['recipient_map_new'] = substr($result['recipient_map_new'], 1);
Open commit View diff
177 $result['recipient_map_new'] = substr($result['recipient_map_new'], 1);
same change e52323b

Fix @ prefixing domain rewrite and update localization

Full commit hash
e52323bf1dc6f0097d7dc7d103aa770c155b1c7f
Author
PseudoResonance <[email protected]>
Date
over 1 year ago
Selected line
178
        }
Open commit View diff
178 }
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
179
        $template = 'edit/recipient_map.twig';
Open commit View diff
179 $template = 'edit/recipient_map.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
180
        $template_data = ['map' => $map];
Open commit View diff
180 $template_data = ['map' => $map];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
181
    }
Open commit View diff
181 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
182
    elseif (isset($_GET['tls_policy_map']) &&
Open commit View diff
182 elseif (isset($_GET['tls_policy_map']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
183
      !empty($_GET["tls_policy_map"]) &&
Open commit View diff
183 !empty($_GET["tls_policy_map"]) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
184
      $_SESSION['mailcow_cc_role'] == "admin") {
Open commit View diff
184 $_SESSION['mailcow_cc_role'] == "admin") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
185
        $map = intval($_GET["tls_policy_map"]);
Open commit View diff
185 $map = intval($_GET["tls_policy_map"]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
186
        $result = tls_policy_maps('details', $map);
Open commit View diff
186 $result = tls_policy_maps('details', $map);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
187
        $template = 'edit/tls_policy_map.twig';
Open commit View diff
187 $template = 'edit/tls_policy_map.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
188
        $template_data = [
Open commit View diff
188 $template_data = [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
189
          'map' => $map,
Open commit View diff
189 'map' => $map,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
190
          'policy_options' => [
Open commit View diff
190 'policy_options' => [
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
191
            'none',
Open commit View diff
191 'none',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
192
            'may',
Open commit View diff
192 'may',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
193
            'encrypt',
Open commit View diff
193 'encrypt',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
194
            'dane',
Open commit View diff
194 'dane',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
195
            'dane-only',
Open commit View diff
195 'dane-only',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
196
            'fingerprint',
Open commit View diff
196 'fingerprint',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
197
            'verify',
Open commit View diff
197 'verify',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
198
            'secure',
Open commit View diff
198 'secure',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
199
          ],
Open commit View diff
199 ],
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
200
        ];
Open commit View diff
200 ];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
201
    }
Open commit View diff
201 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
202
  }
Open commit View diff
202 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
203
  if ($_SESSION['mailcow_cc_role'] == "admin"  || $_SESSION['mailcow_cc_role'] == "domainadmin" || $_SESSION['mailcow_cc_role'] == "user") {
Open commit View diff
203 if ($_SESSION['mailcow_cc_role'] == "admin" || $_SESSION['mailcow_cc_role'] == "domainadmin" || $_SESSION['mailcow_cc_role'] == "user") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
204
    if (isset($_GET['syncjob']) &&
Open commit View diff
204 if (isset($_GET['syncjob']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
205
      is_numeric($_GET['syncjob'])) {
Open commit View diff
205 is_numeric($_GET['syncjob'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
206
        $id = $_GET["syncjob"];
Open commit View diff
206 $id = $_GET["syncjob"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
207
        $result = mailbox('get', 'syncjob_details', $id);
Open commit View diff
207 $result = mailbox('get', 'syncjob_details', $id);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
208
        $template = 'edit/syncjob.twig';
Open commit View diff
208 $template = 'edit/syncjob.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
209
      }
Open commit View diff
209 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
210
    elseif (isset($_GET['filter']) &&
Open commit View diff
210 elseif (isset($_GET['filter']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
211
      is_numeric($_GET['filter'])) {
Open commit View diff
211 is_numeric($_GET['filter'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
212
        $id = $_GET["filter"];
Open commit View diff
212 $id = $_GET["filter"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
213
        $result = mailbox('get', 'filter_details', $id);
Open commit View diff
213 $result = mailbox('get', 'filter_details', $id);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
214
        $template = 'edit/filter.twig';
Open commit View diff
214 $template = 'edit/filter.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
215
    }
Open commit View diff
215 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
216
    elseif (isset($_GET['app-passwd']) &&
Open commit View diff
216 elseif (isset($_GET['app-passwd']) &&
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
217
      is_numeric($_GET['app-passwd'])) {
Open commit View diff
217 is_numeric($_GET['app-passwd'])) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
218
        $id = $_GET["app-passwd"];
Open commit View diff
218 $id = $_GET["app-passwd"];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
219
        $result = app_passwd('details', $id);
Open commit View diff
219 $result = app_passwd('details', $id);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
220
        $template = 'edit/app-passwd.twig';
Open commit View diff
220 $template = 'edit/app-passwd.twig';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
221
    }
Open commit View diff
221 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
222
  }
Open commit View diff
222 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
223
}
Open commit View diff
223 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
224
else {
Open commit View diff
224 else {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
225
  $template_data['access_denied'] = true;
Open commit View diff
225 $template_data['access_denied'] = true;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
226
}
Open commit View diff
226 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
227
Open commit View diff
227
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
228
$js_minifier->add('/web/js/site/edit.js');
Open commit View diff
228 $js_minifier->add('/web/js/site/edit.js');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
229
$js_minifier->add('/web/js/site/pwgen.js');
Open commit View diff
229 $js_minifier->add('/web/js/site/pwgen.js');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
230
Open commit View diff
230
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
231
$template_data['result'] = $result;
Open commit View diff
231 $template_data['result'] = $result;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
232
$template_data['return_to'] = $_SESSION['return_to'];
Open commit View diff
232 $template_data['return_to'] = $_SESSION['return_to'];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
233
$template_data['lang_user'] = json_encode($lang['user']);
Open commit View diff
233 $template_data['lang_user'] = json_encode($lang['user']);
FreddleSpl0it over 2 years ago d2e3867

[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer

Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
234
$template_data['lang_admin'] = json_encode($lang['admin']);
Open commit View diff
234 $template_data['lang_admin'] = json_encode($lang['admin']);
FreddleSpl0it about 4 years ago 6a027b7

[BS5] replace footable with jquery datatables (edit.twig)

Full commit hash
6a027b70e706c27f9fa2358d9da6bb9192f0be42
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
235
$template_data['lang_datatables'] = json_encode($lang['datatables']);
Open commit View diff
235 $template_data['lang_datatables'] = json_encode($lang['datatables']);
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
236
Open commit View diff
236
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
237
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
Open commit View diff
237 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';