Commit Graph

2501 Commits

Author SHA1 Message Date
Artem Baskal 756f97ede1 + upstream: Allow entering comments to the Upstreams box
Close #2083

Squashed commit of the following:

commit 113ad3c4ae2ca184b3945dcaa357b57303ee5fd6
Merge: 4ca1f005 bf23aa4d
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 22 14:41:30 2020 +0300

    Merge branch 'master' into feature/2083

commit 4ca1f0056708eb23bb751587a0ec284508f35edf
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 22 13:14:31 2020 +0300

    Simplify filterOutComments, use assert in tests

commit bba03568aa979300e0534a2bd2f03086e25b3f87
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 22 12:05:00 2020 +0300

    Add ValidateUpstreams test cases

commit 181de508cf266e3a47058f2b7e1b4b4accbab827
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 22 11:47:03 2020 +0300

    Refactor testUpstream

commit 19c189cf7b64f4d252428dec5a608595c8e4cbc7
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 22 10:38:37 2020 +0300

    Move functions to utils

commit 003937e90e0ff02e696d45c21045a27a49cd0202
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 21 19:00:49 2020 +0300

    Review changes

commit b26bf64d8cef0266f33bce51c5bad324c74bb6da
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 21 17:58:01 2020 +0300

    + upstream: Filter out the upstream comments

commit 920975d2ba14fade07282cdb5c72a699c8083463
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 21 17:51:00 2020 +0300

    Trim upstreams, extract comment token

commit a9958eb305ed9af10de68ef3bffe63f216805efe
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 21 10:34:11 2020 +0300

    Fix markup styles

commit 6efa41d944c7b09454a4011d2c9ea52b5ce91bbf
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 17:59:57 2020 +0300

    Fix upstream form positioning

commit 6eb12158d0bca49d4b41eb65a3ebed44eafbe486
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 17:16:49 2020 +0300

    Update example_upstream_comment locale

commit aa9317b0243f5d30f0fcb9cbfcdf502547a8e954
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 13:28:30 2020 +0300

    Highlight comments in custom rules form, extract highlight logic

commit dc55245d3db9edbde60fda0a0e50e1e045e71403
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Thu Sep 17 22:48:29 2020 +0300

    + client: Allow entering comments to the Upstreams box
2020-09-22 15:04:17 +03:00
Artem Baskal bf23aa4d9b + client: Replace TTL override zeroes with empty strings, update dnsproxy
Close #2091

Squashed commit of the following:

commit 9acaa0331f3094a2b48c1f0cf846a30e5c9dfc43
Merge: c207ccc9 3a71374f
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 17:45:20 2020 +0300

    Merge branch 'master' into fix/2091

commit c207ccc9a12f225a6f0343f5273a3469b2709679
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 17:14:24 2020 +0300

    Remove unused imports

commit 750f60ffc40fd48d4bd09a4e2ac4a3143e0cf126
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 16:47:24 2020 +0300

    Update dnsproxy to v0.32.6

commit 1723267e0e7f512db532cd180a3e9d44182d96b3
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 18 16:32:12 2020 +0300

    Replace zeroes with empty string
2020-09-21 10:19:56 +03:00
Artem Baskal 3a71374f9f - client: Return red background of Disallowed clients on the Dashboard
Close #2108

* commit '9fd74748bb7ce84bea512c5a52bd927e88a00ed8':
  - client: Return red background of Disallowed clients on the Dashboard
2020-09-18 17:44:55 +03:00
ArtemBaskal 9fd74748bb - client: Return red background of Disallowed clients on the Dashboard 2020-09-18 17:11:46 +03:00
Andrey Meshkov f694a40c57 * : query log anonymization tool 2020-09-18 14:42:04 +03:00
Andrey Meshkov 38066151a6 * (ui): translations update 2020-09-17 23:50:31 +03:00
Andrey Meshkov deeaca5de1 fix typo 2020-09-16 19:47:26 +03:00
Andrey Meshkov b7607216d2 Merge: + client: Update locales
Fix #2086
Fix #2106

* commit '835f3b911b66902902f4231913913e8bafdde4e4':
  Added unused translations counter
  Update locales
  Update ru locale
  Update locales
  Update locales
  Change back div to label
  Update Link of port_53_faq_link
  Update upstream_dns_help
  + client: Update locales
2020-09-16 18:04:36 +03:00
Andrey Meshkov 835f3b911b Added unused translations counter 2020-09-16 17:42:57 +03:00
Andrey Meshkov d38068289c Merge branch 'master' into feature/update_locales 2020-09-16 13:50:19 +03:00
Andrey Meshkov ad6c43c4a3 Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-home 2020-09-16 12:38:46 +03:00
ArtemBaskal 380ce34ce6 Update locales 2020-09-15 11:05:54 +03:00
Artem Baskal 9651243347 - client: Make dashboard card height constant
Close #2039

Squashed commit of the following:

commit 1d6dd461558403ea0ba813d5f665ecbaab9cd8ed
Merge: 6ca80c91 2a5b0b8d
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 15 10:18:19 2020 +0300

    Merge branch 'master' into fix/2039

commit 6ca80c9171da61a4bc02cec409299d0cfb96da49
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 19:58:43 2020 +0300

    Fix mobile media query

commit 239c9ab29aaaef200bd2289fa116507ea5c2bf4c
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 13:59:39 2020 +0300

    - client: Make dashboard card height constant
2020-09-15 10:30:34 +03:00
ArtemBaskal a5e189bdf3 Merge branch 'master' into feature/update_locales 2020-09-14 20:22:55 +03:00
Artem Baskal 2a5b0b8da1 - client: Allow change minimum TTL override in UI
Close #2091 #2094 #2056

Squashed commit of the following:

commit a84384bb409bfe60c4bd6477b2249c4431aa3b63
Merge: cdc5f27f a22db5f3
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 19:59:47 2020 +0300

    Merge branch 'master' into fix/2091

commit cdc5f27f279f33c7d988f2927adc172e77e0a6af
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 15:41:00 2020 +0300

    Fix uint32 fields validation

commit 0c6fcb90f9741ae8a33bf6c4d53bd954f2033a88
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 14:43:20 2020 +0300

    Validate DNS cache configuration DNS values unit32 range

commit 1f90a1fcbc04f6c7ffb75b453e5c67e117d1c5bf
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 14 12:11:39 2020 +0300

    Remove the limit on cache-min-ttl

commit 72e961034cc5752a50a4afc57c7be6a93d652f7d
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 11 16:50:19 2020 +0300

    Fix translation

commit 6aebf4b87bb806ac0729b40418ba6056b3f71afa
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 11 12:53:01 2020 +0300

    - client: Allow change minimum TTL override in UI
2020-09-14 20:16:46 +03:00
ArtemBaskal 99b556aab3 Update ru locale 2020-09-14 19:48:59 +03:00
ArtemBaskal 726d8eec2c Update locales 2020-09-14 15:44:35 +03:00
ArtemBaskal cbc1ef4558 Update locales 2020-09-11 16:52:25 +03:00
Andrey Meshkov 625f1dffe1 * (dnsfilter): minor refactoring, comments 2020-09-11 15:52:46 +03:00
Andrey Meshkov a22db5f358 Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-home 2020-09-11 13:22:39 +03:00
Andrey Meshkov 1c88667306 * (home): added tests for no-mem-optimization flag 2020-09-11 13:21:37 +03:00
Andrey Meshkov b3a68bb806 * (global): added --no-mem-optimization flag
This commit adds a new command-line argument that disables memory
optimizations AGH is using. These memory optimizations might be
necessary on low-memory devices, but they aren't free and there's a
performance hit (see #2044). Now they can be disabled - just pass
--no-mem-optimization when you run AGH or when you install the service
-- ./AdGuardHome -s install --no-mem-optimization

Closes: #2044
2020-09-11 13:19:37 +03:00
Artem Baskal 6fddccfb65 - client: Fix dashboard client names display
Close #2090

* commit '8533081da7632cca634e400c5b14b3bf52a55b61':
  - client: Fix dashboard client names display
2020-09-11 12:35:29 +03:00
ArtemBaskal 8533081da7 - client: Fix dashboard client names display 2020-09-11 12:06:52 +03:00
Andrey Meshkov cb8afde629 * (dnsforward): fix reverse lookups from /etc/hosts
There was a bug with empty PTR responses for IPs that are in the hosts
file

Closes: #2085
2020-09-11 11:53:36 +03:00
Andrey Meshkov caee4b86fa * (dnsforward): upgrade dnsproxy to v0.32.5 2020-09-10 23:54:15 +03:00
Andrey Meshkov 67e6b7d3e8 * (dnsforward): upgrade dnsproxy to v0.32.4 2020-09-10 18:19:09 +03:00
ArtemBaskal bce69809bc Change back div to label 2020-09-10 12:54:36 +03:00
Andrey Meshkov 75d680ff30 * (dnsforward): added some hosts to disallowed by default 2020-09-10 12:32:36 +03:00
ArtemBaskal c5773577bc Update Link of port_53_faq_link 2020-09-09 22:12:56 +03:00
ArtemBaskal 071a1f77a4 Update upstream_dns_help 2020-09-09 21:51:02 +03:00
ArtemBaskal 7177361016 + client: Update locales 2020-09-09 20:13:29 +03:00
Andrey Meshkov b6e5863058 Merge: + DNS: "dns.upstream_dns_file" setting
Merge in DNS/adguard-home from 1680-upstreams-file to master
Fix #1680

* commit '88c67764b9515902514b0a8e4f00af29a353c584':
  * (dnsforward): don't fail when default upstream is not set
  * (dnsforward): upgrade dnsproxy to v0.32.1
  * (ui): fix strings
  + client: Display upstreams list loaded from a file
  + DNS: "dns.upstream_dns_file" setting
2020-09-09 18:49:26 +03:00
Andrey Meshkov 88c67764b9 * (dnsforward): don't fail when default upstream is not set 2020-09-09 18:12:11 +03:00
Andrey Meshkov f8010902ce * (dnsforward): upgrade dnsproxy to v0.32.1 2020-09-09 17:50:39 +03:00
Andrey Meshkov 0818d51493 Merge: - client: Fix delay of custom filter editor
Merge in DNS/adguard-home from fix/1657 to master
Fix #1657

* commit '474306d46546097700d5c767c7283f33f63f53d7':
  - client: Fix delay of custom filter editor
2020-09-09 15:48:41 +03:00
Andrey Meshkov 7720d0dfbc Merge branch 'master' into 1680-upstreams-file 2020-09-09 14:51:27 +03:00
Andrey Meshkov 90e4316cfc * (ui): fix strings 2020-09-09 14:50:21 +03:00
Andrey Meshkov e781ff0cae * : merge with master 2020-09-09 14:35:11 +03:00
Andrey Meshkov 9a49161f15 Merge: * DNS: use REFUSED DNS error code as the default blocking method
Merge in DNS/adguard-home from 1914-refused-blocking-mode to master
Fix #1914

* commit '382cddea47452abd02adeab2a1539dcd3c74c1dd':
  fix pre-commit hook
  * (ui): added refused string
  + client: Add REFUSED DNS error code as the default blocking method
  + DNS: new blocking mode: "refused"
  * locales: blocking_mode_default: NXDOMAIN -> REFUSED
  * DNS: use REFUSED DNS error code as the default blocking method
2020-09-09 14:21:55 +03:00
Andrey Meshkov 382cddea47 fix pre-commit hook 2020-09-09 14:03:27 +03:00
Andrey Meshkov 317e030554 * (ui): added refused string 2020-09-09 13:59:18 +03:00
Andrey Meshkov 1fadc27615 Merge branch 'master' into 1914-refused-blocking-mode 2020-09-09 13:51:53 +03:00
Andrey Meshkov ccb903c9a0 Merge: + DoQ client/server
Merge in DNS/adguard-home from 2049-doq to master
Fix #2049

* commit '7d7609cf7a2c0c3c539649776f0eebd35adb08c7':
  * (dnsforward): moved setting upstream.RootCAs
  - (dnsforward): fixed running only quic, added a test
  Change link and translation
  Resolve conflict
  + client: Add experimental DNS-over-QUIC support
  + DNS: "port_dns_over_quic" setting
  * dnsproxy v0.32.0
2020-09-09 13:51:21 +03:00
Andrey Meshkov 7d7609cf7a * (dnsforward): moved setting upstream.RootCAs 2020-09-08 17:28:01 +03:00
Andrey Meshkov 314867734a - (dnsforward): fixed running only quic, added a test
QUIC was not initialized if DOT port is not set. Also, there were no
tests on DoQ functionality.
2020-09-08 17:20:24 +03:00
Andrey Meshkov 120d5304c2 Merge branch 'master' into 2049-doq 2020-09-08 17:03:40 +03:00
Andrey Meshkov abc08b7572 Merge: + client: Add experimental DNS-over-QUIC support
Merge in DNS/adguard-home from feature/2049 to 2049-doq

* commit 'c588b891975eecda91408661bb3b3de0572437c3':
  Change link and translation
  Resolve conflict
  + client: Add experimental DNS-over-QUIC support
2020-09-08 16:19:21 +03:00
Andrey Meshkov 3c85b994d3 Merge: Dsheets service options
Merge in DNS/adguard-home from dsheets-service-options to master

* commit '7be0cc72df9b01922e6bc5b3e6e9c6ab57b3fc26':
  Don't run home_test with race detection
  service: installation and running of AGH as a service with CLI args
  home/options: add options -> args serialization
  cli: factor options struct and parsing into home/options.go
2020-09-08 16:11:21 +03:00
Andrey Meshkov 7be0cc72df Don't run home_test with race detection 2020-09-08 15:53:25 +03:00