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/js/site/dashboard.js

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

dashboard.js on main
Author Date Commit Line Code
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1
$(document).ready(function() {
Open commit View diff
1 $(document).ready(function() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
2
  // Parse seconds ago to date
Open commit View diff
2 // Parse seconds ago to date
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
3
  // Get "now" timestamp
Open commit View diff
3 // Get "now" timestamp
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
4
  var ts_now = Math.round((new Date()).getTime() / 1000);
Open commit View diff
4 var ts_now = Math.round((new Date()).getTime() / 1000);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
5
  $('.parse_s_ago').each(function(i, parse_s_ago) {
Open commit View diff
5 $('.parse_s_ago').each(function(i, parse_s_ago) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
6
    var started_s_ago = parseInt($(this).text(), 10);
Open commit View diff
6 var started_s_ago = parseInt($(this).text(), 10);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
7
    if (typeof started_s_ago != 'NaN') {
Open commit View diff
7 if (typeof started_s_ago != 'NaN') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
8
      var started_date = new Date((ts_now - started_s_ago) * 1000);
Open commit View diff
8 var started_date = new Date((ts_now - started_s_ago) * 1000);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
9
      if (started_date instanceof Date && !isNaN(started_date)) {
Open commit View diff
9 if (started_date instanceof Date && !isNaN(started_date)) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
10
        var started_local_date = started_date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
Open commit View diff
10 var started_local_date = started_date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
11
        $(this).text(started_local_date);
Open commit View diff
11 $(this).text(started_local_date);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
12
      } else {
Open commit View diff
12 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
13
        $(this).text('-');
Open commit View diff
13 $(this).text('-');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
14
      }
Open commit View diff
14 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
15
    }
Open commit View diff
15 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
16
  });
Open commit View diff
16 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
17
  // Parse general dates
Open commit View diff
17 // Parse general dates
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
18
  $('.parse_date').each(function(i, parse_date) {
Open commit View diff
18 $('.parse_date').each(function(i, parse_date) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
19
    var started_date = new Date(Date.parse($(this).text()));
Open commit View diff
19 var started_date = new Date(Date.parse($(this).text()));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
20
    if (typeof started_date != 'NaN') {
Open commit View diff
20 if (typeof started_date != 'NaN') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
21
      var started_local_date = started_date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
Open commit View diff
21 var started_local_date = started_date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
22
      $(this).text(started_local_date);
Open commit View diff
22 $(this).text(started_local_date);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
23
    }
Open commit View diff
23 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
24
  });
Open commit View diff
24 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
25
Open commit View diff
25
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
26
  // set update loop container list
Open commit View diff
26 // set update loop container list
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
27
  containersToUpdate = {};
Open commit View diff
27 containersToUpdate = {};
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
28
  // set default ChartJs Font Color
Open commit View diff
28 // set default ChartJs Font Color
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
29
  Chart.defaults.color = '#999';
Open commit View diff
29 Chart.defaults.color = '#999';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
30
  // create host cpu and mem charts
Open commit View diff
30 // create host cpu and mem charts
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
31
  createHostCpuAndMemChart();
Open commit View diff
31 createHostCpuAndMemChart();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
32
  // check for new version
Open commit View diff
32 // check for new version
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
33
  if (mailcow_info.branch === "master"){
Open commit View diff
33 if (mailcow_info.branch === "master"){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
34
    check_update(mailcow_info.version_tag, mailcow_info.project_url);
Open commit View diff
34 check_update(mailcow_info.version_tag, mailcow_info.project_url);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
35
  }
Open commit View diff
35 }
DerLinkman about 3 years ago b5acf56

Added Platform Information on Status Page

Full commit hash
b5acf56e20a79d36496619116af2e460d7e20a87
Author
DerLinkman <[email protected]>
Date
about 3 years ago
Selected line
36
  $("#mailcow_version").click(function(){
Open commit View diff
36 $("#mailcow_version").click(function(){
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
37
    if (mailcow_cc_role !== "admin" && mailcow_cc_role !== "domainadmin" || mailcow_info.branch !== "master")
Open commit View diff
37 if (mailcow_cc_role !== "admin" && mailcow_cc_role !== "domainadmin" || mailcow_info.branch !== "master")
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
38
      return;
Open commit View diff
38 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
39
Open commit View diff
39
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
40
    showVersionModal("Version " + mailcow_info.version_tag, mailcow_info.version_tag);
Open commit View diff
40 showVersionModal("Version " + mailcow_info.version_tag, mailcow_info.version_tag);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
41
  })
Open commit View diff
41 })
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
42
  // get public ips
Open commit View diff
42 // get public ips
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
43
  $("#host_show_ip").click(function(){
Open commit View diff
43 $("#host_show_ip").click(function(){
FreddleSpl0it over 3 years ago 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
44
    $("#host_show_ip").find(".text").addClass("d-none");
Open commit View diff
44 $("#host_show_ip").find(".text").addClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
45
    $("#host_show_ip").find(".spinner-border").removeClass("d-none");
Open commit View diff
45 $("#host_show_ip").find(".spinner-border").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
46
Open commit View diff
46
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
47
    window.fetch("/api/v1/get/status/host/ip", { method:'GET', cache:'no-cache' }).then(function(response) {
Open commit View diff
47 window.fetch("/api/v1/get/status/host/ip", { method:'GET', cache:'no-cache' }).then(function(response) {
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
48
      return response.json();
Open commit View diff
48 return response.json();
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
49
    }).then(function(data) {
Open commit View diff
49 }).then(function(data) {
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
50
      // display host ips
Open commit View diff
50 // display host ips
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
51
      if (data.ipv4)
Open commit View diff
51 if (data.ipv4)
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
52
        $("#host_ipv4").text(data.ipv4);
Open commit View diff
52 $("#host_ipv4").text(data.ipv4);
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
53
      if (data.ipv6)
Open commit View diff
53 if (data.ipv6)
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
54
        $("#host_ipv6").text(data.ipv6);
Open commit View diff
54 $("#host_ipv6").text(data.ipv6);
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
55
Open commit View diff
55
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
56
      $("#host_show_ip").addClass("d-none");
Open commit View diff
56 $("#host_show_ip").addClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
57
      $("#host_show_ip").find(".text").removeClass("d-none");
Open commit View diff
57 $("#host_show_ip").find(".text").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
58
      $("#host_show_ip").find(".spinner-border").addClass("d-none");
Open commit View diff
58 $("#host_show_ip").find(".spinner-border").addClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
59
      $("#host_ipv4").removeClass("d-none");
Open commit View diff
59 $("#host_ipv4").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
60
      $("#host_ipv6").removeClass("d-none");
Open commit View diff
60 $("#host_ipv6").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
61
      $("#host_ipv6").removeClass("text-danger");
Open commit View diff
61 $("#host_ipv6").removeClass("text-danger");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
62
      $("#host_ipv4").addClass("d-block");
Open commit View diff
62 $("#host_ipv4").addClass("d-block");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
63
      $("#host_ipv6").addClass("d-block");
Open commit View diff
63 $("#host_ipv6").addClass("d-block");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
64
    }).catch(function(error){
Open commit View diff
64 }).catch(function(error){
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
65
      console.log(error);
Open commit View diff
65 console.log(error);
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
66
Open commit View diff
66
FreddleSpl0it over 3 years ago 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
67
      $("#host_ipv6").removeClass("d-none");
Open commit View diff
67 $("#host_ipv6").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
68
      $("#host_ipv6").addClass("d-block");
Open commit View diff
68 $("#host_ipv6").addClass("d-block");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
69
      $("#host_ipv6").addClass("text-danger");
Open commit View diff
69 $("#host_ipv6").addClass("text-danger");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
70
      $("#host_ipv6").text(lang_debug.error_show_ip);
Open commit View diff
70 $("#host_ipv6").text(lang_debug.error_show_ip);
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
71
      $("#host_show_ip").find(".text").removeClass("d-none");
Open commit View diff
71 $("#host_show_ip").find(".text").removeClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
72
      $("#host_show_ip").find(".spinner-border").addClass("d-none");
Open commit View diff
72 $("#host_show_ip").find(".spinner-border").addClass("d-none");
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
73
    });
Open commit View diff
73 });
same change 9727e40

[Web] load public ip on click and add curl timeout

Full commit hash
9727e4084f7303208f24da2154e40030b54516c2
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
74
  });
Open commit View diff
74 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
75
  update_container_stats();
Open commit View diff
75 update_container_stats();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
76
});
Open commit View diff
76 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
77
jQuery(function($){
Open commit View diff
77 jQuery(function($){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
78
  if (localStorage.getItem("current_page") === null) {
Open commit View diff
78 if (localStorage.getItem("current_page") === null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
79
    var current_page = {};
Open commit View diff
79 var current_page = {};
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
80
  } else {
Open commit View diff
80 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
81
    var current_page = JSON.parse(localStorage.getItem('current_page'));
Open commit View diff
81 var current_page = JSON.parse(localStorage.getItem('current_page'));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
82
  }
Open commit View diff
82 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
83
  // http://stackoverflow.com/questions/24816/escaping-html-strings-with-jquery
Open commit View diff
83 // http://stackoverflow.com/questions/24816/escaping-html-strings-with-jquery
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
84
  var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};
Open commit View diff
84 var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
85
  function escapeHtml(n){return String(n).replace(/[&<>"'`=\/]/g,function(n){return entityMap[n]})}
Open commit View diff
85 function escapeHtml(n){return String(n).replace(/[&<>"'`=\/]/g,function(n){return entityMap[n]})}
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
86
  function humanFileSize(i){if(Math.abs(i)<1024)return i+" B";var B=["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],e=-1;do{i/=1024,++e}while(Math.abs(i)>=1024&&e<B.length-1);return i.toFixed(1)+" "+B[e]}
Open commit View diff
86 function humanFileSize(i){if(Math.abs(i)<1024)return i+" B";var B=["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],e=-1;do{i/=1024,++e}while(Math.abs(i)>=1024&&e<B.length-1);return i.toFixed(1)+" "+B[e]}
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
87
  function hashCode(t){for(var n=0,r=0;r<t.length;r++)n=t.charCodeAt(r)+((n<<5)-n);return n}
Open commit View diff
87 function hashCode(t){for(var n=0,r=0;r<t.length;r++)n=t.charCodeAt(r)+((n<<5)-n);return n}
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
88
  function intToRGB(t){var n=(16777215&t).toString(16).toUpperCase();return"00000".substring(0,6-n.length)+n}
Open commit View diff
88 function intToRGB(t){var n=(16777215&t).toString(16).toUpperCase();return"00000".substring(0,6-n.length)+n}
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
89
  $(".refresh_table").on('click', function(e) {
Open commit View diff
89 $(".refresh_table").on('click', function(e) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
90
    e.preventDefault();
Open commit View diff
90 e.preventDefault();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
91
    var table_name = $(this).data('table');
Open commit View diff
91 var table_name = $(this).data('table');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
92
    $('#' + table_name).DataTable().ajax.reload();
Open commit View diff
92 $('#' + table_name).DataTable().ajax.reload();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
93
  });
Open commit View diff
93 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
94
  function createSortableDate(td, cellData) {
Open commit View diff
94 function createSortableDate(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
95
    $(td).attr({
Open commit View diff
95 $(td).attr({
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
96
      "data-order": cellData,
Open commit View diff
96 "data-order": cellData,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
97
      "data-sort": cellData
Open commit View diff
97 "data-sort": cellData
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
98
    });
Open commit View diff
98 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
99
    $(td).html(convertTimestampToLocalFormat(cellData));
Open commit View diff
99 $(td).html(convertTimestampToLocalFormat(cellData));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
100
  }
Open commit View diff
100 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
101
  function draw_autodiscover_logs() {
Open commit View diff
101 function draw_autodiscover_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
102
    // just recalc width if instance already exists
Open commit View diff
102 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
103
    if ($.fn.DataTable.isDataTable('#autodiscover_log') ) {
Open commit View diff
103 if ($.fn.DataTable.isDataTable('#autodiscover_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
104
      $('#autodiscover_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
104 $('#autodiscover_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
105
      return;
Open commit View diff
105 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
106
    }
Open commit View diff
106 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
107
Open commit View diff
107
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
108
    var table = $('#autodiscover_log').DataTable({
Open commit View diff
108 var table = $('#autodiscover_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
109
      responsive: true,
Open commit View diff
109 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
110
      processing: true,
Open commit View diff
110 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
111
      serverSide: false,
Open commit View diff
111 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
112
      stateSave: true,
Open commit View diff
112 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
113
      pageLength: log_pagination_size,
Open commit View diff
113 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
114
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
114 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
115
           "tr" +
Open commit View diff
115 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
116
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
116 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
117
      language: lang_datatables,
Open commit View diff
117 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
118
      order: [[0, 'desc']],
Open commit View diff
118 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
119
      initComplete: function(){
Open commit View diff
119 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
120
        hideTableExpandCollapseBtn('#tab-autodiscover-logs', '#autodiscover_log');
Open commit View diff
120 hideTableExpandCollapseBtn('#tab-autodiscover-logs', '#autodiscover_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
121
      },
Open commit View diff
121 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
122
      ajax: {
Open commit View diff
122 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
123
        type: "GET",
Open commit View diff
123 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
124
        url: "/api/v1/get/logs/autodiscover/100",
Open commit View diff
124 url: "/api/v1/get/logs/autodiscover/100",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
125
        dataSrc: function(data){
Open commit View diff
125 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
126
          return process_table_data(data, 'autodiscover_log');
Open commit View diff
126 return process_table_data(data, 'autodiscover_log');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
127
        }
Open commit View diff
127 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
128
      },
Open commit View diff
128 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
129
      columns: [
Open commit View diff
129 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
130
        {
Open commit View diff
130 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
131
          title: lang.time,
Open commit View diff
131 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
132
          data: 'time',
Open commit View diff
132 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
133
          defaultContent: '',
Open commit View diff
133 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
134
          responsivePriority: 1,
Open commit View diff
134 responsivePriority: 1,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
135
          createdCell: function(td, cellData) {
Open commit View diff
135 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
136
            createSortableDate(td, cellData)
Open commit View diff
136 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
137
          }
Open commit View diff
137 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
138
        },
Open commit View diff
138 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
139
        {
Open commit View diff
139 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
140
          title: 'User-Agent',
Open commit View diff
140 title: 'User-Agent',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
141
          data: 'ua',
Open commit View diff
141 data: 'ua',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
142
          defaultContent: '',
Open commit View diff
142 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
143
          className: 'dtr-col-md',
Open commit View diff
143 className: 'dtr-col-md',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
144
          responsivePriority: 5
Open commit View diff
144 responsivePriority: 5
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
145
        },
Open commit View diff
145 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
146
        {
Open commit View diff
146 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
147
          title: 'Username',
Open commit View diff
147 title: 'Username',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
148
          data: 'user',
Open commit View diff
148 data: 'user',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
149
          defaultContent: '',
Open commit View diff
149 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
150
          responsivePriority: 4
Open commit View diff
150 responsivePriority: 4
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
151
        },
Open commit View diff
151 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
152
        {
Open commit View diff
152 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
153
          title: 'IP',
Open commit View diff
153 title: 'IP',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
154
          data: 'ip',
Open commit View diff
154 data: 'ip',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
155
          defaultContent: '',
Open commit View diff
155 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
156
          responsivePriority: 2
Open commit View diff
156 responsivePriority: 2
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
157
        },
Open commit View diff
157 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
158
        {
Open commit View diff
158 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
159
          title: 'Service',
Open commit View diff
159 title: 'Service',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
160
          data: 'service',
Open commit View diff
160 data: 'service',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
161
          defaultContent: '',
Open commit View diff
161 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
162
          responsivePriority: 3
Open commit View diff
162 responsivePriority: 3
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
163
        }
Open commit View diff
163 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
164
      ]
Open commit View diff
164 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
165
    });
Open commit View diff
165 });
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
166
Open commit View diff
166
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
167
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
167 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
168
      hideTableExpandCollapseBtn('#tab-autodiscover-logs', '#autodiscover_log');
Open commit View diff
168 hideTableExpandCollapseBtn('#tab-autodiscover-logs', '#autodiscover_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
169
    });
Open commit View diff
169 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
170
  }
Open commit View diff
170 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
171
  function draw_postfix_logs() {
Open commit View diff
171 function draw_postfix_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
172
    // just recalc width if instance already exists
Open commit View diff
172 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
173
    if ($.fn.DataTable.isDataTable('#postfix_log') ) {
Open commit View diff
173 if ($.fn.DataTable.isDataTable('#postfix_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
174
      $('#postfix_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
174 $('#postfix_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
175
      return;
Open commit View diff
175 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
176
    }
Open commit View diff
176 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
177
Open commit View diff
177
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
178
    var table = $('#postfix_log').DataTable({
Open commit View diff
178 var table = $('#postfix_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
179
      responsive: true,
Open commit View diff
179 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
180
      processing: true,
Open commit View diff
180 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
181
      serverSide: false,
Open commit View diff
181 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
182
      stateSave: true,
Open commit View diff
182 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
183
      pageLength: log_pagination_size,
Open commit View diff
183 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
184
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
184 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
185
           "tr" +
Open commit View diff
185 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
186
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
186 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
187
      language: lang_datatables,
Open commit View diff
187 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
188
      order: [[0, 'desc']],
Open commit View diff
188 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
189
      initComplete: function(){
Open commit View diff
189 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
190
        hideTableExpandCollapseBtn('#tab-postfix-logs', '#postfix_log');
Open commit View diff
190 hideTableExpandCollapseBtn('#tab-postfix-logs', '#postfix_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
191
      },
Open commit View diff
191 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
192
      ajax: {
Open commit View diff
192 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
193
        type: "GET",
Open commit View diff
193 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
194
        url: "/api/v1/get/logs/postfix",
Open commit View diff
194 url: "/api/v1/get/logs/postfix",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
195
        dataSrc: function(data){
Open commit View diff
195 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
196
          return process_table_data(data, 'general_syslog');
Open commit View diff
196 return process_table_data(data, 'general_syslog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
197
        }
Open commit View diff
197 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
198
      },
Open commit View diff
198 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
199
      columns: [
Open commit View diff
199 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
200
        {
Open commit View diff
200 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
201
          title: lang.time,
Open commit View diff
201 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
202
          data: 'time',
Open commit View diff
202 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
203
          defaultContent: '',
Open commit View diff
203 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
204
          createdCell: function(td, cellData) {
Open commit View diff
204 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
205
            createSortableDate(td, cellData)
Open commit View diff
205 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
206
          }
Open commit View diff
206 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
207
        },
Open commit View diff
207 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
208
        {
Open commit View diff
208 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
209
          title: lang.priority,
Open commit View diff
209 title: lang.priority,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
210
          data: 'priority',
Open commit View diff
210 data: 'priority',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
211
          defaultContent: ''
Open commit View diff
211 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
212
        },
Open commit View diff
212 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
213
        {
Open commit View diff
213 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
214
          title: lang.message,
Open commit View diff
214 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
215
          data: 'message',
Open commit View diff
215 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
216
          defaultContent: '',
Open commit View diff
216 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
217
          className: 'dtr-col-md text-break'
Open commit View diff
217 className: 'dtr-col-md text-break'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
218
        }
Open commit View diff
218 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
219
      ]
Open commit View diff
219 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
220
    });
Open commit View diff
220 });
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
221
Open commit View diff
221
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
222
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
222 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
223
      hideTableExpandCollapseBtn('#tab-postfix-logs', '#postfix_log');
Open commit View diff
223 hideTableExpandCollapseBtn('#tab-postfix-logs', '#postfix_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
224
    });
Open commit View diff
224 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
225
  }
Open commit View diff
225 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
226
  function draw_watchdog_logs() {
Open commit View diff
226 function draw_watchdog_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
227
    // just recalc width if instance already exists
Open commit View diff
227 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
228
    if ($.fn.DataTable.isDataTable('#watchdog_log') ) {
Open commit View diff
228 if ($.fn.DataTable.isDataTable('#watchdog_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
229
      $('#watchdog_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
229 $('#watchdog_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
230
      return;
Open commit View diff
230 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
231
    }
Open commit View diff
231 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
232
Open commit View diff
232
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
233
    var table = $('#watchdog_log').DataTable({
Open commit View diff
233 var table = $('#watchdog_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
234
      responsive: true,
Open commit View diff
234 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
235
      processing: true,
Open commit View diff
235 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
236
      serverSide: false,
Open commit View diff
236 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
237
      stateSave: true,
Open commit View diff
237 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
238
      pageLength: log_pagination_size,
Open commit View diff
238 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
239
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
239 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
240
           "tr" +
Open commit View diff
240 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
241
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
241 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
242
      language: lang_datatables,
Open commit View diff
242 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
243
      order: [[0, 'desc']],
Open commit View diff
243 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
244
      initComplete: function(){
Open commit View diff
244 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
245
        hideTableExpandCollapseBtn('#tab-watchdog-logs', '#watchdog_log');
Open commit View diff
245 hideTableExpandCollapseBtn('#tab-watchdog-logs', '#watchdog_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
246
      },
Open commit View diff
246 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
247
      ajax: {
Open commit View diff
247 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
248
        type: "GET",
Open commit View diff
248 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
249
        url: "/api/v1/get/logs/watchdog",
Open commit View diff
249 url: "/api/v1/get/logs/watchdog",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
250
        dataSrc: function(data){
Open commit View diff
250 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
251
          return process_table_data(data, 'watchdog');
Open commit View diff
251 return process_table_data(data, 'watchdog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
252
        }
Open commit View diff
252 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
253
      },
Open commit View diff
253 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
254
      columns: [
Open commit View diff
254 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
255
        {
Open commit View diff
255 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
256
          title: lang.time,
Open commit View diff
256 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
257
          data: 'time',
Open commit View diff
257 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
258
          defaultContent: '',
Open commit View diff
258 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
259
          createdCell: function(td, cellData) {
Open commit View diff
259 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
260
            createSortableDate(td, cellData)
Open commit View diff
260 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
261
          }
Open commit View diff
261 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
262
        },
Open commit View diff
262 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
263
        {
Open commit View diff
263 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
264
          title: 'Service',
Open commit View diff
264 title: 'Service',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
265
          data: 'service',
Open commit View diff
265 data: 'service',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
266
          defaultContent: ''
Open commit View diff
266 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
267
        },
Open commit View diff
267 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
268
        {
Open commit View diff
268 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
269
          title: 'Trend',
Open commit View diff
269 title: 'Trend',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
270
          data: 'trend',
Open commit View diff
270 data: 'trend',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
271
          defaultContent: ''
Open commit View diff
271 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
272
        },
Open commit View diff
272 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
273
        {
Open commit View diff
273 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
274
          title: lang.message,
Open commit View diff
274 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
275
          data: 'message',
Open commit View diff
275 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
276
          defaultContent: ''
Open commit View diff
276 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
277
        }
Open commit View diff
277 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
278
      ]
Open commit View diff
278 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
279
    });
Open commit View diff
279 });
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
280
Open commit View diff
280
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
281
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
281 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
282
      hideTableExpandCollapseBtn('#tab-watchdog-logs', '#watchdog_log');
Open commit View diff
282 hideTableExpandCollapseBtn('#tab-watchdog-logs', '#watchdog_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
283
    });
Open commit View diff
283 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
284
  }
Open commit View diff
284 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
285
  function draw_api_logs() {
Open commit View diff
285 function draw_api_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
286
    // just recalc width if instance already exists
Open commit View diff
286 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
287
    if ($.fn.DataTable.isDataTable('#api_log') ) {
Open commit View diff
287 if ($.fn.DataTable.isDataTable('#api_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
288
      $('#api_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
288 $('#api_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
289
      return;
Open commit View diff
289 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
290
    }
Open commit View diff
290 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
291
Open commit View diff
291
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
292
    var table =  $('#api_log').DataTable({
Open commit View diff
292 var table = $('#api_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
293
      responsive: true,
Open commit View diff
293 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
294
      processing: true,
Open commit View diff
294 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
295
      serverSide: false,
Open commit View diff
295 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
296
      stateSave: true,
Open commit View diff
296 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
297
      pageLength: log_pagination_size,
Open commit View diff
297 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
298
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
298 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
299
           "tr" +
Open commit View diff
299 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
300
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
300 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
301
      language: lang_datatables,
Open commit View diff
301 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
302
      order: [[0, 'desc']],
Open commit View diff
302 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
303
      initComplete: function(){
Open commit View diff
303 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
304
        hideTableExpandCollapseBtn('#tab-api-logs', '#api_log');
Open commit View diff
304 hideTableExpandCollapseBtn('#tab-api-logs', '#api_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
305
      },
Open commit View diff
305 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
306
      ajax: {
Open commit View diff
306 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
307
        type: "GET",
Open commit View diff
307 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
308
        url: "/api/v1/get/logs/api",
Open commit View diff
308 url: "/api/v1/get/logs/api",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
309
        dataSrc: function(data){
Open commit View diff
309 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
310
          return process_table_data(data, 'apilog');
Open commit View diff
310 return process_table_data(data, 'apilog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
311
        }
Open commit View diff
311 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
312
      },
Open commit View diff
312 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
313
      columns: [
Open commit View diff
313 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
314
        {
Open commit View diff
314 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
315
          title: lang.time,
Open commit View diff
315 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
316
          data: 'time',
Open commit View diff
316 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
317
          defaultContent: '',
Open commit View diff
317 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
318
          createdCell: function(td, cellData) {
Open commit View diff
318 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
319
            createSortableDate(td, cellData)
Open commit View diff
319 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
320
          }
Open commit View diff
320 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
321
        },
Open commit View diff
321 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
322
        {
Open commit View diff
322 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
323
          title: 'URI',
Open commit View diff
323 title: 'URI',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
324
          data: 'uri',
Open commit View diff
324 data: 'uri',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
325
          defaultContent: '',
Open commit View diff
325 defaultContent: '',
FreddleSpl0it about 2 years ago 66aa28b

[Web] escapeHtml in api_log table

Full commit hash
66aa28b5de282fc037e0d2f02fbdc84539b614a1
Author
FreddleSpl0it <[email protected]>
Date
about 2 years ago
Selected line
326
          className: 'dtr-col-md dtr-break-all',
Open commit View diff
326 className: 'dtr-col-md dtr-break-all',
same change 66aa28b

[Web] escapeHtml in api_log table

Full commit hash
66aa28b5de282fc037e0d2f02fbdc84539b614a1
Author
FreddleSpl0it <[email protected]>
Date
about 2 years ago
Selected line
327
          render: function (data, type) {
Open commit View diff
327 render: function (data, type) {
same change 66aa28b

[Web] escapeHtml in api_log table

Full commit hash
66aa28b5de282fc037e0d2f02fbdc84539b614a1
Author
FreddleSpl0it <[email protected]>
Date
about 2 years ago
Selected line
328
            return escapeHtml(data);
Open commit View diff
328 return escapeHtml(data);
same change 66aa28b

[Web] escapeHtml in api_log table

Full commit hash
66aa28b5de282fc037e0d2f02fbdc84539b614a1
Author
FreddleSpl0it <[email protected]>
Date
about 2 years ago
Selected line
329
          }
Open commit View diff
329 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
330
        },
Open commit View diff
330 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
331
        {
Open commit View diff
331 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
332
          title: 'Method',
Open commit View diff
332 title: 'Method',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
333
          data: 'method',
Open commit View diff
333 data: 'method',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
334
          defaultContent: ''
Open commit View diff
334 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
335
        },
Open commit View diff
335 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
336
        {
Open commit View diff
336 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
337
          title: 'IP',
Open commit View diff
337 title: 'IP',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
338
          data: 'remote',
Open commit View diff
338 data: 'remote',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
339
          defaultContent: ''
Open commit View diff
339 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
340
        },
Open commit View diff
340 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
341
        {
Open commit View diff
341 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
342
          title: 'Data',
Open commit View diff
342 title: 'Data',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
343
          data: 'data',
Open commit View diff
343 data: 'data',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
344
          defaultContent: '',
Open commit View diff
344 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
345
          className: 'dtr-col-md dtr-break-all'
Open commit View diff
345 className: 'dtr-col-md dtr-break-all'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
346
        }
Open commit View diff
346 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
347
      ]
Open commit View diff
347 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
348
    });
Open commit View diff
348 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
349
Open commit View diff
349
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
350
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
350 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
351
      hideTableExpandCollapseBtn('#tab-api-logs', '#api_log');
Open commit View diff
351 hideTableExpandCollapseBtn('#tab-api-logs', '#api_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
352
    });
Open commit View diff
352 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
353
  }
Open commit View diff
353 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
354
  function draw_rl_logs() {
Open commit View diff
354 function draw_rl_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
355
    // just recalc width if instance already exists
Open commit View diff
355 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
356
    if ($.fn.DataTable.isDataTable('#rl_log') ) {
Open commit View diff
356 if ($.fn.DataTable.isDataTable('#rl_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
357
      $('#rl_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
357 $('#rl_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
358
      return;
Open commit View diff
358 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
359
    }
Open commit View diff
359 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
360
Open commit View diff
360
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
361
    var table = $('#rl_log').DataTable({
Open commit View diff
361 var table = $('#rl_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
362
      responsive: true,
Open commit View diff
362 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
363
      processing: true,
Open commit View diff
363 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
364
      serverSide: false,
Open commit View diff
364 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
365
      stateSave: true,
Open commit View diff
365 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
366
      pageLength: log_pagination_size,
Open commit View diff
366 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
367
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
367 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
368
           "tr" +
Open commit View diff
368 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
369
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
369 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
370
      language: lang_datatables,
Open commit View diff
370 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
371
      order: [[0, 'desc']],
Open commit View diff
371 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
372
      initComplete: function(){
Open commit View diff
372 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
373
        hideTableExpandCollapseBtn('#tab-rl-logs', '#rl_log');
Open commit View diff
373 hideTableExpandCollapseBtn('#tab-rl-logs', '#rl_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
374
      },
Open commit View diff
374 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
375
      ajax: {
Open commit View diff
375 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
376
        type: "GET",
Open commit View diff
376 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
377
        url: "/api/v1/get/logs/ratelimited",
Open commit View diff
377 url: "/api/v1/get/logs/ratelimited",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
378
        dataSrc: function(data){
Open commit View diff
378 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
379
          return process_table_data(data, 'rllog');
Open commit View diff
379 return process_table_data(data, 'rllog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
380
        }
Open commit View diff
380 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
381
      },
Open commit View diff
381 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
382
      columns: [
Open commit View diff
382 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
383
        {
Open commit View diff
383 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
384
          title: ' ',
Open commit View diff
384 title: ' ',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
385
          data: 'indicator',
Open commit View diff
385 data: 'indicator',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
386
          defaultContent: ''
Open commit View diff
386 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
387
        },
Open commit View diff
387 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
388
        {
Open commit View diff
388 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
389
          title: lang.time,
Open commit View diff
389 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
390
          data: 'time',
Open commit View diff
390 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
391
          defaultContent: '',
Open commit View diff
391 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
392
          createdCell: function(td, cellData) {
Open commit View diff
392 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
393
            createSortableDate(td, cellData)
Open commit View diff
393 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
394
          }
Open commit View diff
394 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
395
        },
Open commit View diff
395 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
396
        {
Open commit View diff
396 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
397
          title: lang.rate_name,
Open commit View diff
397 title: lang.rate_name,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
398
          data: 'rl_name',
Open commit View diff
398 data: 'rl_name',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
399
          defaultContent: ''
Open commit View diff
399 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
400
        },
Open commit View diff
400 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
401
        {
Open commit View diff
401 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
402
          title: lang.sender,
Open commit View diff
402 title: lang.sender,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
403
          data: 'from',
Open commit View diff
403 data: 'from',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
404
          defaultContent: ''
Open commit View diff
404 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
405
        },
Open commit View diff
405 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
406
        {
Open commit View diff
406 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
407
          title: lang.recipients,
Open commit View diff
407 title: lang.recipients,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
408
          data: 'rcpt',
Open commit View diff
408 data: 'rcpt',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
409
          defaultContent: ''
Open commit View diff
409 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
410
        },
Open commit View diff
410 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
411
        {
Open commit View diff
411 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
412
          title: lang.authed_user,
Open commit View diff
412 title: lang.authed_user,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
413
          data: 'user',
Open commit View diff
413 data: 'user',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
414
          defaultContent: ''
Open commit View diff
414 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
415
        },
Open commit View diff
415 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
416
        {
Open commit View diff
416 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
417
          title: 'Msg ID',
Open commit View diff
417 title: 'Msg ID',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
418
          data: 'message_id',
Open commit View diff
418 data: 'message_id',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
419
          defaultContent: ''
Open commit View diff
419 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
420
        },
Open commit View diff
420 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
421
        {
Open commit View diff
421 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
422
          title: 'Header From',
Open commit View diff
422 title: 'Header From',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
423
          data: 'header_from',
Open commit View diff
423 data: 'header_from',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
424
          defaultContent: ''
Open commit View diff
424 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
425
        },
Open commit View diff
425 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
426
        {
Open commit View diff
426 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
427
          title: 'Subject',
Open commit View diff
427 title: 'Subject',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
428
          data: 'header_subject',
Open commit View diff
428 data: 'header_subject',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
429
          defaultContent: ''
Open commit View diff
429 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
430
        },
Open commit View diff
430 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
431
        {
Open commit View diff
431 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
432
          title: 'Hash',
Open commit View diff
432 title: 'Hash',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
433
          data: 'rl_hash',
Open commit View diff
433 data: 'rl_hash',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
434
          defaultContent: ''
Open commit View diff
434 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
435
        },
Open commit View diff
435 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
436
        {
Open commit View diff
436 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
437
          title: 'Rspamd QID',
Open commit View diff
437 title: 'Rspamd QID',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
438
          data: 'qid',
Open commit View diff
438 data: 'qid',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
439
          defaultContent: ''
Open commit View diff
439 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
440
        },
Open commit View diff
440 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
441
        {
Open commit View diff
441 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
442
          title: 'IP',
Open commit View diff
442 title: 'IP',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
443
          data: 'ip',
Open commit View diff
443 data: 'ip',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
444
          defaultContent: ''
Open commit View diff
444 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
445
        },
Open commit View diff
445 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
446
        {
Open commit View diff
446 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
447
          title: lang.action,
Open commit View diff
447 title: lang.action,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
448
          data: 'action',
Open commit View diff
448 data: 'action',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
449
          defaultContent: ''
Open commit View diff
449 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
450
        }
Open commit View diff
450 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
451
      ]
Open commit View diff
451 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
452
    });
Open commit View diff
452 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
453
Open commit View diff
453
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
454
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
454 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
455
      hideTableExpandCollapseBtn('#tab-rl-logs', '#rl_log');
Open commit View diff
455 hideTableExpandCollapseBtn('#tab-rl-logs', '#rl_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
456
    });
Open commit View diff
456 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
457
  }
Open commit View diff
457 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
458
  function draw_ui_logs() {
Open commit View diff
458 function draw_ui_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
459
    // just recalc width if instance already exists
Open commit View diff
459 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
460
    if ($.fn.DataTable.isDataTable('#ui_logs') ) {
Open commit View diff
460 if ($.fn.DataTable.isDataTable('#ui_logs') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
461
      $('#ui_logs').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
461 $('#ui_logs').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
462
      return;
Open commit View diff
462 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
463
    }
Open commit View diff
463 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
464
Open commit View diff
464
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
465
    var table = $('#ui_logs').DataTable({
Open commit View diff
465 var table = $('#ui_logs').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
466
      responsive: true,
Open commit View diff
466 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
467
      processing: true,
Open commit View diff
467 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
468
      serverSide: false,
Open commit View diff
468 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
469
      stateSave: true,
Open commit View diff
469 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
470
      pageLength: log_pagination_size,
Open commit View diff
470 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
471
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
471 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
472
           "tr" +
Open commit View diff
472 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
473
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
473 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
474
      language: lang_datatables,
Open commit View diff
474 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
475
      order: [[0, 'desc']],
Open commit View diff
475 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
476
      initComplete: function(){
Open commit View diff
476 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
477
        hideTableExpandCollapseBtn('#tab-ui-logs', '#ui_logs');
Open commit View diff
477 hideTableExpandCollapseBtn('#tab-ui-logs', '#ui_logs');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
478
      },
Open commit View diff
478 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
479
      ajax: {
Open commit View diff
479 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
480
        type: "GET",
Open commit View diff
480 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
481
        url: "/api/v1/get/logs/ui",
Open commit View diff
481 url: "/api/v1/get/logs/ui",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
482
        dataSrc: function(data){
Open commit View diff
482 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
483
          return process_table_data(data, 'mailcow_ui');
Open commit View diff
483 return process_table_data(data, 'mailcow_ui');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
484
        }
Open commit View diff
484 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
485
      },
Open commit View diff
485 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
486
      columns: [
Open commit View diff
486 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
487
        {
Open commit View diff
487 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
488
          title: lang.time,
Open commit View diff
488 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
489
          data: 'time',
Open commit View diff
489 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
490
          defaultContent: '',
Open commit View diff
490 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
491
          createdCell: function(td, cellData) {
Open commit View diff
491 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
492
            createSortableDate(td, cellData)
Open commit View diff
492 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
493
          }
Open commit View diff
493 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
494
        },
Open commit View diff
494 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
495
        {
Open commit View diff
495 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
496
          title: 'Type',
Open commit View diff
496 title: 'Type',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
497
          data: 'type',
Open commit View diff
497 data: 'type',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
498
          defaultContent: ''
Open commit View diff
498 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
499
        },
Open commit View diff
499 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
500
        {
Open commit View diff
500 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
501
          title: 'Task',
Open commit View diff
501 title: 'Task',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
502
          data: 'task',
Open commit View diff
502 data: 'task',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
503
          defaultContent: ''
Open commit View diff
503 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
504
        },
Open commit View diff
504 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
505
        {
Open commit View diff
505 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
506
          title: 'User',
Open commit View diff
506 title: 'User',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
507
          data: 'user',
Open commit View diff
507 data: 'user',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
508
          defaultContent: '',
Open commit View diff
508 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
509
          className: 'dtr-col-sm'
Open commit View diff
509 className: 'dtr-col-sm'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
510
        },
Open commit View diff
510 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
511
        {
Open commit View diff
511 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
512
          title: 'Role',
Open commit View diff
512 title: 'Role',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
513
          data: 'role',
Open commit View diff
513 data: 'role',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
514
          defaultContent: '',
Open commit View diff
514 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
515
          className: 'dtr-col-sm'
Open commit View diff
515 className: 'dtr-col-sm'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
516
        },
Open commit View diff
516 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
517
        {
Open commit View diff
517 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
518
          title: 'IP',
Open commit View diff
518 title: 'IP',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
519
          data: 'remote',
Open commit View diff
519 data: 'remote',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
520
          defaultContent: '',
Open commit View diff
520 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
521
          className: 'dtr-col-md dtr-break-all'
Open commit View diff
521 className: 'dtr-col-md dtr-break-all'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
522
        },
Open commit View diff
522 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
523
        {
Open commit View diff
523 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
524
          title: lang.message,
Open commit View diff
524 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
525
          data: 'msg',
Open commit View diff
525 data: 'msg',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
526
          defaultContent: '',
Open commit View diff
526 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
527
          className: 'dtr-col-md dtr-break-all'
Open commit View diff
527 className: 'dtr-col-md dtr-break-all'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
528
        },
Open commit View diff
528 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
529
        {
Open commit View diff
529 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
530
          title: 'Call',
Open commit View diff
530 title: 'Call',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
531
          data: 'call',
Open commit View diff
531 data: 'call',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
532
          defaultContent: '',
Open commit View diff
532 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
533
          className: 'none dtr-col-md dtr-break-all'
Open commit View diff
533 className: 'none dtr-col-md dtr-break-all'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
534
        }
Open commit View diff
534 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
535
      ]
Open commit View diff
535 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
536
    });
Open commit View diff
536 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
537
Open commit View diff
537
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
538
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
538 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
539
      hideTableExpandCollapseBtn('#tab-ui-logs', '#ui_log');
Open commit View diff
539 hideTableExpandCollapseBtn('#tab-ui-logs', '#ui_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
540
    });
Open commit View diff
540 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
541
  }
Open commit View diff
541 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
542
  function draw_sasl_logs() {
Open commit View diff
542 function draw_sasl_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
543
    // just recalc width if instance already exists
Open commit View diff
543 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
544
    if ($.fn.DataTable.isDataTable('#sasl_logs') ) {
Open commit View diff
544 if ($.fn.DataTable.isDataTable('#sasl_logs') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
545
      $('#sasl_logs').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
545 $('#sasl_logs').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
546
      return;
Open commit View diff
546 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
547
    }
Open commit View diff
547 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
548
Open commit View diff
548
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
549
    var table = $('#sasl_logs').DataTable({
Open commit View diff
549 var table = $('#sasl_logs').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
550
      responsive: true,
Open commit View diff
550 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
551
      processing: true,
Open commit View diff
551 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
552
      serverSide: false,
Open commit View diff
552 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
553
      stateSave: true,
Open commit View diff
553 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
554
      pageLength: log_pagination_size,
Open commit View diff
554 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
555
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
555 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
556
           "tr" +
Open commit View diff
556 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
557
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
557 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
558
      language: lang_datatables,
Open commit View diff
558 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
559
      order: [[0, 'desc']],
Open commit View diff
559 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
560
      initComplete: function(){
Open commit View diff
560 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
561
        hideTableExpandCollapseBtn('#tab-sasl-logs', '#sasl_logs');
Open commit View diff
561 hideTableExpandCollapseBtn('#tab-sasl-logs', '#sasl_logs');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
562
      },
Open commit View diff
562 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
563
      ajax: {
Open commit View diff
563 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
564
        type: "GET",
Open commit View diff
564 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
565
        url: "/api/v1/get/logs/sasl",
Open commit View diff
565 url: "/api/v1/get/logs/sasl",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
566
        dataSrc: function(data){
Open commit View diff
566 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
567
          return process_table_data(data, 'sasl_log_table');
Open commit View diff
567 return process_table_data(data, 'sasl_log_table');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
568
        }
Open commit View diff
568 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
569
      },
Open commit View diff
569 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
570
      columns: [
Open commit View diff
570 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
571
        {
Open commit View diff
571 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
572
          title: lang.username,
Open commit View diff
572 title: lang.username,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
573
          data: 'username',
Open commit View diff
573 data: 'username',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
574
          defaultContent: ''
Open commit View diff
574 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
575
        },
Open commit View diff
575 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
576
        {
Open commit View diff
576 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
577
          title: lang.service,
Open commit View diff
577 title: lang.service,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
578
          data: 'service',
Open commit View diff
578 data: 'service',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
579
          defaultContent: ''
Open commit View diff
579 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
580
        },
Open commit View diff
580 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
581
        {
Open commit View diff
581 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
582
          title: 'IP',
Open commit View diff
582 title: 'IP',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
583
          data: 'real_rip',
Open commit View diff
583 data: 'real_rip',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
584
          defaultContent: '',
Open commit View diff
584 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
585
          className: 'dtr-col-md text-break'
Open commit View diff
585 className: 'dtr-col-md text-break'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
586
        },
Open commit View diff
586 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
587
        {
Open commit View diff
587 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
588
          title: lang.login_time,
Open commit View diff
588 title: lang.login_time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
589
          data: 'datetime',
Open commit View diff
589 data: 'datetime',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
590
          defaultContent: '',
Open commit View diff
590 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
591
          createdCell: function(td, cellData) {
Open commit View diff
591 createdCell: function(td, cellData) {
FreddleSpl0it over 3 years ago 02b2988

[Web] fix typo in SASL table logs

Full commit hash
02b2988beb996a1af11d164082b79c302267206a
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
592
            cellData = Math.floor((new Date(cellData.replace(/-/g, "/"))).getTime() / 1000);
Open commit View diff
592 cellData = Math.floor((new Date(cellData.replace(/-/g, "/"))).getTime() / 1000);
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
593
            createSortableDate(td, cellData)
Open commit View diff
593 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
594
          }
Open commit View diff
594 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
595
        }
Open commit View diff
595 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
596
      ]
Open commit View diff
596 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
597
    });
Open commit View diff
597 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
598
Open commit View diff
598
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
599
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
599 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
600
      hideTableExpandCollapseBtn('#tab-sasl-logs', '#sasl_logs');
Open commit View diff
600 hideTableExpandCollapseBtn('#tab-sasl-logs', '#sasl_logs');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
601
    });
Open commit View diff
601 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
602
  }
Open commit View diff
602 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
603
  function draw_acme_logs() {
Open commit View diff
603 function draw_acme_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
604
    // just recalc width if instance already exists
Open commit View diff
604 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
605
    if ($.fn.DataTable.isDataTable('#acme_log') ) {
Open commit View diff
605 if ($.fn.DataTable.isDataTable('#acme_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
606
      $('#acme_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
606 $('#acme_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
607
      return;
Open commit View diff
607 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
608
    }
Open commit View diff
608 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
609
Open commit View diff
609
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
610
    var table = $('#acme_log').DataTable({
Open commit View diff
610 var table = $('#acme_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
611
      responsive: true,
Open commit View diff
611 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
612
      processing: true,
Open commit View diff
612 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
613
      serverSide: false,
Open commit View diff
613 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
614
      stateSave: true,
Open commit View diff
614 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
615
      pageLength: log_pagination_size,
Open commit View diff
615 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
616
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
616 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
617
           "tr" +
Open commit View diff
617 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
618
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
618 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
619
      language: lang_datatables,
Open commit View diff
619 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
620
      order: [[0, 'desc']],
Open commit View diff
620 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
621
      initComplete: function(){
Open commit View diff
621 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
622
        hideTableExpandCollapseBtn('#tab-acme-logs', '#acme_log');
Open commit View diff
622 hideTableExpandCollapseBtn('#tab-acme-logs', '#acme_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
623
      },
Open commit View diff
623 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
624
      ajax: {
Open commit View diff
624 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
625
        type: "GET",
Open commit View diff
625 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
626
        url: "/api/v1/get/logs/acme",
Open commit View diff
626 url: "/api/v1/get/logs/acme",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
627
        dataSrc: function(data){
Open commit View diff
627 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
628
          return process_table_data(data, 'general_syslog');
Open commit View diff
628 return process_table_data(data, 'general_syslog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
629
        }
Open commit View diff
629 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
630
      },
Open commit View diff
630 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
631
      columns: [
Open commit View diff
631 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
632
        {
Open commit View diff
632 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
633
          title: lang.time,
Open commit View diff
633 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
634
          data: 'time',
Open commit View diff
634 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
635
          defaultContent: '',
Open commit View diff
635 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
636
          createdCell: function(td, cellData) {
Open commit View diff
636 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
637
            createSortableDate(td, cellData)
Open commit View diff
637 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
638
          }
Open commit View diff
638 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
639
        },
Open commit View diff
639 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
640
        {
Open commit View diff
640 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
641
          title: lang.message,
Open commit View diff
641 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
642
          data: 'message',
Open commit View diff
642 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
643
          defaultContent: '',
Open commit View diff
643 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
644
          className: 'dtr-col-md dtr-break-all'
Open commit View diff
644 className: 'dtr-col-md dtr-break-all'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
645
        }
Open commit View diff
645 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
646
      ]
Open commit View diff
646 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
647
    });
Open commit View diff
647 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
648
Open commit View diff
648
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
649
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
649 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
650
      hideTableExpandCollapseBtn('#tab-acme-logs', '#acme_log');
Open commit View diff
650 hideTableExpandCollapseBtn('#tab-acme-logs', '#acme_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
651
    });
Open commit View diff
651 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
652
  }
Open commit View diff
652 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
653
  function draw_netfilter_logs() {
Open commit View diff
653 function draw_netfilter_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
654
    // just recalc width if instance already exists
Open commit View diff
654 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
655
    if ($.fn.DataTable.isDataTable('#netfilter_log') ) {
Open commit View diff
655 if ($.fn.DataTable.isDataTable('#netfilter_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
656
      $('#netfilter_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
656 $('#netfilter_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
657
      return;
Open commit View diff
657 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
658
    }
Open commit View diff
658 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
659
Open commit View diff
659
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
660
    var table = $('#netfilter_log').DataTable({
Open commit View diff
660 var table = $('#netfilter_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
661
      responsive: true,
Open commit View diff
661 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
662
      processing: true,
Open commit View diff
662 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
663
      serverSide: false,
Open commit View diff
663 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
664
      stateSave: true,
Open commit View diff
664 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
665
      pageLength: log_pagination_size,
Open commit View diff
665 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
666
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
666 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
667
           "tr" +
Open commit View diff
667 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
668
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
668 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
669
      language: lang_datatables,
Open commit View diff
669 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
670
      order: [[0, 'desc']],
Open commit View diff
670 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
671
      initComplete: function(){
Open commit View diff
671 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
672
        hideTableExpandCollapseBtn('#tab-netfilter-logs', '#netfilter_log');
Open commit View diff
672 hideTableExpandCollapseBtn('#tab-netfilter-logs', '#netfilter_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
673
      },
Open commit View diff
673 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
674
      ajax: {
Open commit View diff
674 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
675
        type: "GET",
Open commit View diff
675 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
676
        url: "/api/v1/get/logs/netfilter",
Open commit View diff
676 url: "/api/v1/get/logs/netfilter",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
677
        dataSrc: function(data){
Open commit View diff
677 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
678
          return process_table_data(data, 'general_syslog');
Open commit View diff
678 return process_table_data(data, 'general_syslog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
679
        }
Open commit View diff
679 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
680
      },
Open commit View diff
680 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
681
      columns: [
Open commit View diff
681 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
682
        {
Open commit View diff
682 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
683
          title: lang.time,
Open commit View diff
683 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
684
          data: 'time',
Open commit View diff
684 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
685
          defaultContent: '',
Open commit View diff
685 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
686
          createdCell: function(td, cellData) {
Open commit View diff
686 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
687
            createSortableDate(td, cellData)
Open commit View diff
687 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
688
          }
Open commit View diff
688 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
689
        },
Open commit View diff
689 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
690
        {
Open commit View diff
690 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
691
          title: lang.priority,
Open commit View diff
691 title: lang.priority,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
692
          data: 'priority',
Open commit View diff
692 data: 'priority',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
693
          defaultContent: ''
Open commit View diff
693 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
694
        },
Open commit View diff
694 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
695
        {
Open commit View diff
695 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
696
          title: lang.message,
Open commit View diff
696 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
697
          data: 'message',
Open commit View diff
697 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
698
          defaultContent: '',
Open commit View diff
698 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
699
          className: 'dtr-col-md text-break'
Open commit View diff
699 className: 'dtr-col-md text-break'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
700
        }
Open commit View diff
700 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
701
      ]
Open commit View diff
701 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
702
    });
Open commit View diff
702 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
703
Open commit View diff
703
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
704
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
704 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
705
      hideTableExpandCollapseBtn('#tab-netfilter-logs', '#netfilter_log');
Open commit View diff
705 hideTableExpandCollapseBtn('#tab-netfilter-logs', '#netfilter_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
706
    });
Open commit View diff
706 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
707
  }
Open commit View diff
707 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
708
  function draw_sogo_logs() {
Open commit View diff
708 function draw_sogo_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
709
    // just recalc width if instance already exists
Open commit View diff
709 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
710
    if ($.fn.DataTable.isDataTable('#sogo_log') ) {
Open commit View diff
710 if ($.fn.DataTable.isDataTable('#sogo_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
711
      $('#sogo_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
711 $('#sogo_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
712
      return;
Open commit View diff
712 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
713
    }
Open commit View diff
713 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
714
Open commit View diff
714
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
715
    var table = $('#sogo_log').DataTable({
Open commit View diff
715 var table = $('#sogo_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
716
      responsive: true,
Open commit View diff
716 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
717
      processing: true,
Open commit View diff
717 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
718
      serverSide: false,
Open commit View diff
718 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
719
      stateSave: true,
Open commit View diff
719 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
720
      pageLength: log_pagination_size,
Open commit View diff
720 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
721
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
721 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
722
           "tr" +
Open commit View diff
722 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
723
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
723 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
724
      language: lang_datatables,
Open commit View diff
724 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
725
      order: [[0, 'desc']],
Open commit View diff
725 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
726
      initComplete: function(){
Open commit View diff
726 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
727
        hideTableExpandCollapseBtn('#tab-sogo-logs', '#sogo_log');
Open commit View diff
727 hideTableExpandCollapseBtn('#tab-sogo-logs', '#sogo_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
728
      },
Open commit View diff
728 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
729
      ajax: {
Open commit View diff
729 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
730
        type: "GET",
Open commit View diff
730 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
731
        url: "/api/v1/get/logs/sogo",
Open commit View diff
731 url: "/api/v1/get/logs/sogo",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
732
        dataSrc: function(data){
Open commit View diff
732 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
733
          return process_table_data(data, 'general_syslog');
Open commit View diff
733 return process_table_data(data, 'general_syslog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
734
        }
Open commit View diff
734 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
735
      },
Open commit View diff
735 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
736
      columns: [
Open commit View diff
736 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
737
        {
Open commit View diff
737 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
738
          title: lang.time,
Open commit View diff
738 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
739
          data: 'time',
Open commit View diff
739 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
740
          defaultContent: '',
Open commit View diff
740 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
741
          createdCell: function(td, cellData) {
Open commit View diff
741 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
742
            createSortableDate(td, cellData)
Open commit View diff
742 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
743
          }
Open commit View diff
743 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
744
        },
Open commit View diff
744 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
745
        {
Open commit View diff
745 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
746
          title: lang.priority,
Open commit View diff
746 title: lang.priority,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
747
          data: 'priority',
Open commit View diff
747 data: 'priority',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
748
          defaultContent: ''
Open commit View diff
748 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
749
        },
Open commit View diff
749 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
750
        {
Open commit View diff
750 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
751
          title: lang.message,
Open commit View diff
751 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
752
          data: 'message',
Open commit View diff
752 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
753
          defaultContent: '',
Open commit View diff
753 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
754
          className: 'dtr-col-md text-break'
Open commit View diff
754 className: 'dtr-col-md text-break'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
755
        }
Open commit View diff
755 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
756
      ]
Open commit View diff
756 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
757
    });
Open commit View diff
757 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
758
Open commit View diff
758
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
759
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
759 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
760
      hideTableExpandCollapseBtn('#tab-sogo-logs', '#sogo_log');
Open commit View diff
760 hideTableExpandCollapseBtn('#tab-sogo-logs', '#sogo_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
761
    });
Open commit View diff
761 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
762
  }
Open commit View diff
762 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
763
  function draw_dovecot_logs() {
Open commit View diff
763 function draw_dovecot_logs() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
764
    // just recalc width if instance already exists
Open commit View diff
764 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
765
    if ($.fn.DataTable.isDataTable('#dovecot_log') ) {
Open commit View diff
765 if ($.fn.DataTable.isDataTable('#dovecot_log') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
766
      $('#dovecot_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
766 $('#dovecot_log').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
767
      return;
Open commit View diff
767 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
768
    }
Open commit View diff
768 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
769
Open commit View diff
769
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
770
    var table = $('#dovecot_log').DataTable({
Open commit View diff
770 var table = $('#dovecot_log').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
771
      responsive: true,
Open commit View diff
771 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
772
      processing: true,
Open commit View diff
772 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
773
      serverSide: false,
Open commit View diff
773 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
774
      stateSave: true,
Open commit View diff
774 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
775
      pageLength: log_pagination_size,
Open commit View diff
775 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
776
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
776 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
777
           "tr" +
Open commit View diff
777 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
778
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
778 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
779
      language: lang_datatables,
Open commit View diff
779 language: lang_datatables,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
780
      order: [[0, 'desc']],
Open commit View diff
780 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
781
      initComplete: function(){
Open commit View diff
781 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
782
        hideTableExpandCollapseBtn('#tab-dovecot-logs', '#dovecot_log');
Open commit View diff
782 hideTableExpandCollapseBtn('#tab-dovecot-logs', '#dovecot_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
783
      },
Open commit View diff
783 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
784
      ajax: {
Open commit View diff
784 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
785
        type: "GET",
Open commit View diff
785 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
786
        url: "/api/v1/get/logs/dovecot",
Open commit View diff
786 url: "/api/v1/get/logs/dovecot",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
787
        dataSrc: function(data){
Open commit View diff
787 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
788
          return process_table_data(data, 'general_syslog');
Open commit View diff
788 return process_table_data(data, 'general_syslog');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
789
        }
Open commit View diff
789 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
790
      },
Open commit View diff
790 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
791
      columns: [
Open commit View diff
791 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
792
        {
Open commit View diff
792 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
793
          title: lang.time,
Open commit View diff
793 title: lang.time,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
794
          data: 'time',
Open commit View diff
794 data: 'time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
795
          defaultContent: '',
Open commit View diff
795 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
796
          createdCell: function(td, cellData) {
Open commit View diff
796 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
797
            createSortableDate(td, cellData)
Open commit View diff
797 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
798
          }
Open commit View diff
798 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
799
        },
Open commit View diff
799 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
800
        {
Open commit View diff
800 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
801
          title: lang.priority,
Open commit View diff
801 title: lang.priority,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
802
          data: 'priority',
Open commit View diff
802 data: 'priority',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
803
          defaultContent: ''
Open commit View diff
803 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
804
        },
Open commit View diff
804 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
805
        {
Open commit View diff
805 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
806
          title: lang.message,
Open commit View diff
806 title: lang.message,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
807
          data: 'message',
Open commit View diff
807 data: 'message',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
808
          defaultContent: '',
Open commit View diff
808 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
809
          className: 'dtr-col-md text-break'
Open commit View diff
809 className: 'dtr-col-md text-break'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
810
        }
Open commit View diff
810 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
811
      ]
Open commit View diff
811 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
812
    });
Open commit View diff
812 });
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
813
Open commit View diff
813
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
814
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
814 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
815
      hideTableExpandCollapseBtn('#tab-dovecot-logs', '#dovecot_log');
Open commit View diff
815 hideTableExpandCollapseBtn('#tab-dovecot-logs', '#dovecot_log');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
816
    });
Open commit View diff
816 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
817
  }
Open commit View diff
817 }
FreddleSpl0it about 3 years ago b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
818
  function draw_cron_logs() {
Open commit View diff
818 function draw_cron_logs() {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
819
    // just recalc width if instance already exists
Open commit View diff
819 // just recalc width if instance already exists
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
820
    if ($.fn.DataTable.isDataTable('#cron_log') ) {
Open commit View diff
820 if ($.fn.DataTable.isDataTable('#cron_log') ) {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
821
      $('#cron_log').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
821 $('#cron_log').DataTable().columns.adjust().responsive.recalc();
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
822
      return;
Open commit View diff
822 return;
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
823
    }
Open commit View diff
823 }
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
824
Open commit View diff
824
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
825
    var table = $('#cron_log').DataTable({
Open commit View diff
825 var table = $('#cron_log').DataTable({
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
826
      responsive: true,
Open commit View diff
826 responsive: true,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
827
      processing: true,
Open commit View diff
827 processing: true,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
828
      serverSide: false,
Open commit View diff
828 serverSide: false,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
829
      stateSave: true,
Open commit View diff
829 stateSave: true,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
830
      pageLength: log_pagination_size,
Open commit View diff
830 pageLength: log_pagination_size,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
831
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
831 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
832
           "tr" +
Open commit View diff
832 "tr" +
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
833
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
833 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
834
      language: lang_datatables,
Open commit View diff
834 language: lang_datatables,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
835
      order: [[0, 'desc']],
Open commit View diff
835 order: [[0, 'desc']],
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
836
      initComplete: function(){
Open commit View diff
836 initComplete: function(){
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
837
        hideTableExpandCollapseBtn('#tab-cron-logs', '#cron_log');
Open commit View diff
837 hideTableExpandCollapseBtn('#tab-cron-logs', '#cron_log');
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
838
      },
Open commit View diff
838 },
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
839
      ajax: {
Open commit View diff
839 ajax: {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
840
        type: "GET",
Open commit View diff
840 type: "GET",
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
841
        url: "/api/v1/get/logs/cron",
Open commit View diff
841 url: "/api/v1/get/logs/cron",
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
842
        dataSrc: function(data){
Open commit View diff
842 dataSrc: function(data){
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
843
          return process_table_data(data, 'general_syslog');
Open commit View diff
843 return process_table_data(data, 'general_syslog');
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
844
        }
Open commit View diff
844 }
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
845
      },
Open commit View diff
845 },
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
846
      columns: [
Open commit View diff
846 columns: [
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
847
        {
Open commit View diff
847 {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
848
          title: lang.time,
Open commit View diff
848 title: lang.time,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
849
          data: 'time',
Open commit View diff
849 data: 'time',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
850
          defaultContent: '',
Open commit View diff
850 defaultContent: '',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
851
          createdCell: function(td, cellData) {
Open commit View diff
851 createdCell: function(td, cellData) {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
852
            createSortableDate(td, cellData)
Open commit View diff
852 createSortableDate(td, cellData)
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
853
          }
Open commit View diff
853 }
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
854
        },
Open commit View diff
854 },
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
855
        {
Open commit View diff
855 {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
856
          title: lang.task,
Open commit View diff
856 title: lang.task,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
857
          data: 'task',
Open commit View diff
857 data: 'task',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
858
          defaultContent: ''
Open commit View diff
858 defaultContent: ''
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
859
        },
Open commit View diff
859 },
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
860
        {
Open commit View diff
860 {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
861
          title: lang.priority,
Open commit View diff
861 title: lang.priority,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
862
          data: 'priority',
Open commit View diff
862 data: 'priority',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
863
          defaultContent: ''
Open commit View diff
863 defaultContent: ''
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
864
        },
Open commit View diff
864 },
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
865
        {
Open commit View diff
865 {
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
866
          title: lang.message,
Open commit View diff
866 title: lang.message,
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
867
          data: 'message',
Open commit View diff
867 data: 'message',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
868
          defaultContent: '',
Open commit View diff
868 defaultContent: '',
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
869
          className: 'dtr-col-md text-break'
Open commit View diff
869 className: 'dtr-col-md text-break'
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
870
        }
Open commit View diff
870 }
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
871
      ]
Open commit View diff
871 ]
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
872
    });
Open commit View diff
872 });
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
873
Open commit View diff
873
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
874
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
874 table.on('responsive-resize', function (e, datatable, columns){
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
875
      hideTableExpandCollapseBtn('#tab-cron-logs', '#cron_log');
Open commit View diff
875 hideTableExpandCollapseBtn('#tab-cron-logs', '#cron_log');
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
876
    });
Open commit View diff
876 });
same change b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
877
  }
Open commit View diff
877 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
878
  function rspamd_pie_graph() {
Open commit View diff
878 function rspamd_pie_graph() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
879
    $.ajax({
Open commit View diff
879 $.ajax({
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
880
      url: '/api/v1/get/rspamd/actions',
Open commit View diff
880 url: '/api/v1/get/rspamd/actions',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
881
      async: true,
Open commit View diff
881 async: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
882
      success: function(data){
Open commit View diff
882 success: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
883
        var total = 0;
Open commit View diff
883 var total = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
884
        $(data).map(function(){total += this[1];});
Open commit View diff
884 $(data).map(function(){total += this[1];});
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
885
        var labels = $.makeArray($(data).map(function(){return this[0] + ' ' + Math.round(this[1]/total * 100) + '%';}));
Open commit View diff
885 var labels = $.makeArray($(data).map(function(){return this[0] + ' ' + Math.round(this[1]/total * 100) + '%';}));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
886
        var values = $.makeArray($(data).map(function(){return this[1];}));
Open commit View diff
886 var values = $.makeArray($(data).map(function(){return this[1];}));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
887
Open commit View diff
887
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
888
        var graphdata = {
Open commit View diff
888 var graphdata = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
889
          labels: labels,
Open commit View diff
889 labels: labels,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
890
          datasets: [{
Open commit View diff
890 datasets: [{
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
891
            data: values,
Open commit View diff
891 data: values,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
892
            backgroundColor: ['#DC3023', '#59ABE3', '#FFA400', '#FFA400', '#26A65B']
Open commit View diff
892 backgroundColor: ['#DC3023', '#59ABE3', '#FFA400', '#FFA400', '#26A65B']
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
893
          }]
Open commit View diff
893 }]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
894
        };
Open commit View diff
894 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
895
Open commit View diff
895
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
896
        var options = {
Open commit View diff
896 var options = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
897
          responsive: true,
Open commit View diff
897 responsive: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
898
          maintainAspectRatio: false,
Open commit View diff
898 maintainAspectRatio: false,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
899
          plugins: {
Open commit View diff
899 plugins: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
900
            datalabels: {
Open commit View diff
900 datalabels: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
901
              color: '#FFF',
Open commit View diff
901 color: '#FFF',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
902
              font: {
Open commit View diff
902 font: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
903
                weight: 'bold'
Open commit View diff
903 weight: 'bold'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
904
              },
Open commit View diff
904 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
905
              display: function(context) {
Open commit View diff
905 display: function(context) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
906
                return context.dataset.data[context.dataIndex] !== 0;
Open commit View diff
906 return context.dataset.data[context.dataIndex] !== 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
907
              },
Open commit View diff
907 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
908
              formatter: function(value, context) {
Open commit View diff
908 formatter: function(value, context) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
909
                return Math.round(value/total*100) + '%';
Open commit View diff
909 return Math.round(value/total*100) + '%';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
910
              }
Open commit View diff
910 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
911
            }
Open commit View diff
911 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
912
          }
Open commit View diff
912 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
913
        };
Open commit View diff
913 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
914
        var chartcanvas = document.getElementById('rspamd_donut');
Open commit View diff
914 var chartcanvas = document.getElementById('rspamd_donut');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
915
        Chart.register('ChartDataLabels');
Open commit View diff
915 Chart.register('ChartDataLabels');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
916
        if(typeof chart == 'undefined') {
Open commit View diff
916 if(typeof chart == 'undefined') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
917
          chart = new Chart(chartcanvas.getContext("2d"), {
Open commit View diff
917 chart = new Chart(chartcanvas.getContext("2d"), {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
918
            plugins: [ChartDataLabels],
Open commit View diff
918 plugins: [ChartDataLabels],
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
919
            type: 'doughnut',
Open commit View diff
919 type: 'doughnut',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
920
            data: graphdata,
Open commit View diff
920 data: graphdata,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
921
            options: options
Open commit View diff
921 options: options
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
922
          });
Open commit View diff
922 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
923
        }
Open commit View diff
923 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
924
        else {
Open commit View diff
924 else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
925
          chart.destroy();
Open commit View diff
925 chart.destroy();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
926
          chart = new Chart(chartcanvas.getContext("2d"), {
Open commit View diff
926 chart = new Chart(chartcanvas.getContext("2d"), {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
927
            plugins: [ChartDataLabels],
Open commit View diff
927 plugins: [ChartDataLabels],
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
928
            type: 'doughnut',
Open commit View diff
928 type: 'doughnut',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
929
            data: graphdata,
Open commit View diff
929 data: graphdata,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
930
            options: options
Open commit View diff
930 options: options
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
931
          });
Open commit View diff
931 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
932
        }
Open commit View diff
932 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
933
      }
Open commit View diff
933 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
934
    });
Open commit View diff
934 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
935
  }
Open commit View diff
935 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
936
  function draw_rspamd_history() {
Open commit View diff
936 function draw_rspamd_history() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
937
    // just recalc width if instance already exists
Open commit View diff
937 // just recalc width if instance already exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
938
    if ($.fn.DataTable.isDataTable('#rspamd_history') ) {
Open commit View diff
938 if ($.fn.DataTable.isDataTable('#rspamd_history') ) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
939
      $('#rspamd_history').DataTable().columns.adjust().responsive.recalc();
Open commit View diff
939 $('#rspamd_history').DataTable().columns.adjust().responsive.recalc();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
940
      return;
Open commit View diff
940 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
941
    }
Open commit View diff
941 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
942
Open commit View diff
942
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
943
    var table = $('#rspamd_history').DataTable({
Open commit View diff
943 var table = $('#rspamd_history').DataTable({
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
944
      responsive: true,
Open commit View diff
944 responsive: true,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
945
      processing: true,
Open commit View diff
945 processing: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
946
      serverSide: false,
Open commit View diff
946 serverSide: false,
FreddleSpl0it over 3 years ago b22f74c

[Web] persist table settings + fix quarantine sort

Full commit hash
b22f74cb5985456eb659ee237c392632e4515166
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
947
      stateSave: true,
Open commit View diff
947 stateSave: true,
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
948
      pageLength: log_pagination_size,
Open commit View diff
948 pageLength: log_pagination_size,
FreddleSpl0it over 3 years ago 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
949
      dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
Open commit View diff
949 dom: "<'row'<'col-sm-12 col-md-6'f><'col-sm-12 col-md-6'l>>" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
950
           "tr" +
Open commit View diff
950 "tr" +
same change 7966f01

[Web] switch table length + filter field positions

Full commit hash
7966f010a2d487603f990fa352818f9e5087216e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
951
           "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Open commit View diff
951 "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
952
      language: lang_datatables,
Open commit View diff
952 language: lang_datatables,
Tom Udding over 3 years ago 82c80a9

Make default ordering of Rspamd table consistent

Full commit hash
82c80a9682f29d69a935f93dd26b2b1ed1b107cf
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
953
      order: [[0, 'desc']],
Open commit View diff
953 order: [[0, 'desc']],
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
954
      initComplete: function(){
Open commit View diff
954 initComplete: function(){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
955
        hideTableExpandCollapseBtn('#tab-rspamd-logs', '#rspamd_history');
Open commit View diff
955 hideTableExpandCollapseBtn('#tab-rspamd-logs', '#rspamd_history');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
956
      },
Open commit View diff
956 },
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
957
      ajax: {
Open commit View diff
957 ajax: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
958
        type: "GET",
Open commit View diff
958 type: "GET",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
959
        url: "/api/v1/get/logs/rspamd-history",
Open commit View diff
959 url: "/api/v1/get/logs/rspamd-history",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
960
        dataSrc: function(data){
Open commit View diff
960 dataSrc: function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
961
          return process_table_data(data, 'rspamd_history');
Open commit View diff
961 return process_table_data(data, 'rspamd_history');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
962
        }
Open commit View diff
962 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
963
      },
Open commit View diff
963 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
964
      columns: [
Open commit View diff
964 columns: [
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
965
        {
Open commit View diff
965 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
966
          title: lang.time,
Open commit View diff
966 title: lang.time,
Tom Udding over 3 years ago eefce62

Fix incorrect datetime for Rspamd logs

Full commit hash
eefce62f017be3a13c2ff6d9fee51a31689829d2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
967
          data: 'unix_time',
Open commit View diff
967 data: 'unix_time',
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
968
          defaultContent: '',
Open commit View diff
968 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
969
          createdCell: function(td, cellData) {
Open commit View diff
969 createdCell: function(td, cellData) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
970
            createSortableDate(td, cellData)
Open commit View diff
970 createSortableDate(td, cellData)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
971
          }
Open commit View diff
971 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
972
        },
Open commit View diff
972 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
973
        {
Open commit View diff
973 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
974
          title: 'IP address',
Open commit View diff
974 title: 'IP address',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
975
          data: 'ip',
Open commit View diff
975 data: 'ip',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
976
          defaultContent: ''
Open commit View diff
976 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
977
        },
Open commit View diff
977 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
978
        {
Open commit View diff
978 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
979
          title: 'From',
Open commit View diff
979 title: 'From',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
980
          data: 'sender_mime',
Open commit View diff
980 data: 'sender_mime',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
981
          defaultContent: ''
Open commit View diff
981 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
982
        },
Open commit View diff
982 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
983
        {
Open commit View diff
983 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
984
          title: 'To',
Open commit View diff
984 title: 'To',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
985
          data: 'rcpt',
Open commit View diff
985 data: 'rcpt',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
986
          defaultContent: ''
Open commit View diff
986 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
987
        },
Open commit View diff
987 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
988
        {
Open commit View diff
988 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
989
          title: 'Subject',
Open commit View diff
989 title: 'Subject',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
990
          data: 'subject',
Open commit View diff
990 data: 'subject',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
991
          defaultContent: ''
Open commit View diff
991 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
992
        },
Open commit View diff
992 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
993
        {
Open commit View diff
993 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
994
          title: 'Action',
Open commit View diff
994 title: 'Action',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
995
          data: 'action',
Open commit View diff
995 data: 'action',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
996
          defaultContent: ''
Open commit View diff
996 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
997
        },
Open commit View diff
997 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
998
        {
Open commit View diff
998 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
999
          title: 'Score',
Open commit View diff
999 title: 'Score',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1000
          data: 'score',
Open commit View diff
1000 data: 'score',
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1001
          defaultContent: '',
Open commit View diff
1001 defaultContent: '',
FreddleSpl0it over 3 years ago 0372a21

[Web] fix rspamd table on sm devices

Full commit hash
0372a2150d438ad71c1acc853db2a8556486ee82
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1002
          class: 'text-nowrap',
Open commit View diff
1002 class: 'text-nowrap',
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1003
          createdCell: function(td, cellData) {
Open commit View diff
1003 createdCell: function(td, cellData) {
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1004
            $(td).attr({
Open commit View diff
1004 $(td).attr({
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1005
              "data-order": cellData.sortBy,
Open commit View diff
1005 "data-order": cellData.sortBy,
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1006
              "data-sort": cellData.sortBy
Open commit View diff
1006 "data-sort": cellData.sortBy
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1007
            });
Open commit View diff
1007 });
Patrik Kernstock 10 months ago 8978a9a

Remove debug console.log() lines

Full commit hash
8978a9ad7903b42533d3bfd2e9a1e9f273026f10
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
1008
          },
Open commit View diff
1008 },
FreddleSpl0it over 3 years ago 0372a21

[Web] fix rspamd table on sm devices

Full commit hash
0372a2150d438ad71c1acc853db2a8556486ee82
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1009
          render: function (data) {
Open commit View diff
1009 render: function (data) {
same change 0372a21

[Web] fix rspamd table on sm devices

Full commit hash
0372a2150d438ad71c1acc853db2a8556486ee82
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1010
            return data.value;
Open commit View diff
1010 return data.value;
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1011
          }
Open commit View diff
1011 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1012
        },
Open commit View diff
1012 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1013
        {
Open commit View diff
1013 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1014
          title: 'Symbols',
Open commit View diff
1014 title: 'Symbols',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1015
          data: 'symbols',
Open commit View diff
1015 data: 'symbols',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1016
          defaultContent: '',
Open commit View diff
1016 defaultContent: '',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1017
          className: 'none dtr-col-md'
Open commit View diff
1017 className: 'none dtr-col-md'
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1018
        },
Open commit View diff
1018 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1019
        {
Open commit View diff
1019 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1020
          title: 'Msg size',
Open commit View diff
1020 title: 'Msg size',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1021
          data: 'size',
Open commit View diff
1021 data: 'size',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1022
          defaultContent: ''
Open commit View diff
1022 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1023
        },
Open commit View diff
1023 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1024
        {
Open commit View diff
1024 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1025
          title: 'Scan Time',
Open commit View diff
1025 title: 'Scan Time',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1026
          data: 'scan_time',
Open commit View diff
1026 data: 'scan_time',
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1027
          defaultContent: '',
Open commit View diff
1027 defaultContent: '',
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1028
          createdCell: function(td, cellData) {
Open commit View diff
1028 createdCell: function(td, cellData) {
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1029
            $(td).attr({
Open commit View diff
1029 $(td).attr({
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1030
              "data-order": cellData.sortBy,
Open commit View diff
1030 "data-order": cellData.sortBy,
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1031
              "data-sort": cellData.sortBy
Open commit View diff
1031 "data-sort": cellData.sortBy
same change 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1032
            });
Open commit View diff
1032 });
Patrik Kernstock 10 months ago 8978a9a

Remove debug console.log() lines

Full commit hash
8978a9ad7903b42533d3bfd2e9a1e9f273026f10
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
1033
          },
Open commit View diff
1033 },
FreddleSpl0it about 3 years ago fe4a418

[Web] fix rspamd table scan_time on sm devices

Full commit hash
fe4a418af45fd7e82df7facfb9cdfb71efd17fb3
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1034
          render: function (data) {
Open commit View diff
1034 render: function (data) {
same change fe4a418

[Web] fix rspamd table scan_time on sm devices

Full commit hash
fe4a418af45fd7e82df7facfb9cdfb71efd17fb3
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1035
            return data.value;
Open commit View diff
1035 return data.value;
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1036
          }
Open commit View diff
1036 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1037
        },
Open commit View diff
1037 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1038
        {
Open commit View diff
1038 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1039
          title: 'ID',
Open commit View diff
1039 title: 'ID',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1040
          data: 'message-id',
Open commit View diff
1040 data: 'message-id',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1041
          defaultContent: ''
Open commit View diff
1041 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1042
        },
Open commit View diff
1042 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1043
        {
Open commit View diff
1043 {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1044
          title: 'Authenticated user',
Open commit View diff
1044 title: 'Authenticated user',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1045
          data: 'user',
Open commit View diff
1045 data: 'user',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1046
          defaultContent: ''
Open commit View diff
1046 defaultContent: ''
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1047
        }
Open commit View diff
1047 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1048
      ]
Open commit View diff
1048 ]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1049
    });
Open commit View diff
1049 });
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1050
Open commit View diff
1050
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1051
    table.on('responsive-resize', function (e, datatable, columns){
Open commit View diff
1051 table.on('responsive-resize', function (e, datatable, columns){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1052
      hideTableExpandCollapseBtn('#tab-rspamd-history', '#rspamd_history');
Open commit View diff
1052 hideTableExpandCollapseBtn('#tab-rspamd-history', '#rspamd_history');
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1053
    });
Open commit View diff
1053 });
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1054
  }
Open commit View diff
1054 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1055
  function process_table_data(data, table) {
Open commit View diff
1055 function process_table_data(data, table) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1056
    if (table == 'rspamd_history') {
Open commit View diff
1056 if (table == 'rspamd_history') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1057
    $.each(data, function (i, item) {
Open commit View diff
1057 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1058
      if (item.rcpt_mime != "") {
Open commit View diff
1058 if (item.rcpt_mime != "") {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1059
        item.rcpt = escapeHtml(item.rcpt_mime.join(", "));
Open commit View diff
1059 item.rcpt = escapeHtml(item.rcpt_mime.join(", "));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1060
      }
Open commit View diff
1060 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1061
      else {
Open commit View diff
1061 else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1062
        item.rcpt = escapeHtml(item.rcpt_smtp.join(", "));
Open commit View diff
1062 item.rcpt = escapeHtml(item.rcpt_smtp.join(", "));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1063
      }
Open commit View diff
1063 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1064
      item.symbols = Object.keys(item.symbols).sort(function (a, b) {
Open commit View diff
1064 item.symbols = Object.keys(item.symbols).sort(function (a, b) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1065
        if (item.symbols[a].score === 0) return 1;
Open commit View diff
1065 if (item.symbols[a].score === 0) return 1;
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1066
        if (item.symbols[b].score === 0) return -1;
Open commit View diff
1066 if (item.symbols[b].score === 0) return -1;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1067
        if (item.symbols[b].score < 0 && item.symbols[a].score < 0) {
Open commit View diff
1067 if (item.symbols[b].score < 0 && item.symbols[a].score < 0) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1068
          return item.symbols[a].score - item.symbols[b].score;
Open commit View diff
1068 return item.symbols[a].score - item.symbols[b].score;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1069
        }
Open commit View diff
1069 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1070
        if (item.symbols[b].score > 0 && item.symbols[a].score > 0) {
Open commit View diff
1070 if (item.symbols[b].score > 0 && item.symbols[a].score > 0) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1071
          return item.symbols[b].score - item.symbols[a].score;
Open commit View diff
1071 return item.symbols[b].score - item.symbols[a].score;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1072
        }
Open commit View diff
1072 }
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1073
        return item.symbols[b].score - item.symbols[a].score;
Open commit View diff
1073 return item.symbols[b].score - item.symbols[a].score;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1074
      }).map(function(key) {
Open commit View diff
1074 }).map(function(key) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1075
        var sym = item.symbols[key];
Open commit View diff
1075 var sym = item.symbols[key];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1076
        if (sym.score < 0) {
Open commit View diff
1076 if (sym.score < 0) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1077
          sym.score_formatted = '(<span class="text-success"><b>' + sym.score + '</b></span>)';
Open commit View diff
1077 sym.score_formatted = '(<span class="text-success"><b>' + sym.score + '</b></span>)';
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1078
        }
Open commit View diff
1078 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1079
        else if (sym.score === 0) {
Open commit View diff
1079 else if (sym.score === 0) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1080
          sym.score_formatted = '(<span><b>' + sym.score + '</b></span>)';
Open commit View diff
1080 sym.score_formatted = '(<span><b>' + sym.score + '</b></span>)';
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1081
        }
Open commit View diff
1081 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1082
        else {
Open commit View diff
1082 else {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1083
          sym.score_formatted = '(<span class="text-danger"><b>' + sym.score + '</b></span>)';
Open commit View diff
1083 sym.score_formatted = '(<span class="text-danger"><b>' + sym.score + '</b></span>)';
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1084
        }
Open commit View diff
1084 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1085
        var str = '<strong>' + key + '</strong> ' + sym.score_formatted;
Open commit View diff
1085 var str = '<strong>' + key + '</strong> ' + sym.score_formatted;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1086
        if (sym.options) {
Open commit View diff
1086 if (sym.options) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1087
          str += ' [' + escapeHtml(sym.options.join(", ")) + "]";
Open commit View diff
1087 str += ' [' + escapeHtml(sym.options.join(", ")) + "]";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1088
        }
Open commit View diff
1088 }
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1089
        return str;
Open commit View diff
1089 return str;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1090
      }).join('<br>\n');
Open commit View diff
1090 }).join('<br>\n');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1091
      item.subject = escapeHtml(item.subject);
Open commit View diff
1091 item.subject = escapeHtml(item.subject);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1092
      var scan_time = item.time_real.toFixed(3);
Open commit View diff
1092 var scan_time = item.time_real.toFixed(3);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1093
      if (item.time_virtual) {
Open commit View diff
1093 if (item.time_virtual) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1094
        scan_time += ' / ' + item.time_virtual.toFixed(3);
Open commit View diff
1094 scan_time += ' / ' + item.time_virtual.toFixed(3);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1095
      }
Open commit View diff
1095 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1096
      item.scan_time = {
Open commit View diff
1096 item.scan_time = {
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1097
        "sortBy": item.time_real,
Open commit View diff
1097 "sortBy": item.time_real,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1098
        "value": scan_time
Open commit View diff
1098 "value": scan_time
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1099
      };
Open commit View diff
1099 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1100
      if (item.action === 'clean' || item.action === 'no action') {
Open commit View diff
1100 if (item.action === 'clean' || item.action === 'no action') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1101
        item.action = "<div class='badge fs-6 bg-success'>" + item.action + "</div>";
Open commit View diff
1101 item.action = "<div class='badge fs-6 bg-success'>" + item.action + "</div>";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1102
      } else if (item.action === 'rewrite subject' || item.action === 'add header' || item.action === 'probable spam') {
Open commit View diff
1102 } else if (item.action === 'rewrite subject' || item.action === 'add header' || item.action === 'probable spam') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1103
        item.action = "<div class='badge fs-6 bg-warning'>" + item.action + "</div>";
Open commit View diff
1103 item.action = "<div class='badge fs-6 bg-warning'>" + item.action + "</div>";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1104
      } else if (item.action === 'spam' || item.action === 'reject') {
Open commit View diff
1104 } else if (item.action === 'spam' || item.action === 'reject') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1105
        item.action = "<div class='badge fs-6 bg-danger'>" + item.action + "</div>";
Open commit View diff
1105 item.action = "<div class='badge fs-6 bg-danger'>" + item.action + "</div>";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1106
      } else {
Open commit View diff
1106 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1107
        item.action = "<div class='badge fs-6 bg-info'>" + item.action + "</div>";
Open commit View diff
1107 item.action = "<div class='badge fs-6 bg-info'>" + item.action + "</div>";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1108
      }
Open commit View diff
1108 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1109
      var score_content;
Open commit View diff
1109 var score_content;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1110
      if (item.score < item.required_score) {
Open commit View diff
1110 if (item.score < item.required_score) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1111
        score_content = "[ <span class='text-success'>" + item.score.toFixed(2) + " / " + item.required_score + "</span> ]";
Open commit View diff
1111 score_content = "[ <span class='text-success'>" + item.score.toFixed(2) + " / " + item.required_score + "</span> ]";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1112
      } else {
Open commit View diff
1112 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1113
        score_content = "[ <span class='text-danger'>" + item.score.toFixed(2) + " / " + item.required_score + "</span> ]";
Open commit View diff
1113 score_content = "[ <span class='text-danger'>" + item.score.toFixed(2) + " / " + item.required_score + "</span> ]";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1114
      }
Open commit View diff
1114 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1115
      item.score = {
Open commit View diff
1115 item.score = {
Tom Udding over 3 years ago 136cc2e

Fix missing score and scan time Rspamd logs

Full commit hash
136cc2e3fff2276074de7e51cd2e5a66f4659ef1
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1116
        "sortBy": item.score,
Open commit View diff
1116 "sortBy": item.score,
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1117
        "value": score_content
Open commit View diff
1117 "value": score_content
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1118
      };
Open commit View diff
1118 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1119
      if (item.user == null) {
Open commit View diff
1119 if (item.user == null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1120
        item.user = "none";
Open commit View diff
1120 item.user = "none";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1121
      }
Open commit View diff
1121 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1122
    });
Open commit View diff
1122 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1123
    } else if (table == 'autodiscover_log') {
Open commit View diff
1123 } else if (table == 'autodiscover_log') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1124
      $.each(data, function (i, item) {
Open commit View diff
1124 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1125
        if (item.ua == null) {
Open commit View diff
1125 if (item.ua == null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1126
          item.ua = 'unknown';
Open commit View diff
1126 item.ua = 'unknown';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1127
        } else {
Open commit View diff
1127 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1128
          item.ua = escapeHtml(item.ua);
Open commit View diff
1128 item.ua = escapeHtml(item.ua);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1129
        }
Open commit View diff
1129 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1130
        item.ua = '<span style="font-size:small">' + item.ua + '</span>';
Open commit View diff
1130 item.ua = '<span style="font-size:small">' + item.ua + '</span>';
FreddleSpl0it 4 months ago 95bf46c

escape HTML in autodiscover logs

Full commit hash
95bf46c1e4f3efe304857074bfa7d324d9f85fe9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1131
        if (item.user == null) {
Open commit View diff
1131 if (item.user == null) {
same change 95bf46c

escape HTML in autodiscover logs

Full commit hash
95bf46c1e4f3efe304857074bfa7d324d9f85fe9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1132
          item.user = 'unknown';
Open commit View diff
1132 item.user = 'unknown';
same change 95bf46c

escape HTML in autodiscover logs

Full commit hash
95bf46c1e4f3efe304857074bfa7d324d9f85fe9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1133
        } else {
Open commit View diff
1133 } else {
same change 95bf46c

escape HTML in autodiscover logs

Full commit hash
95bf46c1e4f3efe304857074bfa7d324d9f85fe9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1134
          item.user = escapeHtml(item.user);
Open commit View diff
1134 item.user = escapeHtml(item.user);
same change 95bf46c

escape HTML in autodiscover logs

Full commit hash
95bf46c1e4f3efe304857074bfa7d324d9f85fe9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
1135
        }
Open commit View diff
1135 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1136
        if (item.service == "activesync") {
Open commit View diff
1136 if (item.service == "activesync") {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1137
          item.service = '<span class="badge fs-6 bg-info">ActiveSync</span>';
Open commit View diff
1137 item.service = '<span class="badge fs-6 bg-info">ActiveSync</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1138
        }
Open commit View diff
1138 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1139
        else if (item.service == "imap") {
Open commit View diff
1139 else if (item.service == "imap") {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1140
          item.service = '<span class="badge fs-6 bg-success">IMAP, SMTP, Cal-/CardDAV</span>';
Open commit View diff
1140 item.service = '<span class="badge fs-6 bg-success">IMAP, SMTP, Cal-/CardDAV</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1141
        }
Open commit View diff
1141 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1142
        else {
Open commit View diff
1142 else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1143
          item.service = '<span class="badge fs-6 bg-danger">' + escapeHtml(item.service) + '</span>';
Open commit View diff
1143 item.service = '<span class="badge fs-6 bg-danger">' + escapeHtml(item.service) + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1144
        }
Open commit View diff
1144 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1145
      });
Open commit View diff
1145 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1146
    } else if (table == 'watchdog') {
Open commit View diff
1146 } else if (table == 'watchdog') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1147
      $.each(data, function (i, item) {
Open commit View diff
1147 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1148
        if (item.message == null) {
Open commit View diff
1148 if (item.message == null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1149
          item.message = 'Health level: ' + item.lvl + '% (' + item.hpnow + '/' + item.hptotal + ')';
Open commit View diff
1149 item.message = 'Health level: ' + item.lvl + '% (' + item.hpnow + '/' + item.hptotal + ')';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1150
          if (item.hpdiff < 0) {
Open commit View diff
1150 if (item.hpdiff < 0) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1151
            item.trend = '<span class="badge fs-6 bg-danger"><i class="bi bi-caret-down-fill"></i> ' + item.hpdiff + '</span>';
Open commit View diff
1151 item.trend = '<span class="badge fs-6 bg-danger"><i class="bi bi-caret-down-fill"></i> ' + item.hpdiff + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1152
          }
Open commit View diff
1152 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1153
          else if (item.hpdiff == 0) {
Open commit View diff
1153 else if (item.hpdiff == 0) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1154
            item.trend = '<span class="badge fs-6 bg-info"><i class="bi bi-caret-right-fill"></i> ' + item.hpdiff + '</span>';
Open commit View diff
1154 item.trend = '<span class="badge fs-6 bg-info"><i class="bi bi-caret-right-fill"></i> ' + item.hpdiff + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1155
          }
Open commit View diff
1155 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1156
          else {
Open commit View diff
1156 else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1157
            item.trend = '<span class="badge fs-6 bg-success"><i class="bi bi-caret-up-fill"></i> ' + item.hpdiff + '</span>';
Open commit View diff
1157 item.trend = '<span class="badge fs-6 bg-success"><i class="bi bi-caret-up-fill"></i> ' + item.hpdiff + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1158
          }
Open commit View diff
1158 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1159
        }
Open commit View diff
1159 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1160
        else {
Open commit View diff
1160 else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1161
          item.trend = '';
Open commit View diff
1161 item.trend = '';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1162
          item.service = '';
Open commit View diff
1162 item.service = '';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1163
        }
Open commit View diff
1163 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1164
      });
Open commit View diff
1164 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1165
    } else if (table == 'mailcow_ui') {
Open commit View diff
1165 } else if (table == 'mailcow_ui') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1166
      $.each(data, function (i, item) {
Open commit View diff
1166 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1167
        if (item === null) { return true; }
Open commit View diff
1167 if (item === null) { return true; }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1168
        item.user = escapeHtml(item.user);
Open commit View diff
1168 item.user = escapeHtml(item.user);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1169
        item.call = escapeHtml(item.call);
Open commit View diff
1169 item.call = escapeHtml(item.call);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1170
        item.task = '<code>' + item.task + '</code>';
Open commit View diff
1170 item.task = '<code>' + item.task + '</code>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1171
        item.type = '<span class="badge fs-6 bg-' + item.type + '">' + item.type + '</span>';
Open commit View diff
1171 item.type = '<span class="badge fs-6 bg-' + item.type + '">' + item.type + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1172
      });
Open commit View diff
1172 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1173
    } else if (table == 'sasl_log_table') {
Open commit View diff
1173 } else if (table == 'sasl_log_table') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1174
      $.each(data, function (i, item) {
Open commit View diff
1174 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1175
        if (item === null) { return true; }
Open commit View diff
1175 if (item === null) { return true; }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1176
        item.username = escapeHtml(item.username);
Open commit View diff
1176 item.username = escapeHtml(item.username);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1177
        item.service = '<div class="badge fs-6 bg-secondary">' + item.service.toUpperCase() + '</div>';
Open commit View diff
1177 item.service = '<div class="badge fs-6 bg-secondary">' + item.service.toUpperCase() + '</div>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1178
      });
Open commit View diff
1178 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1179
    } else if (table == 'general_syslog') {
Open commit View diff
1179 } else if (table == 'general_syslog') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1180
      $.each(data, function (i, item) {
Open commit View diff
1180 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1181
        if (item === null) { return true; }
Open commit View diff
1181 if (item === null) { return true; }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1182
        if (item.message.match("^base64,")) {
Open commit View diff
1182 if (item.message.match("^base64,")) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1183
          try {
Open commit View diff
1183 try {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1184
            item.message = atob(item.message.slice(7)).replace(/\\n/g, "<br />");
Open commit View diff
1184 item.message = atob(item.message.slice(7)).replace(/\\n/g, "<br />");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1185
          } catch(e) {
Open commit View diff
1185 } catch(e) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1186
            item.message = item.message.slice(7);
Open commit View diff
1186 item.message = item.message.slice(7);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1187
          }
Open commit View diff
1187 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1188
        } else {
Open commit View diff
1188 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1189
          item.message = escapeHtml(item.message);
Open commit View diff
1189 item.message = escapeHtml(item.message);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1190
        }
Open commit View diff
1190 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1191
        item.call = escapeHtml(item.call);
Open commit View diff
1191 item.call = escapeHtml(item.call);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1192
        var danger_class = ["emerg", "alert", "crit", "err"];
Open commit View diff
1192 var danger_class = ["emerg", "alert", "crit", "err"];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1193
        var warning_class = ["warning", "warn"];
Open commit View diff
1193 var warning_class = ["warning", "warn"];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1194
        var info_class = ["notice", "info", "debug"];
Open commit View diff
1194 var info_class = ["notice", "info", "debug"];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1195
        if (jQuery.inArray(item.priority, danger_class) !== -1) {
Open commit View diff
1195 if (jQuery.inArray(item.priority, danger_class) !== -1) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1196
          item.priority = '<span class="badge fs-6 bg-danger">' + item.priority + '</span>';
Open commit View diff
1196 item.priority = '<span class="badge fs-6 bg-danger">' + item.priority + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1197
        } else if (jQuery.inArray(item.priority, warning_class) !== -1) {
Open commit View diff
1197 } else if (jQuery.inArray(item.priority, warning_class) !== -1) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1198
          item.priority = '<span class="badge fs-6 bg-warning">' + item.priority + '</span>';
Open commit View diff
1198 item.priority = '<span class="badge fs-6 bg-warning">' + item.priority + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1199
        } else if (jQuery.inArray(item.priority, info_class) !== -1) {
Open commit View diff
1199 } else if (jQuery.inArray(item.priority, info_class) !== -1) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1200
          item.priority = '<span class="badge fs-6 bg-info">' + item.priority + '</span>';
Open commit View diff
1200 item.priority = '<span class="badge fs-6 bg-info">' + item.priority + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1201
        }
Open commit View diff
1201 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1202
      });
Open commit View diff
1202 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1203
    } else if (table == 'apilog') {
Open commit View diff
1203 } else if (table == 'apilog') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1204
      $.each(data, function (i, item) {
Open commit View diff
1204 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1205
        if (item === null) { return true; }
Open commit View diff
1205 if (item === null) { return true; }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1206
        if (item.method == 'GET') {
Open commit View diff
1206 if (item.method == 'GET') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1207
          item.method = '<span class="badge fs-6 bg-success">' + item.method + '</span>';
Open commit View diff
1207 item.method = '<span class="badge fs-6 bg-success">' + item.method + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1208
        } else if (item.method == 'POST') {
Open commit View diff
1208 } else if (item.method == 'POST') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1209
          item.method = '<span class="badge fs-6 bg-warning">' + item.method + '</span>';
Open commit View diff
1209 item.method = '<span class="badge fs-6 bg-warning">' + item.method + '</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1210
        }
Open commit View diff
1210 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1211
        item.data = escapeHtml(item.data);
Open commit View diff
1211 item.data = escapeHtml(item.data);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1212
      });
Open commit View diff
1212 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1213
    } else if (table == 'rllog') {
Open commit View diff
1213 } else if (table == 'rllog') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1214
      $.each(data, function (i, item) {
Open commit View diff
1214 $.each(data, function (i, item) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1215
        if (item.user == null) {
Open commit View diff
1215 if (item.user == null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1216
          item.user = "none";
Open commit View diff
1216 item.user = "none";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1217
        }
Open commit View diff
1217 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1218
        if (item.rl_hash == null) {
Open commit View diff
1218 if (item.rl_hash == null) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1219
          item.rl_hash = "err";
Open commit View diff
1219 item.rl_hash = "err";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1220
        }
Open commit View diff
1220 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1221
        item.indicator = '<span style="border-right:6px solid #' + intToRGB(hashCode(item.rl_hash)) + ';padding-left:5px;">&nbsp;</span>';
Open commit View diff
1221 item.indicator = '<span style="border-right:6px solid #' + intToRGB(hashCode(item.rl_hash)) + ';padding-left:5px;">&nbsp;</span>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1222
        if (item.rl_hash != 'err') {
Open commit View diff
1222 if (item.rl_hash != 'err') {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1223
          item.action = '<a href="#" data-action="delete_selected" data-id="single-hash" data-api-url="delete/rlhash" data-item="' + encodeURI(item.rl_hash) + '" class="btn btn-xs btn-danger"><i class="bi bi-trash"></i> ' + lang.reset_limit + '</a>';
Open commit View diff
1223 item.action = '<a href="#" data-action="delete_selected" data-id="single-hash" data-api-url="delete/rlhash" data-item="' + encodeURI(item.rl_hash) + '" class="btn btn-xs btn-danger"><i class="bi bi-trash"></i> ' + lang.reset_limit + '</a>';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1224
        }
Open commit View diff
1224 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1225
      });
Open commit View diff
1225 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1226
    }
Open commit View diff
1226 }
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1227
    return data;
Open commit View diff
1227 return data;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1228
  };
Open commit View diff
1228 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1229
  $('.add_log_lines').on('click', function (e) {
Open commit View diff
1229 $('.add_log_lines').on('click', function (e) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1230
    e.preventDefault();
Open commit View diff
1230 e.preventDefault();
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1231
    var log_table= $(this).data("table");
Open commit View diff
1231 var log_table= $(this).data("table");
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1232
    var new_nrows = $(this).data("nrows");
Open commit View diff
1232 var new_nrows = $(this).data("nrows");
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1233
    var post_process = $(this).data("post-process");
Open commit View diff
1233 var post_process = $(this).data("post-process");
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1234
    var log_url = $(this).data("log-url");
Open commit View diff
1234 var log_url = $(this).data("log-url");
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1235
    if (log_table === undefined || new_nrows === undefined || post_process === undefined || log_url === undefined) {
Open commit View diff
1235 if (log_table === undefined || new_nrows === undefined || post_process === undefined || log_url === undefined) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1236
      console.log("no data-table or data-nrows or log_url or data-post-process attr found");
Open commit View diff
1236 console.log("no data-table or data-nrows or log_url or data-post-process attr found");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1237
      return;
Open commit View diff
1237 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1238
    }
Open commit View diff
1238 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1239
Open commit View diff
1239
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1240
    if (table = $('#' + log_table).DataTable()) {
Open commit View diff
1240 if (table = $('#' + log_table).DataTable()) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1241
      var heading = $('#' + log_table).closest('.card').find('.card-header');
Open commit View diff
1241 var heading = $('#' + log_table).closest('.card').find('.card-header');
FreddleSpl0it about 3 years ago cb1a11e

[Web] fix rspamd-history

Full commit hash
cb1a11e5514abfe2637f304b0a21f30e1a0afee7
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1242
      var load_rows = (table.data().count() + 1) + '-' + (table.data().count() + new_nrows)
Open commit View diff
1242 var load_rows = (table.data().count() + 1) + '-' + (table.data().count() + new_nrows)
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1243
Open commit View diff
1243
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1244
      $.get('/api/v1/get/logs/' + log_url + '/' + load_rows).then(function(data){
Open commit View diff
1244 $.get('/api/v1/get/logs/' + log_url + '/' + load_rows).then(function(data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1245
        if (data.length === undefined) { mailcow_alert_box(lang.no_new_rows, "info"); return; }
Open commit View diff
1245 if (data.length === undefined) { mailcow_alert_box(lang.no_new_rows, "info"); return; }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1246
        var rows = process_table_data(data, post_process);
Open commit View diff
1246 var rows = process_table_data(data, post_process);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1247
        var rows_now = (table.page.len() + data.length);
Open commit View diff
1247 var rows_now = (table.page.len() + data.length);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1248
        $(heading).children('.table-lines').text(rows_now)
Open commit View diff
1248 $(heading).children('.table-lines').text(rows_now)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1249
        mailcow_alert_box(data.length + lang.additional_rows, "success");
Open commit View diff
1249 mailcow_alert_box(data.length + lang.additional_rows, "success");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1250
        table.rows.add(rows).draw();
Open commit View diff
1250 table.rows.add(rows).draw();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1251
      });
Open commit View diff
1251 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1252
    }
Open commit View diff
1252 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1253
  })
Open commit View diff
1253 })
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1254
  function hideTableExpandCollapseBtn(tab, table){
Open commit View diff
1254 function hideTableExpandCollapseBtn(tab, table){
same change 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1255
    if ($(table).hasClass('collapsed'))
Open commit View diff
1255 if ($(table).hasClass('collapsed'))
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1256
      $(tab).find(".table_collapse_option").show();
Open commit View diff
1256 $(tab).find(".table_collapse_option").show();
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1257
    else
Open commit View diff
1257 else
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1258
      $(tab).find(".table_collapse_option").hide();
Open commit View diff
1258 $(tab).find(".table_collapse_option").hide();
FreddleSpl0it over 3 years ago 8782304

[Web] show fold/unfold action if child rows exists

Full commit hash
8782304e8dea57fc7991af0654f3f89c48ba2792
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1259
  }
Open commit View diff
1259 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1260
Open commit View diff
1260
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1261
  // detect element visibility changes
Open commit View diff
1261 // detect element visibility changes
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1262
  function onVisible(element, callback) {
Open commit View diff
1262 function onVisible(element, callback) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1263
    $(document).ready(function() {
Open commit View diff
1263 $(document).ready(function() {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1264
      element_object = document.querySelector(element);
Open commit View diff
1264 element_object = document.querySelector(element);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1265
      if (element_object === null) return;
Open commit View diff
1265 if (element_object === null) return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1266
Open commit View diff
1266
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1267
      new IntersectionObserver((entries, observer) => {
Open commit View diff
1267 new IntersectionObserver((entries, observer) => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1268
        entries.forEach(entry => {
Open commit View diff
1268 entries.forEach(entry => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1269
          if(entry.intersectionRatio > 0) {
Open commit View diff
1269 if(entry.intersectionRatio > 0) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1270
            callback(element_object);
Open commit View diff
1270 callback(element_object);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1271
          }
Open commit View diff
1271 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1272
        });
Open commit View diff
1272 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1273
      }).observe(element_object);
Open commit View diff
1273 }).observe(element_object);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1274
    });
Open commit View diff
1274 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1275
  }
Open commit View diff
1275 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1276
  // Draw Table if tab is active
Open commit View diff
1276 // Draw Table if tab is active
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1277
  onVisible("[id^=postfix_log]", () => draw_postfix_logs());
Open commit View diff
1277 onVisible("[id^=postfix_log]", () => draw_postfix_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1278
  onVisible("[id^=dovecot_log]", () => draw_dovecot_logs());
Open commit View diff
1278 onVisible("[id^=dovecot_log]", () => draw_dovecot_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1279
  onVisible("[id^=sogo_log]", () => draw_sogo_logs());
Open commit View diff
1279 onVisible("[id^=sogo_log]", () => draw_sogo_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1280
  onVisible("[id^=watchdog_log]", () => draw_watchdog_logs());
Open commit View diff
1280 onVisible("[id^=watchdog_log]", () => draw_watchdog_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1281
  onVisible("[id^=autodiscover_log]", () => draw_autodiscover_logs());
Open commit View diff
1281 onVisible("[id^=autodiscover_log]", () => draw_autodiscover_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1282
  onVisible("[id^=acme_log]", () => draw_acme_logs());
Open commit View diff
1282 onVisible("[id^=acme_log]", () => draw_acme_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1283
  onVisible("[id^=api_log]", () => draw_api_logs());
Open commit View diff
1283 onVisible("[id^=api_log]", () => draw_api_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1284
  onVisible("[id^=rl_log]", () => draw_rl_logs());
Open commit View diff
1284 onVisible("[id^=rl_log]", () => draw_rl_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1285
  onVisible("[id^=ui_logs]", () => draw_ui_logs());
Open commit View diff
1285 onVisible("[id^=ui_logs]", () => draw_ui_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1286
  onVisible("[id^=sasl_logs]", () => draw_sasl_logs());
Open commit View diff
1286 onVisible("[id^=sasl_logs]", () => draw_sasl_logs());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1287
  onVisible("[id^=netfilter_log]", () => draw_netfilter_logs());
Open commit View diff
1287 onVisible("[id^=netfilter_log]", () => draw_netfilter_logs());
FreddleSpl0it about 3 years ago b176585

[Web] add crontasks logs

Full commit hash
b176585a9c621f69f9244dc31f041456a7c07e05
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
1288
  onVisible("[id^=cron_log]", () => draw_cron_logs());
Open commit View diff
1288 onVisible("[id^=cron_log]", () => draw_cron_logs());
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1289
  onVisible("[id^=rspamd_history]", () => draw_rspamd_history());
Open commit View diff
1289 onVisible("[id^=rspamd_history]", () => draw_rspamd_history());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1290
  onVisible("[id^=rspamd_donut]", () => rspamd_pie_graph());
Open commit View diff
1290 onVisible("[id^=rspamd_donut]", () => rspamd_pie_graph());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1291
Open commit View diff
1291
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1292
Open commit View diff
1292
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1293
  // start polling host stats if tab is active
Open commit View diff
1293 // start polling host stats if tab is active
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1294
  onVisible("[id^=tab-containers]", () => update_stats());
Open commit View diff
1294 onVisible("[id^=tab-containers]", () => update_stats());
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1295
  // start polling container stats if collapse is active
Open commit View diff
1295 // start polling container stats if collapse is active
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1296
  var containerElements = document.querySelectorAll(".container-details-collapse");
Open commit View diff
1296 var containerElements = document.querySelectorAll(".container-details-collapse");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1297
  for (let i = 0; i < containerElements.length; i++){
Open commit View diff
1297 for (let i = 0; i < containerElements.length; i++){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1298
    new IntersectionObserver((entries, observer) => {
Open commit View diff
1298 new IntersectionObserver((entries, observer) => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1299
      entries.forEach(entry => {
Open commit View diff
1299 entries.forEach(entry => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1300
        if(entry.intersectionRatio > 0) {
Open commit View diff
1300 if(entry.intersectionRatio > 0) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1301
Open commit View diff
1301
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1302
          if (!containerElements[i].classList.contains("show")){
Open commit View diff
1302 if (!containerElements[i].classList.contains("show")){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1303
            var container = containerElements[i].id.replace("Collapse", "");
Open commit View diff
1303 var container = containerElements[i].id.replace("Collapse", "");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1304
            var container_id = containerElements[i].getAttribute("data-id");
Open commit View diff
1304 var container_id = containerElements[i].getAttribute("data-id");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1305
Open commit View diff
1305
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1306
            // check if chart exists or needs to be created
Open commit View diff
1306 // check if chart exists or needs to be created
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1307
            if (!Chart.getChart(container + "_DiskIOChart"))
Open commit View diff
1307 if (!Chart.getChart(container + "_DiskIOChart"))
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1308
              createReadWriteChart(container + "_DiskIOChart", "Read", "Write");
Open commit View diff
1308 createReadWriteChart(container + "_DiskIOChart", "Read", "Write");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1309
            if (!Chart.getChart(container + "_NetIOChart"))
Open commit View diff
1309 if (!Chart.getChart(container + "_NetIOChart"))
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1310
              createReadWriteChart(container + "_NetIOChart", "Recv", "Sent");
Open commit View diff
1310 createReadWriteChart(container + "_NetIOChart", "Recv", "Sent");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1311
Open commit View diff
1311
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1312
            // add container to polling list
Open commit View diff
1312 // add container to polling list
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1313
            containersToUpdate[container] = {
Open commit View diff
1313 containersToUpdate[container] = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1314
              id: container_id,
Open commit View diff
1314 id: container_id,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1315
              state: "idle"
Open commit View diff
1315 state: "idle"
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1316
            }
Open commit View diff
1316 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1317
Open commit View diff
1317
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1318
            // stop polling if collapse is closed
Open commit View diff
1318 // stop polling if collapse is closed
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1319
            containerElements[i].addEventListener('hidden.bs.collapse', function () {
Open commit View diff
1319 containerElements[i].addEventListener('hidden.bs.collapse', function () {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1320
              var diskIOCtx = Chart.getChart(container + "_DiskIOChart");
Open commit View diff
1320 var diskIOCtx = Chart.getChart(container + "_DiskIOChart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1321
              var netIOCtx = Chart.getChart(container + "_NetIOChart");
Open commit View diff
1321 var netIOCtx = Chart.getChart(container + "_NetIOChart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1322
Open commit View diff
1322
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1323
              diskIOCtx.data.datasets[0].data = [];
Open commit View diff
1323 diskIOCtx.data.datasets[0].data = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1324
              diskIOCtx.data.datasets[1].data = [];
Open commit View diff
1324 diskIOCtx.data.datasets[1].data = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1325
              diskIOCtx.data.labels = [];
Open commit View diff
1325 diskIOCtx.data.labels = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1326
              netIOCtx.data.datasets[0].data = [];
Open commit View diff
1326 netIOCtx.data.datasets[0].data = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1327
              netIOCtx.data.datasets[1].data = [];
Open commit View diff
1327 netIOCtx.data.datasets[1].data = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1328
              netIOCtx.data.labels = [];
Open commit View diff
1328 netIOCtx.data.labels = [];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1329
Open commit View diff
1329
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1330
              diskIOCtx.update();
Open commit View diff
1330 diskIOCtx.update();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1331
              netIOCtx.update();
Open commit View diff
1331 netIOCtx.update();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1332
Open commit View diff
1332
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1333
              delete containersToUpdate[container];
Open commit View diff
1333 delete containersToUpdate[container];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1334
            });
Open commit View diff
1334 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1335
          }
Open commit View diff
1335 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1336
Open commit View diff
1336
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1337
        }
Open commit View diff
1337 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1338
      });
Open commit View diff
1338 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1339
    }).observe(containerElements[i]);
Open commit View diff
1339 }).observe(containerElements[i]);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1340
  }
Open commit View diff
1340 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1341
});
Open commit View diff
1341 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1342
Open commit View diff
1342
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1343
Open commit View diff
1343
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1344
// update system stats - every 5 seconds if system & container tab is active
Open commit View diff
1344 // update system stats - every 5 seconds if system & container tab is active
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1345
function update_stats(timeout=5){
Open commit View diff
1345 function update_stats(timeout=5){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1346
  if (!$('#tab-containers').hasClass('active')) {
Open commit View diff
1346 if (!$('#tab-containers').hasClass('active')) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1347
    // tab not active - dont fetch stats - run again in n seconds
Open commit View diff
1347 // tab not active - dont fetch stats - run again in n seconds
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1348
    return;
Open commit View diff
1348 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1349
  }
Open commit View diff
1349 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1350
Open commit View diff
1350
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1351
  window.fetch("/api/v1/get/status/host", {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
1351 window.fetch("/api/v1/get/status/host", {method:'GET',cache:'no-cache'}).then(function(response) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1352
    return response.json();
Open commit View diff
1352 return response.json();
FreddleSpl0it 10 months ago df4d3bb

[Web] Fix dashboard host stats

Full commit hash
df4d3bb6e0ed5fb81e9053487e1ff12d5205b0e6
Author
FreddleSpl0it <[email protected]>
Date
10 months ago
Selected line
1353
  }).then(function(data) {
Open commit View diff
1353 }).then(function(data) {
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1354
    if (data){
Open commit View diff
1354 if (data){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1355
      // display table data
Open commit View diff
1355 // display table data
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1356
      $("#host_date").text(data.system_time);
Open commit View diff
1356 $("#host_date").text(data.system_time);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1357
      $("#host_uptime").text(formatUptime(data.uptime));
Open commit View diff
1357 $("#host_uptime").text(formatUptime(data.uptime));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1358
      $("#host_cpu_cores").text(data.cpu.cores);
Open commit View diff
1358 $("#host_cpu_cores").text(data.cpu.cores);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1359
      $("#host_cpu_usage").text(parseInt(data.cpu.usage).toString() + "%");
Open commit View diff
1359 $("#host_cpu_usage").text(parseInt(data.cpu.usage).toString() + "%");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1360
      $("#host_memory_total").text((data.memory.total / (1024 ** 3)).toFixed(2).toString() + "GB");
Open commit View diff
1360 $("#host_memory_total").text((data.memory.total / (1024 ** 3)).toFixed(2).toString() + "GB");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1361
      $("#host_memory_usage").text(parseInt(data.memory.usage).toString() + "%");
Open commit View diff
1361 $("#host_memory_usage").text(parseInt(data.memory.usage).toString() + "%");
DerLinkman about 2 years ago fc7ea7a

web: remove WIP notice for ARM64 from ui

Full commit hash
fc7ea7a24722fb38700f19331b23c51be0cfbf5a
Author
DerLinkman <[email protected]>
Date
about 2 years ago
Selected line
1362
      $("#host_architecture").html(data.architecture);
Open commit View diff
1362 $("#host_architecture").html(data.architecture);
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1363
      // update cpu and mem chart
Open commit View diff
1363 // update cpu and mem chart
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1364
      var cpu_chart = Chart.getChart("host_cpu_chart");
Open commit View diff
1364 var cpu_chart = Chart.getChart("host_cpu_chart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1365
      var mem_chart = Chart.getChart("host_mem_chart");
Open commit View diff
1365 var mem_chart = Chart.getChart("host_mem_chart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1366
Open commit View diff
1366
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1367
      cpu_chart.data.labels.push(data.system_time.split(" ")[1]);
Open commit View diff
1367 cpu_chart.data.labels.push(data.system_time.split(" ")[1]);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1368
      if (cpu_chart.data.labels.length > 30) cpu_chart.data.labels.shift();
Open commit View diff
1368 if (cpu_chart.data.labels.length > 30) cpu_chart.data.labels.shift();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1369
      mem_chart.data.labels.push(data.system_time.split(" ")[1]);
Open commit View diff
1369 mem_chart.data.labels.push(data.system_time.split(" ")[1]);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1370
      if (mem_chart.data.labels.length > 30) mem_chart.data.labels.shift();
Open commit View diff
1370 if (mem_chart.data.labels.length > 30) mem_chart.data.labels.shift();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1371
Open commit View diff
1371
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1372
      cpu_chart.data.datasets[0].data.push(data.cpu.usage);
Open commit View diff
1372 cpu_chart.data.datasets[0].data.push(data.cpu.usage);
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1373
      if (cpu_chart.data.datasets[0].data.length > 30) cpu_chart.data.datasets[0].data.shift();
Open commit View diff
1373 if (cpu_chart.data.datasets[0].data.length > 30) cpu_chart.data.datasets[0].data.shift();
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1374
      mem_chart.data.datasets[0].data.push(data.memory.usage);
Open commit View diff
1374 mem_chart.data.datasets[0].data.push(data.memory.usage);
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1375
      if (mem_chart.data.datasets[0].data.length > 30) mem_chart.data.datasets[0].data.shift();
Open commit View diff
1375 if (mem_chart.data.datasets[0].data.length > 30) mem_chart.data.datasets[0].data.shift();
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1376
Open commit View diff
1376
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1377
      cpu_chart.update();
Open commit View diff
1377 cpu_chart.update();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1378
      mem_chart.update();
Open commit View diff
1378 mem_chart.update();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1379
    }
Open commit View diff
1379 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1380
Open commit View diff
1380
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1381
    // run again in n seconds
Open commit View diff
1381 // run again in n seconds
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1382
    setTimeout(update_stats, timeout * 1000);
Open commit View diff
1382 setTimeout(update_stats, timeout * 1000);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1383
  });
Open commit View diff
1383 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1384
}
Open commit View diff
1384 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1385
// update specific container stats - every n (default 5s) seconds
Open commit View diff
1385 // update specific container stats - every n (default 5s) seconds
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1386
function update_container_stats(timeout=5){
Open commit View diff
1386 function update_container_stats(timeout=5){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1387
Open commit View diff
1387
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1388
  if ($('#tab-containers').hasClass('active')) {
Open commit View diff
1388 if ($('#tab-containers').hasClass('active')) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1389
    for (let container in containersToUpdate){
Open commit View diff
1389 for (let container in containersToUpdate){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1390
      container_id = containersToUpdate[container].id;
Open commit View diff
1390 container_id = containersToUpdate[container].id;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1391
      // check if container update stats is already running
Open commit View diff
1391 // check if container update stats is already running
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1392
      if (containersToUpdate[container].state == "running")
Open commit View diff
1392 if (containersToUpdate[container].state == "running")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1393
        continue;
Open commit View diff
1393 continue;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1394
      containersToUpdate[container].state = "running";
Open commit View diff
1394 containersToUpdate[container].state = "running";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1395
Open commit View diff
1395
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1396
Open commit View diff
1396
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1397
      window.fetch("/api/v1/get/status/container/" + container_id, {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
1397 window.fetch("/api/v1/get/status/container/" + container_id, {method:'GET',cache:'no-cache'}).then(function(response) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1398
        return response.json();
Open commit View diff
1398 return response.json();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1399
      }).then(function(data) {
Open commit View diff
1399 }).then(function(data) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1400
        var diskIOCtx = Chart.getChart(container + "_DiskIOChart");
Open commit View diff
1400 var diskIOCtx = Chart.getChart(container + "_DiskIOChart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1401
        var netIOCtx = Chart.getChart(container + "_NetIOChart");
Open commit View diff
1401 var netIOCtx = Chart.getChart(container + "_NetIOChart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1402
Open commit View diff
1402
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1403
        prev_stats = null;
Open commit View diff
1403 prev_stats = null;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1404
        if (data.length >= 2){
Open commit View diff
1404 if (data.length >= 2){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1405
          prev_stats = data[data.length -2];
Open commit View diff
1405 prev_stats = data[data.length -2];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1406
Open commit View diff
1406
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1407
          // hide spinners if we collected enough data
Open commit View diff
1407 // hide spinners if we collected enough data
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1408
          $('#' + container + "_DiskIOChart").removeClass('d-none');
Open commit View diff
1408 $('#' + container + "_DiskIOChart").removeClass('d-none');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1409
          $('#' + container + "_DiskIOChart").prev().addClass('d-none');
Open commit View diff
1409 $('#' + container + "_DiskIOChart").prev().addClass('d-none');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1410
          $('#' + container + "_NetIOChart").removeClass('d-none');
Open commit View diff
1410 $('#' + container + "_NetIOChart").removeClass('d-none');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1411
          $('#' + container + "_NetIOChart").prev().addClass('d-none');
Open commit View diff
1411 $('#' + container + "_NetIOChart").prev().addClass('d-none');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1412
        }
Open commit View diff
1412 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1413
Open commit View diff
1413
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1414
        data = data[data.length -1];
Open commit View diff
1414 data = data[data.length -1];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1415
Open commit View diff
1415
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1416
        if (prev_stats != null){
Open commit View diff
1416 if (prev_stats != null){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1417
          // calc time diff
Open commit View diff
1417 // calc time diff
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1418
          var time_diff = (new Date(data.read) - new Date(prev_stats.read)) / 1000;
Open commit View diff
1418 var time_diff = (new Date(data.read) - new Date(prev_stats.read)) / 1000;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1419
Open commit View diff
1419
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1420
          // calc disk io b/s
Open commit View diff
1420 // calc disk io b/s
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1421
          if ('io_service_bytes_recursive' in prev_stats.blkio_stats && prev_stats.blkio_stats.io_service_bytes_recursive !== null){
Open commit View diff
1421 if ('io_service_bytes_recursive' in prev_stats.blkio_stats && prev_stats.blkio_stats.io_service_bytes_recursive !== null){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1422
            var prev_read_bytes = 0;
Open commit View diff
1422 var prev_read_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1423
            var prev_write_bytes = 0;
Open commit View diff
1423 var prev_write_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1424
            for (var i = 0; i < prev_stats.blkio_stats.io_service_bytes_recursive.length; i++){
Open commit View diff
1424 for (var i = 0; i < prev_stats.blkio_stats.io_service_bytes_recursive.length; i++){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1425
              if (prev_stats.blkio_stats.io_service_bytes_recursive[i].op == "read")
Open commit View diff
1425 if (prev_stats.blkio_stats.io_service_bytes_recursive[i].op == "read")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1426
                prev_read_bytes = prev_stats.blkio_stats.io_service_bytes_recursive[i].value;
Open commit View diff
1426 prev_read_bytes = prev_stats.blkio_stats.io_service_bytes_recursive[i].value;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1427
              else if (prev_stats.blkio_stats.io_service_bytes_recursive[i].op == "write")
Open commit View diff
1427 else if (prev_stats.blkio_stats.io_service_bytes_recursive[i].op == "write")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1428
                prev_write_bytes = prev_stats.blkio_stats.io_service_bytes_recursive[i].value;
Open commit View diff
1428 prev_write_bytes = prev_stats.blkio_stats.io_service_bytes_recursive[i].value;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1429
            }
Open commit View diff
1429 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1430
            var read_bytes = 0;
Open commit View diff
1430 var read_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1431
            var write_bytes = 0;
Open commit View diff
1431 var write_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1432
            for (var i = 0; i < data.blkio_stats.io_service_bytes_recursive.length; i++){
Open commit View diff
1432 for (var i = 0; i < data.blkio_stats.io_service_bytes_recursive.length; i++){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1433
              if (data.blkio_stats.io_service_bytes_recursive[i].op == "read")
Open commit View diff
1433 if (data.blkio_stats.io_service_bytes_recursive[i].op == "read")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1434
                read_bytes = data.blkio_stats.io_service_bytes_recursive[i].value;
Open commit View diff
1434 read_bytes = data.blkio_stats.io_service_bytes_recursive[i].value;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1435
              else if (data.blkio_stats.io_service_bytes_recursive[i].op == "write")
Open commit View diff
1435 else if (data.blkio_stats.io_service_bytes_recursive[i].op == "write")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1436
                write_bytes = data.blkio_stats.io_service_bytes_recursive[i].value;
Open commit View diff
1436 write_bytes = data.blkio_stats.io_service_bytes_recursive[i].value;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1437
            }
Open commit View diff
1437 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1438
            var diff_bytes_read = (read_bytes - prev_read_bytes) / time_diff;
Open commit View diff
1438 var diff_bytes_read = (read_bytes - prev_read_bytes) / time_diff;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1439
            var diff_bytes_write = (write_bytes - prev_write_bytes) / time_diff;
Open commit View diff
1439 var diff_bytes_write = (write_bytes - prev_write_bytes) / time_diff;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1440
          }
Open commit View diff
1440 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1441
Open commit View diff
1441
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1442
          // calc net io b/s
Open commit View diff
1442 // calc net io b/s
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1443
          if ('networks' in prev_stats){
Open commit View diff
1443 if ('networks' in prev_stats){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1444
            var prev_recv_bytes = 0;
Open commit View diff
1444 var prev_recv_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1445
            var prev_sent_bytes = 0;
Open commit View diff
1445 var prev_sent_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1446
            for (var key in prev_stats.networks){
Open commit View diff
1446 for (var key in prev_stats.networks){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1447
              prev_recv_bytes += prev_stats.networks[key].rx_bytes;
Open commit View diff
1447 prev_recv_bytes += prev_stats.networks[key].rx_bytes;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1448
              prev_sent_bytes += prev_stats.networks[key].tx_bytes;
Open commit View diff
1448 prev_sent_bytes += prev_stats.networks[key].tx_bytes;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1449
            }
Open commit View diff
1449 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1450
            var recv_bytes = 0;
Open commit View diff
1450 var recv_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1451
            var sent_bytes = 0;
Open commit View diff
1451 var sent_bytes = 0;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1452
            for (var key in data.networks){
Open commit View diff
1452 for (var key in data.networks){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1453
              recv_bytes += data.networks[key].rx_bytes;
Open commit View diff
1453 recv_bytes += data.networks[key].rx_bytes;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1454
              sent_bytes += data.networks[key].tx_bytes;
Open commit View diff
1454 sent_bytes += data.networks[key].tx_bytes;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1455
            }
Open commit View diff
1455 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1456
            var diff_bytes_recv = (recv_bytes - prev_recv_bytes) / time_diff;
Open commit View diff
1456 var diff_bytes_recv = (recv_bytes - prev_recv_bytes) / time_diff;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1457
            var diff_bytes_sent = (sent_bytes - prev_sent_bytes) / time_diff;
Open commit View diff
1457 var diff_bytes_sent = (sent_bytes - prev_sent_bytes) / time_diff;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1458
          }
Open commit View diff
1458 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1459
Open commit View diff
1459
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1460
          addReadWriteChart(diskIOCtx, diff_bytes_read, diff_bytes_write, "");
Open commit View diff
1460 addReadWriteChart(diskIOCtx, diff_bytes_read, diff_bytes_write, "");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1461
          addReadWriteChart(netIOCtx, diff_bytes_recv, diff_bytes_sent, "");
Open commit View diff
1461 addReadWriteChart(netIOCtx, diff_bytes_recv, diff_bytes_sent, "");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1462
        }
Open commit View diff
1462 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1463
Open commit View diff
1463
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1464
        // run again in n seconds
Open commit View diff
1464 // run again in n seconds
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1465
        containersToUpdate[container].state = "idle";
Open commit View diff
1465 containersToUpdate[container].state = "idle";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1466
      }).catch(err => {
Open commit View diff
1466 }).catch(err => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1467
        console.log(err);
Open commit View diff
1467 console.log(err);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1468
      });
Open commit View diff
1468 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1469
    }
Open commit View diff
1469 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1470
  }
Open commit View diff
1470 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1471
Open commit View diff
1471
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1472
  // run again in n seconds
Open commit View diff
1472 // run again in n seconds
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1473
  setTimeout(update_container_stats, timeout * 1000);
Open commit View diff
1473 setTimeout(update_container_stats, timeout * 1000);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1474
}
Open commit View diff
1474 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1475
// format hosts uptime seconds to readable string
Open commit View diff
1475 // format hosts uptime seconds to readable string
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1476
function formatUptime(seconds){
Open commit View diff
1476 function formatUptime(seconds){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1477
  seconds = Number(seconds);
Open commit View diff
1477 seconds = Number(seconds);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1478
  var d = Math.floor(seconds / (3600*24));
Open commit View diff
1478 var d = Math.floor(seconds / (3600*24));
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1479
  var h = Math.floor(seconds % (3600*24) / 3600);
Open commit View diff
1479 var h = Math.floor(seconds % (3600*24) / 3600);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1480
  var m = Math.floor(seconds % 3600 / 60);
Open commit View diff
1480 var m = Math.floor(seconds % 3600 / 60);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1481
  var s = Math.floor(seconds % 60);
Open commit View diff
1481 var s = Math.floor(seconds % 60);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1482
Open commit View diff
1482
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1483
  var dFormat = d > 0 ? d + "D " : "";
Open commit View diff
1483 var dFormat = d > 0 ? d + "D " : "";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1484
  var hFormat = h > 0 ? h + "H " : "";
Open commit View diff
1484 var hFormat = h > 0 ? h + "H " : "";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1485
  var mFormat = m > 0 ? m + "M " : "";
Open commit View diff
1485 var mFormat = m > 0 ? m + "M " : "";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1486
  var sFormat = s > 0 ? s + "S" : "";
Open commit View diff
1486 var sFormat = s > 0 ? s + "S" : "";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1487
  return dFormat + hFormat + mFormat + sFormat;
Open commit View diff
1487 return dFormat + hFormat + mFormat + sFormat;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1488
}
Open commit View diff
1488 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1489
// format bytes to readable string
Open commit View diff
1489 // format bytes to readable string
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1490
function formatBytes(bytes){
Open commit View diff
1490 function formatBytes(bytes){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1491
  // b
Open commit View diff
1491 // b
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1492
  if (bytes < 1000) return bytes.toFixed(2).toString()+' B/s';
Open commit View diff
1492 if (bytes < 1000) return bytes.toFixed(2).toString()+' B/s';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1493
  // b to kb
Open commit View diff
1493 // b to kb
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1494
  bytes = bytes / 1024;
Open commit View diff
1494 bytes = bytes / 1024;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1495
  if (bytes < 1000) return bytes.toFixed(2).toString()+' KB/s';
Open commit View diff
1495 if (bytes < 1000) return bytes.toFixed(2).toString()+' KB/s';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1496
  // kb to mb
Open commit View diff
1496 // kb to mb
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1497
  bytes = bytes / 1024;
Open commit View diff
1497 bytes = bytes / 1024;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1498
  if (bytes < 1000) return bytes.toFixed(2).toString()+' MB/s';
Open commit View diff
1498 if (bytes < 1000) return bytes.toFixed(2).toString()+' MB/s';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1499
  // final mb to gb
Open commit View diff
1499 // final mb to gb
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1500
  return (bytes / 1024).toFixed(2).toString()+' GB/s';
Open commit View diff
1500 return (bytes / 1024).toFixed(2).toString()+' GB/s';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1501
}
Open commit View diff
1501 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1502
// create read write line chart
Open commit View diff
1502 // create read write line chart
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1503
function createReadWriteChart(chart_id, read_lable, write_lable){
Open commit View diff
1503 function createReadWriteChart(chart_id, read_lable, write_lable){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1504
  var ctx = document.getElementById(chart_id);
Open commit View diff
1504 var ctx = document.getElementById(chart_id);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1505
Open commit View diff
1505
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1506
  var dataNet = {
Open commit View diff
1506 var dataNet = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1507
    labels: [],
Open commit View diff
1507 labels: [],
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1508
    datasets: [{
Open commit View diff
1508 datasets: [{
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1509
      label: read_lable,
Open commit View diff
1509 label: read_lable,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1510
      backgroundColor: "rgba(41, 187, 239, 0.3)",
Open commit View diff
1510 backgroundColor: "rgba(41, 187, 239, 0.3)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1511
      borderColor: "rgba(41, 187, 239, 0.6)",
Open commit View diff
1511 borderColor: "rgba(41, 187, 239, 0.6)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1512
      pointRadius: 1,
Open commit View diff
1512 pointRadius: 1,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1513
      pointHitRadius: 6,
Open commit View diff
1513 pointHitRadius: 6,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1514
      borderWidth: 2,
Open commit View diff
1514 borderWidth: 2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1515
      fill: true,
Open commit View diff
1515 fill: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1516
      tension: 0.2,
Open commit View diff
1516 tension: 0.2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1517
      data: []
Open commit View diff
1517 data: []
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1518
    }, {
Open commit View diff
1518 }, {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1519
      label: write_lable,
Open commit View diff
1519 label: write_lable,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1520
      backgroundColor: "rgba(239, 60, 41, 0.3)",
Open commit View diff
1520 backgroundColor: "rgba(239, 60, 41, 0.3)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1521
      borderColor: "rgba(239, 60, 41, 0.6)",
Open commit View diff
1521 borderColor: "rgba(239, 60, 41, 0.6)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1522
      pointRadius: 1,
Open commit View diff
1522 pointRadius: 1,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1523
      pointHitRadius: 6,
Open commit View diff
1523 pointHitRadius: 6,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1524
      borderWidth: 2,
Open commit View diff
1524 borderWidth: 2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1525
      fill: true,
Open commit View diff
1525 fill: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1526
      tension: 0.2,
Open commit View diff
1526 tension: 0.2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1527
      data: []
Open commit View diff
1527 data: []
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1528
    }]
Open commit View diff
1528 }]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1529
  };
Open commit View diff
1529 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1530
  var optionsNet = {
Open commit View diff
1530 var optionsNet = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1531
    interaction: {
Open commit View diff
1531 interaction: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1532
      mode: 'index'
Open commit View diff
1532 mode: 'index'
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1533
    },
Open commit View diff
1533 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1534
    scales: {
Open commit View diff
1534 scales: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1535
      yAxis: {
Open commit View diff
1535 yAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1536
        min: 0,
Open commit View diff
1536 min: 0,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1537
        grid: {
Open commit View diff
1537 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1538
          display: false
Open commit View diff
1538 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1539
        },
Open commit View diff
1539 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1540
        ticks: {
Open commit View diff
1540 ticks: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1541
          callback: function(i, index, ticks) {
Open commit View diff
1541 callback: function(i, index, ticks) {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1542
            return formatBytes(i);
Open commit View diff
1542 return formatBytes(i);
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1543
          }
Open commit View diff
1543 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1544
        }
Open commit View diff
1544 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1545
      },
Open commit View diff
1545 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1546
      xAxis: {
Open commit View diff
1546 xAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1547
        grid: {
Open commit View diff
1547 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1548
          display: false
Open commit View diff
1548 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1549
        }
Open commit View diff
1549 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1550
      }
Open commit View diff
1550 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1551
    }
Open commit View diff
1551 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1552
  };
Open commit View diff
1552 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1553
Open commit View diff
1553
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1554
  return new Chart(ctx, {
Open commit View diff
1554 return new Chart(ctx, {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1555
    type: 'line',
Open commit View diff
1555 type: 'line',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1556
    data: dataNet,
Open commit View diff
1556 data: dataNet,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1557
    options: optionsNet
Open commit View diff
1557 options: optionsNet
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1558
  });
Open commit View diff
1558 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1559
}
Open commit View diff
1559 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1560
// add to read write line chart
Open commit View diff
1560 // add to read write line chart
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1561
function addReadWriteChart(chart_context, read_point, write_point, time, limit = 30){
Open commit View diff
1561 function addReadWriteChart(chart_context, read_point, write_point, time, limit = 30){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1562
  // push time label for x-axis
Open commit View diff
1562 // push time label for x-axis
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1563
  chart_context.data.labels.push(time);
Open commit View diff
1563 chart_context.data.labels.push(time);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1564
  if (chart_context.data.labels.length > limit) chart_context.data.labels.shift();
Open commit View diff
1564 if (chart_context.data.labels.length > limit) chart_context.data.labels.shift();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1565
Open commit View diff
1565
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1566
  // push datapoints
Open commit View diff
1566 // push datapoints
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1567
  chart_context.data.datasets[0].data.push(read_point);
Open commit View diff
1567 chart_context.data.datasets[0].data.push(read_point);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1568
  chart_context.data.datasets[1].data.push(write_point);
Open commit View diff
1568 chart_context.data.datasets[1].data.push(write_point);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1569
  // shift data if more than 20 entires exists
Open commit View diff
1569 // shift data if more than 20 entires exists
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1570
  if (chart_context.data.datasets[0].data.length > limit)  chart_context.data.datasets[0].data.shift();
Open commit View diff
1570 if (chart_context.data.datasets[0].data.length > limit) chart_context.data.datasets[0].data.shift();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1571
  if (chart_context.data.datasets[1].data.length > limit) chart_context.data.datasets[1].data.shift();
Open commit View diff
1571 if (chart_context.data.datasets[1].data.length > limit) chart_context.data.datasets[1].data.shift();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1572
Open commit View diff
1572
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1573
  chart_context.update();
Open commit View diff
1573 chart_context.update();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1574
}
Open commit View diff
1574 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1575
// create host cpu and mem chart
Open commit View diff
1575 // create host cpu and mem chart
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1576
function createHostCpuAndMemChart(){
Open commit View diff
1576 function createHostCpuAndMemChart(){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1577
  var cpu_ctx = document.getElementById("host_cpu_chart");
Open commit View diff
1577 var cpu_ctx = document.getElementById("host_cpu_chart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1578
  var mem_ctx = document.getElementById("host_mem_chart");
Open commit View diff
1578 var mem_ctx = document.getElementById("host_mem_chart");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1579
Open commit View diff
1579
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1580
  var dataCpu = {
Open commit View diff
1580 var dataCpu = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1581
    labels: [],
Open commit View diff
1581 labels: [],
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1582
    datasets: [{
Open commit View diff
1582 datasets: [{
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1583
      label: "CPU %",
Open commit View diff
1583 label: "CPU %",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1584
      backgroundColor: "rgba(41, 187, 239, 0.3)",
Open commit View diff
1584 backgroundColor: "rgba(41, 187, 239, 0.3)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1585
      borderColor: "rgba(41, 187, 239, 0.6)",
Open commit View diff
1585 borderColor: "rgba(41, 187, 239, 0.6)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1586
      pointRadius: 1,
Open commit View diff
1586 pointRadius: 1,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1587
      pointHitRadius: 6,
Open commit View diff
1587 pointHitRadius: 6,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1588
      borderWidth: 2,
Open commit View diff
1588 borderWidth: 2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1589
      fill: true,
Open commit View diff
1589 fill: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1590
      tension: 0.2,
Open commit View diff
1590 tension: 0.2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1591
      data: []
Open commit View diff
1591 data: []
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1592
    }]
Open commit View diff
1592 }]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1593
  };
Open commit View diff
1593 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1594
  var optionsCpu = {
Open commit View diff
1594 var optionsCpu = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1595
    interaction: {
Open commit View diff
1595 interaction: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1596
      mode: 'index'
Open commit View diff
1596 mode: 'index'
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1597
    },
Open commit View diff
1597 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1598
    scales: {
Open commit View diff
1598 scales: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1599
      yAxis: {
Open commit View diff
1599 yAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1600
        min: 0,
Open commit View diff
1600 min: 0,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1601
        grid: {
Open commit View diff
1601 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1602
          display: false
Open commit View diff
1602 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1603
        },
Open commit View diff
1603 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1604
        ticks: {
Open commit View diff
1604 ticks: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1605
          callback: function(i, index, ticks) {
Open commit View diff
1605 callback: function(i, index, ticks) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1606
             return i.toFixed(0).toString() + "%";
Open commit View diff
1606 return i.toFixed(0).toString() + "%";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1607
          }
Open commit View diff
1607 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1608
        }
Open commit View diff
1608 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1609
      },
Open commit View diff
1609 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1610
      xAxis: {
Open commit View diff
1610 xAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1611
        grid: {
Open commit View diff
1611 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1612
          display: false
Open commit View diff
1612 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1613
        }
Open commit View diff
1613 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1614
      }
Open commit View diff
1614 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1615
    }
Open commit View diff
1615 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1616
  };
Open commit View diff
1616 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1617
Open commit View diff
1617
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1618
  var dataMem = {
Open commit View diff
1618 var dataMem = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1619
    labels: [],
Open commit View diff
1619 labels: [],
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1620
    datasets: [{
Open commit View diff
1620 datasets: [{
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1621
      label: "MEM %",
Open commit View diff
1621 label: "MEM %",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1622
      backgroundColor: "rgba(41, 187, 239, 0.3)",
Open commit View diff
1622 backgroundColor: "rgba(41, 187, 239, 0.3)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1623
      borderColor: "rgba(41, 187, 239, 0.6)",
Open commit View diff
1623 borderColor: "rgba(41, 187, 239, 0.6)",
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1624
      pointRadius: 1,
Open commit View diff
1624 pointRadius: 1,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1625
      pointHitRadius: 6,
Open commit View diff
1625 pointHitRadius: 6,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1626
      borderWidth: 2,
Open commit View diff
1626 borderWidth: 2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1627
      fill: true,
Open commit View diff
1627 fill: true,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1628
      tension: 0.2,
Open commit View diff
1628 tension: 0.2,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1629
      data: []
Open commit View diff
1629 data: []
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1630
    }]
Open commit View diff
1630 }]
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1631
  };
Open commit View diff
1631 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1632
  var optionsMem = {
Open commit View diff
1632 var optionsMem = {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1633
    interaction: {
Open commit View diff
1633 interaction: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1634
      mode: 'index'
Open commit View diff
1634 mode: 'index'
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1635
    },
Open commit View diff
1635 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1636
    scales: {
Open commit View diff
1636 scales: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1637
      yAxis: {
Open commit View diff
1637 yAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1638
        min: 0,
Open commit View diff
1638 min: 0,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1639
        grid: {
Open commit View diff
1639 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1640
          display: false
Open commit View diff
1640 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1641
        },
Open commit View diff
1641 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1642
        ticks: {
Open commit View diff
1642 ticks: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1643
          callback: function(i, index, ticks) {
Open commit View diff
1643 callback: function(i, index, ticks) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1644
            return i.toFixed(0).toString() + "%";
Open commit View diff
1644 return i.toFixed(0).toString() + "%";
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1645
          }
Open commit View diff
1645 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1646
        }
Open commit View diff
1646 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1647
      },
Open commit View diff
1647 },
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1648
      xAxis: {
Open commit View diff
1648 xAxis: {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1649
        grid: {
Open commit View diff
1649 grid: {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1650
          display: false
Open commit View diff
1650 display: false
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1651
        }
Open commit View diff
1651 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1652
      }
Open commit View diff
1652 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1653
    }
Open commit View diff
1653 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1654
  };
Open commit View diff
1654 };
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1655
Open commit View diff
1655
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1656
Open commit View diff
1656
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1657
  var net_io_chart = new Chart(cpu_ctx, {
Open commit View diff
1657 var net_io_chart = new Chart(cpu_ctx, {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1658
    type: 'line',
Open commit View diff
1658 type: 'line',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1659
    data: dataCpu,
Open commit View diff
1659 data: dataCpu,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1660
    options: optionsCpu
Open commit View diff
1660 options: optionsCpu
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1661
  });
Open commit View diff
1661 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1662
  var disk_io_chart = new Chart(mem_ctx, {
Open commit View diff
1662 var disk_io_chart = new Chart(mem_ctx, {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1663
    type: 'line',
Open commit View diff
1663 type: 'line',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1664
    data: dataMem,
Open commit View diff
1664 data: dataMem,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1665
    options: optionsMem
Open commit View diff
1665 options: optionsMem
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1666
  });
Open commit View diff
1666 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1667
}
Open commit View diff
1667 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1668
// check for mailcow updates
Open commit View diff
1668 // check for mailcow updates
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1669
function check_update(current_version, github_repo_url){
Open commit View diff
1669 function check_update(current_version, github_repo_url){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1670
  if (!current_version || !github_repo_url) return false;
Open commit View diff
1670 if (!current_version || !github_repo_url) return false;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1671
Open commit View diff
1671
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1672
  var github_account = github_repo_url.split("/")[3];
Open commit View diff
1672 var github_account = github_repo_url.split("/")[3];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1673
  var github_repo_name = github_repo_url.split("/")[4];
Open commit View diff
1673 var github_repo_name = github_repo_url.split("/")[4];
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1674
Open commit View diff
1674
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1675
  // get details about latest release
Open commit View diff
1675 // get details about latest release
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1676
  window.fetch("https://api.github.com/repos/"+github_account+"/"+github_repo_name+"/releases/latest", {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
1676 window.fetch("https://api.github.com/repos/"+github_account+"/"+github_repo_name+"/releases/latest", {method:'GET',cache:'no-cache'}).then(function(response) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1677
    return response.json();
Open commit View diff
1677 return response.json();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1678
  }).then(function(latest_data) {
Open commit View diff
1678 }).then(function(latest_data) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1679
    // get details about current release
Open commit View diff
1679 // get details about current release
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1680
    window.fetch("https://api.github.com/repos/"+github_account+"/"+github_repo_name+"/releases/tags/"+current_version, {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
1680 window.fetch("https://api.github.com/repos/"+github_account+"/"+github_repo_name+"/releases/tags/"+current_version, {method:'GET',cache:'no-cache'}).then(function(response) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1681
      return response.json();
Open commit View diff
1681 return response.json();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1682
    }).then(function(current_data) {
Open commit View diff
1682 }).then(function(current_data) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1683
      // compare releases
Open commit View diff
1683 // compare releases
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1684
      var date_current = new Date(current_data.created_at);
Open commit View diff
1684 var date_current = new Date(current_data.created_at);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1685
      var date_latest = new Date(latest_data.created_at);
Open commit View diff
1685 var date_latest = new Date(latest_data.created_at);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1686
      if (date_latest.getTime() <= date_current.getTime()){
Open commit View diff
1686 if (date_latest.getTime() <= date_current.getTime()){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1687
        // no update available
Open commit View diff
1687 // no update available
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1688
        $("#mailcow_update").removeClass("text-warning text-danger").addClass("text-success");
Open commit View diff
1688 $("#mailcow_update").removeClass("text-warning text-danger").addClass("text-success");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1689
        $("#mailcow_update").html("<b>" + lang_debug.no_update_available + "</b>");
Open commit View diff
1689 $("#mailcow_update").html("<b>" + lang_debug.no_update_available + "</b>");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1690
      } else {
Open commit View diff
1690 } else {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1691
        // update available
Open commit View diff
1691 // update available
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1692
        $("#mailcow_update").removeClass("text-danger text-success").addClass("text-warning");
Open commit View diff
1692 $("#mailcow_update").removeClass("text-danger text-success").addClass("text-warning");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1693
        $("#mailcow_update").html(lang_debug.update_available + ` <a href="#" id="mailcow_update_changelog">`+latest_data.tag_name+`</a>`);
Open commit View diff
1693 $("#mailcow_update").html(lang_debug.update_available + ` <a href="#" id="mailcow_update_changelog">`+latest_data.tag_name+`</a>`);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1694
        $("#mailcow_update_changelog").click(function(){
Open commit View diff
1694 $("#mailcow_update_changelog").click(function(){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1695
          if (mailcow_cc_role !== "admin" && mailcow_cc_role !== "domainadmin")
Open commit View diff
1695 if (mailcow_cc_role !== "admin" && mailcow_cc_role !== "domainadmin")
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1696
            return;
Open commit View diff
1696 return;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1697
Open commit View diff
1697
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1698
          showVersionModal("New Release " + latest_data.tag_name, latest_data.tag_name);
Open commit View diff
1698 showVersionModal("New Release " + latest_data.tag_name, latest_data.tag_name);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1699
        })
Open commit View diff
1699 })
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1700
      }
Open commit View diff
1700 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1701
    }).catch(err => {
Open commit View diff
1701 }).catch(err => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1702
      // err
Open commit View diff
1702 // err
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1703
      console.log(err);
Open commit View diff
1703 console.log(err);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1704
      $("#mailcow_update").removeClass("text-success text-warning").addClass("text-danger");
Open commit View diff
1704 $("#mailcow_update").removeClass("text-success text-warning").addClass("text-danger");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1705
      $("#mailcow_update").html("<b>"+ lang_debug.update_failed +"</b>");
Open commit View diff
1705 $("#mailcow_update").html("<b>"+ lang_debug.update_failed +"</b>");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1706
    });
Open commit View diff
1706 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1707
  }).catch(err => {
Open commit View diff
1707 }).catch(err => {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1708
    // err
Open commit View diff
1708 // err
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1709
    console.log(err);
Open commit View diff
1709 console.log(err);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1710
    $("#mailcow_update").removeClass("text-success text-warning").addClass("text-danger");
Open commit View diff
1710 $("#mailcow_update").removeClass("text-success text-warning").addClass("text-danger");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1711
    $("#mailcow_update").html("<b>"+ lang_debug.update_failed +"</b>");
Open commit View diff
1711 $("#mailcow_update").html("<b>"+ lang_debug.update_failed +"</b>");
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1712
  });
Open commit View diff
1712 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1713
}
Open commit View diff
1713 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1714
// show version changelog modal
Open commit View diff
1714 // show version changelog modal
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1715
function showVersionModal(title, version){
Open commit View diff
1715 function showVersionModal(title, version){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1716
  $.ajax({
Open commit View diff
1716 $.ajax({
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1717
    type: 'GET',
Open commit View diff
1717 type: 'GET',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1718
    url: 'https://api.github.com/repos/' + mailcow_info.project_owner + '/' + mailcow_info.project_repo + '/releases/tags/' + version,
Open commit View diff
1718 url: 'https://api.github.com/repos/' + mailcow_info.project_owner + '/' + mailcow_info.project_repo + '/releases/tags/' + version,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1719
    dataType: 'json',
Open commit View diff
1719 dataType: 'json',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1720
    success: function (data) {
Open commit View diff
1720 success: function (data) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1721
      var md = window.markdownit();
Open commit View diff
1721 var md = window.markdownit();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1722
      var result = md.render(data.body);
Open commit View diff
1722 var result = md.render(data.body);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1723
      result = parseGithubMarkdownLinks(result);
Open commit View diff
1723 result = parseGithubMarkdownLinks(result);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1724
Open commit View diff
1724
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1725
      $('#showVersionModal').find(".modal-title").html(title);
Open commit View diff
1725 $('#showVersionModal').find(".modal-title").html(title);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1726
      $('#showVersionModal').find(".modal-body").html(`
Open commit View diff
1726 $('#showVersionModal').find(".modal-body").html(`
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1727
        <h3>` + data.name + `</h3>
Open commit View diff
1727 <h3>` + data.name + `</h3>
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1728
        <span class="mt-4">` + result + `</span>
Open commit View diff
1728 <span class="mt-4">` + result + `</span>
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1729
        <span><b>Github Link:</b>
Open commit View diff
1729 <span><b>Github Link:</b>
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1730
          <a target="_blank" href="https://github.com/` + mailcow_info.project_owner + `/` + mailcow_info.project_repo + `/releases/tag/` + version + `">` + version + `</a>
Open commit View diff
1730 <a target="_blank" href="https://github.com/` + mailcow_info.project_owner + `/` + mailcow_info.project_repo + `/releases/tag/` + version + `">` + version + `</a>
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1731
        </span>
Open commit View diff
1731 </span>
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1732
      `);
Open commit View diff
1732 `);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1733
Open commit View diff
1733
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1734
      new bootstrap.Modal(document.getElementById("showVersionModal"), {
Open commit View diff
1734 new bootstrap.Modal(document.getElementById("showVersionModal"), {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1735
        backdrop: 'static',
Open commit View diff
1735 backdrop: 'static',
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1736
        keyboard: false
Open commit View diff
1736 keyboard: false
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1737
      }).show();
Open commit View diff
1737 }).show();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1738
    }
Open commit View diff
1738 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1739
  });
Open commit View diff
1739 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1740
}
Open commit View diff
1740 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1741
function parseGithubMarkdownLinks(inputText) {
Open commit View diff
1741 function parseGithubMarkdownLinks(inputText) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1742
  var replacedText, replacePattern1;
Open commit View diff
1742 var replacedText, replacePattern1;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1743
Open commit View diff
1743
FreddleSpl0it over 2 years ago a28ba5b

[Web] fix broken github links in changelog

Full commit hash
a28ba5bebbf57880c03f5ea1658305144791dec8
Author
FreddleSpl0it <[email protected]>
Date
over 2 years ago
Selected line
1744
  replacePattern1 = /(\b(https?):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])(?![^<]*>)/gim;
Open commit View diff
1744 replacePattern1 = /(\b(https?):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])(?![^<]*>)/gim;
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1745
  replacedText = inputText.replace(replacePattern1, (matched, index, original, input_string) => {
Open commit View diff
1745 replacedText = inputText.replace(replacePattern1, (matched, index, original, input_string) => {
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1746
    if (matched.includes('github.com')){
Open commit View diff
1746 if (matched.includes('github.com')){
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1747
      // return short link if it's github link
Open commit View diff
1747 // return short link if it's github link
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1748
      last_uri_path = matched.split('/');
Open commit View diff
1748 last_uri_path = matched.split('/');
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1749
      last_uri_path = last_uri_path[last_uri_path.length - 1];
Open commit View diff
1749 last_uri_path = last_uri_path[last_uri_path.length - 1];
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1750
Open commit View diff
1750
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1751
      // adjust Full Changelog link to match last git version and new git version, if link is a compare link
Open commit View diff
1751 // adjust Full Changelog link to match last git version and new git version, if link is a compare link
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1752
      if (matched.includes('/compare/') && mailcow_info.last_version_tag !== ''){
Open commit View diff
1752 if (matched.includes('/compare/') && mailcow_info.last_version_tag !== ''){
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1753
        matched = matched.replace(last_uri_path,  mailcow_info.last_version_tag + '...' + mailcow_info.version_tag);
Open commit View diff
1753 matched = matched.replace(last_uri_path, mailcow_info.last_version_tag + '...' + mailcow_info.version_tag);
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1754
        last_uri_path = mailcow_info.last_version_tag + '...' + mailcow_info.version_tag;
Open commit View diff
1754 last_uri_path = mailcow_info.last_version_tag + '...' + mailcow_info.version_tag;
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1755
      }
Open commit View diff
1755 }
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1756
Open commit View diff
1756
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1757
      return '<a href="' + matched + '" target="_blank">' + last_uri_path + '</a><br>';
Open commit View diff
1757 return '<a href="' + matched + '" target="_blank">' + last_uri_path + '</a><br>';
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1758
    };
Open commit View diff
1758 };
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1759
Open commit View diff
1759
realizelol over 3 years ago 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1760
    // if it's not a github link, return complete link
Open commit View diff
1760 // if it's not a github link, return complete link
same change 6ff3f3f

[Web] Set pageLength to pagination_size + repect savedState...

Full commit hash
6ff3f3f044b8673d315d0e7dc3f7c33e70bef977
Author
realizelol <[email protected]>
Date
over 3 years ago
Selected line
1761
    return '<a href="' + matched + '" target="_blank">' + matched + '</a>';
Open commit View diff
1761 return '<a href="' + matched + '" target="_blank">' + matched + '</a>';
Tom Udding over 3 years ago 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1762
  });
Open commit View diff
1762 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1763
Open commit View diff
1763
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1764
  return replacedText;
Open commit View diff
1764 return replacedText;
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1765
}
Open commit View diff
1765 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1766
Open commit View diff
1766
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1767
function convertTimestampToLocalFormat(timestamp) {
Open commit View diff
1767 function convertTimestampToLocalFormat(timestamp) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1768
  var date = new Date(timestamp ? timestamp * 1000 : 0);
Open commit View diff
1768 var date = new Date(timestamp ? timestamp * 1000 : 0);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1769
  return date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
Open commit View diff
1769 return date.toLocaleDateString(LOCALE, DATETIME_FORMAT);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
1770
}
Open commit View diff
1770 }