Commit graph

1501 commits

Author SHA1 Message Date
Simon Zolin
a59e346d4a * dnsfilter: major refactoring
* dnsfilter is controlled by package home, not dnsforward
* move HTTP handlers to dnsfilter/
* apply filtering settings without DNS server restart
* use only 1 goroutine for filters update
* apply new filters quickly (after they are ready to be used)
2019-10-09 20:05:21 +03:00
Simon Zolin
b43c076c4d Merge: * querylog: refactor: move HTTP handlers to querylog/
* commit '90db91b0fd347d168ef9589405ba812c0cfc0c2d':
  * querylog: refactor: move HTTP handlers to querylog/
2019-10-09 19:43:00 +03:00
Simon Zolin
90db91b0fd * querylog: refactor: move HTTP handlers to querylog/ 2019-10-09 19:38:58 +03:00
Simon Zolin
3862fa7659 Merge: - stats: fix crash
Close #1051

* commit '9ff39a362f83b94b685982efd62329bdd264eb21':
  - stats: fix crash
2019-10-09 19:37:03 +03:00
Simon Zolin
9ff39a362f - stats: fix crash 2019-10-09 19:27:19 +03:00
Simon Zolin
f4451dca7b Merge: * whois: improvements
Close #1035, Close #1036, Close #1047

* commit 'bd29b22f17d5b326d9fd603aa4f74593a0f1fca7':
  * CI: disable check if Git repo contains uncommited changes
  - whois: use the first "descr" field, not the last
  * filter: speed up parsing
  * whois: use whois.arin.net
  + whois, rdns: begin getting info for the most active clients on startup
  + stats: GetTopData()
  * stats: refactor
2019-10-09 19:26:42 +03:00
Simon Zolin
bd29b22f17 * CI: disable check if Git repo contains uncommited changes 2019-10-09 18:03:22 +03:00
Simon Zolin
e9186e6202 - whois: use the first "descr" field, not the last 2019-10-09 18:03:22 +03:00
Simon Zolin
3b9b37dde7 * filter: speed up parsing 2019-10-09 18:03:22 +03:00
Simon Zolin
37fe3c148f * whois: use whois.arin.net
+ robust redirect mechanism
* decrease timeout 30sec -> 5sec
* faster response parsing
* don't use likexian/whois-go package
2019-10-09 18:03:22 +03:00
Simon Zolin
d75620fdc0 + whois, rdns: begin getting info for the most active clients on startup 2019-10-09 18:03:22 +03:00
Simon Zolin
418baa608f + stats: GetTopData() 2019-10-09 18:03:22 +03:00
Simon Zolin
4165688f25 * stats: refactor 2019-10-09 18:02:09 +03:00
Simon Zolin
e7463b380d Merge: * systemd service file: fix boot priority: start AGH after network is online
Close #1048

* commit '127cca0c83d9afc95c6957c5745d36e770e0d19b':
  * systemd service file: fix boot priority: start AGH after network is online
2019-10-09 15:36:00 +03:00
Simon Zolin
127cca0c83 * systemd service file: fix boot priority: start AGH after network is online 2019-10-08 12:29:11 +03:00
Simon Zolin
652816ceb1 Merge: * querylog, stats: don't print unnecessary log messages
Close #1039

* commit 'c9b4a0742ffa13d831240b53b67559999b183cf7':
  * querylog, stats: don't print unnecessary log messages
2019-10-07 13:45:02 +03:00
Simon Zolin
c9b4a0742f * querylog, stats: don't print unnecessary log messages 2019-10-07 12:03:56 +03:00
Ildar Kamalov
8b7d23e7d0 Merge: Block epic games
* commit '55538f72eae3b62a7f7f8876c9b0e25d429110e1':
  block epic games
2019-10-04 18:17:06 +03:00
Devin Buhl
55538f72ea block epic games 2019-10-04 17:57:51 +03:00
Ildar Kamalov
586a28dc5e Merge: Add new languages and update translations
Closes #1043

* commit 'eb6dc76920c4da5a38de433ae437d6ac9dc272c2':
  + i18n: add new languages
  + client: add new languages and update translations
2019-10-04 10:05:18 +03:00
Ildar Kamalov
eb6dc76920 + i18n: add new languages 2019-10-03 20:52:14 +03:00
Ildar Kamalov
2d402f8cf7 + client: add new languages and update translations 2019-10-03 20:52:14 +03:00
Andrey Meshkov
423d311fcb Merge: *(global): CI scripts
Fix: #1042

* commit '8a05e61feb2a8b7c73c6f4c8f11c5a076c43170b':
  *: fix auth tests - don't leave repo dirty
  *: tests mustn't leave repo dirty
  *: change initDNSServer method, add getDataDir
  *: fix linter warnings
  *(global): fix travis config
  *(global): fix CI scripts
  *(global): CI scripts
2019-10-02 17:26:47 +03:00
Andrey Meshkov
8a05e61feb *: fix auth tests - don't leave repo dirty 2019-10-02 17:02:16 +03:00
Andrey Meshkov
ed0c5ee525 *: tests mustn't leave repo dirty 2019-10-02 16:59:34 +03:00
Andrey Meshkov
33ae359cc1 *: change initDNSServer method, add getDataDir 2019-10-02 16:53:23 +03:00
Andrey Meshkov
9b23acf6da *: fix linter warnings 2019-10-02 16:40:26 +03:00
Andrey Meshkov
e4fba69f9d *(global): fix travis config 2019-10-02 16:39:32 +03:00
Andrey Meshkov
846f503337 *(global): fix CI scripts 2019-10-02 16:23:17 +03:00
Andrey Meshkov
b835baf013 *(global): CI scripts 2019-10-02 15:41:14 +03:00
Andrey Meshkov
c020c1d0af *(dnsfilter): upd dependencies 2019-10-02 15:37:41 +03:00
Ildar Kamalov
cd9e4f176a Merge: Footer: Open adguard.com in new tab
* commit '60e21c77c32c43434c6496ff2d9bb99d7028837f':
  Footer: use rel="noopener noreferrer"
  Footer: Open adguard.com in new tab
2019-10-01 15:21:39 +03:00
Ildar Kamalov
9229b25a1b Merge: + client: submit retention form after confirm
Closes #1021

* commit 'ef1d4f5e9fdacff5e4ee01a84dce0ed8403c67b4':
  + client: submit retention form after confirm
2019-09-30 11:32:29 +03:00
Devin Buhl
60e21c77c3 Footer: use rel="noopener noreferrer" 2019-09-27 11:44:11 -04:00
Devin Buhl
1961955d15 Footer: Open adguard.com in new tab 2019-09-27 10:38:41 -04:00
Ildar Kamalov
75a8f9f850 Merge: - client: check if data loaded before the request with older_than
* commit '85d6994719a724e8dd0828bb90c459a422767d12':
  - client: check if data loaded before the request with older_than
2019-09-27 14:57:26 +03:00
Ildar Kamalov
85d6994719 - client: check if data loaded before the request with older_than 2019-09-27 14:32:52 +03:00
Ildar Kamalov
ef1d4f5e9f + client: submit retention form after confirm 2019-09-27 13:29:37 +03:00
Simon Zolin
6a65c79a03 Merge: - crash after filter update if its data is too small
* commit '319cc848bd9f62f926e20de10092271536eb5786':
  - crash after filter update if its data is too small
2019-09-27 13:25:41 +03:00
Simon Zolin
319cc848bd - crash after filter update if its data is too small 2019-09-27 13:22:08 +03:00
Simon Zolin
309feeae9a Merge: * dnsproxy v0.19.4
* commit 'ccd9cee9df1bc47a24f94d0ee1bb5177a626da0d':
  * dnsproxy v0.19.4
2019-09-26 18:53:06 +03:00
Simon Zolin
ccd9cee9df * dnsproxy v0.19.4 2019-09-26 18:48:44 +03:00
Simon Zolin
02d0c0a8f3 Merge: + QueryLog: server-side paging and filtering
Close #776

* commit 'f04c028e380182558d772ac6d65efe4f7bdb48d8':
  + client: handle filter change
  + client: server side pagination for the query logs
  * querylog: POST /control/querylog
  * openapi
2019-09-26 18:38:27 +03:00
Ildar Kamalov
f04c028e38 + client: handle filter change 2019-09-26 18:31:13 +03:00
Ildar Kamalov
9ac6049405 + client: server side pagination for the query logs 2019-09-26 18:30:38 +03:00
Simon Zolin
81828c87c1 * querylog: POST /control/querylog 2019-09-26 18:27:31 +03:00
Simon Zolin
215a488a64 * openapi 2019-09-26 18:24:23 +03:00
Simon Zolin
250f829b29 Merge: * stats: refactor: move HTTP handlers to stats/
* commit 'bbb5413331d43bbc182834ea8b3c2318280c7748':
  * stats: refactor: move HTTP handlers to stats/
2019-09-26 16:56:34 +03:00
Simon Zolin
bbb5413331 * stats: refactor: move HTTP handlers to stats/
DNS module passes additional parameters to Stats module.
This allows Stats to handle HTTP requests by itself - completely removing
 all stats-related code from outside.
2019-09-26 16:52:28 +03:00
Simon Zolin
407917241a Merge: * WHOIS: improvements
Close #861

* commit '563f8031dce889b076c91a4b3b6489241cd2b322':
  - client: fix naming
  - client: fix typo in translations
  + client: add icons to the whois info
  * clients: remove an auto-client if a client with the same IP was added manually
  + whois: use "descr" or "netname" in case there's no "orgname"
2019-09-26 16:46:07 +03:00