Commit graph

368 commits

Author SHA1 Message Date
Ildar Kamalov
5d6c980ac7 * client: upstream form 2019-03-06 14:45:21 +03:00
Ildar Kamalov
b8595b87c4 * disable config saving if invalid pair 2019-02-28 14:59:25 +03:00
Carl Bennett
2a93e45b67 Fix typo in client/src/__locales/en.json 2019-02-27 12:02:06 +03:00
Ildar Kamalov
158f2f6100 Fixed port validation 2019-02-21 19:16:09 +03:00
Ildar Kamalov
2814c393ad Fixed checkRedirect helper 2019-02-21 18:28:23 +03:00
Ildar Kamalov
37a1a98c49 Fixed EncryptionTopline check 2019-02-21 15:39:15 +03:00
Ildar Kamalov
5ac775aa4a Fixed stylelint errors 2019-02-21 15:05:54 +03:00
Ildar Kamalov
c53a132072 Added UpdateTopline component 2019-02-20 16:54:14 +03:00
Ildar Kamalov
8e7ceec1a1 Remove unused package 2019-02-20 16:10:32 +03:00
Ildar Kamalov
89446fccd5 Fixed npm audit vulnerabilities 2019-02-20 15:39:36 +03:00
Ildar Kamalov
4f45f2c3e3 Fix empty values on validate 2019-02-20 14:26:56 +03:00
Ildar Kamalov
9c8e4c64ea Disable save button if key or certificate is empty 2019-02-20 13:33:42 +03:00
Ildar Kamalov
2c2295c161 Fixed http port and reset with save 2019-02-20 12:46:34 +03:00
Ildar Kamalov
de08b53ae1 Fix list styles 2019-02-20 12:02:46 +03:00
Ildar Kamalov
a60eeb55f1 Check if redirect is available before enable 2019-02-20 11:36:24 +03:00
Ildar Kamalov
f0536b6347 Check response 2019-02-19 19:42:59 +03:00
Ildar Kamalov
340a4fb58e Check if redirect available 2019-02-19 19:19:40 +03:00
Ildar Kamalov
77793e5f21 Check is safe port 2019-02-19 18:56:13 +03:00
Ildar Kamalov
24154f0033 Redirect on port change 2019-02-19 18:04:23 +03:00
Ildar Kamalov
0b7f0396de Fixed processing config 2019-02-19 15:46:29 +03:00
Ildar Kamalov
cca6998efe Added https redirect 2019-02-19 15:43:36 +03:00
Ildar Kamalov
b8c0ed9335 Reset fields on click 2019-02-19 13:05:16 +03:00
Ildar Kamalov
ff012cf0a3 Fix error message 2019-02-19 11:05:30 +03:00
Ildar Kamalov
2b0addd505 Fix copy symbol
Closes #588
2019-02-19 11:04:43 +03:00
Ildar Kamalov
1fc5f15aaa Check if error has response 2019-02-18 19:36:24 +03:00
Ildar Kamalov
954d923975 Remove valid_chain and warning_validation from button disable 2019-02-18 19:20:17 +03:00
Ildar Kamalov
05cce8b107 Added validation on change and enable encryption checkbox 2019-02-18 16:06:27 +03:00
Eugene Bujak
3e67c8d79a Older npm rewrote the package-lock.json again 2019-02-15 16:28:28 +03:00
Ildar Kamalov
35b5f4b48b Fixed json and updated zh_tw 2019-02-15 16:28:28 +03:00
Ildar Kamalov
cb9ffe4de9 Send 0 on empty port value 2019-02-15 16:28:28 +03:00
Ildar Kamalov
351673c060 Initial port values 2019-02-15 16:28:28 +03:00
Ildar Kamalov
1dd548c36c Added button to reset encryption settings 2019-02-15 16:28:28 +03:00
Ildar Kamalov
93847bd309 Convert certificate and key to base64 2019-02-15 16:28:28 +03:00
Ildar Kamalov
3898309778 Request tls status after save 2019-02-15 16:28:27 +03:00
Ildar Kamalov
c025c845d2 Show random status and warning 2019-02-15 16:28:27 +03:00
Ildar Kamalov
ab11c912db Added topline component and fixed string interpolation 2019-02-15 16:28:27 +03:00
Ildar Kamalov
7451eb1346 Initial components for encryption settings 2019-02-15 16:28:27 +03:00
Andrey Meshkov
dd3621bcf6 Fix #582 2019-02-12 14:46:44 +03:00
Ildar Kamalov
5ca33e44d8 Fix object spread 2019-02-07 18:51:21 +03:00
Eugene Bujak
548f539566 npm 6.7.0 unconditionally modifies package-lock.json. Commit those changes. 2019-02-07 18:24:42 +03:00
Ildar Kamalov
ba161e9a6f Increase button width 2019-02-07 16:21:17 +03:00
Ildar Kamalov
91eaf72051 Disable button on submit 2019-02-07 16:09:12 +03:00
Ildar Kamalov
826529e73e Common reducer for toasts 2019-02-07 15:40:26 +03:00
Ildar Kamalov
c466f8cc73 Check if ip_addresses exist in the interface 2019-02-07 15:17:27 +03:00
Andrey Meshkov
bb8d7c37bb Minor cleanup, added strings, added more information to response when error occurs 2019-02-07 14:22:08 +03:00
Ildar Kamalov
39b2e345c3 Fixed custom select arrow 2019-02-07 11:24:23 +03:00
Ildar Kamalov
a7a38413fe Remove unused icons 2019-02-07 10:58:02 +03:00
Ildar Kamalov
ba678ffa82 Hide 80 web port 2019-02-06 17:32:32 +03:00
Ildar Kamalov
31b855f9ab Show list of addresses 2019-02-06 17:22:46 +03:00
Ildar Kamalov
f379d34813 Added select for listen interfaces 2019-02-06 17:22:46 +03:00
Ildar Kamalov
924afea22b Show port in interface and dns address 2019-02-06 17:21:23 +03:00
Ildar Kamalov
c494e17df5 Update packages 2019-02-06 17:17:38 +03:00
Ildar Kamalov
7c25c0febe Added DHCP warning 2019-02-06 17:17:38 +03:00
Ildar Kamalov
5f7fc0f041 Remove 'enabled' from initial values 2019-02-06 17:17:38 +03:00
Ildar Kamalov
beb94741cf Fixed initial values and string interpolation 2019-02-06 17:17:38 +03:00
Ildar Kamalov
24be7ce4ed Fixed page reload on settings change 2019-02-06 17:17:38 +03:00
Ildar Kamalov
6e41897323 Disable form submit on error 2019-02-06 17:17:38 +03:00
Ildar Kamalov
b5e7237169 Update components on language change 2019-02-06 17:17:38 +03:00
Ildar Kamalov
7e95ce9136 Add device configuration instruction 2019-02-06 17:17:38 +03:00
Ildar Kamalov
a7416f9c34 Fixed validation and added toasts 2019-02-06 17:17:38 +03:00
Ildar Kamalov
2bd4840ba5 Fix styles 2019-02-06 17:17:38 +03:00
Ildar Kamalov
5349ec76fd Added components for web setup 2019-02-06 17:17:38 +03:00
Ildar Kamalov
71259c5f19 Added web setup entry point 2019-02-06 17:17:38 +03:00
Ildar Kamalov
297a1c7fa5 Added regex example to the "Custom filtering rules" settings
Closes #559
2019-01-25 18:40:42 +03:00
Ildar Kamalov
8d5d37c281 Removed extra key 2019-01-16 15:16:34 +03:00
Ildar Kamalov
e1bb428a6a Only allow single click on buttons
Closes #544
2019-01-16 14:51:17 +03:00
Ildar Kamalov
61f4b6f1ae Update ru translation
Closes #536
2019-01-15 15:36:55 +03:00
Ildar Kamalov
f678eaf9c0 Update translations
Closes #540
2019-01-15 15:35:29 +03:00
Hoàng Rio
607089cd25 Fix missing translate key when added new filter url 2019-01-15 14:22:05 +03:00
Hoàng Rio
df94d76a8b Add translate to Filter ReactTable 2019-01-15 14:22:05 +03:00
Ildar Kamalov
eb71f3ed8f Added Traditional Chinese
Closes #510
2019-01-04 21:22:22 +03:00
Andrey Meshkov
b0c4d88d54 Indicate that DHCP is experimental 2018-12-29 20:00:20 +03:00
Ildar Kamalov
568784b992 Added check for active DHCP before enable 2018-12-29 18:43:17 +03:00
Ildar Kamalov
4aea91a70c Refresh status button 2018-12-28 19:48:02 +03:00
Ildar Kamalov
712493aafd UI for DHCP interfaces 2018-12-28 18:26:56 +03:00
Ildar Kamalov
9fa85a5c48 Added DHCP form strings to translations 2018-12-28 18:26:56 +03:00
Ildar Kamalov
52b81a27fb Send lease duration as number 2018-12-28 18:26:56 +03:00
Ildar Kamalov
a74c2248fb Send dhcp/find_active_dhcp as POST request 2018-12-28 18:26:56 +03:00
Ildar Kamalov
d46b65f982 Add enable/disable for DHCP server 2018-12-28 18:26:56 +03:00
Ildar Kamalov
dd21f497e3 Added initial layout for DHCP server config 2018-12-28 18:26:56 +03:00
Ildar Kamalov
1b84a9233d Fix link 2018-12-26 11:42:55 +03:00
Ildar Kamalov
aed87ce741 Added filters link to the blocked_by translation
Closes #469
2018-12-26 11:22:15 +03:00
Ildar Kamalov
9fe9baf7f4 Added pagination to the Filters table
Closes #484
2018-12-24 12:08:39 +03:00
Andrey Meshkov
b30b6b1d66 Fix #284
Added DNSCrypt upstreams support
Added DNS Stamps support
2018-12-18 01:20:38 +03:00
Ildar Kamalov
6addc04b97 Update locales 2018-12-17 11:30:52 +03:00
Ildar Kamalov
717a58a872 Fixed logs page crush on filter removing
Closes #479
2018-12-17 11:28:44 +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
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
Ildar Kamalov
d1f5f781c9 Merge branch 'master' into add_languages 2018-11-26 15:44:07 +03:00
Ildar Kamalov
d8c97cbabe Update locales 2018-11-26 15:26:38 +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
Ildar Kamalov
903c1da993 Remove change_language call on loading app 2018-11-26 11:48:06 +03:00
Ildar Kamalov
18f210eef5 Pass two-letter language code 2018-11-26 10:55:42 +03:00
Ildar Kamalov
63f20bc397 Request language from server 2018-11-22 17:56:57 +03:00
Ildar Kamalov
0530f5dff2 Update readme and translations 2018-11-21 11:43:55 +03:00
Ildar Kamalov
1ae6af44d1 Add ru locale 2018-11-19 19:23:57 +03:00
Ildar Kamalov
3779407291 Move translations script to scripts folder 2018-11-19 09:57:45 +03:00
Ildar Kamalov
ced5499083 Fix footer layout 2018-11-16 12:46:18 +03:00
Ildar Kamalov
5bf38041c5 Add oneskyapp scripts for download and upload translations 2018-11-16 12:45:41 +03:00
Hoàng Rio
25f469efd7
Fix minor mistake 2018-11-12 08:32:49 +07:00
hoangrio
3d3e8e7dbc
Translate Copyright text on footer 2018-11-10 21:52:28 +07:00
hoangrio
346fa6e921
Fix wrong translate key 2018-11-10 14:11:10 +07: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
Andrey Meshkov
fc7d93b920 Force safe search on Youtube 2018-11-06 15:03:42 +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
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
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
Hoàng Rio
e399a5fe37
Merge branch 'master' into i18n 2018-10-31 08:19:43 +07:00
Ildar Kamalov
49ff0d2b9a Added green background for whitelist rows 2018-10-30 18:10:05 +03:00
Ildar Kamalov
f3fa497af3 Added filter name to popover 2018-10-30 17:27:47 +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
Hoàng Rio
21b8b233f8
Merge branch 'master' into i18n 2018-10-30 13:07:54 +07: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
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
Ildar Kamalov
c427034e27 Fix tooltips over-lapping
Closes #439
2018-10-29 13:13:32 +03:00
Ildar Kamalov
3cd3b93511 Fix IP address sorting
Closes #437
2018-10-29 13:12:04 +03:00
Hoàng Rio
9863c1f1ac Fix i18n in setting page not update when click change language button at footer 2018-10-29 11:58:25 +07:00
Hoàng Rio
4b821f0bd7 Add switch language button on footer 2018-10-29 10:26:19 +07:00
Ildar Kamalov
90ed48e9fb Fix graph corruption on Edge browser
Closes #433
2018-10-27 21:17:48 +03:00
Andrey Meshkov
234ab23557 Fix gitignore 2018-10-26 14:13:31 +03:00
Hoàng Rio
234e29697f Add translate for Popover 2018-10-26 10:58:18 +07:00
Hoàng Rio
4590564fea Complete translate client to Vietnamese 2018-10-26 09:44:23 +07:00
hoangrio
bfb7a252ad Fix i18n config for use : character 2018-10-25 23:02:04 +07:00
hoangrio
1d12e35dac Merge branch 'master' into i18n 2018-10-25 22:22:10 +07:00
hoangnd
3854a7acf9 Add translate Setting page 2018-10-25 17:33:44 +07:00
hoangnd
3be7366ae1 Fix toast z-index after allow click link on footer on loading 2018-10-25 16:44:23 +07:00
hoangnd
e1069f6bd1 Translate dashboard to Vietnamese with i18n 2018-10-25 14:28:52 +07:00
hoangnd
f8ee8a7907 Allow click footer link when loading 2018-10-25 12:55:35 +07:00
Mo Mustakim Ali
e466a09e20
Update index.js 2018-10-23 15:58:07 +01:00
Mo Mustakim Ali
98bf5322a3
Using culture-specific approach instead of regex 2018-10-23 13:48:51 +01:00
Mustakim Ali
0c4646201f Fixed linter issue 2018-10-20 17:03:36 +01:00
Mustakim Ali
66b83a5fb5 Formatted 'Rules count' number with ',' separator
147500 => 147,500
2018-10-20 16:50:25 +01:00
Mustakim Ali
12706d4a97 Added missing JSDoc 2018-10-20 16:49:02 +01:00
Ildar Kamalov
bdfb141d36 Fix logo 2018-10-17 14:44:42 +03:00
Eugene Bujak
3e2a3afc52 Rename from 'Adguard DNS' to 'AdGuard Home'. 2018-10-15 16:02:19 +03:00
Ildar Kamalov
c2ba8de206 Fix column max width 2018-10-15 14:57:36 +03:00
Ildar Kamalov
bdaea88bf0 Add "FAQ" link to the header
Closes #370
2018-10-15 13:49:07 +03:00
Andrey Meshkov
8c11449d23 more trackers 2018-10-15 00:08:38 +03:00
Andrey Meshkov
0e04954673 fix url 2018-10-15 00:00:18 +03:00
Andrey Meshkov
1059669b57 tooltip 2018-10-14 23:50:13 +03:00
Andrey Meshkov
c9736ec0fa capitalize category name 2018-10-14 23:42:25 +03:00
Andrey Meshkov
2f61b42e90 Add trackers, rework some text 2018-10-14 23:24:11 +03:00
Andrey Meshkov
e67695df8b Fix some UI issues, rename DNS->Home 2018-10-14 17:49:07 +03:00
Ildar Kamalov
d0d98ba762 Add whotracksme info popover
Closes #364
2018-10-12 19:52:19 +03:00
Andrey Meshkov
5fb603f6c9 trackers module 2018-10-12 17:32:38 +03:00
Ildar Kamalov
1cdbe3f879 Fix sorting issue and show loader
Closes #362
2018-10-12 16:58:48 +03:00
Andrey Meshkov
47a9c6555e Merge pull request #72 in DNS/adguard-dns from feature/360 to master
* commit '35368619b0d7ed0fb838d749cd7b2f63ae9c9aa3':
  Fix footer links
  Add progress bar to the stats tables
  Add new logo
  Replace the main Statistics graph with 4 blocks instead
  Clean static folder on build
2018-10-12 16:38:03 +03:00
Ildar Kamalov
35368619b0 Fix footer links
Closes #360
2018-10-12 16:27:59 +03:00
Ildar Kamalov
6ca881ee86 Add progress bar to the stats tables 2018-10-12 16:02:01 +03:00
Ildar Kamalov
1233901822 Add new logo 2018-10-12 15:23:57 +03:00
Ildar Kamalov
bc11f872fa Replace the main Statistics graph with 4 blocks instead 2018-10-12 15:23:21 +03:00
Ildar Kamalov
599426a1f9 Clean static folder on build 2018-10-12 15:20:59 +03:00
Ildar Kamalov
33958c5a25 Remove unused module 2018-10-11 18:33:56 +03:00
Ildar Kamalov
1e18235c1d Send json for addFilter request 2018-10-11 18:33:56 +03:00
Ildar Kamalov
4b8ee9ce83 Fix params 2018-10-11 18:33:56 +03:00
Ildar Kamalov
5be66e7dc7 Add name field to the filter subscription dialog 2018-10-11 18:33:56 +03:00
Ildar Kamalov
383f1c2fb3 Hide badge if core is not running 2018-10-11 11:08:07 +03:00
Ildar Kamalov
3a74dfdfa4 Add client requests for toggle protection
Closes #333
2018-10-11 10:57:36 +03:00
Andrey Meshkov
151944bc27 fix strings 2018-10-10 17:54:21 +03:00
Andrey Meshkov
a6172d1966 Fix strings 2018-10-10 17:32:36 +03:00
Andrey Meshkov
90bef94500 Fix strings 2018-10-10 17:24:12 +03:00
Eugene Bujak
eb5f66ad9e coredns plugin -- Increase querylog given out to web UI from 1000 to 5000. 2018-10-09 22:53:19 +03:00
Ildar Kamalov
0545aeff3f Fix variable 2018-10-09 11:00:48 +03:00
Ildar Kamalov
814005021c Add hash to the static JS/CSS
Closes #354
2018-10-09 10:25:21 +03:00
Ildar Kamalov
5718f55b9a Fix tooltip width 2018-10-08 18:55:30 +03:00
Ildar Kamalov
6de0871f2c Fix default filtering for query log 2018-10-08 18:44:12 +03:00
Ildar Kamalov
6a90efe957 Fix textarea width 2018-10-08 18:42:55 +03:00
Eugene Bujak
7d7360c700 Web UI API -- Give out 24-hour stat instead of last 3 minutes. 2018-10-03 22:44:50 +03:00
Ildar Kamalov
991574f236 Fix row original 2018-10-02 18:30:34 +03:00
Ildar Kamalov
d7596fe860 Add query log filtering
Closes #322
2018-10-02 18:14:41 +03:00
Ildar Kamalov
e20bfe9d08 Replace line endings on save 2018-09-28 17:47:34 +03:00
Ildar Kamalov
c40f7b4d5c Add "block" and "unblock" buttons to the Query Log 2018-09-28 16:30:52 +03:00
Ildar Kamalov
2c72035000 Add list of upstream servers
Closes #344
2018-09-26 18:38:06 +03:00
Ildar Kamalov
2cf22898dd Add button to the dashboard page for enable/disable filtering
Closes #333
2018-09-26 17:12:31 +03:00
Eugene Bujak
da62fac76e web UI -- Fix engrish when checking upstream DNS servers succeeds 2018-09-25 19:52:50 +03:00
Eugene Bujak
b0549a8e5b web UI -- Fix description of hosts rule syntax, it's other way around 2018-09-25 18:22:41 +03:00
Ildar Kamalov
1c1b952d48 Fix message checking 2018-09-21 18:57:27 +03:00
Ildar Kamalov
c2a2b3ea6a Check upstream length in component 2018-09-21 18:50:06 +03:00
Ildar Kamalov
f727f999f9 Add a test upstreams button
Closes #321
2018-09-21 18:08:39 +03:00
Ildar Kamalov
43fcf4117d Add update check
Closes #338
2018-09-21 15:20:41 +03:00
Ildar Kamalov
0e173d2f70 add progress bar and filters notifications 2018-09-19 18:58:55 +03:00
Ildar Kamalov
df12038f33 Add refresh button to querylog page
Closes #331
2018-09-17 17:44:32 +03:00
Eugene Bujak
ae50a2f827 Merge pull request #20 in DNS/adguard-dns from feature/315 to master
* commit 'ded02d112c0e5b6d9585ec5506f24746abffdff3':
  Add console error
  Fix timeout
  Handle settings errors
  Show toast on failed request
  Fix clear interval
  Add alert on failed requests
2018-09-17 01:44:48 +03:00
Ildar Kamalov
ded02d112c Add console error 2018-09-14 21:31:20 +03:00
Ildar Kamalov
d237df6389 Fix timeout 2018-09-14 16:43:27 +03:00
Ildar Kamalov
22a5abb7b8 Handle settings errors 2018-09-14 16:41:34 +03:00