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/admin/system.php

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

system.php on main
Author Date Commit Line Code
andryyy over 9 years ago d891bc8

Docs

Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
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 over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
3
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/triggers.admin.inc.php';
Open commit View diff
3 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/triggers.admin.inc.php';
andryyy over 9 years ago d891bc8

Docs

Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
4
Open commit View diff
4
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
5
protect_route(['admin']);
Open commit View diff
5 protect_route(['admin']);
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
Open commit View diff
6
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
7
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php';
Open commit View diff
7 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php';
andryyy over 9 years ago d891bc8

Docs

Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
8
$_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
Open commit View diff
8 $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
same change d891bc8

Docs

Full commit hash
d891bc88945e2be5b2af4a3db6f9ec5457705b7b
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
9
$tfa_data = get_tfa();
Open commit View diff
9 $tfa_data = get_tfa();
andryyy over 5 years ago c150ac7

[Web] Feature (beta): Add WebAuthn support for administrators and domain administrators

Full commit hash
c150ac7b375fb8acfe8794155ef61245e3c86f40
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
10
$fido2_data = fido2(array("action" => "get_friendly_names"));
Open commit View diff
10 $fido2_data = fido2(array("action" => "get_friendly_names"));
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
11
Open commit View diff
11
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
12
$js_minifier->add('/web/js/site/admin.js');
Open commit View diff
12 $js_minifier->add('/web/js/site/admin.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
13
$js_minifier->add('/web/js/presets/rspamd.js');
Open commit View diff
13 $js_minifier->add('/web/js/presets/rspamd.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
14
$js_minifier->add('/web/js/site/pwgen.js');
Open commit View diff
14 $js_minifier->add('/web/js/site/pwgen.js');
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
15
Open commit View diff
15
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
16
// all domains
Open commit View diff
16 // all 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
17
$domains = mailbox('get', 'domains');
Open commit View diff
17 $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
18
$all_domains =  array_merge($domains, mailbox('get', 'alias_domains'));
Open commit View diff
18 $all_domains = array_merge($domains, mailbox('get', 'alias_domains'));
andryyy about 9 years ago 53b6662

Minor and temp. workaround for panel

Full commit hash
53b6662aeaf0a0dec1fda2d1b66c1e5249ae15eb
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
19
Open commit View diff
19
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
20
// mailboxes
Open commit View diff
20 // mailboxes
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
$mailboxes = [];
Open commit View diff
21 $mailboxes = [];
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
foreach ($all_domains as $domain) {
Open commit View diff
22 foreach ($all_domains as $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
23
  foreach (mailbox('get', 'mailboxes', $domain) as $mailbox) {
Open commit View diff
23 foreach (mailbox('get', 'mailboxes', $domain) as $mailbox) {
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
    $mailboxes[] = $mailbox;
Open commit View diff
24 $mailboxes[] = $mailbox;
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
  }
Open commit View diff
25 }
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
}
Open commit View diff
26 }
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
$mailboxes = array_filter($mailboxes);
Open commit View diff
27 $mailboxes = array_filter($mailboxes);
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
Open commit View diff
28
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
// DKIM domains
Open commit View diff
29 // DKIM 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
30
$dkim_domains = [];
Open commit View diff
30 $dkim_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
31
$dkim_domains_with_keys = [];
Open commit View diff
31 $dkim_domains_with_keys = [];
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
foreach($domains as $domain) {
Open commit View diff
32 foreach($domains as $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
33
  $dkim_domains[$domain] = ['dkim' => null, 'alias_domains' => []];
Open commit View diff
33 $dkim_domains[$domain] = ['dkim' => null, 'alias_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
34
  if (!empty($dkim = dkim('details', $domain))) {
Open commit View diff
34 if (!empty($dkim = dkim('details', $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
35
    $dkim_domains_with_keys[] = $domain;
Open commit View diff
35 $dkim_domains_with_keys[] = $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
36
    if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== true) {
Open commit View diff
36 if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== 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
37
      $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
Open commit View diff
37 $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
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 }
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
39
    $dkim_domains[$domain]['dkim'] = $dkim;
Open commit View diff
39 $dkim_domains[$domain]['dkim'] = $dkim;
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
40
  }
Open commit View diff
40 }
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
41
Open commit View diff
41
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
42
  // get alias domains
Open commit View diff
42 // get alias 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
43
  foreach (mailbox('get', 'alias_domains', $domain) as $alias_domain) {
Open commit View diff
43 foreach (mailbox('get', 'alias_domains', $domain) as $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
44
    $dkim_domains[$domain]['alias_domains'][$alias_domain] = ['dkim' => null];
Open commit View diff
44 $dkim_domains[$domain]['alias_domains'][$alias_domain] = ['dkim' => 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
45
    if (!empty($dkim = dkim('details', $alias_domain))) {
Open commit View diff
45 if (!empty($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
46
      $dkim_domains_with_keys[] = $alias_domain;
Open commit View diff
46 $dkim_domains_with_keys[] = $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
47
      if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== true) {
Open commit View diff
47 if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== 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
48
        $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
Open commit View diff
48 $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
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
49
      }
Open commit View diff
49 }
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
50
      $dkim_domains[$domain]['alias_domains'][$alias_domain]['dkim'] = $dkim;
Open commit View diff
50 $dkim_domains[$domain]['alias_domains'][$alias_domain]['dkim'] = $dkim;
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
51
    }
Open commit View diff
51 }
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
52
  }
Open commit View diff
52 }
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
53
}
Open commit View diff
53 }
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
54
$dkim_blind_domains = [];
Open commit View diff
54 $dkim_blind_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
55
foreach(dkim('blind') as $blind) {
Open commit View diff
55 foreach(dkim('blind') as $blind) {
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
56
  $dkim_blind_domains[$blind] = ['dkim' => null];
Open commit View diff
56 $dkim_blind_domains[$blind] = ['dkim' => 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
57
  if (!empty($dkim = dkim('details', $blind))) {
Open commit View diff
57 if (!empty($dkim = dkim('details', $blind))) {
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
58
    $dkim_domains_with_keys[] = $blind;
Open commit View diff
58 $dkim_domains_with_keys[] = $blind;
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
59
    if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== true) {
Open commit View diff
59 if ($GLOBALS['SHOW_DKIM_PRIV_KEYS'] !== 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
60
      $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
Open commit View diff
60 $dkim['privkey'] = base64_encode('Please set $SHOW_DKIM_PRIV_KEYS to true to show DKIM private keys.');
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
61
    }
Open commit View diff
61 }
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
62
    $dkim_blind_domains[$blind]['dkim'] = $dkim;
Open commit View diff
62 $dkim_blind_domains[$blind]['dkim'] = $dkim;
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
63
  }
Open commit View diff
63 }
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
64
}
Open commit View diff
64 }
andryyy over 5 years ago 5ea649b

[Web] Feature: Add password policy

Full commit hash
5ea649b292a54fd6e0188a5e90abce7981f4bd88
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
65
Open commit View diff
65
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
66
// rsettings
Open commit View diff
66 // rsettings
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
67
$rsettings = array_map(function ($rsetting){
Open commit View diff
67 $rsettings = array_map(function ($rsetting){
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
68
  $rsetting['details'] = rsettings('details', $rsetting['id']);
Open commit View diff
68 $rsetting['details'] = rsettings('details', $rsetting['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
69
  return $rsetting;
Open commit View diff
69 return $rsetting;
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
70
}, rsettings('get'));
Open commit View diff
70 }, rsettings('get'));
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
71
Open commit View diff
71
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
72
// rspamd regex maps
Open commit View diff
72 // rspamd regex maps
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
73
$rspamd_regex_maps = [];
Open commit View diff
73 $rspamd_regex_maps = [];
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
74
foreach ($RSPAMD_MAPS['regex'] as $rspamd_regex_desc => $rspamd_regex_map) {
Open commit View diff
74 foreach ($RSPAMD_MAPS['regex'] as $rspamd_regex_desc => $rspamd_regex_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
75
  $rspamd_regex_maps[$rspamd_regex_desc] = [
Open commit View diff
75 $rspamd_regex_maps[$rspamd_regex_desc] = [
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
76
    'map' => $rspamd_regex_map,
Open commit View diff
76 'map' => $rspamd_regex_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
77
    'data' => file_get_contents('/rspamd_custom_maps/' . $rspamd_regex_map)
Open commit View diff
77 'data' => file_get_contents('/rspamd_custom_maps/' . $rspamd_regex_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
78
  ];
Open commit View diff
78 ];
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
79
}
Open commit View diff
79 }
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
80
Open commit View diff
80
FreddleSpl0it about 3 years ago 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
81
// cors settings
Open commit View diff
81 // cors settings
same change 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
82
$cors_settings = cors('get');
Open commit View diff
82 $cors_settings = cors('get');
same change 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
83
$cors_settings['allowed_origins'] = str_replace(", ", "\n", $cors_settings['allowed_origins']);
Open commit View diff
83 $cors_settings['allowed_origins'] = str_replace(", ", "\n", $cors_settings['allowed_origins']);
same change 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
84
$cors_settings['allowed_methods'] = explode(", ", $cors_settings['allowed_methods']);
Open commit View diff
84 $cors_settings['allowed_methods'] = explode(", ", $cors_settings['allowed_methods']);
same change 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
85
Open commit View diff
85
FreddleSpl0it about 3 years ago e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
86
$f2b_data = fail2ban('get');
Open commit View diff
86 $f2b_data = fail2ban('get');
FreddleSpl0it over 3 years ago 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
87
// mbox templates
Open commit View diff
87 // mbox templates
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
88
$mbox_templates = mailbox('get', 'mailbox_templates');
Open commit View diff
88 $mbox_templates = mailbox('get', 'mailbox_templates');
FreddleSpl0it about 3 years ago e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
89
Open commit View diff
89
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
90
$template = 'admin.twig';
Open commit View diff
90 $template = '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
91
$template_data = [
Open commit View diff
91 $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
92
  'tfa_data' => $tfa_data,
Open commit View diff
92 'tfa_data' => $tfa_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
93
  'tfa_id' => @$_SESSION['tfa_id'],
Open commit View diff
93 'tfa_id' => @$_SESSION['tfa_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
94
  'fido2_cid' => @$_SESSION['fido2_cid'],
Open commit View diff
94 'fido2_cid' => @$_SESSION['fido2_cid'],
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
  'fido2_data' => $fido2_data,
Open commit View diff
95 'fido2_data' => $fido2_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
96
  'api' => [
Open commit View diff
96 'api' => [
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
    'ro' => admin_api('ro', 'get'),
Open commit View diff
97 'ro' => admin_api('ro', 'get'),
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
    'rw' => admin_api('rw', 'get'),
Open commit View diff
98 'rw' => admin_api('rw', 'get'),
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
  ],
Open commit View diff
99 ],
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
  'dkim_domains' => $dkim_domains,
Open commit View diff
100 'dkim_domains' => $dkim_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
101
  'dkim_domains_with_keys' => $dkim_domains_with_keys,
Open commit View diff
101 'dkim_domains_with_keys' => $dkim_domains_with_keys,
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
  'dkim_blind_domains' => $dkim_blind_domains,
Open commit View diff
102 'dkim_blind_domains' => $dkim_blind_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
103
  'domains' => $domains,
Open commit View diff
103 'domains' => $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
104
  'all_domains' => $all_domains,
Open commit View diff
104 'all_domains' => $all_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
105
  'mailboxes' => $mailboxes,
Open commit View diff
105 'mailboxes' => $mailboxes,
FreddleSpl0it about 3 years ago e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
106
  'f2b_data' => $f2b_data,
Open commit View diff
106 'f2b_data' => $f2b_data,
FreddleSpl0it over 2 years ago 852d944

[Web] remove f2b banlist from json_api.php

Full commit hash
852d944cfba4c06dcc3af44d698f68c25425a07c
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
107
  'f2b_banlist_url' => getBaseUrl() . "/f2b-banlist?id=" . $f2b_data['banlist_id'],
Open commit View diff
107 'f2b_banlist_url' => getBaseUrl() . "/f2b-banlist?id=" . $f2b_data['banlist_id'],
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
108
  'q_data' => quarantine('settings'),
Open commit View diff
108 'q_data' => quarantine('settings'),
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
  'qn_data' => quota_notification('get'),
Open commit View diff
109 'qn_data' => quota_notification('get'),
FreddleSpl0it almost 2 years ago 2208d7e

[Web] add function to reset user passwords

Full commit hash
2208d7e6fb2864e2ddc672104b61b2a496fc1e02
Author
FreddleSpl0it <[email protected]>
Date
almost 2 years ago
Selected line
110
  'pw_reset_data' => reset_password('get_notification'),
Open commit View diff
110 'pw_reset_data' => reset_password('get_notification'),
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
111
  'rsettings_map' => file_get_contents('http://nginx:8081/settings.php'),
Open commit View diff
111 'rsettings_map' => file_get_contents('http://nginx:8081/settings.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
112
  'rsettings' => $rsettings,
Open commit View diff
112 'rsettings' => $rsettings,
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
  'rspamd_regex_maps' => $rspamd_regex_maps,
Open commit View diff
113 'rspamd_regex_maps' => $rspamd_regex_maps,
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
  'logo_specs' => customize('get', 'main_logo_specs'),
Open commit View diff
114 'logo_specs' => customize('get', 'main_logo_specs'),
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
115
  'logo_dark_specs' => customize('get', 'main_logo_dark_specs'),
Open commit View diff
115 'logo_dark_specs' => customize('get', 'main_logo_dark_specs'),
FreddleSpl0it over 3 years ago 1e98784

[Web] Opt-In for third party ip_check

Full commit hash
1e98784eee64240418d6e6df2336e2c0d7ac9dd2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
116
  'ip_check' => customize('get', 'ip_check'),
Open commit View diff
116 'ip_check' => customize('get', 'ip_check'),
FreddleSpl0it about 1 year ago ea0944d

[Web] Add quick links to other login pages and option to disable mailcow login form

Full commit hash
ea0944d743c0f261cea57693dd1da9970206e99c
Author
FreddleSpl0it <[email protected]>
Date
about 1 year ago
Selected line
117
  'custom_login' => customize('get', 'custom_login'),
Open commit View diff
117 'custom_login' => customize('get', 'custom_login'),
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
118
  'password_complexity' => password_complexity('get'),
Open commit View diff
118 'password_complexity' => password_complexity('get'),
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
119
  'show_rspamd_global_filters' => @$_SESSION['show_rspamd_global_filters'],
Open commit View diff
119 'show_rspamd_global_filters' => @$_SESSION['show_rspamd_global_filters'],
FreddleSpl0it about 3 years ago 192f67c

[Web] add cors to json_api

Full commit hash
192f67cd4164baf4c080b77db17ccdd69ef568a9
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
120
  'cors_settings' => $cors_settings,
Open commit View diff
120 'cors_settings' => $cors_settings,
FreddleSpl0it about 3 years ago e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
121
  'is_https' => isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on',
Open commit View diff
121 'is_https' => isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on',
FreddleSpl0it about 3 years ago 90476ae

[Web] rename var for tab-config-identity-provider.twig

Full commit hash
90476ae057f9ec3b6aa8807d8514767ad8428790
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
122
  'iam_settings' => $iam_settings,
Open commit View diff
122 'iam_settings' => $iam_settings,
FreddleSpl0it over 3 years ago 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
123
  'mbox_templates' => $mbox_templates,
Open commit View diff
123 'mbox_templates' => $mbox_templates,
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
124
  'lang_admin' => json_encode($lang['admin']),
Open commit View diff
124 'lang_admin' => json_encode($lang['admin']),
FreddleSpl0it almost 4 years ago 77e6124

[BS5] move showWhatsNewModal

Full commit hash
77e6124b00958abaf85da8788430658d150bbc26
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
125
  'lang_datatables' => json_encode($lang['datatables'])
Open commit View diff
125 '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
126
];
Open commit View diff
126 ];
André over 7 years ago e30dfd6

[Web] Queue manager for Postfix

Full commit hash
e30dfd6751d27f4edece2c58866a486b338cb7d2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
127
Open commit View diff
127
andryyy about 9 years ago 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
128
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
Open commit View diff
128 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';