Commit Graph

1749 Commits

Author SHA1 Message Date
Ildar Kamalov
ba62d42949 + client: add icons to the whois info 2019-09-25 16:11:42 +03:00
Simon Zolin
fcf37da312 * clients: remove an auto-client if a client with the same IP was added manually 2019-09-25 16:11:42 +03:00
Simon Zolin
95eeccde8f + whois: use "descr" or "netname" in case there's no "orgname" 2019-09-25 16:11:42 +03:00
Andrey Meshkov
875905ce8a Merge: Add WHOIS info for clients
* commit 'a52715e0863af0a9e1b26dbf96fc7cced02ae4f6':
  + client: add whois info to dashboard and logs
  + client: add whois info to clients and auto clients table
  * rDNS: refactor
  + whois: add WHOIS information for a client
2019-09-23 20:07:05 +03:00
Simon Zolin
77892bb7e9 Merge: * dnsforward: create dnsfilter asynchronously
Close #928

* commit '75b864f25ec5f762d6cbfc07d3dce7d77ca0629c':
  * dnsforward: create dnsfilter asynchronously
2019-09-23 20:03:38 +03:00
Simon Zolin
ce007e665d Merge: - dhcp: don't replace a static lease with a dynamic one
Close #1015 #1016

* commit 'fd3e153a043941c6f72d7f1c9cfaecdd537a490e':
  - dhcp: don't replace a static lease with a dynamic one
2019-09-23 20:02:44 +03:00
Simon Zolin
75b864f25e * dnsforward: create dnsfilter asynchronously 2019-09-23 20:00:11 +03:00
Simon Zolin
fd3e153a04 - dhcp: don't replace a static lease with a dynamic one 2019-09-23 18:47:13 +03:00
Ildar Kamalov
a52715e086 + client: add whois info to dashboard and logs 2019-09-23 18:17:56 +03:00
Ildar Kamalov
9e4f80f3c1 + client: add whois info to clients and auto clients table 2019-09-23 18:14:00 +03:00
Simon Zolin
192b58b9d9 * rDNS: refactor 2019-09-23 18:14:00 +03:00
Simon Zolin
fd592b4dc8 + whois: add WHOIS information for a client
+ return WHOIS info in GET /clients response
2019-09-23 18:12:54 +03:00
Simon Zolin
f6404ef181 Merge: + Log-In page
Close #865

* commit '95d9a537eab8c2651078841eda64beb5cbe62cd3':
  - client: fix translation
  + client: login page
  * client: fix translation string
  * minor
  *(home): fix golint issues
  - fix crash after stats module is closed
  + config: upgrade from v4 to v5
  + openapi: /login, /logout
  + Login page and web sessions
2019-09-19 18:16:37 +03:00
Ildar Kamalov
95d9a537ea - client: fix translation 2019-09-19 18:08:28 +03:00
Ildar Kamalov
66bd06cf69 + client: login page 2019-09-19 12:52:15 +03:00
Ildar Kamalov
1e4edf0669 * client: fix translation string 2019-09-19 12:47:55 +03:00
Simon Zolin
07fa9bb47c * minor 2019-09-19 12:47:55 +03:00
Andrey Meshkov
4e76013334 *(home): fix golint issues 2019-09-19 12:47:55 +03:00
Simon Zolin
d7f256ba7f - fix crash after stats module is closed
Close DNS forward module BEFORE stats.
2019-09-19 12:47:55 +03:00
Simon Zolin
a71521a658 + config: upgrade from v4 to v5 2019-09-19 12:47:55 +03:00
Simon Zolin
d2a5a550f7 + openapi: /login, /logout 2019-09-19 12:47:55 +03:00
Simon Zolin
6304a7b91b + Login page and web sessions
+ /control/login
+ /control/logout
2019-09-19 12:47:55 +03:00
Ildar Kamalov
74381b0cad Merge: - client: fix upstream DNS servers form
* commit '59a635f3f23bfcca583960f8ebb910d35f13e34d':
  + client: add isVersionGreater helper
  - client: fix upstream DNS servers form
2019-09-17 18:27:49 +03:00
Ildar Kamalov
59a635f3f2 + client: add isVersionGreater helper 2019-09-17 17:37:26 +03:00
Simon Zolin
97edc26c1b Merge: * stats: pass configuration object via stats.New()
* commit 'b8a98c1a77ef92e1cdc962150fe4bf5e38e98f93':
  * stats: pass configuration object via stats.New()
2019-09-17 12:29:21 +03:00
Simon Zolin
ff0b4fa3b5 Merge: - rewrites: AAAA rewrites didn't work
Close #989

* commit 'f4c29715b553b00561c7c7d68005350a5be1bf5a':
  - rewrites: AAAA rewrites didn't work
2019-09-17 12:29:04 +03:00
Ildar Kamalov
0a26ee4224 - client: fix upstream DNS servers form
Closes #1000
2019-09-17 12:25:29 +03:00
Simon Zolin
f4c29715b5 - rewrites: AAAA rewrites didn't work 2019-09-16 16:28:00 +03:00
Simon Zolin
b8a98c1a77 * stats: pass configuration object via stats.New() 2019-09-16 16:17:39 +03:00
Ildar Kamalov
48a4df1a9f Merge: - client: fix url change handler on filters modal
* commit '92561cf04f631cb65fcddf80838252d9b34b8e4a':
  - client: fix url change handler on filters modal
2019-09-16 15:18:23 +03:00
Simon Zolin
3862662201 Merge: + clients: runtime list: add clients from DHCP that have non-empty Hostname property
Close #979

* commit '0c2611ff978e55ee1d6f4dd54b9edd54a3fe5909':
  * minor
  + clients: runtime list: add clients from DHCP that have non-empty Hostname property
2019-09-16 13:54:56 +03:00
Simon Zolin
0c2611ff97 * minor 2019-09-16 13:06:32 +03:00
Simon Zolin
93babd3e1c + clients: runtime list: add clients from DHCP that have non-empty Hostname property 2019-09-16 13:06:32 +03:00
Ildar Kamalov
92561cf04f - client: fix url change handler on filters modal 2019-09-13 15:02:12 +03:00
Simon Zolin
9a28526fa3 Merge: - stats: fix crash on load
Close #999

* commit '8b7d08ebfc1b389c301300f6bad7368e85617921':
  - stats: fix crash on load
2019-09-13 13:10:46 +03:00
Simon Zolin
8b7d08ebfc - stats: fix crash on load 2019-09-13 12:58:57 +03:00
Simon Zolin
30ca77303b Merge: Add Filters Update Interval setting; refactor
Close #641

* commit 'd0fc1dc54dfbc017f28c6c0afa4623c6259af557':
  + client: handle filters configuration
  * openapi: update /filtering
  filtering: refactor;  change API;  add "filters_update_interval" setting
2019-09-12 19:06:39 +03:00
Simon Zolin
df5b41458f Merge: + dnsforward: disable Mozilla DoH - block use-application-dns.net
#988

* commit '47e29f96dfb9f254babcf4763912dc5e9a07ee2a':
  + dnsforward: disable Mozilla DoH - block use-application-dns.net
2019-09-12 19:05:29 +03:00
Simon Zolin
7b46f82fad Merge: Query log: add "interval" setting; add "clear log" button
#776 Close #446

* commit '8c89973365e660d47fa5fce88113414011961acb':
  - client: fix api client export
  - client: fix id and method name
  + client: handle logs configuration
  + openapi: /querylog_info, /querylog_config, /querylog_clear
  + doc: Relations between subsystems
  * querylog: move code to a separate package
2019-09-12 18:58:18 +03:00
Simon Zolin
47e29f96df + dnsforward: disable Mozilla DoH - block use-application-dns.net 2019-09-12 18:56:11 +03:00
Ildar Kamalov
d0fc1dc54d + client: handle filters configuration 2019-09-12 18:38:13 +03:00
Simon Zolin
57bb04685f * openapi: update /filtering 2019-09-12 18:38:13 +03:00
Simon Zolin
adb422fedf filtering: refactor; change API; add "filters_update_interval" setting
+ config: "filters_update_interval"
* add /control/filtering_info
* remove /control/filtering/enable
* remove /control/filtering/disable

* add /control/filtering_config
* remove /control/filtering/status

* add /control/filtering/set_url
* remove /control/filtering/enable_url
* remove /control/filtering/disable_url
2019-09-12 18:38:13 +03:00
Ildar Kamalov
8c89973365 - client: fix api client export 2019-09-12 18:35:13 +03:00
Ildar Kamalov
0e6c795c5b - client: fix id and method name 2019-09-12 18:35:13 +03:00
Ildar Kamalov
a753ae86cc + client: handle logs configuration 2019-09-12 18:35:13 +03:00
Simon Zolin
27f895cf46 + openapi: /querylog_info, /querylog_config, /querylog_clear 2019-09-12 18:35:13 +03:00
Simon Zolin
05bb705e43 + doc: Relations between subsystems 2019-09-12 18:35:13 +03:00
Simon Zolin
8104c902ee * querylog: move code to a separate package
+ config: "querylog_interval" setting
/control/querylog_config, /control/querylog_info
+ POST /control/querylog_clear
2019-09-12 18:35:13 +03:00
Simon Zolin
8f9ca4cba7 Merge: Fix stats module
* commit 'f9091472d790e5e340d0890906f51ef82720e7da':
  - openapi: fix
  - stats: fix incorrect loading of counters from file
  * stats: use uint32 or uint64 integer values, not int
  - /stats_config: write config
  - stats: use --workdir
2019-09-12 18:01:59 +03:00