Commit Graph

2770 Commits

Author SHA1 Message Date
Andrey Meshkov 453645b002 *(dnsfilter): update urlfilter to v0.6.1 2019-10-14 21:24:08 +03:00
Simon Zolin 92b6adbdc1 * openapi: minor 2019-10-14 15:56:14 +03:00
Simon Zolin e2c26ec554 * API changes
* filtering_info -> filtering/status
* filtering_config -> filtering/config
2019-10-14 15:55:58 +03:00
Simon Zolin bfc6c98109 Merge: + auth: add more tests
#1060

* commit '91bb9ccae69afadc06206d413d57c1c3b136e7a7':
  + auth: add more tests
2019-10-11 17:03:50 +03:00
Simon Zolin b9a06cbb04 Merge: - whois: couldn't set info on existing auto-clients
Close #1059

* commit 'c299753b6733fd7841ed2acfc8f383df99964da4':
  - whois: couldn't set info on existing auto-clients
2019-10-11 17:03:01 +03:00
Simon Zolin 91bb9ccae6 + auth: add more tests
* use directory "./agh-test"
2019-10-11 16:59:14 +03:00
Simon Zolin c299753b67 - whois: couldn't set info on existing auto-clients 2019-10-11 16:58:10 +03:00
Ildar Kamalov b9462e72a4 Merge: - client: fix font size of whois info
Closes #1059

* commit '271ff4fe8358eed5de3bbeb76ab9ec7a6a369b89':
  - client: fix popover in the dashboard tables
  - client: fix font size of whois info
2019-10-11 14:28:35 +03:00
Ildar Kamalov 271ff4fe83 - client: fix popover in the dashboard tables 2019-10-11 12:54:44 +03:00
Ildar Kamalov d23fdaf18f - client: fix font size of whois info 2019-10-10 18:57:39 +03:00
Simon Zolin 6612ccf107 Merge: * "refresh filters" HTTP handler: return the old synchronous behaviour
Close #1058

* commit 'c9d7bc30698555677a1922d7dfb8e3882249cbba':
  * "refresh filters" HTTP handler: return the old synchronous behaviour
2019-10-10 17:19:35 +03:00
Simon Zolin c9d7bc3069 * "refresh filters" HTTP handler: return the old synchronous behaviour
This was broken by "* dnsfilter: major refactoring"
2019-10-10 17:12:32 +03:00
Andrey Meshkov 3fbbda5102 *(global): upd trackers db 2019-10-10 16:01:20 +03:00
Simon Zolin 32e87b6efb Merge: * whois/rdns: process up to 100 top clients on startup
Close #1055 Close #1035

* commit '701233a4b786495be2f7f8e5e33ebf041481df01':
  - client: fix default page size for dashboard tables
  - whois/rdns: start processing top clients on startup after DNS server is started
  * whois/rdns: process up to 100 top clients on startup
2019-10-10 15:25:44 +03:00
Ildar Kamalov 701233a4b7 - client: fix default page size for dashboard tables 2019-10-10 14:00:02 +03:00
Simon Zolin 6a08a9faa6 - whois/rdns: start processing top clients on startup after DNS server is started 2019-10-10 14:00:02 +03:00
Simon Zolin 8676cabc42 * whois/rdns: process up to 100 top clients on startup 2019-10-10 13:55:44 +03:00
Simon Zolin 51f9d7e4df Merge: * dnsfilter: major refactoring
Close #928

* commit '31ec7f9652c6fb5947eca9e96f1507aad3e5ed13':
  * doc: new arch picture
  * dnsfilter: major refactoring
2019-10-10 12:33:18 +03:00
Simon Zolin 31ec7f9652 * doc: new arch picture 2019-10-09 20:05:21 +03:00
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