Commit graph

215 commits

Author SHA1 Message Date
Eugene Bujak
50b188a086 Makefile -- make it a bit less noisy during build and much less noisy during clean 2018-09-25 19:25:54 +03:00
Eugene Bujak
dd8396cec1 Merge pull request #36 in DNS/adguard-dns from bugfix/343 to master
* commit 'ea320f5ee35fda7744e86a1bd77b948e534eeb1e':
  Fix test failures introduced by previous commit afd1fe21f6.
2018-09-25 19:14:59 +03:00
Eugene Bujak
ea320f5ee3 Fix test failures introduced by previous commit afd1fe21f6. 2018-09-25 19:12:50 +03:00
Eugene Bujak
afd1fe21f6 Merge pull request #35 in DNS/adguard-dns from bugfix/343 to master
* commit '119d38fa8e8b5c5193fe20ad215a6daac833354b':
  Add trace() for debugging
  coredns -- don't try to be smart and replace 127.0.0.1 with NXDOMAIN yet -- need research on that first
  Fix 'index out of range' panic when adding a filter URL that has empty line in contents
  web UI -- Fix description of hosts rule syntax, it's other way around
2018-09-25 18:44:41 +03:00
Eugene Bujak
119d38fa8e Add trace() for debugging 2018-09-25 18:34:34 +03:00
Eugene Bujak
620212ad37 coredns -- don't try to be smart and replace 127.0.0.1 with NXDOMAIN yet -- need research on that first 2018-09-25 18:34:01 +03:00
Eugene Bujak
bd0fa4cc4f Fix 'index out of range' panic when adding a filter URL that has empty line in contents 2018-09-25 18:23:02 +03:00
Eugene Bujak
b0549a8e5b web UI -- Fix description of hosts rule syntax, it's other way around 2018-09-25 18:22:41 +03:00
Eugene Bujak
92399b8ebf Merge pull request #34 in DNS/adguard-dns from better-builds to master
* commit 'd8fbb2cd3b688b3890d60bc3923db50696dd9d59':
  Remove leftover from old internal repo
  Rewrite Makefile
2018-09-21 20:16:56 +03:00
Eugene Bujak
d8fbb2cd3b Remove leftover from old internal repo 2018-09-21 20:06:33 +03:00
Eugene Bujak
469b93eaa4 Rewrite Makefile
* fixes building outdated coredns plugin from inside GOPATH
 * make clean now cleans all build output, including node_modules and webpack output
 * smarter invocation of `npm install` -- only if package.json or package-lock.json changed
 * use separate gopath because coredns build system requires custom checkout of prometheus dependency
2018-09-21 20:01:55 +03:00
Ildar Kamalov
92b681cb41 Merge pull request #33 in DNS/adguard-dns from feature/321 to master
* commit '1c1b952d485e572eb2320b641429e07757b2d65f':
  Fix message checking
  Check upstream length in component
  Add a test upstreams button
2018-09-21 19:06:25 +03:00
Ildar Kamalov
1c1b952d48 Fix message checking 2018-09-21 18:57:27 +03:00
Ildar Kamalov
c2a2b3ea6a Check upstream length in component 2018-09-21 18:50:06 +03:00
Ildar Kamalov
f727f999f9 Add a test upstreams button
Closes #321
2018-09-21 18:08:39 +03:00
Eugene Bujak
02b28f4511 Merge pull request #32 in DNS/adguard-dns from feature/338 to master
* commit '43fcf4117db0e1e26085a0cc20a574edc8bd6255':
  Add update check
2018-09-21 15:32:11 +03:00
Ildar Kamalov
43fcf4117d Add update check
Closes #338
2018-09-21 15:20:41 +03:00
Eugene Bujak
68422b8399 Merge pull request #31 in DNS/adguard-dns from feature/338 to master
* commit 'c3f6a96f2f36f751d1315d83d65bff9396ea71d4':
  Add API endpoint to fetch version.json from github.io
2018-09-21 12:13:11 +03:00
Eugene Bujak
c3f6a96f2f Add API endpoint to fetch version.json from github.io 2018-09-20 20:02:25 +03:00
Eugene Bujak
2c2b951fd6 Merge pull request #30 in DNS/adguard-dns from feature/339 to master
* commit 'fba70b8b730187b8a60e724c1495ecc72e6f2d5e':
  Add version.json -- contains v0.1
2018-09-20 18:42:09 +03:00
Eugene Bujak
fba70b8b73 Add version.json -- contains v0.1 2018-09-20 18:35:09 +03:00
Eugene Bujak
38cfe95280 Merge pull request #29 in DNS/adguard-dns from readme to master
* commit 'a76fd7618abce834aa4eced0200e3ecfe77298e0':
  Proofreading by @vbagirov
  Update readme.
2018-09-20 18:27:15 +03:00
Eugene Bujak
a76fd7618a Proofreading by @vbagirov 2018-09-20 18:15:52 +03:00
Eugene Bujak
8d23e29190 Update readme.
* Link directly to binary downloads
 * Move "how to run" section right after binaries.
 * Add "How does AdGuard DNS work" and "How is this different from public AdGuard DNS servers" sections.
 * Update phrasing to emphasize that it's "your AdGuard DNS" server.
 * Remove yarn from `brew install` line.
 * Mention terminal for bash commands.
 * Add 32-bit ARM and 32-bit Intel binary links.
2018-09-20 15:21:02 +03:00
Eugene Bujak
a185161ad4 Merge pull request #28 in DNS/adguard-dns from feature/321 to master
* commit 'e733c1950484969c553b92e80ced6e585cc07bea':
  Implement API to test for upstream DNS servers.
2018-09-20 13:38:12 +03:00
Ildar Kamalov
81c7dbbc16 Merge pull request #27 in DNS/adguard-dns from feature/316 to master
* commit '0e173d2f705752c335c7fa78fdd5c578420e8a43':
  add progress bar and filters notifications
2018-09-19 19:14:19 +03:00
Eugene Bujak
e733c19504 Implement API to test for upstream DNS servers. 2018-09-19 19:12:09 +03:00
Ildar Kamalov
0e173d2f70 add progress bar and filters notifications 2018-09-19 18:58:55 +03:00
Eugene Bujak
0292d2b32b Merge pull request #26 in DNS/adguard-dns from basicauth to master
* commit 'ba56d6c01d7b241829d3115e1ce87241737cf571':
  Reorganize config file.
  Update README to explain config file settings
  Implement simple basic auth.
2018-09-19 15:54:49 +03:00
Eugene Bujak
ba56d6c01d Reorganize config file. 2018-09-19 15:51:44 +03:00
Eugene Bujak
b8213bf88a Update README to explain config file settings 2018-09-19 15:51:28 +03:00
Eugene Bujak
4548eb8d11 Implement simple basic auth.
Closes #326.
2018-09-18 20:59:41 +03:00
Eugene Bujak
a2f06aadc0 Merge pull request #25 in DNS/adguard-dns from feature/331 to master
* commit 'df12038f33b7acf6a3e9329054f1b5ad4cb02cd8':
  Add refresh button to querylog page
2018-09-17 19:03:45 +03:00
Ildar Kamalov
df12038f33 Add refresh button to querylog page
Closes #331
2018-09-17 17:44:32 +03:00
Eugene Bujak
c2aa39efe5 Merge pull request #23 in DNS/adguard-dns from gometalinter to master
* commit '076c9de68e73bbddc63cf6f7212818c91f3e5c08':
  Fix many lint warnings found by gometalinter
2018-09-17 11:26:17 +03:00
Eugene Bujak
5d046c5c16 Merge pull request #24 in DNS/adguard-dns from parental_fullhash to master
* commit 'dcbe3dd4051f421553eb7782af67378f3d9ce85b':
  dnsfilter -- compare full hashes when parsing parental lookup result.
2018-09-17 01:50:09 +03:00
Eugene Bujak
ae50a2f827 Merge pull request #20 in DNS/adguard-dns from feature/315 to master
* commit 'ded02d112c0e5b6d9585ec5506f24746abffdff3':
  Add console error
  Fix timeout
  Handle settings errors
  Show toast on failed request
  Fix clear interval
  Add alert on failed requests
2018-09-17 01:44:48 +03:00
Eugene Bujak
dcbe3dd405 dnsfilter -- compare full hashes when parsing parental lookup result.
Closes #337.
2018-09-17 01:42:01 +03:00
Ildar Kamalov
ded02d112c Add console error 2018-09-14 21:31:20 +03:00
Eugene Bujak
076c9de68e Fix many lint warnings found by gometalinter 2018-09-14 18:40:05 +03:00
Ildar Kamalov
d237df6389 Fix timeout 2018-09-14 16:43:27 +03:00
Ildar Kamalov
22a5abb7b8 Handle settings errors 2018-09-14 16:41:34 +03:00
Ildar Kamalov
828bb40084 Show toast on failed request 2018-09-14 15:37:35 +03:00
Eugene Bujak
548010e002 Merge pull request #22 in DNS/adguard-dns from fixtravis to master
* commit '5c6aa910efc9d90c5435a9eda19866a7d48be032':
  Fix a missed argument that breaks go test (which invokes go vet and fails if that fails)
2018-09-14 14:48:30 +03:00
Eugene Bujak
5c6aa910ef Fix a missed argument that breaks go test (which invokes go vet and fails if that fails) 2018-09-14 14:47:27 +03:00
Eugene Bujak
b9999f155e Merge pull request #21 in DNS/adguard-dns from add_url_verifier to master
* commit '3b44efc8e3f8fac534fbec37e1537ee4bd646141':
  /add_url -- it fetches the URL and checks if contents are valid filter, fails if it is not, and returns number of rules if it is
2018-09-14 11:23:51 +03:00
Eugene Bujak
3b44efc8e3 /add_url -- it fetches the URL and checks if contents are valid filter, fails if it is not, and returns number of rules if it is 2018-09-14 04:33:54 +03:00
Ildar Kamalov
9258fada47 Fix clear interval
Closes #315
2018-09-12 15:38:54 +03:00
Ildar Kamalov
6c70d8ca37 Add alert on failed requests 2018-09-12 12:58:55 +03:00
Eugene Bujak
5554643cd0 Merge pull request #19 in DNS/adguard-dns from version to master
* commit '7c71d4b44597ca7b22d3db60960c67b6e23ff2a6':
  web interface -- avoid having 'v.v0.1', saying 'version v0.1' seems more natural than that
2018-09-11 19:08:27 +03:00