Commit Graph

428 Commits

Author SHA1 Message Date
Eugene Bujak 5a548be16c Add dns forwarding server library 2018-12-05 16:54:56 +03:00
Eugene Bujak 39eccc62b1 Fix that filter ID is uppercase while js expects it to be lowercase. 2018-12-05 16:50:06 +03:00
Eugene Bujak ea25510a08 Travis -- separate js build time from go build time. 2018-11-29 15:05:29 +03:00
Eugene Bujak 45ae984f3b Fix incorrect cherry-pick in previous commit. 2018-11-29 14:58:25 +03:00
Eugene Bujak 2012e707d0 Fix race condition of trying to write YAML config simultaneously and failing. 2018-11-29 13:31:50 +03:00
Eugene Bujak 942cde79bd Merge pull request #116 in DNS/adguard-dns from fix/466 to master
* commit 'c37c3e0459eb71ffed40e2ff3a4239a1c258e02b':
  Fix #466
2018-11-29 13:19:21 +03:00
Andrey Meshkov c37c3e0459 Fix #466 2018-11-29 11:24:27 +03:00
Eugene Bujak cab73c0d68 Fix travis tests -- since we don't use modules there's no need to do git checkout 2018-11-28 14:34:28 +03:00
Eugene Bujak 58129543de Fix panic in upstream test if upstream returns with i/o timeout 2018-11-28 14:34:04 +03:00
Eugene Bujak 504aaddc32 Update README -- translations section had wrong level of heading 2018-11-28 13:39:48 +03:00
Eugene Bujak 6257ff123f Fix gometalinter warnings 2018-11-28 13:38:19 +03:00
Eugene Bujak aa3f3e2c43 Make some traces into a log, remove others 2018-11-28 13:38:19 +03:00
Eugene Bujak 70c5afd6a5 Restore Engrish function names to normal English. 2018-11-28 13:38:19 +03:00
Eugene Bujak 701fd10c1c Protect against users deleting the filter ID's in the config file.
Incidentally, it also simplifies upgrade schema from 0 to 1.
2018-11-28 13:38:19 +03:00
Eugene Bujak 6cb991fe7f Clean up some code -- reorganize some structs and unexport some consts. 2018-11-28 13:38:19 +03:00
Eugene Bujak ec7efcc9d6 Move config upgrade to separate upgrade.go 2018-11-28 13:38:19 +03:00
Ildar Kamalov 489c29b472 Merge pull request #114 in DNS/adguard-dns from fix/463 to master
* commit '5609e47c28d9481d75bf73d153bf369bca987137':
  Fixed filters table update on language change
  Add client translations
2018-11-28 11:51:03 +03:00
Ildar Kamalov 5609e47c28 Fixed filters table update on language change 2018-11-28 10:25:06 +03:00
Ildar Kamalov 8796a52c09 Add client translations 2018-11-28 10:23:50 +03:00
Eugene Bujak 12a8011fb3 Get rid of unnecessary duplicate type coreDnsFilter. 2018-11-27 16:48:57 +03:00
Eugene Bujak 47e2a1004d Remove IDE-specific noise from source code. 2018-11-27 16:05:43 +03:00
Eugene Bujak 89753c4efb Bump version to 0.91 2018-11-27 12:44:37 +03:00
Andrey Meshkov 8e57243275 Merge pull request #112 in DNS/adguard-dns from fix_block_button to master
* commit 'e08c5efd999895c1f782aca01b45b669e9c850e0':
  Fix ru translation
  Fix block button
2018-11-26 18:38:44 +03:00
Ildar Kamalov e08c5efd99 Fix ru translation 2018-11-26 18:33:49 +03:00
Ildar Kamalov c17c282901 Fix block button 2018-11-26 18:17:34 +03:00
Eugene Bujak 8966383ca3 Merge pull request #111 in DNS/adguard-dns from fix/config_ratelimit to master
* commit '82da886df5428335719f9e861cf59672f962e5e8':
  Add ratelimit and refuse_any to config file
2018-11-26 17:01:21 +03:00
Andrey Meshkov 82da886df5 Add ratelimit and refuse_any to config file 2018-11-26 17:00:46 +03:00
Andrey Meshkov afe234759f Merge pull request #108 in DNS/adguard-dns from add_languages to master
* commit 'd1f5f781c9690129514a3f2629b1729b911dfdcf':
  Update locales
  Add new languages
2018-11-26 16:22:25 +03:00
Ildar Kamalov d1f5f781c9 Merge branch 'master' into add_languages 2018-11-26 15:44:07 +03:00
Andrey Meshkov f95bea325b Merge pull request #109 in DNS/adguard-dns from fix/453 to master
* commit '69cc597b87a23443d57cf35551f03a3846b64797':
  Fix #453: Added upstream examples
  Added upstream examples
2018-11-26 15:40:15 +03:00
Ildar Kamalov d8c97cbabe Update locales 2018-11-26 15:26:38 +03:00
Eugene Bujak c995726f78 Merge pull request #110 in DNS/adguard-dns from bugfix/424 to master
* commit 'd2a0d0333241d8f31718e4e8765f57d9ec68f7df':
  Allow specifying absolute paths in -c command line option.
2018-11-26 15:20:38 +03:00
Eugene Bujak d2a0d03332 Allow specifying absolute paths in -c command line option.
Closes #424.
2018-11-26 15:18:56 +03:00
Andrey Meshkov 69cc597b87 Fix #453: Added upstream examples 2018-11-26 15:12:04 +03:00
Ildar Kamalov 15f8cfce64 Add new languages 2018-11-26 15:00:56 +03:00
Andrey Meshkov 939c902fb0 Added upstream examples 2018-11-26 15:00:17 +03:00
Eugene Bujak d9a65631b9 Merge pull request #107 in DNS/adguard-dns from fix/460 to master
* commit 'c500345d16586e5a7c917611d52261beac2ac501':
  Fix #460
2018-11-26 14:47:05 +03:00
Eugene Bujak 093bd164d6 Merge pull request #106 in DNS/adguard-dns from fix/426_refuseany to master
* commit 'a0482fc201a735d6868b301d5b55f47c9f6dbfaf':
  Fix #426 Added refuseany (enabled by default) Added ratelimit and refuseany to the config file (for manual editing only)
2018-11-26 14:47:00 +03:00
Andrey Meshkov c500345d16 Fix #460 2018-11-26 14:09:43 +03:00
Andrey Meshkov a0482fc201 Fix #426
Added refuseany (enabled by default)
Added ratelimit and refuseany to the config file (for manual editing only)
2018-11-26 13:38:17 +03:00
Andrey Meshkov a6c9210461 Merge pull request #103 in DNS/adguard-dns from feature/426 to master
* commit 'f94c63ed5b4fe028a74ce074b66afcbad7b426f4':
  Set default ratelimit to 30/sec
  Fix #426: add ratelimit to directives
  Added ratelimit plugin
2018-11-26 12:38:04 +03:00
Ildar Kamalov 4ae91f0c1b Merge pull request #104 in DNS/adguard-dns from fix/442 to master
* commit '903c1da993c24ab4a338a3cee22c947a8fcc2e19':
  Remove change_language call on loading app
  Pass two-letter language code
2018-11-26 12:26:45 +03:00
Ildar Kamalov 903c1da993 Remove change_language call on loading app 2018-11-26 11:48:06 +03:00
Eugene Bujak dcbf083d5b Merge pull request #105 in DNS/adguard-dns from fix/265_restrictmoderate to master
* commit '1fa250bb35e9e44b091be36a9f08bb12705cc518':
  Use restrictmoderate.youtube.com #265
2018-11-26 11:11:49 +03:00
Andrey Meshkov 1fa250bb35 Use restrictmoderate.youtube.com #265 2018-11-26 11:05:39 +03:00
Ildar Kamalov 18f210eef5 Pass two-letter language code 2018-11-26 10:55:42 +03:00
Andrey Meshkov f94c63ed5b Set default ratelimit to 30/sec 2018-11-25 23:32:28 +03:00
Andrey Meshkov e4998651fe Fix #426: add ratelimit to directives 2018-11-25 23:17:49 +03:00
Andrey Meshkov 668dcebf13 Added ratelimit plugin 2018-11-25 23:11:36 +03:00
Andrey Meshkov cdd2e8ecb4 Merge pull request #99 in DNS/adguard-dns from feature/442 to master
* commit '63f20bc3979c61f71afcad1e9c7bbcdbe783a98e': (27 commits)
  Request language from server
  i18n -— fiz broken change_language APO method
  Allow querying and changeing i18n language via API.
  Update readme and translations
  Add ru locale
  Move translations script to scripts folder
  Fix footer layout
  Add oneskyapp scripts for download and upload translations
  Fix minor mistake
  Translate Copyright text on footer
  Fix wrong translate key
  Fix wrong check update button text
  Convert i18n resource to key type
  Translate missing toast message when toggle query log feature
  create locales/en.js and change to key type. Next may be use auto load translate resource
  Tranlsate missing toast message
  add missing translate
  Update missing trasnlate
  Fix eslint
  Add translate PopoverFilter
  ...
2018-11-22 18:46:21 +03:00