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/domainadmin/mailbox.php

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

mailbox.php on main
Author Date Commit Line Code
andryyy over 9 years ago 5f04dc0

mailcow dockerized

Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804
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.domainadmin.inc.php';
Open commit View diff
3 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/triggers.domainadmin.inc.php';
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
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(['domainadmin']);
Open commit View diff
5 protect_route(['domainadmin']);
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
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 5f04dc0

mailcow dockerized

Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804
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'];
andryyy over 5 years ago b9a8b8a

[Web] More custom_params

Full commit hash
b9a8b8a3e79646409f91e2cdcd09ca44752cb5f5
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
9
Open commit View diff
9
andryyy over 9 years ago 297674d

Various CSS fixes, remove sorttable, better API format

Full commit hash
297674d2569a713ef2d6426e66830256f9397835
Author
andryyy <[email protected]>
Date
over 9 years ago
Selected line
10
Open commit View diff
10
andryyy over 9 years ago eb3fb6d

Add resources

Full commit hash
eb3fb6d1f8828ea531a95f06ace0a5eb9c56bc85
Author
andryyy <[email protected]>
Date
over 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/mailbox.js');
Open commit View diff
12 $js_minifier->add('/web/js/site/mailbox.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/sieveMailbox.js');
Open commit View diff
13 $js_minifier->add('/web/js/presets/sieveMailbox.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');
andryyy about 9 years ago e26304f

Fix checkbox toggling, add nav tabs, fix broken domain quota when adding a new domain

Full commit hash
e26304f6d04821e79d63cd3716c0cc8e7202a815
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
15
Open commit View diff
15
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
16
$role = "domainadmin";
Open commit View diff
16 $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
17
$is_dual = (!empty($_SESSION["dual-login"]["username"])) ? 'true' : 'false';
Open commit View diff
17 $is_dual = (!empty($_SESSION["dual-login"]["username"])) ? 'true' : 'false';
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
$allow_admin_email_login = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["ALLOW_ADMIN_EMAIL_LOGIN"])) ? 'true' : 'false';
Open commit View diff
18 $allow_admin_email_login = (preg_match("/^([yY][eE][sS]|[yY])+$/", $_ENV["ALLOW_ADMIN_EMAIL_LOGIN"])) ? 'true' : 'false';
andryyy almost 9 years ago 66e06a0

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

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
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
// domains
Open commit View diff
20 // 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
21
$domains = mailbox('get', 'domains');
Open commit View diff
21 $domains = mailbox('get', 'domains');
André over 8 years ago 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
22
Open commit View diff
22
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
23
// mailboxes
Open commit View diff
23 // 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
24
$mailboxes = [];
Open commit View diff
24 $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
25
foreach ($domains as $domain) {
Open commit View diff
25 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
26
  foreach (mailbox('get', 'mailboxes', $domain) as $mailbox) {
Open commit View diff
26 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
27
    $mailboxes[] = $mailbox;
Open commit View diff
27 $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
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
}
Open commit View diff
29 }
Thomas Helmrich over 8 years ago 4d8995f

disable options on the mailbox / domain view when user has no permission to interact with them

Full commit hash
4d8995f14ae0aef0ab382498f51e9b794129d76a
Author
Thomas Helmrich <[email protected]>
Date
over 8 years ago
Selected line
30
Open commit View diff
30
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
31
$template = 'mailbox.twig';
Open commit View diff
31 $template = 'mailbox.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
32
$template_data = [
Open commit View diff
32 $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
33
  'acl' => $_SESSION['acl'],
Open commit View diff
33 'acl' => $_SESSION['acl'],
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
  'acl_json' => json_encode($_SESSION['acl']),
Open commit View diff
34 'acl_json' => json_encode($_SESSION['acl']),
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
  'role' => $role,
Open commit View diff
35 'role' => $role,
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
  'is_dual' => $is_dual,
Open commit View diff
36 'is_dual' => $is_dual,
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
  'allow_admin_email_login' => $allow_admin_email_login,
Open commit View diff
37 'allow_admin_email_login' => $allow_admin_email_login,
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
  'global_filters' => mailbox('get', 'global_filter_details'),
Open commit View diff
38 'global_filters' => mailbox('get', 'global_filter_details'),
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
  'domains' => $domains,
Open commit View diff
39 '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
40
  'mailboxes' => $mailboxes,
Open commit View diff
40 'mailboxes' => $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
41
  'lang_mailbox' => json_encode($lang['mailbox']),
Open commit View diff
41 'lang_mailbox' => json_encode($lang['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
42
  'lang_rl' => json_encode($lang['ratelimit']),
Open commit View diff
42 'lang_rl' => json_encode($lang['ratelimit']),
FreddleSpl0it over 1 year ago fe7211f

[Web] add missing translation for ratelimit in templates overview

Full commit hash
fe7211f27f839a6d3ab8d95b88e0a654417ebdf5
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
43
  'lang_edit' => json_encode($lang['edit']),
Open commit View diff
43 'lang_edit' => json_encode($lang['edit']),
FreddleSpl0it about 4 years ago fb7e00c

[BS5] Replace FooTable with jquery Datatables

Full commit hash
fb7e00c158060f6367be45bc916947d7d713e2a8
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
44
  'lang_datatables' => json_encode($lang['datatables']),
Open commit View diff
44 '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
45
];
Open commit View diff
45 ];
André almost 8 years ago f5799fa

[Web] Feature: TLS policy maps

Full commit hash
f5799faf6d283b8479484ac3b789117e68816360
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
46
Open commit View diff
46
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
47
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';
Open commit View diff
47 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/footer.inc.php';