NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/ajax/sieve_validation.php

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

sieve_validation.php on main
Author Date Commit Line Code
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
1
<?php
Open commit View diff
1 <?php
same change 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
2
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
Open commit View diff
2 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
same change 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
3
header('Content-Type: application/json');
Open commit View diff
3 header('Content-Type: application/json');
same change 85d1ee2

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

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

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
6
}
Open commit View diff
6 }
Phoenix Eve Aspacio over 1 year ago f065842

Updated to $_REQUEST.

Full commit hash
f0658424024fb48b34c3867b6d763273888a2fa1
Author
Phoenix Eve Aspacio <[email protected]>
Date
over 1 year ago
Selected line
7
if (isset($_REQUEST['script'])) {
Open commit View diff
7 if (isset($_REQUEST['script'])) {
André over 8 years ago 85d1ee2

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
9
  try {
Open commit View diff
9 try {
Phoenix Eve Aspacio over 1 year ago f065842

Updated to $_REQUEST.

Full commit hash
f0658424024fb48b34c3867b6d763273888a2fa1
Author
Phoenix Eve Aspacio <[email protected]>
Date
over 1 year ago
Selected line
10
    if (empty($_REQUEST['script'])) {
Open commit View diff
10 if (empty($_REQUEST['script'])) {
tinect over 6 years ago 278d741

no message (#3118)

Full commit hash
278d741e0a7fd7f00251f03f200c3521440cca8d
Author
tinect <[email protected]>
Date
over 6 years ago
Selected line
11
      echo json_encode(array('type' => 'danger', 'msg' => $lang['danger']['script_empty']));
Open commit View diff
11 echo json_encode(array('type' => 'danger', 'msg' => $lang['danger']['script_empty']));
André over 8 years ago 85d1ee2

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
13
    }
Open commit View diff
13 }
Phoenix Eve Aspacio over 1 year ago f065842

Updated to $_REQUEST.

Full commit hash
f0658424024fb48b34c3867b6d763273888a2fa1
Author
Phoenix Eve Aspacio <[email protected]>
Date
over 1 year ago
Selected line
14
    $sieve->parse($_REQUEST['script']);
Open commit View diff
14 $sieve->parse($_REQUEST['script']);
André over 8 years ago 85d1ee2

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
16
  catch (Exception $e) {
Open commit View diff
16 catch (Exception $e) {
same change 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
17
    echo json_encode(array('type' => 'danger', 'msg' => $e->getMessage()));
Open commit View diff
17 echo json_encode(array('type' => 'danger', 'msg' => $e->getMessage()));
same change 85d1ee2

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

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

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
20
  echo json_encode(array('type' => 'success', 'msg' => $lang['add']['validation_success']));
Open commit View diff
20 echo json_encode(array('type' => 'success', 'msg' => $lang['add']['validation_success']));
same change 85d1ee2

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

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

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

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