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 |
|---|---|---|---|---|
<mask> github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
<mask> github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
<mask> github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
<mask> github.com/fsnotify/fsnotify v1.4... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
<mask> github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
<mask> github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
<mask> github.com/go-ole/go-ole v1.... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/gobuffalo/packd v0.3.0/go.mod h1:zC7QkmNkYVGKPw4tHpBQ+ml7W/3tIebgeo1b36chA3Q=
<mask> github.com/gobuffalo/packr v1.30.1 h1:hu1fuVR3fXEZR7rXNW3h8rqSML8EVAf6KNm0NKO/wKg=
<mask> github.com/gobuffalo/packr v1.30.1/go.mod h1:ljMyFO2EcrnzsHsN99cvbq055Y9OhRrIaviy289eRuk=
<mask> github.com/gobuffalo/packr... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=
<mask> github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
<mask> github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
<mask> github.com/joho/godotenv v1.3.0/g... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/joomcode/errorx v0.8.0 h1:GhAqPtcYuo1O7TOIbtzEIDzPGQ3SrKJ3tdjXNmUtDNo=
<mask> github.com/joomcode/errorx v0.8.0/go.mod h1:kgco15ekB6cs+4Xjzo7SPeXzx38PbJzBwbnu9qfVNHQ=
<mask> github.com/joomcode/errorx v1.0.1 h1:CalpDWz14ZHd68fIqluJasJosAewpz2TFaJALrUxjrk=
<mask> github.com/joomcode/errorx v1.0.1/g... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/kardianos/service v1.0.0/go.mod h1:8CzDhVuCuugtsHyZoTvsOBuvonN/UDBvl0kH+BUxvbo=
<mask> github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA=
<mask> github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
<mask> github.com/krolaw/dhcp4 v0.0.0-20180925202202-7cead472c414 h1:6wnYc2S/lVM7BvR32BM74ph7bPgqMztWopMYKgVyEho=
<mask> github.com/krolaw/dhcp4 v0.0.0-20180925202202-7cead472c414/go.mod h1:0AqAH3ZogsCrvrtUpvc6EtVKbc3w6xwZhkvGLuq... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/miekg/dns v1.1.29 h1:xHBEhR+t5RzcFJjBLJlax2daXOrTYtr9z4WdKEfWFzg=
<mask> github.com/miekg/dns v1.1.29/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
<mask> github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
<mask> github.com/mitchellh/mapstructure... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
<mask> github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
<mask> github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKq... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
<mask> github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
<mask> github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
<mask> github.com/pmezard/go-difflib v1.0.0/go.mo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
github.com/shirou/gopsutil v2.20.3+incompatible h1:0JVooMPsT7A7HqEYdydp/OfjSOYSjhXV7w1hkKj/NPQ=
github.com/shirou/gopsutil v2.20.3+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= | <mask> github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
<mask> github.com/rogpeppe/go-internal v1.3.0 h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=
<mask> github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
<mask> github.com/ru... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum |
<mask> github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
<mask> github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
<mask> github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
<mask> github.com/stretchr/testify v1.3... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
<mask> github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
<mask> go.etcd.io/bbolt v1.3.4 h1:hi1bXHMVrlQh6WwxAy+qZCV/SYI... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
<mask> golang.org/x/crypto v0.0.0-20200403201458-baeed622b8d8 h1:fpnn/HnJONpIu6hkXi1u/7rR0NzilgWr4T0JmWkEitk=
<mask> golang.org/x/crypto v0.0.0-20200403201458-baeed622b8d8/go.mod h1:LzIPMQfyMNhhGPhUkY... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
<mask> golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
<mask> golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
<mask> golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
<mask> golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+s... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
<mask> golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
<mask> golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a h1:WXEvlFVvvGxCJLG6REjsT03iWnKLEWi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
<mask> golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
<mask> golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpa... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
<mask> gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
<mask> gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
<mask> gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/96bee3955c263d7cf78531600f9b74581cbe7c5c | go.sum | |
isCommitable := true | <mask> }
<mask>
<mask> tx, err := db.Begin(true)
<mask> if err != nil {
<mask> log.Error("stats: opening transaction: %s", err)
<mask>
<mask> return true, 0
</s> Pull request: 4850 stats: imp logging
Merge in DNS/adguard-home from 4850-imp-stats-logging to master
Updates #4850.
Squashed commit of th... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go |
defer func() {
if err = finishTxn(tx, isCommitable); err != nil {
log.Error("stats: %s", err)
}
}() | <mask>
<mask> return true, 0
<mask> }
<mask>
<mask> s.curr = newUnit(id)
<mask>
<mask> flushErr := ptr.serialize().flushUnitToDB(tx, ptr.id)
</s> Pull request: 4850 stats: imp logging
Merge in DNS/adguard-home from 4850-imp-stats-logging to master
Updates #4850.
Squashed commit of the following:
com... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go |
<mask> return true, 0
<mask> }
<mask>
<mask> s.curr = newUnit(id)
<mask> isCommitable := true
<mask>
<mask> ferr := ptr.serialize().flushUnitToDB(tx, ptr.id)
<mask> if ferr != nil {
<mask> log.Error("stats: flushing unit: %s", ferr)
<mask> isCommitable = false
</s> Pull request: 4850 stats: imp ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go | |
flushErr := ptr.serialize().flushUnitToDB(tx, ptr.id)
if flushErr != nil {
log.Error("stats: flushing unit: %s", flushErr) | <mask>
<mask> s.curr = newUnit(id)
<mask> isCommitable := true
<mask>
<mask> ferr := ptr.serialize().flushUnitToDB(tx, ptr.id)
<mask> if ferr != nil {
<mask> log.Error("stats: flushing unit: %s", ferr)
<mask> isCommitable = false
<mask> }
<mask>
<mask> derr := tx.DeleteBucket(idToUnitName(id - l... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go |
delErr := tx.DeleteBucket(idToUnitName(id - limit))
if delErr != nil {
// TODO(e.burkov): Improve the algorithm of deleting the oldest bucket
// to avoid the error.
if errors.Is(delErr, bbolt.ErrBucketNotFound) {
log.Debug("stats: warning: deleting unit: %s", delErr)
} else { | <mask> log.Error("stats: flushing unit: %s", ferr)
<mask> isCommitable = false
<mask> }
<mask>
<mask> derr := tx.DeleteBucket(idToUnitName(id - limit))
<mask> if derr != nil {
<mask> log.Error("stats: deleting unit: %s", derr)
<mask> if !errors.Is(derr, bbolt.ErrBucketNotFound) {
<mask> isCommit... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go |
log.Error("stats: deleting unit: %s", delErr) | <mask> if errors.Is(delErr, bbolt.ErrBucketNotFound) {
<mask> log.Debug("stats: warning: deleting unit: %s", delErr)
<mask> } else {
<mask> isCommitable = false
<mask> }
<mask> }
<mask>
<mask> return true, 0
</s> Pull request: 4850 stats: imp logging
Merge in DNS/adguard-home from 4850-imp-stat... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go |
<mask> isCommitable = false
<mask> }
<mask> }
<mask>
<mask> err = finishTxn(tx, isCommitable)
<mask> if err != nil {
<mask> log.Error("stats: %s", err)
<mask> }
<mask>
<mask> return true, 0
<mask> }
<mask>
<mask> // periodicFlush checks and flushes the unit to the database if the freshly
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/970b6cf6987cfadd108ae0db2cfa6747e345b9c1 | internal/stats/stats.go | |
defer func(oldURL, oldName string, oldEnabled bool, oldUpdated time.Time, oldRulesCount int) { | <mask> newList.Enabled,
<mask> filt.URL,
<mask> )
<mask>
<mask> defer func(oldURL, oldName string, oldEnabled bool, oldUpdated time.Time) {
<mask> if err != nil {
<mask> filt.URL = oldURL
<mask> filt.Name = oldName
<mask> filt.Enabled = oldEnabled
<mask> filt.LastUpdated = oldUpdated
</s... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97af23b0af6eed1a97f8b4754221493b3fb1f699 | internal/filtering/filter.go |
filt.RulesCount = oldRulesCount | <mask> filt.URL = oldURL
<mask> filt.Name = oldName
<mask> filt.Enabled = oldEnabled
<mask> filt.LastUpdated = oldUpdated
<mask> }
<mask> }(filt.URL, filt.Name, filt.Enabled, filt.LastUpdated, filt.RulesCount)
<mask>
<mask> filt.Name = newList.Name
</s> Pull request: 5290-rules-count
Merge in... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97af23b0af6eed1a97f8b4754221493b3fb1f699 | internal/filtering/filter.go |
}(filt.URL, filt.Name, filt.Enabled, filt.LastUpdated, filt.RulesCount) | <mask> filt.Name = oldName
<mask> filt.Enabled = oldEnabled
<mask> filt.LastUpdated = oldUpdated
<mask> }
<mask> }(filt.URL, filt.Name, filt.Enabled, filt.LastUpdated)
<mask>
<mask> filt.Name = newList.Name
<mask>
<mask> if filt.URL != newList.URL {
<mask> if d.filterExistsLocked(newList.URL... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97af23b0af6eed1a97f8b4754221493b3fb1f699 | internal/filtering/filter.go |
<mask> status: ${{ env.WORKFLOW_CONCLUSION }}
<mask> fields: repo,message,commit,author
<mask> env:
<mask> GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
<mask> SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} </s> Pull request #730: + client: Add Hot Module Replacemen... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | .github/workflows/lint.yml | |
'react-hot-loader/babel', | <mask> '@babel/plugin-proposal-object-rest-spread',
<mask> '@babel/plugin-proposal-nullish-coalescing-operator',
<mask> '@babel/plugin-proposal-optional-chaining',
<mask> ],
<mask> };
<mask> };
</s> Pull request #730: + client: Add Hot Module Replacement
Merge in ... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/babel.config.js |
"@hot-loader/react-dom": {
"version": "16.13.0",
"resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.13.0.tgz",
"integrity": "sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ==",
"requires": {
"loose-envify": "^1.1... | <mask> "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz",
<mask> "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA=="
<mask> },
<mask> "@istanbuljs/load-nyc-config": {
<mask> "version": "1.1.0"... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"@types/json-schema": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz",
"integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==",
"dev": true
}, | <mask> "@types/istanbul-lib-coverage": "*",
<mask> "@types/istanbul-lib-report": "*"
<mask> }
<mask> },
<mask> "@types/minimatch": {
<mask> "version": "3.0.3",
<mask> "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
<mask> "integrit... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
<mask> "argparse": {
<mask> "version": "1.0.10",
<mask> "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
<mask> "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
<mask> "dev": true,
<mask> "requ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json | |
"dom-walk": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz",
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==",
"dev": true
}, | <mask> }
<mask> },
<mask> "domain-browser": {
<mask> "version": "1.2.0",
<mask> "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",
<mask> "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", | <mask> "integrity": "sha512-QKMcpfA/fCOnqFHsZvKr2haQQb3eXkDI17zT+4hHxJJThyN5nShcG6q1VR8vRiE/2GCJM+0p3PzinYknkdsBYg==",
<mask> "dev": true
<mask> },
<mask> "elliptic": {
<mask> "version": "6.5.2",
<mask> "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"version": "4.11.9",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==", | <mask> "minimalistic-crypto-utils": "^1.0.0"
<mask> },
<mask> "dependencies": {
<mask> "bn.js": {
<mask> "version": "4.11.8",
<mask> "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",
<mask> "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" | <mask> },
<mask> "esprima": {
<mask> "version": "4.0.1",
<mask> "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
<mask> "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
<mask> "dev": true
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"global": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz",
"integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==",
"dev": true,
"requires": {
"min-document": "^2.19.0",
"pro... | <mask> }
<mask> },
<mask> "global-modules": {
<mask> "version": "2.0.0",
<mask> "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
<mask> "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==",... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
<mask> "follow-redirects": "^1.0.0",
<mask> "requires-port": "^1.0.0"
<mask> }
<mask> },
<mask> "http-proxy-middleware": {
<mask> "version": "0.19.1",
<mask> "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",
<mask> ... | [
"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/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json | |
"version": "3.14.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
"integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", | <mask> "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
<mask> "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
<mask> },
<mask> "js-yaml": {
<mask> "version": "3.13.1",
<mask> "resolved": "https... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"min-document": {
"version": "2.19.0",
"resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz",
"integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=",
"dev": true,
"requires": {
"dom-walk": "^0.1.0"
}
}, | <mask> "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
<mask> "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
<mask> "dev": true
<mask> },
<mask> "min-indent": {
<mask> "version": "1.0.0",
<mas... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"shallowequal": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
"integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==",
"dev": true
}, | <mask> "inherits": "^2.0.1",
<mask> "safe-buffer": "^5.0.1"
<mask> }
<mask> },
<mask> "shebang-command": {
<mask> "version": "2.0.0",
<mask> "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
<mask> "integrity": "sha512-kHxr2zZpY... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", | <mask> "dev": true
<mask> },
<mask> "kind-of": {
<mask> "version": "6.0.2",
<mask> "resolved": "",
<mask> "dev": true
<mask> }
<mask> }
<mask> },
<mask> "snapdragon-util": {
</s> Pull request #730: + client: Add Hot Module Replacem... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" | <mask> },
<mask> "sprintf-js": {
<mask> "version": "1.0.3",
<mask> "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
<mask> "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
<mask> "dev": true
<mask> },
<mask> "sshpk": {
<mask> "version": ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz",
"integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", | <mask> "json5": "^2.1.2"
<mask> }
<mask> },
<mask> "schema-utils": {
<mask> "version": "2.6.6",
<mask> "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.6.tgz",
<mask> "integrity": "sha512-wHutF/WPSbIi9x6ctjGGk2Hvl0VOz5l3EK... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"@types/json-schema": "^7.0.4",
"ajv": "^6.12.2", | <mask> "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.6.tgz",
<mask> "integrity": "sha512-wHutF/WPSbIi9x6ctjGGk2Hvl0VOz5l3EKEuKbjPlB30mKZUzb9A5k9yEXRX3pwyqVLPvpfZZEllaFq/M718hA==",
<mask> "dev": true,
<mask> "requires": {
<mask> "ajv": "^... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
"http-proxy-middleware": {
"version": "0.19.1",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",
"integrity": "sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q==",
"dev": true,
... | <mask> "requires": {
<mask> "ms": "^2.1.1"
<mask> }
<mask> },
<mask> "ms": {
<mask> "version": "2.1.2",
<mask> "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
<mask> "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4Xqe... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package-lock.json |
<mask> "version": "0.1.0",
<mask> "private": true,
<mask> "scripts": {
<mask> "build-dev": "cross-env BUILD_ENV=dev webpack --config webpack.dev.js",
<mask> "watch": "cross-env BUILD_ENV=dev webpack --config webpack.dev.js --watch",
<mask> "build-prod": "cross-env BUILD_ENV=pro... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package.json | |
"watch": "cross-env BUILD_ENV=dev webpack --config webpack.dev.js --watch",
"watch:hot": "cross-env BUILD_ENV=dev webpack-dev-server --config webpack.dev.js", | <mask> "build-dev": "cross-env BUILD_ENV=dev webpack --config webpack.dev.js",
<mask> "build-prod": "cross-env BUILD_ENV=prod webpack --config webpack.prod.js",
<mask> "lint": "eslint src",
<mask> "lint:fix": "eslint src --fix",
<mask> "test": "jest",
<mask> "test:w... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package.json |
"@hot-loader/react-dom": "^16.13.0", | <mask> },
<mask> "dependencies": {
<mask> "@nivo/line": "^0.49.1",
<mask> "axios": "^0.19.2",
<mask> "classnames": "^2.2.6",
<mask> "date-fns": "^1.29.0",
<mask> "i18next": "^19.4.4",
</s> Pull request #730: + client: Add Hot Module Replacement
Merge in DNS/adgua... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package.json |
"js-yaml": "^3.14.0", | <mask> "date-fns": "^1.29.0",
<mask> "i18next": "^19.4.4",
<mask> "i18next-browser-languagedetector": "^4.2.0",
<mask> "ipaddr.js": "^1.9.1",
<mask> "lodash": "^4.17.19",
<mask> "nanoid": "^3.1.9",
<mask> "prop-types": "^15.7.2",
<mask> "query-stri... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package.json |
"react-hot-loader": "^4.12.21", | <mask> "postcss-flexbugs-fixes": "4.2.1",
<mask> "postcss-loader": "^3.0.0",
<mask> "style-loader": "^1.2.1",
<mask> "stylelint": "^13.5.0",
<mask> "stylelint-webpack-plugin": "2.0.0",
<mask> "url-loader": "^4.1.0",
<mask> "webpack": "^4.43.0",
<mask> ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/package.json |
const response = await axios.get(`${apiClient.baseUrl}/status`); | <mask>
<mask> const rmTimeout = (t) => t && clearTimeout(t);
<mask>
<mask> try {
<mask> const response = await axios.get('control/status');
<mask> rmTimeout(timeout);
<mask> if (response?.status === 200) {
<mask> handleRequestSuccess(response);
<mask> i... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/actions/index.js |
import { BASE_URL } from '../../constants'; | <mask> import { getPathWithQueryString } from '../helpers/helpers';
<mask> import { R_PATH_LAST_PART } from '../helpers/constants';
<mask>
<mask> class Api {
<mask> baseUrl = BASE_URL;
<mask>
</s> Pull request #730: + client: Add Hot Module Replacement
Merge in DNS/adguard-home from feature/hmr to master
... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
baseUrl = BASE_URL; | <mask> import { getPathWithQueryString } from '../helpers/helpers';
<mask> import { R_PATH_LAST_PART } from '../helpers/constants';
<mask>
<mask> class Api {
<mask> baseUrl = 'control';
<mask>
<mask> async makeRequest(path, method = 'POST', config) {
<mask> try {
<mask> const resp... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
throw new Error(`${errorPath} | ${error.message || error}`); | <mask> }
<mask>
<mask> throw new Error(`${errorPath} | ${error.response.data} | ${error.response.status}`);
<mask> }
<mask> throw new Error(`${errorPath} | ${error.message ? error.message : error}`);
<mask> }
<mask> }
<mask>
<mask> // Gl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GLOBAL_STATUS = {
path: 'status',
method: 'GET',
};
GLOBAL_TEST_UPSTREAM_DNS = {
path: 'test_upstream_dns',
method: 'POST',
};
GLOBAL_VERSION = {
path: 'version.json',
method: 'POST',
};
GLOBAL_UPDATE = {
path: 'update',
meth... | <mask> }
<mask> }
<mask>
<mask> // Global methods
<mask> GLOBAL_STATUS = { path: 'status', method: 'GET' };
<mask>
<mask> GLOBAL_TEST_UPSTREAM_DNS = { path: 'test_upstream_dns', method: 'POST' };
<mask>
<mask> GLOBAL_VERSION = { path: 'version.json', method: 'POST' };
<mask>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
FILTERING_STATUS = {
path: 'filtering/status',
method: 'GET',
};
FILTERING_ADD_FILTER = {
path: 'filtering/add_url',
method: 'POST',
};
FILTERING_REMOVE_FILTER = {
path: 'filtering/remove_url',
method: 'POST',
};
FILTERING_SET_RULES = {
... | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Filtering
<mask> FILTERING_STATUS = { path: 'filtering/status', method: 'GET' };
<mask>
<mask> FILTERING_ADD_FILTER = { path: 'filtering/add_url', method: 'POST' };
<mask>
<mask> FILTERING_REMOVE_FILTER = { p... | [
"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/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
PARENTAL_STATUS = {
path: 'parental/status',
method: 'GET',
}; | <mask> return this.makeRequest(url, method);
<mask> }
<mask>
<mask> // Parental
<mask> PARENTAL_STATUS = { path: 'parental/status', method: 'GET' };
<mask>
<mask> PARENTAL_ENABLE = { path: 'parental/enable', method: 'POST' };
<mask>
<mask> PARENTAL_DISABLE = { path: 'parental/dis... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
PARENTAL_ENABLE = {
path: 'parental/enable',
method: 'POST',
}; | <mask>
<mask> // Parental
<mask> PARENTAL_STATUS = { path: 'parental/status', method: 'GET' };
<mask>
<mask> PARENTAL_ENABLE = { path: 'parental/enable', method: 'POST' };
<mask>
<mask> PARENTAL_DISABLE = { path: 'parental/disable', method: 'POST' };
<mask>
<mask> getParentalStatus() {
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
PARENTAL_DISABLE = {
path: 'parental/disable',
method: 'POST',
}; | <mask> PARENTAL_STATUS = { path: 'parental/status', method: 'GET' };
<mask>
<mask> PARENTAL_ENABLE = { path: 'parental/enable', method: 'POST' };
<mask>
<mask> PARENTAL_DISABLE = { path: 'parental/disable', method: 'POST' };
<mask>
<mask> getParentalStatus() {
<mask> const { path, met... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFEBROWSING_STATUS = {
path: 'safebrowsing/status',
method: 'GET',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Safebrowsing
<mask> SAFEBROWSING_STATUS = { path: 'safebrowsing/status', method: 'GET' };
<mask>
<mask> SAFEBROWSING_ENABLE = { path: 'safebrowsing/enable', method: 'POST' };
<mask>
<mask> SAFEBROWSING_DISABL... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFEBROWSING_ENABLE = {
path: 'safebrowsing/enable',
method: 'POST',
}; | <mask>
<mask> // Safebrowsing
<mask> SAFEBROWSING_STATUS = { path: 'safebrowsing/status', method: 'GET' };
<mask>
<mask> SAFEBROWSING_ENABLE = { path: 'safebrowsing/enable', method: 'POST' };
<mask>
<mask> SAFEBROWSING_DISABLE = { path: 'safebrowsing/disable', method: 'POST' };
<mask>
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFEBROWSING_DISABLE = {
path: 'safebrowsing/disable',
method: 'POST',
}; | <mask> SAFEBROWSING_STATUS = { path: 'safebrowsing/status', method: 'GET' };
<mask>
<mask> SAFEBROWSING_ENABLE = { path: 'safebrowsing/enable', method: 'POST' };
<mask>
<mask> SAFEBROWSING_DISABLE = { path: 'safebrowsing/disable', method: 'POST' };
<mask>
<mask> getSafebrowsingStatus() {
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFESEARCH_STATUS = {
path: 'safesearch/status',
method: 'GET',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Safesearch
<mask> SAFESEARCH_STATUS = { path: 'safesearch/status', method: 'GET' };
<mask>
<mask> SAFESEARCH_ENABLE = { path: 'safesearch/enable', method: 'POST' };
<mask>
<mask> SAFESEARCH_DISABLE = { path: ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFESEARCH_ENABLE = {
path: 'safesearch/enable',
method: 'POST',
}; | <mask>
<mask> // Safesearch
<mask> SAFESEARCH_STATUS = { path: 'safesearch/status', method: 'GET' };
<mask>
<mask> SAFESEARCH_ENABLE = { path: 'safesearch/enable', method: 'POST' };
<mask>
<mask> SAFESEARCH_DISABLE = { path: 'safesearch/disable', method: 'POST' };
<mask>
<mask> getSafes... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
SAFESEARCH_DISABLE = {
path: 'safesearch/disable',
method: 'POST',
}; | <mask> SAFESEARCH_STATUS = { path: 'safesearch/status', method: 'GET' };
<mask>
<mask> SAFESEARCH_ENABLE = { path: 'safesearch/enable', method: 'POST' };
<mask>
<mask> SAFESEARCH_DISABLE = { path: 'safesearch/disable', method: 'POST' };
<mask>
<mask> getSafesearchStatus() {
<mask> con... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
CURRENT_LANGUAGE = {
path: 'i18n/current_language',
method: 'GET',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Language
<mask> CURRENT_LANGUAGE = { path: 'i18n/current_language', method: 'GET' };
<mask>
<mask> CHANGE_LANGUAGE = { path: 'i18n/change_language', method: 'POST' };
<mask>
<mask> getCurrentLanguage() {
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
CHANGE_LANGUAGE = {
path: 'i18n/change_language',
method: 'POST',
}; | <mask>
<mask> // Language
<mask> CURRENT_LANGUAGE = { path: 'i18n/current_language', method: 'GET' };
<mask>
<mask> CHANGE_LANGUAGE = { path: 'i18n/change_language', method: 'POST' };
<mask>
<mask> getCurrentLanguage() {
<mask> const { path, method } = this.CURRENT_LANGUAGE;
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
DHCP_STATUS = {
path: 'dhcp/status',
method: 'GET',
};
DHCP_SET_CONFIG = {
path: 'dhcp/set_config',
method: 'POST',
};
DHCP_FIND_ACTIVE = {
path: 'dhcp/find_active_dhcp',
method: 'POST',
};
DHCP_INTERFACES = {
path: 'dhcp/interfaces'... | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // DHCP
<mask> DHCP_STATUS = { path: 'dhcp/status', method: 'GET' };
<mask>
<mask> DHCP_SET_CONFIG = { path: 'dhcp/set_config', method: 'POST' };
<mask>
<mask> DHCP_FIND_ACTIVE = { path: 'dhcp/find_a... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
INSTALL_GET_ADDRESSES = {
path: 'install/get_addresses',
method: 'GET',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Installation
<mask> INSTALL_GET_ADDRESSES = { path: 'install/get_addresses', method: 'GET' };
<mask>
<mask> INSTALL_CONFIGURE = { path: 'install/configure', method: 'POST' };
<mask>
<mask> INSTALL_CHECK_CONFI... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
INSTALL_CONFIGURE = {
path: 'install/configure',
method: 'POST',
}; | <mask>
<mask> // Installation
<mask> INSTALL_GET_ADDRESSES = { path: 'install/get_addresses', method: 'GET' };
<mask>
<mask> INSTALL_CONFIGURE = { path: 'install/configure', method: 'POST' };
<mask>
<mask> INSTALL_CHECK_CONFIG = { path: 'install/check_config', method: 'POST' };
<mask>
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
INSTALL_CHECK_CONFIG = {
path: 'install/check_config',
method: 'POST',
}; | <mask> INSTALL_GET_ADDRESSES = { path: 'install/get_addresses', method: 'GET' };
<mask>
<mask> INSTALL_CONFIGURE = { path: 'install/configure', method: 'POST' };
<mask>
<mask> INSTALL_CHECK_CONFIG = { path: 'install/check_config', method: 'POST' };
<mask>
<mask> getDefaultAddresses() {
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
TLS_STATUS = {
path: 'tls/status',
method: 'GET',
}; | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // DNS-over-HTTPS and DNS-over-TLS
<mask> TLS_STATUS = { path: 'tls/status', method: 'GET' };
<mask>
<mask> TLS_CONFIG = { path: 'tls/configure', method: 'POST' };
<mask>
<mask> TLS_VALIDATE = { path... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
TLS_CONFIG = {
path: 'tls/configure',
method: 'POST',
}; | <mask>
<mask> // DNS-over-HTTPS and DNS-over-TLS
<mask> TLS_STATUS = { path: 'tls/status', method: 'GET' };
<mask>
<mask> TLS_CONFIG = { path: 'tls/configure', method: 'POST' };
<mask>
<mask> TLS_VALIDATE = { path: 'tls/validate', method: 'POST' };
<mask>
<mask> getTlsStatus() {
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
TLS_VALIDATE = {
path: 'tls/validate',
method: 'POST',
}; | <mask> TLS_STATUS = { path: 'tls/status', method: 'GET' };
<mask>
<mask> TLS_CONFIG = { path: 'tls/configure', method: 'POST' };
<mask>
<mask> TLS_VALIDATE = { path: 'tls/validate', method: 'POST' };
<mask>
<mask> getTlsStatus() {
<mask> const { path, method } = this.TLS_STATUS;
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GET_CLIENTS = {
path: 'clients',
method: 'GET',
};
FIND_CLIENTS = {
path: 'clients/find',
method: 'GET',
};
ADD_CLIENT = {
path: 'clients/add',
method: 'POST',
};
DELETE_CLIENT = {
path: 'clients/delete',
method: 'POST',
... | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // Per-client settings
<mask> GET_CLIENTS = { path: 'clients', method: 'GET' };
<mask>
<mask> FIND_CLIENTS = { path: 'clients/find', method: 'GET' };
<mask>
<mask> ADD_CLIENT = { path: 'clients/add',... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
ACCESS_LIST = {
path: 'access/list',
method: 'GET',
}; | <mask> return this.makeRequest(url, method);
<mask> }
<mask>
<mask> // DNS access settings
<mask> ACCESS_LIST = { path: 'access/list', method: 'GET' };
<mask>
<mask> ACCESS_SET = { path: 'access/set', method: 'POST' };
<mask>
<mask> getAccessList() {
<mask> const { path,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
ACCESS_SET = {
path: 'access/set',
method: 'POST',
}; | <mask>
<mask> // DNS access settings
<mask> ACCESS_LIST = { path: 'access/list', method: 'GET' };
<mask>
<mask> ACCESS_SET = { path: 'access/set', method: 'POST' };
<mask>
<mask> getAccessList() {
<mask> const { path, method } = this.ACCESS_LIST;
<mask> return this.makeReques... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
REWRITES_LIST = {
path: 'rewrite/list',
method: 'GET',
}; | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // DNS rewrites
<mask> REWRITES_LIST = { path: 'rewrite/list', method: 'GET' };
<mask>
<mask> REWRITE_ADD = { path: 'rewrite/add', method: 'POST' };
<mask>
<mask> REWRITE_DELETE = { path: 'rewrite/de... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
REWRITE_ADD = {
path: 'rewrite/add',
method: 'POST',
}; | <mask>
<mask> // DNS rewrites
<mask> REWRITES_LIST = { path: 'rewrite/list', method: 'GET' };
<mask>
<mask> REWRITE_ADD = { path: 'rewrite/add', method: 'POST' };
<mask>
<mask> REWRITE_DELETE = { path: 'rewrite/delete', method: 'POST' };
<mask>
<mask> getRewritesList() {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
REWRITE_DELETE = {
path: 'rewrite/delete',
method: 'POST',
}; | <mask> REWRITES_LIST = { path: 'rewrite/list', method: 'GET' };
<mask>
<mask> REWRITE_ADD = { path: 'rewrite/add', method: 'POST' };
<mask>
<mask> REWRITE_DELETE = { path: 'rewrite/delete', method: 'POST' };
<mask>
<mask> getRewritesList() {
<mask> const { path, method } = this.REWRIT... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
BLOCKED_SERVICES_LIST = {
path: 'blocked_services/list',
method: 'GET',
}; | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // Blocked services
<mask> BLOCKED_SERVICES_LIST = { path: 'blocked_services/list', method: 'GET' };
<mask>
<mask> BLOCKED_SERVICES_SET = { path: 'blocked_services/set', method: 'POST' };
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
BLOCKED_SERVICES_SET = {
path: 'blocked_services/set',
method: 'POST',
}; | <mask>
<mask> // Blocked services
<mask> BLOCKED_SERVICES_LIST = { path: 'blocked_services/list', method: 'GET' };
<mask>
<mask> BLOCKED_SERVICES_SET = { path: 'blocked_services/set', method: 'POST' };
<mask>
<mask> getBlockedServices() {
<mask> const { path, method } = this.BLOCKED_S... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GET_STATS = {
path: 'stats',
method: 'GET',
};
STATS_INFO = {
path: 'stats_info',
method: 'GET',
};
STATS_CONFIG = {
path: 'stats_config',
method: 'POST',
};
STATS_RESET = {
path: 'stats_reset',
method: 'POST',
}; | <mask> return this.makeRequest(path, method, parameters);
<mask> }
<mask>
<mask> // Settings for statistics
<mask> GET_STATS = { path: 'stats', method: 'GET' };
<mask>
<mask> STATS_INFO = { path: 'stats_info', method: 'GET' };
<mask>
<mask> STATS_CONFIG = { path: 'stats_config', ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GET_QUERY_LOG = {
path: 'querylog',
method: 'GET',
};
QUERY_LOG_CONFIG = {
path: 'querylog_config',
method: 'POST',
};
QUERY_LOG_INFO = {
path: 'querylog_info',
method: 'GET',
};
QUERY_LOG_CLEAR = {
path: 'querylog_clear',
me... | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Query log
<mask> GET_QUERY_LOG = { path: 'querylog', method: 'GET' };
<mask>
<mask> QUERY_LOG_CONFIG = { path: 'querylog_config', method: 'POST' };
<mask>
<mask> QUERY_LOG_INFO = { path: 'querylog_info', meth... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
LOGIN = {
path: 'login',
method: 'POST',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // Login
<mask> LOGIN = { path: 'login', method: 'POST' };
<mask>
<mask> login(data) {
<mask> const { path, method } = this.LOGIN;
<mask> const config = {
<mask> data,
</s> Pull request ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GET_PROFILE = {
path: 'profile',
method: 'GET',
}; | <mask> return this.makeRequest(path, method, config);
<mask> }
<mask>
<mask> // Profile
<mask> GET_PROFILE = { path: 'profile', method: 'GET' };
<mask>
<mask> getProfile() {
<mask> const { path, method } = this.GET_PROFILE;
<mask> return this.makeRequest(path, method);... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
GET_DNS_CONFIG = {
path: 'dns_info',
method: 'GET',
};
SET_DNS_CONFIG = {
path: 'dns_config',
method: 'POST',
}; | <mask> return this.makeRequest(path, method);
<mask> }
<mask>
<mask> // DNS config
<mask> GET_DNS_CONFIG = { path: 'dns_info', method: 'GET' };
<mask>
<mask> SET_DNS_CONFIG = { path: 'dns_config', method: 'POST' };
<mask>
<mask> getDnsConfig() {
<mask> const { path, meth... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/api/Api.js |
import React, { useEffect } from 'react'; | <mask> import React, { Component, Fragment } from 'react';
<mask> import { HashRouter, Route } from 'react-router-dom';
<mask> import PropTypes from 'prop-types';
<mask> import { withTranslation } from 'react-i18next';
<mask> import LoadingBar from 'react-redux-loading-bar';
<mask>
</s> Pull request #730: + cli... | [
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
<mask> import React, { Component, Fragment } from 'react';
<mask> import { HashRouter, Route } from 'react-router-dom';
<mask> import PropTypes from 'prop-types';
<mask> import { withTranslation } from 'react-i18next';
<mask> import LoadingBar from 'react-redux-loading-bar';
<mask>
<mask> import 'react-table/re... | [
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js | |
import { hot } from 'react-hot-loader/root'; | <mask> import React, { useEffect } from 'react';
<mask> import { HashRouter, Route } from 'react-router-dom';
<mask> import LoadingBar from 'react-redux-loading-bar';
<mask>
<mask> import 'react-table/react-table.css';
<mask> import '../ui/Tabler.css';
<mask> import '../ui/ReactTable.css';
</s> Pull request #7... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
import { shallowEqual, useDispatch, useSelector } from 'react-redux'; | <mask> import '../ui/Tabler.css';
<mask> import '../ui/ReactTable.css';
<mask> import './index.css';
<mask>
<mask> import Header from '../../containers/Header';
<mask> import Dashboard from '../../containers/Dashboard';
<mask> import Settings from '../../containers/Settings';
<mask>
<mask> import CustomRules... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
import propTypes from 'prop-types'; | <mask> import Encryption from '../../containers/Encryption';
<mask> import Dhcp from '../../containers/Dhcp';
<mask> import Clients from '../../containers/Clients';
<mask>
<mask> import Logs from '../../containers/Logs';
<mask> import SetupGuide from '../../containers/SetupGuide';
<mask> import Toasts from '../... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
<mask> import Icons from '../ui/Icons';
<mask> import i18n from '../../i18n';
<mask> import Loading from '../ui/Loading';
<mask> import { FILTERS_URLS, MENU_URLS, SETTINGS_URLS } from '../../helpers/constants';
<mask> import Services from '../Filters/Services';
<mask> import { getLogsUrlParams, setHtmlLangAttr } ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js | |
import Header from '../Header';
import { changeLanguage, getDnsStatus } from '../../actions'; | <mask> import i18n from '../../i18n';
<mask> import Loading from '../ui/Loading';
<mask> import { FILTERS_URLS, MENU_URLS, SETTINGS_URLS } from '../../helpers/constants';
<mask> import { getLogsUrlParams, setHtmlLangAttr } from '../../helpers/helpers';
<mask>
<mask> import Dashboard from '../../containers/Dashbo... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
import Dashboard from '../../containers/Dashboard';
import Logs from '../../containers/Logs';
import SetupGuide from '../../containers/SetupGuide';
import Settings from '../../containers/Settings';
import Dns from '../../containers/Dns';
import Encryption from '../../containers/Encryption';
import Dhcp from '../../cont... | <mask> import { FILTERS_URLS, MENU_URLS, SETTINGS_URLS } from '../../helpers/constants';
<mask> import Services from '../Filters/Services';
<mask> import { getLogsUrlParams, setHtmlLangAttr } from '../../helpers/helpers';
<mask>
<mask> class App extends Component {
<mask> componentDidMount() {
<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",
"ke... | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
dispatch(changeLanguage(lang)); | <mask> }
<mask> }
<mask>
<mask> i18n.on('languageChanged', (lang) => {
<mask> this.props.changeLanguage(lang);
<mask> });
<mask> };
<mask>
<mask> render() {
<mask> const { dashboard, encryption, getVersion } = this.props;
</s> Pull request #73... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/AdguardTeam/AdGuardHome/commit/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
useEffect(() => {
setLanguage();
}, [language]);
const reloadPage = () => {
window.location.reload();
};
return (
<HashRouter hashType="noslash">
<>
{updateAvailable && <>
<UpdateTopline />
<UpdateOverlay /... | <mask> this.props.changeLanguage(lang);
<mask> });
<mask> };
<mask>
<mask> render() {
<mask> const { dashboard, encryption, getVersion } = this.props;
<mask> const updateAvailable = dashboard.isCoreRunning && dashboard.isUpdateAvailable;
<mask>
<mask> retur... | [
"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/97df19898f98e2fb8067765a56a6bc918b5d9051 | client/src/components/App/index.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.