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/build/013-mailcow.js

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

013-mailcow.js on main
Author Date Commit Line Code
FreddleSpl0it over 3 years ago cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
1
const LOCALE = undefined;
Open commit View diff
1 const LOCALE = undefined;
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
2
const DATETIME_FORMAT = {
Open commit View diff
2 const DATETIME_FORMAT = {
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
3
  year: "numeric",
Open commit View diff
3 year: "numeric",
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
4
  month: "2-digit",
Open commit View diff
4 month: "2-digit",
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
5
  day: "2-digit",
Open commit View diff
5 day: "2-digit",
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
6
  hour: "2-digit",
Open commit View diff
6 hour: "2-digit",
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
7
  minute: "2-digit",
Open commit View diff
7 minute: "2-digit",
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
8
  second: "2-digit"
Open commit View diff
8 second: "2-digit"
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
9
};
Open commit View diff
9 };
same change cf1cc24

[Web] Fix temporary email aliases sorting

Full commit hash
cf1cc24e33ec0410f79be808c52507844ac4e18e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
10
Open commit View diff
10
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
11
$(document).ready(function() {
Open commit View diff
11 $(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
12
  // mailcow alert box generator
Open commit View diff
12 // mailcow alert box generator
same 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
  window.mailcow_alert_box = function(message, type) {
Open commit View diff
13 window.mailcow_alert_box = function(message, 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
14
    msg = $('<span/>').text(message).text();
Open commit View diff
14 msg = $('<span/>').text(message).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
15
    if (type == 'danger' || type == 'info') {
Open commit View diff
15 if (type == 'danger' || type == 'info') {
same 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
      auto_hide = 0;
Open commit View diff
16 auto_hide = 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
17
      $('#' + localStorage.getItem("add_modal")).modal('show');
Open commit View diff
17 $('#' + localStorage.getItem("add_modal")).modal('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
18
      localStorage.removeItem("add_modal");
Open commit View diff
18 localStorage.removeItem("add_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
19
    } else {
Open commit View diff
19 } 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
20
      auto_hide = 5000;
Open commit View diff
20 auto_hide = 5000;
same 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
    }
Open commit View diff
21 }
same 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
    $.notify({message: msg},{z_index: 20000, delay: auto_hide, type: type,placement: {from: "bottom",align: "right"},animate: {enter: 'animated fadeInUp',exit: 'animated fadeOutDown'}});
Open commit View diff
22 $.notify({message: msg},{z_index: 20000, delay: auto_hide, type: type,placement: {from: "bottom",align: "right"},animate: {enter: 'animated fadeInUp',exit: 'animated fadeOutDown'}});
same 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
Patrik Kernstock 10 months ago 5c5287c

Fixed wrong footer escaping

Full commit hash
5c5287ca21da04d9efa5058b200aa3df6aeb8305
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
25
  $(".generate_password").click(async function( event ) {
Open commit View diff
25 $(".generate_password").click(async function( event ) {
same change 5c5287c

Fixed wrong footer escaping

Full commit hash
5c5287ca21da04d9efa5058b200aa3df6aeb8305
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
26
    try {
Open commit View diff
26 try {
FreddleSpl0it over 3 years ago c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
27
      var password_policy = await window.fetch("/api/v1/get/passwordpolicy", { method:'GET', cache:'no-cache' });
Open commit View diff
27 var password_policy = await window.fetch("/api/v1/get/passwordpolicy", { method:'GET', cache:'no-cache' });
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
28
      var password_policy = await password_policy.json();
Open commit View diff
28 var password_policy = await password_policy.json();
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
29
      random_passwd_length = password_policy.length;
Open commit View diff
29 random_passwd_length = password_policy.length;
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
30
    } catch(err) {
Open commit View diff
30 } catch(err) {
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
31
      var random_passwd_length = 8;
Open commit View diff
31 var random_passwd_length = 8;
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
32
    }
Open commit View diff
32 }
same change c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
33
Open commit View diff
33
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
34
    event.preventDefault();
Open commit View diff
34 event.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
35
    $('[data-hibp]').trigger('input');
Open commit View diff
35 $('[data-hibp]').trigger('input');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
36
    if (typeof($(this).closest("form").data('pwgen-length')) == "number") {
Open commit View diff
36 if (typeof($(this).closest("form").data('pwgen-length')) == "number") {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
37
      var random_passwd = GPW.pronounceable($(this).closest("form").data('pwgen-length'))
Open commit View diff
37 var random_passwd = GPW.pronounceable($(this).closest("form").data('pwgen-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
38
    }
Open commit View diff
38 }
same 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
    else {
Open commit View diff
39 else {
FreddleSpl0it over 3 years ago c928948

[Web] use saved password policy for pwgen

Full commit hash
c928948b1508a0f2c787926c8b2843ede56489f9
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
40
      var random_passwd = GPW.pronounceable(random_passwd_length)
Open commit View diff
40 var random_passwd = GPW.pronounceable(random_passwd_length)
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
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
    $(this).closest("form").find('[data-pwgen-field]').attr('type', 'text');
Open commit View diff
42 $(this).closest("form").find('[data-pwgen-field]').attr('type', '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
43
    $(this).closest("form").find('[data-pwgen-field]').val(random_passwd);
Open commit View diff
43 $(this).closest("form").find('[data-pwgen-field]').val(random_passwd);
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
46
    return (str + '').replace(/[a-z]/gi, function(s){
Open commit View diff
46 return (str + '').replace(/[a-z]/gi, function(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
47
      return String.fromCharCode(s.charCodeAt(0) + (s.toLowerCase() < 'n' ? 13 : -13))
Open commit View diff
47 return String.fromCharCode(s.charCodeAt(0) + (s.toLowerCase() < 'n' ? 13 : -13))
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
50
  $(".rot-enc").html(function(){
Open commit View diff
50 $(".rot-enc").html(function(){
Patrik Kernstock 10 months ago 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
51
    footer_html = $(this).html();
Open commit View diff
51 footer_html = $(this).html();
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
52
    footer_html = footer_html.replace(/&lt;/g, '<').replace(/&gt;/g, '>')
Open commit View diff
52 footer_html = footer_html.replace(/&lt;/g, '<').replace(/&gt;/g, '>')
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
53
                             .replace(/&amp;/g, '&').replace(/&nzc;/g, '&')
Open commit View diff
53 .replace(/&amp;/g, '&').replace(/&nzc;/g, '&')
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
54
                             .replace(/&quot;/g, '"').replace(/&#x27;/g, "'");
Open commit View diff
54 .replace(/&quot;/g, '"').replace(/&#x27;/g, "'");
same change 702ed85

Fixed footer escaping

Full commit hash
702ed85dfd0747216da1b74fb535e58f8c19ca40
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
55
    return str_rot13(footer_html)
Open commit View diff
55 return str_rot13(footer_html)
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
56
  });
Open commit View diff
56 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
57
  // https://stackoverflow.com/questions/4399005/implementing-jquerys-shake-effect-with-animate
Open commit View diff
57 // https://stackoverflow.com/questions/4399005/implementing-jquerys-shake-effect-with-animate
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
58
  function shake(div,interval,distance,times) {
Open commit View diff
58 function shake(div,interval,distance,times) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
59
      if(typeof interval === 'undefined') {
Open commit View diff
59 if(typeof interval === '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
60
        interval = 100;
Open commit View diff
60 interval = 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
61
      }
Open commit View diff
61 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
62
      if(typeof distance === 'undefined') {
Open commit View diff
62 if(typeof distance === '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
63
        distance = 10;
Open commit View diff
63 distance = 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
64
      }
Open commit View diff
64 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
65
      if(typeof times === 'undefined') {
Open commit View diff
65 if(typeof times === '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
66
        times = 4;
Open commit View diff
66 times = 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
67
      }
Open commit View diff
67 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
68
    $(div).css('position','relative');
Open commit View diff
68 $(div).css('position','relative');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
69
    for(var iter=0;iter<(times+1);iter++){
Open commit View diff
69 for(var iter=0;iter<(times+1);iter++){
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
70
      $(div).animate({ left: ((iter%2==0 ? distance : distance*-1))}, interval);
Open commit View diff
70 $(div).animate({ left: ((iter%2==0 ? distance : distance*-1))}, interval);
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
72
    $(div).animate({ left: 0},interval);
Open commit View diff
72 $(div).animate({ left: 0},interval);
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
75
  // form cache
Open commit View diff
75 // form cache
same 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
  $('[data-cached-form="true"]').formcache({key: $(this).data('id')});
Open commit View diff
76 $('[data-cached-form="true"]').formcache({key: $(this).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
77
Open commit View diff
77
same 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
  //  tooltips
Open commit View diff
78 // tooltips
same 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
  $(function () {
Open commit View diff
79 $(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
80
    $('[data-bs-toggle="tooltip"]').tooltip()
Open commit View diff
80 $('[data-bs-toggle="tooltip"]').tooltip()
same 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
  });
Open commit View diff
81 });
same 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
  // remember last navigation pill
Open commit View diff
83 // remember last navigation pill
same 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
  (function () {
Open commit View diff
84 (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
85
    'use strict';
Open commit View diff
85 'use strict';
same 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
      // remember desktop tabs
Open commit View diff
86 // remember desktop tabs
same 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
      $('button[data-bs-toggle="tab"]').on('click', function (e) {
Open commit View diff
87 $('button[data-bs-toggle="tab"]').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
88
        if ($(this).data('dont-remember') == 1) {
Open commit View diff
88 if ($(this).data('dont-remember') == 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
89
          return true;
Open commit View diff
89 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
90
        }
Open commit View diff
90 }
same 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 id = $(this).parents('[role="tablist"]').attr('id');
Open commit View diff
91 var id = $(this).parents('[role="tablist"]').attr('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
92
        var key = 'lastTag';
Open commit View diff
92 var key = 'lastTag';
same 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
        if (id) {
Open commit View diff
93 if (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
94
          key += ':' + id;
Open commit View diff
94 key += ':' + 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
95
        }
Open commit View diff
95 }
same 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
Open commit View diff
96
same 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
        var tab_id = $(e.target).attr('data-bs-target').substring(1);
Open commit View diff
97 var tab_id = $(e.target).attr('data-bs-target').substring(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
98
        localStorage.setItem(key, tab_id);
Open commit View diff
98 localStorage.setItem(key, tab_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
99
      });
Open commit View diff
99 });
same 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
      // remember mobile tabs
Open commit View diff
100 // remember mobile tabs
same 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
      $('button[data-bs-target^="#collapse-tab-"]').on('click', function (e) {
Open commit View diff
101 $('button[data-bs-target^="#collapse-tab-"]').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
102
        // only remember tab if its being opened
Open commit View diff
102 // only remember tab if its being opened
same 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 ($(this).hasClass('collapsed')) return false;
Open commit View diff
103 if ($(this).hasClass('collapsed')) 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
104
        var tab_id = $(this).closest('div[role="tabpanel"]').attr('id');
Open commit View diff
104 var tab_id = $(this).closest('div[role="tabpanel"]').attr('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
105
Open commit View diff
105
same 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
        if ($(this).data('dont-remember') == 1) {
Open commit View diff
106 if ($(this).data('dont-remember') == 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
107
          return true;
Open commit View diff
107 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
108
        }
Open commit View diff
108 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
109
        var id = $(this).parents('[role="tablist"]').attr('id');;
Open commit View diff
109 var id = $(this).parents('[role="tablist"]').attr('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
110
        var key = 'lastTag';
Open commit View diff
110 var key = 'lastTag';
same 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
        if (id) {
Open commit View diff
111 if (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
112
          key += ':' + id;
Open commit View diff
112 key += ':' + 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
113
        }
Open commit View diff
113 }
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
115
        localStorage.setItem(key, tab_id);
Open commit View diff
115 localStorage.setItem(key, tab_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
116
      });
Open commit View diff
116 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
117
      // open last tab
Open commit View diff
117 // open last tab
same 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
      $('[role="tablist"]').each(function (idx, elem) {
Open commit View diff
118 $('[role="tablist"]').each(function (idx, elem) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
119
        var id = $(elem).attr('id');
Open commit View diff
119 var id = $(elem).attr('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
120
        var key = 'lastTag';
Open commit View diff
120 var key = 'lastTag';
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
121
        if (id) {
Open commit View diff
121 if (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
122
          key += ':' + id;
Open commit View diff
122 key += ':' + 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
123
        }
Open commit View diff
123 }
same 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
        var lastTab = localStorage.getItem(key);
Open commit View diff
124 var lastTab = localStorage.getItem(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
125
        if (lastTab) {
Open commit View diff
125 if (lastTab) {
same 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
          $('[data-bs-target="#' + lastTab + '"]').click();
Open commit View diff
126 $('[data-bs-target="#' + lastTab + '"]').click();
same 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
          var tab = $('[id^="' + lastTab + '"]');
Open commit View diff
127 var tab = $('[id^="' + lastTab + '"]');
Kristian Feldsam almost 3 years ago 871ae5d

[Web] mobile devices styling fixes and enhancements

Full commit hash
871ae5d7d285b216021e782ab57ab403d2dfd194
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
128
          $(tab).find('.card-body.collapse:first').collapse('show');
Open commit View diff
128 $(tab).find('.card-body.collapse:first').collapse('show');
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
129
        }
Open commit View diff
129 }
same 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
  })();
Open commit View diff
131 })();
Patrik Kernstock 10 months ago 5c5287c

Fixed wrong footer escaping

Full commit hash
5c5287ca21da04d9efa5058b200aa3df6aeb8305
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
132
Open commit View diff
132
Kristian Feldsam almost 3 years ago d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
133
  // responsive tabs, scroll to opened tab
Open commit View diff
133 // responsive tabs, scroll to opened tab
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
134
  $(document).on("shown.bs.collapse shown.bs.tab", function (e) {
Open commit View diff
134 $(document).on("shown.bs.collapse shown.bs.tab", function (e) {
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
135
	  var target = $(e.target);
Open commit View diff
135 var target = $(e.target);
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
136
	  if($(window).width() <= 767) {
Open commit View diff
136 if($(window).width() <= 767) {
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
137
		  var offset = target.offset().top - 60;
Open commit View diff
137 var offset = target.offset().top - 60;
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
138
		  $("html, body").stop().animate({
Open commit View diff
138 $("html, body").stop().animate({
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
139
		    scrollTop: offset
Open commit View diff
139 scrollTop: offset
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
140
		  }, 100);
Open commit View diff
140 }, 100);
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
141
	  }
Open commit View diff
141 }
same change d0ba061

[Web] mobile devices - scroll window to opened tab

Full commit hash
d0ba061f7a79119ec2b191772ce8f0ab14af22e5
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
142
  });
Open commit View diff
142 });
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
143
Open commit View diff
143
same 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
  // IE fix to hide scrollbars when table body is empty
Open commit View diff
144 // IE fix to hide scrollbars when table body is empty
same 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
  $('tbody').filter(function (index) {
Open commit View diff
145 $('tbody').filter(function (index) {
same 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
    return $(this).children().length < 1;
Open commit View diff
146 return $(this).children().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
147
  }).remove();
Open commit View diff
147 }).remove();
same 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
Open commit View diff
148
same 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
  // selectpicker
Open commit View diff
149 // selectpicker
same 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
  $('select').selectpicker({
Open commit View diff
150 $('select').selectpicker({
same 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
    'styleBase': 'btn btn-xs-lg',
Open commit View diff
151 'styleBase': 'btn btn-xs-lg',
same 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
    'noneSelectedText': lang_footer.nothing_selected
Open commit View diff
152 'noneSelectedText': lang_footer.nothing_selected
same 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
  });
Open commit View diff
153 });
same 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
Open commit View diff
154
same 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
  // haveibeenpwned and passwd policy
Open commit View diff
155 // haveibeenpwned and passwd policy
same 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
  $.ajax({
Open commit View diff
156 $.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
157
    url: '/api/v1/get/passwordpolicy/html',
Open commit View diff
157 url: '/api/v1/get/passwordpolicy/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
158
    type: 'GET',
Open commit View diff
158 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
159
    success: function(res) {
Open commit View diff
159 success: function(res) {
same 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
      $(".hibp-out").after(res);
Open commit View diff
160 $(".hibp-out").after(res);
same 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
    }
Open commit View diff
161 }
same 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
  });
Open commit View diff
162 });
same 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
  $('[data-hibp]').after('<p class="small haveibeenpwned"><i class="bi bi-shield-fill-exclamation"></i> ' + lang_footer.hibp_check + '</p><span class="hibp-out"></span>');
Open commit View diff
163 $('[data-hibp]').after('<p class="small haveibeenpwned"><i class="bi bi-shield-fill-exclamation"></i> ' + lang_footer.hibp_check + '</p><span class="hibp-out"></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
164
  $('[data-hibp]').on('input', function() {
Open commit View diff
164 $('[data-hibp]').on('input', 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
165
    out_field = $(this).next('.haveibeenpwned').next('.hibp-out').text('').attr('class', 'hibp-out');
Open commit View diff
165 out_field = $(this).next('.haveibeenpwned').next('.hibp-out').text('').attr('class', 'hibp-out');
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
167
  $('.haveibeenpwned:not(.task-running)').on('click', function() {
Open commit View diff
167 $('.haveibeenpwned:not(.task-running)').on('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
168
    var hibp_field = $(this)
Open commit View diff
168 var hibp_field = $(this)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
169
    $(hibp_field).addClass('task-running');
Open commit View diff
169 $(hibp_field).addClass('task-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
170
    var hibp_result = $(hibp_field).next('.hibp-out')
Open commit View diff
170 var hibp_result = $(hibp_field).next('.hibp-out')
same 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
    var password_field = $(this).prev('[data-hibp]')
Open commit View diff
171 var password_field = $(this).prev('[data-hibp]')
same 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
    if ($(password_field).val() == '') {
Open commit View diff
172 if ($(password_field).val() == '') {
same 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
      shake(password_field);
Open commit View diff
173 shake(password_field);
same 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
    }
Open commit View diff
174 }
same 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
    else {
Open commit View diff
175 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
176
      $(hibp_result).attr('class', 'hibp-out badge fs-5 bg-info');
Open commit View diff
176 $(hibp_result).attr('class', 'hibp-out badge fs-5 bg-info');
same 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
      $(hibp_result).text(lang_footer.loading);
Open commit View diff
177 $(hibp_result).text(lang_footer.loading);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
178
      var password_digest = $.sha1($(password_field).val())
Open commit View diff
178 var password_digest = $.sha1($(password_field).val())
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
179
      var digest_five = password_digest.substring(0, 5).toUpperCase();
Open commit View diff
179 var digest_five = password_digest.substring(0, 5).toUpperCase();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
180
      var queryURL = "https://api.pwnedpasswords.com/range/" + digest_five;
Open commit View diff
180 var queryURL = "https://api.pwnedpasswords.com/range/" + digest_five;
same 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
      var compl_digest = password_digest.substring(5, 41).toUpperCase();
Open commit View diff
181 var compl_digest = password_digest.substring(5, 41).toUpperCase();
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
182
      $.ajax({
Open commit View diff
182 $.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
183
        url: queryURL,
Open commit View diff
183 url: queryURL,
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
184
        type: 'GET',
Open commit View diff
184 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
185
        success: function(res) {
Open commit View diff
185 success: function(res) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
186
          if (res.search(compl_digest) > -1){
Open commit View diff
186 if (res.search(compl_digest) > -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
187
            $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-danger');
Open commit View diff
187 $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-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
188
            $(hibp_result).text(lang_footer.hibp_nok)
Open commit View diff
188 $(hibp_result).text(lang_footer.hibp_nok)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
189
          } else {
Open commit View diff
189 } 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
190
            $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-success');
Open commit View diff
190 $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-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
191
            $(hibp_result).text(lang_footer.hibp_ok)
Open commit View diff
191 $(hibp_result).text(lang_footer.hibp_ok)
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
192
          }
Open commit View diff
192 }
same 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
          $(hibp_field).removeClass('task-running');
Open commit View diff
193 $(hibp_field).removeClass('task-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
194
        },
Open commit View diff
194 },
same 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
        error: function(xhr, status, error) {
Open commit View diff
195 error: function(xhr, status, error) {
same 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
          $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-warning');
Open commit View diff
196 $(hibp_result).removeClass('badge fs-5 bg-info').addClass('badge fs-5 bg-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
197
          $(hibp_result).text('API error: ' + xhr.responseText)
Open commit View diff
197 $(hibp_result).text('API error: ' + xhr.responseText)
same 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
          $(hibp_field).removeClass('task-running');
Open commit View diff
198 $(hibp_field).removeClass('task-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
199
        }
Open commit View diff
199 }
same 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
    }
Open commit View diff
201 }
same 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
  });
Open commit View diff
202 });
same 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
Open commit View diff
203
same 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
  // Disable disallowed inputs
Open commit View diff
204 // Disable disallowed inputs
same 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
  $('[data-acl="0"]').each(function(event){
Open commit View diff
205 $('[data-acl="0"]').each(function(event){
same 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
    if ($(this).is("a")) {
Open commit View diff
206 if ($(this).is("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
207
      $(this).removeAttr("data-bs-toggle");
Open commit View diff
207 $(this).removeAttr("data-bs-toggle");
same 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
      $(this).removeAttr("data-bs-target");
Open commit View diff
208 $(this).removeAttr("data-bs-target");
same 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
      $(this).removeAttr("data-action");
Open commit View diff
209 $(this).removeAttr("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
210
      $(this).click(function(event) {
Open commit View diff
210 $(this).click(function(event) {
same 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
        event.preventDefault();
Open commit View diff
211 event.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
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
    if ($(this).is("select")) {
Open commit View diff
214 if ($(this).is("select")) {
same 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
      $(this).selectpicker('destroy');
Open commit View diff
215 $(this).selectpicker('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
216
      $(this).replaceWith(function() {
Open commit View diff
216 $(this).replaceWith(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
217
        return '<label class="control-label"><b>' + this.innerText + '</b></label>';
Open commit View diff
217 return '<label class="control-label"><b>' + this.innerText + '</b></label>';
same 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
    if ($(this).hasClass('btn-group')) {
Open commit View diff
220 if ($(this).hasClass('btn-group')) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
221
      $(this).find('a').each(function(){
Open commit View diff
221 $(this).find('a').each(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
222
        $(this).removeClass('dropdown-toggle')
Open commit View diff
222 $(this).removeClass('dropdown-toggle')
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
223
          .removeAttr('data-bs-toggle')
Open commit View diff
223 .removeAttr('data-bs-toggle')
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
224
          .removeAttr('data-bs-target')
Open commit View diff
224 .removeAttr('data-bs-target')
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
225
          .removeAttr('data-action')
Open commit View diff
225 .removeAttr('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
226
          .removeAttr('id')
Open commit View diff
226 .removeAttr('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
227
          .attr("disabled", true);
Open commit View diff
227 .attr("disabled", 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
228
        $(this).click(function(event) {
Open commit View diff
228 $(this).click(function(event) {
same 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
          event.preventDefault();
Open commit View diff
229 event.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
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 });
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
233
      $(this).find('button').each(function() {
Open commit View diff
233 $(this).find('button').each(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
234
        $(this).attr("disabled", true);
Open commit View diff
234 $(this).attr("disabled", 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
235
      });
Open commit View diff
235 });
same 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
    } else if ($(this).hasClass('input-group')) {
Open commit View diff
236 } else if ($(this).hasClass('input-group')) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
237
      $(this).find('input').each(function() {
Open commit View diff
237 $(this).find('input').each(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
238
        $(this).removeClass('dropdown-toggle')
Open commit View diff
238 $(this).removeClass('dropdown-toggle')
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
239
          .removeAttr('data-bs-toggle')
Open commit View diff
239 .removeAttr('data-bs-toggle')
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
240
          .attr("disabled", true);
Open commit View diff
240 .attr("disabled", 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
241
        $(this).click(function(event) {
Open commit View diff
241 $(this).click(function(event) {
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
242
          event.preventDefault();
Open commit View diff
242 event.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
243
        });
Open commit View diff
243 });
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
245
      $(this).find('button').each(function() {
Open commit View diff
245 $(this).find('button').each(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
246
        $(this).attr("disabled", true);
Open commit View diff
246 $(this).attr("disabled", 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
247
      });
Open commit View diff
247 });
same 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
    } else if ($(this).hasClass('form-group')) {
Open commit View diff
248 } else if ($(this).hasClass('form-group')) {
same 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
      $(this).find('input').each(function() {
Open commit View diff
249 $(this).find('input').each(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
250
        $(this).attr("disabled", true);
Open commit View diff
250 $(this).attr("disabled", 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
251
      });
Open commit View diff
251 });
same 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
    } else if ($(this).hasClass('btn')) {
Open commit View diff
252 } else if ($(this).hasClass('btn')) {
same 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
      $(this).attr("disabled", true);
Open commit View diff
253 $(this).attr("disabled", 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
254
    } else if ($(this).attr('data-provide') == 'slider') {
Open commit View diff
254 } else if ($(this).attr('data-provide') == 'slider') {
same 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
      $(this).attr('disabled', true);
Open commit View diff
255 $(this).attr('disabled', 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
256
    } else if ($(this).is(':checkbox')) {
Open commit View diff
256 } else if ($(this).is(':checkbox')) {
same 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
      $(this).attr("disabled", true);
Open commit View diff
257 $(this).attr("disabled", 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
258
    }
Open commit View diff
258 }
same 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
    $(this).data("toggle", "tooltip");
Open commit View diff
259 $(this).data("toggle", "tooltip");
same 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
    $(this).attr("title", lang_acl.prohibited);
Open commit View diff
260 $(this).attr("title", lang_acl.prohibited);
same 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
    $(this).tooltip();
Open commit View diff
261 $(this).tooltip();
same 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
  // disable submit after submitting form (not API driven buttons)
Open commit View diff
264 // disable submit after submitting form (not API driven buttons)
same 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
  $('form').submit(function() {
Open commit View diff
265 $('form').submit(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
266
    if ($('form button[type="submit"]').data('submitted') == '1') {
Open commit View diff
266 if ($('form button[type="submit"]').data('submitted') == '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
267
      return false;
Open commit View diff
267 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
268
    } else {
Open commit View diff
268 } 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
269
      $(this).find('button[type="submit"]').first().text(lang_footer.loading);
Open commit View diff
269 $(this).find('button[type="submit"]').first().text(lang_footer.loading);
same 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
      $('form button[type="submit"]').attr('data-submitted', '1');
Open commit View diff
270 $('form button[type="submit"]').attr('data-submitted', '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
271
      function disableF5(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) e.preventDefault(); };
Open commit View diff
271 function disableF5(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) 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
272
      $(document).on("keydown", disableF5);
Open commit View diff
272 $(document).on("keydown", disableF5);
same 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
  });
Open commit View diff
274 });
same 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
  // Textarea line numbers
Open commit View diff
275 // Textarea line numbers
same 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
  $(".textarea-code").numberedtextarea({allowTabChar: true});
Open commit View diff
276 $(".textarea-code").numberedtextarea({allowTabChar: 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
277
  // trigger container restart
Open commit View diff
277 // trigger container restart
same 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
  $('#RestartContainer').on('show.bs.modal', function(e) {
Open commit View diff
278 $('#RestartContainer').on('show.bs.modal', 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
279
    var container = $(e.relatedTarget).data('container');
Open commit View diff
279 var container = $(e.relatedTarget).data('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
280
    $('#containerName').text(container);
Open commit View diff
280 $('#containerName').text(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
281
    $('#triggerRestartContainer').click(function(){
Open commit View diff
281 $('#triggerRestartContainer').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
282
      $(this).prop("disabled",true);
Open commit View diff
282 $(this).prop("disabled",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
283
      $(this).html('<div class="spinner-border text-white" role="status"><span class="visually-hidden">Loading...</span></div>');
Open commit View diff
283 $(this).html('<div class="spinner-border text-white" role="status"><span class="visually-hidden">Loading...</span></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
284
      $('#statusTriggerRestartContainer').html(lang_footer.restarting_container);
Open commit View diff
284 $('#statusTriggerRestartContainer').html(lang_footer.restarting_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
285
      $.ajax({
Open commit View diff
285 $.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
286
        method: 'get',
Open commit View diff
286 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
287
        url: '/inc/ajax/container_ctrl.php',
Open commit View diff
287 url: '/inc/ajax/container_ctrl.php',
same 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
        timeout: docker_timeout,
Open commit View diff
288 timeout: docker_timeout,
same 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
        data: {
Open commit View diff
289 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
290
        'service': container,
Open commit View diff
290 'service': 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
291
        'action': 'restart'
Open commit View diff
291 'action': 'restart'
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
294
      .always( function (data, status) {
Open commit View diff
294 .always( function (data, status) {
same 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
        $('#statusTriggerRestartContainer').append(data);
Open commit View diff
295 $('#statusTriggerRestartContainer').append(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
296
        var htmlResponse = $.parseHTML(data)
Open commit View diff
296 var htmlResponse = $.parseHTML(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
297
        if ($(htmlResponse).find('span').hasClass('text-success')) {
Open commit View diff
297 if ($(htmlResponse).find('span').hasClass('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
298
          $('#triggerRestartContainer').html('<i class="bi bi-check-lg"></i> ');
Open commit View diff
298 $('#triggerRestartContainer').html('<i class="bi bi-check-lg"></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
299
          setTimeout(function(){
Open commit View diff
299 setTimeout(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
300
            $('#RestartContainer').modal('toggle');
Open commit View diff
300 $('#RestartContainer').modal('toggle');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
301
            window.location = window.location.href.split("#")[0];
Open commit View diff
301 window.location = window.location.href.split("#")[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
302
          }, 1200);
Open commit View diff
302 }, 1200);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
303
        } else {
Open commit View diff
303 } 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
304
          $('#triggerRestartContainer').html('<i class="bi bi-slash-lg"></i> ');
Open commit View diff
304 $('#triggerRestartContainer').html('<i class="bi bi-slash-lg"></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
305
        }
Open commit View diff
305 }
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
306
      })
Open commit View diff
306 })
same 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
    });
Open commit View diff
307 });
same 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
  })
Open commit View diff
308 })
same 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
Open commit View diff
309
same 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
  // Jquery Datatables, enable responsive plugin
Open commit View diff
310 // Jquery Datatables, enable responsive plugin
same 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
  $.extend($.fn.dataTable.defaults, {
Open commit View diff
311 $.extend($.fn.dataTable.defaults, {
same 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
    responsive: true
Open commit View diff
312 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
313
  });
Open commit View diff
313 });
FreddleSpl0it over 3 years ago 099db33

[Web] disable datatable default row click listener

Full commit hash
099db33e447fac10a47d3b2d974209cfcd0ad1fa
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
314
  // disable default datatable click listener
Open commit View diff
314 // disable default datatable click listener
same change 099db33

[Web] disable datatable default row click listener

Full commit hash
099db33e447fac10a47d3b2d974209cfcd0ad1fa
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
315
  $(document).off('click', 'tbody>tr');
Open commit View diff
315 $(document).off('click', 'tbody>tr');
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
316
Open commit View diff
316
same 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
  // tag boxes
Open commit View diff
317 // tag boxes
same 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
  $('.tag-box .tag-add').click(function(){
Open commit View diff
318 $('.tag-box .tag-add').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
319
    addTag(this);
Open commit View diff
319 addTag(this);
same 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
  $(".tag-box .tag-input").keydown(function (e) {
Open commit View diff
321 $(".tag-box .tag-input").keydown(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
322
    if (e.which == 13){
Open commit View diff
322 if (e.which == 13){
same 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
      e.preventDefault();
Open commit View diff
323 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
324
      addTag(this);
Open commit View diff
324 addTag(this);
same 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
    }
Open commit View diff
325 }
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
329
  $('#dark-mode-toggle').click(toggleDarkMode);
Open commit View diff
329 $('#dark-mode-toggle').click(toggleDarkMode);
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
330
  if ($('#dark-mode-theme').length) {
Open commit View diff
330 if ($('#dark-mode-theme').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
331
    $('#dark-mode-toggle').prop('checked', true);
Open commit View diff
331 $('#dark-mode-toggle').prop('checked', true);
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
332
    $('.main-logo').addClass('d-none');
Open commit View diff
332 $('.main-logo').addClass('d-none');
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
333
    $('.main-logo-dark').removeClass('d-none');
Open commit View diff
333 $('.main-logo-dark').removeClass('d-none');
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
334
    if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_light.png');
Open commit View diff
334 if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_light.png');
same 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
    if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_light.png');
Open commit View diff
335 if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_light.png');
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
336
  } else {
Open commit View diff
336 } else {
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
337
    $('.main-logo').removeClass('d-none');
Open commit View diff
337 $('.main-logo').removeClass('d-none');
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
338
    $('.main-logo-dark').addClass('d-none');
Open commit View diff
338 $('.main-logo-dark').addClass('d-none');
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
339
  }
Open commit View diff
339 }
same 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
  function toggleDarkMode(){
Open commit View diff
340 function toggleDarkMode(){
same 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
    if($('#dark-mode-theme').length){
Open commit View diff
341 if($('#dark-mode-theme').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
342
      $('#dark-mode-theme').remove();
Open commit View diff
342 $('#dark-mode-theme').remove();
same 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
      $('#dark-mode-toggle').prop('checked', false);
Open commit View diff
343 $('#dark-mode-toggle').prop('checked', false);
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
344
      $('.main-logo').removeClass('d-none');
Open commit View diff
344 $('.main-logo').removeClass('d-none');
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
345
      $('.main-logo-dark').addClass('d-none');
Open commit View diff
345 $('.main-logo-dark').addClass('d-none');
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
346
      if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_dark.png');
Open commit View diff
346 if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_dark.png');
same 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
      if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_dark.png');
Open commit View diff
347 if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_dark.png');
rezzorix 4 months ago 03eccd4

added/fix: use mailcow_theme in bundled dark mode JS

Full commit hash
03eccd4e42a0ccb92e2e25e866c934b97663bda0
Author
rezzorix <[email protected]>
Date
4 months ago
Selected line
348
      localStorage.setItem('mailcow_theme', 'light');
Open commit View diff
348 localStorage.setItem('mailcow_theme', 'light');
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
349
    }else{
Open commit View diff
349 }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
350
      $('head').append('<link id="dark-mode-theme" rel="stylesheet" type="text/css" href="/css/themes/mailcow-darkmode.css">');
Open commit View diff
350 $('head').append('<link id="dark-mode-theme" rel="stylesheet" type="text/css" href="/css/themes/mailcow-darkmode.css">');
same change 240b2c6

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
351
      $('#dark-mode-toggle').prop('checked', true);
Open commit View diff
351 $('#dark-mode-toggle').prop('checked', true);
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
352
      $('.main-logo').addClass('d-none');
Open commit View diff
352 $('.main-logo').addClass('d-none');
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
353
      $('.main-logo-dark').removeClass('d-none');
Open commit View diff
353 $('.main-logo-dark').removeClass('d-none');
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
354
      if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_light.png');
Open commit View diff
354 if ($('#rspamd_logo').length) $('#rspamd_logo').attr('src', '/img/rspamd_logo_light.png');
same 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
      if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_light.png');
Open commit View diff
355 if ($('#rspamd_logo_sm').length) $('#rspamd_logo_sm').attr('src', '/img/rspamd_logo_light.png');
rezzorix 4 months ago 03eccd4

added/fix: use mailcow_theme in bundled dark mode JS

Full commit hash
03eccd4e42a0ccb92e2e25e866c934b97663bda0
Author
rezzorix <[email protected]>
Date
4 months ago
Selected line
356
      localStorage.setItem('mailcow_theme', 'dark');
Open commit View diff
356 localStorage.setItem('mailcow_theme', 'dark');
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
357
    }
Open commit View diff
357 }
same 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
  }
Open commit View diff
358 }
FreddleSpl0it over 3 years ago 6e9980b

[Web] add manage identity provider

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

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
360
  // Reveal Password Input
Open commit View diff
360 // Reveal Password Input
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
361
  $(".reveal-password-input").on('click', '.toggle-password', function() {
Open commit View diff
361 $(".reveal-password-input").on('click', '.toggle-password', function() {
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
362
    $(this).parent().find('.toggle-password').children().toggleClass("bi-eye bi-eye-slash");
Open commit View diff
362 $(this).parent().find('.toggle-password').children().toggleClass("bi-eye bi-eye-slash");
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
363
    var input = $(this).parent().find('.password-field')
Open commit View diff
363 var input = $(this).parent().find('.password-field')
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
364
    if (input.attr("type") === "password") {
Open commit View diff
364 if (input.attr("type") === "password") {
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
365
      input.attr("type", "text");
Open commit View diff
365 input.attr("type", "text");
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
366
    } else {
Open commit View diff
366 } else {
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
367
      input.attr("type", "password");
Open commit View diff
367 input.attr("type", "password");
same change 6e9980b

[Web] add manage identity provider

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

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
369
  });
Open commit View diff
369 });
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
});
Open commit View diff
370 });
same 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
Open commit View diff
371
same change 240b2c6

Fix timestamps not sorting in datatables

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

Fix timestamps not sorting in datatables

Full commit hash
240b2c63f6d2b544782ad0c661cb589c2231fff2
Author
Tom Udding <[email protected]>
Date
over 3 years ago
Selected line
373
// https://stackoverflow.com/questions/24816/escaping-html-strings-with-jquery
Open commit View diff
373 // https://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
374
function escapeHtml(n){var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"}; return String(n).replace(/[&<>"'`=\/]/g,function(n){return entityMap[n]})}
Open commit View diff
374 function escapeHtml(n){var entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"}; 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
375
function unescapeHtml(t){var n={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#x2F;":"/","&#x60;":"`","&#x3D;":"="};return String(t).replace(/&amp;|&lt;|&gt;|&quot;|&#39;|&#x2F|&#x60|&#x3D;/g,function(t){return n[t]})}
Open commit View diff
375 function unescapeHtml(t){var n={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#x2F;":"/","&#x60;":"`","&#x3D;":"="};return String(t).replace(/&amp;|&lt;|&gt;|&quot;|&#39;|&#x2F|&#x60|&#x3D;/g,function(t){return n[t]})}
same 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
Open commit View diff
376
same 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
function addTag(tagAddElem, tag = null){
Open commit View diff
377 function addTag(tagAddElem, tag = 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
378
  var tagboxElem = $(tagAddElem).parent();
Open commit View diff
378 var tagboxElem = $(tagAddElem).parent();
same 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
  var tagInputElem = $(tagboxElem).find(".tag-input")[0];
Open commit View diff
379 var tagInputElem = $(tagboxElem).find(".tag-input")[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
380
  var tagValuesElem = $(tagboxElem).find(".tag-values")[0];
Open commit View diff
380 var tagValuesElem = $(tagboxElem).find(".tag-values")[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
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
  if (!tag)
Open commit View diff
382 if (!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
383
    tag = $(tagInputElem).val();
Open commit View diff
383 tag = $(tagInputElem).val();
same 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
  if (!tag) return;
Open commit View diff
384 if (!tag) 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
385
  var value_tags = [];
Open commit View diff
385 var value_tags = [];
same 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
  try {
Open commit View diff
386 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
387
    value_tags = JSON.parse($(tagValuesElem).val());
Open commit View diff
387 value_tags = JSON.parse($(tagValuesElem).val());
same 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
  } catch {}
Open commit View diff
388 } catch {}
same 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
  if (!Array.isArray(value_tags)) value_tags = [];
Open commit View diff
389 if (!Array.isArray(value_tags)) value_tags = [];
same 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
  if (value_tags.includes(tag)) return;
Open commit View diff
390 if (value_tags.includes(tag)) 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
391
Open commit View diff
391
same 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
  $('<span class="badge bg-primary tag-badge btn-badge"><i class="bi bi-tag-fill"></i> ' + escapeHtml(tag) + '</span>').insertBefore('.tag-input').click(function(){
Open commit View diff
392 $('<span class="badge bg-primary tag-badge btn-badge"><i class="bi bi-tag-fill"></i> ' + escapeHtml(tag) + '</span>').insertBefore('.tag-input').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
393
    var del_tag = unescapeHtml($(this).text());
Open commit View diff
393 var del_tag = unescapeHtml($(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
394
    var del_tags = [];
Open commit View diff
394 var del_tags = [];
same 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
    try {
Open commit View diff
395 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
396
      del_tags = JSON.parse($(tagValuesElem).val());
Open commit View diff
396 del_tags = JSON.parse($(tagValuesElem).val());
same 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
    } catch {}
Open commit View diff
397 } catch {}
same 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
    if (Array.isArray(del_tags)){
Open commit View diff
398 if (Array.isArray(del_tags)){
same 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
      del_tags.splice(del_tags.indexOf(del_tag), 1);
Open commit View diff
399 del_tags.splice(del_tags.indexOf(del_tag), 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
400
      $(tagValuesElem).val(JSON.stringify(del_tags));
Open commit View diff
400 $(tagValuesElem).val(JSON.stringify(del_tags));
same 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
    $(this).remove();
Open commit View diff
402 $(this).remove();
same 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
  });
Open commit View diff
403 });
same 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
Open commit View diff
404
same 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
  value_tags.push(tag);
Open commit View diff
405 value_tags.push(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
406
  $(tagValuesElem).val(JSON.stringify(value_tags));
Open commit View diff
406 $(tagValuesElem).val(JSON.stringify(value_tags));
same 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
  $(tagInputElem).val('');
Open commit View diff
407 $(tagInputElem).val('');
same 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
}
Open commit View diff
408 }
FreddleSpl0it about 3 years ago e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
409
function copyToClipboard(id) {
Open commit View diff
409 function copyToClipboard(id) {
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
410
  var copyText = document.getElementById(id);
Open commit View diff
410 var copyText = document.getElementById(id);
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
411
  copyText.select();
Open commit View diff
411 copyText.select();
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
412
  copyText.setSelectionRange(0, 99999);
Open commit View diff
412 copyText.setSelectionRange(0, 99999);
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
413
  // only works with https connections
Open commit View diff
413 // only works with https connections
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
414
  navigator.clipboard.writeText(copyText.value);
Open commit View diff
414 navigator.clipboard.writeText(copyText.value);
same change e2e8fbe

[Web] add f2b_banlist endpoint

Full commit hash
e2e8fbe3131327eb65f22e31fb200d55c59512dd
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
415
  mailcow_alert_box(lang.copy_to_clipboard, "success");
Open commit View diff
415 mailcow_alert_box(lang.copy_to_clipboard, "success");
Patrik Kernstock 10 months ago 5c5287c

Fixed wrong footer escaping

Full commit hash
5c5287ca21da04d9efa5058b200aa3df6aeb8305
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
416
}
Open commit View diff
416 }