NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

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

Trace

data/web/inc/ajax/qr_gen.php

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

qr_gen.php on main
Author Date Commit Line Code
andryyy over 7 years ago 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
Open commit View diff
2 require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3
header('Content-Type: text/plain');
Open commit View diff
3 header('Content-Type: text/plain');
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4
if (!isset($_SESSION['mailcow_cc_role'])) {
Open commit View diff
4 if (!isset($_SESSION['mailcow_cc_role'])) {
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5
	exit();
Open commit View diff
5 exit();
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6
}
Open commit View diff
6 }
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
7
if (isset($_GET['token']) && ctype_alnum($_GET['token'])) {
Open commit View diff
7 if (isset($_GET['token']) && ctype_alnum($_GET['token'])) {
andryyy over 7 years ago 82f7cab

[Web] Fix totp qr code, fixes #2490

Full commit hash
82f7cab2599c24eb742881ae19fb9e5e3bfe3ec6
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
8
  echo $tfa->getQRCodeImageAsDataUri($_SESSION['mailcow_cc_username'], $_GET['token']);
Open commit View diff
8 echo $tfa->getQRCodeImageAsDataUri($_SESSION['mailcow_cc_username'], $_GET['token']);
andryyy over 7 years ago 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
9
}
Open commit View diff
9 }
same change 6a13609

[Web] Fix slow UI by switching QR provider and only generating qr image on demand

Full commit hash
6a13609bf0e1bc75c907bdc46a4099b92de69eb3
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
10
?>
Open commit View diff
10 ?>