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/011-api.js

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

011-api.js on main
Author Date Commit Line Code
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1
$(document).ready(function() {
Open commit View diff
1 $(document).ready(function() {
andryyy over 6 years ago eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2
  mass_action = false;
Open commit View diff
2 mass_action = false;
andryyy over 6 years ago 6efe8b7

[Web] Fix mail validation for quota sender address

Full commit hash
6efe8b7bde31c30a788c6ffcf5aa6bda6b9c15dd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
3
  function validateEmail(email) {
Open commit View diff
3 function validateEmail(email) {
same change 6efe8b7

[Web] Fix mail validation for quota sender address

Full commit hash
6efe8b7bde31c30a788c6ffcf5aa6bda6b9c15dd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4
    var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
Open commit View diff
4 var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
same change 6efe8b7

[Web] Fix mail validation for quota sender address

Full commit hash
6efe8b7bde31c30a788c6ffcf5aa6bda6b9c15dd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5
    return re.test(email);
Open commit View diff
5 return re.test(email);
same change 6efe8b7

[Web] Fix mail validation for quota sender address

Full commit hash
6efe8b7bde31c30a788c6ffcf5aa6bda6b9c15dd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6
  }
Open commit View diff
6 }
andryyy over 6 years ago 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
7
  function validateRegex(e){var t=e.split("/"),n=e,r="";t.length>1&&(n=t[1],r=t[2]);try{return new RegExp(n,r),!0}catch(e){return!1}}
Open commit View diff
7 function validateRegex(e){var t=e.split("/"),n=e,r="";t.length>1&&(n=t[1],r=t[2]);try{return new RegExp(n,r),!0}catch(e){return!1}}
andre.peters over 8 years ago 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
8
  function is_active(elem) {
Open commit View diff
8 function is_active(elem) {
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
9
    if ($(elem).data('submitted') == '1') {
Open commit View diff
9 if ($(elem).data('submitted') == '1') {
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
10
      return true;
Open commit View diff
10 return true;
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
11
    } else {
Open commit View diff
11 } else {
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
12
      var parent_btn_grp = $(elem).parentsUntil(".btn-group").parent();
Open commit View diff
12 var parent_btn_grp = $(elem).parentsUntil(".btn-group").parent();
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
13
      if (parent_btn_grp.hasClass('btn-group')) {
Open commit View diff
13 if (parent_btn_grp.hasClass('btn-group')) {
FreddleSpl0it about 4 years ago 18444bd

[BS5] fix minor issues

Full commit hash
18444bd2843a62adb89be6c78956667d9706cdc5
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
14
        parent_btn_grp.replaceWith('<button class="btn btn-secondary btn-sm" disabled>' + lang_footer.loading + '</a>');
Open commit View diff
14 parent_btn_grp.replaceWith('<button class="btn btn-secondary btn-sm" disabled>' + lang_footer.loading + '</a>');
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
15
      }
Open commit View diff
15 }
André almost 8 years ago c9554ca

[Compose] Update watchdog image

Full commit hash
c9554ca02291e64e56a786217de8d4b34b25544d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
16
      $(elem).text(lang_footer.loading);
Open commit View diff
16 $(elem).text(lang_footer.loading);
andre.peters over 8 years ago 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
17
      $(elem).attr('data-submitted', '1');
Open commit View diff
17 $(elem).attr('data-submitted', '1');
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
18
      function disableF5(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) e.preventDefault(); };
Open commit View diff
18 function disableF5(e) { if ((e.which || e.keyCode) == 116 || (e.which || e.keyCode) == 82) e.preventDefault(); };
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
19
      $(document).on("keydown", disableF5);
Open commit View diff
19 $(document).on("keydown", disableF5);
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
20
      return false;
Open commit View diff
20 return false;
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
21
    }
Open commit View diff
21 }
same change 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
22
  }
Open commit View diff
22 }
andryyy about 9 years ago 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
23
  $.fn.serializeObject = function() {
Open commit View diff
23 $.fn.serializeObject = function() {
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
24
    var o = {};
Open commit View diff
24 var o = {};
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
25
    var a = this.serializeArray();
Open commit View diff
25 var a = this.serializeArray();
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
26
    $.each(a, function() {
Open commit View diff
26 $.each(a, function() {
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
27
      if (o[this.name]) {
Open commit View diff
27 if (o[this.name]) {
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
28
        if (!o[this.name].push) {
Open commit View diff
28 if (!o[this.name].push) {
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
29
          o[this.name] = [o[this.name]];
Open commit View diff
29 o[this.name] = [o[this.name]];
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
30
        }
Open commit View diff
30 }
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
31
        o[this.name].push(this.value || '');
Open commit View diff
31 o[this.name].push(this.value || '');
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
32
      } else {
Open commit View diff
32 } else {
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
33
        o[this.name] = this.value || '';
Open commit View diff
33 o[this.name] = this.value || '';
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
34
      }
Open commit View diff
34 }
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
35
    });
Open commit View diff
35 });
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
36
    return o;
Open commit View diff
36 return o;
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
37
  };
Open commit View diff
37 };
André almost 9 years ago 8177576

[Web] Customize app menu and logo; Fix #671

Full commit hash
81775765d8c6ea6b4946f03d4ac9666697d854c3
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
38
  // Collect values of input fields with name "multi_select" and same data-id to js array multi_data[data-id]
Open commit View diff
38 // Collect values of input fields with name "multi_select" and same data-id to js array multi_data[data-id]
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
39
  var multi_data = [];
Open commit View diff
39 var multi_data = [];
andryyy over 6 years ago eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
40
  $(document).on('change', 'input[name=multi_select]:checkbox', function(e) {
Open commit View diff
40 $(document).on('change', 'input[name=multi_select]:checkbox', function(e) {
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
41
    if(mass_action === true) {
Open commit View diff
41 if(mass_action === true) {
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
42
      multi_data = [];
Open commit View diff
42 multi_data = [];
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
43
      mass_action = false;
Open commit View diff
43 mass_action = false;
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
44
    }
Open commit View diff
44 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
45
    if ($(this).is(':checked') && $(this).data('id')) {
Open commit View diff
45 if ($(this).is(':checked') && $(this).data('id')) {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
46
      var id = $(this).data('id');
Open commit View diff
46 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
47
      if (typeof multi_data[id] == "undefined") {
Open commit View diff
47 if (typeof multi_data[id] == "undefined") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
48
        multi_data[id] = [];
Open commit View diff
48 multi_data[id] = [];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
49
      }
Open commit View diff
49 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
50
      multi_data[id].push($(this).val());
Open commit View diff
50 multi_data[id].push($(this).val());
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
51
    }
Open commit View diff
51 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
52
    else {
Open commit View diff
52 else {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
53
      var id = $(this).data('id');
Open commit View diff
53 var id = $(this).data('id');
andryyy over 6 years ago eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
54
      if (typeof multi_data[id] !== "undefined") {
Open commit View diff
54 if (typeof multi_data[id] !== "undefined") {
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
55
        multi_data[id].splice($.inArray($(this).val(), multi_data[id]),1);
Open commit View diff
55 multi_data[id].splice($.inArray($(this).val(), multi_data[id]),1);
same change eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
56
      }
Open commit View diff
56 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
57
    }
Open commit View diff
57 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
58
  });
Open commit View diff
58 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
59
Open commit View diff
59
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
60
  // Select checkbox by click on parent tr
Open commit View diff
60 // Select checkbox by click on parent tr
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
61
  $(document).on('click', 'tbody>tr', function(e) {
Open commit View diff
61 $(document).on('click', 'tbody>tr', function(e) {
andryyy about 9 years ago 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
62
    if(e.target.tagName.toLowerCase() === 'button') {
Open commit View diff
62 if(e.target.tagName.toLowerCase() === 'button') {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
63
      e.stopPropagation();
Open commit View diff
63 e.stopPropagation();
andryyy about 9 years ago 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
64
    }
Open commit View diff
64 }
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
65
    else if(e.target.tagName.toLowerCase() === 'a') {
Open commit View diff
65 else if(e.target.tagName.toLowerCase() === 'a') {
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
66
      e.stopPropagation();
Open commit View diff
66 e.stopPropagation();
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
67
    }
Open commit View diff
67 }
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
68
    else if (e.target.type == "checkbox") {
Open commit View diff
68 else if (e.target.type == "checkbox") {
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
69
      e.stopPropagation();
Open commit View diff
69 e.stopPropagation();
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
70
    }
Open commit View diff
70 }
same change 5a95d20

More changes to the UI, more API...

Full commit hash
5a95d2062cec677880035ca8d57fd2c72fd57331
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
71
    else {
Open commit View diff
71 else {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
72
      var checkbox = $(this).find(':checkbox');
Open commit View diff
72 var checkbox = $(this).find(':checkbox');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
73
      checkbox.trigger('click');
Open commit View diff
73 checkbox.trigger('click');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
74
    }
Open commit View diff
74 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
75
  });
Open commit View diff
75 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
76
Open commit View diff
76
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
77
  // Select or deselect all checkboxes with same data-id
Open commit View diff
77 // Select or deselect all checkboxes with same data-id
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
78
  $(document).on('click', '#toggle_multi_select_all', function(e) {
Open commit View diff
78 $(document).on('click', '#toggle_multi_select_all', function(e) {
andryyy over 6 years ago eb5d7f0

[Web] Fix selection bug (reproduce: select an item, select all, deselect all, click an action and find previously selected items)

Full commit hash
eb5d7f06090ce4bc6f1210ca6b387ed835ef1928
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
79
    mass_action = true
Open commit View diff
79 mass_action = true
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
80
    e.preventDefault();
Open commit View diff
80 e.preventDefault();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
81
    id = $(this).data("id");
Open commit View diff
81 id = $(this).data("id");
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
82
    var all_checkboxes = $("input[data-id=" + id + "]:enabled");
Open commit View diff
82 var all_checkboxes = $("input[data-id=" + id + "]:enabled");
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
83
    all_checkboxes.prop("checked", !all_checkboxes.prop("checked")).change();
Open commit View diff
83 all_checkboxes.prop("checked", !all_checkboxes.prop("checked")).change();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
84
  });
Open commit View diff
84 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
85
Open commit View diff
85
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
86
  // General API edit actions
Open commit View diff
86 // General API edit actions
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
87
  $(document).on('click', "[data-action='edit_selected']", function(e) {
Open commit View diff
87 $(document).on('click', "[data-action='edit_selected']", function(e) {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
88
    e.preventDefault();
Open commit View diff
88 e.preventDefault();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
89
    var id = $(this).data('id');
Open commit View diff
89 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
90
    var api_url = $(this).data('api-url');
Open commit View diff
90 var api_url = $(this).data('api-url');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
91
    var api_attr = $(this).data('api-attr');
Open commit View diff
91 var api_attr = $(this).data('api-attr');
André over 8 years ago 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
92
    if (typeof $(this).data('api-reload-window') !== 'undefined') {
Open commit View diff
92 if (typeof $(this).data('api-reload-window') !== 'undefined') {
same change 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
93
      api_reload_window = $(this).data('api-reload-window');
Open commit View diff
93 api_reload_window = $(this).data('api-reload-window');
same change 85d1ee2

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

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

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
95
      api_reload_window = true;
Open commit View diff
95 api_reload_window = true;
same change 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
96
    }
Open commit View diff
96 }
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
97
    if (typeof $(this).data('api-reload-location') !== 'undefined') {
Open commit View diff
97 if (typeof $(this).data('api-reload-location') !== 'undefined') {
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
98
      api_reload_location = $(this).data('api-reload-location');
Open commit View diff
98 api_reload_location = $(this).data('api-reload-location');
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
99
    } else {
Open commit View diff
99 } else {
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
100
      api_reload_location = '#';
Open commit View diff
100 api_reload_location = '#';
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
101
    }
Open commit View diff
101 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
102
    // If clicked element #edit_selected is in a form with the same data-id as the button,
Open commit View diff
102 // If clicked element #edit_selected is in a form with the same data-id as the button,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
103
    // we merge all input fields by {"name":"value"} into api-attr
Open commit View diff
103 // we merge all input fields by {"name":"value"} into api-attr
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
104
    if ($(this).closest("form").data('id') == id) {
Open commit View diff
104 if ($(this).closest("form").data('id') == id) {
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
105
      var invalid = false;
Open commit View diff
105 var invalid = false;
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
106
      $(this).closest("form").find('select, textarea, input').each(function() {
Open commit View diff
106 $(this).closest("form").find('select, textarea, input').each(function() {
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
107
        if ($(this).prop('required')) {
Open commit View diff
107 if ($(this).prop('required')) {
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
108
          if (!$(this).val() && $(this).prop('disabled') === false) {
Open commit View diff
108 if (!$(this).val() && $(this).prop('disabled') === false) {
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
109
            invalid = true;
Open commit View diff
109 invalid = true;
andryyy over 5 years ago 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
110
            if ($(this).is("select")) {
Open commit View diff
110 if ($(this).is("select")) {
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
111
              $(this).selectpicker('setStyle', 'btn-input-missing', 'add');
Open commit View diff
111 $(this).selectpicker('setStyle', 'btn-input-missing', 'add');
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
112
            }
Open commit View diff
112 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
113
            $(this).addClass('inputMissingAttr');
Open commit View diff
113 $(this).addClass('inputMissingAttr');
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
114
          } else {
Open commit View diff
114 } else {
andryyy over 5 years ago 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
115
            if ($(this).is("select")) {
Open commit View diff
115 if ($(this).is("select")) {
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
116
              $(this).selectpicker('setStyle', 'btn-input-missing', 'remove');
Open commit View diff
116 $(this).selectpicker('setStyle', 'btn-input-missing', 'remove');
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
117
            }
Open commit View diff
117 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
118
            $(this).removeClass('inputMissingAttr');
Open commit View diff
118 $(this).removeClass('inputMissingAttr');
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
119
          }
Open commit View diff
119 }
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
120
        }
Open commit View diff
120 }
andryyy over 6 years ago dd0c143

[Web] Allow empty bcc when saving quarantine settings, fixes #3363

Full commit hash
dd0c1438de84dcc3f0cc18f1c0134e473e19a7b3
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
121
        if ($(this).val() && $(this).attr("type") == 'email') {
Open commit View diff
121 if ($(this).val() && $(this).attr("type") == 'email') {
andryyy over 6 years ago 6efe8b7

[Web] Fix mail validation for quota sender address

Full commit hash
6efe8b7bde31c30a788c6ffcf5aa6bda6b9c15dd
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
122
          if (!validateEmail($(this).val())) {
Open commit View diff
122 if (!validateEmail($(this).val())) {
andryyy over 6 years ago 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
123
            invalid = true;
Open commit View diff
123 invalid = true;
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
124
            $(this).addClass('inputMissingAttr');
Open commit View diff
124 $(this).addClass('inputMissingAttr');
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
125
          } else {
Open commit View diff
125 } else {
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
126
            $(this).removeClass('inputMissingAttr');
Open commit View diff
126 $(this).removeClass('inputMissingAttr');
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
127
          }
Open commit View diff
127 }
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
128
        }
Open commit View diff
128 }
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
129
        if ($(this).attr("max")) {
Open commit View diff
129 if ($(this).attr("max")) {
andre.peters over 8 years ago c07e521

[Web] Fixes number validation in forms, fixes #882

Full commit hash
c07e521309561ed56166c84e0702e56831293857
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
130
          if (Number($(this).val()) > Number($(this).attr("max"))) {
Open commit View diff
130 if (Number($(this).val()) > Number($(this).attr("max"))) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
131
            invalid = true;
Open commit View diff
131 invalid = true;
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
132
            $(this).addClass('inputMissingAttr');
Open commit View diff
132 $(this).addClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
133
          } else {
Open commit View diff
133 } else {
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
134
            if ($(this).attr("min")) {
Open commit View diff
134 if ($(this).attr("min")) {
andre.peters over 8 years ago c07e521

[Web] Fixes number validation in forms, fixes #882

Full commit hash
c07e521309561ed56166c84e0702e56831293857
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
135
              if (Number($(this).val()) < Number($(this).attr("min"))) {
Open commit View diff
135 if (Number($(this).val()) < Number($(this).attr("min"))) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
136
                invalid = true;
Open commit View diff
136 invalid = true;
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
137
                $(this).addClass('inputMissingAttr');
Open commit View diff
137 $(this).addClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
138
              } else {
Open commit View diff
138 } else {
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
139
                $(this).removeClass('inputMissingAttr');
Open commit View diff
139 $(this).removeClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
140
              }
Open commit View diff
140 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
141
            }
Open commit View diff
141 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
142
          }
Open commit View diff
142 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
143
        }
Open commit View diff
143 }
andryyy over 6 years ago 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
144
        if ($(this).val() && $(this).attr("regex")) {
Open commit View diff
144 if ($(this).val() && $(this).attr("regex")) {
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
145
          var regex_content = $(this).val();
Open commit View diff
145 var regex_content = $(this).val();
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
146
          $(this).removeClass('inputMissingAttr');
Open commit View diff
146 $(this).removeClass('inputMissingAttr');
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
147
          if(!validateRegex(regex_content)) {
Open commit View diff
147 if(!validateRegex(regex_content)) {
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
148
            invalid = true;
Open commit View diff
148 invalid = true;
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
149
            $(this).addClass('inputMissingAttr');
Open commit View diff
149 $(this).addClass('inputMissingAttr');
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
150
          }
Open commit View diff
150 }
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
151
          if(!regex_content.startsWith('/') || !/\/[ims]?$/.test(regex_content)){
Open commit View diff
151 if(!regex_content.startsWith('/') || !/\/[ims]?$/.test(regex_content)){
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
152
            invalid = true;
Open commit View diff
152 invalid = true;
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
153
            $(this).addClass('inputMissingAttr');
Open commit View diff
153 $(this).addClass('inputMissingAttr');
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
154
          }
Open commit View diff
154 }
same change 47a15c2

[Rspamd] Pushover, check sender by regex

Full commit hash
47a15c21aaa69715e88535fc72925714004dfa2c
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
155
        }
Open commit View diff
155 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
156
      });
Open commit View diff
156 });
André almost 8 years ago 6f656c3

[Web] Do not use hard-coded params in imapsync jobs

Full commit hash
6f656c39b4344f5ecda914de446221a4f9d706fc
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
157
      if (!invalid) {
Open commit View diff
157 if (!invalid) {
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
158
        var attr_to_merge = $(this).closest("form").serializeObject();
Open commit View diff
158 var attr_to_merge = $(this).closest("form").serializeObject();
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
159
        // parse possible JSON Strings
Open commit View diff
159 // parse possible JSON Strings
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
160
        for (var [key, value] of Object.entries(attr_to_merge)) {
Open commit View diff
160 for (var [key, value] of Object.entries(attr_to_merge)) {
FreddleSpl0it over 1 year ago aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
161
          if (typeof value === "string" && /^[\[\{"].*[\}\]"]$/.test(value.trim())) {
Open commit View diff
161 if (typeof value === "string" && /^[\[\{"].*[\}\]"]$/.test(value.trim())) {
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
162
            try {
Open commit View diff
162 try {
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
163
              attr_to_merge[key] = JSON.parse(attr_to_merge[key]);
Open commit View diff
163 attr_to_merge[key] = JSON.parse(attr_to_merge[key]);
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
164
            } catch {}
Open commit View diff
164 } catch {}
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
165
          }
Open commit View diff
165 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
166
        }
Open commit View diff
166 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
167
        var api_attr = $.extend(api_attr, attr_to_merge)
Open commit View diff
167 var api_attr = $.extend(api_attr, attr_to_merge)
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
168
      } else {
Open commit View diff
168 } else {
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
169
        return false;
Open commit View diff
169 return false;
same change 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
170
      }
Open commit View diff
170 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
171
    }
Open commit View diff
171 }
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
172
    // alert(JSON.stringify(api_attr));
Open commit View diff
172 // alert(JSON.stringify(api_attr));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
173
    // If clicked element #edit_selected has data-item attribute, it is added to "items"
Open commit View diff
173 // If clicked element #edit_selected has data-item attribute, it is added to "items"
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
174
    if (typeof $(this).data('item') !== 'undefined') {
Open commit View diff
174 if (typeof $(this).data('item') !== 'undefined') {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
175
      var id = $(this).data('id');
Open commit View diff
175 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
176
      if (typeof multi_data[id] == "undefined") {
Open commit View diff
176 if (typeof multi_data[id] == "undefined") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
177
        multi_data[id] = [];
Open commit View diff
177 multi_data[id] = [];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
178
      }
Open commit View diff
178 }
André about 8 years ago ca7ad29

[Web] Minor fix to api.js

Full commit hash
ca7ad2942ae834f86cc51e98cdcd38cc2aea2d0e
Author
André <[email protected]>
Date
about 8 years ago
Selected line
179
      multi_data[id].splice($.inArray($(this).data('item'), multi_data[id]), 1);
Open commit View diff
179 multi_data[id].splice($.inArray($(this).data('item'), multi_data[id]), 1);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
180
      multi_data[id].push($(this).data('item'));
Open commit View diff
180 multi_data[id].push($(this).data('item'));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
181
    }
Open commit View diff
181 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
182
    if (typeof multi_data[id] == "undefined") return;
Open commit View diff
182 if (typeof multi_data[id] == "undefined") return;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
183
    api_items = multi_data[id];
Open commit View diff
183 api_items = multi_data[id];
André Peters over 8 years ago 64dbd54

[Web] Fix urlencoded objects in api

Full commit hash
64dbd544784ccb6d40a4ff83d4934aae1cb0ef07
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
184
    for (var i in api_items) {
Open commit View diff
184 for (var i in api_items) {
same change 64dbd54

[Web] Fix urlencoded objects in api

Full commit hash
64dbd544784ccb6d40a4ff83d4934aae1cb0ef07
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
185
      api_items[i] = decodeURIComponent(api_items[i]);
Open commit View diff
185 api_items[i] = decodeURIComponent(api_items[i]);
same change 64dbd54

[Web] Fix urlencoded objects in api

Full commit hash
64dbd544784ccb6d40a4ff83d4934aae1cb0ef07
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
186
    }
Open commit View diff
186 }
andryyy about 9 years ago 84ad579

[Web] Initial ratelimit support, more API actions

Full commit hash
84ad579437d6e978923b4b82718867fdeb8c9b77
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
187
    // alert(JSON.stringify(api_attr));
Open commit View diff
187 // alert(JSON.stringify(api_attr));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
188
    if (Object.keys(api_items).length !== 0) {
Open commit View diff
188 if (Object.keys(api_items).length !== 0) {
andre.peters over 8 years ago 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
189
      if (is_active($(this))) { return false; }
Open commit View diff
189 if (is_active($(this))) { return false; }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
190
      $.ajax({
Open commit View diff
190 $.ajax({
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
191
        type: "POST",
Open commit View diff
191 type: "POST",
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
192
        dataType: "json",
Open commit View diff
192 dataType: "json",
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
193
        data: {
Open commit View diff
193 data: {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
194
          "items": JSON.stringify(api_items),
Open commit View diff
194 "items": JSON.stringify(api_items),
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
195
          "attr": JSON.stringify(api_attr),
Open commit View diff
195 "attr": JSON.stringify(api_attr),
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
196
          "csrf_token": csrf_token
Open commit View diff
196 "csrf_token": csrf_token
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
197
        },
Open commit View diff
197 },
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
198
        url: '/api/v1/' + api_url,
Open commit View diff
198 url: '/api/v1/' + api_url,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
199
        jsonp: false,
Open commit View diff
199 jsonp: false,
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
200
        complete: function(data) {
Open commit View diff
200 complete: function(data) {
André almost 9 years ago 8177576

[Web] Customize app menu and logo; Fix #671

Full commit hash
81775765d8c6ea6b4946f03d4ac9666697d854c3
Author
André <[email protected]>
Date
almost 9 years ago
Selected line
201
          var response = (data.responseText);
Open commit View diff
201 var response = (data.responseText);
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
202
          if (typeof response !== 'undefined' && response.length !== 0) {
Open commit View diff
202 if (typeof response !== 'undefined' && response.length !== 0) {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
203
            response_obj = JSON.parse(response);
Open commit View diff
203 response_obj = JSON.parse(response);
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
204
          }
Open commit View diff
204 }
André over 8 years ago 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
205
          if (api_reload_window === true) {
Open commit View diff
205 if (api_reload_window === true) {
André almost 8 years ago 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
206
            if (api_reload_location != '#') {
Open commit View diff
206 if (api_reload_location != '#') {
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
207
              window.location.replace(api_reload_location)
Open commit View diff
207 window.location.replace(api_reload_location)
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
208
            } else {
Open commit View diff
208 } else {
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
209
              window.location = window.location.href.split("#")[0];
Open commit View diff
209 window.location = window.location.href.split("#")[0];
same change 9f0be1d

[Web] Fix require_once to always include document root

Full commit hash
9f0be1d8a84b3077e23ec96921b1bea5815adb0a
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
210
            }
Open commit View diff
210 }
André over 8 years ago 85d1ee2

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

Full commit hash
85d1ee2f49ed350529fb3fd829268c4cdf8dfbd3
Author
André <[email protected]>
Date
over 8 years ago
Selected line
211
          }
Open commit View diff
211 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
212
        }
Open commit View diff
212 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
213
      });
Open commit View diff
213 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
214
    }
Open commit View diff
214 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
215
  });
Open commit View diff
215 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
216
Open commit View diff
216
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
217
  // General API add actions
Open commit View diff
217 // General API add actions
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
218
  $(document).on('click', "[data-action='add_item']", function(e) {
Open commit View diff
218 $(document).on('click', "[data-action='add_item']", function(e) {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
219
    e.preventDefault();
Open commit View diff
219 e.preventDefault();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
220
    var id = $(this).data('id');
Open commit View diff
220 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
221
    var api_url = $(this).data('api-url');
Open commit View diff
221 var api_url = $(this).data('api-url');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
222
    var api_attr = $(this).data('api-attr');
Open commit View diff
222 var api_attr = $(this).data('api-attr');
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
223
    if (typeof $(this).data('api-reload-window') !== 'undefined') {
Open commit View diff
223 if (typeof $(this).data('api-reload-window') !== 'undefined') {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
224
      api_reload_window = $(this).data('api-reload-window');
Open commit View diff
224 api_reload_window = $(this).data('api-reload-window');
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
225
    } else {
Open commit View diff
225 } else {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
226
      api_reload_window = true;
Open commit View diff
226 api_reload_window = true;
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
227
    }
Open commit View diff
227 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
228
    // If clicked button is in a form with the same data-id as the button,
Open commit View diff
228 // If clicked button is in a form with the same data-id as the button,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
229
    // we merge all input fields by {"name":"value"} into api-attr
Open commit View diff
229 // we merge all input fields by {"name":"value"} into api-attr
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
230
    if ($(this).closest("form").data('id') == id) {
Open commit View diff
230 if ($(this).closest("form").data('id') == id) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
231
      var invalid = false;
Open commit View diff
231 var invalid = false;
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
232
      $(this).closest("form").find('select, textarea, input').each(function() {
Open commit View diff
232 $(this).closest("form").find('select, textarea, input').each(function() {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
233
        if ($(this).prop('required')) {
Open commit View diff
233 if ($(this).prop('required')) {
andryyy almost 9 years ago 8741b5f

[Compose] Enable some minimal inits, change or remove some health checks

Full commit hash
8741b5f3b1e6613a39bb008aa70adab65c0a05e1
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
234
          if (!$(this).val() && $(this).prop('disabled') === false) {
Open commit View diff
234 if (!$(this).val() && $(this).prop('disabled') === false) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
235
            invalid = true;
Open commit View diff
235 invalid = true;
andryyy over 5 years ago 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
236
            if ($(this).is("select")) {
Open commit View diff
236 if ($(this).is("select")) {
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
237
              $(this).selectpicker('setStyle', 'btn-input-missing', 'add');
Open commit View diff
237 $(this).selectpicker('setStyle', 'btn-input-missing', 'add');
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
238
            }
Open commit View diff
238 }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
239
            $(this).addClass('inputMissingAttr');
Open commit View diff
239 $(this).addClass('inputMissingAttr');
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
240
          } else {
Open commit View diff
240 } else {
andryyy over 5 years ago 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
241
            if ($(this).is("select")) {
Open commit View diff
241 if ($(this).is("select")) {
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
242
              $(this).selectpicker('setStyle', 'btn-input-missing', 'remove');
Open commit View diff
242 $(this).selectpicker('setStyle', 'btn-input-missing', 'remove');
same change 9d0d826

[Web] Highlight select boxes with missing required attrs

Full commit hash
9d0d826337a162d34a696aaa71affc0e7f86da16
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
243
            }
Open commit View diff
243 }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
244
            $(this).removeClass('inputMissingAttr');
Open commit View diff
244 $(this).removeClass('inputMissingAttr');
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
245
          }
Open commit View diff
245 }
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
246
        }
Open commit View diff
246 }
andryyy over 6 years ago 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
247
        if ($(this).attr("type") == 'email') {
Open commit View diff
247 if ($(this).attr("type") == 'email') {
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
248
          var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
Open commit View diff
248 var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
249
          if (!emailReg.test($(this).val())) {
Open commit View diff
249 if (!emailReg.test($(this).val())) {
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
250
            invalid = true;
Open commit View diff
250 invalid = true;
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
251
            $(this).addClass('inputMissingAttr');
Open commit View diff
251 $(this).addClass('inputMissingAttr');
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
252
          } else {
Open commit View diff
252 } else {
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
253
            $(this).removeClass('inputMissingAttr');
Open commit View diff
253 $(this).removeClass('inputMissingAttr');
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
254
          }
Open commit View diff
254 }
same change 157d257

[Web] Complain about non-email email fields

Full commit hash
157d2579e486adb9e29bc2fb78b011bb3d5051fb
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
255
        }
Open commit View diff
255 }
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
256
        if ($(this).attr("max")) {
Open commit View diff
256 if ($(this).attr("max")) {
andre.peters over 8 years ago c07e521

[Web] Fixes number validation in forms, fixes #882

Full commit hash
c07e521309561ed56166c84e0702e56831293857
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
257
          if (Number($(this).val()) > Number($(this).attr("max"))) {
Open commit View diff
257 if (Number($(this).val()) > Number($(this).attr("max"))) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
258
            invalid = true;
Open commit View diff
258 invalid = true;
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
259
            $(this).addClass('inputMissingAttr');
Open commit View diff
259 $(this).addClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
260
          } else {
Open commit View diff
260 } else {
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
261
            if ($(this).attr("min")) {
Open commit View diff
261 if ($(this).attr("min")) {
andre.peters over 8 years ago c07e521

[Web] Fixes number validation in forms, fixes #882

Full commit hash
c07e521309561ed56166c84e0702e56831293857
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
262
              if (Number($(this).val()) < Number($(this).attr("min"))) {
Open commit View diff
262 if (Number($(this).val()) < Number($(this).attr("min"))) {
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
263
                invalid = true;
Open commit View diff
263 invalid = true;
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
264
                $(this).addClass('inputMissingAttr');
Open commit View diff
264 $(this).addClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
265
              } else {
Open commit View diff
265 } else {
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
266
                $(this).removeClass('inputMissingAttr');
Open commit View diff
266 $(this).removeClass('inputMissingAttr');
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
267
              }
Open commit View diff
267 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
268
            }
Open commit View diff
268 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
269
          }
Open commit View diff
269 }
same change 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
270
        }
Open commit View diff
270 }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
271
      });
Open commit View diff
271 });
André over 8 years ago 60e9750

[Web, Dovecot] Show wether a sync job is running, validate min max input attr and validate these values

Full commit hash
60e97503f711ed776c68a8adaa0a5cd2c20fd1a0
Author
André <[email protected]>
Date
over 8 years ago
Selected line
272
      if (!invalid) {
Open commit View diff
272 if (!invalid) {
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
273
        var attr_to_merge = $(this).closest("form").serializeObject();
Open commit View diff
273 var attr_to_merge = $(this).closest("form").serializeObject();
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
274
        // parse possible JSON Strings
Open commit View diff
274 // parse possible JSON Strings
same change 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
275
        for (var [key, value] of Object.entries(attr_to_merge)) {
Open commit View diff
275 for (var [key, value] of Object.entries(attr_to_merge)) {
FreddleSpl0it over 1 year ago aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
276
          if (typeof value === "string" && /^[\[\{"].*[\}\]"]$/.test(value.trim())) {
Open commit View diff
276 if (typeof value === "string" && /^[\[\{"].*[\}\]"]$/.test(value.trim())) {
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
277
            try {
Open commit View diff
277 try {
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
278
              attr_to_merge[key] = JSON.parse(attr_to_merge[key]);
Open commit View diff
278 attr_to_merge[key] = JSON.parse(attr_to_merge[key]);
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
279
            } catch {}
Open commit View diff
279 } catch {}
same change aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
280
          }
Open commit View diff
280 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
281
        }
Open commit View diff
281 }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
282
        var api_attr = $.extend(api_attr, attr_to_merge)
Open commit View diff
282 var api_attr = $.extend(api_attr, attr_to_merge)
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
283
      } else {
Open commit View diff
283 } else {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
284
        return false;
Open commit View diff
284 return false;
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
285
      }
Open commit View diff
285 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
286
    }
Open commit View diff
286 }
andre.peters over 8 years ago 278f1c2

[Web] Restart SOGo after adding a new domain, fixes #864

Full commit hash
278f1c2a375a5202adf5c2eed587adaae81f0632
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
287
    if (is_active($(this))) { return false; }
Open commit View diff
287 if (is_active($(this))) { return false; }
andryyy almost 9 years ago 66e06a0

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

Full commit hash
66e06a0c0c31aacbca146718fbbd3a1165910f7f
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
288
    // alert(JSON.stringify(api_attr));
Open commit View diff
288 // alert(JSON.stringify(api_attr));
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
289
    $.ajax({
Open commit View diff
289 $.ajax({
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
290
      type: "POST",
Open commit View diff
290 type: "POST",
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
291
      dataType: "json",
Open commit View diff
291 dataType: "json",
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
292
      data: {
Open commit View diff
292 data: {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
293
        "attr": JSON.stringify(api_attr),
Open commit View diff
293 "attr": JSON.stringify(api_attr),
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
294
        "csrf_token": csrf_token
Open commit View diff
294 "csrf_token": csrf_token
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
295
      },
Open commit View diff
295 },
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
296
      url: '/api/v1/' + api_url,
Open commit View diff
296 url: '/api/v1/' + api_url,
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
297
      jsonp: false,
Open commit View diff
297 jsonp: false,
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
298
      complete: function(data) {
Open commit View diff
298 complete: function(data) {
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
299
        var response = (data.responseText);
Open commit View diff
299 var response = (data.responseText);
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
300
        if (typeof response !== 'undefined' && response.length !== 0) {
Open commit View diff
300 if (typeof response !== 'undefined' && response.length !== 0) {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
301
          response_obj = JSON.parse(response);
Open commit View diff
301 response_obj = JSON.parse(response);
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
302
          unset = true;
Open commit View diff
302 unset = true;
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
303
          $.each(response_obj, function(i, v) {
Open commit View diff
303 $.each(response_obj, function(i, v) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
304
            if (v.type == "danger") {
Open commit View diff
304 if (v.type == "danger") {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
305
              unset = false;
Open commit View diff
305 unset = false;
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
306
            }
Open commit View diff
306 }
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
307
          });
Open commit View diff
307 });
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
308
          if (unset === true) {
Open commit View diff
308 if (unset === true) {
same change a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
309
            unset = null;
Open commit View diff
309 unset = null;
andryyy over 6 years ago 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
310
            // Keep form data for sync jobs
Open commit View diff
310 // Keep form data for sync jobs
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
311
            if (id != "add_syncjob") {
Open commit View diff
311 if (id != "add_syncjob") {
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
312
              $('form').formcache('clear');
Open commit View diff
312 $('form').formcache('clear');
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
313
              $('form').formcache('destroy');
Open commit View diff
313 $('form').formcache('destroy');
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
314
              var i = localStorage.length;
Open commit View diff
314 var i = localStorage.length;
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
315
              while(i--) {
Open commit View diff
315 while(i--) {
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
316
                var key = localStorage.key(i);
Open commit View diff
316 var key = localStorage.key(i);
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
317
                if(/formcache/.test(key)) {
Open commit View diff
317 if(/formcache/.test(key)) {
same change 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
318
                  localStorage.removeItem(key);
Open commit View diff
318 localStorage.removeItem(key);
FreddleSpl0it over 1 year ago aac0a90

[Web] Fix JSON parsing issue for api requests

Full commit hash
aac0a900cea3e57dafc80a0593c3ea6cc5d95645
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
319
                }
Open commit View diff
319 }
andryyy over 6 years ago 1abd035

[Web] Keep modal data when adding a sync job

Full commit hash
1abd0357d72371bed48935b29687360f29675cce
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
320
              }
Open commit View diff
320 }
André almost 8 years ago a11cce6

[Web] Fixes for BCC map input fields

Full commit hash
a11cce67654e7cd8a268b58592a25801e710861d
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
321
            }
Open commit View diff
321 }
andre.peters over 8 years ago adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
322
          }
Open commit View diff
322 }
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
323
          else {
Open commit View diff
323 else {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
324
            var add_modal = $('.modal.in').attr('id');
Open commit View diff
324 var add_modal = $('.modal.in').attr('id');
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
325
            localStorage.setItem("add_modal", add_modal);
Open commit View diff
325 localStorage.setItem("add_modal", add_modal);
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
326
          }
Open commit View diff
326 }
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
327
        }
Open commit View diff
327 }
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
328
        if (api_reload_window === true) {
Open commit View diff
328 if (api_reload_window === true) {
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
329
          window.location = window.location.href.split("#")[0];
Open commit View diff
329 window.location = window.location.href.split("#")[0];
same change adc23d8

Various...

Full commit hash
adc23d86f9b16c77cde48c609c492e4cbaa29335
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
330
        }
Open commit View diff
330 }
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
331
      }
Open commit View diff
331 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
332
    });
Open commit View diff
332 });
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
333
  });
Open commit View diff
333 });
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
334
Open commit View diff
334
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
335
  // General API delete actions
Open commit View diff
335 // General API delete actions
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
336
  $(document).on('click', "[data-action='delete_selected']", function(e) {
Open commit View diff
336 $(document).on('click', "[data-action='delete_selected']", function(e) {
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
337
    e.preventDefault();
Open commit View diff
337 e.preventDefault();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
338
    var id = $(this).data('id');
Open commit View diff
338 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
339
    // If clicked element #delete_selected has data-item attribute, it is added to "items"
Open commit View diff
339 // If clicked element #delete_selected has data-item attribute, it is added to "items"
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
340
    if (typeof $(this).data('item') !== 'undefined') {
Open commit View diff
340 if (typeof $(this).data('item') !== 'undefined') {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
341
      var id = $(this).data('id');
Open commit View diff
341 var id = $(this).data('id');
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
342
      if (typeof multi_data[id] == "undefined") {
Open commit View diff
342 if (typeof multi_data[id] == "undefined") {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
343
        multi_data[id] = [];
Open commit View diff
343 multi_data[id] = [];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
344
      }
Open commit View diff
344 }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
345
      multi_data[id].splice($.inArray($(this).data('item'), multi_data[id]), 1);
Open commit View diff
345 multi_data[id].splice($.inArray($(this).data('item'), multi_data[id]), 1);
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
346
      multi_data[id].push($(this).data('item'));
Open commit View diff
346 multi_data[id].push($(this).data('item'));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
347
    }
Open commit View diff
347 }
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
348
Open commit View diff
348
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
349
    if (typeof $(this).data('text') !== 'undefined') {
Open commit View diff
349 if (typeof $(this).data('text') !== 'undefined') {
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
350
      $("#DeleteText").empty();
Open commit View diff
350 $("#DeleteText").empty();
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
351
      $("#DeleteText").text($(this).data('text'));
Open commit View diff
351 $("#DeleteText").text($(this).data('text'));
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
352
    }
Open commit View diff
352 }
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
353
    if (typeof multi_data[id] == "undefined" || multi_data[id] == "") return;
Open commit View diff
353 if (typeof multi_data[id] == "undefined" || multi_data[id] == "") return;
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
354
    data_array = multi_data[id];
Open commit View diff
354 data_array = multi_data[id];
same change fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
355
    api_url = $(this).data('api-url');
Open commit View diff
355 api_url = $(this).data('api-url');
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
356
    $(document).on('show.bs.modal', '#ConfirmDeleteModal', function() {
Open commit View diff
356 $(document).on('show.bs.modal', '#ConfirmDeleteModal', function() {
andryyy about 9 years ago 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
357
      $("#ItemsToDelete").empty();
Open commit View diff
357 $("#ItemsToDelete").empty();
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
358
      for (var i in data_array) {
Open commit View diff
358 for (var i in data_array) {
André Peters over 8 years ago 64dbd54

[Web] Fix urlencoded objects in api

Full commit hash
64dbd544784ccb6d40a4ff83d4934aae1cb0ef07
Author
André Peters <[email protected]>
Date
over 8 years ago
Selected line
359
        data_array[i] = decodeURIComponent(data_array[i]);
Open commit View diff
359 data_array[i] = decodeURIComponent(data_array[i]);
FreddleSpl0it about 4 years ago 549ff7d

Add Domain and Mailbox tagging (#4569)

Full commit hash
549ff7d100751837278e245cf3295e11eb85b667
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
360
        $("#ItemsToDelete").append("<li>" + escapeHtml(data_array[i]) + "</li>");
Open commit View diff
360 $("#ItemsToDelete").append("<li>" + escapeHtml(data_array[i]) + "</li>");
andryyy about 9 years ago 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
361
      }
Open commit View diff
361 }
same change 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
362
    })
Open commit View diff
362 })
FreddleSpl0it about 4 years ago cb6a5d4

[BS5] add responsive tabs and more

Full commit hash
cb6a5d40698e023e761c172d3fe5cf3e070c269b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
363
    $('#ConfirmDeleteModal').modal('show')
Open commit View diff
363 $('#ConfirmDeleteModal').modal('show')
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
364
      .one('click', '#IsConfirmed', function(e) {
Open commit View diff
364 .one('click', '#IsConfirmed', function(e) {
André almost 8 years ago 0fb43f4

[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)

Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
365
        if (is_active($('#IsConfirmed'))) { return false; }
Open commit View diff
365 if (is_active($('#IsConfirmed'))) { return false; }
andryyy about 9 years ago ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
366
        $.ajax({
Open commit View diff
366 $.ajax({
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
367
          type: "POST",
Open commit View diff
367 type: "POST",
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
368
          dataType: "json",
Open commit View diff
368 dataType: "json",
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
369
          cache: false,
Open commit View diff
369 cache: false,
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
370
          data: {
Open commit View diff
370 data: {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
371
            "items": JSON.stringify(data_array),
Open commit View diff
371 "items": JSON.stringify(data_array),
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
372
            "csrf_token": csrf_token
Open commit View diff
372 "csrf_token": csrf_token
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
373
          },
Open commit View diff
373 },
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
374
          url: '/api/v1/' + api_url,
Open commit View diff
374 url: '/api/v1/' + api_url,
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
375
          jsonp: false,
Open commit View diff
375 jsonp: false,
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
376
          complete: function(data) {
Open commit View diff
376 complete: function(data) {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
377
            window.location = window.location.href.split("#")[0];
Open commit View diff
377 window.location = window.location.href.split("#")[0];
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
378
          }
Open commit View diff
378 }
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
379
        });
Open commit View diff
379 });
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
380
      })
Open commit View diff
380 })
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
381
      .one('click', '#isCanceled', function(e) {
Open commit View diff
381 .one('click', '#isCanceled', function(e) {
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
382
        // Remove event handler to allow to close modal and restart dialog without multiple submits
Open commit View diff
382 // Remove event handler to allow to close modal and restart dialog without multiple submits
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
383
        $('#ConfirmDeleteModal').off();
Open commit View diff
383 $('#ConfirmDeleteModal').off();
same change ce6bf18

Web UI improvements

Full commit hash
ce6bf18c2f5351897eae091e55c3583805a15ad8
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
384
        $('#ConfirmDeleteModal').modal('hide');
Open commit View diff
384 $('#ConfirmDeleteModal').modal('hide');
andryyy about 9 years ago 56a9a09

Further migration

Full commit hash
56a9a09e2fb6ab8d13f4e8adc72d4e79f997b612
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
385
      });
Open commit View diff
385 });
andryyy about 9 years ago fd5a590

More structural changes

Full commit hash
fd5a59086b5f179af4a25376af0a06ecb3296288
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
386
  });
Open commit View diff
386 });
FreddleSpl0it almost 4 years ago 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
387
Open commit View diff
387
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
388
  // toggle jquery datatables child rows
Open commit View diff
388 // toggle jquery datatables child rows
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
389
  $('button[data-datatables-expand], a[data-datatables-expand]').on('click', function (e) {
Open commit View diff
389 $('button[data-datatables-expand], a[data-datatables-expand]').on('click', function (e) {
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
390
    e.preventDefault();
Open commit View diff
390 e.preventDefault();
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
391
    var tableId = e.target.getAttribute("data-datatables-expand");
Open commit View diff
391 var tableId = e.target.getAttribute("data-datatables-expand");
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
392
    var table = $("#" + tableId).DataTable();
Open commit View diff
392 var table = $("#" + tableId).DataTable();
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
393
    table.rows(':not(.parent)').nodes().to$().find('td:first-child').trigger('click');
Open commit View diff
393 table.rows(':not(.parent)').nodes().to$().find('td:first-child').trigger('click');
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
394
  });
Open commit View diff
394 });
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
395
  $('button[data-datatables-collapse], a[data-datatables-collapse]').on('click', function (e) {
Open commit View diff
395 $('button[data-datatables-collapse], a[data-datatables-collapse]').on('click', function (e) {
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
396
    e.preventDefault();
Open commit View diff
396 e.preventDefault();
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
397
    var tableId = e.target.getAttribute("data-datatables-collapse");
Open commit View diff
397 var tableId = e.target.getAttribute("data-datatables-collapse");
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
398
    var table = $("#" + tableId).DataTable();
Open commit View diff
398 var table = $("#" + tableId).DataTable();
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
399
    table.rows('.parent').nodes().to$().find('td:first-child').trigger('click');
Open commit View diff
399 table.rows('.parent').nodes().to$().find('td:first-child').trigger('click');
same change 645e8f4

shift datatable child toggle function to api.js

Full commit hash
645e8f426cd7f2a8b556541c426e76e142ebfed8
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
400
  });
Open commit View diff
400 });
andryyy over 7 years ago 07392b7

[Watchdog] Use stackoverflow.com for DNS check

Full commit hash
07392b7437cddbbe937c259bc91bbb1267c93ca2
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
401
});
Open commit View diff
401 });