Commit Graph

2300 Commits

Author SHA1 Message Date
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
Simon Zolin f9091472d7 - openapi: fix 2019-09-12 17:53:27 +03:00
Simon Zolin ce614ab8bf - stats: fix incorrect loading of counters from file 2019-09-12 17:53:27 +03:00
Simon Zolin 04e2566e9e * stats: use uint32 or uint64 integer values, not int 2019-09-12 17:53:27 +03:00
Simon Zolin 8a2aa57e24 - /stats_config: write config 2019-09-12 14:48:24 +03:00
Simon Zolin 97684368b9 - stats: use --workdir 2019-09-12 14:48:13 +03:00
Simon Zolin d0dcaeaa04 Merge: i386/linux: don't build binary with sse
Close #996

* commit '4b2a2615cbb14c7297707104789a5983f7f1bada':
  i386/linux: don't build binary with sse
2019-09-11 16:46:22 +03:00
Simon Zolin 2356ae5bdd Merge: * filter update: ensure filter data is text
Close #527

* commit 'b078b82a89940bd96c7e9157c2f5c758224a72ae':
  * filter update: ensure filter data is text (but not html)
2019-09-11 16:45:56 +03:00
Andrey Korolyov 4b2a2615cb i386/linux: don't build binary with sse
The vast majority of today's x86 routers are amd64-based, and the rest are probably either
very old computers or specialized hardware such as PCEngines' ALIX series. For Go language,
adding GO386=387 disables SSE optimizations made by a compiler, effectively allowing binary
to run on old CPUs such as SC1100 or Geode LX.
2019-09-11 16:25:40 +03:00
Simon Zolin b078b82a89 * filter update: ensure filter data is text (but not html)
stop checking Content-Type HTTP header
2019-09-10 15:22:17 +03:00
Ildar Kamalov ad96d061a0 Merge: + client: update github issues link
* commit 'dba3c9aef1160e1fa1e4dbf99dbce5dbd0854b6d':
  + client: update github issues link
2019-09-09 14:43:28 +03:00
Ildar Kamalov dba3c9aef1 + client: update github issues link
Closes #990
2019-09-09 11:59:53 +03:00
Simon Zolin e346eddf94 Merge: new Statistics module
Close #827

* commit '17a26155cdf0150ea9d8cf915311f16fafa6354a':
  - client: convert average processing time to milliseconds
  + client: handle clear statistics
  + client: update time interval notice
  + client: add notice to the time interval input
  + client: functional components for dashboard
  * client: fix missed translations
  * client: change the result message after adding a filter
  + client: handle the new statistics format
  + client: handle time interval for statistics
  + openapi: add /stats_config, /stats_info methods
  * openapi: update /stats method
  + statistics: store in separate file
  * stats: remove old code
  + config: "statistics_interval" setting
  + /control/stats_config, /control/stats_info
2019-09-04 12:39:42 +03:00
Ildar Kamalov 17a26155cd - client: convert average processing time to milliseconds 2019-09-04 10:14:01 +03:00
Ildar Kamalov 63049e0521 + client: handle clear statistics 2019-09-04 10:14:01 +03:00
Ildar Kamalov 883910c19e + client: update time interval notice 2019-09-04 10:14:01 +03:00
Ildar Kamalov cac8149d47 + client: add notice to the time interval input 2019-09-04 10:14:00 +03:00
Ildar Kamalov 6bce41bb0a + client: functional components for dashboard 2019-09-04 10:13:51 +03:00
Ildar Kamalov 75df5e8292 * client: fix missed translations
Closes #952
2019-09-04 10:13:21 +03:00
Ildar Kamalov 9087df5dcd * client: change the result message after adding a filter
Closes #948
2019-09-04 10:13:21 +03:00
Ildar Kamalov 6b2496d050 + client: handle the new statistics format 2019-09-04 10:13:21 +03:00
Ildar Kamalov 011bc3e36b + client: handle time interval for statistics 2019-09-04 10:13:18 +03:00
Simon Zolin 7ff27dbb42 + openapi: add /stats_config, /stats_info methods 2019-09-04 10:12:02 +03:00
Simon Zolin 55ceca6314 * openapi: update /stats method 2019-09-04 10:12:02 +03:00
Simon Zolin 4a58266ba3 + statistics: store in separate file
+ GET /control/stats handler
2019-09-04 10:12:02 +03:00
Simon Zolin 60eb55bdce * stats: remove old code 2019-09-04 10:12:01 +03:00
Simon Zolin fe23b33d7e + config: "statistics_interval" setting 2019-09-04 10:12:01 +03:00
Simon Zolin cc2654c371 + /control/stats_config, /control/stats_info 2019-09-04 10:12:01 +03:00
Ildar Kamalov 47e5fcb14c Merge: + client: add response information to the filtered query log items
Closes #912

* commit '428706399ae5bcd01daf4b4146c81a481fd680ef':
  + client: add response information to the filtered query log items
2019-09-04 10:10:39 +03:00
Ildar Kamalov 428706399a + client: add response information to the filtered query log items 2019-09-03 17:15:13 +03:00
Simon Zolin 3b98461a2a Merge: + config: add cache size and time settings
Close #947

* commit '4e8473f8a5b04d2b3883ab74323734ef5e976c0e':
  * use dnsproxy v0.19.1
  * dnsfilter: use golibs/cache
2019-09-03 17:14:14 +03:00
Simon Zolin 4e8473f8a5 * use dnsproxy v0.19.1 2019-09-02 19:13:20 +03:00
Simon Zolin c616259e8b * dnsfilter: use golibs/cache
+ config: add cache size settings
+ config: add cache_time setting
2019-09-02 19:12:53 +03:00
Konstantin 🦄 Zamyakin 7d3fe71597 fix .twosky.json 2019-09-02 17:05:16 +03:00
Simon Zolin a9524448b1 Merge: Set SSL certificate & privatekey from file
Close #634

* commit 'c05917bce0a4c823a4a3f58973e09f7dd8dae877':
  - client: remove unused strings
  * README: update link to the crowdin
  + client: handle fields for certificate path and private key path
  * openapi: update "TlsConfig"
  + config: add certificate_path, private_key_path
2019-08-30 19:36:51 +03:00
Ildar Kamalov c05917bce0 - client: remove unused strings 2019-08-30 19:18:23 +03:00
Ildar Kamalov 7aa5c37e3b * README: update link to the crowdin 2019-08-30 19:18:23 +03:00
Ildar Kamalov 6d63450f03 + client: handle fields for certificate path and private key path 2019-08-30 19:18:23 +03:00
Simon Zolin 4445c4b669 * openapi: update "TlsConfig" 2019-08-30 19:18:23 +03:00
Simon Zolin 24bb708b21 + config: add certificate_path, private_key_path
* POST /control/tls/configure: support certificate_path and private_key_path
2019-08-30 19:18:14 +03:00
Ildar Kamalov c847df9976 Merge: Add TikTok to Blocked services
Closes #950

* commit 'bdd86adac5a3fdc7013200e1448a7acb6a04993e':
  + blocked_services: add tiktok main domain
  + client: add tiktok icon
  + blocked_services: add tiktok
2019-08-29 13:34:58 +03:00
Ildar Kamalov bdd86adac5 + blocked_services: add tiktok main domain 2019-08-29 11:45:39 +03:00
Ildar Kamalov 44a3a8857f + client: add tiktok icon 2019-08-29 11:40:17 +03:00
Ildar Kamalov eb524e27a6 + blocked_services: add tiktok 2019-08-29 11:39:04 +03:00
Simon Zolin be3f855df2 Merge: * /control/version.json: retry up to 3 times after DNS resolve of static.adguard.com has failed
Close #934

* commit 'd4c012220edc52e7d47808f1d83ce9ca664f73d3':
  * control: add link to the issue on github
  * /control/version.json: retry up to 3 times after DNS resolve of static.adguard.com has failed
2019-08-28 15:21:53 +03:00
Simon Zolin d4c012220e * control: add link to the issue on github 2019-08-27 11:53:09 +03:00
Simon Zolin 815489c0ff * /control/version.json: retry up to 3 times after DNS resolve of static.adguard.com has failed 2019-08-26 16:02:56 +03:00
Simon Zolin c7b5b00d14 Merge: * dhcp: validate range_start/range_end values
Close #848

* commit '625b22a8d7bece655216b926f1b4ce35e14ccb07':
  * dhcp: validate range_start/range_end values
2019-08-23 17:18:30 +03:00
Simon Zolin dd632d3f69 Merge: * dhcp: when adding a static lease, it can replace a dynamic lease
Close #833

* commit '7acbeb89569cd0260a0e21eae3a2439b419c2e24':
  * dhcp: when adding a static lease, it can replace a dynamic lease
2019-08-23 17:18:10 +03:00
Simon Zolin 7acbeb8956 * dhcp: when adding a static lease, it can replace a dynamic lease 2019-08-23 16:14:00 +03:00