Commit Graph

561 Commits

Author SHA1 Message Date
Eugene Bujak a6e4c48567 Introduce go module support 2018-11-09 18:19:55 +03:00
hoangrio 628323761a
Merge remote-tracking branch 'upstream/master' into i18n 2018-11-09 21:40:23 +07:00
hoangrio e1276d089b
Fix wrong check update button text 2018-11-09 21:12:46 +07:00
Hoàng Rio d47a23269d
Convert i18n resource to key type 2018-11-09 13:51:28 +07:00
Hoàng Rio beab9a1be0
Merge branch 'i18n' into i18n_wip 2018-11-09 10:03:06 +07:00
Hoàng Rio 82bc5965f4
Translate missing toast message when toggle query log feature 2018-11-09 10:02:27 +07:00
Hoàng Rio 8d209773b3
Merge branch 'i18n' into i18n_wip 2018-11-08 13:29:47 +07:00
Hoàng Rio 67c8abcb8e
Merge branch 'master' into i18n 2018-11-08 13:29:15 +07:00
Eugene Bujak bd39509458 Merge pull request #95 in DNS/adguard-dns from feature/265 to master
* commit 'fc7d93b920b196e654502e1a2b720d56bae05711':
  Force safe search on Youtube
2018-11-06 15:11:06 +03:00
Andrey Meshkov fc7d93b920 Force safe search on Youtube 2018-11-06 15:03:42 +03:00
Andrey Meshkov 4a357f1345 Merge pull request #93 in DNS/adguard-dns from fix/414 to master
* commit '914eb612cd0da015b98c151b7ac603fb4126a2c3':
  Add bootstrap DNS to readme
  Fix review comments
  Close test upstream
  Added bootstrap DNS to the config file DNS healthcheck now uses the upstream package methods
  goimports files
  Added CoreDNS plugin setup and replaced forward
  Added factory method for creating DNS upstreams
  Added health-check method
  Added persistent connections cache
  Upstream plugin prototype
2018-11-06 12:27:08 +03:00
Hoàng Rio 3693047270
create locales/en.js and change to key type. Next may be use auto load translate resource 2018-11-06 14:55:26 +07:00
Hoàng Rio 92fbbc8cc5
Tranlsate missing toast message 2018-11-06 09:51:00 +07:00
Andrey Meshkov 914eb612cd Add bootstrap DNS to readme 2018-11-06 01:20:53 +03:00
Andrey Meshkov cc40826299 Fix review comments 2018-11-06 01:14:28 +03:00
Andrey Meshkov 2e879896ff Close test upstream 2018-11-06 00:52:27 +03:00
Andrey Meshkov 451922b858 Added bootstrap DNS to the config file
DNS healthcheck now uses the upstream package methods
2018-11-06 00:47:59 +03:00
Andrey Meshkov 7f018234f6 goimports files 2018-11-05 23:52:11 +03:00
Andrey Meshkov efdd1c1ff2 Added CoreDNS plugin setup and replaced forward 2018-11-05 23:49:31 +03:00
Andrey Meshkov 9bc4bf66ed Added factory method for creating DNS upstreams 2018-11-05 22:11:13 +03:00
Andrey Meshkov a6022fc198 Added health-check method 2018-11-05 21:19:01 +03:00
Andrey Meshkov d6f560ecaf Added persistent connections cache 2018-11-05 20:40:10 +03:00
Hoàng Rio 839c2ebdd4
add missing translate 2018-11-05 11:46:18 +07:00
Hoàng Rio 9cd7a37646
Update missing trasnlate 2018-11-05 11:26:32 +07:00
Hoàng Rio cd75c406c1
Merge remote-tracking branch 'upstream/master' into i18n 2018-11-05 11:23:16 +07:00
Eugene Bujak 2449075bca Revert "Cache DNS lookups when resolving safebrowsing or parental servers, also cache replacement hostnames as well."
This reverts commit a5d1053520.

This cache had unintended side effects.
2018-11-02 12:15:30 +03:00
Hoàng Rio 4c9a84dda0
Fix eslint 2018-11-02 13:34:38 +07:00
Hoàng Rio 262e9acc03
Add translate PopoverFilter 2018-11-02 13:09:08 +07:00
Andrey Meshkov 484c0ceaff Upstream plugin prototype 2018-11-01 14:45:32 +03:00
Hoàng Rio e399a5fe37
Merge branch 'master' into i18n 2018-10-31 08:19:43 +07:00
Andrey Meshkov 19e30dbccc Merge pull request #92 in DNS/adguard-dns from feature/371 to master
* commit '49ff0d2b9ae4982d4352b668b8d7085ed72f2d4e':
  Added green background for whitelist rows
  Fix rule text in the Reason
  Added filter name to popover
  Fix review comments: NextFilterId collisions
  Added more logging to the plugin
  Added filterId to the querylog Updated the openapi.yaml accordingly Some minor refactoring/renaming Fix other review comments
  Fix review comments Fixed coredns plugin tests Check that user filter is not empty
  Fix #371 #421
2018-10-30 18:20:34 +03:00
Ildar Kamalov 49ff0d2b9a Added green background for whitelist rows 2018-10-30 18:10:05 +03:00
Andrey Meshkov 800002f83d Merge branch 'feature/371' of ssh://bit.adguard.com:7999/dns/adguard-dns into feature/371 2018-10-30 17:41:12 +03:00
Andrey Meshkov 73e20d1dd0 Fix rule text in the Reason 2018-10-30 17:37:11 +03:00
Ildar Kamalov 9bb788ecb5 Merge branch 'feature/371' of ssh://bit.adguard.com:7999/dns/adguard-dns into feature/371 2018-10-30 17:28:08 +03:00
Ildar Kamalov f3fa497af3 Added filter name to popover 2018-10-30 17:27:47 +03:00
Andrey Meshkov 54bdacdde2 Fix review comments: NextFilterId collisions 2018-10-30 17:16:20 +03:00
Andrey Meshkov 0e065a2e61 Added more logging to the plugin 2018-10-30 12:57:16 +03:00
Andrey Meshkov 591065aa3a Added filterId to the querylog
Updated the openapi.yaml accordingly
Some minor refactoring/renaming
Fix other review comments
2018-10-30 12:24:59 +03:00
Andrey Meshkov 760e3596b6 Fix review comments
Fixed coredns plugin tests
Check that user filter is not empty
2018-10-30 11:01:09 +03:00
Hoàng Rio 21b8b233f8
Merge branch 'master' into i18n 2018-10-30 13:07:54 +07:00
Andrey Meshkov 32d4e80c93 Fix #371 #421
Filters are now saved to a file
Also, they're loaded from the file on startup
Filter ID is not passed to the CoreDNS plugin config (server-side AG DNS must be changed accordingly)
Some minor refactoring, unused functions removed
2018-10-30 02:17:24 +03:00
Andrey Meshkov 30f3eb446c
Merge pull request #443 from AdguardTeam/fix/sync_with_bitbucket
Fix/sync with bitbucket
2018-10-29 13:50:41 +00:00
Andrey Meshkov f711d6558f Merge pull request #90 in DNS/adguard-dns from fix/437 to master
* commit 'c39831abbcc3942bc7af9f8fd6c816b96770ee3e':
  Fix sorting method
  Move tiny-version-compare module to helpers
  Fix tooltips over-lapping
  Fix IP address sorting
2018-10-29 16:34:02 +03:00
Andrey Meshkov abd1d306dc Merge pull request #91 in DNS/adguard-dns from fix/383 to master
* commit '1e1ce606c552d83daa4272a301d373561182820b':
  gofmt instead of goland's format
  Add ErrAlreadyExists
  Moved hosts-syntax matching to DnsFilter
  Fix gitignore
2018-10-29 16:33:53 +03:00
Andrey Meshkov 1e1ce606c5 gofmt instead of goland's format 2018-10-29 16:29:30 +03:00
Andrey Meshkov abb51ddb8a Add ErrAlreadyExists 2018-10-29 16:17:18 +03:00
Andrey Meshkov 2b2a797cf7 Moved hosts-syntax matching to DnsFilter 2018-10-29 15:46:58 +03:00
Ildar Kamalov c39831abbc Fix sorting method 2018-10-29 15:24:35 +03:00
Ildar Kamalov 9173b0ee7a Move tiny-version-compare module to helpers 2018-10-29 14:38:01 +03:00