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/templates/base.twig

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

base.twig on main
Author Date Commit Line Code
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
1
<!DOCTYPE html>
Open commit View diff
1 <!DOCTYPE html>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
2
<html lang="{{ mailcow_locale|default('en') }}">
Open commit View diff
2 <html lang="{{ mailcow_locale|default('en') }}">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
3
<head>
Open commit View diff
3 <head>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
4
  <meta charset="utf-8">
Open commit View diff
4 <meta charset="utf-8">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
Open commit View diff
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
6
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
Open commit View diff
6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
7
  <meta name="theme-color" content="#F5D76E"/>
Open commit View diff
7 <meta name="theme-color" content="#F5D76E"/>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
8
  <meta http-equiv="Referrer-Policy" content="same-origin">
Open commit View diff
8 <meta http-equiv="Referrer-Policy" content="same-origin">
Kristian Feldsam almost 5 years ago 7456eeb

[Web] ui texts - disabled escaping

Full commit hash
7456eeb737130bde9f15a44fa3fd62e1578ce18b
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
9
  <title>{{ ui_texts.title_name|raw }}</title>
Open commit View diff
9 <title>{{ ui_texts.title_name|raw }}</title>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
10
Open commit View diff
10
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
11
  <link rel="stylesheet" href="{{ css_path }}">
Open commit View diff
11 <link rel="stylesheet" href="{{ css_path }}">
FreddleSpl0it about 4 years ago 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
12
  <script>
Open commit View diff
12 <script>
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
13
    // check if darkmode is preferred by OS or set by localStorage
Open commit View diff
13 // check if darkmode is preferred by OS or set by localStorage
rezzorix 4 months ago 293b885

Fix theme localStorage collision with rspamd UI

Full commit hash
293b885a858deb4735a3ce59a02393a18b56163a
Author
rezzorix <[email protected]>
Date
4 months ago
Selected line
14
    if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches && localStorage.getItem("mailcow_theme") !== "light" ||
Open commit View diff
14 if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches && localStorage.getItem("mailcow_theme") !== "light" ||
same change 293b885

Fix theme localStorage collision with rspamd UI

Full commit hash
293b885a858deb4735a3ce59a02393a18b56163a
Author
rezzorix <[email protected]>
Date
4 months ago
Selected line
15
        localStorage.getItem("mailcow_theme") === "dark") {
Open commit View diff
15 localStorage.getItem("mailcow_theme") === "dark") {
FreddleSpl0it about 4 years ago 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
16
      var head  = document.getElementsByTagName('head')[0];
Open commit View diff
16 var head = document.getElementsByTagName('head')[0];
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
17
      var link  = document.createElement('link');
Open commit View diff
17 var link = document.createElement('link');
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
18
      link.id   = 'dark-mode-theme';
Open commit View diff
18 link.id = 'dark-mode-theme';
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
19
      link.rel  = 'stylesheet';
Open commit View diff
19 link.rel = 'stylesheet';
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
20
      link.type = 'text/css';
Open commit View diff
20 link.type = 'text/css';
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
21
      link.href = '/css/themes/mailcow-darkmode.css';
Open commit View diff
21 link.href = '/css/themes/mailcow-darkmode.css';
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
22
      head.appendChild(link);
Open commit View diff
22 head.appendChild(link);
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
23
    }
Open commit View diff
23 }
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
24
  </script>
Open commit View diff
24 </script>
same change 9d3a89d

[BS5] add darkmode

Full commit hash
9d3a89d362227662f76174b30585a894166f1877
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
25
Open commit View diff
25
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
26
  <link rel="shortcut icon" href="/favicon.png" type="image/png">
Open commit View diff
26 <link rel="shortcut icon" href="/favicon.png" type="image/png">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
27
  <link rel="icon" href="/favicon.png" type="image/png">
Open commit View diff
27 <link rel="icon" href="/favicon.png" type="image/png">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
28
</head>
Open commit View diff
28 </head>
FreddleSpl0it over 4 years ago a12538b

[BS5] layout fixes

Full commit hash
a12538b3a81da6964e662dcb34e279b181af4b59
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
29
<body>
Open commit View diff
29 <body>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
30
<div class="overlay"></div>
Open commit View diff
30 <div class="overlay"></div>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
31
{% block navbar %}
Open commit View diff
31 {% block navbar %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
32
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top p-0">
Open commit View diff
32 <nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top p-0">
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
33
  <div class="container-fluid">
Open commit View diff
33 <div class="container-fluid">
Kristian Feldsam almost 3 years ago 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
34
    <a class="navbar-brand" href="/">
Open commit View diff
34 <a class="navbar-brand" href="/">
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
35
      <img class="main-logo" alt="mailcow-logo" src="{{ logo|default('/img/cow_mailcow.svg') }}">
Open commit View diff
35 <img class="main-logo" alt="mailcow-logo" src="{{ logo|default('/img/cow_mailcow.svg') }}">
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
36
      <img class="main-logo-dark" alt="mailcow-logo-dark" src="{{ logo_dark|default('/img/cow_mailcow.svg') }}">
Open commit View diff
36 <img class="main-logo-dark" alt="mailcow-logo-dark" src="{{ logo_dark|default('/img/cow_mailcow.svg') }}">
same change 3540075

[Web] dark mode logo support

Full commit hash
3540075b61606a11c9f2801283ab7280640410dc
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
37
    </a>
Open commit View diff
37 </a>
FreddleSpl0it over 4 years ago 7075b9f

[BS5] mobile navbar fix

Full commit hash
7075b9f0c0adc17b17fe3705780a783938d218f6
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
38
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
Open commit View diff
38 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
FreddleSpl0it about 4 years ago 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
39
      <i class="bi bi-list fs-3"></i>
Open commit View diff
39 <i class="bi bi-list fs-3"></i>
FreddleSpl0it over 4 years ago 7075b9f

[BS5] mobile navbar fix

Full commit hash
7075b9f0c0adc17b17fe3705780a783938d218f6
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
40
    </button>
Open commit View diff
40 </button>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
41
    <div id="navbar" class="navbar-collapse collapse">
Open commit View diff
41 <div id="navbar" class="navbar-collapse collapse">
FreddleSpl0it over 4 years ago 051d08b

[BS5] bug fixes

Full commit hash
051d08b499acdf7d767dc5dcc9062326416f2bba
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
42
      <ul class="navbar-nav ms-auto">
Open commit View diff
42 <ul class="navbar-nav ms-auto">
FreddleSpl0it about 4 years ago 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
43
        <li class="nav-item">
Open commit View diff
43 <li class="nav-item">
same change 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
44
          <div class="nav-link form-check form-switch my-auto d-flex align-items-center">
Open commit View diff
44 <div class="nav-link form-check form-switch my-auto d-flex align-items-center">
same change 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
45
            <label class="form-check-label"><i class="bi bi-moon-fill"></i></label>
Open commit View diff
45 <label class="form-check-label"><i class="bi bi-moon-fill"></i></label>
same change 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
46
            <input class="form-check-input ms-2" type="checkbox" id="dark-mode-toggle">
Open commit View diff
46 <input class="form-check-input ms-2" type="checkbox" id="dark-mode-toggle">
same change 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
47
          </div>
Open commit View diff
47 </div>
same change 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
48
        </li>
Open commit View diff
48 </li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
49
        {% if mailcow_locale %}
Open commit View diff
49 {% if mailcow_locale %}
DerLinkman almost 4 years ago 5cb7f72

Fixed changes due to BS5 Classes

Full commit hash
5cb7f726bc09711ad7559efc05d66c1b26dd12fc
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
50
        <li class="nav-item dropdown{% if available_languages|length == 1 %}lang-link-disabled{% endif %}">
Open commit View diff
50 <li class="nav-item dropdown{% if available_languages|length == 1 %}lang-link-disabled{% endif %}">
same change 5cb7f72

Fixed changes due to BS5 Classes

Full commit hash
5cb7f726bc09711ad7559efc05d66c1b26dd12fc
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
51
          <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false"><span class="flag-icon flag-icon-{{ mailcow_locale[-2:] }}"></span></a>
Open commit View diff
51 <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false"><span class="flag-icon flag-icon-{{ mailcow_locale[-2:] }}"></span></a>
same change 5cb7f72

Fixed changes due to BS5 Classes

Full commit hash
5cb7f726bc09711ad7559efc05d66c1b26dd12fc
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
52
          <ul class="dropdown-menu" role="menu "aria-labelledby="languageDropdown">
Open commit View diff
52 <ul class="dropdown-menu" role="menu "aria-labelledby="languageDropdown">
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
53
            {% for key, val in available_languages %}
Open commit View diff
53 {% for key, val in available_languages %}
DerLinkman almost 4 years ago 5cb7f72

Fixed changes due to BS5 Classes

Full commit hash
5cb7f726bc09711ad7559efc05d66c1b26dd12fc
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
54
            <li>
Open commit View diff
54 <li>
same change 5cb7f72

Fixed changes due to BS5 Classes

Full commit hash
5cb7f726bc09711ad7559efc05d66c1b26dd12fc
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
55
              <a class="dropdown-item {% if mailcow_locale == key %}active{% endif %}" href="?{{ query_string({'lang': key}) }}">
Open commit View diff
55 <a class="dropdown-item {% if mailcow_locale == key %}active{% endif %}" href="?{{ query_string({'lang': key}) }}">
DerLinkman almost 4 years ago a334f33

Merge PR 4657 into language-change

Full commit hash
a334f33b35531885d115256dcadb47c5a76971af
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
56
                <span class="flag-icon flag-icon-{{ key[-2:] }}"></span>{{ val }}
Open commit View diff
56 <span class="flag-icon flag-icon-{{ key[-2:] }}"></span>{{ val }}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
57
              </a>
Open commit View diff
57 </a>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
58
            </li>
Open commit View diff
58 </li>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
59
            {% endfor %}
Open commit View diff
59 {% endfor %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
60
          </ul>
Open commit View diff
60 </ul>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
61
        </li>
Open commit View diff
61 </li>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
62
        {% endif %}
Open commit View diff
62 {% endif %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
63
Open commit View diff
63
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
64
        {% if mailcow_cc_role %}
Open commit View diff
64 {% if mailcow_cc_role %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
65
        {% if mailcow_cc_role == 'admin' %}
Open commit View diff
65 {% if mailcow_cc_role == 'admin' %}
FreddleSpl0it over 4 years ago 1d8da11

[BS5] change bootstrap navbar

Full commit hash
1d8da117d6d168a8a67849611e08cdef2adc6726
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
66
        <li class="nav-item dropdown">
Open commit View diff
66 <li class="nav-item dropdown">
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
67
          <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.mailcow_system }}</a>
Open commit View diff
67 <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.mailcow_system }}</a>
FreddleSpl0it over 4 years ago 1d8da11

[BS5] change bootstrap navbar

Full commit hash
1d8da117d6d168a8a67849611e08cdef2adc6726
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
68
          <ul class="dropdown-menu">
Open commit View diff
68 <ul class="dropdown-menu">
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
69
            <li><a href="/admin/dashboard" class="dropdown-item {% if is_uri('dashboard') %}active{% endif %}">{{ lang.header.debug }}</a></li>
Open commit View diff
69 <li><a href="/admin/dashboard" class="dropdown-item {% if is_uri('dashboard') %}active{% endif %}">{{ lang.header.debug }}</a></li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
70
            <li><a href="/admin/system" class="dropdown-item {% if is_uri('system') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
Open commit View diff
70 <li><a href="/admin/system" class="dropdown-item {% if is_uri('system') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
71
          </ul>
Open commit View diff
71 </ul>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
72
        </li>
Open commit View diff
72 </li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
73
        <li class="nav-item dropdown">
Open commit View diff
73 <li class="nav-item dropdown">
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
74
          <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.email }}</a>
Open commit View diff
74 <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.email }}</a>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
75
          <ul class="dropdown-menu">
Open commit View diff
75 <ul class="dropdown-menu">
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
76
            <li><a href="/admin/mailbox" class="dropdown-item {% if is_uri('mailbox') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
Open commit View diff
76 <li><a href="/admin/mailbox" class="dropdown-item {% if is_uri('mailbox') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
77
            <li><a href="/quarantine" class="dropdown-item {% if is_uri('quarantine') %}active{% endif %}">{{ lang.header.quarantine }}</a></li>
Open commit View diff
77 <li><a href="/quarantine" class="dropdown-item {% if is_uri('quarantine') %}active{% endif %}">{{ lang.header.quarantine }}</a></li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
78
            <li><a href="/admin/queue" class="dropdown-item {% if is_uri('queue') %}active{% endif %}">{{ lang.queue.queue_manager }}</a></li>
Open commit View diff
78 <li><a href="/admin/queue" class="dropdown-item {% if is_uri('queue') %}active{% endif %}">{{ lang.queue.queue_manager }}</a></li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
79
            <li><a href="#" class="dropdown-item" data-bs-toggle="modal" data-container="sogo-mailcow" data-bs-target="#RestartContainer">{{ lang.header.restart_sogo }}</a></li>
Open commit View diff
79 <li><a href="#" class="dropdown-item" data-bs-toggle="modal" data-container="sogo-mailcow" data-bs-target="#RestartContainer">{{ lang.header.restart_sogo }}</a></li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
80
          </ul>
Open commit View diff
80 </ul>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
81
        </li>
Open commit View diff
81 </li>
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
82
        {% endif %}
Open commit View diff
82 {% endif %}
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
83
        {% if mailcow_cc_role == 'domainadmin' %}
Open commit View diff
83 {% if mailcow_cc_role == 'domainadmin' %}
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
84
        <li class="nav-item dropdown">
Open commit View diff
84 <li class="nav-item dropdown">
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
85
          <a href="/domainadmin/user" class="nav-link" role="button" aria-expanded="false">{{ lang.header.user_settings }}</a>
Open commit View diff
85 <a href="/domainadmin/user" class="nav-link" role="button" aria-expanded="false">{{ lang.header.user_settings }}</a>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
86
        </li>
Open commit View diff
86 </li>
same change aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
87
        {% elseif mailcow_cc_role == 'user' %}
Open commit View diff
87 {% elseif mailcow_cc_role == 'user' %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
88
        <li class="nav-item dropdown">
Open commit View diff
88 <li class="nav-item dropdown">
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
89
          <a href="/user" class="nav-link" role="button" aria-expanded="false">{{ lang.header.user_settings }}</a>
Open commit View diff
89 <a href="/user" class="nav-link" role="button" aria-expanded="false">{{ lang.header.user_settings }}</a>
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
90
        </li>
Open commit View diff
90 </li>
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
91
        {% endif %}
Open commit View diff
91 {% endif %}
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
92
Open commit View diff
92
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
93
        {% if mailcow_cc_role == 'domainadmin' %}
Open commit View diff
93 {% if mailcow_cc_role == 'domainadmin' %}
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
94
        <li class="nav-item dropdown">
Open commit View diff
94 <li class="nav-item dropdown">
DerLinkman almost 4 years ago e5d7884

Rearranged Queue Manager + Ukraine Flag fix

Full commit hash
e5d788497a12574e4e40f81518953d643ba71590
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
95
          <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.email }}</a>
Open commit View diff
95 <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false">{{ lang.header.email }}</a>
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
96
          <ul class="dropdown-menu">
Open commit View diff
96 <ul class="dropdown-menu">
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
97
            <li><a href="/domainadmin/mailbox" class="dropdown-item {% if is_uri('mailbox') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
Open commit View diff
97 <li><a href="/domainadmin/mailbox" class="dropdown-item {% if is_uri('mailbox') %}active{% endif %}">{{ lang.header.mailcow_config }}</a></li>
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
98
            <li><a href="/quarantine" class="dropdown-item {% if is_uri('quarantine') %}active{% endif %}">{{ lang.header.quarantine }}</a></li>
Open commit View diff
98 <li><a href="/quarantine" class="dropdown-item {% if is_uri('quarantine') %}active{% endif %}">{{ lang.header.quarantine }}</a></li>
same change d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
99
          </ul>
Open commit View diff
99 </ul>
same change d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
100
        </li>
Open commit View diff
100 </li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
101
        {% endif %}
Open commit View diff
101 {% endif %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
102
Open commit View diff
102
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
103
        {% if mailcow_cc_role == 'user' %}
Open commit View diff
103 {% if mailcow_cc_role == 'user' %}
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
104
        <li class="nav-item dropdown">
Open commit View diff
104 <li class="nav-item dropdown">
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
105
          <a href="/quarantine" class="nav-link">{{ lang.header.quarantine }}</a>
Open commit View diff
105 <a href="/quarantine" class="nav-link">{{ lang.header.quarantine }}</a>
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
106
        </li>
Open commit View diff
106 </li>
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
107
        {% endif %}
Open commit View diff
107 {% endif %}
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
108
        {% endif %}
Open commit View diff
108 {% endif %}
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
109
Open commit View diff
109
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
110
        {% if mailcow_apps_processed or app_links %}
Open commit View diff
110 {% if mailcow_apps_processed or app_links %}
FreddleSpl0it over 4 years ago 1d8da11

[BS5] change bootstrap navbar

Full commit hash
1d8da117d6d168a8a67849611e08cdef2adc6726
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
111
        <li class="nav-item dropdown">
Open commit View diff
111 <li class="nav-item dropdown">
FreddleSpl0it about 4 years ago 7384aab

[BS5] fix minor issues

Full commit hash
7384aab2f45f9e1d2fd111cbbe51cd46e5614fde
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
112
          <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false"><i class="bi bi-link-45deg me-2"></i> {{ ui_texts.apps_name|raw }}</a>
Open commit View diff
112 <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false"><i class="bi bi-link-45deg me-2"></i> {{ ui_texts.apps_name|raw }}</a>
FreddleSpl0it over 4 years ago 1d8da11

[BS5] change bootstrap navbar

Full commit hash
1d8da117d6d168a8a67849611e08cdef2adc6726
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
113
          <ul class="dropdown-menu">
Open commit View diff
113 <ul class="dropdown-menu">
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
114
            {% for app in mailcow_apps_processed %}
Open commit View diff
114 {% for app in mailcow_apps_processed %}
same change 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
115
              {% if not skip_sogo or not is_uri('SOGo', app.user_link) %}
Open commit View diff
115 {% if not skip_sogo or not is_uri('SOGo', app.user_link) %}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
116
              <li {% if app.description %}title="{{ app.description }}"{% endif %}>
Open commit View diff
116 <li {% if app.description %}title="{{ app.description }}"{% endif %}>
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
117
                <a href="{{ app.user_link }}" class="dropdown-item">{{ app.name }}</a>
Open commit View diff
117 <a href="{{ app.user_link }}" class="dropdown-item">{{ app.name }}</a>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
118
              </li>
Open commit View diff
118 </li>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
119
              {% endif %}
Open commit View diff
119 {% endif %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
120
            {% endfor %}
Open commit View diff
120 {% endfor %}
FreddleSpl0it over 1 year ago 6f9c8de

[Web] Support old style app links

Full commit hash
6f9c8deab76a652f23d2db18df7c1b43019765c3
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
121
            {% for row in app_links_processed %}
Open commit View diff
121 {% for row in app_links_processed %}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
122
              {% for key, val in row %}
Open commit View diff
122 {% for key, val in row %}
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
123
              <li><a href="{{ val.user_link }}" class="dropdown-item">{{ key }}</a></li>
Open commit View diff
123 <li><a href="{{ val.user_link }}" class="dropdown-item">{{ key }}</a></li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
124
              {% endfor %}
Open commit View diff
124 {% endfor %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
125
            {% endfor %}
Open commit View diff
125 {% endfor %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
126
          </ul>
Open commit View diff
126 </ul>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
127
        </li>
Open commit View diff
127 </li>
Kristian Feldsam over 4 years ago 7e27086

[Web] show "apps" only if there are any

Full commit hash
7e2708686fe28f7a2a1d3dce9c3ca21b259d0884
Author
Kristian Feldsam <[email protected]>
Date
over 4 years ago
Selected line
128
        {% endif %}
Open commit View diff
128 {% endif %}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
129
        {% if not dual_login and mailcow_cc_username %}
Open commit View diff
129 {% if not dual_login and mailcow_cc_username %}
FreddleSpl0it about 4 years ago 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
130
        <li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }}</b> <i class="bi bi-power ms-2"></i></a></li>
Open commit View diff
130 <li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }}</b> <i class="bi bi-power ms-2"></i></a></li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
131
        {% elseif dual_login %}
Open commit View diff
131 {% elseif dual_login %}
FreddleSpl0it about 4 years ago 052959f

[BS5] remove ui theme selector - add darkmode toggler

Full commit hash
052959f435fd0219dd21c3912cda8ae406d081e4
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
132
        <li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }} <span class="text-info">({{ dual_login.username }})</span> </b><i class="bi bi-power ms-2"></i></a></li>
Open commit View diff
132 <li class="logged-in-as nav-item"><a href="#" onclick="logout.submit()" class="nav-link"><b class="username-lia">{{ mailcow_cc_username }} <span class="text-info">({{ dual_login.username }})</span> </b><i class="bi bi-power ms-2"></i></a></li>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
133
        {% endif %}
Open commit View diff
133 {% endif %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
134
        {% if not is_master %}
Open commit View diff
134 {% if not is_master %}
DerLinkman over 2 years ago cf9f02a

ui: fix alignment secondary

Full commit hash
cf9f02adbbec76ae39457952dfb88ec5acce5129
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
135
        <div class="nav-link form-check form-switch my-auto d-flex align-items-center">
Open commit View diff
135 <div class="nav-link form-check form-switch my-auto d-flex align-items-center">
same change cf9f02a

ui: fix alignment secondary

Full commit hash
cf9f02adbbec76ae39457952dfb88ec5acce5129
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
136
            <li class="slave-info">[ slave ]</li>
Open commit View diff
136 <li class="slave-info">[ slave ]</li>
same change cf9f02a

ui: fix alignment secondary

Full commit hash
cf9f02adbbec76ae39457952dfb88ec5acce5129
Author
DerLinkman <[email protected]>
Date
over 2 years ago
Selected line
137
        </div>
Open commit View diff
137 </div>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
138
        {% endif %}
Open commit View diff
138 {% endif %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
139
      </ul>
Open commit View diff
139 </ul>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
140
    </div><!--/.nav-collapse -->
Open commit View diff
140 </div><!--/.nav-collapse -->
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
141
  </div><!--/.container-fluid -->
Open commit View diff
141 </div><!--/.container-fluid -->
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
142
</nav>
Open commit View diff
142 </nav>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
143
{% endblock navbar %}
Open commit View diff
143 {% endblock navbar %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
144
Open commit View diff
144
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
145
<form action="/" method="post" id="logout"><input type="hidden" name="logout"></form>
Open commit View diff
145 <form action="/" method="post" id="logout"><input type="hidden" name="logout"></form>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
146
Open commit View diff
146
Copilot 7 months ago 3ebf2c2

Prevent duplicate/plaintext login announcement rendering (#6963)

Full commit hash
3ebf2c2d2db44195ed6b3c4d4e5cd08446fba9eb
Author
Copilot <[email protected]>
Date
7 months ago
Selected line
147
{% if ui_texts.ui_announcement_text and ui_texts.ui_announcement_active and not is_root_uri and mailcow_cc_username %}
Open commit View diff
147 {% if ui_texts.ui_announcement_text and ui_texts.ui_announcement_active and not is_root_uri and mailcow_cc_username %}
FreddleSpl0it almost 4 years ago 3b8e17c

fix layout issues

Full commit hash
3b8e17c21ff9080f097b1c331bb572e803d7a645
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
148
<div class="container mt-4">
Open commit View diff
148 <div class="container mt-4">
Kristian Feldsam almost 5 years ago 40b5ed4

[web] fix annoucements and notifications close #4292

Full commit hash
40b5ed4d7246bb868282c6381802e4dad04a452f
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
149
  <div class="alert alert-{{ ui_texts.ui_announcement_type }}">{{ ui_texts.ui_announcement_text }}</div>
Open commit View diff
149 <div class="alert alert-{{ ui_texts.ui_announcement_type }}">{{ ui_texts.ui_announcement_text }}</div>
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
150
</div>
Open commit View diff
150 </div>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
151
{% endif %}
Open commit View diff
151 {% endif %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
152
Open commit View diff
152
FreddleSpl0it over 3 years ago 415c1d0

[Web] add seperate link for logged in users

Full commit hash
415c1d057499a4f927d4eb4edbca467785fee6a7
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
153
<div class="container flex-grow-1 my-4">
Open commit View diff
153 <div class="container flex-grow-1 my-4">
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
154
{% block content %}{% endblock %}
Open commit View diff
154 {% block content %}{% endblock %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
155
</div>
Open commit View diff
155 </div>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
156
Open commit View diff
156
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
157
{% include 'modals/footer.twig' %}
Open commit View diff
157 {% include 'modals/footer.twig' %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
158
Open commit View diff
158
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
159
<script src="{{ js_path }}"></script>
Open commit View diff
159 <script src="{{ js_path }}"></script>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
160
<script>
Open commit View diff
160 <script>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
161
  var lang_footer = {{ lang_footer|raw }};
Open commit View diff
161 var lang_footer = {{ lang_footer|raw }};
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
162
  var lang_acl = {{ lang_acl|raw }};
Open commit View diff
162 var lang_acl = {{ lang_acl|raw }};
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
163
  var lang_tfa = {{ lang_tfa|raw }};
Open commit View diff
163 var lang_tfa = {{ lang_tfa|raw }};
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
164
  var lang_fido2 = {{ lang_fido2|raw }};
Open commit View diff
164 var lang_fido2 = {{ lang_fido2|raw }};
FreddleSpl0it over 3 years ago 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
165
  var lang_success = {{ lang_success|raw }};
Open commit View diff
165 var lang_success = {{ lang_success|raw }};
same change 6e9980b

[Web] add manage identity provider

Full commit hash
6e9980bf0f8b16420cc884e12889b074c7b8bc79
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
166
  var lang_danger = {{ lang_danger|raw }};
Open commit View diff
166 var lang_danger = {{ lang_danger|raw }};
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
167
  var docker_timeout = {{ docker_timeout|raw }} * 1000;
Open commit View diff
167 var docker_timeout = {{ docker_timeout|raw }} * 1000;
FreddleSpl0it almost 4 years ago 77e6124

[BS5] move showWhatsNewModal

Full commit hash
77e6124b00958abaf85da8788430658d150bbc26
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
168
  var mailcow_cc_role = '{{ mailcow_cc_role }}';
Open commit View diff
168 var mailcow_cc_role = '{{ mailcow_cc_role }}';
FreddleSpl0it 11 months ago 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
169
  {% if mailcow_cc_username %}
Open commit View diff
169 {% if mailcow_cc_username %}
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
170
  var mailcow_info = {
Open commit View diff
170 var mailcow_info = {
same change d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
171
    version_tag: '{{ mailcow_info.version_tag }}',
Open commit View diff
171 version_tag: '{{ mailcow_info.version_tag }}',
same change d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
172
    last_version_tag: '{{ mailcow_info.last_version_tag }}',
Open commit View diff
172 last_version_tag: '{{ mailcow_info.last_version_tag }}',
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
173
    updatedAt: '{{ mailcow_info.updated_at }}',
Open commit View diff
173 updatedAt: '{{ mailcow_info.updated_at }}',
FreddleSpl0it over 3 years ago 0cdb1e6

change git_project_url var for base.twig

Full commit hash
0cdb1e638d8815f3f124d6b32ff01cfde9359f8e
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
174
    project_url: '{{ mailcow_info.git_project_url }}',
Open commit View diff
174 project_url: '{{ mailcow_info.git_project_url }}',
FreddleSpl0it over 3 years ago 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
175
    project_owner: '{{ mailcow_info.git_owner }}',
Open commit View diff
175 project_owner: '{{ mailcow_info.git_owner }}',
same change 79982e0

add template feature for domains and mailboxes

Full commit hash
79982e0e8da146a60b69c68a43828004dc9d593b
Author
FreddleSpl0it <[email protected]>
Date
over 3 years ago
Selected line
176
    project_repo: '{{ mailcow_info.git_repo }}',
Open commit View diff
176 project_repo: '{{ mailcow_info.git_repo }}',
FreddleSpl0it almost 4 years ago 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
177
    branch: '{{ mailcow_info.mailcow_branch }}'
Open commit View diff
177 branch: '{{ mailcow_info.mailcow_branch }}'
FreddleSpl0it about 4 years ago d3cd219

[BS5] rearrange nav items

Full commit hash
d3cd21956a2702350d933459476a347cc963d5ae
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
178
  };
Open commit View diff
178 };
FreddleSpl0it 11 months ago 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
179
  {% else %}
Open commit View diff
179 {% else %}
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
180
  var mailcow_info = {
Open commit View diff
180 var mailcow_info = {
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
181
    version_tag: '',
Open commit View diff
181 version_tag: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
182
    last_version_tag: '',
Open commit View diff
182 last_version_tag: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
183
    updatedAt: '',
Open commit View diff
183 updatedAt: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
184
    project_url: '',
Open commit View diff
184 project_url: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
185
    project_owner: '',
Open commit View diff
185 project_owner: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
186
    project_repo: '',
Open commit View diff
186 project_repo: '',
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
187
    branch: ''
Open commit View diff
187 branch: ''
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
188
  };
Open commit View diff
188 };
same change 1e192e1

[Web] Only include mailcow_info in JS when mailcow_cc_username is set

Full commit hash
1e192e14f4e16d7644a7efd5594e5c31f70a0fe4
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
189
  {% endif %}
Open commit View diff
189 {% endif %}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
190
Open commit View diff
190
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
191
$(window).scroll(function() {
Open commit View diff
191 $(window).scroll(function() {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
192
  sessionStorage.scrollTop = $(this).scrollTop();
Open commit View diff
192 sessionStorage.scrollTop = $(this).scrollTop();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
193
});
Open commit View diff
193 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
194
// Select language and reopen active URL without POST
Open commit View diff
194 // Select language and reopen active URL without POST
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
195
function setLang(sel) {
Open commit View diff
195 function setLang(sel) {
FreddleSpl0it 4 months ago 8c039f6

Improve template URI escaping and parameter handling

Full commit hash
8c039f694fe3cd7a736249b4e017def1414c47e9
Author
FreddleSpl0it <[email protected]>
Date
4 months ago
Selected line
196
  $.post( '{{ uri|escape("js") }}', {lang: sel} );
Open commit View diff
196 $.post( '{{ uri|escape("js") }}', {lang: sel} );
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
197
  window.location.href = window.location.pathname + window.location.search;
Open commit View diff
197 window.location.href = window.location.pathname + window.location.search;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
198
}
Open commit View diff
198 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
199
// FIDO2 functions
Open commit View diff
199 // FIDO2 functions
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
200
function arrayBufferToBase64(buffer) {
Open commit View diff
200 function arrayBufferToBase64(buffer) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
201
  let binary = '';
Open commit View diff
201 let binary = '';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
202
  let bytes = new Uint8Array(buffer);
Open commit View diff
202 let bytes = new Uint8Array(buffer);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
203
  let len = bytes.byteLength;
Open commit View diff
203 let len = bytes.byteLength;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
204
  for (let i = 0; i < len; i++) {
Open commit View diff
204 for (let i = 0; i < len; i++) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
205
    binary += String.fromCharCode( bytes[ i ] );
Open commit View diff
205 binary += String.fromCharCode( bytes[ i ] );
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
206
  }
Open commit View diff
206 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
207
  return window.btoa(binary);
Open commit View diff
207 return window.btoa(binary);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
208
}
Open commit View diff
208 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
209
function recursiveBase64StrToArrayBuffer(obj) {
Open commit View diff
209 function recursiveBase64StrToArrayBuffer(obj) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
210
  let prefix = '=?BINARY?B?';
Open commit View diff
210 let prefix = '=?BINARY?B?';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
211
  let suffix = '?=';
Open commit View diff
211 let suffix = '?=';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
212
  if (typeof obj === 'object') {
Open commit View diff
212 if (typeof obj === 'object') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
213
    for (let key in obj) {
Open commit View diff
213 for (let key in obj) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
214
      if (typeof obj[key] === 'string') {
Open commit View diff
214 if (typeof obj[key] === 'string') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
215
        let str = obj[key];
Open commit View diff
215 let str = obj[key];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
216
        if (str.substring(0, prefix.length) === prefix && str.substring(str.length - suffix.length) === suffix) {
Open commit View diff
216 if (str.substring(0, prefix.length) === prefix && str.substring(str.length - suffix.length) === suffix) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
217
          str = str.substring(prefix.length, str.length - suffix.length);
Open commit View diff
217 str = str.substring(prefix.length, str.length - suffix.length);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
218
          let binary_string = window.atob(str);
Open commit View diff
218 let binary_string = window.atob(str);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
219
          let len = binary_string.length;
Open commit View diff
219 let len = binary_string.length;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
220
          let bytes = new Uint8Array(len);
Open commit View diff
220 let bytes = new Uint8Array(len);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
221
          for (let i = 0; i < len; i++) {
Open commit View diff
221 for (let i = 0; i < len; i++) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
222
            bytes[i] = binary_string.charCodeAt(i);
Open commit View diff
222 bytes[i] = binary_string.charCodeAt(i);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
223
          }
Open commit View diff
223 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
224
          obj[key] = bytes.buffer;
Open commit View diff
224 obj[key] = bytes.buffer;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
225
        }
Open commit View diff
225 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
226
      } else {
Open commit View diff
226 } else {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
227
        recursiveBase64StrToArrayBuffer(obj[key]);
Open commit View diff
227 recursiveBase64StrToArrayBuffer(obj[key]);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
228
      }
Open commit View diff
228 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
229
    }
Open commit View diff
229 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
230
  }
Open commit View diff
230 }
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
231
}
Open commit View diff
231 }
FreddleSpl0it over 4 years ago 1e48fb8

[BS5] change jquery $(window).load

Full commit hash
1e48fb8cdaecb7970d957dbda0c953f2545e93d4
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
232
  $(window).on('load', function() {
Open commit View diff
232 $(window).on('load', function() {
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
233
    $(".overlay").hide();
Open commit View diff
233 $(".overlay").hide();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
234
  });
Open commit View diff
234 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
235
  $(document).ready(function() {
Open commit View diff
235 $(document).ready(function() {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
236
    $(document).on('shown.bs.modal', function(e) {
Open commit View diff
236 $(document).on('shown.bs.modal', function(e) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
237
      modal_id = $(e.relatedTarget).data('target');
Open commit View diff
237 modal_id = $(e.relatedTarget).data('target');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
238
      $(modal_id).attr("aria-hidden","false");
Open commit View diff
238 $(modal_id).attr("aria-hidden","false");
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
239
    });
Open commit View diff
239 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
240
    // TFA, CSRF, Alerts in footer.inc.php
Open commit View diff
240 // TFA, CSRF, Alerts in footer.inc.php
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
241
    // Other general functions in mailcow.js
Open commit View diff
241 // Other general functions in mailcow.js
Kristian Feldsam almost 5 years ago 40b5ed4

[web] fix annoucements and notifications close #4292

Full commit hash
40b5ed4d7246bb868282c6381802e4dad04a452f
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
242
    {% for alert_type, alert_msg in alerts %}
Open commit View diff
242 {% for alert_type, alert_msg in alerts %}
Romain almost 4 years ago 623397d

Update base.twig to escape simple quote

Full commit hash
623397d20a761a58764546de2752c9cb93a41113
Author
Romain <[email protected]>
Date
almost 4 years ago
Selected line
243
    mailcow_alert_box('{{ alert_msg|raw|e("js") }}', '{{ alert_type }}');
Open commit View diff
243 mailcow_alert_box('{{ alert_msg|raw|e("js") }}', '{{ alert_type }}');
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
244
    {% endfor %}
Open commit View diff
244 {% endfor %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
245
Open commit View diff
245
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
246
    // Confirm TFA modal
Open commit View diff
246 // Confirm TFA modal
FreddleSpl0it almost 4 years ago 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
247
  {% if pending_tfa_methods %}
Open commit View diff
247 {% if pending_tfa_methods %}
FreddleSpl0it about 4 years ago cbd8e40

[BS5] fix 2fa

Full commit hash
cbd8e40f14ce1fc9d23f36b47cf7fe1e21072b6e
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
248
    new bootstrap.Modal(document.getElementById("ConfirmTFAModal"), {
Open commit View diff
248 new bootstrap.Modal(document.getElementById("ConfirmTFAModal"), {
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
249
      backdrop: 'static',
Open commit View diff
249 backdrop: 'static',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
250
      keyboard: false
Open commit View diff
250 keyboard: false
FreddleSpl0it about 4 years ago cbd8e40

[BS5] fix 2fa

Full commit hash
cbd8e40f14ce1fc9d23f36b47cf7fe1e21072b6e
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
251
    }).show();
Open commit View diff
251 }).show();
FreddlePat over 4 years ago 23d6cf9

migrating from u2f-api.js to webauthn [apple faceid bug fix]

Full commit hash
23d6cf90aecf453d408480b080840bc7768242ce
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
252
Open commit View diff
252
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
253
Open commit View diff
253
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
254
    // validate Time based OTP tfa
Open commit View diff
254 // validate Time based OTP tfa
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
255
    $("#pending_tfa_tab_totp").click(function(){
Open commit View diff
255 $("#pending_tfa_tab_totp").click(function(){
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
256
      $(".webauthn-authenticator-selection").removeClass("active");
Open commit View diff
256 $(".webauthn-authenticator-selection").removeClass("active");
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
257
      $("#collapseWebAuthnTFA").collapse('hide');
Open commit View diff
257 $("#collapseWebAuthnTFA").collapse('hide');
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
258
Open commit View diff
258
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
259
      // select default if only one authenticator exists
Open commit View diff
259 // select default if only one authenticator exists
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
260
      if ($('.totp-authenticator-selection').length == 1){
Open commit View diff
260 if ($('.totp-authenticator-selection').length == 1){
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
261
        $('.totp-authenticator-selection').addClass("active");
Open commit View diff
261 $('.totp-authenticator-selection').addClass("active");
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
262
        var id = $('.totp-authenticator-selection').children('input').first().val();
Open commit View diff
262 var id = $('.totp-authenticator-selection').children('input').first().val();
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
263
        $("#totp_selected_id").val(id);
Open commit View diff
263 $("#totp_selected_id").val(id);
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
264
        $("#collapseTotpTFA").collapse('show');
Open commit View diff
264 $("#collapseTotpTFA").collapse('show');
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
265
      }
Open commit View diff
265 }
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
266
    });
Open commit View diff
266 });
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
267
    $(".totp-authenticator-selection").click(function(){
Open commit View diff
267 $(".totp-authenticator-selection").click(function(){
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
268
      $(".totp-authenticator-selection").removeClass("active");
Open commit View diff
268 $(".totp-authenticator-selection").removeClass("active");
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
269
      $(this).addClass("active");
Open commit View diff
269 $(this).addClass("active");
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
270
Open commit View diff
270
FreddleSpl0it over 4 years ago 5fcccbc

[Web] add verify selected tfa

Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
271
      var id = $(this).children('input').first().val();
Open commit View diff
271 var id = $(this).children('input').first().val();
same change 5fcccbc

[Web] add verify selected tfa

Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
272
      $("#totp_selected_id").val(id);
Open commit View diff
272 $("#totp_selected_id").val(id);
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
273
Open commit View diff
273
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
274
      $("#collapseTotpTFA").collapse('show');
Open commit View diff
274 $("#collapseTotpTFA").collapse('show');
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
275
    });
Open commit View diff
275 });
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
276
    if ($('.totp-authenticator-selection').length == 1 &&
Open commit View diff
276 if ($('.totp-authenticator-selection').length == 1 &&
FreddleSpl0it about 4 years ago c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
277
        $('#pending_tfa_tab_yubi_otp').length == 0 &&
Open commit View diff
277 $('#pending_tfa_tab_yubi_otp').length == 0 &&
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
278
        $('.webauthn-authenticator-selection').length == 0){
Open commit View diff
278 $('.webauthn-authenticator-selection').length == 0){
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
279
Open commit View diff
279
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
280
      // select default if only one authenticator exists
Open commit View diff
280 // select default if only one authenticator exists
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
281
      $('.totp-authenticator-selection').addClass("active");
Open commit View diff
281 $('.totp-authenticator-selection').addClass("active");
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
282
Open commit View diff
282
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
283
      var id = $('.totp-authenticator-selection').children('input').first().val();
Open commit View diff
283 var id = $('.totp-authenticator-selection').children('input').first().val();
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
284
      $("#totp_selected_id").val(id);
Open commit View diff
284 $("#totp_selected_id").val(id);
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
285
Open commit View diff
285
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
286
      $("#collapseTotpTFA").collapse('show');
Open commit View diff
286 $("#collapseTotpTFA").collapse('show');
FreddleSpl0it about 4 years ago c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
287
      setTimeout(function() { $("#collapseTotpTFA").find('input[name="token"]').focus(); }, 1000);
Open commit View diff
287 setTimeout(function() { $("#collapseTotpTFA").find('input[name="token"]').focus(); }, 1000);
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
288
    }
Open commit View diff
288 }
FreddleSpl0it about 4 years ago c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
289
    $('#pending_tfa_tab_totp').on('shown.bs.tab', function() {
Open commit View diff
289 $('#pending_tfa_tab_totp').on('shown.bs.tab', function() {
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
290
      // autofocus
Open commit View diff
290 // autofocus
same change 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
291
      setTimeout(function() { $("#collapseTotpTFA").find('input[name="token"]').focus(); }, 200);
Open commit View diff
291 setTimeout(function() { $("#collapseTotpTFA").find('input[name="token"]').focus(); }, 200);
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
292
    });
Open commit View diff
292 });
FreddleSpl0it about 4 years ago c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
293
    // validate Yubi OTP tfa
Open commit View diff
293 // validate Yubi OTP tfa
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
294
    if ($('.webauthn-authenticator-selection').length == 0){
Open commit View diff
294 if ($('.webauthn-authenticator-selection').length == 0){
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
295
      // autofocus
Open commit View diff
295 // autofocus
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
296
      setTimeout(function() { $("#collapseYubiTFA").find('input[name="token"]').focus(); }, 1000);
Open commit View diff
296 setTimeout(function() { $("#collapseYubiTFA").find('input[name="token"]').focus(); }, 1000);
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
297
    }
Open commit View diff
297 }
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
298
    $('#pending_tfa_tab_yubi_otp').on('shown.bs.tab', function() {
Open commit View diff
298 $('#pending_tfa_tab_yubi_otp').on('shown.bs.tab', function() {
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
299
      // autofocus
Open commit View diff
299 // autofocus
same change c8620a0

yubi_otp undo authenticator selection

Full commit hash
c8620a066d447ed6aaf6054b184fd16146574e5b
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
300
      $("#collapseYubiTFA").find('input[name="token"]').focus();
Open commit View diff
300 $("#collapseYubiTFA").find('input[name="token"]').focus();
FreddleSpl0it about 4 years ago 1ca566f

autoselect authenticator if only one exists

Full commit hash
1ca566f670d31280b37378fb76b40338436a9866
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
301
    });
Open commit View diff
301 });
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
302
    // validate WebAuthn tfa
Open commit View diff
302 // validate WebAuthn tfa
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
303
    $("#pending_tfa_tab_webauthn").click(function(){
Open commit View diff
303 $("#pending_tfa_tab_webauthn").click(function(){
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
304
      $(".totp-authenticator-selection").removeClass("active");
Open commit View diff
304 $(".totp-authenticator-selection").removeClass("active");
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
305
Open commit View diff
305
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
306
      $("#collapseTotpTFA").collapse('hide');
Open commit View diff
306 $("#collapseTotpTFA").collapse('hide');
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
307
    });
Open commit View diff
307 });
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
308
    $(".webauthn-authenticator-selection").click(function(){
Open commit View diff
308 $(".webauthn-authenticator-selection").click(function(){
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
309
      $(".webauthn-authenticator-selection").removeClass("active");
Open commit View diff
309 $(".webauthn-authenticator-selection").removeClass("active");
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
310
      $(this).addClass("active");
Open commit View diff
310 $(this).addClass("active");
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
311
Open commit View diff
311
FreddleSpl0it over 4 years ago 5fcccbc

[Web] add verify selected tfa

Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
312
      var id = $(this).children('input').first().val();
Open commit View diff
312 var id = $(this).children('input').first().val();
same change 5fcccbc

[Web] add verify selected tfa

Full commit hash
5fcccbc97d02c4b0cdd0c479bd15d6293b83dbb0
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
313
      $("#webauthn_selected_id").val(id);
Open commit View diff
313 $("#webauthn_selected_id").val(id);
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
314
Open commit View diff
314
FreddleSpl0it almost 4 years ago 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
315
      var webauthn_status_auth = document.getElementById('webauthn_status_auth');
Open commit View diff
315 var webauthn_status_auth = document.getElementById('webauthn_status_auth');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
316
      webauthn_status_auth.style.setProperty('display', 'flex', 'important');
Open commit View diff
316 webauthn_status_auth.style.setProperty('display', 'flex', 'important');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
317
      var webauthn_return_code = document.getElementById('webauthn_return_code');
Open commit View diff
317 var webauthn_return_code = document.getElementById('webauthn_return_code');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
318
      webauthn_return_code.style.setProperty('display', 'none', 'important');
Open commit View diff
318 webauthn_return_code.style.setProperty('display', 'none', 'important');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
319
Open commit View diff
319
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
320
      $("#collapseWebAuthnTFA").collapse('show');
Open commit View diff
320 $("#collapseWebAuthnTFA").collapse('show');
FreddlePat over 4 years ago 23d6cf9

migrating from u2f-api.js to webauthn [apple faceid bug fix]

Full commit hash
23d6cf90aecf453d408480b080840bc7768242ce
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
321
Open commit View diff
321
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
322
      $(this).find('input[name=token]').focus();
Open commit View diff
322 $(this).find('input[name=token]').focus();
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
323
      if(document.getElementById("webauthn_auth_data") !== null) {
Open commit View diff
323 if(document.getElementById("webauthn_auth_data") !== null) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
324
        // Check Browser support
Open commit View diff
324 // Check Browser support
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
325
        if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
Open commit View diff
325 if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
326
            window.alert('Browser not supported for WebAuthn.');
Open commit View diff
326 window.alert('Browser not supported for WebAuthn.');
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
327
            return;
Open commit View diff
327 return;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
328
        }
Open commit View diff
328 }
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
329
Open commit View diff
329
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
330
        // fetch webauthn auth args
Open commit View diff
330 // fetch webauthn auth args
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
331
        window.fetch("/api/v1/get/webauthn-tfa-get-args", {method:'GET',cache:'no-cache'}).then(response => {
Open commit View diff
331 window.fetch("/api/v1/get/webauthn-tfa-get-args", {method:'GET',cache:'no-cache'}).then(response => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
332
            return response.json();
Open commit View diff
332 return response.json();
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
333
        }).then(json => {
Open commit View diff
333 }).then(json => {
FreddleSpl0it about 4 years ago 3c9502f

add webauthn console log

Full commit hash
3c9502f24114545b494fce65657f428dc7ea3772
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
334
          console.log(json);
Open commit View diff
334 console.log(json);
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
335
          if (json.success === false) throw new Error();
Open commit View diff
335 if (json.success === false) throw new Error();
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
336
          if (json.type === "error") throw new Error(json.msg);
Open commit View diff
336 if (json.type === "error") throw new Error(json.msg);
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
337
Open commit View diff
337
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
338
          recursiveBase64StrToArrayBuffer(json);
Open commit View diff
338 recursiveBase64StrToArrayBuffer(json);
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
339
          return json;
Open commit View diff
339 return json;
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
340
        }).then(getCredentialArgs => {
Open commit View diff
340 }).then(getCredentialArgs => {
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
341
          // get credentials
Open commit View diff
341 // get credentials
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
342
          return navigator.credentials.get(getCredentialArgs);
Open commit View diff
342 return navigator.credentials.get(getCredentialArgs);
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
343
        }).then(cred => {
Open commit View diff
343 }).then(cred => {
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
344
          return {
Open commit View diff
344 return {
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
345
            id: cred.rawId ? arrayBufferToBase64(cred.rawId) : null,
Open commit View diff
345 id: cred.rawId ? arrayBufferToBase64(cred.rawId) : null,
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
346
            clientDataJSON: cred.response.clientDataJSON  ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
Open commit View diff
346 clientDataJSON: cred.response.clientDataJSON ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
347
            authenticatorData: cred.response.authenticatorData ? arrayBufferToBase64(cred.response.authenticatorData) : null,
Open commit View diff
347 authenticatorData: cred.response.authenticatorData ? arrayBufferToBase64(cred.response.authenticatorData) : null,
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
348
            signature : cred.response.signature ? arrayBufferToBase64(cred.response.signature) : null
Open commit View diff
348 signature : cred.response.signature ? arrayBufferToBase64(cred.response.signature) : null
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
349
          };
Open commit View diff
349 };
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
350
        }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
Open commit View diff
350 }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
351
          // send request by submit
Open commit View diff
351 // send request by submit
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
352
          var form = document.getElementById('webauthn_auth_form');
Open commit View diff
352 var form = document.getElementById('webauthn_auth_form');
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
353
          var auth = document.getElementById('webauthn_auth_data');
Open commit View diff
353 var auth = document.getElementById('webauthn_auth_data');
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
354
          auth.value = AuthenticatorAttestationResponse;
Open commit View diff
354 auth.value = AuthenticatorAttestationResponse;
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
355
          form.submit();
Open commit View diff
355 form.submit();
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
356
        }).catch(function(err) {
Open commit View diff
356 }).catch(function(err) {
FreddleSpl0it almost 4 years ago 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
357
          var webauthn_status_auth = document.getElementById('webauthn_status_auth');
Open commit View diff
357 var webauthn_status_auth = document.getElementById('webauthn_status_auth');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
358
          webauthn_status_auth.style.setProperty('display', 'none', 'important');
Open commit View diff
358 webauthn_status_auth.style.setProperty('display', 'none', 'important');
same change 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
359
Open commit View diff
359
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
360
          var webauthn_return_code = document.getElementById('webauthn_return_code');
Open commit View diff
360 var webauthn_return_code = document.getElementById('webauthn_return_code');
FreddleSpl0it almost 4 years ago 45e97b3

[BS5] fix merging bugs

Full commit hash
45e97b37538c79f26a1ac932e59e8da76c0f8b03
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
361
          webauthn_return_code.style.setProperty('display', 'block', 'important');
Open commit View diff
361 webauthn_return_code.style.setProperty('display', 'block', 'important');
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
362
          webauthn_return_code.innerHTML = lang_tfa.error_code + ': ' + err + ' ' + lang_tfa.reload_retry;
Open commit View diff
362 webauthn_return_code.innerHTML = lang_tfa.error_code + ': ' + err + ' ' + lang_tfa.reload_retry;
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
363
        });
Open commit View diff
363 });
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
364
      }
Open commit View diff
364 }
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
365
    });
Open commit View diff
365 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
366
    $('#ConfirmTFAModal').on('hidden.bs.modal', function(){
Open commit View diff
366 $('#ConfirmTFAModal').on('hidden.bs.modal', function(){
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
367
      // cancel pending login
Open commit View diff
367 // cancel pending login
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
368
      $.ajax({
Open commit View diff
368 $.ajax({
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
369
        type: "GET",
Open commit View diff
369 type: "GET",
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
370
        cache: false,
Open commit View diff
370 cache: false,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
371
        dataType: 'script',
Open commit View diff
371 dataType: 'script',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
372
        url: '/inc/ajax/destroy_tfa_auth.php',
Open commit View diff
372 url: '/inc/ajax/destroy_tfa_auth.php',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
373
        complete: function(data){
Open commit View diff
373 complete: function(data){
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
374
          window.location = window.location.href.split("#")[0];
Open commit View diff
374 window.location = window.location.href.split("#")[0];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
375
        }
Open commit View diff
375 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
376
      });
Open commit View diff
376 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
377
    });
Open commit View diff
377 });
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
378
  {% endif %}
Open commit View diff
378 {% endif %}
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
379
Open commit View diff
379
FreddleSpl0it 5 months ago ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
380
  {% if pending_tfa_setup %}
Open commit View diff
380 {% if pending_tfa_setup %}
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
381
    var setupTFAModal = new bootstrap.Modal(document.getElementById("SetupTFAModal"), {
Open commit View diff
381 var setupTFAModal = new bootstrap.Modal(document.getElementById("SetupTFAModal"), {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
382
      backdrop: 'static',
Open commit View diff
382 backdrop: 'static',
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
383
      keyboard: false
Open commit View diff
383 keyboard: false
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
384
    });
Open commit View diff
384 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
385
    setupTFAModal.show();
Open commit View diff
385 setupTFAModal.show();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
386
Open commit View diff
386
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
387
    // Load QR code for TOTP setup in SetupTFAModal
Open commit View diff
387 // Load QR code for TOTP setup in SetupTFAModal
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
388
    var setupTotpSecret = $('#setup-tfa-qr-img').data('totp-secret');
Open commit View diff
388 var setupTotpSecret = $('#setup-tfa-qr-img').data('totp-secret');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
389
    if (setupTotpSecret) {
Open commit View diff
389 if (setupTotpSecret) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
390
      $.ajax({
Open commit View diff
390 $.ajax({
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
391
        type: "GET",
Open commit View diff
391 type: "GET",
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
392
        url: "/inc/ajax/qr_gen.php?token=" + encodeURIComponent(setupTotpSecret),
Open commit View diff
392 url: "/inc/ajax/qr_gen.php?token=" + encodeURIComponent(setupTotpSecret),
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
393
        success: function(data) {
Open commit View diff
393 success: function(data) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
394
          $('#setup-tfa-qr-img').attr('src', data);
Open commit View diff
394 $('#setup-tfa-qr-img').attr('src', data);
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
395
        }
Open commit View diff
395 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
396
      });
Open commit View diff
396 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
397
    }
Open commit View diff
397 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
398
Open commit View diff
398
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
399
    // WebAuthn registration for SetupTFAModal
Open commit View diff
399 // WebAuthn registration for SetupTFAModal
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
400
    $('#start_setup_webauthn_register').click(function() {
Open commit View diff
400 $('#start_setup_webauthn_register').click(function() {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
401
      if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
Open commit View diff
401 if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
402
        window.alert('Browser not supported.');
Open commit View diff
402 window.alert('Browser not supported.');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
403
        return;
Open commit View diff
403 return;
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
404
      }
Open commit View diff
404 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
405
      var keyId = $('#setup_webauthn_reg_form input[name=key_id]').val();
Open commit View diff
405 var keyId = $('#setup_webauthn_reg_form input[name=key_id]').val();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
406
      if (!keyId) {
Open commit View diff
406 if (!keyId) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
407
        $('#setup_webauthn_return_code').show().text('Please fill in the key ID first.');
Open commit View diff
407 $('#setup_webauthn_return_code').show().text('Please fill in the key ID first.');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
408
        return;
Open commit View diff
408 return;
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
409
      }
Open commit View diff
409 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
410
      window.fetch('/api/v1/get/webauthn-tfa-registration', {method: 'GET', cache: 'no-cache'}).then(function(response) {
Open commit View diff
410 window.fetch('/api/v1/get/webauthn-tfa-registration', {method: 'GET', cache: 'no-cache'}).then(function(response) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
411
        return response.json();
Open commit View diff
411 return response.json();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
412
      }).then(function(json) {
Open commit View diff
412 }).then(function(json) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
413
        if (json.success === false) throw new Error(json.error || 'Registration failed');
Open commit View diff
413 if (json.success === false) throw new Error(json.error || 'Registration failed');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
414
        recursiveBase64StrToArrayBuffer(json);
Open commit View diff
414 recursiveBase64StrToArrayBuffer(json);
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
415
        return navigator.credentials.create(json);
Open commit View diff
415 return navigator.credentials.create(json);
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
416
      }).then(function(cred) {
Open commit View diff
416 }).then(function(cred) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
417
        return {
Open commit View diff
417 return {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
418
          id: cred.id,
Open commit View diff
418 id: cred.id,
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
419
          rawId: arrayBufferToBase64(cred.rawId),
Open commit View diff
419 rawId: arrayBufferToBase64(cred.rawId),
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
420
          response: {
Open commit View diff
420 response: {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
421
            attestationObject: arrayBufferToBase64(cred.response.attestationObject),
Open commit View diff
421 attestationObject: arrayBufferToBase64(cred.response.attestationObject),
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
422
            clientDataJSON: arrayBufferToBase64(cred.response.clientDataJSON)
Open commit View diff
422 clientDataJSON: arrayBufferToBase64(cred.response.clientDataJSON)
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
423
          },
Open commit View diff
423 },
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
424
          type: cred.type
Open commit View diff
424 type: cred.type
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
425
        };
Open commit View diff
425 };
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
426
      }).then(function(credData) {
Open commit View diff
426 }).then(function(credData) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
427
        $('#setup_webauthn_register_data').val(JSON.stringify(credData));
Open commit View diff
427 $('#setup_webauthn_register_data').val(JSON.stringify(credData));
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
428
        $('#setup_webauthn_reg_form input[name=set_tfa]').val('1');
Open commit View diff
428 $('#setup_webauthn_reg_form input[name=set_tfa]').val('1');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
429
        $('#setup_webauthn_reg_form').submit();
Open commit View diff
429 $('#setup_webauthn_reg_form').submit();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
430
      }).catch(function(err) {
Open commit View diff
430 }).catch(function(err) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
431
        $('#setup_webauthn_return_code').show().text(err.message || 'Registration failed');
Open commit View diff
431 $('#setup_webauthn_return_code').show().text(err.message || 'Registration failed');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
432
      });
Open commit View diff
432 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
433
    });
Open commit View diff
433 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
434
  {% endif %}
Open commit View diff
434 {% endif %}
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
435
Open commit View diff
435
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
436
  {% if pending_pw_update_modal and not pending_tfa_setup and not pending_tfa_methods %}
Open commit View diff
436 {% if pending_pw_update_modal and not pending_tfa_setup and not pending_tfa_methods %}
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
437
    var changePWModal = new bootstrap.Modal(document.getElementById("ChangePWModal"), {
Open commit View diff
437 var changePWModal = new bootstrap.Modal(document.getElementById("ChangePWModal"), {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
438
      backdrop: 'static',
Open commit View diff
438 backdrop: 'static',
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
439
      keyboard: false
Open commit View diff
439 keyboard: false
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
440
    });
Open commit View diff
440 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
441
    changePWModal.show();
Open commit View diff
441 changePWModal.show();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
442
Open commit View diff
442
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
443
    $('#changePWModalForm').on('submit', function(e) {
Open commit View diff
443 $('#changePWModalForm').on('submit', function(e) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
444
      e.preventDefault();
Open commit View diff
444 e.preventDefault();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
445
      var newPw = $('#changePWNew').val();
Open commit View diff
445 var newPw = $('#changePWNew').val();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
446
      var newPw2 = $('#changePWNew2').val();
Open commit View diff
446 var newPw2 = $('#changePWNew2').val();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
447
      var role = '{{ mailcow_cc_role }}';
Open commit View diff
447 var role = '{{ mailcow_cc_role }}';
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
448
      var username = '{{ mailcow_cc_username }}';
Open commit View diff
448 var username = '{{ mailcow_cc_username }}';
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
449
Open commit View diff
449
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
450
      var url, attrPayload, itemsPayload;
Open commit View diff
450 var url, attrPayload, itemsPayload;
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
451
      if (role === 'admin') {
Open commit View diff
451 if (role === 'admin') {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
452
        url = '/api/v1/edit/admin';
Open commit View diff
452 url = '/api/v1/edit/admin';
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
453
        attrPayload = {password: newPw, password2: newPw2};
Open commit View diff
453 attrPayload = {password: newPw, password2: newPw2};
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
454
        itemsPayload = [username];
Open commit View diff
454 itemsPayload = [username];
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
455
      } else {
Open commit View diff
455 } else {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
456
        url = '/api/v1/edit/self';
Open commit View diff
456 url = '/api/v1/edit/self';
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
457
        attrPayload = {user_new_pass: newPw, user_new_pass2: newPw2};
Open commit View diff
457 attrPayload = {user_new_pass: newPw, user_new_pass2: newPw2};
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
458
        itemsPayload = null;
Open commit View diff
458 itemsPayload = null;
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
459
      }
Open commit View diff
459 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
460
Open commit View diff
460
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
461
      $('#changePWAlert').hide();
Open commit View diff
461 $('#changePWAlert').hide();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
462
      $.ajax({
Open commit View diff
462 $.ajax({
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
463
        type: 'POST',
Open commit View diff
463 type: 'POST',
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
464
        url: url,
Open commit View diff
464 url: url,
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
465
        data: {
Open commit View diff
465 data: {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
466
          attr: JSON.stringify(attrPayload),
Open commit View diff
466 attr: JSON.stringify(attrPayload),
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
467
          items: JSON.stringify(itemsPayload),
Open commit View diff
467 items: JSON.stringify(itemsPayload),
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
468
          csrf_token: '{{ csrf_token }}'
Open commit View diff
468 csrf_token: '{{ csrf_token }}'
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
469
        },
Open commit View diff
469 },
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
470
        dataType: 'json',
Open commit View diff
470 dataType: 'json',
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
471
        success: function(data) {
Open commit View diff
471 success: function(data) {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
472
          if (data && data[0] && data[0].type === 'success') {
Open commit View diff
472 if (data && data[0] && data[0].type === 'success') {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
473
            window.location.reload();
Open commit View diff
473 window.location.reload();
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
474
          } else {
Open commit View diff
474 } else {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
475
            var msg = (data && data[0] && data[0].msg) ? data[0].msg : 'Password change failed.';
Open commit View diff
475 var msg = (data && data[0] && data[0].msg) ? data[0].msg : 'Password change failed.';
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
476
            $('#changePWAlert').show().text(msg);
Open commit View diff
476 $('#changePWAlert').show().text(msg);
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
477
          }
Open commit View diff
477 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
478
        },
Open commit View diff
478 },
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
479
        error: function() {
Open commit View diff
479 error: function() {
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
480
          $('#changePWAlert').show().text('Request failed. Please try again.');
Open commit View diff
480 $('#changePWAlert').show().text('Request failed. Please try again.');
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
481
        }
Open commit View diff
481 }
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
482
      });
Open commit View diff
482 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
483
    });
Open commit View diff
483 });
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
484
  {% endif %}
Open commit View diff
484 {% endif %}
same change ad5b94a

[Web] Add forced 2FA setup and password update enforcement

Full commit hash
ad5b94af5e48297631629c2a118e7f163a044a07
Author
FreddleSpl0it <[email protected]>
Date
5 months ago
Selected line
485
Open commit View diff
485
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
486
Open commit View diff
486
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
487
    // Validate FIDO2
Open commit View diff
487 // Validate FIDO2
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
488
  $("#fido2-login").click(function(){
Open commit View diff
488 $("#fido2-login").click(function(){
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
489
    $('#fido2-alerts').html();
Open commit View diff
489 $('#fido2-alerts').html();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
490
    if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
Open commit View diff
490 if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
491
      window.alert('Browser not supported.');
Open commit View diff
491 window.alert('Browser not supported.');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
492
      return;
Open commit View diff
492 return;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
493
    }
Open commit View diff
493 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
494
    window.fetch("/api/v1/get/fido2-get-args", {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
494 window.fetch("/api/v1/get/fido2-get-args", {method:'GET',cache:'no-cache'}).then(function(response) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
495
      return response.json();
Open commit View diff
495 return response.json();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
496
    }).then(function(json) {
Open commit View diff
496 }).then(function(json) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
497
    if (json.success === false) {
Open commit View diff
497 if (json.success === false) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
498
      throw new Error();
Open commit View diff
498 throw new Error();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
499
    }
Open commit View diff
499 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
500
    recursiveBase64StrToArrayBuffer(json);
Open commit View diff
500 recursiveBase64StrToArrayBuffer(json);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
501
    return json;
Open commit View diff
501 return json;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
502
    }).then(function(getCredentialArgs) {
Open commit View diff
502 }).then(function(getCredentialArgs) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
503
      return navigator.credentials.get(getCredentialArgs);
Open commit View diff
503 return navigator.credentials.get(getCredentialArgs);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
504
    }).then(function(cred) {
Open commit View diff
504 }).then(function(cred) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
505
      return {
Open commit View diff
505 return {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
506
        id: cred.rawId ? arrayBufferToBase64(cred.rawId) : null,
Open commit View diff
506 id: cred.rawId ? arrayBufferToBase64(cred.rawId) : null,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
507
        clientDataJSON: cred.response.clientDataJSON  ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
Open commit View diff
507 clientDataJSON: cred.response.clientDataJSON ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
508
        authenticatorData: cred.response.authenticatorData ? arrayBufferToBase64(cred.response.authenticatorData) : null,
Open commit View diff
508 authenticatorData: cred.response.authenticatorData ? arrayBufferToBase64(cred.response.authenticatorData) : null,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
509
        signature : cred.response.signature ? arrayBufferToBase64(cred.response.signature) : null
Open commit View diff
509 signature : cred.response.signature ? arrayBufferToBase64(cred.response.signature) : null
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
510
      };
Open commit View diff
510 };
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
511
    }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
Open commit View diff
511 }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
FreddleSpl0it over 1 year ago bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
512
      var formData = new FormData();
Open commit View diff
512 var formData = new FormData();
same change bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
513
      formData.append("token", AuthenticatorAttestationResponse);
Open commit View diff
513 formData.append("token", AuthenticatorAttestationResponse);
same change bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
514
      formData.append("verify_fido2_login", "true");
Open commit View diff
514 formData.append("verify_fido2_login", "true");
same change bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
515
Open commit View diff
515
same change bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
516
      return window.fetch(window.location.href, {method:'POST', body: formData, cache:'no-cache'});
Open commit View diff
516 return window.fetch(window.location.href, {method:'POST', body: formData, cache:'no-cache'});
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
517
    }).then(function(response) {
Open commit View diff
517 }).then(function(response) {
FreddleSpl0it over 1 year ago bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
518
      window.location = window.location.href.split("#")[0];
Open commit View diff
518 window.location = window.location.href.split("#")[0];
same change bc21e7f

[Web] Separate FIDO2 logins

Full commit hash
bc21e7fe503dcb0271a4cefaa53f6591d7792637
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
519
    }).catch(function(err) {
Open commit View diff
519 }).catch(function(err) {
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
520
    if (typeof err.message === 'undefined') {
Open commit View diff
520 if (typeof err.message === 'undefined') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
521
      mailcow_alert_box(lang_fido2.fido2_validation_failed, "danger");
Open commit View diff
521 mailcow_alert_box(lang_fido2.fido2_validation_failed, "danger");
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
522
    } else {
Open commit View diff
522 } else {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
523
      mailcow_alert_box(lang_fido2.fido2_validation_failed + ":<br><i>" + err.message + "</i>", "danger");
Open commit View diff
523 mailcow_alert_box(lang_fido2.fido2_validation_failed + ":<br><i>" + err.message + "</i>", "danger");
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
524
    }
Open commit View diff
524 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
525
  });
Open commit View diff
525 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
526
  });
Open commit View diff
526 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
527
  // Set TFA/FIDO2
Open commit View diff
527 // Set TFA/FIDO2
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
528
  $("#register-fido2, #register-fido2-touchid").click(function(){
Open commit View diff
528 $("#register-fido2, #register-fido2-touchid").click(function(){
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
529
    let t = $(this);
Open commit View diff
529 let t = $(this);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
530
Open commit View diff
530
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
531
    $("option:selected").prop("selected", false);
Open commit View diff
531 $("option:selected").prop("selected", false);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
532
    if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
Open commit View diff
532 if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
533
      window.alert('Browser not supported.');
Open commit View diff
533 window.alert('Browser not supported.');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
534
      return;
Open commit View diff
534 return;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
535
    }
Open commit View diff
535 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
536
Open commit View diff
536
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
537
    window.fetch("/api/v1/get/fido2-registration/{{ mailcow_cc_username|url_encode(true)|default('null') }}", {method:'GET',cache:'no-cache'}).then(function(response) {
Open commit View diff
537 window.fetch("/api/v1/get/fido2-registration/{{ mailcow_cc_username|url_encode(true)|default('null') }}", {method:'GET',cache:'no-cache'}).then(function(response) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
538
      return response.json();
Open commit View diff
538 return response.json();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
539
    }).then(function(json) {
Open commit View diff
539 }).then(function(json) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
540
      if (json.success === false) {
Open commit View diff
540 if (json.success === false) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
541
        throw new Error(json.msg);
Open commit View diff
541 throw new Error(json.msg);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
542
      }
Open commit View diff
542 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
543
      recursiveBase64StrToArrayBuffer(json);
Open commit View diff
543 recursiveBase64StrToArrayBuffer(json);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
544
Open commit View diff
544
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
545
      // set attestation to node if we are registering apple touch id
Open commit View diff
545 // set attestation to node if we are registering apple touch id
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
546
      if(t.attr('id') === 'register-fido2-touchid') {
Open commit View diff
546 if(t.attr('id') === 'register-fido2-touchid') {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
547
        json.publicKey.attestation = 'none';
Open commit View diff
547 json.publicKey.attestation = 'none';
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
548
        json.publicKey.authenticatorSelection.authenticatorAttachment = "platform";
Open commit View diff
548 json.publicKey.authenticatorSelection.authenticatorAttachment = "platform";
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
549
      }
Open commit View diff
549 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
550
Open commit View diff
550
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
551
      return json;
Open commit View diff
551 return json;
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
552
    }).then(function(createCredentialArgs) {
Open commit View diff
552 }).then(function(createCredentialArgs) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
553
      console.log(createCredentialArgs);
Open commit View diff
553 console.log(createCredentialArgs);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
554
      return navigator.credentials.create(createCredentialArgs);
Open commit View diff
554 return navigator.credentials.create(createCredentialArgs);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
555
    }).then(function(cred) {
Open commit View diff
555 }).then(function(cred) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
556
      return {
Open commit View diff
556 return {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
557
        clientDataJSON: cred.response.clientDataJSON  ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
Open commit View diff
557 clientDataJSON: cred.response.clientDataJSON ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
558
        attestationObject: cred.response.attestationObject ? arrayBufferToBase64(cred.response.attestationObject) : null
Open commit View diff
558 attestationObject: cred.response.attestationObject ? arrayBufferToBase64(cred.response.attestationObject) : null
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
559
      };
Open commit View diff
559 };
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
560
    }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
Open commit View diff
560 }).then(JSON.stringify).then(function(AuthenticatorAttestationResponse) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
561
      return window.fetch("/api/v1/add/fido2-registration", {method:'POST', body: AuthenticatorAttestationResponse, cache:'no-cache'});
Open commit View diff
561 return window.fetch("/api/v1/add/fido2-registration", {method:'POST', body: AuthenticatorAttestationResponse, cache:'no-cache'});
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
562
    }).then(function(response) {
Open commit View diff
562 }).then(function(response) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
563
      return response.json();
Open commit View diff
563 return response.json();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
564
    }).then(function(json) {
Open commit View diff
564 }).then(function(json) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
565
      if (json.success) {
Open commit View diff
565 if (json.success) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
566
        window.location = window.location.href.split("#")[0];
Open commit View diff
566 window.location = window.location.href.split("#")[0];
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
567
      } else {
Open commit View diff
567 } else {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
568
        throw new Error(json.msg);
Open commit View diff
568 throw new Error(json.msg);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
569
      }
Open commit View diff
569 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
570
    }).catch(function(err) {
Open commit View diff
570 }).catch(function(err) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
571
      $('#fido2-alerts').html('<span class="text-danger"><b>' + err.message + '</b></span>');
Open commit View diff
571 $('#fido2-alerts').html('<span class="text-danger"><b>' + err.message + '</b></span>');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
572
    });
Open commit View diff
572 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
573
  });
Open commit View diff
573 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
574
  $('#selectTFA').change(function () {
Open commit View diff
574 $('#selectTFA').change(function () {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
575
    if ($(this).val() == "yubi_otp") {
Open commit View diff
575 if ($(this).val() == "yubi_otp") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
576
      $('#YubiOTPModal').modal('show');
Open commit View diff
576 $('#YubiOTPModal').modal('show');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
577
      $("option:selected").prop("selected", false);
Open commit View diff
577 $("option:selected").prop("selected", false);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
578
    }
Open commit View diff
578 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
579
    if ($(this).val() == "totp") {
Open commit View diff
579 if ($(this).val() == "totp") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
580
      $('#TOTPModal').modal('show');
Open commit View diff
580 $('#TOTPModal').modal('show');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
581
      request_token = $('#tfa-qr-img').data('totp-secret');
Open commit View diff
581 request_token = $('#tfa-qr-img').data('totp-secret');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
582
      $.ajax({
Open commit View diff
582 $.ajax({
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
583
        url: '/inc/ajax/qr_gen.php',
Open commit View diff
583 url: '/inc/ajax/qr_gen.php',
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
584
        data: {
Open commit View diff
584 data: {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
585
          token: request_token,
Open commit View diff
585 token: request_token,
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
586
        },
Open commit View diff
586 },
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
587
      }).done(function (result) {
Open commit View diff
587 }).done(function (result) {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
588
        $("#tfa-qr-img").attr("src", result);
Open commit View diff
588 $("#tfa-qr-img").attr("src", result);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
589
      });
Open commit View diff
589 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
590
      $("option:selected").prop("selected", false);
Open commit View diff
590 $("option:selected").prop("selected", false);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
591
    }
Open commit View diff
591 }
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
592
    if ($(this).val() == "webauthn") {
Open commit View diff
592 if ($(this).val() == "webauthn") {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
593
        // check if Browser is supported
Open commit View diff
593 // check if Browser is supported
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
594
        if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
Open commit View diff
594 if (!window.fetch || !navigator.credentials || !navigator.credentials.create) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
595
            window.alert('Browser not supported.');
Open commit View diff
595 window.alert('Browser not supported.');
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
596
            return;
Open commit View diff
596 return;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
597
        }
Open commit View diff
597 }
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
598
Open commit View diff
598
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
599
        // show modal
Open commit View diff
599 // show modal
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
600
        $('#WebAuthnModal').modal('show');
Open commit View diff
600 $('#WebAuthnModal').modal('show');
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
601
        $("option:selected").prop("selected", false);
Open commit View diff
601 $("option:selected").prop("selected", false);
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
602
Open commit View diff
602
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
603
        $("#start_webauthn_register").click(() => {
Open commit View diff
603 $("#start_webauthn_register").click(() => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
604
            var key_id = document.getElementsByName('key_id')[1].value;
Open commit View diff
604 var key_id = document.getElementsByName('key_id')[1].value;
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
605
            var confirm_password = document.getElementsByName('confirm_password')[1].value;
Open commit View diff
605 var confirm_password = document.getElementsByName('confirm_password')[1].value;
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
606
Open commit View diff
606
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
607
            // fetch WebAuthn create args
Open commit View diff
607 // fetch WebAuthn create args
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
608
            window.fetch("/api/v1/get/webauthn-tfa-registration/{{ mailcow_cc_username|url_encode(true)|default('null') }}", {method:'GET',cache:'no-cache'}).then(response => {
Open commit View diff
608 window.fetch("/api/v1/get/webauthn-tfa-registration/{{ mailcow_cc_username|url_encode(true)|default('null') }}", {method:'GET',cache:'no-cache'}).then(response => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
609
                return response.json();
Open commit View diff
609 return response.json();
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
610
            }).then(json => {
Open commit View diff
610 }).then(json => {
FreddleSpl0it about 4 years ago 6fb967c

extra tfa register debugging

Full commit hash
6fb967cf79209ab4e143fe24e9e5461993ba68be
Author
FreddleSpl0it <[email protected]>
Date
about 4 years ago
Selected line
611
                console.log(json);
Open commit View diff
611 console.log(json);
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
612
                if (json.success === false) throw new Error(json.msg);
Open commit View diff
612 if (json.success === false) throw new Error(json.msg);
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
613
                recursiveBase64StrToArrayBuffer(json);
Open commit View diff
613 recursiveBase64StrToArrayBuffer(json);
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
614
Open commit View diff
614
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
615
                return json;
Open commit View diff
615 return json;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
616
            }).then(createCredentialArgs => {
Open commit View diff
616 }).then(createCredentialArgs => {
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
617
                // create credentials
Open commit View diff
617 // create credentials
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
618
                return navigator.credentials.create(createCredentialArgs);
Open commit View diff
618 return navigator.credentials.create(createCredentialArgs);
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
619
            }).then(cred => {
Open commit View diff
619 }).then(cred => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
620
                return {
Open commit View diff
620 return {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
621
                    clientDataJSON: cred.response.clientDataJSON  ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
Open commit View diff
621 clientDataJSON: cred.response.clientDataJSON ? arrayBufferToBase64(cred.response.clientDataJSON) : null,
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
622
                    attestationObject: cred.response.attestationObject ? arrayBufferToBase64(cred.response.attestationObject) : null,
Open commit View diff
622 attestationObject: cred.response.attestationObject ? arrayBufferToBase64(cred.response.attestationObject) : null,
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
623
                    key_id: key_id,
Open commit View diff
623 key_id: key_id,
FreddleSpl0it over 4 years ago 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
624
                    tfa_method: "webauthn",
Open commit View diff
624 tfa_method: "webauthn",
same change 3ef2b6c

[Web] add verify selected tfa

Full commit hash
3ef2b6cfa2a99c1adbd2e9e5e74b278274fa4ade
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
625
                    confirm_password: confirm_password
Open commit View diff
625 confirm_password: confirm_password
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
626
                };
Open commit View diff
626 };
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
627
            }).then(JSON.stringify).then(AuthenticatorAttestationResponse => {
Open commit View diff
627 }).then(JSON.stringify).then(AuthenticatorAttestationResponse => {
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
628
                // send request
Open commit View diff
628 // send request
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
629
                return window.fetch("/api/v1/add/webauthn-tfa-registration", {method:'POST', body: AuthenticatorAttestationResponse, cache:'no-cache'});
Open commit View diff
629 return window.fetch("/api/v1/add/webauthn-tfa-registration", {method:'POST', body: AuthenticatorAttestationResponse, cache:'no-cache'});
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
630
            }).then(response => {
Open commit View diff
630 }).then(response => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
631
                return response.json();
Open commit View diff
631 return response.json();
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
632
            }).then(json => {
Open commit View diff
632 }).then(json => {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
633
                if (json.success) {
Open commit View diff
633 if (json.success) {
FreddleSpl0it over 4 years ago c11b655

migrating from u2f-api.js to webauthn [cleanup]

Full commit hash
c11b6557dbd6dfa49a5038a4e5ec333903bf8594
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
634
                    // reload on success
Open commit View diff
634 // reload on success
FreddleSpl0it over 4 years ago 6788c52

[WebAuthn] fix reload

Full commit hash
6788c528cf83e1e14a043e5061ed9ab765a89737
Author
FreddleSpl0it <[email protected]>
Date
over 4 years ago
Selected line
635
                    window.location = window.location.href.split("#")[0];
Open commit View diff
635 window.location = window.location.href.split("#")[0];
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
636
                } else {
Open commit View diff
636 } else {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
637
                    throw new Error(json.msg);
Open commit View diff
637 throw new Error(json.msg);
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
638
                }
Open commit View diff
638 }
FreddlePat over 4 years ago d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
639
            }).catch(function(err) {
Open commit View diff
639 }).catch(function(err) {
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
640
                console.log(err);
Open commit View diff
640 console.log(err);
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
641
                var webauthn_return_code = document.getElementById('webauthn_return_code');
Open commit View diff
641 var webauthn_return_code = document.getElementById('webauthn_return_code');
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
642
                webauthn_return_code.style.display = webauthn_return_code.style.display === 'none' ? '' : null;
Open commit View diff
642 webauthn_return_code.style.display = webauthn_return_code.style.display === 'none' ? '' : null;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
643
                webauthn_return_code.innerHTML = lang_tfa.error_code + ': ' + err + ' ' + lang_tfa.reload_retry;
Open commit View diff
643 webauthn_return_code.innerHTML = lang_tfa.error_code + ': ' + err + ' ' + lang_tfa.reload_retry;
same change d1d1340

migrating from u2f-api.js to webauthn

Full commit hash
d1d134038ffa2bde66ccfafd842dcafe5eb3ea11
Author
FreddlePat <[email protected]>
Date
over 4 years ago
Selected line
644
            });
Open commit View diff
644 });
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
645
        });
Open commit View diff
645 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
646
    }
Open commit View diff
646 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
647
    if ($(this).val() == "none") {
Open commit View diff
647 if ($(this).val() == "none") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
648
      $('#DisableTFAModal').modal('show');
Open commit View diff
648 $('#DisableTFAModal').modal('show');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
649
      $("option:selected").prop("selected", false);
Open commit View diff
649 $("option:selected").prop("selected", false);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
650
    }
Open commit View diff
650 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
651
  });
Open commit View diff
651 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
652
Open commit View diff
652
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
653
  {% if mailcow_cc_username %}
Open commit View diff
653 {% if mailcow_cc_username %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
654
  // Reload after session timeout
Open commit View diff
654 // Reload after session timeout
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
655
  var session_lifetime = {{ (session_lifetime * 1000) + 15000 }};
Open commit View diff
655 var session_lifetime = {{ (session_lifetime * 1000) + 15000 }};
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
656
  setTimeout(function() {
Open commit View diff
656 setTimeout(function() {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
657
    location.reload();
Open commit View diff
657 location.reload();
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
658
  }, session_lifetime);
Open commit View diff
658 }, session_lifetime);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
659
  {% endif %}
Open commit View diff
659 {% endif %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
660
Open commit View diff
660
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
661
  // CSRF
Open commit View diff
661 // CSRF
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
662
  $('<input type="hidden" value="{{ csrf_token }}">').attr('name', 'csrf_token').appendTo('form');
Open commit View diff
662 $('<input type="hidden" value="{{ csrf_token }}">').attr('name', 'csrf_token').appendTo('form');
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
663
  if (sessionStorage.scrollTop != "undefined") {
Open commit View diff
663 if (sessionStorage.scrollTop != "undefined") {
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
664
    $(window).scrollTop(sessionStorage.scrollTop);
Open commit View diff
664 $(window).scrollTop(sessionStorage.scrollTop);
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
665
  }
Open commit View diff
665 }
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
666
  });
Open commit View diff
666 });
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
667
</script>
Open commit View diff
667 </script>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
668
Open commit View diff
668
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
669
<div class="container footer">
Open commit View diff
669 <div class="container footer">
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
670
  {% if ui_texts.ui_footer %}
Open commit View diff
670 {% if ui_texts.ui_footer %}
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
671
  <hr><span class="rot-enc">{{ ui_texts.ui_footer|rot13|raw }}</span>
Open commit View diff
671 <hr><span class="rot-enc">{{ ui_texts.ui_footer|rot13|raw }}</span>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
672
  {% endif %}
Open commit View diff
672 {% endif %}
DerLinkman almost 4 years ago 77f9947

Readded footer + vars.

Full commit hash
77f9947613fa3aac9ac772574495a0ee50a3c91f
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
673
  {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "master" and mailcow_info.version_tag|default %}
Open commit View diff
673 {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "master" and mailcow_info.version_tag|default %}
Niklas Meyer over 4 years ago 89fdd19

Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)

Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
674
  <span class="version">
Open commit View diff
674 <span class="version">
same change 89fdd19

Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)

Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
675
    🐮 + 🐋 = 💕
Open commit View diff
675 🐮 + 🐋 = 💕
DerLinkman almost 4 years ago a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
676
        Version: <a href="{{ mailcow_info.git_project_url }}/releases/tag/{{ mailcow_info.version_tag }}" target="_blank">{{ mailcow_info.version_tag }}
Open commit View diff
676 Version: <a href="{{ mailcow_info.git_project_url }}/releases/tag/{{ mailcow_info.version_tag }}" target="_blank">{{ mailcow_info.version_tag }}
Niklas Meyer over 4 years ago 89fdd19

Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)

Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
677
    </a>
Open commit View diff
677 </a>
same change 89fdd19

Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)

Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
678
  </span>
Open commit View diff
678 </span>
FreddleSpl0it over 1 year ago aca01c8

[Web] Separate Login pages

Full commit hash
aca01c8aa2607777205226a86be29df338eb51d9
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
679
  {% endif %}
Open commit View diff
679 {% endif %}
DerLinkman almost 4 years ago ef311f2

Corrected Twig Footer

Full commit hash
ef311f22bf5b188837909427438ee29423c2ac56
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
680
  {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "nightly" and mailcow_info.version_tag|default %}
Open commit View diff
680 {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "nightly" and mailcow_info.version_tag|default %}
DerLinkman almost 4 years ago a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
681
  <span class="version">
Open commit View diff
681 <span class="version">
same change a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
682
    🛠️🐮 + 🐋 = 💕
Open commit View diff
682 🛠️🐮 + 🐋 = 💕
same change a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
683
        Nightly: <a href="{{ mailcow_info.git_project_url }}/commit/{{ mailcow_info.git_commit }}" target="_blank">{{ mailcow_info.version_tag }}
Open commit View diff
683 Nightly: <a href="{{ mailcow_info.git_project_url }}/commit/{{ mailcow_info.git_commit }}" target="_blank">{{ mailcow_info.version_tag }}
same change a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
684
    </a><br>
Open commit View diff
684 </a><br>
same change a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
685
    <span style="text-align:right;display:block;">Build: {{ mailcow_info.git_commit_date }}</span>
Open commit View diff
685 <span style="text-align:right;display:block;">Build: {{ mailcow_info.git_commit_date }}</span>
same change a8eb3b6

Added nightly footer

Full commit hash
a8eb3b6ac5b03238f04eb33f08fde1ec98c07729
Author
DerLinkman <[email protected]>
Date
almost 4 years ago
Selected line
686
  </span>
Open commit View diff
686 </span>
Niklas Meyer over 4 years ago 89fdd19

Jan(moo)uary Update 2022 - Revision A (2022-01a) (#4445)

Full commit hash
89fdd1986d922aa7ae87d589859cd3d483beaa23
Author
Niklas Meyer <[email protected]>
Date
over 4 years ago
Selected line
687
  {% endif %}
Open commit View diff
687 {% endif %}
FreddleSpl0it over 1 year ago b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
688
  {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "legacy" and mailcow_info.version_tag|default %}
Open commit View diff
688 {% if mailcow_cc_username and mailcow_info.mailcow_branch|lower == "legacy" and mailcow_info.version_tag|default %}
same change b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
689
  <span class="version">
Open commit View diff
689 <span class="version">
FreddleSpl0it over 1 year ago 8d0c03b

small adjustment for legacy version

Full commit hash
8d0c03b2fcaea088e1ece18faccde9a2d404a13d
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
690
    ⚰️🐮 + 🐋 = 💕
Open commit View diff
690 ⚰️🐮 + 🐋 = 💕
FreddleSpl0it over 1 year ago b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
691
        Legacy: <a href="{{ mailcow_info.git_project_url }}/commit/{{ mailcow_info.git_commit }}" target="_blank">{{ mailcow_info.version_tag }}
Open commit View diff
691 Legacy: <a href="{{ mailcow_info.git_project_url }}/commit/{{ mailcow_info.git_commit }}" target="_blank">{{ mailcow_info.version_tag }}
same change b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
692
    </a><br>
Open commit View diff
692 </a><br>
same change b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
693
    <span style="text-align:right;display:block;">Build: {{ mailcow_info.git_commit_date }}</span>
Open commit View diff
693 <span style="text-align:right;display:block;">Build: {{ mailcow_info.git_commit_date }}</span>
same change b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
694
  </span>
Open commit View diff
694 </span>
same change b77ff2f

Add switch to legacy version

Full commit hash
b77ff2f51ce3491beb5aee30434619ddc79aba73
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
695
  {% endif %}
Open commit View diff
695 {% endif %}
Kristian Feldsam almost 5 years ago 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
696
</div>
Open commit View diff
696 </div>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
697
</body>
Open commit View diff
697 </body>
same change 0b64967

[web] implemented twig templating system (#4264)

Full commit hash
0b64967ec56f14bbdb288e07b02d478c835be513
Author
Kristian Feldsam <[email protected]>
Date
almost 5 years ago
Selected line
698
</html>
Open commit View diff
698 </html>