docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
<div className="setup__group"> <div className="setup__subtitle"> <Trans>install_settings_dns</Trans>
<mask> </div> <mask> } <mask> </div> <mask> </div> <mask> <div className="setup__desc"> <mask> <Trans>install_settings_interface_link</Trans> <mask> <div className="mt-1...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
<div className="row"> <div className="col-8"> <div className="form-group"> <label> <Trans>install_settings_listen</Trans> </label> ...
<mask> address={webIp} <mask> port={webPort} <mask> /> <mask> </div> <mask> </div> <mask> </div> <mask> <div className="setup__group"> <mask> <div className...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
<div className="setup__desc"> <Trans>install_settings_dns_desc</Trans> <div className="mt-1"> <AddressList interfaces={interfaces} address={dnsIp} ...
<mask> {renderInterfaces(interfaces)} <mask> </Field> <mask> </div> <mask> </div> <mask> <div className="col-4"> <mask> <div className="form-group"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
<mask> onChange={handleChange} <mask> /> <mask> </div> <mask> </div> <mask> <div className="col-12"> <mask> {dnsStatus && <mask> <div cla...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
<Controls invalid={invalid} /> </form> ); } }
<mask> </div> <mask> } <mask> </div> <mask> </div> <mask> <div className="setup__desc"> <mask> <Trans>install_settings_dns_desc</Trans> <mask> <div className="mt-1"> <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
validateForm: PropTypes.func,
<mask> handleChange: PropTypes.func, <mask> handleAutofix: PropTypes.func, <mask> webIp: PropTypes.string.isRequired, <mask> dnsIp: PropTypes.string.isRequired, <mask> config: PropTypes.object.isRequired, <mask> webPort: PropTypes.oneOfType([ <mask> PropTypes.string, <mask> ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
const SettingsForm = connect((state) => {
<mask> }; <mask> <mask> const selector = formValueSelector('install'); <mask> <mask> Settings = connect((state) => { <mask> const webIp = selector(state, 'web.ip'); <mask> const webPort = selector(state, 'web.port'); <mask> const dnsIp = selector(state, 'dns.ip'); <mask> const dnsPort = selec...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
])(SettingsForm);
<mask> form: 'install', <mask> destroyOnUnmount: false, <mask> forceUnregisterOnUnmount: true, <mask> }), <mask> ])(Settings); </s> * client: validate form on load </s> remove Settings = connect((state) => { </s> add const SettingsForm = connect((state) => { </s> remove ...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/Settings.js
validateForm={this.handleFormChange}
<mask> initialValues={config} <mask> interfaces={interfaces} <mask> onSubmit={this.nextStep} <mask> onChange={this.handleFormChange} <mask> handleAutofix={this.handleAutofix} <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/ceabad0fd07547dae7795bb827450883643aae31
client/src/install/Setup/index.js
"dns_settings": "DNS settings", "encryption_settings": "Encryption settings", "dhcp_settings": "DHCP settings", "clients_settings": "Clients settings",
<mask> "no_settings": "No settings", <mask> "general_settings": "General settings", <mask> "upstream_dns": "Upstream DNS servers", <mask> "upstream_dns_hint": "If you keep this field empty, AdGuard Home will use <a href='https:\/\/1.1.1.1\/' target='_blank'>Cloudflare DNS<\/a> as an upstream.", <ma...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/__locales/en.json
import Dns from '../../containers/Dns'; import Encryption from '../../containers/Encryption'; import Dhcp from '../../containers/Dhcp'; import Clients from '../../containers/Clients';
<mask> import Header from '../../containers/Header'; <mask> import Dashboard from '../../containers/Dashboard'; <mask> import Settings from '../../containers/Settings'; <mask> import Filters from '../../containers/Filters'; <mask> import Logs from '../../containers/Logs'; <mask> import SetupGuide from '../../cont...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
};
<mask> }; <mask> <mask> handleUpdate = () => { <mask> this.props.getUpdate(); <mask> } <mask> <mask> setLanguage = () => { <mask> const { processing, language } = this.props.dashboard; <mask> <mask> if (!processing) { </s> + client: split settings page into several ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
};
<mask> <mask> i18n.on('languageChanged', (lang) => { <mask> this.props.changeLanguage(lang); <mask> }); <mask> } <mask> <mask> render() { <mask> const { dashboard, encryption } = this.props; <mask> const updateAvailable = <mask> !dashboard.proc...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
!dashboard.processingVersions && dashboard.isCoreRunning && dashboard.isUpdateAvailable;
<mask> <mask> render() { <mask> const { dashboard, encryption } = this.props; <mask> const updateAvailable = <mask> !dashboard.processingVersions && <mask> dashboard.isCoreRunning && <mask> dashboard.isUpdateAvailable; <mask> <mask> return ( <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
<HashRouter hashType="noslash">
<mask> dashboard.isCoreRunning && <mask> dashboard.isUpdateAvailable; <mask> <mask> return ( <mask> <HashRouter hashType='noslash'> <mask> <Fragment> <mask> {updateAvailable && <mask> <Fragment> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
{updateAvailable && (
<mask> <mask> return ( <mask> <HashRouter hashType='noslash'> <mask> <Fragment> <mask> {updateAvailable && <mask> <Fragment> <mask> <UpdateTopline <mask> url={dashboard.an...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
)} {!encryption.processing && (
<mask> processingUpdate={dashboard.processingUpdate} <mask> /> <mask> <UpdateOverlay processingUpdate={dashboard.processingUpdate} /> <mask> </Fragment> <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
)}
<mask> </Fragment> <mask> } <mask> {!encryption.processing && <mask> <EncryptionTopline notAfter={encryption.not_after} /> <mask> } <mask> <LoadingBar className="loading-bar" updateTime=...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
{!dashboard.processing && !dashboard.isCoreRunning && (
<mask> } <mask> <LoadingBar className="loading-bar" updateTime={1000} /> <mask> <Route component={Header} /> <mask> <div className="container container--wrap"> <mask> {!dashboard.processing && !dashboard.isCoreR...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
)} {!dashboard.processing && dashboard.isCoreRunning && (
<mask> <div className="col-lg-12"> <mask> <Status handleStatusChange={this.handleStatusChange} /> <mask> </div> <mask> </div> <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
<Route path="/dns" component={Dns} /> <Route path="/encryption" component={Encryption} /> <Route path="/dhcp" component={Dhcp} /> <Route path="/clients" component={Clients} />
<mask> {!dashboard.processing && dashboard.isCoreRunning && ( <mask> <Fragment> <mask> <Route path="/" exact component={Dashboard} /> <mask> <Route path="/settings" component={Settings} /> <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
)}
<mask> <Route path="/filters" component={Filters} /> <mask> <Route path="/logs" component={Logs} /> <mask> <Route path="/guide" component={SetupGuide} /> <mask> </Fragment> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/App/index.js
.nav-tabs .nav-link.active .nav-icon, .nav-tabs .nav-item.show .nav-icon {
<mask> margin-right: 6px; <mask> stroke: #9aa0ac; <mask> } <mask> <mask> .nav-tabs .nav-link.active .nav-icon { <mask> stroke: #66b574; <mask> } <mask> <mask> .nav-tabs .nav-link.active:hover .nav-icon { <mask> stroke: #58a273; </s> + client: split settings page into several pages </s> remo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Header.css
.nav-tabs .nav-link.active:hover .nav-icon, .nav-tabs .nav-item.show:hover .nav-icon {
<mask> .nav-tabs .nav-link.active .nav-icon { <mask> stroke: #66b574; <mask> } <mask> <mask> .nav-tabs .nav-link.active:hover .nav-icon { <mask> stroke: #58a273; <mask> } <mask> <mask> .nav-tabs .nav-link { <mask> width: 100%; </s> + client: split settings page into several pages </s> remove .n...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Header.css
.nav-tabs .nav-item.show .nav-link { color: #66b574; background-color: #fff; border-bottom-color: #66b574; }
<mask> } <mask> <mask> @media screen and (min-width: 992px) { <mask> .header { <mask> padding: 0; <mask> } <mask> <mask> .nav-tabs .nav-link { </s> + client: split settings page into several pages </s> remove .nav-tabs .nav-link.active:hover .nav-icon { </s> add .nav-tabs .nav-link.activ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Header.css
import { SETTINGS_URLS } from '../../helpers/constants'; import Dropdown from '../ui/Dropdown';
<mask> import classnames from 'classnames'; <mask> import { Trans, withNamespaces } from 'react-i18next'; <mask> <mask> class Menu extends Component { <mask> handleClickOutside = () => { <mask> this.props.closeMenu(); <mask> }; <mask> <mask> toggleMenu = () => { </s> + client: split sett...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
getActiveClassForSettings = () => { const { pathname } = this.props.location; const isSettingsPage = SETTINGS_URLS.some(item => item === pathname); return isSettingsPage ? 'active' : ''; };
<mask> toggleMenu = () => { <mask> this.props.toggleMenuOpen(); <mask> }; <mask> <mask> render() { <mask> const menuClass = classnames({ <mask> 'col-lg-6 mobile-menu': true, <mask> 'mobile-menu--active': this.props.isMenuOpen, </s> + client: split settings p...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
const dropdownControlClass = `nav-link ${this.getActiveClassForSettings()}`;
<mask> 'col-lg-6 mobile-menu': true, <mask> 'mobile-menu--active': this.props.isMenuOpen, <mask> }); <mask> <mask> return ( <mask> <Fragment> <mask> <div className={menuClass}> <mask> <ul className="nav nav-tabs border-0 fl...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<svg className="nav-icon"> <use xlinkHref="#back" /> </svg>
<mask> <div className={menuClass}> <mask> <ul className="nav nav-tabs border-0 flex-column flex-lg-row flex-nowrap"> <mask> <li className="nav-item border-bottom d-lg-none" onClick={this.toggleMenu}> <mask> <div className="nav-l...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<svg className="nav-icon"> <use xlinkHref="#dashboard" /> </svg>
<mask> </div> <mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/" exact={true} className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" stro...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<Dropdown label={this.props.t('settings')} baseClassName="dropdown nav-item" controlClassName={dropdownControlClass} icon="settings" > ...
<mask> <svg className="nav-icon" fill="none" height="24" stroke="#9aa0ac" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m3 9 9-7 9 7v11a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2-2z"/><path d="m9 22v-10h6v10"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<svg className="nav-icon"> <use xlinkHref="#filters" /> </svg>
<mask> </NavLink> <mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/filters" className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" stroke...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<svg className="nav-icon"> <use xlinkHref="#log" /> </svg>
<mask> </NavLink> <mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/logs" className="nav-link"> <mask> <svg className="nav-icon" fill="none" height="24" strokeLin...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
<NavLink to="/guide" className="nav-link"> <svg className="nav-icon"> <use xlinkHref="#setup" /> </svg>
<mask> <Trans>query_log</Trans> <mask> </NavLink> <mask> </li> <mask> <li className="nav-item"> <mask> <NavLink to="/guide" href="/guide" className="nav-link"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
location: PropTypes.object, t: PropTypes.func,
<mask> isMenuOpen: PropTypes.bool, <mask> closeMenu: PropTypes.func, <mask> toggleMenuOpen: PropTypes.func, <mask> }; <mask> <mask> export default withNamespaces()(enhanceWithClickOutside(Menu)); </s> + client: split settings page into several pages </s> remove handleUpstreamChange: PropTypes.fu...
[ "keep", "keep", "add", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Header/Menu.js
import { withNamespaces } from 'react-i18next';
<mask> import React, { Component, Fragment } from 'react'; <mask> import PropTypes from 'prop-types'; <mask> <mask> import ClientsTable from './ClientsTable'; <mask> import AutoClients from './AutoClients'; </s> + client: split settings page into several pages </s> remove import { Trans, withNamespaces } from 'r...
[ "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
<mask> import React, { Component, Fragment } from 'react'; <mask> import PropTypes from 'prop-types'; <mask> import { Trans, withNamespaces } from 'react-i18next'; <mask> import ReactTable from 'react-table'; <mask> <mask> import { MODAL_TYPE, CLIENT_ID } from '../../../helpers/constants'; <mask> import Card fr...
[ "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
import ClientsTable from './ClientsTable'; import AutoClients from './AutoClients'; import PageTitle from '../../ui/PageTitle'; import Loading from '../../ui/Loading';
<mask> import PropTypes from 'prop-types'; <mask> import { Trans, withNamespaces } from 'react-i18next'; <mask> import ReactTable from 'react-table'; <mask> <mask> import { MODAL_TYPE, CLIENT_ID } from '../../../helpers/constants'; <mask> import Card from '../../ui/Card'; <mask> import Modal from './Modal'; <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
const { dashboard, clients, t } = this.props;
<mask> }, <mask> ]; <mask> <mask> render() { <mask> const { <mask> t, <mask> clients, <mask> isModalOpen, <mask> modalType, <mask> modalClientName, <mask> toggleClientModal, <mask> processingAdding, ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
<Fragment> <PageTitle title={t('clients_settings')} /> {!dashboard.processingTopStats || (!dashboard.processingClients && <Loading />)} {!dashboard.processingTopStats && !dashboard.processingClients && ( <Fragment> <...
<mask> <mask> const currentClientData = this.getClient(modalClientName, clients); <mask> <mask> return ( <mask> <Card <mask> title={t('clients_title')} <mask> subtitle={t('clients_desc')} <mask> bodyType="card-body box-body--settings"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
dashboard: PropTypes.object.isRequired,
<mask> Clients.propTypes = { <mask> t: PropTypes.func.isRequired, <mask> clients: PropTypes.array.isRequired, <mask> topStats: PropTypes.object.isRequired, <mask> toggleClientModal: PropTypes.func.isRequired, <mask> deleteClient: PropTypes.func.isRequired, <mask> addClient: PropTypes.func...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Clients/index.js
import PageTitle from '../../ui/PageTitle'; import Loading from '../../ui/Loading';
<mask> import Leases from './Leases'; <mask> import StaticLeases from './StaticLeases/index'; <mask> import Card from '../../ui/Card'; <mask> import Accordion from '../../ui/Accordion'; <mask> <mask> class Dhcp extends Component { <mask> componentDidMount() { <mask> this.props.getDhcpStatus(); </s...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
componentDidMount() { this.props.getDhcpStatus(); this.props.getDhcpInterfaces(); }
<mask> <mask> class Dhcp extends Component { <mask> handleFormSubmit = (values) => { <mask> if (values.interface_name) { <mask> this.props.setDhcpConfig(values); <mask> } </s> + client: split settings page into several pages </s> remove if (this.props.encryption.enabled) ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
};
<mask> }; <mask> <mask> handleToggle = (config) => { <mask> this.props.toggleDhcp(config); <mask> } <mask> <mask> getToggleDhcpButton = () => { <mask> const { <mask> config, check, processingDhcp, processingConfig, <mask> } = this.props.dhcp; </s> + clien...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
!filledConfig || !check || otherDhcpFound || processingDhcp || processingConfig
<mask> type="button" <mask> className="btn btn-standard mr-2 btn-success" <mask> onClick={() => this.handleToggle(config)} <mask> disabled={ <mask> !filledConfig <mask> || !check <mask> || ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
};
<mask> > <mask> <Trans>dhcp_enable</Trans> <mask> </button> <mask> ); <mask> } <mask> <mask> getActiveDhcpMessage = (t, check) => { <mask> const { found } = check.otherServer; <mask> <mask> if (found === DHCP_STATUS_RESPONSE.ERROR) { <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
};
<mask> </div> <mask> )} <mask> </div> <mask> ); <mask> } <mask> <mask> getDhcpWarning = (check) => { <mask> if (check.otherServer.found === DHCP_STATUS_RESPONSE.NO) { <mask> return ''; <mask> } </s> + client: split s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
};
<mask> <div className="text-danger"> <mask> <Trans>dhcp_warning</Trans> <mask> </div> <mask> ); <mask> } <mask> <mask> getStaticIpWarning = (t, check, interfaceName) => { <mask> if (check.staticIP.static === DHCP_STATUS_RESPONSE.ERROR) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<hr className="mt-4 mb-4" />
<mask> <span>{check.staticIP.error}</span> <mask> </Accordion> <mask> </div> <mask> </div> <mask> <hr className="mt-4 mb-4"/> <mask> </Fragment> <mask> ); <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
check.staticIP.static === DHCP_STATUS_RESPONSE.NO && check.staticIP.ip && interfaceName
<mask> <hr className="mt-4 mb-4"/> <mask> </Fragment> <mask> ); <mask> } else if ( <mask> check.staticIP.static === DHCP_STATUS_RESPONSE.NO <mask> && check.staticIP.ip <mask> && interfaceName <mask> ) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
components={[<strong key="0">example</strong>]}
<mask> return ( <mask> <Fragment> <mask> <div className="text-secondary mb-2"> <mask> <Trans <mask> components={[ <mask> <strong key="0">example</strong>, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<hr className="mt-4 mb-4" />
<mask> > <mask> dhcp_dynamic_ip_found <mask> </Trans> <mask> </div> <mask> <hr className="mt-4 mb-4"/> <mask> </Fragment> <mask> ); <mask> } <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
};
<mask> ); <mask> } <mask> <mask> return ''; <mask> } <mask> <mask> render() { <mask> const { t, dhcp } = this.props; <mask> const statusButtonClass = classnames({ <mask> 'btn btn-primary btn-standard': true, </s> + client: split settings page ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
const { enabled, interface_name, ...values } = dhcp.config;
<mask> const statusButtonClass = classnames({ <mask> 'btn btn-primary btn-standard': true, <mask> 'btn btn-primary btn-standard btn-loading': dhcp.processingStatus, <mask> }); <mask> const { <mask> enabled, <mask> interface_name, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<PageTitle title={t('dhcp_settings')} /> {(dhcp.processing || dhcp.processingInterfaces) && <Loading />} {!dhcp.processing && !dhcp.processingInterfaces && (
<mask> } = dhcp.config; <mask> <mask> return ( <mask> <Fragment> <mask> <Card title={ t('dhcp_title') } subtitle={ t('dhcp_description') } bodyType="card-body box-body--settings"> <mask> <div className="dhcp"> <mask> {!dhcp....
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<Card title={t('dhcp_title')} subtitle={t('dhcp_description')} bodyType="card-body box-body--settings" > <div className="dhcp"> ...
<mask> </div> <mask> </Card> <mask> {!dhcp.processing && dhcp.config.enabled && <mask> <Fragment> <mask> <Card title={ t('dhcp_leases') } bodyType="card-body box-body--settings"> <mask> <div...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "k...
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<hr /> <div className="card-actions mb-3"> {this.getToggleDhcpButton()} <button type="button" ...
<mask> toggleLeaseModal={this.props.toggleLeaseModal} <mask> processingAdding={dhcp.processingAdding} <mask> processingDeleting={dhcp.processingDeleting} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
)}
<mask> </div> <mask> </div> <mask> </Card> <mask> </Fragment> <mask> } <mask> </Fragment> <mask> ); <mask> } <mask> } <mask> </s> + client: split settings page into...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
<mask> toggleDhcp: PropTypes.func, <mask> getDhcpStatus: PropTypes.func, <mask> setDhcpConfig: PropTypes.func, <mask> findActiveDhcp: PropTypes.func, <mask> handleSubmit: PropTypes.func, <mask> addStaticLease: PropTypes.func, <mask> removeStaticLease: PropTypes.func, <mask> toggl...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
getDhcpInterfaces: PropTypes.func,
<mask> addStaticLease: PropTypes.func, <mask> removeStaticLease: PropTypes.func, <mask> toggleLeaseModal: PropTypes.func, <mask> t: PropTypes.func, <mask> }; <mask> <mask> export default withNamespaces()(Dhcp); </s> + client: split settings page into several pages </s> remove handleSubmit: ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Dhcp/index.js
const isSavingDisabled = invalid || submitting || processingConfig || processingValidate || (isEnabled && (!privateKey || !certificateChain)) || (privateKey && !valid_key) || (certificateChain && !valid_cert) || (privateKey && certificateChain && !vali...
<mask> warning_validation, <mask> setTlsConfig, <mask> } = props; <mask> <mask> const isSavingDisabled = invalid <mask> || submitting <mask> || processingConfig <mask> || processingValidate <mask> || (isEnabled && (!privateKey || !certificateChain)) <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
<hr />
<mask> </div> <mask> <div className="form__desc"> <mask> <Trans>encryption_enable_desc</Trans> <mask> </div> <mask> <hr/> <mask> </div> <mask> <div className="col-12"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
<label className="form__label form__label--bold" htmlFor="certificate_chain" >
<mask> </div> <mask> <div className="row"> <mask> <div className="col-12"> <mask> <div className="form__group form__group--settings"> <mask> <label className="form__label form__label--bold" htmlFor="certificate_chain"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
components={[ <a href="https://letsencrypt.org/" key="0"> link </a>, ]}
<mask> </label> <mask> <div className="form__desc form__desc--top"> <mask> <Trans <mask> values={{ link: 'letsencrypt.org' }} <mask> components={[<a href="https://letsencrypt....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{certificateChain && (
<mask> onChange={handleChange} <mask> disabled={!isEnabled} <mask> /> <mask> <div className="form__status"> <mask> {certificateChain && <mask> <Fragme...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
<li className={valid_chain ? 'text-success' : 'text-danger'} > {valid_chain ? (
<mask> <div className="form__label form__label--bold"> <mask> <Trans>encryption_status</Trans>: <mask> </div> <mask> <ul className="encryption__list"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
) : ( <Trans>encryption_chain_invalid</Trans> )}
<mask> <ul className="encryption__list"> <mask> <li className={valid_chain ? 'text-success' : 'text-danger'}> <mask> {valid_chain ? <mask> <Trans>en...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{valid_cert && (
<mask> <Trans>encryption_chain_valid</Trans> <mask> : <Trans>encryption_chain_invalid</Trans> <mask> } <mask> </li> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{subject && (
<mask> } <mask> </li> <mask> {valid_cert && <mask> <Fragment> <mask> {subject && <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)} {issuer && (
<mask> <li> <mask> <Trans>encryption_subject</Trans>:&nbsp; <mask> {subject} <mask> </li> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)} {not_after && not_after !== EMPTY_DATE && (
<mask> <li> <mask> <Trans>encryption_issuer</Trans>:&nbsp; <mask> {issuer} <mask> </li> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)} {dns_names && (
<mask> <li> <mask> <Trans>encryption_expire</Trans>:&nbsp; <mask> {format(not_after, 'YYYY-MM-DD HH:mm:ss')} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> <li> <mask> <Trans>encryption_hostnames</Trans>:&nbsp; <mask> {dns_names} <mask> </li> <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> {dns_names} <mask> </li> <mask> } <mask> </Fragment> <mask> } <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> </Fragment> <mask> } <mask> </ul> <mask> </Fragment> <mask> } <mask> </div> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{privateKey && (
<mask> onChange={handleChange} <mask> disabled={!isEnabled} <mask> /> <mask> <div className="form__status"> <mask> {privateKey && <mask> <Fragment> <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{valid_key ? (
<mask> <Trans>encryption_status</Trans>: <mask> </div> <mask> <ul className="encryption__list"> <mask> <li className={valid_key ? 'text-success' : 'text-danger'}> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
) : ( <Trans values={{ type: key_type }}>
<mask> {valid_key ? <mask> <Trans values={{ type: key_type }}> <mask> encryption_key_valid <mask> </Trans> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> </Trans> <mask> : <Trans values={{ type: key_type }}> <mask> encryption_key_invalid <mask> </Trans> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> } <mask> </li> <mask> </ul> <mask> </Fragment> <mask> } <mask> </div> <mask> </div...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
{warning_validation && (
<mask> } <mask> </div> <mask> </div> <mask> </div> <mask> {warning_validation && <mask> <div className="col-12"> <mask> <p className="text-danger"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
<p className="text-danger">{warning_validation}</p>
<mask> </div> <mask> </div> <mask> {warning_validation && <mask> <div className="col-12"> <mask> <p className="text-danger"> <mask> {warning_validation} <mask> </p> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
)}
<mask> <p className="text-danger"> <mask> {warning_validation} <mask> </p> <mask> </div> <mask> } <mask> </div> <mask> <mask> <div className="btn-list mt-2"> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/Form.js
import PageTitle from '../../ui/PageTitle'; import Loading from '../../ui/Loading';
<mask> import { DEBOUNCE_TIMEOUT } from '../../../helpers/constants'; <mask> import Form from './Form'; <mask> import Card from '../../ui/Card'; <mask> <mask> class Encryption extends Component { <mask> componentDidMount() { <mask> const { getTlsStatus, validateTlsConfig, encryption } = this.props; ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/index.js
const { getTlsStatus, validateTlsConfig, encryption } = this.props; getTlsStatus(); if (encryption.enabled) { validateTlsConfig(encryption);
<mask> import Card from '../../ui/Card'; <mask> <mask> class Encryption extends Component { <mask> componentDidMount() { <mask> if (this.props.encryption.enabled) { <mask> this.props.validateTlsConfig(this.props.encryption); <mask> } <mask> } <mask> <mask> handleFormS...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/index.js
<PageTitle title={t('encryption_settings')} /> {encryption.processing && <Loading />} {!encryption.processing && (
<mask> } = encryption; <mask> <mask> return ( <mask> <div className="encryption"> <mask> {encryption && <mask> <Card <mask> title={t('encryption_title')} <mask> subtitle={t('encryption_desc')} <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/index.js
)}
<mask> setTlsConfig={this.props.setTlsConfig} <mask> {...this.props.encryption} <mask> /> <mask> </Card> <mask> } <mask> </div> <mask> ); <mask> } <mask> } <mask> </s> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/Encryption/index.js
<mask> import React, { Component, Fragment } from 'react'; <mask> import PropTypes from 'prop-types'; <mask> import { withNamespaces, Trans } from 'react-i18next'; <mask> <mask> import Upstream from './Upstream'; <mask> import Dhcp from './Dhcp'; <mask> import Encryption from './Encryption'; <mask> import Clie...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<mask> }; <mask> <mask> componentDidMount() { <mask> this.props.initSettings(this.settings); <mask> this.props.getDhcpStatus(); <mask> this.props.getDhcpInterfaces(); <mask> this.props.getTlsStatus(); <mask> this.props.getAccessList(); <mask> } <mask> <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
const { settings, t } = this.props;
<mask> ); <mask> }; <mask> <mask> render() { <mask> const { <mask> settings, dashboard, clients, access, t, <mask> } = this.props; <mask> return ( <mask> <Fragment> <mask> <PageTitle title={t('settings')} /> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<PageTitle title={t('general_settings')} />
<mask> settings, dashboard, clients, access, t, <mask> } = this.props; <mask> return ( <mask> <Fragment> <mask> <PageTitle title={t('settings')} /> <mask> {settings.processing && <Loading />} <mask> {!settings.processing && (...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<Card bodyType="card-body box-body--settings">
<mask> {!settings.processing && ( <mask> <div className="content"> <mask> <div className="row"> <mask> <div className="col-md-12"> <mask> <Card <mask> title={...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<mask> <div className="form"> <mask> {this.renderSettings(settings.settingsList)} <mask> </div> <mask> </Card> <mask> <Upstream <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<mask> initSettings: PropTypes.func, <mask> settings: PropTypes.object, <mask> settingsList: PropTypes.object, <mask> toggleSetting: PropTypes.func, <mask> handleUpstreamChange: PropTypes.func, <mask> setUpstream: PropTypes.func, <mask> t: PropTypes.func, <mask> }; <mask> <mask> e...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/cf53653cfaf581bf6e66aa72cb340309c23195db
client/src/components/Settings/index.js
<mask> "sync" <mask> "sync/atomic" <mask> "time" <mask> <mask> "github.com/bluele/gcache" <mask> "github.com/AdguardTeam/golibs/log" <mask> "golang.org/x/net/publicsuffix" <mask> ) <mask> <mask> const defaultCacheSize = 64 * 1024 // in number of elements </s> Fix #598 - [change] service: windows: reg...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d06cc0f8ee89a0142c493b33d295272ba100aaf5
dnsfilter/dnsfilter.go
"github.com/bluele/gcache"
<mask> "sync/atomic" <mask> "time" <mask> <mask> "github.com/AdguardTeam/golibs/log" <mask> "golang.org/x/net/publicsuffix" <mask> ) <mask> <mask> const defaultCacheSize = 64 * 1024 // in number of elements <mask> const defaultCacheTime = 30 * time.Minute </s> Fix #598 - [change] service: windows: regis...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d06cc0f8ee89a0142c493b33d295272ba100aaf5
dnsfilter/dnsfilter.go
<mask> <mask> // POSIX <mask> // Redirect StdErr & StdOut to files. <mask> c.Option["LogOutput"] = true <mask> <mask> // Windows <mask> if runtime.GOOS == "windows" { <mask> c.UserName = "NT AUTHORITY\\NetworkService" <mask> } <mask> } <mask> <mask> // cleanupService called on the service uninsta...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d06cc0f8ee89a0142c493b33d295272ba100aaf5
service.go
res.IP = addrs[0]
<mask> log.Tracef("SafeSearchDomain for %s was found but failed to lookup for %s cause %s", host, safeHost, err) <mask> return Result{}, err <mask> } <mask> <mask> // The next bug may occurs: LookupIP returns DNS64 mapped ipv4 address with zero-prefix <mask> for _, i := range addrs { <mask> if ipv4 := ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d0f4f22e0d328528683ad70acd25d61f292326de
dnsfilter/dnsfilter.go
<mask> break <mask> } <mask> } <mask> <mask> if res.IP == nil || len(res.IP) == 0 { <mask> res.IP = addrs[0] <mask> } <mask> <mask> // Cache result <mask> err = safeSearchCache.Set(host, res) <mask> if err != nil { <mask> return Result{}, nil <mask> } </s> Add safesearch test for dnsforw...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d0f4f22e0d328528683ad70acd25d61f292326de
dnsfilter/dnsfilter.go
// Enable safesearch and check host d.SafeSearchEnabled = true
<mask> t.Fatalf("SafeSearch is not enabled but there is an answer!") <mask> } <mask> <mask> <mask> // Let's lookup for safesearch domain <mask> safeDomain, ok := d.SafeSearchDomain(domain) <mask> if !ok { </s> Add safesearch test for dnsforward </s> remove if ip == nil || len(ip) == 0 { ip = ips[0] ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/AdguardTeam/AdGuardHome/commit/d0f4f22e0d328528683ad70acd25d61f292326de
dnsfilter/dnsfilter_test.go