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 |
|---|---|---|---|---|
export default flow([withTranslation(), reduxForm({ form: 'accessForm' })])(Form); | <mask> t: PropTypes.func.isRequired,
<mask> textarea: PropTypes.bool,
<mask> };
<mask>
<mask> export default flow([withNamespaces(), reduxForm({ form: 'accessForm' })])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Access/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Form from './Form';
<mask> import Card from '../../../ui/Card';
<mask>
<mask> class Access extends Component {
</s> + client: Update packages... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Access/index.js |
export default withTranslation()(Access); | <mask> setAccessList: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Access);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commi... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Access/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { connect } from 'react-redux';
<mask> import { Field, reduxForm, formValueSelector } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
.map((mode) => ( | <mask> validateIp: ipv6,
<mask> }];
<mask>
<mask> const getFields = (processing, t) => Object.values(BLOCKING_MODES)
<mask> .map(mode => (
<mask> <Field
<mask> key={mode}
<mask> name="blocking_mode"
<mask> type="radio"
<mask> component={renderRa... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
}) => <form onSubmit={handleSubmit}> | <mask> ));
<mask>
<mask> let Form = ({
<mask> handleSubmit, submitting, invalid, processing, blockingMode, t,
<mask> }) =>
<mask> <form onSubmit={handleSubmit}>
<mask> <div className="row">
<mask> <div className="col-12 col-sm-6">
<mask> <div className="form__gr... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
{checkboxes.map(({ name, placeholder, subtitle }) => <div className="col-12" key={name}> | <mask> validate={[required, biggerOrEqualZero]}
<mask> />
<mask> </div>
<mask> </div>
<mask> {checkboxes.map(({ name, placeholder, subtitle }) =>
<mask> <div className="col-12" key={name}>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
.map((mode) => ( | <mask> <Trans>blocking_mode</Trans>
<mask> </label>
<mask> <div className="form__desc form__desc--top">
<mask> {Object.values(BLOCKING_MODES)
<mask> .map(mode => (
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
withTranslation(), | <mask> };
<mask> })(Form);
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'blockingModeForm',
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Card from '../../../ui/Card';
<mask> import Form from './Form';
<mask>
<mask> const Config = ({ t, dnsConfig, setDnsConfig }) => {
</s> + client: Update pac... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/index.js |
export default withTranslation()(Config); | <mask> setDnsConfig: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Config);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Config/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> const Examples = props => (
<mask> <div className="list leading-loose">
<mask> <p>
<mask> <Trans
</s> + client: Update packages - Mer... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Examples.js |
const Examples = (props) => ( | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> const Examples = props => (
<mask> <div className="list leading-loose">
<mask> <p>
<mask> <Trans
<mask> components={[... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Examples.js |
export default withTranslation()(Examples); | <mask> Examples.propTypes = {
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Examples);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586dd71260e561... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Examples.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import { connect } from 'react-redux';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm, formValueSelector } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask> import cl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Form.js |
onClick={() => testUpstream({
upstream_dns,
bootstrap_dns,
}) | <mask> <div className="btn-list">
<mask> <button
<mask> type="button"
<mask> className={testButtonClass}
<mask> onClick={() =>
<mask> testUpstream({
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Form.js |
withTranslation(), | <mask> };
<mask> })(Form);
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'upstreamForm',
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashe... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Form from './Form';
<mask> import Card from '../../../ui/Card';
<mask>
<mask> class Upstream extends Component {
</s> + client: Update packag... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/index.js |
export default withTranslation()(Upstream); | <mask> dnsConfig: PropTypes.object.isRequired,
<mask> setDnsConfig: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Upstream);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the follow... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/Upstream/index.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component, Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Upstream from './Upstream';
<mask> import Access from './Access';
<mask> import Config from './Config';
<mask> import PageTitle from ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/index.js |
{isDataLoading
? <Loading />
: <Fragment> | <mask>
<mask> return (
<mask> <Fragment>
<mask> <PageTitle title={t('dns_settings')} />
<mask> {isDataLoading ?
<mask> <Loading /> :
<mask> <Fragment>
<mask> <Upstream
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/index.js |
export default withTranslation()(Dns); | <mask> getDnsConfig: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Dns);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1e... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Dns/index.js |
import { withTranslation, Trans } from 'react-i18next'; | <mask> import React, { Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces, Trans } from 'react-i18next';
<mask> import format from 'date-fns/format';
<mask>
<mask> import { EMPTY_DATE } from '../../../helpers/constants';
<mask>
<mask> const CertificateStatus = (... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/CertificateStatus.js |
export default withTranslation()(CertificateStatus); | <mask> notAfter: PropTypes.string,
<mask> dnsNames: PropTypes.string,
<mask> };
<mask>
<mask> export default withNamespaces()(CertificateStatus);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/CertificateStatus.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import { connect } from 'react-redux';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm, formValueSelector } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/Form.js |
Object.keys(fields).forEach((field) => change(field, fields[field])); | <mask> enabled: false,
<mask> };
<mask> // eslint-disable-next-line no-alert
<mask> if (window.confirm(t('encryption_reset'))) {
<mask> Object.keys(fields).forEach(field => change(field, fields[field]));
<mask> setTlsConfig(fields);
<mask> }
<mask> };
<mask>
<mask> let... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/Form.js |
const isSavingDisabled = invalid
|| submitting
|| processingConfig
|| processingValidate
|| !valid_key
|| !valid_cert
|| !valid_pair; | <mask> certificateSource,
<mask> privateKeySource,
<mask> } = props;
<mask>
<mask> const isSavingDisabled =
<mask> invalid ||
<mask> submitting ||
<mask> processingConfig ||
<mask> processingValidate ||
<mask> !valid_key ||
<mask> !vali... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/Form.js |
withTranslation(), | <mask> };
<mask> })(Form);
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'encryptionForm',
<mask> validate,
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/Form.js |
import { withTranslation, Trans } from 'react-i18next'; | <mask> import React, { Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces, Trans } from 'react-i18next';
<mask>
<mask> const KeyStatus = ({ validKey, keyType }) => (
<mask> <Fragment>
<mask> <div className="form__label form__label--bold">
<mask> ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/KeyStatus.js |
export default withTranslation()(KeyStatus); | <mask> validKey: PropTypes.bool.isRequired,
<mask> keyType: PropTypes.string.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(KeyStatus);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/KeyStatus.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask> import debounce from 'lodash/debounce';
<mask>
<mask> import { DEBOUNCE_TIMEOUT, ENCRYPTION_SOURCE } from '../../../helpers/constants';
<mask> import Form fro... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/index.js |
export default withTranslation()(Encryption); | <mask> encryption: PropTypes.object.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Encryption);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
co... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Encryption/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask>
<mask> import { renderSelectField, toNumber } from '../../../helpers/form... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/Form.js |
} if (interval === 72 || interval === 168) { | <mask>
<mask> const getTitleForInterval = (interval, t) => {
<mask> if (interval === 0) {
<mask> return t('disabled');
<mask> } else if (interval === 72 || interval === 168) {
<mask> return t('interval_days', { count: interval / 24 });
<mask> }
<mask>
<mask> return t('interval... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/Form.js |
{FILTERS_INTERVALS_HOURS.map((interval) => ( | <mask> onChange={handleChange}
<mask> normalize={toNumber}
<mask> disabled={processing}
<mask> >
<mask> {FILTERS_INTERVALS_HOURS.map(interval => (
<mask> <option value={interval} key={interval}>
<mask> {getTitleForInterval(interval, t)}
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/Form.js |
withTranslation(), | <mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'filterConfigForm',
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask> import debounce from 'lodash/debounce';
<mask>
<mask> import { DEBOUNCE_TIMEOUT } from '../../../helpers/constants';
<mask> import Form from './Form';
<mask>... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/index.js |
export default withTranslation()(FiltersConfig); | <mask> setFiltersConfig: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(FiltersConfig);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the followi... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/FiltersConfig/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask>
<mask> import { renderSelectField, renderRadioField, toNumber } from '../... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/Form.js |
const getIntervalFields = (processing, t, toNumber) => QUERY_LOG_INTERVALS_DAYS.map((interval) => {
const title = interval === 1 ? t('interval_24_hour') : t('interval_days', { count: interval }); | <mask>
<mask> import { renderSelectField, renderRadioField, toNumber } from '../../../helpers/form';
<mask> import { QUERY_LOG_INTERVALS_DAYS } from '../../../helpers/constants';
<mask>
<mask> const getIntervalFields = (processing, t, toNumber) =>
<mask> QUERY_LOG_INTERVALS_DAYS.map((interval) => {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/Form.js |
return ( | <mask> QUERY_LOG_INTERVALS_DAYS.map((interval) => {
<mask> const title =
<mask> interval === 1 ? t('interval_24_hour') : t('interval_days', { count: interval });
<mask>
<mask> return (
<mask> <Field
<mask> key={interval}
<mask> name="i... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/Form.js |
);
}); | <mask> placeholder={title}
<mask> normalize={toNumber}
<mask> disabled={processing}
<mask> />
<mask> );
<mask> });
<mask>
<mask> const Form = (props) => {
<mask> const {
<mask> handleSubmit, submitting, invalid, processing, p... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/Form.js |
withTranslation(), | <mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'logConfigForm',
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Card from '../../ui/Card';
<mask> import Form from './Form';
<mask>
<mask> class LogsConfig extends Component {
</s> + client: Update package... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/index.js |
export default withTranslation()(LogsConfig); | <mask> clearLogs: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(LogsConfig);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commi... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/LogsConfig/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask>
<mask> import { toggleAllServices } from '../../../helpers/helpers';
<ma... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/Form.js |
{SERVICES.map((service) => ( | <mask> </button>
<mask> </div>
<mask> </div>
<mask> <div className="services">
<mask> {SERVICES.map(service => (
<mask> <Field
<mask> key={service.id}
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/Form.js |
withTranslation(), | <mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'servicesForm',
<mask> enableReinitialize: true,
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Form from './Form';
<mask> import Card from '../../ui/Card';
<mask>
<mask> class Services extends Component {
</s> + client: Update packages ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/index.js |
.filter((service) => values.blocked_services[service]); | <mask>
<mask> if (values && values.blocked_services) {
<mask> const blocked_services = Object
<mask> .keys(values.blocked_services)
<mask> .filter(service => values.blocked_services[service]);
<mask> config = blocked_services;
<mask> }
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/index.js |
export default withTranslation()(Services); | <mask> services: PropTypes.object.isRequired,
<mask> setBlockedServices: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Services);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the f... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/Services/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Field, reduxForm } from 'redux-form';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import flow from 'lodash/flow';
<mask>
<mask> import { renderRadioField, toNumber } from '../../../helpers/form'... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/Form.js |
const getIntervalFields = (processing, t, toNumber) => STATS_INTERVALS_DAYS.map((interval) => {
const title = interval === 1 ? t('interval_24_hour') : t('interval_days', { count: interval }); | <mask>
<mask> import { renderRadioField, toNumber } from '../../../helpers/form';
<mask> import { STATS_INTERVALS_DAYS } from '../../../helpers/constants';
<mask>
<mask> const getIntervalFields = (processing, t, toNumber) =>
<mask> STATS_INTERVALS_DAYS.map((interval) => {
<mask> const title =
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/Form.js |
return ( | <mask> STATS_INTERVALS_DAYS.map((interval) => {
<mask> const title =
<mask> interval === 1 ? t('interval_24_hour') : t('interval_days', { count: interval });
<mask>
<mask> return (
<mask> <Field
<mask> key={interval}
<mask> name="inter... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/Form.js |
);
}); | <mask> placeholder={title}
<mask> normalize={toNumber}
<mask> disabled={processing}
<mask> />
<mask> );
<mask> });
<mask>
<mask> const Form = (props) => {
<mask> const {
<mask> handleSubmit, processing, submitting, invalid, h... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/Form.js |
withTranslation(), | <mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default flow([
<mask> withNamespaces(),
<mask> reduxForm({
<mask> form: 'statsConfigForm',
<mask> }),
<mask> ])(Form);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to mast... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/Form.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Card from '../../ui/Card';
<mask> import Form from './Form';
<mask>
<mask> class StatsConfig extends Component {
</s> + client: Update packag... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/index.js |
export default withTranslation()(StatsConfig); | <mask> resetStats: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(StatsConfig);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
com... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/StatsConfig/index.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component, Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import Services from './Services';
<mask> import StatsConfig from './StatsConfig';
<mask> import LogsConfig from './LogsConfig';
<mask> impo... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/index.js |
const isDataReady = !settings.processing
&& !services.processing
&& !stats.processingGetConfig
&& !queryLogs.processingGetConfig; | <mask> setFiltersConfig,
<mask> t,
<mask> } = this.props;
<mask>
<mask> const isDataReady =
<mask> !settings.processing &&
<mask> !services.processing &&
<mask> !stats.processingGetConfig &&
<mask> !queryLogs.processingGet... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/index.js |
export default withTranslation()(Settings); | <mask> getFilteringStatus: PropTypes.func.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Settings);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Settings/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> import Guide from '../ui/Guide';
<mask> import Card from '../ui/Card';
<mask> import PageTitle from '../ui/PageTitle';
<mask> import './Guide.css';
</s> + cl... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/SetupGuide/index.js |
{dnsAddresses.map((ip) => <li key={ip}>{ip}</li>)} | <mask> <div className="mt-1">
<mask> <Trans>install_devices_address</Trans>:
<mask> </div>
<mask> <div className="mt-2 font-weight-bold">
<mask> {dnsAddresses.map(ip => <li key={ip}>{ip}</li>)}
<mask> </div>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/SetupGuide/index.js |
export default withTranslation()(SetupGuide); | <mask> dashboard: PropTypes.object.isRequired,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(SetupGuide);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
com... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/SetupGuide/index.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> class Toast extends Component {
<mask> componentDidMount() {
<mask> const timeout = this.props.type === 'success' ? 5000 : 30000;
<... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Toasts/Toast.js |
export default withTranslation()(Toast); | <mask> type: PropTypes.string.isRequired,
<mask> removeToast: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Toast);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
com... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Toasts/Toast.js |
const Toasts = (props) => (
<TransitionGroup className="toasts">
{props.toasts.notices && props.toasts.notices.map((toast) => {
const { id } = toast;
return (
<CSSTransition
key={id}
timeout={500}
... | <mask> import Toast from './Toast';
<mask>
<mask> import './Toast.css';
<mask>
<mask> const Toasts = props => (
<mask> <TransitionGroup className="toasts">
<mask> {props.toasts.notices && props.toasts.notices.map((toast) => {
<mask> const { id } = toast;
<mask> return (
<... | [
"keep",
"keep",
"keep",
"keep",
"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/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/Toasts/index.js |
}; | <mask>
<mask> class Accordion extends Component {
<mask> state = {
<mask> isOpen: false,
<mask> }
<mask>
<mask> handleClick = () => {
<mask> this.setState(prevState => ({ isOpen: !prevState.isOpen }));
<mask> };
<mask>
</s> + client: Update packages - Merge pull request #61... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Accordion.js |
this.setState((prevState) => ({ isOpen: !prevState.isOpen })); | <mask> isOpen: false,
<mask> }
<mask>
<mask> handleClick = () => {
<mask> this.setState(prevState => ({ isOpen: !prevState.isOpen }));
<mask> };
<mask>
<mask> render() {
<mask> const accordionClass = this.state.isOpen
<mask> ? 'accordion__label accordion__... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Accordion.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces } from 'react-i18next';
<mask>
<mask> import './Checkbox.css';
<mask>
<mask> class Checkbox extends Component {
<mask> render() {
</s> + client: Update packages - Merge pull request ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Checkbox.js |
export default withTranslation()(Checkbox); | <mask> handleChange: PropTypes.func.isRequired,
<mask> t: PropTypes.func,
<mask> };
<mask>
<mask> export default withNamespaces()(Checkbox);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Checkbox.js |
import { withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import classnames from 'classnames';
<mask> import { withNamespaces } from 'react-i18next';
<mask> import enhanceWithClickOutside from 'react-click-outside';
<mask>
<mask> import './Dropdown.css';
<mask>
<mask>... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Dropdown.js |
this.setState((prevState) => ({ isOpen: !prevState.isOpen })); | <mask> isOpen: false,
<mask> };
<mask>
<mask> toggleDropdown = () => {
<mask> this.setState(prevState => ({ isOpen: !prevState.isOpen }));
<mask> };
<mask>
<mask> hideDropdown = () => {
<mask> this.setState({ isOpen: false });
<mask> };
</s> + client: Update pack... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Dropdown.js |
export default withTranslation()(enhanceWithClickOutside(Dropdown)); | <mask> baseClassName: PropTypes.string.isRequired,
<mask> icon: PropTypes.string,
<mask> };
<mask>
<mask> export default withNamespaces()(enhanceWithClickOutside(Dropdown));
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit o... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Dropdown.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import isAfter from 'date-fns/is_after';
<mask> import addDays from 'date-fns/add_days';
<mask>
<mask> import Topline from './Topline';
<mask> import { EMPTY_DATE } ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/EncryptionTopline.js |
} if (isAboutExpire) { | <mask> topline_expired_certificate
<mask> </Trans>
<mask> </Topline>
<mask> );
<mask> } else if (isAboutExpire) {
<mask> return (
<mask> <Topline type="warning">
<mask> <Trans components={[<a href="#encryption" key="... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/EncryptionTopline.js |
export default withTranslation()(EncryptionTopline); | <mask> EncryptionTopline.propTypes = {
<mask> notAfter: PropTypes.string.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(EncryptionTopline);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/EncryptionTopline.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Component, Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> import { REPOSITORY, PRIVACY_POLICY_LINK } from '../../helpers/constants';
<mask> import { LANGUAGES } from '../../helpers/twosky';
<m... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Footer.js |
{Object.keys(LANGUAGES).map((lang) => ( | <mask> className="form-control select select--language"
<mask> value={i18n.language}
<mask> onChange={this.changeLanguage}
<mask> >
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Footer.js |
export default withTranslation()(Footer); | <mask> processingVersion: PropTypes.bool,
<mask> getVersion: PropTypes.func,
<mask> };
<mask>
<mask> export default withNamespaces()(Footer);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb8958... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Footer.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> import Tabs from '../ui/Tabs';
<mask> import Icons from '../ui/Icons';
<mask>
<mask> const Guide = (props) => {
</s> + client: Update packages... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Guide.js |
import Tabs from './Tabs';
import Icons from './Icons'; | <mask> import React, { Fragment } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> import Tabs from '../ui/Tabs';
<mask> import Icons from '../ui/Icons';
<mask>
<mask> const Guide = (props) => {
<mask> const { dnsAddresse... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Guide.js |
const tlsAddress = (dnsAddresses && dnsAddresses.filter((item) => item.includes('tls://'))) || '';
const httpsAddress = (dnsAddresses && dnsAddresses.filter((item) => item.includes('https://'))) || ''; | <mask> import Icons from '../ui/Icons';
<mask>
<mask> const Guide = (props) => {
<mask> const { dnsAddresses } = props;
<mask> const tlsAddress = (dnsAddresses && dnsAddresses.filter(item => item.includes('tls://'))) || '';
<mask> const httpsAddress =
<mask> (dnsAddresses && dnsAddresses.fil... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Guide.js |
export default withTranslation()(Guide); | <mask> dnsAddresses: PropTypes.array,
<mask> t: PropTypes.func.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Guide);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586dd... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Guide.js |
const Line = ({ data, color }) => data
&& <ResponsiveLine
data={data}
margin={{
top: 15,
right: 0,
bottom: 1,
left: 20,
}}
minY="auto"
stacked={false}
curve='linear'
axisBottom={null}
axisLeft={null}
... | <mask> import { ResponsiveLine } from '@nivo/line';
<mask>
<mask> import './Line.css';
<mask>
<mask> const Line = ({ data, color }) => (
<mask> data &&
<mask> <ResponsiveLine
<mask> data={data}
<mask> margin={{
<mask> top: 15,
<mask> right... | [
"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/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Line.js |
<br /> | <mask> {slice.data.map(d => (
<mask> <div key={d.serie.id} className="line__tooltip">
<mask> <span className="line__tooltip-text">
<mask> <strong>{d.data.y}</strong>
<mask> <br/>
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Line.js |
</div>
))}
</div>
)}
theme={{
tooltip: {
container: {
padding: '0',
background: '#333',
borderRadius: '4px', | <mask> <strong>{d.data.y}</strong>
<mask> <br/>
<mask> <small>{d.data.x}</small>
<mask> </span>
<mask> </div>
<mask> ))}
<mask> <... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Line.js |
},
}}
/>; | <mask> background: '#333',
<mask> borderRadius: '4px',
<mask> },
<mask> },
<mask> }}
<mask> />
<mask> );
<mask>
<mask> Line.propTypes = {
<mask> data: PropTypes.array.isRequired,
<mask> color: Pro... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Line.js |
const PageTitle = (props) => ( | <mask> import PropTypes from 'prop-types';
<mask>
<mask> import './PageTitle.css';
<mask>
<mask> const PageTitle = props => (
<mask> <div className="page-header">
<mask> <h1 className="page-title">
<mask> {props.title}
<mask> {props.children}
<mask> </h1>
</s> + ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/PageTitle.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask> import { getSourceData } from '../../helpers/trackers/trackers';
<mask> import { captitalizeWords } from '../../helpers/helpers';
<mask>
<mask> import ... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Popover.js |
export default withTranslation()(Popover); | <mask> Popover.propTypes = {
<mask> data: PropTypes.object.isRequired,
<mask> };
<mask>
<mask> export default withNamespaces()(Popover);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586dd71260e... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Popover.js |
import { Trans, withTranslation } from 'react-i18next'; | <mask> import React, { Component } from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { Trans, withNamespaces } from 'react-i18next';
<mask>
<mask> import './Popover.css';
<mask>
<mask> class PopoverFilter extends Component {
<mask> render() {
</s> + client: Update packages - Merge pu... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/PopoverFilter.js |
export default withTranslation()(PopoverFilter); | <mask> filter: PropTypes.string,
<mask> service: PropTypes.string,
<mask> };
<mask>
<mask> export default withNamespaces()(PopoverFilter);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586dd... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/PopoverFilter.js |
import { withTranslation, Trans } from 'react-i18next'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces, Trans } from 'react-i18next';
<mask>
<mask> import Card from '../ui/Card';
<mask>
<mask> const Status = ({ message, buttonMessage, reloadPage }) => (
<mask> <div className="status">
</s> + client:... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Status.js |
import Card from './Card'; | <mask> import React from 'react';
<mask> import PropTypes from 'prop-types';
<mask> import { withNamespaces, Trans } from 'react-i18next';
<mask>
<mask> import Card from '../ui/Card';
<mask>
<mask> const Status = ({ message, buttonMessage, reloadPage }) => (
<mask> <div className="status">
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Status.js |
{buttonMessage
&& <button className="btn btn-success" onClick={reloadPage}> | <mask> <Card bodyType="card-body card-body--status">
<mask> <div className="h4 font-weight-light mb-4">
<mask> <Trans>{message}</Trans>
<mask> </div>
<mask> {buttonMessage &&
<mask> <button className="btn btn-success" onClick={reloadPage}>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Status.js |
export default withTranslation()(Status); | <mask> buttonMessage: PropTypes.string,
<mask> reloadPage: PropTypes.func,
<mask> };
<mask>
<mask> export default withNamespaces()(Status);
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586d... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Status.js |
-webkittext-decoration-skip-ink: objects | <mask> a {
<mask> color: #467fcf;
<mask> text-decoration: none;
<mask> background-color: transparent;
<mask> -webkit-text-decoration-skip: objects;
<mask> }
<mask>
<mask> a:hover {
<mask> color: #295a9f;
<mask> text-decoration: underline;
</s> + client: Update packages - Merge pull r... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Tabler.css |
-webkit-text-decoration-skip: auto;
text-decoration-skip-ink: auto | <mask> line-height: 1.4;
<mask> }
<mask>
<mask> a {
<mask> -webkit-text-decoration-skip: ink;
<mask> text-decoration-skip: ink;
<mask> }
<mask>
<mask> h1 a,
<mask> h2 a,
<mask> h3 a,
</s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #159... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Tabler.css |
<mask>
<mask> .fe-trash-2:before {
<mask> background-image: url('./svg/trash-2.svg');
<mask> }
<mask> /* stylelint-enable */ </s> + client: Update packages - Merge pull request #613 in DNS/adguard-home from fix/1597 to master
Close #1597
Squashed commit of the following:
commit 1eb89586dd71260e561420fe669ab... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/6f3cd4e7eb1f9c790208d8f42ead6af04f2138e4 | client/src/components/ui/Tabler.css |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.