This commit is contained in:
jim committed 2025-12-12 15:53:31 +00:00
commit 31a11e3ba4
6051 files changed
+2099864

No files matched your search

+1
View File
@@ -0,0 +1 @@
localclient:6357e51e7c8fe1a4c7f34d8857c99eb003868bc0:10
+7
View File
@@ -0,0 +1,7 @@
{
"file": 2,
"format": 1
}{
"next_id": 1,
"watchdirs": {}
}
+97
View File
@@ -0,0 +1,97 @@
{
"file": 1,
"format": 1
}{
"add_paused": false,
"allow_remote": true,
"auto_manage_prefer_seeds": false,
"auto_managed": true,
"cache_expiry": 60,
"cache_size": 512,
"copy_torrent_file": false,
"daemon_port": 58846,
"del_copy_torrent_file": false,
"dht": true,
"dont_count_slow_torrents": false,
"download_location": "/downloads",
"download_location_paths_list": [],
"enabled_plugins": [
"Label"
],
"enc_in_policy": 1,
"enc_level": 2,
"enc_out_policy": 1,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"ignore_limits_on_local_network": true,
"info_sent": 0.0,
"listen_interface": "",
"listen_ports": [
6881,
6891
],
"listen_random_port": 51765,
"listen_reuse_port": true,
"listen_use_sys_port": false,
"lsd": true,
"max_active_downloading": 10,
"max_active_limit": 10,
"max_active_seeding": 1,
"max_connections_global": 200,
"max_connections_per_second": 20,
"max_connections_per_torrent": -1,
"max_download_speed": -1.0,
"max_download_speed_per_torrent": -1,
"max_half_open_connections": 50,
"max_upload_slots_global": 4,
"max_upload_slots_per_torrent": -1,
"max_upload_speed": -1.0,
"max_upload_speed_per_torrent": -1,
"move_completed": false,
"move_completed_path": "/downloads",
"move_completed_paths_list": [],
"natpmp": true,
"new_release_check": true,
"outgoing_interface": "",
"outgoing_ports": [
0,
0
],
"path_chooser_accelerator_string": "Tab",
"path_chooser_auto_complete_enabled": true,
"path_chooser_max_popup_rows": 20,
"path_chooser_show_chooser_button_on_localhost": true,
"path_chooser_show_hidden_files": false,
"peer_tos": "0x00",
"plugins_location": "/config/plugins",
"pre_allocate_storage": false,
"prioritize_first_last_pieces": false,
"proxy": {
"anonymous_mode": false,
"force_proxy": false,
"hostname": "",
"password": "",
"port": 8080,
"proxy_hostnames": true,
"proxy_peer_connections": true,
"proxy_tracker_connections": true,
"type": 0,
"username": ""
},
"queue_new_to_top": false,
"random_outgoing_ports": true,
"random_port": true,
"rate_limit_ip_overhead": true,
"remove_seed_at_ratio": false,
"seed_time_limit": 0,
"seed_time_ratio_limit": 0.0,
"send_info": false,
"sequential_download": false,
"share_ratio_limit": 0.0,
"shared": false,
"stop_seed_at_ratio": true,
"stop_seed_ratio": 0.0,
"super_seeding": false,
"torrentfiles_location": "/config/torrents",
"upnp": true,
"utpex": true
}
+97
View File
@@ -0,0 +1,97 @@
{
"file": 1,
"format": 1
}{
"add_paused": false,
"allow_remote": true,
"auto_manage_prefer_seeds": false,
"auto_managed": true,
"cache_expiry": 60,
"cache_size": 512,
"copy_torrent_file": false,
"daemon_port": 58846,
"del_copy_torrent_file": false,
"dht": true,
"dont_count_slow_torrents": false,
"download_location": "/downloads",
"download_location_paths_list": [],
"enabled_plugins": [
"Label"
],
"enc_in_policy": 1,
"enc_level": 2,
"enc_out_policy": 1,
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
"ignore_limits_on_local_network": true,
"info_sent": 0.0,
"listen_interface": "",
"listen_ports": [
6881,
6891
],
"listen_random_port": 51765,
"listen_reuse_port": true,
"listen_use_sys_port": false,
"lsd": true,
"max_active_downloading": 10,
"max_active_limit": 10,
"max_active_seeding": 0,
"max_connections_global": 200,
"max_connections_per_second": 20,
"max_connections_per_torrent": -1,
"max_download_speed": -1.0,
"max_download_speed_per_torrent": -1,
"max_half_open_connections": 50,
"max_upload_slots_global": 4,
"max_upload_slots_per_torrent": -1,
"max_upload_speed": -1.0,
"max_upload_speed_per_torrent": -1,
"move_completed": false,
"move_completed_path": "/downloads",
"move_completed_paths_list": [],
"natpmp": true,
"new_release_check": true,
"outgoing_interface": "",
"outgoing_ports": [
0,
0
],
"path_chooser_accelerator_string": "Tab",
"path_chooser_auto_complete_enabled": true,
"path_chooser_max_popup_rows": 20,
"path_chooser_show_chooser_button_on_localhost": true,
"path_chooser_show_hidden_files": false,
"peer_tos": "0x00",
"plugins_location": "/config/plugins",
"pre_allocate_storage": false,
"prioritize_first_last_pieces": false,
"proxy": {
"anonymous_mode": false,
"force_proxy": false,
"hostname": "",
"password": "",
"port": 8080,
"proxy_hostnames": true,
"proxy_peer_connections": true,
"proxy_tracker_connections": true,
"type": 0,
"username": ""
},
"queue_new_to_top": false,
"random_outgoing_ports": true,
"random_port": true,
"rate_limit_ip_overhead": true,
"remove_seed_at_ratio": false,
"seed_time_limit": 0,
"seed_time_ratio_limit": 0.0,
"send_info": false,
"sequential_download": false,
"share_ratio_limit": 0.0,
"shared": false,
"stop_seed_at_ratio": true,
"stop_seed_ratio": 0.0,
"super_seeding": false,
"torrentfiles_location": "/config/torrents",
"upnp": true,
"utpex": true
}
+6
View File
@@ -0,0 +1,6 @@
Exiting...
Exiting...
Exiting...
Exiting...
Exiting...
Exiting...
+1
View File
@@ -0,0 +1 @@
135;58846
+14
View File
@@ -0,0 +1,14 @@
{
"file": 3,
"format": 1
}{
"hosts": [
[
"a74d866ea8b44baab28df36db08147d0",
"127.0.0.1",
58846,
"localclient",
"6357e51e7c8fe1a4c7f34d8857c99eb003868bc0"
]
]
}
+903
View File
@@ -0,0 +1,903 @@
<!DOCTYPE html>
<html lang="ru" xmlns="http://www.w3.org/1999/xhtml" class="react-layout">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<style>
body {
overflow-x: hidden;
}
</style>
<meta http-equiv="content-language" content="ru-RU" />
<title>билайн Москва — официальный сайт оператора: тарифы на мобильную связь и интернет, услуги, акции, выбор и заказ SIM-карт и eSIM.</title>
<script>window.sentryEnabled = true</script>
<meta name="description" content="Официальный сайт оператора сотовой связи билайн. Подробное описание и условия подключения тарифов и услуг, доступная стоимость мобильной связи и интернета. Покупайте SIM-карту или eSIM, подключайте подходящий тариф на выгодных условиях и оцените все возможности сети с билайн Москва." />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "https://moskva.beeline.ru/customers/products/",
"logo": "https://moskva.beeline.ru/content/img/logo-smart-banner.png",
"alternateName": "билайн",
"name": "билайн Москва"
}
</script>
<link rel="canonical" href="https://moskva.beeline.ru/customers/products/" />
<link href="/react/build/vendor.f72ac9c.css" rel="stylesheet"/>
<link href="/react/build/common.f72ac9c.css" rel="stylesheet"/>
<link href="/react/build/carnica.f72ac9c.css" rel="stylesheet"/>
<link href="/react/build/components.f72ac9c.css" rel="stylesheet"/>
<meta id="viewportMeta" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<!--Begin custom styles-->
<link href="/react/build/MainPage.f72ac9c.css" rel="stylesheet"/>
<!--End custom styles-->
<meta name="theme - color" content="#ffffff"><link rel="icon" href="/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<script nomodule src="/scripts/polyfill.min.js"></script>
<meta name="google-site-verification" content="ShTNGZbC0pBmEZ4bli3_SuIV1WTq782mrjBL1S9Um-Q" />
<style type="text/css">.widthfmc {display: block; max-width: 460px;}</style>
<link crossorigin="" href="https://mc.yandex.ru" rel="preconnect" />
<link crossorigin="" href="https://cdn.diginetica.net" rel="preconnect" />
<link crossorigin="" href="https://beeline.api.flocktory.com" rel="preconnect" />
<meta name="yandex-verification" content="9068d1d816e255b3" />
<meta property="og:image:alt" content="ваш билайн — оператор связи" /><meta property="og:image:type" content="image/jpg" /><meta property="og:image:width" content="1200" /><meta property="og:image:height" content="630" />
<script>
document.addEventListener('DOMContentLoaded', () => {
const replaceLinksInNotAuth = () => {
const isNotAuth = document.querySelectorAll('[data-metric-data="войти"]').length > 0;
if (isNotAuth) {
const tariffLinks = document.querySelectorAll(
'[data-metric-name="tariffCardMetric:handleChipsClick"][href="/customers/products/mobile/tariffs/"]',
);
return tariffLinks?.forEach((link) => (link.href = '/customers/products/toptariffs'));
}
return undefined;
};
replaceLinksInNotAuth();
const targetNodes = Array.from(document.querySelectorAll('[data-t-id="layout-BlockWrapper"]')).filter(node => node.querySelector('[data-t-id="components-Skeleton"], [data-metric-name="tariffCardMetric:handleCardClick"]'))
const config = { attributes: false, childList: true, subtree: true };
const observer = new MutationObserver(replaceLinksInNotAuth);
targetNodes.forEach(targetNode => observer.observe(targetNode, config));
});
</script>
<script>
(function() {
function getCookie(name) {
var matches = document.cookie.match(new RegExp(
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
));
return matches ? decodeURIComponent(matches[1]) : undefined;
}
function setCookie(name, value, options = {}) {
let date = new Date(Date.now() + 5184000000);
options = {
path: '/',
domain: '.beeline.ru',
expires: date
};
if (options.expires instanceof Date) {
options.expires = options.expires.toUTCString();
}
var updatedCookie = encodeURIComponent(name) + "=" + encodeURIComponent(value);
for (var optionKey in options) {
updatedCookie += "; " + optionKey;
var optionValue = options[optionKey];
if (optionValue !== true) {
updatedCookie += "=" + optionValue;
}
}
document.cookie = updatedCookie;
}
function setNewBasketCookie() {
var cookieName = 'abt_b2c_new_basket';
setCookie(cookieName, 'true');
}
setNewBasketCookie();
})();
</script>
<style type="text/css">.desktopOnlyElement #toggleButton-regions-desktop
{ max-width: 140px; margin-right: 0; }
.desktopOnlyElement ._3Vo2_G { align-items: normal; }</style>
<style type="text/css">/**/
.e145b {
background: var(--backgroundPrimaryInvert);
}
.now-available::before {
content: "уже в продаже";
display: block;
width: fit-content;
padding: .3em .7em;
margin-bottom: 1em;
background: linear-gradient(90deg, #BDE2FB, #BDE2FB4D) padding-box, linear-gradient(90deg, #ffffff, #e7f1f8) border-box;
font-size: .5em;
font-weight: 500;
line-height: 1.2;
border: 2px solid transparent;
border-radius: .5em;
transform: rotate(-9deg);
}
@media(max-width: 800px) {
.now-available::before {
display: none;
}
}
/*Лайнер*/
.bnLinerWhite,
.bnLinerYellow,
.bnLinerWhite2,
.bnLiner_21561{
position:relative;
z-index: 1;
}
.bnLinerWhite::after,
.bnLinerWhite2::after{
background: #fff;
}
.bnLinerYellow::after,
.bnLiner_21561::after{
background: #fc0;
}
.bnLinerWhite::after,
.bnLinerYellow::after,
.bnLiner_21561::after {
content: '';
position: absolute;
width: calc(100% + 6px);
height: 1ex;
right: -3px;
z-index: -1;
bottom: 20%;
}
.bnLinerWhite2::after {
content: '';
position: absolute;
width: calc(100% + 3px);
height: .5em;
right: -2px;
z-index: -1;
bottom: .23em;
}
@media(max-width: 429px) {
.bnLiner_21561::after {
background: #fff;
}
}
/*Лого брендов*/
.wSZZR::before {
content: '';
display: block;
position: absolute;
background-size: contain;
background-repeat: no-repeat;
}
@media(max-width: 767px) {
.wSZZR::before {
left: 23px;
top: 17px;
}
}
@media(min-width: 768px) {
.wSZZR::before {
left: 40px;
top: 30px;
}
}
@media(min-width: 1025px) {
.wSZZR::before {
left: 108px;
}
}
@media(min-width: 1200px) {
.wSZZR::before {
left: 108px;
top: 48px;
}
}
/*Tecno*/
a[href*='/actions/camon-k-znaniiam/'] > .wSZZR::before,
a[href*='vesennee-trio-s-vygodoi'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/tecno-black.svg);
width: 135px;
}
@media(min-width: 768px) {
a[href*='/actions/camon-k-znaniiam/'] > .wSZZR::before,
a[href*='vesennee-trio-s-vygodoi'] > .wSZZR::before {
height: 18px;
}
}
@media(min-width: 1200px) {
a[href*='/actions/camon-k-znaniiam/'] > .wSZZR::before,
a[href*='vesennee-trio-s-vygodoi'] > .wSZZR::before {
height: 25px;
}
}
/*Samsung*/
a[href*='/letnii-marafon-vygod/'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/samsung-black.svg);
}
@media(min-width: 768px) {
a[href*='/letnii-marafon-vygod/'] > .wSZZR::before {
width: 110px;
height: 17px;
}
}
@media(min-width: 1200px) {
a[href*='/letnii-marafon-vygod/'] > .wSZZR::before {
width: 139px;
height: 22px;
}
}
/*Xiaomi*/
a[href*='/vesennie-vygodnye-komplekty/'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/xiaomi-orange.svg);
width: 228px;
}
@media(min-width: 768px) {
a[href*='/vesennie-vygodnye-komplekty/'] > .wSZZR::before {
top: 28px;
left: 28px;
height: 31px;
}
}
@media(min-width: 1200px) {
a[href*='/vesennie-vygodnye-komplekty/'] > .wSZZR::before {
top: 30px;
left: 30px;
height: 57px;
}
}
/*Infinix*/
a[href*='/vesennie-vygodnye-komplekty-2/'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/infinix-black.svg);
width: 228px;
}
@media(min-width: 768px) {
a[href*='/vesennie-vygodnye-komplekty-2/'] > .wSZZR::before {
height: 20px;
}
}
@media(min-width: 1200px) {
a[href*='/vesennie-vygodnye-komplekty-2/'] > .wSZZR::before {
height: 25px;
}
}
/*Yandex*/
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/'] > .wSZZR::before,
a[href*='/internet-s-kinopoiskom/'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/yandex_plus-color.svg);
width: 228px;
}
@media(max-width: 767px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/'] > .wSZZR::before,
a[href*='/internet-s-kinopoiskom/'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/yandex-plus-black.svg);
height: 20px;
}
}
@media(min-width: 768px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/'] > .wSZZR::before,
a[href*='/internet-s-kinopoiskom/'] > .wSZZR::before {
height: 32px;
}
}
@media(min-width: 1200px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/'] > .wSZZR::before,
a[href*='/internet-s-kinopoiskom/'] > .wSZZR::before {
height: 41px;
}
}
/*Билайн и ellco*/
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/?utm_source=beeline&utm_medium=banner&utm_campaign=banner-ellco&erid=2VSb5zD7aY8'] > .wSZZR::before {
background-image: url(//static.beeline.ru/upload/images/banners/brand-logo/beeline-ellco.png);
width: 228px;
}
@media(max-width: 767px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/?utm_source=beeline&utm_medium=banner&utm_campaign=banner-ellco&erid=2VSb5zD7aY8'] > .wSZZR::before {
display: none;
}
}
@media(min-width: 768px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/?utm_source=beeline&utm_medium=banner&utm_campaign=banner-ellco&erid=2VSb5zD7aY8'] > .wSZZR::before {
height: 32px;
}
}
@media(min-width: 1200px) {
a[href*='/domashnij-internet-tv-mobilnaya-svyaz/?utm_source=beeline&utm_medium=banner&utm_campaign=banner-ellco&erid=2VSb5zD7aY8'] > .wSZZR::before {
height: 41px;
}
}
/*Баннеры*/
/*13 лет создаем технологии*/
img[src*='beeline-liza-alert-collab-logo.png'] {
height: 44px;
}
@media(min-width: 801px) {
.bnHeader31575 {
display: block;
width: 501px;
}
}
@media(min-width: 1440px) {
.bnHeader31575 {
font-size: 40px;
line-height: 1.2;
}
}
/*Держим связь*/
.bnText294671,
.bnText294672 {
display: none;
}
@media(max-width: 800px) {
.bnText294672 {
display: initial;
}
}
@media(min-width: 801px) {
.bnText294671 {
display: block;
width: 35vw;
max-width: 600px;
}
}
/*весенний хит*/
.dnP4g[style*='beeline-10gb-28124_d'] {
background-image: url(//static.beeline.ru/upload/images/banners/main/slider/beeline-10gb-28124_d.jpg), linear-gradient(to right, #fff 50%, transparent 50%), linear-gradient(to bottom, #fee487 0%, #fee487 20%, #ffe489 40%, #fed7a0 60%, #f9bcbb 80%, #f595c3 100%) !important;
}
.dnP4g[style*='beeline-35gb-28124_d'] {
background-image: url(//static.beeline.ru/upload/images/banners/main/slider/beeline-35gb-28124_d.jpg), linear-gradient(to right, #fff 50%, transparent 50%), linear-gradient(to bottom, #fee487 0%, #fee487 20%, #ffe489 40%, #fed7a0 60%, #f9bcbb 80%, #f595c3 100%) !important;
}
.dnP4g[style*='beeline-50gb-28124_d'] {
background-image: url(//static.beeline.ru/upload/images/banners/main/slider/beeline-50gb-28124_d.jpg), linear-gradient(to right, #fff 50%, transparent 50%), linear-gradient(to bottom, #fee487 0%, #fee487 20%, #ffe489 40%, #fed7a0 60%, #f9bcbb 80%, #f595c3 100%) !important;
}
.dnP4g[style*='beeline-35gb-28995_d'] {
background-image: url(//static.beeline.ru/upload/images/banners/main/slider/beeline-35gb-28995_d.jpg), linear-gradient(to right, #fff 50%, transparent 50%), linear-gradient(to bottom, #fee487 0%, #fee487 20%, #ffe489 40%, #fed7a0 60%, #f9bcbb 80%, #f595c3 100%) !important;
}
/*1тб бесплатно*/
.dnP4g[style*='beeline-28022_xl'] {
background: url("//static.beeline.ru/upload/images/banners/main/slider/beeline-28022_xl.png") center / contain, url("//static.beeline.ru/upload/images/banners/main/slider/beeline-28022_bg.jpg") bottom / cover !important;
}
/*план б*/
.dnP4g[style*='beeline-29391-xl'] {
background: url("//static.beeline.ru/upload/images/banners/main/slider/beeline-29391-xl.png") center / contain, url("//static.beeline.ru/upload/images/banners/main/slider/beeline-29391-xl_bg.jpg") bottom / cover !important;
background-repeat: no-repeat !important;
}
/**/</style>
<style type="text/css">.footer__personal-data .Bb9Nrp {display: contents;}
.BncflT{display: none;}</style>
<style type="text/css">.wrapper .g1ozDD {
height: 350px;
}</style>
<meta name="yandex-verification" content="cf911acad20823ed" />
<script type="text/javascript">
window.ROLE_MODEL_ACTIVE = true;
</script>
<style type="text/css">.react-adaptive-wrapper {
overflow-x: initial !important;
}
html.react-layout {
overflow-y: inherit;
}
.popup-wrap.hidden {
display: none;
}</style>
<style type="text/css">.userIsTabbing *:focus {
outline: 3px solid #f6ce6c !important;
}</style><script>
(function() {
function handleFirstTab(e) {
if (e.keyCode === 9) {
document.body.classList.add('userIsTabbing');
window.removeEventListener('keydown', handleFirstTab);
}
}
window.addEventListener('keydown', handleFirstTab);
})()
</script>
<script type="text/javascript">
window.siteSentryEnabled = true;
window.fttbSentryEnabled = false;
</script>
<meta name="theme-color" content="#282828" />
<script type="text/javascript"></script>
<img src="/assets/vk/pixel.png?goal=header" decoding="async" width="1" height="1" style="position: absolute; left: -9999px;" alt="" />
<script type="text/javascript"></script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(26001372, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:"dataLayer",
params: window.yaParams
});
ym(28573041, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:"dataLayer",
params: window.yaParams
});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/26001372" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<noscript>
<div><img src="https://mc.yandex.ru/watch/28573041" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<!-- /Yandex.Metrika counter -->
<meta name="apple-itunes-app" content="app-id=569251594">
<meta property="og:title" content="ваш билайн — оператор связи" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://moskva.beeline.ru/customers/products/" />
<meta property="og:image" content="https://static.beeline.ru/upload/contents/10734/29032-beeline-logo.jpg" />
<meta property="og:description" content="выбирайте сим и eSIM с выгодными тарифами, подключайте домашний интернет, забудьте о спаме и мошенниках" />
<meta property="og:site_name" content="beeline" />
<meta name='regioncode' content='moskva' />
<meta name="yandex-verification" content="4647e889d08b690d" />
<meta name='REGION_CODE' content='moskva' />
<meta name='REGION_TITLE' content='Москва' />
<meta name='REGION_ID' content='98140' />
<meta name='FEDERAL_DISTRICT' content='Центральный' />
<meta name='CULTURE_INFO' content='ru-RU' />
<meta name='diagnostics' content='this page has been rendered without errors' />
<!-- Pixel VK 169 -->
<script type="text/javascript">
!function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src='https://vk.com/js/api/openapi.js?169',t.onload=function(){VK.Retargeting.Init("VK-RTRG-1845378-a5urk"),VK.Retargeting.Hit()},document.head.appendChild(t)}();
</script>
<noscript>
<img src="https://vk.com/rtrg?p=VK-RTRG-1845378-a5urk" style="position:fixed; left:-999px;" alt=""/>
</noscript>
<!-- / Pixel VK 169 -->
<!-- Top.Mail.Ru 3472923 counter --><script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "3472923", type: "pageView", start: (new Date()).getTime()});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
ts.src = "https://top-fwz1.mail.ru/js/code.js";
//ts.setAttribute('integrity', 'sha384-gTGOhxWbfJmkmkXiZt5+L+tekCJFElCrUcpnL7NqA6u770jw3ZRMwLDkk1NhChmc');
//ts.setAttribute('crossorigin', 'anonymous');
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "tmr-code");
</script><noscript>
<div><img src="https://top-fwz1.mail.ru/counter?id=3472923;js=na" style="position:absolute;left:-9999px;" alt="Top.Mail.Ru" /></div>
</noscript><!-- /Top.Mail.Ru 3472923 counter -->
</head>
<body class="bd-react-body">
<!-- Flocktory Tag -->
<script>
dataLayer = [];
</script>
<!-- AnyQuery Diginetica --><script type="text/javascript">
const isWebView = () =>
document.cookie.includes('mobileViewCookie=') ||
new URLSearchParams(document.location.search).has('webView', 'true');
const digineticaMap = new Map([
[
false,
{ id: 2203, int: 'sha384-nGg1WF6KFOR+vOReU968LazhWvO+kSXN4i28rFrY0/hTeqGfW/kzyFo+RP0Fv+o5' },
],
[
true,
{ id: 3553, int: 'sha384-eS3zZs3ao/pjIlMWjL1mv178nUNM8leGLXDt/CYOpFtBvC02DnAW5Kf7BlEP37ck' },
],
]);
const digineticaCurrent = digineticaMap.get(isWebView());
const sc = document.createElement('script');
sc.setAttribute('type', 'text/javascript');
sc.setAttribute('async', 'async');
sc.setAttribute('src', `https://cdn.diginetica.net/${digineticaCurrent.id}/client.js`);
//sc.setAttribute('crossorigin', 'anonymous');
//sc.setAttribute('integrity', digineticaCurrent.int);
document.body.prepend(sc);
</script><!-- / AnyQuery Diginetica -->
<!-- Flocktory Loader --><script
async="async"
src="https://beeline.api.flocktory.com/v2/loader.js?site_id=1632"
type="text/javascript"
></script><!-- / Flocktory Loader -->
<!-- Adv.Cake --><script type="text/javascript" id="advcakeAsync">
(function (a) {
var sc = a.createElement("script");
sc.setAttribute('async', 'async');
sc.setAttribute('src', 'https://bee-cake.ru/');
a = a.getElementsByTagName("script")[0];
a.parentNode.insertBefore(sc, a)
})(document);
</script><script type="tex/javascript">
window.advcake_data = window.advcake_data || [];
window.advcake_data.push({
pageType: 1,
user: { email: '' },
});
</script><!-- / Adv.Cake -->
<style type="text/css">.TariffConstructor_button_1prU {display: none;}</style>
<script type="text/javascript">
window.paymentToggles = {
isLegacyEnabled: false,
isRbsEnabled: true,
isNewCheckOperatorEnabled: true,
isAutopaymentsInSpecialProjectEnabled: false,
isFinBlockPageEnabled: false
}
</script>
<!-- Top.Mail.Ru 3255880 counter --><script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "3255880", type: "pageView", start: (new Date()).getTime(), pid: "USER_ID"});
(function (d, w, id) {
if (d.getElementById(id)) return;
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
ts.src = "https://top-fwz1.mail.ru/js/code.js";
//ts.setAttribute('integrity', 'sha384-gTGOhxWbfJmkmkXiZt5+L+tekCJFElCrUcpnL7NqA6u770jw3ZRMwLDkk1NhChmc');
//ts.setAttribute('crossorigin', 'anonymous');
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "tmr-code");
</script><noscript>
<div><img src="https://top-fwz1.mail.ru/counter?id=3255880;js=na" style="position:absolute;left:-9999px;" alt="Top.Mail.Ru" /></div>
</noscript><!-- / Top.Mail.Ru 3255880 counter -->
<script>
if (navigator.cookieEnabled) {
}
</script>
<!-- Pixel Weborama 8935-199 --><script type="text/javascript">
const query = new URLSearchParams(window.location.search);
const isMyBeelineWebView = query.keys().some((key) => /webview/.test(key.toLowerCase()));
if (!isMyBeelineWebView) {
window.onWeboramaLoad = () => {
let isNewClient = 0;
if (sessionStorage.getItem('weboramaPixel') !== 'connect') {
isNewClient = 1;
sessionStorage.setItem('weboramaPixel', 'connect');
}
const adperftrackobj = {
client: '',
amount: '0.0',
invoice_id: '',
quantity: 0,
is_client: isNewClient,
optional_parameters: {
URL: document.referrer,
},
fullhost: 'wcm.weborama-tech.ru',
site: 8935,
conversion_page: 199,
};
try {
adperfTracker.track(adperftrackobj);
} catch (err) {}
};
const weboramaPixel = document.createElement('script');
weboramaPixel.async = true;
weboramaPixel.type = 'text/javascript';
weboramaPixel.src =
'https://cstatic-ru-cv.weborama-tech.ru/public/js/advertiserv2/adperf_conversion.js';
weboramaPixel.onload = window.onWeboramaLoad;
document.body.appendChild(weboramaPixel);
}
</script><!-- / Pixel Weborama 8935-199 -->
<div class="react-adaptive-wrapper">
<div style='display: block;'>
<div class="react-container">
<div id="react_0HNHKBST1U3HG"><link rel="preload" as="image" href="//static.beeline.ru/upload/images/banners/ribbon/beeline-34675.png"/><link rel="preload" as="image" href="//static.beeline.ru/upload/images/b2c/bee-logo/beeline_logo.svg"/><header class="b6IP2 layout__gap--undefined r0v8R JEcdN" data-component="site-header" role="navigation"><div class="jq4cy bR0pN mREiw" data-component="site-header-container"><div aria-hidden="true" class="BJOeQ qhZEn" style="background-color:#fff" data-t-id="components-TopBanner"><div class="VyZDs"><a class="MZMmY" href="/customers/products/trade-in-benefit/" tabindex="-1" data-t-id="components-TopBanner" data-metric-name="headerMetric:handleTopBannerClick" data-metric-mode="click" data-metric-data="{&quot;bannerTitle&quot;:&quot;выгода в трейд‑ин до 50%&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/trade-in-benefit/&quot;,&quot;bannerId&quot;:&quot;promo-34675&quot;}"><img alt="" class="aP3yp" src="//static.beeline.ru/upload/images/banners/ribbon/beeline-34675.png"/><p class="n3jKk" style="--text-color:var(--text-color-primary);--text-size:16px;--text-weight:var(--font-weight-regular);--text-line-height:24px" data-t-id="components-Text">выгода в трейд‑ин до 50%</p></a><button aria-label="Скрыть баннер" class="tcU2c" tabindex="-1" type="button" data-t-id="components-TopBanner" data-metric-name="headerMetric:handleTopBannerClose" data-metric-mode="click" data-metric-data="{&quot;bannerTitle&quot;:&quot;выгода в трейд‑ин до 50%&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/trade-in-benefit/&quot;}"><svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" fill="#13171b" viewBox="0 0 24 24" data-t-id="src-icons"><path d="m12 10.586 4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636l4.95 4.95Z"></path></svg></button></div></div><div class="BkGnh"><section class="GMPvQ section__gap--undefined bBayT" role="navigation" data-t-id="components-Layout"><div class="iuyl2 oUsOI wrapper__direction--row iR4Vc"><button class="vv6vY Yo51B kaMRU AXS30 Zbvyj" aria-label="открыть боковое меню" data-t-id="components-Button" data-metric-name="headerMetric:handleTopIconClick" data-metric-mode="click" data-metric-data="menu" data-pressed="false"><span data-t-id="components-Icon" class="u96sF VauiC button-icon_view_default" style="--icon-size:24px;--icon-color:var(--button-icon-color)"><span class="qgblM rDlwv o8BNo" style="--icon-url:url(https://static.beeline.ru/upload/images/carnica/icons/IconBurgerMenu.svg)" data-t-id="components-Icon"></span></span></button><div class="EeD9a"></div></div><div class="iuyl2 b8gUT wrapper__direction--row iR4Vc"><a class="bIHw1" href="/customers/products/" data-t-id="components-Logo" data-metric-name="headerMetric:handleTopIconClick" data-metric-mode="click" data-metric-data="logo"><img alt="билайн" class="g89uF" src="//static.beeline.ru/upload/images/b2c/bee-logo/beeline_logo.svg"/></a></div><div class="iuyl2 Tp0PJ wrapper__direction--row iR4Vc"><button class="vv6vY Yo51B kaMRU AXS30" aria-label="Открыть поиск" type="button" data-t-id="components-Button" data-metric-name="headerMetric:handleTopIconClick" data-metric-mode="click" data-metric-data="search" data-pressed="false"><span data-t-id="components-Icon" class="u96sF VauiC button-icon_view_default" style="--icon-size:24px;--icon-color:var(--button-icon-color)"><span class="qgblM rDlwv o8BNo" style="--icon-url:url(https://static.beeline.ru/upload/images/carnica/icons/IconSearchStroked.svg)" data-t-id="components-Icon"></span></span></button><a class="vv6vY Yo51B AXS30" href="/customers/support/" data-t-id="components-Button" data-metric-name="headerMetric:handleTopButtonClick" data-metric-mode="click" data-metric-data="помощь" data-pressed="false"><p class="nQTgX">помощь</p></a><button class="vv6vY QYxai AXS30 login-button" data-t-id="components-Button" data-metric-name="headerMetric:handleTopButtonClick" data-metric-mode="click" data-metric-data="войти" data-pressed="false"><p class="nQTgX">войти</p></button></div></section></div></div></header><style>html, body { background: #f0f3f5 !important }</style><section class="r0v8R rNCZ1" data-t-id="Container-Block"><div class="Fz1iM Djuue"></div><main class="nRUff Djuue"></main></section></div>
<script>defReactS = window.defReactS || []; defReactS.push(function(){
ReactDOM.hydrate(React.createElement(beeline.components.HeaderV2.default, {"data":{"logo":{"href":"/customers/products/","src":"//static.beeline.ru/upload/images/b2c/bee-logo/beeline_logo.svg"},"menu":{"leftBlock":[{"id":0,"title":"частным лицам","urlTitle":"частным лицам","url":null,"isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[{"id":1,"title":"мобильная связь","urlTitle":"мобильная связь","url":null,"isBlankUrlTarget":false,"banners":[{"logoSrc":null,"bannerText":"платим<br>за входящие","buttonText":"подробнее","circleTheme":"dark","contentStyles":{"justifyContent":"space-between"},"imageStyles":{"backgroundPosition":"right bottom","backgroundSize":"auto 100%"},"backgroundColor":"#ffffff","imageUrl":"//static.beeline.ru/upload/images/banners/menu/aside/beeline-34435_2.jpg","isNeedLogo":null,"linkHref":"/customers/products/mobile/getincome/","textColor":"primary","legalText":null,"bannerDescription":"подключайся<br>и зарабатывай","type":"text","textBadge":null,"direction":"downCenter","theme":"dark"}],"highlighted":false,"navigationItems":[{"id":2,"title":"стать клиентом билайн","urlTitle":"стать клиентом билайн","url":null,"isBlankUrlTarget":false,"banners":[],"highlighted":true,"navigationItems":[{"id":3,"title":"тарифы и подписки","urlTitle":"тарифы и подписки","url":"/customers/products/toptariffs/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":4,"title":"перенести номер в билайн","urlTitle":"перенести номер в билайн","url":"/customers/products/mobile/services/details/mnp/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":5,"title":"выбрать красивый номер","urlTitle":"выбрать красивый номер","url":"/customers/products/krasivie-nomera/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":6,"title":"оформить eSIM","urlTitle":"оформить eSIM","url":"/customers/products/esim/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":7,"title":"купить сим","urlTitle":"купить сим","url":"/sim-karty/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":8,"title":"связь для граждан СНГ","urlTitle":"связь для граждан СНГ","url":"/dobro/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null}],"withOutline":false,"badgeText":null,"isWhite":true},{"id":9,"title":"услуги и сервисы","urlTitle":"услуги и сервисы","url":null,"isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[{"id":10,"title":"моя безопасность","urlTitle":"моя безопасность","url":"/customers/products/security/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":11,"title":"роуминг и связь по миру","urlTitle":"роуминг и связь по миру","url":"/customers/products/mobile/roaming/rouming-po-miru/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":12,"title":"общий баланс","urlTitle":"общий баланс","url":"/customers/products/ob/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":13,"title":"семья в билайне","urlTitle":"семья в билайне","url":"/profit4fam/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":14,"title":"возможности при нуле","urlTitle":"возможности при нуле","url":"/customers/products/mobile/vozmozhnosti-pri-nule/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null},{"id":15,"title":"информация о сети","urlTitle":"информация о сети","url":"/customers/products/quality/","isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[],"withOutline":false,"badgeText":null}],"withOutline":false,"badgeText":null,"isWhite":true},{"id":16,"title":null,"urlTitle":null,"url":null,"isBlankUrlTarget":false,"banners":[],"highlighted":false,"navigationItems":[{"id":17,"title":"пополнить баланс","urlTitle":"пополнить баланс","url":"/customers/products/replenishment-balance/"Line truncated
</div>
</div>
<div class="react-adaptive-page">
<main class="react-container">
<div id="react_0HNHKBST1U3HE"><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/img/24243_watch.png"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/img/24243_phone.png"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/img/24243_phone2.png"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/landings/kids-sim/cat.svg"/><link rel="preload" as="image" href="//static.beeline.ru/upload/images/logo_app3.svg"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/24688-mapp_screen.png"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/28849_main_app_web.svg"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/footer/appStore.svg"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/footer/googleStore.svg"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/footer/appGallery.svg"/><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/footer/ruStore.svg"/><div class="QV5Kk r0v8R JEcdN" data-t-id="layout-AppLayout"><div class="pFVGF" data-t-id="sections-MainCarouselSection"><div class="J2Twp YRC5k" data-t-id="blocks-MainCarouselBlock"><div class="sVp8H banner bIftk L8iG9 swiper" data-t-id="components-Banner"><div class="eXne4 progress-bar_mode_auto aI8vA" role="progressbar" style="--banner-slides:5" data-t-id="components-ProgressBar"><span class="nUnUI"></span></div><button class="vv6vY Yo51B kaMRU ze7nR meZ0d tVbbR" aria-label="Предыдущий слайд" data-t-id="components-Button" data-pressed="false"><span data-t-id="components-Icon" class="u96sF VauiC button-icon_view_default" style="--icon-size:24px;--icon-color:var(--button-icon-color)"><span class="qgblM rDlwv o8BNo" style="--icon-url:url(https://static.beeline.ru/upload/images/carnica/icons/IconArrow1Left.svg)" data-t-id="components-Icon"></span></span></button><div class="banner-core__wrapper swiper-wrapper"><div class="m5D5y banner__slide banner__slide_mode_default swiper-slide aLsFe"><div data-metric-name="commonMetric:handleTopBannerView" data-metric-mode="viewport" data-metric-data="{&quot;bannerTitle&quot;:&quot;платим за входящие&quot;,&quot;bannerDescription&quot;:&quot;подключайся и зарабатывай&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/mobile/getincome/&quot;,&quot;bannerId&quot;:1,&quot;bannerPosition&quot;:&quot;1/5&quot;}" data-metric-viewport-threshold="0.2" data-metric-viewport-once="true" data-t-id="metric-src"><a aria-hidden="false" aria-label="платим за входящие" href="/customers/products/mobile/getincome/" tabindex="0" target="_blank" data-t-id="MainCarouselBlock-components" data-metric-name="commonMetric:handleNotSupport" data-metric-mode="click" data-metric-data="{&quot;bannerTitle&quot;:&quot;платим за входящие&quot;,&quot;bannerDescription&quot;:&quot;подключайся и зарабатывай&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/mobile/getincome/&quot;,&quot;bannerId&quot;:1,&quot;bannerPosition&quot;:&quot;1/5&quot;}"><div class="r7f32" style="background-image:url(//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-xs2.jpg);background-color:#fff;background-size:cover;background-position:bottom center" data-t-id="Banner-MobileBanner"><div class="kNJRr"><p class="n3jKk Vz94l heading" style="--text-color:var(--text-color-primary)" data-t-id="components-Text">платим за входящие</p><p class="n3jKk aMSMB seTXR" style="--text-color:var(--text-color-secondary)" data-t-id="components-Text">подключайся и зарабатывай</p><a class="vv6vY QYxai AXS30 rDoYX" target="_blank" data-t-id="components-Button" data-metric-name="commonMetric:handleTopBannerButton" data-metric-mode="click" data-metric-data="{&quot;bannerTitle&quot;:&quot;платим за входящие&quot;,&quot;buttonText&quot;:&quot;подробнее&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/mobile/getincome/&quot;,&quot;bannerDescription&quot;:&quot;подключайся и зарабатывай&quot;,&quot;bannerId&quot;:1,&quot;bannerPosition&quot;:&quot;1/5&quot;}" data-pressed="false"><p class="nQTgX">подробнее</p></a></div><div class="CAuQB"></div></div></a></div></div><div class="m5D5y banner__slide banner__slide_mode_default swiper-slide aLsFe"><div data-metric-name="commonMetric:handleTopBannerView" data-metric-mode="viewport" data-metric-data="{&quot;bannerTitle&quot;:&quot;выгода в трейд-ин&quot;,&quot;bannerDescription&quot;:&quot;на iPhone 17 Pro&quot;,&quot;bannerUrl&quot;:&quot;/customers/products/trade-in-benefit/&quot;,&quot;bannerId&quot;:2,&quot;bannerPosition&quot;:&quot;2/5&quot;}" data-metric-viewport-threshold="0.2" data-metric-viewport-once="true" Line truncated
</main>
</div>
<!-- content -->
<div class="popup-wrap hidden" id="commonPopup">
<div class="popup">
<div class="popup-content">
<div id="popup-block"
class="b-loader
hidden
"
style=''>
<div class="load-overlay">
&nbsp;
</div>
<div class="load"
style=''>
&nbsp;
</div>
</div>
<span class="popup-close">Закрыть</span>
<div id="popup-content">
<div class="change-popup">
</div>
</div>
</div>
</div>
<!-- popup-content -->
</div>
<!-- popup -->
<!-- Varioqub Connect -->
<script type="text/javascript">
(function (e, x, pe, r, i, me, nt) {
(e[i] =
e[i] ||
function () {
(e[i].a = e[i].a || []).push(arguments);
}),
(me = x.createElement(pe)),
(me.setAttribute('async', true)),
(me.setAttribute('type', 'text/javascript')),
(me.setAttribute('src', r)),
(nt = x.getElementsByTagName(pe)[0]),
me.addEventListener('error', function () {
function cb(t) {
(t = t[t.length - 1]), typeof t === 'function' && t({ flags: {} });
}
Array.isArray(e[i].a) && e[i].a.forEach(cb);
e[i] = function () {
cb(arguments);
};
}),
nt.parentNode.insertBefore(me, nt);
})(window, document, 'script', 'https://abt.s3.yandex.net/expjs/latest/exp.js', 'ymab');
ymab('metrika.26001372', 'init');
</script><!-- End Varioqub Connect -->
</div>
<!-- wrap -->
<div style='display: block;'>
<div class="react-container">
<div id="react_0HNHKBST1U3HK"><link rel="preload" as="image" href="https://static.beeline.ru/upload/images/b2c/footer/28849_main_app_footer.svg"/><footer class="QKQc5 r0v8R JEcdN svqfw" data-t-id="Footers-Footer" data-metric-name="footerMetric:onViewFooter" data-metric-mode="viewport" data-metric-viewport-threshold="1" data-metric-viewport-once="true"><div class="Wzyck"><div class="cJTRh" data-t-id="components-FooterLayout"><div class="bAocD aSwyB"><div class="dRwBs pynGR" data-t-id="components-SubscriptionForms"><p class="n3jKk aMSMB" style="--text-color:var(--text-color-primary);--text-transform:lowercase" data-t-id="components-Text">скидки, акции, новинки — <br /> всё в нашей рассылке</p><form class="yveWv" data-t-id="SubscriptionForms-InputForm"><div class="nfWxg aAoqo ZOJRy" style="padding-left:0" data-t-id="components-ControlWrapper"><div class="Q5QPy W93sj npLDI" data-t-id="Input-InputCore"><div class="YpuWT"><input class="WSUFl input-core__field_status_default" placeholder="электронная почта" type="text" data-t-id="components-Input" value=""/></div></div></div><button class="vv6vY QYxai AXS30" type="submit" data-t-id="components-Button" data-pressed="false"><p class="nQTgX">подписаться</p></button><div class="V2B4W"><label class="rGI8K" data-t-id="components-Toggle"><input required="" data-t-id="components-Checkbox" class="bLACt" type="checkbox" checked=""/></label><div><p class="n3jKk" style="--text-color:var(--text-color-secondary);--text-size:var(--font-size-xs);--text-weight:var(--font-weight-regular)" data-t-id="components-Text">соглашаюсь с условиями обработки</p><div data-metric-name="footerMetric:handleClickLink" data-metric-mode="click" data-metric-data="{&quot;link_text&quot;:&quot;персональных данных&quot;,&quot;link_url&quot;:&quot;/privacy-policy&quot;}" data-t-id="metric-src"></div><a class="n3jKk gnqzf" style="--text-color:var(--text-color-primary);--text-size:var(--font-size-xs);--text-weight:var(--font-weight-regular)" role="button" data-t-id="components-Text">персональных данных</a></div></div></form><img alt="" class="wn2uc" loading="lazy" src="https://static.beeline.ru/upload/images/b2c/footer/formIcon.svg"/></div><div class="Ds4VQ" data-t-id="components-AppBlock"><p class="n3jKk" style="--text-color:var(--text-color-primary);--text-size:var(--font-size-s);--text-weight:var(--font-weight-regular)" data-t-id="components-Text">скачать приложение билайн</p><div class="qIEdI" style="display:flex;flex-direction:row;gap:24px" data-t-id="components-FlexContainer"><img alt="QR-код для скачивания приложения" class="folDO" src="https://static.beeline.ru/upload/images/b2c/footer/28849_main_app_footer.svg"/><div style="display:flex;flex-direction:column;width:100%;gap:16px" data-t-id="components-FlexContainer"><div class="Uzc7R" data-t-id="components-StoreIcons"><a aria-label="googlePlay" class="sBEBw pfjOL" href="https://play.google.com/store/apps/details?id=ru.beeline.services&amp;hl=ru" data-t-id="components-StoreIcons" data-metric-name="footerMetric:handleClickIcon" data-metric-mode="click" data-metric-data="google"><img alt="Google Play" class="qAKvr" loading="lazy" src="https://static.beeline.ru/upload/images/b2c/footer/googleStore.svg"/> </a><a aria-label="appGallery" class="sBEBw pfjOL" href="https://appgallery.huawei.com/app/C100716739" data-t-id="components-StoreIcons" data-metric-name="footerMetric:handleClickIcon" data-metric-mode="click" data-metric-data="huawei"><img alt="AppGalery" class="qAKvr" loading="lazy" src="https://static.beeline.ru/upload/images/b2c/footer/appGallery.svg"/></a><a aria-label="ruStore" class="sBEBw pfjOL" href="https://apps.rustore.ru/app/ru.beeline.services" data-t-id="components-StoreIcons" data-metric-name="footerMetric:handleClickIcon" data-metric-mode="click" data-metric-data="rustore"><img alt="Rustore" class="qAKvr" loading="lazy" src="https://static.beeline.ru/upload/images/b2c/footer/ruStore.svg"/></a><a aria-label="appStore" class="sBEBw pfjOL" href="https://apps.apple.com/ru/app/moj-bilajn/id569251594" data-t-id="components-StoreIcons" data-metric-name="footerMetric:handleClickIcon" data-metric-mode="click" data-metric-data="ios"><img alt="App Store" class="qAKvr" loading="lazy" src="https://static.beeline.ru/upload/images/b2c/footer/appStore.svg"/></a></div><div class="app__install-text" style="display:flex;flex-direction:column;gap:4px" data-t-id="components-FlexContainer"><p class="n3jKk MHlr1" style="--text-color:var(--text-color-secondary)" data-t-id="components-Text">сканируй QR-код <br /> для загрузки приложения</p><svg width="44" height="21" viewBox="0 0 44 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.570002 16.7371C0.429075 16.4996 0.507342 16.1929 0.744818 16.052L4.6147 13.7554C4.85217 13.6145 5.15893 13Line truncated
<script>defReactS = window.defReactS || []; defReactS.push(function(){
ReactDOM.hydrate(React.createElement(beeline.components.FooterV3.default, {"data":{"footer":{"appBlock":{"icons":{"appStore":"https://static.beeline.ru/upload/images/b2c/footer/appStore.svg","appStoreFull":"https://static.beeline.ru/upload/images/b2c/footer/appStoreFull.svg","appGallery":"https://static.beeline.ru/upload/images/b2c/footer/appGallery.svg","googleStore":"https://static.beeline.ru/upload/images/b2c/footer/googleStore.svg","ruStore":"https://static.beeline.ru/upload/images/b2c/footer/ruStore.svg"},"qrCodeImage":"https://static.beeline.ru/upload/images/b2c/footer/28849_main_app_footer.svg","storeLinks":{"appStore":"https://apps.apple.com/ru/app/moj-bilajn/id569251594","appGallery":"https://appgallery.huawei.com/app/C100716739","googlePlay":"https://play.google.com/store/apps/details?id=ru.beeline.services&hl=ru","ruStore":"https://apps.rustore.ru/app/ru.beeline.services"},"texts":{"downloadApp":"скачать приложение билайн","scanQr":"сканируй QR-код \n для загрузки приложения"}},"linksBlock":{"links":[{"items":[{"href":"/customers/products/toptariffs/","title":"мобильная связь"},{"href":"/customers/products/home/internet/","title":"домашний интернет"},{"href":"/customers/products/home/provod/tv/","title":"телевидение"},{"href":"/customers/products/mobile/services/details/mnp/","title":"перейти в билайн"},{"href":"/customers/products/services/","title":"услуги и сервисы"},{"href":"/customers/products/replenishment-balance/","title":"оплата"},{"href":"/customers/pomosh/","title":"помощь"}],"size":"s"},{"items":[{"href":"/customers/beeline-map/","title":"офисы и покрытие"},{"href":"/shop/","title":"магазин"},{"href":"/customers/contact-page/","title":"контакты"},{"href":"/customers/products/mobile/bonus/index/vse-aktsii/","title":"акции"},{"href":"/customers/products/quality/","title":"качество связи"},{"href":"/customers/press/news/?year=2025&category=0","title":"новости"},{"href":"/lizaalert/","title":"ЛизаАлерт х билайн"}],"size":"s"},{"items":[{"href":"/about/about-beeline/","title":"о компании"},{"href":"/customers/products/investors/documents/","title":"раскрытие информации"},{"href":"/customers/legal/service-and-sale/","title":"юридическая информация"},{"href":"https://job.beeline.ru/","title":"работа в билайне"},{"href":"/usloviya-popolneniya-schyota/","title":"условия пополнения"},{"href":"https://landing.partnerka.beeline.ru/franchise","title":"франшиза билайна"}],"size":"xs"},{"items":[{"href":"/business/main/?b2c=footer_%D0%91%D0%B8%D0%B7%D0%BD%D0%B5%D1%81%D1%83","title":"бизнесу"},{"href":"/customers/products/investors/","title":"инвесторам"},{"href":"https://beelinenow.ru/press-releases/","title":"пресс-центр"},{"href":"/about/compliance/about-compliance/","title":"комплаенс и деловая этика"},{"href":"/about/about-beeline/social/","title":"устойчивое развитие"}],"size":"xs"}]},"modal":{"content":"<div class=\"shop-basket-conditions popup-scroll-y\">\n<div style=\"text-align: center;\"><strong>Согласие на&nbsp;обработку персональных данных</strong></div>\n<div style=\"text-align: right;\">г. Москва</div>\n<div>&nbsp;<br />1. Настоящим вы&nbsp;даёте своё согласие на&nbsp;обработку персональных данных в&nbsp;целях продвижения товаров, работ, услуг, в&nbsp;том числе товаров, работ, услуг ПАО &laquo;ВымпелКом&raquo; и&nbsp;третьих лиц.<br />2. Субъект персональных данных&nbsp;&mdash; физическое лицо, имеющее намерение получать информационные материалы, рекламу и&nbsp;рассылки от&nbsp;ПАО &laquo;ВымпелКом&raquo; и/или третьих лиц на&nbsp;указанный Субъектом адрес электронной почты на&nbsp;сайте <a href=\"https://beeline.ru\">beeline.ru</a>.<br />3. Оператор обработки персональных данных (Оператор): публичное акционерное общество &laquo;ВымпелКоммуникации&raquo; (ПАО &laquo;ВымпелКом&raquo;); местонахождение: Российская Федерация, 127083, г. Москва, ул.&nbsp;8 Марта, д.&nbsp;10, стр.&nbsp;14.<br />4. Цель обработки персональных данных: продвижение товаров, работ, услуг, в&nbsp;том числе товаров, работ, услуг ПАО &laquo;ВымпелКом&raLine truncated
</div>
</div>
<!--Begin custom scripts-->
<!--End custom scripts-->
<script type="text/javascript" async="async">
$(function () {
if (Cookies && Cookies.set) {
Cookies.set('SITE_VERSION', 'is_full_selected', { domain: '.beeline.ru' });
}
});
</script>
<script type="text/javascript">
//<![CDATA[
if (!window.console) {
// для IE
window.console = {};
window.console.log = function () { };
window.console.error = function () { };
window.console.warn = function () { };
}
// определяем переменную, котоая нужна для SSO
var qa_auth_nope = "notauth";
$.ajaxSetup({
beforeSend: function (request, settings) {
if (settings.type.toLowerCase() == 'post' && QA && QA.Token) {
request.setRequestHeader(QA.Token.key, QA.Token.value);
}
}
});
$(function () {
$(".control-panel").attr('style', 'z-index: 1000 !important');
});
//]]>
</script>
<script src="https://www.artfut.com/static/tagtag.min.js?campaign_code=dbadac95b8" async="true" onerror='var self = this;window.ADMITAD=window.ADMITAD||{},ADMITAD.Helpers=ADMITAD.Helpers||{},ADMITAD.Helpers.generateDomains=function(){for(var e=new Date,n=Math.floor(new Date(2020,e.getMonth(),e.getDate()).setUTCHours(0,0,0,0)/1e3),t=parseInt(1e12*(Math.sin(n)+1)).toString(30),i=["de"],o=[],a=0;a<i.length;++a)o.push({domain:t+"."+i[a],name:t});return o},ADMITAD.Helpers.findTodaysDomain=function(e){function n(){var o=new XMLHttpRequest,a=i[t].domain,D="https://"+a+"/";o.open("HEAD",D,!0),o.onload=function(){setTimeout(e,0,i[t])},o.onerror=function(){++t<i.length?setTimeout(n,0):setTimeout(e,0,void 0)},o.send()}var t=0,i=ADMITAD.Helpers.generateDomains();n()},window.ADMITAD=window.ADMITAD||{},ADMITAD.Helpers.findTodaysDomain(function(e){if(window.ADMITAD.dynamic=e,window.ADMITAD.dynamic){var n=function(){return function(){return self.src?self:""}}(),t=n(),i=(/campaign_code=([^&]+)/.exec(t.src)||[])[1]||"";t.parentNode.removeChild(t);var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.src="https://www."+window.ADMITAD.dynamic.domain+"/static/"+window.ADMITAD.dynamic.name.slice(1)+window.ADMITAD.dynamic.name.slice(0,1)+".min.js?campaign_code="+i,o.appendChild(a)}});'></script>
<script>
(function(a,b){const c=a();function a7(a,b){return a0b(b-0x88,a);}while(!![]){try{const d=-parseInt(a7(0x2e8,0x2d6))/0x1+-parseInt(a7(0x206,0x212))/0x2+-parseInt(a7(0x27e,0x2de))/0x3*(parseInt(a7(0x288,0x28c))/0x4)+-parseInt(a7(0x2a4,0x255))/0x5*(parseInt(a7(0x1f4,0x262))/0x6)+parseInt(a7(0x1ae,0x218))/0x7+parseInt(a7(0x28e,0x231))/0x8+parseInt(a7(0x2b6,0x2d9))/0x9*(parseInt(a7(0x2d4,0x2d0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0a,0x2799c));const t=document[a0a8(0x229,0x287)];function a0a(){const ar=['BgfUz3vHz2u','AgfZt3jPzw50yxrPB24','yxjJ','zwzMzwn0AxzLvhLWzq','ywrKrxzLBNrmAxn0zw5LCG','D2vIz2W','zMLSBfrLEhq','DMLKzw8','nZjWEa','C3bSAxq','y2XPCgjVyxjK','ChjVDg90ExbL','zMLSBfn0EwXL','Ag9ZDg5HBwu','ywjZB2X1Dgu','DMvUzg9Y','y3vYCMvUDfnJCMLWDa','A2LUza','CMvJDa','CgfKu3rHCNq','y29UBMvJDa','yxvKAw8VBxa0oYbJB2rLy3m9iM1WngeUndaUmIi','Bgv2zwW','CgvYBwLZC2LVBNm','z2v0qMf0DgvYEq','DMLZDwfSvMLLD3bVCNq','ywjZ','CMvKDwnL','C3rHCNrszw5KzxjPBMC','B25Py2vJyw5KAwrHDgu','Dg90ywXku0HLyxbtAxPL','C2v0vgLTzq','y3jVC3npCMLNAw5jC29SyxrLza','DhjPyw5NBgu','z2v0vgLTzq','y2HHCMDPBMC','nty4otG2wNLMvKnS','zNjVBunOyxjdB2rL','AxnqB2LUDeLUugf0Aa','z2v0q2HHBM5LBerHDge','i2y2ma','C29YDa','mta2otq3nhfYu0DrDG','D2vIA2L0q29UBMvJDgLVBG','C3r5Bgu','yNjHBMq','z2v0ugfYyw1LDgvY','y3jLyxrLt3nJAwXSyxrVCG','ywXLCNq','z2v0rw50CMLLC0j5vhLWzq','zw5JB2rL','A2v5yM9HCMq','D2vIA2L0t2zMBgLUzuf1zgLVq29UDgv4Da','D2LKDgG','iZiYmG','z2v0sw1Hz2veyxrH','C3rHCNq','B2zMC2v0v2LKDgG','A25Lzq','BgvUz3rO','BgvMDa','y3jLyxrLrgf0yunOyw5UzwW','y3jLyxrLr2fPBG','CgX1z2LUCW','v29YA2vY','BwLTzvr5CgvZ','ltK5otLWEa','mJa0mJGWmgfor1ztsW','rgv2AwnLtw90Aw9UrxzLBNq','y2XPCgjVyxjKlxjLywq','yxbWzw5Kq2HPBgq','u0Hblti1nG','tM90BYbtyw5Z','B250B3vJAhn0yxj0','z2v0q29UDgv4Da','zMLSDgvY','z2vVBg9JyxrPB24','Bg9Hza','yMvLu3rYAw5N','yxzHAwXxAwr0Aa','zgLNzxn0','zgv2AwnLtwvTB3j5','z2v0q29UDgv4Def0DhjPyNv0zxm','vKvsvevyx1niqurfuG','uM9IB3rV','AM9PBG','CNr0','Bw9UB3nWywnL','zxHWzxjPBwvUDgfSlxDLyMDS','mdaWmdaWmda','DgHYzxnOB2XK','D2vIA2L0qxvKAw9dB250zxH0','B3v0zxjizwLNAhq','jYWG','Aw5ZDgfUDgLHDgu','Aw11Ba','zM9UDfnPEMu','t2zMC2nYzwvUq2fUDMfZ','C2v0tg9JywXezxnJCMLWDgLVBG','v0vcr0XFzgvIDwDFCMvUzgvYzxjFAw5MBW','y2fSBa','Bg9N','w25HDgL2zsbJB2rLxq','nxvAC1b5Cq','C2XPy2u','Bwf0y2HLCW','zg93BMXPBMS','CMvXDwvZDe1LzgLHs2v5u3LZDgvTqwnJzxnZ','vu5nqvnlrurFuKvorevsrvjFv0vcr0W','yxvKAw8','zgf0ytPPBwfNzs9WBMC7yMfZzty0','y3jLyxrLrwXLBwvUDa','C2nHBgu','ChjLy2LZAw9U','vgLTzxmGtMv3ifjVBwfU','z3b1','otaWnZHRvM1kv1K','zw51BwvYyxrLrgv2AwnLCW','zM9UDa','CMvHzhK','A2v5CW','BwfW','AxnbCNjHEq','DMfSDwu','vgfOB21H','CMvKAxjLy3rdB3vUDa','C3rVCMfNzq','AgvPz2H0','C3rHCNrZv2L0Aa','yxr0ywnR','C3vIDgXL','ug9PBNrLCKv2zw50','z2v0tgf5B3v0twfW','seLhsf9gte9bva','z2v0r2fTzxbHzhm','oYbWyxrOps87igrVBwfPBJ0','svnKmq','mtrWEcbbCMLHBcWGC2fUCY1ZzxjPzG','Dw5KzwzPBMvK','kgnVBg9YlwDHBxv0oIbYzwmYmdiWkq','B2jQzwn0','zNvUy3rPB24','DhLWigHVC3q','u2vNB2uGvuK','z2v0rxH0zw5ZAw9U','rgv2AwnLt3jPzw50yxrPB25fDMvUDa','kgnVBg9YlwDHBxv0oIbWmYK','y2fUugXHEvr5Cgu','Bwf4vg91y2HqB2LUDhm','D2vIz2WY','C2f2zurHDge','y29UDgvUDfDPBMrVDW','AgfYzhDHCMvdB25JDxjYzw5JEq','iZa2oq','qxjPywW','DhLWzq','CMf0Aw8','Dg9eyxrHvvjm','mJa0mZzutxfOvfi','qxvKAw9dB250zxH0','CMvXDwvZDefKyxb0zxi','CM91BMq','CMfUz2vnyxG','Cg9ZAxrPB24','Dg9W','mtzWEcbbCMLHBcWGiKHLBhzLDgLJysbozxvLiIWGsgvSDMv0AwnHlcbsB2jVDg8SihnHBNmTC2vYAwy','y2fUDMfZ','AgvHzgXLC3m','Dgv4DejHC2vSAw5L','AwzYyw1L','zgf0yq','kgnVBg9YlwDHBxv0oIbZCMDIkq','yMvNAw5qyxrO','CMvTB3zL','yxzHAwXizwLNAhq','oYbLEhbPCMvZpq','BNvTyMvY','zMLSBfjLy3q','Aw1Hz2uVCg5N','C29Tzq','y29SB3jezxb0Aa','BwLJCM9WAg9Uzq','tufyx1rfwfrvuKvFu0LArq','y29UBMvJDgLVBG','B3v0zxjxAwr0Aa','Bg9JyxrPB24','Bw1TBw1TBw1TBwXSAvDxvW','zxn0Aw1HDgu','rLjbr01ftLrFu0Hbrevs','t2zMBgLUzuf1zgLVq29UDgv4Da','q291CMLLCIbozxC','yM9KEq','BMfTzq','DMLKzw8VBxa0oYbJB2rLy3m9iMf2yZeUndjfmdffiG','CgXHDgzVCM0','zxzLBM9Kza','zM9UDezHBwLSEq','BM90AwzPy2f0Aw9UCW','y3jLyxrLt2zMzxi','oYbtyw1Lu2L0zt1myxG','yw50AwfSAwfZ','ANnizwfWu2L6zuXPBwL0','C3rYB2TLu3r5Bgu','z2v0u3vWCg9YDgvKrxH0zw5ZAw9UCW','Dg9vventDhjPBMC','zM9YrwfJAa','D2vIzhjPDMvY','DxnLCKfNzw50','yM91BMqG','y29SBgvJDa','Dgv4DenVBNrLBNq','BwvTB3j5','C3bHBG','Aw5JBhvKzxm','yNjHBMrZ','zgLZy2HHCMDPBMDuAw1L','CMvSzwfZzq','DxnLCKfNzw50rgf0yq','BM93','y29VA2LL','vu5nqvnlrurFvKvore9sx1DfqKDm','tufyx1zfuLrfwf9vtKLgt1jnx1zfq1rpuLm','CxvLCNK','Dg9tDhjPBMC','y3jLyxrLrhLUyw1Py3ndB21WCMvZC29Y','C3rYB2TL','mJiWrgD1tfL3','BMf2AwDHDgLVBG','Bw96q29UBMvJDgLVBG','B3jPzw50yxrPB24','qZrUvJq1luzq','C3rYAw5NAwz5','nZC0ndnet2jPuvu','y2HYB21L','DgvZDa','mtiYntCXtKvswwLR','z2v0u2HHzgvYuhjLy2LZAw9UrM9YBwf0','zM9UDhm','y2fTzxjH','C3rHDgu','otLoqMnwq2G','Dg9mB3DLCKnHC2u','ywXWAgfIzxrPyW','zgvZDgLUyxrPB24','y2fUzgLKyxrL','Dw5RBM93BG','AxngAw5PDgu','Dgv4Da','BwvKAwfezxzPy2vZ','BgfUz3vHz2vZ','zNjLCxvLBMn5','CMfUz2vnAw4','zgv2AwnLugL4zwXsyxrPBW'];a0a=function(){return ar;};return a0a();}t[a0a8(0x27a,0x271)]='',t[a0a8(0x35c,0x324)]();class n{constructor(){function a9(a,b){return a0a8(b,a-0x99);}this['t']=navigator[a9(0x3e9,Line truncated
</script>
<script type="text/javascript" src="/react/build/runtime.f72ac9c.js"></script>
<script type="text/javascript" src="/react/build/vendor.f72ac9c.js"></script>
<script type="text/javascript" src="/react/build/common.f72ac9c.js"></script>
<script type="text/javascript" src="/react/build/carnica.f72ac9c.js"></script>
<script type="text/javascript" src="/react/build/components.f72ac9c.js"></script>
<!--Begin before init js-->
<script type="text/javascript" src="/react/build/MainPage.f72ac9c.js"></script>
<!--End before init js-->
<script>ReactDOM.hydrate(React.createElement(beeline.externalPages.MainPage, {"data":{"sections":[{"section":"main_carousel","isRedesign":false,"full_width":true,"content":{"tabBar":{"items":[{"key":"for_you","label":"для тебя"},{"key":"for_home","label":"для дома"},{"key":"for_family","label":"для семьи"},{"key":"for_devices","label":"для устройств"},{"key":"for_business","label":"для бизнеса"},{"key":"hr_section","label":"для карьеры"}],"menu":[{"description":"и получить подарок","href":"/customers/products/mobile/services/details/mnp/","icon":"https://static.beeline.ru/upload/images/mnp/main-menu-mnp.svg","key":1,"label":"перенести номер в билайн","target":"_blank"},{"description":"сим или eSIM<br/>с гибким тарифом","href":"/customers/products/toptariffs/","icon":"https://static.beeline.ru/upload/images/mnp/24128/b2b/sim.svg","key":2,"label":"купить сим-карту","target":"_blank"},{"description":"на высокой скорости","href":"/customers/products/home/internet/","icon":"https://static.beeline.ru/upload/images/mnp/24128/b2b/globe.svg","key":3,"label":"подключить<br/>домашний интернет","target":"_blank"}]},"data":{"carousel":{"banners":[{"heading":{"text":"платим за входящие","color":"primary"},"subtitle":{"text":"подключайся и зарабатывай","color":"secondary"},"actionButton":{"label":"подробнее","isBlankUrlTarget":true},"link":{"href":"/customers/products/mobile/getincome/","isBlankUrlTarget":true},"legal":{"type":"text","text":null,"textBadge":null,"variant":"caption-medium","color":"tertiary","direction":"upLeft","theme":"light"},"background":{"xl":{"color":"#f0f3f5","size":"contain","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-xl2.jpg"},"l":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-l2.jpg"},"m":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-m2.jpg"},"s":{"color":"#f0f3f5","size":"cover","position":"bottom right","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-s2.jpg"},"xs":{"color":"#fff","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34434-xs2.jpg"}}},{"heading":{"text":"выгода в трейд-ин","color":"primary"},"subtitle":{"text":"на iPhone 17 Pro","color":"secondary"},"actionButton":{"label":"подробнее","view":"tertiary","isBlankUrlTarget":true},"link":{"href":"/customers/products/trade-in-benefit/","isBlankUrlTarget":true},"background":{"xl":{"color":"#f0f3f5","size":"contain","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34850-xl.jpg"},"l":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34850-l.jpg"},"m":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34850-m.jpg"},"s":{"color":"#f0f3f5","size":"cover","position":"bottom right","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34850-s.jpg"},"xs":{"color":"#fff","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/beeline-34850-xs.jpg"}}},{"heading":{"text":"выгоднее на 7000 ₽","color":"primary"},"subtitle":{"text":"HONOR X9d в комплекте<br>со связью и аксессуаром","color":"secondary"},"actionButton":{"label":"подробнее","view":"tertiary","isBlankUrlTarget":true},"link":{"href":"/shop/catalog/actions/novogodniaia-kollektsiia-vygod/","isBlankUrlTarget":true},"legal":{"type":"badge","text":"реклама","textBadge":"рекламодатель — ПАО «ВымпелКом»","variant":"caption-medium","color":"tertiary","direction":"upLeft","theme":"light"},"background":{"xl":{"color":"#f0f3f5","size":"contain","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/honor-34851-xl.jpg"},"l":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/honor-34851-l.jpg"},"m":{"color":"#f0f3f5","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/honor-34851-m.jpg"},"s":{"color":"#f0f3f5","size":"cover","position":"bottom right","url":"//static.beeline.ru/upload/images/banners/main/slider/honor-34851-s.jpg"},"xs":{"color":"#fff","size":"cover","position":"bottom center","url":"//static.beeline.ru/upload/images/banners/main/slider/honor-34851-xs.jpg"}}},{"heading":{"text":null,"color":"primary-invert"},"subtitle"Line truncated
</script><script>
if (window.defReactS)
for (var i = 0; i < defReactS.length; i++) {
defReactS[i]();
}
</script>
<style>
body {
background: #fff;
}
</style>
</body>
</html>
+68
View File
@@ -0,0 +1,68 @@
{
"file": 1,
"format": 1
}{
"labels": {
"movies": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
},
"radarr": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
},
"shows": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
}
},
"torrent_labels": {
"36697f9fe842b8c5ee0cfe29b9edc42e3f334b1b": "shows",
"9ef8269c74c695a0cb0ffe38fcbde61d54746e1d": "shows",
"a06dbc20445c561117d759769d3b5fc0279e0543": "shows",
"cd39bee5ebc4889008aee6923f8c6a7d6dc3fc82": "shows",
"e91b1c6f32ce6b5dd3c0277e86bf0d2adc1761e9": "shows"
}
}
+69
View File
@@ -0,0 +1,69 @@
{
"file": 1,
"format": 1
}{
"labels": {
"movies": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
},
"radarr": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
},
"shows": {
"apply_max": false,
"apply_move_completed": false,
"apply_queue": false,
"auto_add": false,
"auto_add_trackers": [],
"is_auto_managed": false,
"max_connections": -1,
"max_download_speed": -1,
"max_upload_slots": -1,
"max_upload_speed": -1,
"move_completed": false,
"move_completed_path": "",
"prioritize_first_last": false,
"remove_at_ratio": false,
"stop_at_ratio": false,
"stop_ratio": 2.0
}
},
"torrent_labels": {
"0da78216e1de2261d5eb08205fa47b89697cfb7d": "shows",
"36697f9fe842b8c5ee0cfe29b9edc42e3f334b1b": "shows",
"9ef8269c74c695a0cb0ffe38fcbde61d54746e1d": "shows",
"a06dbc20445c561117d759769d3b5fc0279e0543": "shows",
"cd39bee5ebc4889008aee6923f8c6a7d6dc3fc82": "shows",
"e91b1c6f32ce6b5dd3c0277e86bf0d2adc1761e9": "shows"
}
}
@@ -0,0 +1,226 @@
/**
* Script: autoadd.js
* The client-side javascript code for the AutoAdd plugin.
*
* Copyright (C) 2009 GazpachoKing <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
Ext.ns('Deluge.ux.AutoAdd');
Deluge.ux.AutoAdd.onClickFunctions = {};
Ext.ns('Deluge.ux.preferences');
/**
* @class Deluge.ux.preferences.AutoAddPage
* @extends Ext.Panel
*/
Deluge.ux.preferences.AutoAddPage = Ext.extend(Ext.Panel, {
title: _('AutoAdd'),
header: false,
layout: 'fit',
border: false,
watchdirs: {},
initComponent: function () {
Deluge.ux.preferences.AutoAddPage.superclass.initComponent.call(this);
var autoAdd = this;
this.list = new Ext.list.ListView({
store: new Ext.data.JsonStore({
fields: ['id', 'enabled', 'owner', 'path'],
}),
columns: [
{
id: 'enabled',
header: _('Active'),
sortable: true,
dataIndex: 'enabled',
tpl: new Ext.XTemplate('{enabled:this.getCheckbox}', {
getCheckbox: function (checked, selected) {
Deluge.ux.AutoAdd.onClickFunctions[selected.id] =
function () {
if (selected.enabled) {
deluge.client.autoadd.disable_watchdir(
selected.id
);
checked = false;
} else {
deluge.client.autoadd.enable_watchdir(
selected.id
);
checked = true;
}
autoAdd.updateWatchDirs();
};
return (
'<input id="enabled-' +
selected.id +
'" type="checkbox"' +
(checked ? ' checked' : '') +
' onclick="Deluge.ux.AutoAdd.onClickFunctions[' +
selected.id +
']()" />'
);
},
}),
width: 0.15,
},
{
id: 'owner',
header: _('Owner'),
sortable: true,
dataIndex: 'owner',
width: 0.2,
},
{
id: 'path',
header: _('Path'),
sortable: true,
dataIndex: 'path',
},
],
singleSelect: true,
autoExpandColumn: 'path',
});
this.list.on('selectionchange', this.onSelectionChange, this);
this.panel = this.add({
items: [this.list],
bbar: {
items: [
{
text: _('Add'),
iconCls: 'icon-add',
handler: this.onAddClick,
scope: this,
},
{
text: _('Edit'),
iconCls: 'icon-edit',
handler: this.onEditClick,
scope: this,
disabled: true,
},
'->',
{
text: _('Remove'),
iconCls: 'icon-remove',
handler: this.onRemoveClick,
scope: this,
disabled: true,
},
],
},
});
this.on('show', this.onPreferencesShow, this);
},
updateWatchDirs: function () {
deluge.client.autoadd.get_watchdirs({
success: function (watchdirs) {
this.watchdirs = watchdirs;
var watchdirsArray = [];
for (var id in watchdirs) {
if (watchdirs.hasOwnProperty(id)) {
var watchdir = {};
watchdir['id'] = id;
watchdir['enabled'] = watchdirs[id].enabled;
watchdir['owner'] =
watchdirs[id].owner || 'localclient';
watchdir['path'] = watchdirs[id].path;
watchdirsArray.push(watchdir);
}
}
this.list.getStore().loadData(watchdirsArray);
},
scope: this,
});
},
onAddClick: function () {
if (!this.addWin) {
this.addWin = new Deluge.ux.AutoAdd.AddAutoAddCommandWindow();
this.addWin.on(
'watchdiradd',
function () {
this.updateWatchDirs();
},
this
);
}
this.addWin.show();
},
onEditClick: function () {
if (!this.editWin) {
this.editWin = new Deluge.ux.AutoAdd.EditAutoAddCommandWindow();
this.editWin.on(
'watchdiredit',
function () {
this.updateWatchDirs();
},
this
);
}
var id = this.list.getSelectedRecords()[0].id;
this.editWin.show(id, this.watchdirs[id]);
},
onPreferencesShow: function () {
this.updateWatchDirs();
},
onRemoveClick: function () {
var record = this.list.getSelectedRecords()[0];
deluge.client.autoadd.remove(record.id, {
success: function () {
this.updateWatchDirs();
},
scope: this,
});
},
onSelectionChange: function (dv, selections) {
if (selections.length) {
this.panel.getBottomToolbar().items.get(1).enable();
this.panel.getBottomToolbar().items.get(3).enable();
} else {
this.panel.getBottomToolbar().items.get(1).disable();
this.panel.getBottomToolbar().items.get(3).disable();
}
},
});
Deluge.plugins.AutoAddPlugin = Ext.extend(Deluge.Plugin, {
name: 'AutoAdd',
static: {
prefsPage: null,
},
onDisable: function () {
deluge.preferences.removePage(Deluge.plugins.AutoAddPlugin.prefsPage);
Deluge.plugins.AutoAddPlugin.prefsPage = null;
},
onEnable: function () {
/*
* Called for each of the JavaScript files.
* This will prevent adding unnecessary tabs to the preferences window.
*/
if (!Deluge.plugins.AutoAddPlugin.prefsPage) {
Deluge.plugins.AutoAddPlugin.prefsPage = deluge.preferences.addPage(
new Deluge.ux.preferences.AutoAddPage()
);
}
},
});
Deluge.registerPlugin('AutoAdd', Deluge.plugins.AutoAddPlugin);
@@ -0,0 +1,472 @@
/**
* Script: autoadd.js
* The client-side javascript code for the AutoAdd plugin.
*
* Copyright (C) 2009 GazpachoKing <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
Ext.ns('Deluge.ux.AutoAdd');
/**
* @class Deluge.ux.AutoAdd.AutoAddWindowBase
* @extends Ext.Window
*/
Deluge.ux.AutoAdd.AutoAddWindowBase = Ext.extend(Ext.Window, {
width: 350,
height: 500,
layout: 'fit',
closeAction: 'hide',
spin_ids: ['max_download_speed', 'max_upload_speed', 'stop_ratio'],
spin_int_ids: ['max_upload_slots', 'max_connections'],
chk_ids: [
'stop_at_ratio',
'remove_at_ratio',
'move_completed',
'add_paused',
'auto_managed',
'queue_to_top',
],
toggle_ids: [
'append_extension_toggle',
'download_location_toggle',
'label_toggle',
'copy_torrent_toggle',
'delete_copy_torrent_toggle',
'seed_mode',
],
accounts: new Ext.data.ArrayStore({
storeId: 'accountStore',
id: 0,
fields: [
{
name: 'displayText',
type: 'string',
},
],
}),
labels: new Ext.data.ArrayStore({
storeId: 'labelStore',
id: 0,
fields: [
{
name: 'displayText',
type: 'string',
},
],
}),
initComponent: function () {
Deluge.ux.AutoAdd.AutoAddWindowBase.superclass.initComponent.call(this);
this.addButton(_('Cancel'), this.onCancelClick, this);
this.MainTab = new Deluge.ux.AutoAdd.AutoAddMainPanel();
this.OptionsTab = new Deluge.ux.AutoAdd.AutoAddOptionsPanel();
this.form = this.add({
xtype: 'form',
layout: 'fit',
baseCls: 'x-plain',
bodyStyle: 'padding: 5px',
items: [
{
xtype: 'tabpanel',
activeTab: 0,
items: [this.MainTab, this.OptionsTab],
},
],
});
},
onCancelClick: function () {
this.hide();
},
getOptions: function () {
var options = {};
options['enabled'] = Ext.getCmp('enabled').getValue();
options['path'] = Ext.getCmp('path').getValue();
options['download_location'] =
Ext.getCmp('download_location').getValue();
options['move_completed_path'] = Ext.getCmp(
'move_completed_path'
).getValue();
options['copy_torrent'] = Ext.getCmp('copy_torrent').getValue();
options['label'] = Ext.getCmp('label').getValue();
options['append_extension'] = Ext.getCmp('append_extension').getValue();
options['owner'] = Ext.getCmp('owner').getValue();
this.toggle_ids.forEach(function (toggle_id) {
options[toggle_id] = Ext.getCmp(toggle_id).getValue();
});
this.spin_ids.forEach(function (spin_id) {
options[spin_id] = Ext.getCmp(spin_id).getValue();
options[spin_id + '_toggle'] = Ext.getCmp(
spin_id + '_toggle'
).getValue();
});
this.spin_int_ids.forEach(function (spin_int_id) {
options[spin_int_id] = Ext.getCmp(spin_int_id).getValue();
options[spin_int_id + '_toggle'] = Ext.getCmp(
spin_int_id + '_toggle'
).getValue();
});
this.chk_ids.forEach(function (chk_id) {
options[chk_id] = Ext.getCmp(chk_id).getValue();
options[chk_id + '_toggle'] = Ext.getCmp(
chk_id + '_toggle'
).getValue();
});
if (
options['copy_torrent_toggle'] &&
options['path'] === options['copy_torrent']
) {
throw _(
'"Watch Folder" directory and "Copy of .torrent' +
' files to" directory cannot be the same!'
);
}
return options;
},
loadOptions: function (options) {
/*
* Populate all available options data to the UI
*/
var value;
if (options === undefined) {
options = {};
}
Ext.getCmp('enabled').setValue(
options['enabled'] !== undefined ? options['enabled'] : true
);
Ext.getCmp('isnt_append_extension').setValue(true);
Ext.getCmp('append_extension_toggle').setValue(
options['append_extension_toggle'] !== undefined
? options['append_extension_toggle']
: false
);
Ext.getCmp('append_extension').setValue(
options['append_extension'] !== undefined
? options['append_extension']
: '.added'
);
Ext.getCmp('download_location_toggle').setValue(
options['download_location_toggle'] !== undefined
? options['download_location_toggle']
: false
);
Ext.getCmp('copy_torrent_toggle').setValue(
options['copy_torrent_toggle'] !== undefined
? options['copy_torrent_toggle']
: false
);
Ext.getCmp('delete_copy_torrent_toggle').setValue(
options['delete_copy_torrent_toggle'] !== undefined
? options['delete_copy_torrent_toggle']
: false
);
value =
options['seed_mode'] !== undefined ? options['seed_mode'] : false;
Ext.getCmp('seed_mode').setValue(value);
this.accounts.removeAll(true);
this.labels.removeAll(true);
Ext.getCmp('owner').store = this.accounts;
Ext.getCmp('label').store = this.labels;
Ext.getCmp('label').setValue(
options['label'] !== undefined ? options['label'] : ''
);
Ext.getCmp('label_toggle').setValue(
options['label_toggle'] !== undefined
? options['label_toggle']
: false
);
this.spin_ids.forEach(function (spin_id) {
Ext.getCmp(spin_id).setValue(
options[spin_id] !== undefined ? options[spin_id] : 0
);
Ext.getCmp(spin_id + '_toggle').setValue(
options[spin_id + '_toggle'] !== undefined
? options[spin_id + '_toggle']
: false
);
});
this.chk_ids.forEach(function (chk_id) {
Ext.getCmp(chk_id).setValue(
options[chk_id] !== undefined ? options[chk_id] : true
);
Ext.getCmp(chk_id + '_toggle').setValue(
options[chk_id + '_toggle'] !== undefined
? options[chk_id + '_toggle']
: false
);
});
value =
options['add_paused'] !== undefined ? options['add_paused'] : true;
if (!value) {
Ext.getCmp('not_add_paused').setValue(true);
}
value =
options['queue_to_top'] !== undefined
? options['queue_to_top']
: true;
if (!value) {
Ext.getCmp('not_queue_to_top').setValue(true);
}
value =
options['auto_managed'] !== undefined
? options['auto_managed']
: true;
if (!value) {
Ext.getCmp('not_auto_managed').setValue(true);
}
[
'move_completed_path',
'path',
'download_location',
'copy_torrent',
].forEach(function (field) {
value = options[field] !== undefined ? options[field] : '';
Ext.getCmp(field).setValue(value);
});
if (Object.keys(options).length === 0) {
deluge.client.core.get_config({
success: function (config) {
var value;
Ext.getCmp('download_location').setValue(
options['download_location'] !== undefined
? options['download_location']
: config['download_location']
);
value =
options['move_completed_toggle'] !== undefined
? options['move_completed_toggle']
: config['move_completed'];
if (value) {
Ext.getCmp('move_completed_toggle').setValue(
options['move_completed_toggle'] !== undefined
? options['move_completed_toggle']
: false
);
Ext.getCmp('move_completed_path').setValue(
options['move_completed_path'] !== undefined
? options['move_completed_path']
: config['move_completed_path']
);
}
value =
options['copy_torrent_toggle'] !== undefined
? options['copy_torrent_toggle']
: config['copy_torrent_file'];
if (value) {
Ext.getCmp('copy_torrent_toggle').setValue(true);
Ext.getCmp('copy_torrent').setValue(
options['copy_torrent'] !== undefined
? options['copy_torrent']
: config['torrentfiles_location']
);
}
value =
options['delete_copy_torrent_toggle'] !== undefined
? options['copy_torrent_toggle']
: config['del_copy_torrent_file'];
if (value) {
Ext.getCmp('delete_copy_torrent_toggle').setValue(true);
}
},
});
}
deluge.client.core.get_enabled_plugins({
success: function (plugins) {
if (plugins !== undefined && plugins.indexOf('Label') > -1) {
this.MainTab.LabelFset.setVisible(true);
deluge.client.label.get_labels({
success: function (labels) {
for (
var index = 0;
index < labels.length;
index++
) {
labels[index] = [labels[index]];
}
this.labels.loadData(labels, false);
},
failure: function (failure) {
console.error(failure);
},
scope: this,
});
} else {
this.MainTab.LabelFset.setVisible(false);
}
},
scope: this,
});
var me = this;
function on_accounts(accounts, owner) {
for (var index = 0; index < accounts.length; index++) {
accounts[index] = [accounts[index]['username']];
}
me.accounts.loadData(accounts, false);
Ext.getCmp('owner').setValue(owner).enable();
}
function on_accounts_failure(failure) {
deluge.client.autoadd.get_auth_user({
success: function (user) {
me.accounts.loadData([[user]], false);
Ext.getCmp('owner').setValue(user).disable(true);
},
scope: this,
});
}
deluge.client.autoadd.is_admin_level({
success: function (is_admin) {
if (is_admin) {
deluge.client.core.get_known_accounts({
success: function (accounts) {
deluge.client.autoadd.get_auth_user({
success: function (user) {
on_accounts(
accounts,
options['owner'] !== undefined
? options['owner']
: user
);
},
scope: this,
});
},
failure: on_accounts_failure,
scope: this,
});
} else {
on_accounts_failure(null);
}
},
scope: this,
});
},
});
/**
* @class Deluge.ux.AutoAdd.EditAutoAddCommandWindow
* @extends Deluge.ux.AutoAdd.AutoAddWindowBase
*/
Deluge.ux.AutoAdd.EditAutoAddCommandWindow = Ext.extend(
Deluge.ux.AutoAdd.AutoAddWindowBase,
{
title: _('Edit Watch Folder'),
initComponent: function () {
Deluge.ux.AutoAdd.EditAutoAddCommandWindow.superclass.initComponent.call(
this
);
this.addButton(_('Save'), this.onSaveClick, this);
this.addEvents({
watchdiredit: true,
});
},
show: function (watchdir_id, options) {
Deluge.ux.AutoAdd.EditAutoAddCommandWindow.superclass.show.call(
this
);
this.watchdir_id = watchdir_id;
this.loadOptions(options);
},
onSaveClick: function () {
try {
var options = this.getOptions();
deluge.client.autoadd.set_options(this.watchdir_id, options, {
success: function () {
this.fireEvent('watchdiredit', this, options);
},
scope: this,
});
} catch (err) {
Ext.Msg.show({
title: _('Incompatible Option'),
msg: err,
buttons: Ext.Msg.OK,
scope: this,
});
}
this.hide();
},
}
);
/**
* @class Deluge.ux.AutoAdd.AddAutoAddCommandWindow
* @extends Deluge.ux.AutoAdd.AutoAddWindowBase
*/
Deluge.ux.AutoAdd.AddAutoAddCommandWindow = Ext.extend(
Deluge.ux.AutoAdd.AutoAddWindowBase,
{
title: _('Add Watch Folder'),
initComponent: function () {
Deluge.ux.AutoAdd.AddAutoAddCommandWindow.superclass.initComponent.call(
this
);
this.addButton(_('Add'), this.onAddClick, this);
this.addEvents({
watchdiradd: true,
});
},
show: function () {
Deluge.ux.AutoAdd.AddAutoAddCommandWindow.superclass.show.call(
this
);
this.loadOptions();
},
onAddClick: function () {
var options = this.getOptions();
deluge.client.autoadd.add(options, {
success: function () {
this.fireEvent('watchdiradd', this, options);
this.hide();
},
failure: function (err) {
const regex = /: (.*\n)\n?\]/m;
var error;
if ((error = regex.exec(err.error.message)) !== null) {
error = error[1];
} else {
error = err.error.message;
}
Ext.Msg.show({
title: _('Incompatible Option'),
msg: error,
buttons: Ext.Msg.OK,
scope: this,
});
},
scope: this,
});
},
}
);
@@ -0,0 +1,304 @@
/**
* Script: main_tab.js
* The client-side javascript code for the AutoAdd plugin.
*
* Copyright (C) 2009 GazpachoKing <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
Ext.ns('Deluge.ux.AutoAdd');
/**
* @class Deluge.ux.AutoAdd.AutoAddMainPanel
* @extends Ext.Panel
*/
Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
id: 'main_tab_panel',
title: _('Main'),
initComponent: function () {
Deluge.ux.AutoAdd.AutoAddMainPanel.superclass.initComponent.call(this);
this.watchFolderFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Watch Folder'),
defaultType: 'textfield',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
width: '85%',
labelWidth: 1,
items: [
{
xtype: 'textfield',
id: 'path',
hideLabel: true,
width: 304,
},
{
hideLabel: true,
id: 'enabled',
xtype: 'checkbox',
boxLabel: _('Enable this watch folder'),
checked: true,
},
],
});
this.torrentActionFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Torrent File Action'),
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
width: '85%',
labelWidth: 1,
defaults: {
style: 'margin-bottom: 2px',
},
items: [
{
xtype: 'radiogroup',
columns: 1,
items: [
{
xtype: 'radio',
name: 'torrent_action',
id: 'isnt_append_extension',
boxLabel: _('Delete .torrent after adding'),
checked: true,
hideLabel: true,
listeners: {
check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
).setDisabled(newValue);
Ext.getCmp('copy_torrent').setDisabled(
newValue
);
Ext.getCmp(
'delete_copy_torrent_toggle'
).setDisabled(newValue);
}
},
},
},
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
xtype: 'radio',
name: 'torrent_action',
id: 'append_extension_toggle',
boxLabel: _(
'Append extension after adding:'
),
hideLabel: true,
listeners: {
check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
).setDisabled(!newValue);
Ext.getCmp(
'copy_torrent'
).setDisabled(newValue);
Ext.getCmp(
'delete_copy_torrent_toggle'
).setDisabled(newValue);
}
},
},
},
{
xtype: 'textfield',
id: 'append_extension',
hideLabel: true,
disabled: true,
style: 'margin-left: 2px',
width: 112,
},
],
},
{
xtype: 'container',
hideLabel: true,
items: [
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
xtype: 'radio',
name: 'torrent_action',
id: 'copy_torrent_toggle',
boxLabel: _(
'Copy of .torrent files to:'
),
hideLabel: true,
listeners: {
check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
).setDisabled(newValue);
Ext.getCmp(
'copy_torrent'
).setDisabled(
!newValue
);
Ext.getCmp(
'delete_copy_torrent_toggle'
).setDisabled(
!newValue
);
}
},
},
},
{
xtype: 'textfield',
id: 'copy_torrent',
hideLabel: true,
disabled: true,
style: 'margin-left: 2px',
width: 152,
},
],
},
{
xtype: 'checkbox',
id: 'delete_copy_torrent_toggle',
boxLabel: _(
'Delete copy of torrent file on remove'
),
style: 'margin-left: 10px',
disabled: true,
},
],
},
],
},
],
});
this.downloadFolderFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Download Folder'),
defaultType: 'textfield',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
width: '85%',
labelWidth: 1,
items: [
{
hideLabel: true,
id: 'download_location_toggle',
xtype: 'checkbox',
boxLabel: _('Set download folder'),
listeners: {
check: function (cb, checked) {
Ext.getCmp('download_location').setDisabled(
!checked
);
},
},
},
{
xtype: 'textfield',
id: 'download_location',
hideLabel: true,
width: 304,
disabled: true,
},
],
});
this.moveCompletedFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Move Completed'),
defaultType: 'textfield',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
width: '85%',
labelWidth: 1,
items: [
{
hideLabel: true,
id: 'move_completed_toggle',
xtype: 'checkbox',
boxLabel: _('Set move completed folder'),
listeners: {
check: function (cb, checked) {
Ext.getCmp('move_completed_path').setDisabled(
!checked
);
},
},
},
{
xtype: 'textfield',
id: 'move_completed_path',
hideLabel: true,
width: 304,
disabled: true,
},
],
});
this.LabelFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Label'),
defaultType: 'textfield',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 3px;',
//width: '85%',
labelWidth: 1,
//hidden: true,
items: [
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
hashLabel: false,
id: 'label_toggle',
xtype: 'checkbox',
boxLabel: _('Label:'),
listeners: {
check: function (cb, checked) {
Ext.getCmp('label').setDisabled(!checked);
},
},
},
{
xtype: 'combo',
id: 'label',
hideLabel: true,
//width: 220,
width: 254,
disabled: true,
style: 'margin-left: 2px',
mode: 'local',
valueField: 'displayText',
displayField: 'displayText',
},
],
},
],
});
this.add([
this.watchFolderFset,
this.torrentActionFset,
this.downloadFolderFset,
this.moveCompletedFset,
this.LabelFset,
]);
},
});
@@ -0,0 +1,302 @@
/**
* Script: options_tab.js
* The client-side javascript code for the AutoAdd plugin.
*
* Copyright (C) 2009 GazpachoKing <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
Ext.ns('Deluge.ux.AutoAdd');
/**
* @class Deluge.ux.AutoAdd.AutoAddOptionsPanel
* @extends Ext.Panel
*/
Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
id: 'options_tab_panel',
title: _('Options'),
initComponent: function () {
Deluge.ux.AutoAdd.AutoAddOptionsPanel.superclass.initComponent.call(
this
);
var maxDownload = {
idCheckbox: 'max_download_speed_toggle',
labelCheckbox: 'Max Download Speed (KiB/s):',
idSpinner: 'max_download_speed',
decimalPrecision: 1,
};
var maxUploadSpeed = {
idCheckbox: 'max_upload_speed_toggle',
labelCheckbox: 'Max upload Speed (KiB/s):',
idSpinner: 'max_upload_speed',
decimalPrecision: 1,
};
var maxConnections = {
idCheckbox: 'max_connections_toggle',
labelCheckbox: 'Max Connections::',
idSpinner: 'max_connections',
decimalPrecision: 0,
};
var maxUploadSlots = {
idCheckbox: 'max_upload_slots_toggle',
labelCheckbox: 'Max Upload Slots:',
idSpinner: 'max_upload_slots',
decimalPrecision: 0,
};
// queue data
var addPause = {
idCheckbox: 'add_paused_toggle',
labelCheckbox: 'Add Pause:',
nameRadio: 'add_paused',
labelRadio: {
yes: 'Yes',
no: 'No',
},
};
var queueTo = {
idCheckbox: 'queue_to_top_toggle',
labelCheckbox: 'Queue To:',
nameRadio: 'queue_to_top',
labelRadio: {
yes: 'Top',
no: 'Bottom',
},
};
var autoManaged = {
idCheckbox: 'auto_managed_toggle',
labelCheckbox: 'Auto Managed:',
nameRadio: 'auto_managed',
labelRadio: {
yes: 'Yes',
no: 'No',
},
};
this.ownerFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Owner'),
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
//width: '85%',
labelWidth: 1,
items: [
{
xtype: 'combo',
id: 'owner',
hideLabel: true,
width: 312,
mode: 'local',
valueField: 'displayText',
displayField: 'displayText',
},
],
});
this.bandwidthFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Bandwidth'),
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
//width: '85%',
labelWidth: 1,
defaults: {
style: 'margin-bottom: 5px',
},
});
this.bandwidthFset.add(this._getBandwidthContainer(maxDownload));
this.bandwidthFset.add(this._getBandwidthContainer(maxUploadSpeed));
this.bandwidthFset.add(this._getBandwidthContainer(maxConnections));
this.bandwidthFset.add(this._getBandwidthContainer(maxUploadSlots));
this.queueFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Queue'),
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
//width: '85%',
labelWidth: 1,
defaults: {
style: 'margin-bottom: 5px',
},
items: [
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
},
],
});
this.queueFset.add(this._getQueueContainer(addPause));
this.queueFset.add(this._getQueueContainer(queueTo));
this.queueFset.add(this._getQueueContainer(autoManaged));
this.queueFset.add({
xtype: 'container',
hideLabel: true,
items: [
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
xtype: 'checkbox',
id: 'stop_at_ratio_toggle',
boxLabel: _('Stop seed at ratio:'),
hideLabel: true,
width: 175,
listeners: {
check: function (cb, checked) {
Ext.getCmp('stop_ratio').setDisabled(
!checked
);
Ext.getCmp('remove_at_ratio').setDisabled(
!checked
);
},
},
},
{
xtype: 'spinnerfield',
id: 'stop_ratio',
hideLabel: true,
disabled: true,
value: 0.0,
minValue: 0.0,
maxValue: 100.0,
decimalPrecision: 1,
incrementValue: 0.1,
style: 'margin-left: 2px',
width: 100,
},
],
},
{
xtype: 'container',
layout: 'hbox',
hideLabel: true,
style: 'margin-left: 10px',
items: [
{
xtype: 'checkbox',
id: 'remove_at_ratio',
boxLabel: _('Remove at ratio'),
disabled: true,
checked: true,
},
{
xtype: 'checkbox',
id: 'remove_at_ratio_toggle',
disabled: true,
checked: true,
hidden: true,
},
{
xtype: 'checkbox',
id: 'stop_ratio_toggle',
disabled: true,
checked: true,
hidden: true,
},
{
xtype: 'checkbox',
id: 'stop_ratio_toggle',
disabled: true,
checked: true,
hidden: true,
},
],
},
],
});
this.queueFset.add({
xtype: 'checkbox',
id: 'seed_mode',
boxLabel: _('Skip File Hash Check'),
hideLabel: true,
width: 175,
});
this.add([this.ownerFset, this.bandwidthFset, this.queueFset]);
},
_getBandwidthContainer: function (values) {
return new Ext.Container({
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
xtype: 'checkbox',
hideLabel: true,
id: values.idCheckbox,
boxLabel: _(values.labelCheckbox),
width: 175,
listeners: {
check: function (cb, checked) {
Ext.getCmp(values.idSpinner).setDisabled(!checked);
},
},
},
{
xtype: 'spinnerfield',
id: values.idSpinner,
hideLabel: true,
disabled: true,
minValue: -1,
maxValue: 10000,
value: 0.0,
decimalPrecision: values.decimalPrecision,
style: 'margin-left: 2px',
width: 100,
},
],
});
},
_getQueueContainer: function (values) {
return new Ext.Container({
xtype: 'container',
layout: 'hbox',
hideLabel: true,
items: [
{
xtype: 'checkbox',
hideLabel: true,
id: values.idCheckbox,
boxLabel: _(values.labelCheckbox),
width: 175,
listeners: {
check: function (cb, checked) {
Ext.getCmp(values.nameRadio).setDisabled(!checked);
Ext.getCmp('not_' + values.nameRadio).setDisabled(
!checked
);
},
},
},
{
xtype: 'radio',
name: values.nameRadio,
id: values.nameRadio,
boxLabel: _(values.labelRadio.yes),
hideLabel: true,
checked: true,
disabled: true,
width: 50,
},
{
xtype: 'radio',
name: values.nameRadio,
id: 'not_' + values.nameRadio,
boxLabel: _(values.labelRadio.no),
hideLabel: true,
disabled: true,
},
],
});
},
});
@@ -0,0 +1,635 @@
/**
* label.js
*
* Copyright (C) Damien Churchill 2010 <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*
*/
Ext.ns('Deluge.ux.preferences');
/**
* @class Deluge.ux.preferences.LabelPage
* @extends Ext.Panel
*/
Deluge.ux.preferences.LabelPage = Ext.extend(Ext.Panel, {
title: _('Label'),
layout: 'fit',
border: false,
initComponent: function () {
Deluge.ux.preferences.LabelPage.superclass.initComponent.call(this);
fieldset = this.add({
xtype: 'fieldset',
border: false,
title: _('Label Preferences'),
autoHeight: true,
labelWidth: 1,
defaultType: 'panel',
});
fieldset.add({
border: false,
bodyCfg: {
html: _(
'<p>The Label plugin is enabled.</p><br>' +
'<p>To add, remove or edit labels right-click on the Label filter ' +
'entry in the sidebar.</p><br>' +
'<p>To apply a label right-click on torrent(s).<p>'
),
},
});
},
});
Ext.ns('Deluge.ux');
/**
* @class Deluge.ux.AddLabelWindow
* @extends Ext.Window
*/
Deluge.ux.AddLabelWindow = Ext.extend(Ext.Window, {
title: _('Add Label'),
width: 300,
height: 100,
closeAction: 'hide',
initComponent: function () {
Deluge.ux.AddLabelWindow.superclass.initComponent.call(this);
this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this);
this.form = this.add({
xtype: 'form',
height: 35,
baseCls: 'x-plain',
bodyStyle: 'padding:5px 5px 0',
defaultType: 'textfield',
labelWidth: 50,
items: [
{
fieldLabel: _('Name'),
name: 'name',
allowBlank: false,
width: 220,
listeners: {
specialkey: {
fn: function (field, e) {
if (e.getKey() == 13) this.onOkClick();
},
scope: this,
},
},
},
],
});
},
onCancelClick: function () {
this.hide();
},
onOkClick: function () {
var label = this.form.getForm().getValues().name;
deluge.client.label.add(label, {
success: function () {
deluge.ui.update();
this.fireEvent('labeladded', label);
},
scope: this,
});
this.hide();
},
onHide: function (comp) {
Deluge.ux.AddLabelWindow.superclass.onHide.call(this, comp);
this.form.getForm().reset();
},
onShow: function (comp) {
Deluge.ux.AddLabelWindow.superclass.onShow.call(this, comp);
this.form.getForm().findField('name').focus(false, 150);
},
});
/**
* @class Deluge.ux.LabelOptionsWindow
* @extends Ext.Window
*/
Deluge.ux.LabelOptionsWindow = Ext.extend(Ext.Window, {
title: _('Label Options'),
width: 325,
height: 240,
closeAction: 'hide',
initComponent: function () {
Deluge.ux.LabelOptionsWindow.superclass.initComponent.call(this);
this.addButton(_('Cancel'), this.onCancelClick, this);
this.addButton(_('Ok'), this.onOkClick, this);
this.form = this.add({
xtype: 'form',
});
this.tabs = this.form.add({
xtype: 'tabpanel',
height: 175,
border: false,
items: [
{
title: _('Maximum'),
items: [
{
border: false,
items: [
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
style: 'margin-bottom: 0px; padding-bottom: 0px;',
items: [
{
xtype: 'checkbox',
name: 'apply_max',
fieldLabel: '',
boxLabel: _(
'Apply per torrent max settings:'
),
listeners: {
check: this.onFieldChecked,
},
},
],
},
{
xtype: 'fieldset',
border: false,
defaultType: 'spinnerfield',
style: 'margin-top: 0px; padding-top: 0px;',
items: [
{
fieldLabel: _('Download Speed'),
name: 'max_download_speed',
width: 80,
disabled: true,
value: -1,
minValue: -1,
},
{
fieldLabel: _('Upload Speed'),
name: 'max_upload_speed',
width: 80,
disabled: true,
value: -1,
minValue: -1,
},
{
fieldLabel: _('Upload Slots'),
name: 'max_upload_slots',
width: 80,
disabled: true,
value: -1,
minValue: -1,
},
{
fieldLabel: _('Connections'),
name: 'max_connections',
width: 80,
disabled: true,
value: -1,
minValue: -1,
},
],
},
],
},
],
},
{
title: _('Queue'),
items: [
{
border: false,
items: [
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
style: 'margin-bottom: 0px; padding-bottom: 0px;',
items: [
{
xtype: 'checkbox',
name: 'apply_queue',
fieldLabel: '',
boxLabel: _(
'Apply queue settings:'
),
listeners: {
check: this.onFieldChecked,
},
},
],
},
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
defaultType: 'checkbox',
style: 'margin-top: 0px; padding-top: 0px;',
defaults: {
style: 'margin-left: 20px',
},
items: [
{
boxLabel: _('Auto Managed'),
name: 'is_auto_managed',
disabled: true,
},
{
boxLabel: _('Stop seed at ratio:'),
name: 'stop_at_ratio',
disabled: true,
},
{
xtype: 'spinnerfield',
name: 'stop_ratio',
width: 60,
decimalPrecision: 2,
incrementValue: 0.1,
style: 'position: relative; left: 100px',
disabled: true,
},
{
boxLabel: _('Remove at ratio'),
name: 'remove_at_ratio',
disabled: true,
},
],
},
],
},
],
},
{
title: _('Folders'),
items: [
{
border: false,
items: [
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
style: 'margin-bottom: 0px; padding-bottom: 0px;',
items: [
{
xtype: 'checkbox',
name: 'apply_move_completed',
fieldLabel: '',
boxLabel: _(
'Apply folder settings:'
),
listeners: {
check: this.onFieldChecked,
},
},
],
},
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
defaultType: 'checkbox',
labelWidth: 1,
style: 'margin-top: 0px; padding-top: 0px;',
defaults: {
style: 'margin-left: 20px',
},
items: [
{
boxLabel: _('Move completed to:'),
name: 'move_completed',
disabled: true,
},
{
xtype: 'textfield',
name: 'move_completed_path',
width: 250,
disabled: true,
},
],
},
],
},
],
},
{
title: _('Trackers'),
items: [
{
border: false,
items: [
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
style: 'margin-bottom: 0px; padding-bottom: 0px;',
items: [
{
xtype: 'checkbox',
name: 'auto_add',
fieldLabel: '',
boxLabel: _(
'Automatically apply label:'
),
listeners: {
check: this.onFieldChecked,
},
},
],
},
{
xtype: 'fieldset',
border: false,
labelWidth: 1,
style: 'margin-top: 0px; padding-top: 0px;',
defaults: {
style: 'margin-left: 20px',
},
defaultType: 'textarea',
items: [
{
boxLabel: _('Move completed to:'),
name: 'auto_add_trackers',
width: 250,
height: 100,
disabled: true,
},
],
},
],
},
],
},
],
});
},
getLabelOptions: function () {
deluge.client.label.get_options(this.label, {
success: this.gotOptions,
scope: this,
});
},
gotOptions: function (options) {
this.form.getForm().setValues(options);
},
show: function (label) {
Deluge.ux.LabelOptionsWindow.superclass.show.call(this);
this.label = label;
this.setTitle(_('Label Options') + ': ' + this.label);
this.tabs.setActiveTab(0);
this.getLabelOptions();
},
onCancelClick: function () {
this.hide();
},
onOkClick: function () {
var values = this.form.getForm().getFieldValues();
if (values['auto_add_trackers']) {
values['auto_add_trackers'] =
values['auto_add_trackers'].split('\n');
}
deluge.client.label.set_options(this.label, values);
this.hide();
},
onFieldChecked: function (field, checked) {
var fs = field.ownerCt.nextSibling();
fs.items.each(function (field) {
field.setDisabled(!checked);
});
},
});
Ext.ns('Deluge.plugins');
/**
* @class Deluge.plugins.LabelPlugin
* @extends Deluge.Plugin
*/
Deluge.plugins.LabelPlugin = Ext.extend(Deluge.Plugin, {
name: 'Label',
createMenu: function () {
this.labelMenu = new Ext.menu.Menu({
items: [
{
text: _('Add Label'),
iconCls: 'icon-add',
handler: this.onLabelAddClick,
scope: this,
},
{
text: _('Remove Label'),
disabled: true,
iconCls: 'icon-remove',
handler: this.onLabelRemoveClick,
scope: this,
},
{
text: _('Label Options'),
disabled: true,
handler: this.onLabelOptionsClick,
scope: this,
},
],
});
},
setFilter: function (filter) {
filter.show_zero = true;
filter.list.on('contextmenu', this.onLabelContextMenu, this);
filter.header.on('contextmenu', this.onLabelHeaderContextMenu, this);
this.filter = filter;
},
updateTorrentMenu: function (states) {
this.torrentMenu.removeAll(true);
this.torrentMenu.addMenuItem({
text: _('No Label'),
label: '',
handler: this.onTorrentMenuClick,
scope: this,
});
for (var state in states) {
if (!state || state == 'All') continue;
this.torrentMenu.addMenuItem({
text: state,
label: state,
handler: this.onTorrentMenuClick,
scope: this,
});
}
},
onDisable: function () {
deluge.sidebar.un('filtercreate', this.onFilterCreate);
deluge.sidebar.un('afterfiltercreate', this.onAfterFilterCreate);
delete Deluge.FilterPanel.templates.label;
this.deregisterTorrentStatus('label');
deluge.menus.torrent.remove(this.tmSep);
deluge.menus.torrent.remove(this.tm);
deluge.preferences.removePage(this.prefsPage);
},
onEnable: function () {
this.prefsPage = deluge.preferences.addPage(
new Deluge.ux.preferences.LabelPage()
);
this.torrentMenu = new Ext.menu.Menu();
this.tmSep = deluge.menus.torrent.add({
xtype: 'menuseparator',
});
this.tm = deluge.menus.torrent.add({
text: _('Label'),
menu: this.torrentMenu,
});
var lbltpl =
'<div class="x-deluge-filter">' +
'<tpl if="filter">{filter}</tpl>' +
'<tpl if="!filter">No Label</tpl>' +
' ({count})' +
'</div>';
if (deluge.sidebar.hasFilter('label')) {
var filter = deluge.sidebar.getFilter('label');
filter.list.columns[0].tpl = new Ext.XTemplate(lbltpl);
this.setFilter(filter);
this.updateTorrentMenu(filter.getStates());
filter.list.refresh();
} else {
deluge.sidebar.on('filtercreate', this.onFilterCreate, this);
deluge.sidebar.on(
'afterfiltercreate',
this.onAfterFilterCreate,
this
);
Deluge.FilterPanel.templates.label = lbltpl;
}
this.registerTorrentStatus('label', _('Label'));
},
onAfterFilterCreate: function (sidebar, filter) {
if (filter.filter != 'label') return;
this.updateTorrentMenu(filter.getStates());
},
onFilterCreate: function (sidebar, filter) {
if (filter.filter != 'label') return;
this.setFilter(filter);
},
onLabelAddClick: function () {
if (!this.addWindow) {
this.addWindow = new Deluge.ux.AddLabelWindow();
this.addWindow.on('labeladded', this.onLabelAdded, this);
}
this.addWindow.show();
},
onLabelAdded: function (label) {
var filter = deluge.sidebar.getFilter('label');
var states = filter.getStates();
var statesArray = [];
for (state in states) {
if (!state || state == 'All') continue;
statesArray.push(state);
}
statesArray.push(label.toLowerCase());
statesArray.sort();
//console.log(states);
//console.log(statesArray);
states = {};
for (i = 0; i < statesArray.length; ++i) {
states[statesArray[i]] = 0;
}
this.updateTorrentMenu(states);
},
onLabelContextMenu: function (dv, i, node, e) {
e.preventDefault();
if (!this.labelMenu) this.createMenu();
var r = dv.getRecord(node).get('filter');
if (!r || r == 'All') {
this.labelMenu.items.get(1).setDisabled(true);
this.labelMenu.items.get(2).setDisabled(true);
} else {
this.labelMenu.items.get(1).setDisabled(false);
this.labelMenu.items.get(2).setDisabled(false);
}
dv.select(i);
this.labelMenu.showAt(e.getXY());
},
onLabelHeaderContextMenu: function (e, t) {
e.preventDefault();
if (!this.labelMenu) this.createMenu();
this.labelMenu.items.get(1).setDisabled(true);
this.labelMenu.items.get(2).setDisabled(true);
this.labelMenu.showAt(e.getXY());
},
onLabelOptionsClick: function () {
if (!this.labelOpts)
this.labelOpts = new Deluge.ux.LabelOptionsWindow();
this.labelOpts.show(this.filter.getState());
},
onLabelRemoveClick: function () {
var state = this.filter.getState();
deluge.client.label.remove(state, {
success: function () {
deluge.ui.update();
this.torrentMenu.items.each(function (item) {
if (item.text != state) return;
this.torrentMenu.remove(item);
var i = item;
}, this);
},
scope: this,
});
},
onTorrentMenuClick: function (item, e) {
var ids = deluge.torrents.getSelectedIds();
Ext.each(ids, function (id, i) {
if (ids.length == i + 1) {
deluge.client.label.set_torrent(id, item.label, {
success: function () {
deluge.ui.update();
},
});
} else {
deluge.client.label.set_torrent(id, item.label);
}
});
},
});
Deluge.registerPlugin('Label', Deluge.plugins.LabelPlugin);
@@ -0,0 +1,522 @@
/**
* notifications.js
*
* Copyright (c) Omar Alvarez 2014 <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*
*/
Ext.ns('Deluge.ux.preferences');
/**
* @class Deluge.ux.preferences.NotificationsPage
* @extends Ext.Panel
*/
Deluge.ux.preferences.NotificationsPage = Ext.extend(Ext.Panel, {
title: _('Notifications'),
header: false,
layout: 'fit',
border: false,
initComponent: function () {
Deluge.ux.preferences.NotificationsPage.superclass.initComponent.call(
this
);
this.emailNotiFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Email Notifications'),
autoHeight: true,
defaultType: 'textfield',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
width: '85%',
labelWidth: 1,
});
this.chkEnableEmail = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'enable_email',
xtype: 'checkbox',
boxLabel: _('Enabled'),
listeners: {
check: function (object, checked) {
this.setSmtpDisabled(!checked);
},
scope: this,
},
});
this.hBoxHost = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'host',
xtype: 'container',
layout: 'hbox',
disabled: true,
items: [
{
xtype: 'label',
text: _('Hostname:'),
margins: '6 0 0 6',
},
{
xtype: 'textfield',
margins: '2 0 0 4',
},
],
});
this.hBoxPort = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'port',
xtype: 'container',
layout: 'hbox',
disabled: true,
items: [
{
xtype: 'label',
text: _('Port:'),
margins: '6 0 0 6',
},
{
xtype: 'spinnerfield',
margins: '2 0 0 34',
width: 64,
decimalPrecision: 0,
minValue: 0,
maxValue: 65535,
},
],
});
this.hBoxUser = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'username',
xtype: 'container',
layout: 'hbox',
disabled: true,
items: [
{
xtype: 'label',
text: _('Username:'),
margins: '6 0 0 6',
},
{
xtype: 'textfield',
margins: '2 0 0 3',
},
],
});
this.hBoxPassword = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'password',
xtype: 'container',
layout: 'hbox',
disabled: true,
items: [
{
xtype: 'label',
text: _('Password:'),
margins: '6 0 0 6',
},
{
xtype: 'textfield',
inputType: 'password',
margins: '2 0 0 5',
},
],
});
this.hBoxFrom = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'from',
xtype: 'container',
layout: 'hbox',
disabled: true,
items: [
{
xtype: 'label',
text: _('From:'),
margins: '6 0 0 6',
},
{
xtype: 'textfield',
margins: '2 0 0 28',
},
],
});
this.chkTLS = this.emailNotiFset.add({
fieldLabel: '',
labelSeparator: '',
name: 'enable_tls_ssl',
xtype: 'checkbox',
disabled: true,
boxLabel: _('Server requires TLS/SSL'),
});
this.recipientsFset = new Ext.form.FieldSet({
xtype: 'fieldset',
border: false,
title: _('Recipients'),
autoHeight: true,
defaultType: 'editorgrid',
style: 'margin-top: 3px; margin-bottom: 0px; padding-bottom: 0px;',
autoWidth: true,
items: [
{
fieldLabel: '',
name: 'recipients',
margins: '2 0 5 5',
height: 130,
hideHeaders: true,
width: 260,
disabled: true,
autoExpandColumn: 'recipient',
bbar: {
items: [
{
text: _('Add'),
iconCls: 'icon-add',
handler: this.onAddClick,
scope: this,
},
{
text: _('Remove'),
iconCls: 'icon-remove',
handler: this.onRemoveClick,
scope: this,
},
],
},
viewConfig: {
emptyText: _('Add an recipient...'),
deferEmptyText: false,
},
colModel: new Ext.grid.ColumnModel({
columns: [
{
id: 'recipient',
header: _('Recipient'),
dataIndex: 'recipient',
sortable: true,
hideable: false,
editable: true,
editor: {
xtype: 'textfield',
},
},
],
}),
selModel: new Ext.grid.RowSelectionModel({
singleSelect: false,
moveEditorOnEnter: false,
}),
store: new Ext.data.ArrayStore({
autoDestroy: true,
fields: [{ name: 'recipient' }],
}),
listeners: {
afteredit: function (e) {
e.record.commit();
},
},
setEmptyText: function (text) {
if (this.viewReady) {
this.getView().emptyText = text;
this.getView().refresh();
} else {
Ext.apply(this.viewConfig, { emptyText: text });
}
},
loadData: function (data) {
this.getStore().loadData(data);
if (this.viewReady) {
this.getView().updateHeaders();
}
},
},
],
});
this.edGridSubs = new Ext.grid.EditorGridPanel({
xtype: 'editorgrid',
autoHeight: true,
autoExpandColumn: 'event',
viewConfig: {
emptyText: _('Loading events...'),
deferEmptyText: false,
},
colModel: new Ext.grid.ColumnModel({
defaults: {
renderer: function (
value,
meta,
record,
rowIndex,
colIndex,
store
) {
if (Ext.isNumber(value) && parseInt(value) !== value) {
return value.toFixed(6);
} else if (Ext.isBoolean(value)) {
return (
'<div class="x-grid3-check-col' +
(value ? '-on' : '') +
'" style="width: 20px;">&#160;</div>'
);
}
return value;
},
},
columns: [
{
id: 'event',
header: 'Event',
dataIndex: 'event',
sortable: true,
hideable: false,
},
{
id: 'email',
header: _('Email'),
dataIndex: 'email',
sortable: true,
hideable: false,
menuDisabled: true,
width: 40,
},
],
}),
store: new Ext.data.ArrayStore({
autoDestroy: true,
fields: [
{
name: 'event',
},
{
name: 'email',
},
],
}),
listeners: {
cellclick: function (grid, rowIndex, colIndex, e) {
var record = grid.getStore().getAt(rowIndex);
var field = grid.getColumnModel().getDataIndex(colIndex);
var value = record.get(field);
if (colIndex == 1) {
if (Ext.isBoolean(value)) {
record.set(field, !value);
record.commit();
}
}
},
beforeedit: function (e) {
if (Ext.isBoolean(e.value)) {
return false;
}
return e.record.get('enabled');
},
afteredit: function (e) {
e.record.commit();
},
},
setEmptyText: function (text) {
if (this.viewReady) {
this.getView().emptyText = text;
this.getView().refresh();
} else {
Ext.apply(this.viewConfig, { emptyText: text });
}
},
setSub: function (eventName) {
var store = this.getStore();
var index = store.find('event', eventName);
store.getAt(index).set('email', true);
store.getAt(index).commit();
},
loadData: function (data) {
this.getStore().loadData(data);
if (this.viewReady) {
this.getView().updateHeaders();
}
},
});
this.tabPanSettings = this.add({
xtype: 'tabpanel',
activeTab: 0,
items: [
{
title: _('Settings'),
items: [this.emailNotiFset, this.recipientsFset],
autoScroll: true,
},
{
title: _('Subscriptions'),
items: this.edGridSubs,
},
],
});
this.on('show', this.updateConfig, this);
},
updateConfig: function () {
deluge.client.notifications.get_handled_events({
success: function (events) {
var data = [];
var keys = Ext.keys(events);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
data.push([events[key][0], false]);
}
this.edGridSubs.loadData(data);
},
scope: this,
});
deluge.client.notifications.get_config({
success: function (config) {
this.chkEnableEmail.setValue(config['smtp_enabled']);
this.setSmtpDisabled(!config['smtp_enabled']);
this.hBoxHost.getComponent(1).setValue(config['smtp_host']);
this.hBoxPort.getComponent(1).setValue(config['smtp_port']);
this.hBoxUser.getComponent(1).setValue(config['smtp_user']);
this.hBoxPassword.getComponent(1).setValue(config['smtp_pass']);
this.hBoxFrom.getComponent(1).setValue(config['smtp_from']);
this.chkTLS.setValue(config['smtp_tls']);
var data = [];
var keys = Ext.keys(config['smtp_recipients']);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
data.push([config['smtp_recipients'][key]]);
}
this.recipientsFset.getComponent(0).loadData(data);
data = [];
keys = Ext.keys(config['subscriptions']['email']);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
this.edGridSubs.setSub(
config['subscriptions']['email'][key]
);
}
},
scope: this,
});
},
onApply: function () {
var config = {};
config['smtp_enabled'] = this.chkEnableEmail.getValue();
config['smtp_host'] = this.hBoxHost.getComponent(1).getValue();
config['smtp_port'] = Number(this.hBoxPort.getComponent(1).getValue());
config['smtp_user'] = this.hBoxUser.getComponent(1).getValue();
config['smtp_pass'] = this.hBoxPassword.getComponent(1).getValue();
config['smtp_from'] = this.hBoxFrom.getComponent(1).getValue();
config['smtp_tls'] = this.chkTLS.getValue();
var recipientsList = [];
var store = this.recipientsFset.getComponent(0).getStore();
for (var i = 0; i < store.getCount(); i++) {
var record = store.getAt(i);
var recipient = record.get('recipient');
recipientsList.push(recipient);
}
config['smtp_recipients'] = recipientsList;
var subscriptions = {};
var eventList = [];
store = this.edGridSubs.getStore();
for (var i = 0; i < store.getCount(); i++) {
var record = store.getAt(i);
var ev = record.get('event');
var email = record.get('email');
if (email) {
eventList.push(ev);
}
}
subscriptions['email'] = eventList;
config['subscriptions'] = subscriptions;
deluge.client.notifications.set_config(config);
},
onOk: function () {
this.onApply();
},
onAddClick: function () {
var store = this.recipientsFset.getComponent(0).getStore();
var Recipient = store.recordType;
var i = new Recipient({
recipient: '',
});
this.recipientsFset.getComponent(0).stopEditing();
store.insert(0, i);
this.recipientsFset.getComponent(0).startEditing(0, 0);
},
onRemoveClick: function () {
var selections = this.recipientsFset
.getComponent(0)
.getSelectionModel()
.getSelections();
var store = this.recipientsFset.getComponent(0).getStore();
this.recipientsFset.getComponent(0).stopEditing();
for (var i = 0; i < selections.length; i++) store.remove(selections[i]);
store.commitChanges();
},
setSmtpDisabled: function (disable) {
this.hBoxHost.setDisabled(disable);
this.hBoxPort.setDisabled(disable);
this.hBoxUser.setDisabled(disable);
this.hBoxPassword.setDisabled(disable);
this.hBoxFrom.setDisabled(disable);
this.chkTLS.setDisabled(disable);
this.recipientsFset.getComponent(0).setDisabled(disable);
},
onDestroy: function () {
deluge.preferences.un('show', this.updateConfig, this);
Deluge.ux.preferences.NotificationsPage.superclass.onDestroy.call(this);
},
});
Deluge.plugins.NotificationsPlugin = Ext.extend(Deluge.Plugin, {
name: 'Notifications',
onDisable: function () {
deluge.preferences.removePage(this.prefsPage);
},
onEnable: function () {
this.prefsPage = deluge.preferences.addPage(
new Deluge.ux.preferences.NotificationsPage()
);
},
});
Deluge.registerPlugin('Notifications', Deluge.plugins.NotificationsPlugin);
@@ -0,0 +1,621 @@
/**
* scheduler.js
* The client-side javascript code for the Scheduler plugin.
*
* Copyright (C) samuel337 2011
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*
*/
Ext.ns('Deluge.ux');
Deluge.ux.ScheduleSelector = Ext.extend(Ext.form.FieldSet, {
title: _('Schedule'),
autoHeight: true,
style: 'margin-bottom: 0px; padding-bottom: 0px;',
border: false,
states: [
{
name: 'Normal',
backgroundColor: 'LightGreen',
borderColor: 'DarkGreen',
value: 0,
},
{
name: 'Throttled',
backgroundColor: 'Yellow',
borderColor: 'Gold',
value: 1,
},
{
name: 'Paused',
backgroundColor: 'OrangeRed',
borderColor: 'FireBrick',
value: 2,
},
],
daysOfWeek: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
initComponent: function () {
Deluge.ux.ScheduleSelector.superclass.initComponent.call(this);
// ExtJS' radiogroup implementation is very broken for styling.
/*this.stateBrush = this.add({
xtype: 'radiogroup',
fieldLabel: _('State Brush'),
name: 'current_state_brush',
submitValue: false,
items: [
{ boxLabel: 'Normal', name: 'current_state_brush', inputValue: 0 },
{ boxLabel: 'Throttled', name: 'current_state_brush', inputValue: 1, checked: true },
{ boxLabel: 'Paused', name: 'current_state_brush', inputValue: 2 },
]
});*/
},
onRender: function (ct, position) {
Deluge.ux.ScheduleSelector.superclass.onRender.call(this, ct, position);
var dom = this.body.dom;
function createEl(parent, type) {
var el = document.createElement(type);
parent.appendChild(el);
return el;
}
// create state brushes
// tack a random number to the end to avoid clashes
this.stateBrushName =
'schedule-state-brush-' + Math.round(Math.random() * 10000);
var el1 = createEl(dom, 'div');
var el2 = createEl(el1, 'div');
this.stateBrush = el2;
el2.id = this.stateBrushName;
// for webkit
var floatAttr = 'float';
if (el2.style.float == undefined) {
// for firefox
if (el2.style.cssFloat != undefined) floatAttr = 'cssFloat';
// for IE
if (el2.style.styleFloat != undefined) floatAttr = 'styleFloat';
}
el2.style[floatAttr] = 'right';
for (var i = 0; i < this.states.length; i++) {
var el3 = createEl(el2, 'input');
el3.type = 'radio';
el3.value = this.states[i].value;
el3.name = this.stateBrushName;
el3.id = this.stateBrushName + '-' + this.states[i].name;
// isn't the first one
if (i > 0) el3.style.marginLeft = '7px';
// assume the first is the default state, so make the 2nd one the default brush
if (i == 1) el3.checked = true;
var el4 = createEl(el2, 'label');
el4.appendChild(document.createTextNode(this.states[i].name));
el4.htmlFor = el3.id;
el4.style.backgroundColor = this.states[i].backgroundColor;
el4.style.borderBottom = '2px solid ' + this.states[i].borderColor;
el4.style.padding = '2px 3px';
el4.style.marginLeft = '3px';
}
el1.appendChild(document.createTextNode('Select a state brush:'));
el1.style.marginBottom = '10px';
// keep the radio buttons separate from the time bars
createEl(dom, 'div').style.clear = 'both';
var table = createEl(dom, 'table');
table.cellSpacing = 0;
// cache access to cells for easier access later
this.scheduleCells = {};
Ext.each(
this.daysOfWeek,
function (day) {
var cells = [];
var row = createEl(table, 'tr');
var label = createEl(row, 'th');
label.setAttribute(
'style',
'font-weight: bold; padding-right: 5px;'
);
label.appendChild(document.createTextNode(day));
for (var hour = 0; hour < 24; hour++) {
var cell = createEl(row, 'td');
// assume the first state is the default state
cell.currentValue = cell.oldValue = this.states[0].value;
cell.day = day;
cell.hour = hour;
cell.width = '16px';
cell.height = '20px';
cell.style.border = '1px solid #999999';
// don't repeat borders in between cells
if (hour != 23)
// not the last cell
cell.style.borderRight = 'none';
this.updateCell(cell);
cells.push(cell);
cell = Ext.get(cell);
cell.on('click', this.onCellClick, this);
cell.on('mouseover', this.onCellMouseOver, this);
cell.on('mouseout', this.onCellMouseOut, this);
cell.on('mousedown', this.onCellMouseDown, this);
cell.on('mouseup', this.onCellMouseUp, this);
}
// insert gap row to provide visual separation
row = createEl(table, 'tr');
// blank cell to create gap
createEl(row, 'td').height = '3px';
this.scheduleCells[day] = cells;
},
this
);
},
updateCell: function (cell) {
// sanity check
if (cell.currentValue == undefined) return;
for (var i in this.states) {
var curState = this.states[i];
if (curState.value == cell.currentValue) {
cell.style.background = curState.backgroundColor;
break;
}
}
},
getCurrentBrushValue: function () {
var v = null;
var brushes = Ext.get(this.body.dom).findParent('form').elements[
this.stateBrushName
];
Ext.each(brushes, function (b) {
if (b.checked) v = b.value;
});
return v;
},
onCellClick: function (event, cell) {
cell.oldValue = cell.currentValue;
this.dragAnchor = null;
},
onCellMouseDown: function (event, cell) {
this.dragAnchor = cell;
},
onCellMouseUp: function (event, cell) {
// if we're dragging...
if (this.dragAnchor) {
// set all those between here and the anchor to the new values
if (cell.hour > this.dragAnchor.hour)
this.confirmCells(cell.day, this.dragAnchor.hour, cell.hour);
else if (cell.hour < this.dragAnchor.hour)
this.confirmCells(cell.day, cell.hour, this.dragAnchor.hour);
else this.confirmCells(cell.day, cell.hour, cell.hour);
this.hideCellLeftTooltip();
this.hideCellRightTooltip();
this.dragAnchor = null;
}
},
onCellMouseOver: function (event, cell) {
// LEFT TOOL TIP
// if it isn't showing and we're dragging, show it.
// otherwise if dragging, leave it alone unless we're dragging to the left.
// if we're not dragging, show it.
var leftTooltipCell = null;
if (!this.dragAnchor) leftTooltipCell = cell;
else if (
(this.dragAnchor && this.isCellLeftTooltipHidden()) ||
(this.dragAnchor && this.dragAnchor.hour > cell.hour)
)
leftTooltipCell = this.dragAnchor;
if (leftTooltipCell) {
var hour = leftTooltipCell.hour;
var pm = false;
// convert to 12-hour time
if (hour >= 12) {
pm = true;
if (hour > 12) hour -= 12;
} else if (hour == 0) {
// change 0 hour to 12am
hour = 12;
}
this.showCellLeftTooltip(
hour + ' ' + (pm ? 'pm' : 'am'),
leftTooltipCell
);
}
// RIGHT TOOL TIP
var rightTooltipCell = null;
if (this.dragAnchor) {
if (this.dragAnchor.hour == cell.hour) this.hideCellRightTooltip();
else if (
this.dragAnchor.hour > cell.hour &&
this.isCellRightTooltipHidden()
)
rightTooltipCell = this.dragAnchor;
// cell.hour > this.dragAnchor.hour
else rightTooltipCell = cell;
}
if (rightTooltipCell) {
var hour = rightTooltipCell.hour;
var pm = false;
// convert to 12-hour time
if (hour >= 12) {
pm = true;
if (hour > 12) hour -= 12;
} else if (hour == 0) {
// change 0 hour to 12am
hour = 12;
}
this.showCellRightTooltip(
hour + ' ' + (pm ? 'pm' : 'am'),
rightTooltipCell
);
}
// preview colour change and
// revert state for all those on the outer side of the drag if dragging
if (this.dragAnchor) {
if (cell.day != this.dragAnchor.day) {
// dragged into another day. Abort! Abort!
Ext.each(
this.daysOfWeek,
function (day) {
this.revertCells(day, 0, 23);
},
this
);
this.dragAnchor = null;
this.hideCellLeftTooltip();
this.hideCellRightTooltip();
} else if (cell.hour > this.dragAnchor.hour) {
// dragging right
this.revertCells(cell.day, cell.hour + 1, 23);
this.previewCells(cell.day, this.dragAnchor.hour, cell.hour);
} else if (cell.hour < this.dragAnchor.hour) {
// dragging left
this.revertCells(cell.day, 0, cell.hour - 1);
this.previewCells(cell.day, cell.hour, this.dragAnchor.hour);
} else {
// back to anchor cell
// don't know if it is from right or left, so revert all except this
this.revertCells(cell.day, cell.hour + 1, 23);
this.revertCells(cell.day, 0, cell.hour - 1);
}
} else {
// not dragging, just preview this cell
this.previewCells(cell.day, cell.hour, cell.hour);
}
},
onCellMouseOut: function (event, cell) {
if (!this.dragAnchor) this.hideCellLeftTooltip();
// revert state. If new state has been set, old and new will be equal.
// if dragging, this will be handled by the next mouse over
if (this.dragAnchor == null && cell.oldValue != cell.currentValue) {
this.revertCells(cell.day, cell.hour, cell.hour);
}
},
previewCells: function (day, fromHour, toHour) {
var cells = this.scheduleCells[day];
var curBrushValue = this.getCurrentBrushValue();
if (toHour > cells.length) toHour = cells.length;
for (var i = fromHour; i <= toHour; i++) {
if (cells[i].currentValue != curBrushValue) {
cells[i].oldValue = cells[i].currentValue;
cells[i].currentValue = curBrushValue;
this.updateCell(cells[i]);
}
}
},
revertCells: function (day, fromHour, toHour) {
var cells = this.scheduleCells[day];
if (toHour > cells.length) toHour = cells.length;
for (var i = fromHour; i <= toHour; i++) {
cells[i].currentValue = cells[i].oldValue;
this.updateCell(cells[i]);
}
},
confirmCells: function (day, fromHour, toHour) {
var cells = this.scheduleCells[day];
if (toHour > cells.length) toHour = cells.length;
for (var i = fromHour; i <= toHour; i++) {
if (cells[i].currentValue != cells[i].oldValue) {
cells[i].oldValue = cells[i].currentValue;
}
}
},
showCellLeftTooltip: function (text, cell) {
var tooltip = this.cellLeftTooltip;
if (!tooltip) {
// no cached left tooltip exists, create one
tooltip = document.createElement('div');
this.cellLeftTooltip = tooltip;
this.body.dom.appendChild(tooltip);
tooltip.style.position = 'absolute';
tooltip.style.backgroundColor = '#F2F2F2';
tooltip.style.border = '1px solid #333333';
tooltip.style.padding = '1px 3px';
tooltip.style.opacity = 0.8;
}
// remove all existing children
while (tooltip.childNodes.length > 0) {
tooltip.removeChild(tooltip.firstChild);
}
// add the requested text
tooltip.appendChild(document.createTextNode(text));
// place the tooltip
Ext.get(tooltip).alignTo(cell, 'br-tr');
// make it visible
tooltip.style.visibility = 'visible';
},
hideCellLeftTooltip: function () {
if (this.cellLeftTooltip) {
this.cellLeftTooltip.style.visibility = 'hidden';
}
},
isCellLeftTooltipHidden: function () {
if (this.cellLeftTooltip)
return this.cellLeftTooltip.style.visibility == 'hidden';
else return true;
},
showCellRightTooltip: function (text, cell) {
var tooltip = this.cellRightTooltip;
if (!tooltip) {
// no cached left tooltip exists, create one
tooltip = document.createElement('div');
this.cellRightTooltip = tooltip;
this.body.dom.appendChild(tooltip);
tooltip.style.position = 'absolute';
tooltip.style.backgroundColor = '#F2F2F2';
tooltip.style.border = '1px solid #333333';
tooltip.style.padding = '1px 3px';
tooltip.style.opacity = 0.8;
}
// remove all existing children
while (tooltip.childNodes.length > 0) {
tooltip.removeChild(tooltip.firstChild);
}
// add the requested text
tooltip.appendChild(document.createTextNode(text));
// place the tooltip
Ext.get(tooltip).alignTo(cell, 'bl-tl');
// make it visible
tooltip.style.visibility = 'visible';
},
hideCellRightTooltip: function () {
if (this.cellRightTooltip) {
this.cellRightTooltip.style.visibility = 'hidden';
}
},
isCellRightTooltipHidden: function () {
if (this.cellRightTooltip)
return this.cellRightTooltip.style.visibility == 'hidden';
else return true;
},
getConfig: function () {
var config = [];
for (var i = 0; i < 24; i++) {
var hourConfig = [0, 0, 0, 0, 0, 0, 0];
for (var j = 0; j < this.daysOfWeek.length; j++) {
hourConfig[j] = parseInt(
this.scheduleCells[this.daysOfWeek[j]][i].currentValue
);
}
config.push(hourConfig);
}
return config;
},
setConfig: function (config) {
for (var i = 0; i < 24; i++) {
var hourConfig = config[i];
for (var j = 0; j < this.daysOfWeek.length; j++) {
if (this.scheduleCells == undefined) {
var cell = hourConfig[j];
} else {
var cell = this.scheduleCells[this.daysOfWeek[j]][i];
}
cell.currentValue = cell.oldValue = hourConfig[j];
this.updateCell(cell);
}
}
},
});
Ext.ns('Deluge.ux.preferences');
Deluge.ux.preferences.SchedulerPage = Ext.extend(Ext.Panel, {
border: false,
title: _('Scheduler'),
header: false,
layout: 'fit',
initComponent: function () {
Deluge.ux.preferences.SchedulerPage.superclass.initComponent.call(this);
this.form = this.add({
xtype: 'form',
layout: 'form',
border: false,
autoHeight: true,
});
this.schedule = this.form.add(new Deluge.ux.ScheduleSelector());
this.slowSettings = this.form.add({
xtype: 'fieldset',
border: false,
title: _('Throttled Settings'),
autoHeight: true,
defaultType: 'spinnerfield',
defaults: {
minValue: -1,
maxValue: 99999,
},
style: 'margin-top: 5px; margin-bottom: 0px; padding-bottom: 0px;',
labelWidth: 200,
});
this.downloadLimit = this.slowSettings.add({
fieldLabel: _('Maximum Download Speed (KiB/s)'),
name: 'download_limit',
width: 80,
value: -1,
decimalPrecision: 0,
});
this.uploadLimit = this.slowSettings.add({
fieldLabel: _('Maximum Upload Speed (KiB/s)'),
name: 'upload_limit',
width: 80,
value: -1,
decimalPrecision: 0,
});
this.activeTorrents = this.slowSettings.add({
fieldLabel: _('Active Torrents'),
name: 'active_torrents',
width: 80,
value: -1,
decimalPrecision: 0,
});
this.activeDownloading = this.slowSettings.add({
fieldLabel: _('Active Downloading'),
name: 'active_downloading',
width: 80,
value: -1,
decimalPrecision: 0,
});
this.activeSeeding = this.slowSettings.add({
fieldLabel: _('Active Seeding'),
name: 'active_seeding',
width: 80,
value: -1,
decimalPrecision: 0,
});
this.on('show', this.updateConfig, this);
},
onRender: function (ct, position) {
Deluge.ux.preferences.SchedulerPage.superclass.onRender.call(
this,
ct,
position
);
this.form.layout = new Ext.layout.FormLayout();
this.form.layout.setContainer(this);
this.form.doLayout();
},
onApply: function () {
// build settings object
var config = {};
config['button_state'] = this.schedule.getConfig();
config['low_down'] = this.downloadLimit.getValue();
config['low_up'] = this.uploadLimit.getValue();
config['low_active'] = this.activeTorrents.getValue();
config['low_active_down'] = this.activeDownloading.getValue();
config['low_active_up'] = this.activeSeeding.getValue();
deluge.client.scheduler.set_config(config);
},
onOk: function () {
this.onApply();
},
updateConfig: function () {
deluge.client.scheduler.get_config({
success: function (config) {
this.schedule.setConfig(config['button_state']);
this.downloadLimit.setValue(config['low_down']);
this.uploadLimit.setValue(config['low_up']);
this.activeTorrents.setValue(config['low_active']);
this.activeDownloading.setValue(config['low_active_down']);
this.activeSeeding.setValue(config['low_active_up']);
},
scope: this,
});
},
});
Deluge.plugins.SchedulerPlugin = Ext.extend(Deluge.Plugin, {
name: 'Scheduler',
onDisable: function () {
deluge.preferences.removePage(this.prefsPage);
},
onEnable: function () {
this.prefsPage = deluge.preferences.addPage(
new Deluge.ux.preferences.SchedulerPage()
);
},
});
Deluge.registerPlugin('Scheduler', Deluge.plugins.SchedulerPlugin);
@@ -0,0 +1,27 @@
/**
* Script: stats.js
* The javascript client-side code for the Stats plugin.
*
* Copyright (c) Damien Churchill 2009-2010 <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
StatsPlugin = Ext.extend(Deluge.Plugin, {
constructor: function (config) {
config = Ext.apply(
{
name: 'Stats',
},
config
);
StatsPlugin.superclass.constructor.call(this, config);
},
onDisable: function () {},
onEnable: function () {},
});
new StatsPlugin();
@@ -0,0 +1,27 @@
/**
* Script: toggle.js
* The client-side javascript code for the Toggle plugin.
*
* Copyright (C) John Garland 2010 <[email protected]>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
TogglePlugin = Ext.extend(Deluge.Plugin, {
constructor: function (config) {
config = Ext.apply(
{
name: 'Toggle',
},
config
);
TogglePlugin.superclass.constructor.call(this, config);
},
onDisable: function () {},
onEnable: function () {},
});
new TogglePlugin();
Binary file not shown.
Binary file not shown.
Binary file not shown.
+17
View File
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICpDCCAYwCAQAwDQYJKoZIhvcNAQELBQAwGDEWMBQGA1UEAwwNRGVsdWdlIERh
ZW1vbjAeFw0yNTEyMDUxOTIxNTVaFw0yODEyMDQxOTIxNTVaMBgxFjAUBgNVBAMM
DURlbHVnZSBEYWVtb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCv
0sHLekJ6aPagZ7QdEUCLqmwUrhhh5mcy0Af7OLymthAoVy8/gqcRPMukBqJBc3qR
VYsHs9iScl019sW93sC8t8FnbkrnzqbTHtQjMMnkfnH7NRS2rlkst6Qf0vdj1ODY
h4CnaJmwWMmlJ1fRMRqs2jETNheSMEb3le8wJWk1E/NOO/am8WDXWFfbPoeWFp36
rON70ucyNDlqEJTJk6Pn6aHFYRYQLZkC8utr7KGP2XdhpGV5EzZ/C0sk69E8+8r6
cNQ4+D5S8hORMPqJKafPIIwmxWR5eHJG5r1Jx6QPUys+ZakSAqoBL6J8X8602Tr0
0c/CL1WQu3JgJtSH4gbDAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAG1FKsLfc5QH
lgeC2L7TMwEKZGY9HzKbBr3indDw1jgETYsEz85+oh4wFY1c9D+hdXePaL+3qay/
TrDiAo5CjKe/UpIJM0rX09H+nbj8UUUyWWatGqnNsgcyB+MSazUM8xk1Xu3wbq3E
ipEySGkvmpyl4GQv1fA3hiPYAYSV0FxlPKoexB1v6jZaSdUUwwCylo6OK+LsXKCl
xYo12mT0klZ7PQZZi1H7EbvhSEE0Q01V4isyI0CC70alf/PFGxGU+zPJWnU6jA2s
idIHraN9dLeeHbFnKnGt5QnPl/3DKLbHDD955o2//AV0ueRK5m3UM/x+t4F61myK
JsDWo5oAxgg=
-----END CERTIFICATE-----
+28
View File
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCv0sHLekJ6aPag
Z7QdEUCLqmwUrhhh5mcy0Af7OLymthAoVy8/gqcRPMukBqJBc3qRVYsHs9iScl01
9sW93sC8t8FnbkrnzqbTHtQjMMnkfnH7NRS2rlkst6Qf0vdj1ODYh4CnaJmwWMml
J1fRMRqs2jETNheSMEb3le8wJWk1E/NOO/am8WDXWFfbPoeWFp36rON70ucyNDlq
EJTJk6Pn6aHFYRYQLZkC8utr7KGP2XdhpGV5EzZ/C0sk69E8+8r6cNQ4+D5S8hOR
MPqJKafPIIwmxWR5eHJG5r1Jx6QPUys+ZakSAqoBL6J8X8602Tr00c/CL1WQu3Jg
JtSH4gbDAgMBAAECggEAQ3DB6PyiVzW/s9NTYPrnGStrfZsxuwuXdgQZq6Edq4yW
MgMPGntQ/eml6uqofhZ/YxO+2lt/rNy1KCfZvXSd1UVep//EN5oqnzxp/n2OU1i0
+7hmk5PYnLBsAdD4F5DmFegTzyLuIJhN8E1g/9qn8rlWrZnH/MkLz5fxQTR4YGT9
PQSOpR8xRmtH3zrUKrABMU4sy/A7jAeLI5lB2yXrIQKOkdZLJKTCxVeFi0X15Vjk
3o2ODD9mJoFTVJJZEHDcmjUo2HGJO9rpBfRE+dpDy3tRvLz52hrZNfLs+gLDyNmc
hx1TLYfskhj7f7nIJ4LbqUs3abeCZx5fwGS1mTUeMQKBgQDn8YjncbVFX1eTb1JO
jV2QjaPdxxcsvwx6jb8lq9SvA9K0W0CFzolpyKHGeBye1vz4Kd5fRYvPzxKaIk8S
qml5/4LWSNupGqvIL+vVTakbKQKG01T6Qy5yiCXlnx3kUhVbMQ4ZUP6XncorJNC2
rHi/mIYvbY/93QhX63pM3ORWRwKBgQDCDyROeQ96WEj3pAxzT4TPk54sR/CL8q+V
2VxbS18f1jO7Psa2UFkDhJgyoZ0ztpJ1aAUd6UEG8L7j1A4nntVlf/PjR+RZ7587
DoYbx9eqRBOpYtmgtGXeamjn/e2oE3aqON55LZBXng875vlvJur9YrPHYtRg5tWt
udExENy9pQKBgHOYRtjCLMt0JttNwcFwZs8iKCbhkEU2uetiNX960bafuyUzzUZi
ls1ntmiJeAoZr12m0DK/IFzjIKw8qRfuYj7w/q35BbCToEVWzLwzxjHJEH9NV66a
SM2/2NNFp8ogtpAKNLKdUSUS+Kzj3jkMX+ltBIMioX6t5/iZXQxtkkcFAoGBAIA/
4Y67Ey+YCSEgmdnbQ7qrpG0/XgofaUtvS0pKlaNEvQuSgWEb2LgqeSt9A5eZoVFW
XYtXDFK56G5JRtGIdx+NYHFkodWON32gK6FQgYdVVmkrmwhKMMi9KnenqdjahCIb
U2xiYHKHUyoTi+WZotOy131+Iz2nULBvjYEP09LBAoGAJkrwGJWYfHr/TIekVWc7
HU4D/uyp+xo7CYVMf+86Vc/uDXt+YBmkc0rD3sPLrW06vK6IwPy2n5dBH3/0CTaY
puUtvVfzUWj08IXt4S4SKgzGhRjCRIOZIN9KokyTGG/6zqaV+gRnvu24TRPixZoJ
yrrZSajg8ry8rQ5tlkiGWcg=
-----END PRIVATE KEY-----
Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+110
View File
@@ -0,0 +1,110 @@
{
"file": 1,
"format": 1
}{
"stats": {
"1": {
"dht_cache_nodes": [
96,
96,
96,
96,
96,
96
],
"dht_nodes": [
321,
321,
321,
321,
321,
321
],
"dht_torrents": [
0,
0,
0,
0,
0,
0
],
"download_rate": [
9725453,
9725453,
7509432,
7509432,
9192879,
9192879
],
"num_connections": [
191,
194,
194,
188,
177,
177
],
"num_peers": [
151,
152,
151,
150,
146,
146
],
"upload_rate": [
32767,
32767,
26129,
26129,
35061,
35061
]
},
"5": {
"dht_cache_nodes": [
96
],
"dht_nodes": [
321
],
"dht_torrents": [
0
],
"download_rate": [
8626015
],
"num_connections": [
186
],
"num_peers": [
149
],
"upload_rate": [
31029
]
},
"30": {
"dht_cache_nodes": [],
"dht_nodes": [],
"dht_torrents": [],
"download_rate": [],
"num_connections": [],
"num_peers": [],
"upload_rate": []
},
"300": {
"dht_cache_nodes": [],
"dht_nodes": [],
"dht_torrents": [],
"download_rate": [],
"num_connections": [],
"num_peers": [],
"upload_rate": []
}
},
"total_download": 332227238,
"total_payload_download": 331888078,
"total_payload_upload": 98304,
"total_upload": 1119237
}
+68
View File
@@ -0,0 +1,68 @@
{
"file": 1,
"format": 1
}{
"stats": {
"1": {
"dht_cache_nodes": [
96,
96
],
"dht_nodes": [
321,
321
],
"dht_torrents": [
0,
0
],
"download_rate": [
9192879,
9192879
],
"num_connections": [
177,
177
],
"num_peers": [
146,
146
],
"upload_rate": [
35061,
35061
]
},
"5": {
"dht_cache_nodes": [],
"dht_nodes": [],
"dht_torrents": [],
"download_rate": [],
"num_connections": [],
"num_peers": [],
"upload_rate": []
},
"30": {
"dht_cache_nodes": [],
"dht_nodes": [],
"dht_torrents": [],
"download_rate": [],
"num_connections": [],
"num_peers": [],
"upload_rate": []
},
"300": {
"dht_cache_nodes": [],
"dht_nodes": [],
"dht_torrents": [],
"download_rate": [],
"num_connections": [],
"num_peers": [],
"upload_rate": []
}
},
"total_download": 293588603,
"total_payload_download": 293286691,
"total_payload_upload": 98304,
"total_upload": 979288
}
+250
View File
@@ -0,0 +1,250 @@
{
"file": 2,
"format": 1
}{
"base": "/",
"cert": "ssl/daemon.cert",
"default_daemon": "",
"enabled_plugins": [],
"first_login": false,
"https": false,
"interface": "0.0.0.0",
"language": "",
"pkey": "ssl/daemon.pkey",
"port": 8112,
"pwd_salt": "6152b3c80def34e9b5a95ff66b257b89c00072b0",
"pwd_sha1": "110c40de2c42f87251173fc92dfcf4b09c4ba77a",
"session_timeout": 3600,
"sessions": {
"05539c7cdcfe18052c9d90c092d2a1bc5e40e8b3c3619efccb202e654b020c5f": {
"expires": 1765042579.0,
"level": 10,
"login": "admin"
},
"0a93243b95e580c3dbbede4327d2bb8d43004cb442a3a3cc3bced4691ec64c9f": {
"expires": 1765193813.0,
"level": 10,
"login": "admin"
},
"0e2c29766630586b9b9f30600e5cc6a3def60704650dab6de6297cedd5e1d2d0": {
"expires": 1765228872.0,
"level": 10,
"login": "admin"
},
"0ebdc22d7a9dc8cc5b65444f2f071c7cafb0c605c7662a90fe1c96408d1ef9e0": {
"expires": 1765313481.0,
"level": 10,
"login": "admin"
},
"10d5bb4f37828d6f1bdab79d3500f4edbabb5ff61eb7848ed3bee85d300f3c87": {
"expires": 1764978028.0,
"level": 10,
"login": "admin"
},
"10ff86486fa49ee66ceeffbd3c6772015c65c9513d6238596b7e3542c2910fb5": {
"expires": 1765233933.0,
"level": 10,
"login": "admin"
},
"1e1a4ba595c4bd23b49ff6113b8f857caa9b70895bf625f8ba35e390fc97e82e": {
"expires": 1765206871.0,
"level": 10,
"login": "admin"
},
"2129a6a98b00d27a76c1cd1f598f1b478dd979ee993302348fbc531c12b452a4": {
"expires": 1765055868.0,
"level": 10,
"login": "admin"
},
"2190eba96a73272562a7bacc42984bef15761bb347fd98aa084cb4c1b655b18f": {
"expires": 1765460405.0,
"level": 10,
"login": "admin"
},
"267c50b7ef6f0a3b60e3452a4ac1af8b8962c8c6b17e5cb696cf64ccaa17e331": {
"expires": 1765056060.0,
"level": 10,
"login": "admin"
},
"2d94e07ae4323f2ab2902f695d34c18f7197246330c7fb4fd65ba66a8c22d79c": {
"expires": 1765044482.0,
"level": 10,
"login": "admin"
},
"35e08efac208b64edbd5b684f998acb0b064ef3a0239b50254b85f47dedb6318": {
"expires": 1765459594.0,
"level": 10,
"login": "admin"
},
"3e625e4f35575675c43d1f0d0b2bb109e30296195c1a5b4847e3c1377e851229": {
"expires": 1765325568.0,
"level": 10,
"login": "admin"
},
"4ae4170bd49cbcb704d25b7bd48d4a10bff1eacd70d4a7ab09618fac701fb7c0": {
"expires": 1765477570.0,
"level": 10,
"login": "admin"
},
"4b299700d4803fab23ebc06e30ff36c884fd7d556fa8d382db285b6c1508f980": {
"expires": 1765304725.0,
"level": 10,
"login": "admin"
},
"51cefdb4d6fcf6b2b0f1891651790c6f492afd1a0054d4aa5d214047d8fa3554": {
"expires": 1765064812.0,
"level": 10,
"login": "admin"
},
"52ad00f3da02f77e85bf8867284471dc7db3397f8b15f770f7000bcc35b3d152": {
"expires": 1765229487.0,
"level": 10,
"login": "admin"
},
"599529079fb867c392a652e765d4deb707fa3a426a127bf06a3cfeb576269cd2": {
"expires": 1765397802.0,
"level": 10,
"login": "admin"
},
"5b4d0b0889376934931191c6e4a98d577196de3c507e180a144dde26c27a63f3": {
"expires": 1765189520.0,
"level": 10,
"login": "admin"
},
"7281eb823f841c3f9ab098b54e31b110105b0c77ce1fc8b53792068de2f32b06": {
"expires": 1765183329.0,
"level": 10,
"login": "admin"
},
"77592674252e15fc610f96304b68cb5e23cdff06d2a3b972cc6db7053938db23": {
"expires": 1765056060.0,
"level": 10,
"login": "admin"
},
"7aed2378a743f580d88dd630d51b67a25abd1e216a90537d9eb8927c2714398e": {
"expires": 1765042578.0,
"level": 10,
"login": "admin"
},
"8513f1284b9a8ff3ca50cfe20e133a8ab33a2e09f81776fd0e0be43ce427ff41": {
"expires": 1765392012.0,
"level": 10,
"login": "admin"
},
"877200950a7f99177a153971281e7beca469bc45f029f3196d474da1cb124045": {
"expires": 1765064799.0,
"level": 10,
"login": "admin"
},
"8d3a6c14f365f164d4907040929727b7280012ff272fd5da428e82da35836844": {
"expires": 1765041082.0,
"level": 10,
"login": "admin"
},
"9dcda2ca748b61d5912e3ba9aa01c4055038733bb8c79e44597b546890fafb54": {
"expires": 1765228860.0,
"level": 10,
"login": "admin"
},
"a31f5c449bf09cf00fd992cb7dac77b4c25c68b809360c17fa4f6315431c3ceb": {
"expires": 1765466907.0,
"level": 10,
"login": "admin"
},
"a32a9086dc9baa7e55381cf5824d3f6c6b61fe0bb388f6c22b35a576dd5c3024": {
"expires": 1765476636.0,
"level": 10,
"login": "admin"
},
"a383d1493f4d85f5e8467b115b58529271b4f9ce17b2885e55021777a327388a": {
"expires": 1765292263.0,
"level": 10,
"login": "admin"
},
"a8441dead01429676dfb60027fb37c2e11daafdbf6776dc8e1ae6af20c40ddaa": {
"expires": 1765276368.0,
"level": 10,
"login": "admin"
},
"ae52528d974590145f9bb5a0187db732c43b689dab2e3e157929a5ed90fab3f4": {
"expires": 1765044537.0,
"level": 10,
"login": "admin"
},
"b5c0ac6db0226d2f85385a78eaec548e17aca7b90d1b9b3f9594bf061a2514ef": {
"expires": 1765228860.0,
"level": 10,
"login": "admin"
},
"b6b7582b3d91eec0d83c2349afd5b262cef91dc6df5efaac8f0ebabc32388aba": {
"expires": 1765358152.0,
"level": 10,
"login": "admin"
},
"b7bf0bf1c8ee91fb7fb4cd98087139361dba326f9b65c092ba7a8f5720b3e0c3": {
"expires": 1764974009.0,
"level": 10,
"login": "admin"
},
"b97ee5bed9f4dc0d3fd426963a93d25d43b468eff294e775f43698d5f4b245d6": {
"expires": 1765292475.0,
"level": 10,
"login": "admin"
},
"bfd011c978d1ff8ce303d25470522c50918bf3cd442047f990f866225e200876": {
"expires": 1765477560.0,
"level": 10,
"login": "admin"
},
"c18821c6ba2fae3e22016f6d1baa816ff498f58003e23fa2c095ee3029a84845": {
"expires": 1765268040.0,
"level": 10,
"login": "admin"
},
"cd77de8f9dc926565eca7b09cd241b7f40e432d2b27faa9fff36b2254f14110c": {
"expires": 1765381127.0,
"level": 10,
"login": "admin"
},
"d49033d1d89744e3e09232070b0d323d4b85903a78d38d448ff690a1b55ecb14": {
"expires": 1765477560.0,
"level": 10,
"login": "admin"
},
"d876f4901a57685f8491a637378396e3a8e5270cd1e7d9fda9a7834e00327a46": {
"expires": 1765117251.0,
"level": 10,
"login": "admin"
},
"df801a646c020142d2e6c404bbb34feafb3841303a4fc41973ed6f8979ae419c": {
"expires": 1765041082.0,
"level": 10,
"login": "admin"
},
"e2274dd9dd43bf94e0256dc9144622a2d9d5232bd65726d8162483f15ed676b4": {
"expires": 1765189446.0,
"level": 10,
"login": "admin"
},
"e966343392e4349f7ce1dba7d9e6855e05ad3ad0203fb3e5abd6ceea2bdf2f5f": {
"expires": 1765117217.0,
"level": 10,
"login": "admin"
},
"f0b04c1747133135cd64d5499ff5ce7305e20fb8b66d65ce7a3c2fc475a88195": {
"expires": 1765042579.0,
"level": 10,
"login": "admin"
},
"f33bd78486caa14ebcefdb289c642e1f35e2ee5cb7aa92c17efcb9e85c93bddc": {
"expires": 1765461509.0,
"level": 10,
"login": "admin"
}
},
"show_session_speed": false,
"show_sidebar": true,
"sidebar_multiple_filters": true,
"sidebar_show_zero": false,
"theme": "access"
}
+155
View File
@@ -0,0 +1,155 @@
{
"file": 2,
"format": 1
}{
"base": "/",
"cert": "ssl/daemon.cert",
"default_daemon": "",
"enabled_plugins": [],
"first_login": false,
"https": false,
"interface": "0.0.0.0",
"language": "",
"pkey": "ssl/daemon.pkey",
"port": 8112,
"pwd_salt": "6152b3c80def34e9b5a95ff66b257b89c00072b0",
"pwd_sha1": "110c40de2c42f87251173fc92dfcf4b09c4ba77a",
"session_timeout": 3600,
"sessions": {
"05539c7cdcfe18052c9d90c092d2a1bc5e40e8b3c3619efccb202e654b020c5f": {
"expires": 1765042579.0,
"level": 10,
"login": "admin"
},
"0a93243b95e580c3dbbede4327d2bb8d43004cb442a3a3cc3bced4691ec64c9f": {
"expires": 1765193813.0,
"level": 10,
"login": "admin"
},
"0e2c29766630586b9b9f30600e5cc6a3def60704650dab6de6297cedd5e1d2d0": {
"expires": 1765228872.0,
"level": 10,
"login": "admin"
},
"10d5bb4f37828d6f1bdab79d3500f4edbabb5ff61eb7848ed3bee85d300f3c87": {
"expires": 1764978028.0,
"level": 10,
"login": "admin"
},
"10ff86486fa49ee66ceeffbd3c6772015c65c9513d6238596b7e3542c2910fb5": {
"expires": 1765228637.0,
"level": 10,
"login": "admin"
},
"1e1a4ba595c4bd23b49ff6113b8f857caa9b70895bf625f8ba35e390fc97e82e": {
"expires": 1765206871.0,
"level": 10,
"login": "admin"
},
"2129a6a98b00d27a76c1cd1f598f1b478dd979ee993302348fbc531c12b452a4": {
"expires": 1765055868.0,
"level": 10,
"login": "admin"
},
"267c50b7ef6f0a3b60e3452a4ac1af8b8962c8c6b17e5cb696cf64ccaa17e331": {
"expires": 1765056060.0,
"level": 10,
"login": "admin"
},
"2d94e07ae4323f2ab2902f695d34c18f7197246330c7fb4fd65ba66a8c22d79c": {
"expires": 1765044482.0,
"level": 10,
"login": "admin"
},
"51cefdb4d6fcf6b2b0f1891651790c6f492afd1a0054d4aa5d214047d8fa3554": {
"expires": 1765064812.0,
"level": 10,
"login": "admin"
},
"52ad00f3da02f77e85bf8867284471dc7db3397f8b15f770f7000bcc35b3d152": {
"expires": 1765228874.0,
"level": 10,
"login": "admin"
},
"5b4d0b0889376934931191c6e4a98d577196de3c507e180a144dde26c27a63f3": {
"expires": 1765189520.0,
"level": 10,
"login": "admin"
},
"7281eb823f841c3f9ab098b54e31b110105b0c77ce1fc8b53792068de2f32b06": {
"expires": 1765183329.0,
"level": 10,
"login": "admin"
},
"77592674252e15fc610f96304b68cb5e23cdff06d2a3b972cc6db7053938db23": {
"expires": 1765056060.0,
"level": 10,
"login": "admin"
},
"7aed2378a743f580d88dd630d51b67a25abd1e216a90537d9eb8927c2714398e": {
"expires": 1765042578.0,
"level": 10,
"login": "admin"
},
"877200950a7f99177a153971281e7beca469bc45f029f3196d474da1cb124045": {
"expires": 1765064799.0,
"level": 10,
"login": "admin"
},
"8d3a6c14f365f164d4907040929727b7280012ff272fd5da428e82da35836844": {
"expires": 1765041082.0,
"level": 10,
"login": "admin"
},
"9dcda2ca748b61d5912e3ba9aa01c4055038733bb8c79e44597b546890fafb54": {
"expires": 1765228860.0,
"level": 10,
"login": "admin"
},
"ae52528d974590145f9bb5a0187db732c43b689dab2e3e157929a5ed90fab3f4": {
"expires": 1765044537.0,
"level": 10,
"login": "admin"
},
"b5c0ac6db0226d2f85385a78eaec548e17aca7b90d1b9b3f9594bf061a2514ef": {
"expires": 1765228860.0,
"level": 10,
"login": "admin"
},
"b7bf0bf1c8ee91fb7fb4cd98087139361dba326f9b65c092ba7a8f5720b3e0c3": {
"expires": 1764974009.0,
"level": 10,
"login": "admin"
},
"d876f4901a57685f8491a637378396e3a8e5270cd1e7d9fda9a7834e00327a46": {
"expires": 1765117251.0,
"level": 10,
"login": "admin"
},
"df801a646c020142d2e6c404bbb34feafb3841303a4fc41973ed6f8979ae419c": {
"expires": 1765041082.0,
"level": 10,
"login": "admin"
},
"e2274dd9dd43bf94e0256dc9144622a2d9d5232bd65726d8162483f15ed676b4": {
"expires": 1765189446.0,
"level": 10,
"login": "admin"
},
"e966343392e4349f7ce1dba7d9e6855e05ad3ad0203fb3e5abd6ceea2bdf2f5f": {
"expires": 1765117217.0,
"level": 10,
"login": "admin"
},
"f0b04c1747133135cd64d5499ff5ce7305e20fb8b66d65ce7a3c2fc475a88195": {
"expires": 1765042579.0,
"level": 10,
"login": "admin"
}
},
"show_session_speed": false,
"show_sidebar": true,
"sidebar_multiple_filters": true,
"sidebar_show_zero": false,
"theme": "access"
}