Commit Graph

1670 Commits

Author SHA1 Message Date
Simon Zolin 48c70aefaa Merge: + QueryLog: new setting "dns.querylog_memsize"
Close #958

* commit '7e45c2fc2428679ac7454c5244b0130901449324':
  + new setting "dns.querylog_memsize"
2019-12-02 15:57:17 +03:00
Simon Zolin 7e45c2fc24 + new setting "dns.querylog_memsize"
* set 1000 entries by default (not 5000)
2019-12-02 15:46:03 +03:00
Simon Zolin 31ffae7717 Merge: * dnsforward: major refactoring
* commit 'f579c23bc932e893ffa960abe769750fe657beff':
  * minor fixes
  * dnsforward: refactor code for default DNS servers logic
  * update tests
  * dnsforward: move access settings and web handlers
  + dnsforward: refactor
2019-12-02 15:38:04 +03:00
Simon Zolin f579c23bc9 * minor fixes 2019-12-02 15:25:11 +03:00
Simon Zolin 9b8cccdfcf * dnsforward: refactor code for default DNS servers logic 2019-12-02 14:58:17 +03:00
Simon Zolin 8bf75b54a4 * update tests 2019-12-02 14:58:17 +03:00
Simon Zolin 19a1c03d3b * dnsforward: move access settings and web handlers 2019-12-02 14:58:17 +03:00
Simon Zolin 7bb32eae3d + dnsforward: refactor
+ dnsforward: own HTTP handlers
* dnsforward: no DNS reload on ProtectionEnabled setting change
* dnsforward: move QueryLog* settings out
* dnsforward: move dnsfilter settings out
* clients,i18n: no DNS reload on settings change
2019-12-02 14:58:17 +03:00
Simon Zolin 73d17ffa81 Merge: + DHCP: Reset DHCP configuration; Refactor
Close #1024

* commit 'a6926169815e03d00f9cfac0417da6f797d539ae':
  - clients: fix tests
  * clients: refactor
  + openapi: /dhcp/reset
  + client: handle DHCP reset
  + POST /control/dhcp/reset: Reset DHCP configuration
  * dhcp: move HTTP handlers to dhcpd/
  * dhcp,clients: DHCP server module is passed to Clients module during initialization.
2019-12-02 12:56:30 +03:00
Simon Zolin a692616981 - clients: fix tests 2019-11-29 17:35:26 +03:00
Simon Zolin e9cb8666ce * clients: refactor 2019-11-29 17:11:07 +03:00
Simon Zolin 90ce70225f + openapi: /dhcp/reset 2019-11-29 17:11:07 +03:00
Ildar Kamalov a4dedacf43 + client: handle DHCP reset 2019-11-29 17:11:07 +03:00
Simon Zolin df92941ae0 + POST /control/dhcp/reset: Reset DHCP configuration 2019-11-29 17:11:07 +03:00
Simon Zolin 477a4bbf54 * dhcp: move HTTP handlers to dhcpd/ 2019-11-29 17:11:07 +03:00
Simon Zolin 149fcc0f2d * dhcp,clients: DHCP server module is passed to Clients module during initialization. 2019-11-29 17:11:07 +03:00
Simon Zolin 127a68a39f Merge: + Clients: multiple IP, CIDR, MAC
Close #809

* commit 'f8202a74bd55b97cdd95c33d8f8ed97412ba43b1':
  + client: handle clients find
  + client: add multiple fields client form
  * minor
  * openapi: update 'Client' object; add /clients/find
  * config: upgrade scheme to v6
  * clients: multiple IP, CIDR, MAC addresses
2019-11-29 17:05:00 +03:00
Ildar Kamalov f8202a74bd + client: handle clients find 2019-11-29 16:59:20 +03:00
Ildar Kamalov a6d6e9ec9e + client: add multiple fields client form 2019-11-29 16:53:21 +03:00
Simon Zolin fd26af2677 * minor 2019-11-29 16:53:21 +03:00
Simon Zolin 1fc70cbc08 * openapi: update 'Client' object; add /clients/find 2019-11-29 16:53:21 +03:00
Simon Zolin 317a9cc49e * config: upgrade scheme to v6 2019-11-29 16:53:05 +03:00
Simon Zolin 71ce0c6da9 * clients: multiple IP, CIDR, MAC addresses
+ /clients/find
* clients: move code for config read/write
* clients: move HTTP handlers
2019-11-29 16:52:32 +03:00
Artem Baskal db703283ba Merge pull request #431 in DNS/adguard-home from fix-1075 to master
* commit '49e800727b2e866fa1f9d429bd1c0c17ce8466b3':
  - client: allow add ip-v6 to exceptions
2019-11-27 18:50:00 +03:00
Artem Baskal 49e800727b - client: allow add ip-v6 to exceptions 2019-11-27 18:45:30 +03:00
Artem Baskal d26fed1901 Merge: - client: fix table size and add pagination
Close #1197

* commit 'f446186db146b74cc6af3d29cf53ff69adc26e4f':
  - client: fix table pagination
  - client: fix table size and add pagination
2019-11-27 13:06:11 +03:00
Artem Baskal f446186db1 - client: fix table pagination 2019-11-26 20:50:02 +03:00
Artem Baskal 4751528d69 - client: fix table size and add pagination 2019-11-26 19:24:22 +03:00
Simon Zolin 48c0b487e3 Merge: * auth: rename "session" cookie to "agh_session"
Close #1196

* commit 'b3614ba62fcde8ff3e3b6e708095f84a230aa2f2':
  * auth: rename "session" cookie to "agh_session"
2019-11-26 19:21:34 +03:00
Ildar Kamalov 7a665ff8f0 Merge: - client: fix placeholder for table pages
Closes #1166

* commit '38c7e732a6af190f92d824a6af53aea60aab5146':
  - client: fix placeholder for table pages
2019-11-26 15:30:00 +03:00
Ildar Kamalov 38c7e732a6 - client: fix placeholder for table pages 2019-11-26 15:16:52 +03:00
Ildar Kamalov bdffd8534c Merge: Update blocked_services.goTikTok Rules
Closes #1192

* commit 'f19d8c24c3e3a8d2934affc5690cc72c044a0a3f':
  Update blocked_services.goTikTok Rules
2019-11-26 13:48:58 +03:00
Ildar Kamalov 757e41ce53 Merge: Update blocked_services.go Facebook, Messenger, and Instagram Rules
Closes #1190

* commit 'e0be4e8801307bebce9e19057a1a8e6fb1a658c7':
  Update blocked_services.go Facebook, Messenger, and Instagram Rules
2019-11-26 13:48:31 +03:00
Cybo1927 f19d8c24c3 Update blocked_services.goTikTok Rules 2019-11-26 12:01:09 +03:00
Cybo1927 e0be4e8801 Update blocked_services.go Facebook, Messenger, and Instagram Rules 2019-11-26 11:17:22 +03:00
Ildar Kamalov 713613e3b8 Merge: Update blocked_services.go Snapchat Rules
Closes #1189

* commit 'a78156a7cb259f3cb0a78b7466e09ee4b99f2356':
  Update blocked_services.go Snapchat Rules
2019-11-26 11:12:19 +03:00
Ildar Kamalov af3096e23b Merge: blocked services: add new domain for youtube
Closes #1149

* commit '9675b3776ee50d8df4ce8a875f9b70b22bb8f8ee':
  blocked services: add new domain for youtube
2019-11-26 11:10:19 +03:00
Simon Zolin b3614ba62f * auth: rename "session" cookie to "agh_session"
for compatibility with other HTTP services on the same host
2019-11-25 15:48:14 +03:00
Simon Zolin a0fe1e84c0 Merge: * use Go v1.13
Close #1041

* commit 'dc2c68b1e4ff625deb44850a84282cdce56d1cd5':
  * use Go v1.13
2019-11-25 15:29:03 +03:00
Simon Zolin 2e5264652e Merge: - querylog: remove time counter (fix zero div exception)
Close #1194

* commit 'a31116635e605d199887e83a98d27f0fe01291c1':
  * querylog: delete code for time counter
  - querylog: remove time counter (fix zero div exception)
2019-11-25 15:25:55 +03:00
Simon Zolin a31116635e * querylog: delete code for time counter 2019-11-25 15:20:56 +03:00
Simon Zolin dc2c68b1e4 * use Go v1.13 2019-11-25 14:10:28 +03:00
Simon Zolin 305df63054 - querylog: remove time counter (fix zero div exception) 2019-11-25 13:40:27 +03:00
Cybo1927 a78156a7cb Update blocked_services.go Snapchat Rules 2019-11-22 14:54:14 +03:00
ArchiveBase 9675b3776e blocked services: add new domain for youtube 2019-11-22 14:50:38 +03:00
Andrey Meshkov 0a09c7eb4d *(global): travis-ci.org -> travis-ci.com 2019-11-21 19:11:02 +03:00
Simon Zolin 6fdffc1203 Merge: Add cloudflare to blocked services
Close #1155

* commit '36636867e18baf54c54a1a36f9d501a0f8bbeea4':
  + blocked_services: add cloudflare
  + client: add cloudflare icon
2019-11-21 11:48:07 +03:00
ArchiveBase 36636867e1 + blocked_services: add cloudflare 2019-11-21 11:40:03 +03:00
ArchiveBase c93cdd106e + client: add cloudflare icon 2019-11-21 11:36:58 +03:00
Andrey Meshkov ee41c18d53 Merge: #1092 * /control/querylog_config: support optional parameters
* commit '7c81efcbcba9f5c072ed03d37490cf5e7dd33f89':
  * go.mod: use bbolt from github
  * /control/querylog_config: support optional parameters
2019-11-20 20:28:28 +03:00