mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-27 18:20:44 +01:00
174 lines
9.6 KiB
HTML
174 lines
9.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Bugs and Suggestions</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="MobileOptimized" content="176" />
|
|
<meta name="HandheldFriendly" content="True" />
|
|
<link rel="shortcut icon" href="/img/bt_favicon.ico" type="image/x-icon" />
|
|
<link rel="mask-icon" href="/img/bt_icon.svg" color="#238fe1">
|
|
<script>document.cookie="stel_dt="+encodeURIComponent((new Date).getTimezoneOffset())+";path=/;max-age=31536000;samesite=None;secure"</script>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet" type="text/css">
|
|
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
|
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
|
<link href="/css/telegram.css?212" rel="stylesheet">
|
|
<link href="/css/bugtracker.css?68" rel="stylesheet">
|
|
<link href="/css/bugtracker-bugs.css?4" rel="stylesheet">
|
|
<link href="/css/contest-zoo.css?7" rel="stylesheet">
|
|
<link href="/css/jquery-ui.min.css" rel="stylesheet">
|
|
<link href="/css/codemirror.css?1" rel="stylesheet">
|
|
|
|
</head>
|
|
<body class="emoji_image no-transition">
|
|
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
|
|
<defs>
|
|
<path id="icon-like" d="m16 14h-1.6c-.44 0-.8-.35-.8-.78v-7c0-.43.36-.78.8-.78h1.6zm-15.86-5.54c-.09-.19-.14-.4-.14-.62v-.84c0-.86.72-1.56 1.6-1.56h4.4l-.74-3.61c-.04-.17-.01-.36.07-.52.18-.35.41-.66.7-.94l.37-.37 5.13 4.99c.3.29.47.69.47 1.1v6.09c0 1-.84 1.82-1.87 1.82h-6.48c-.57 0-1.09-.29-1.38-.75z"/>
|
|
<path id="icon-dislike" d="m16 0h-1.6c-.4 0-.8.3-.8.8v7c0 .4.4.8.8.8h1.6zm-15.9 5.5c-.1.2-.1.4-.1.7v.8c0 .9.7 1.6 1.6 1.6h4.4l-.7 3.6c-.1.1-.1.3 0 .5.2.3.4.7.7.9l.4.4 5.1-5c.3-.3.5-.7.5-1.1v-6.1c0-1-.8-1.8-1.9-1.8h-6.5c-.5 0-1 .3-1.3.8z"/>
|
|
<path id="icon-replies" d="m5.951.078-.072.061-5.73 5.911c-.192.198-.214.5-.066.723l.063.079 5.731 6.007c.088.091.209.143.336.143.228 0 .417-.164.457-.38l.006-.072v-3.374c.106-.006.211-.01.318-.013l.319-.004c2.919 0 5.42.819 7.179 2.457.121-.075.284-.109.463-.124l.045.263c-.511-3.167-1.332-4.236-2.573-5.476-1.348-1.345-3.132-2.19-5.353-2.536l-.397-.056v-3.225c0-.126-.051-.246-.141-.333-.161-.157-.406-.173-.585-.051z"/>
|
|
<path id="icon-subscribe" d="m9.47 14c.07.16.12.32.12.5c0 .83-.9 1.5-2 1.5c-1.11 0-2-.67-2-1.5c0-.18.04-.34.11-.5zm-1.88-14c.55 0 1 .45 1 1v.1c2.28.46 4 2.48 4 4.9v4l1.29 1.29c.39.39.39 1.03 0 1.42c-.19.18-.44.29-.71.29h-11.17c-.55 0-1-.45-1-1c0-.27.11-.52.29-.71l1.3-1.29v-4c0-2.42 1.71-4.44 4-4.9v-.1c0-.55.44-1 1-1z"/>
|
|
<path id="icon-trending" d="m7.5 11.96-3.62 2.14c-.4.24-.92.1-1.15-.3-.11-.18-.15-.4-.1-.61l.91-4.1-3.15-2.79c-.35-.31-.38-.84-.07-1.19.14-.16.33-.26.54-.28l4.19-.4 1.68-3.86c.18-.42.68-.62 1.1-.43.2.08.36.24.44.43l1.68 3.86 4.19.4c.46.05.8.46.75.92-.02.21-.12.41-.28.55l-3.15 2.79.91 4.1c.1.46-.18.91-.64 1.01-.2.04-.42.01-.61-.1z"></path>
|
|
<path id="icon-copy" d="m17.8 13.3c.7 0 1.2.5 1.2 1.2v1c0 3.6-2.9 6.5-6.5 6.5s-6.5-2.9-6.5-6.5v-1c0-.7.5-1.2 1.2-1.2s1.2.5 1.2 1.2v1c0 2.3 1.8 4.1 4.1 4.1s4.1-1.8 4.1-4.1v-1c0-.7.5-1.2 1.2-1.2zm-5.3-5.3c.7 0 1.3.6 1.3 1.3v5.4c0 .7-.6 1.3-1.3 1.3s-1.3-.6-1.3-1.3v-5.4c0-.7.6-1.3 1.3-1.3zm0-6c3.6 0 6.5 2.9 6.5 6.5v1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2v-1c0-2.3-1.8-4.1-4.1-4.1s-4.1 1.8-4.1 4.1v1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2v-1c0-3.6 2.9-6.5 6.5-6.5z" transform="matrix(.70710678 .70710678 -.70710678 .70710678 9.146447 -8.324116)"/>
|
|
<g id="icon-arrow" fill-rule="evenodd"><rect height="2" rx="1" width="13" x="5" y="11"/><rect height="2.2" rx="1.1" transform="rotate(135 18 12.1)" width="10" x="16.9" y="11"/><rect height="2.2" rx="1.1" transform="rotate(-135, 18, 11.9)" width="10" x="16.9" y="10.8"/></g>
|
|
<g id="icon-close" fill-rule="evenodd"><rect id="icon-part1" height="16" rx="1.05" transform="rotate(-45 12 12)" width="2.1" x="10.95" y="3.95"/><use transform="rotate(90 12 12)" xlink:href="#icon-part1"/></g>
|
|
<g id="icon-layer-close" fill-rule="evenodd"><rect id="icon-part2" height="19" rx="1.25" transform="rotate(-45 12 12)" width="2.5" x="10.75" y="2.25"/><use transform="rotate(90 12 12)" xlink:href="#icon-part2"/></g>
|
|
<g id="icon-dd" fill-rule="evenodd"><path d="m.78.69c-.38.33-.42.91-.08 1.29.02.03.05.06.08.08l4.81 4.25c.44.4 1.11.4 1.55 0 .38-.33.42-.91.08-1.29-.02-.03-.05-.06-.08-.08l-4.81-4.25c-.44-.4-1.11-.4-1.55 0z"/><path d="m12.14.69c.38.33.42.91.08 1.29-.02.03-.05.06-.08.08l-4.81 4.25c-.44.4-1.11.4-1.55 0-.38-.33-.42-.91-.08-1.29.02-.03.05-.06.08-.08l4.81-4.25c.44-.4 1.11-.4 1.55 0z"/></g>
|
|
</defs>
|
|
</svg>
|
|
<div id="aj_progress" class="progress-bar"></div>
|
|
|
|
<div id="aj_content"><div class="popup-container login-popup-container hide" id="login-popup-container">
|
|
<div class="popup">
|
|
<div class="popup-body">
|
|
<section>
|
|
<h2>Log In</h2>
|
|
<p>Log in here to report bugs or suggest features. Please enter your <b>phone number</b> in the <a target="_blank" rel="noopener" href="https://telegram.org/faq#login-and-sms">international format</a> and we will send a confirmation message to your account via Telegram.</p>
|
|
|
|
<form id="send-form" class="login-form">
|
|
<div class="form-group">
|
|
<input type="tel" class="form-control cd-form-control input-lg" id="phone-number" placeholder="+12223334455" autocomplete="off"/>
|
|
</div>
|
|
<div class="popup-buttons">
|
|
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><button type="submit" class="btn btn-link btn-lg">Next</button>
|
|
</div>
|
|
</form>
|
|
|
|
<div id="login-form" class="hide">
|
|
<div class="form-group">
|
|
<span class="form-control cd-form-control input input-lg input-disabled"><strong id="phone-number-field"></strong> (<a class="login-back" href="/auth">Incorrect?</a>)</span>
|
|
<p class="help-block dots-animated">We've just sent you a message.<br/>Please confirm access via Telegram</p>
|
|
</div>
|
|
<div class="popup-buttons">
|
|
<a class="btn btn-link btn-lg login-cancel-btn">Cancel</a><a class="btn btn-link btn-lg login-back">Back</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div></div>
|
|
<script src="/js/jquery.min.js?1"></script>
|
|
<script src="/js/bootstrap.min.js"></script>
|
|
<script src="/js/main-aj.js?48"></script>
|
|
<script src="/js/bugtracker.js?66"></script>
|
|
<script src="/js/jquery-ui.min.js?1"></script>
|
|
<script src="/js/codemirror/codemirror.js?1"></script>
|
|
<script src="/js/codemirror/overlay.js?1"></script>
|
|
<script src="/js/codemirror/markdown.js?1"></script>
|
|
<script src="/js/codemirror/gfm.js?1"></script>
|
|
|
|
<script>ajInit({"version":417,"apiUrl":"\/api?hash=439ba6ecb9517f7306","unauth":true});</script>
|
|
<script id="aj_script">openPopup('#login-popup-container');$('#login-popup-container').one('popup:close',function(){Aj.location('/')});
|
|
Bugtracker.init();
|
|
Aj.onLoad(function(state) {
|
|
function requestConfirmation(event) {
|
|
event && event.preventDefault();
|
|
var phone = $('#phone-number').val();
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: '/auth/request',
|
|
data: {
|
|
phone: phone
|
|
},
|
|
success: function(result) {
|
|
$('#phone-number-field').text(phone);
|
|
$('#send-form').addClass('hide');
|
|
$('#login-form').removeClass('hide');
|
|
checkAuth(result.temp_session);
|
|
},
|
|
error: function(xhr) {
|
|
showAlert(xhr.responseText || 'Server error');
|
|
},
|
|
dataType: 'json'
|
|
});
|
|
return false;
|
|
}
|
|
function cancelConfirmation(event) {
|
|
event && event.preventDefault();
|
|
$('#phone-number-field').text('');
|
|
$('#send-form').removeClass('hide');
|
|
$('#login-form').addClass('hide');
|
|
$('#phone-number').focus();
|
|
clearTimeout(window.authTimeout);
|
|
return false;
|
|
}
|
|
function checkAuth(temp_session) {
|
|
clearTimeout(window.authTimeout);
|
|
window.authTimeout = setTimeout(function doCheckAuth() {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: '/auth/login',
|
|
data: {
|
|
temp_session: temp_session
|
|
},
|
|
success: function(result) {
|
|
if (result) {
|
|
location.reload();
|
|
} else {
|
|
checkAuth(temp_session);
|
|
}
|
|
},
|
|
error: function (xhr) {
|
|
showAlert(xhr.responseText || 'Server error');
|
|
},
|
|
dataType: 'json'
|
|
});
|
|
}, 700);
|
|
}
|
|
$('#login-popup-container').on('popup:open', function() {
|
|
$('#phone-number').focus();
|
|
});
|
|
$('#login-popup-container').on('popup:close', function() {
|
|
cancelConfirmation();
|
|
if (location.pathname == '/auth') {
|
|
window.history && history.replaceState(null, null, '/');
|
|
}
|
|
});
|
|
$('#login-popup-container #send-form').on('submit', requestConfirmation);
|
|
$('#login-popup-container .login-cancel-btn').on('click', function(e) {
|
|
e.preventDefault();
|
|
closePopup('#login-popup-container');
|
|
});
|
|
$('#login-popup-container .login-back').on('click', cancelConfirmation);
|
|
$('header .login-link').on('click', function(e) {
|
|
e.stopImmediatePropagation();
|
|
e.preventDefault();
|
|
openPopup('#login-popup-container');
|
|
});
|
|
});
|
|
Aj.onUnload(function(state) {
|
|
$('#login-popup-container').off('popup:open');
|
|
$('#login-popup-container').off('popup:close');
|
|
$('#login-popup-container #send-form').off('submit');
|
|
$('#login-popup-container .login-cancel-btn').off('click');
|
|
$('#login-popup-container .login-back').off('click');
|
|
$('header .login-link').off('click');
|
|
});
|
|
</script>
|
|
<script>Aj.pageLoaded();</script>
|
|
|
|
</body>
|
|
</html>
|
|
|