Commit Graph
84 Commits
Author SHA1 Message Date
Mcat12 b450c35ef8 Use random data for start-fake and build-fake
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-08 14:51:29 -04:00
Mcat12 d3d5949f01 Update packages 2017-09-07 22:32:30 -04:00
Mcat12 9d46553a4d Remove dead prop
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-04 18:29:27 -04:00
Mcat12 39a72367e9 Activate the Wildlist
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-04 18:03:00 -04:00
Mcat12 ebf6e3acb1 Specify the type of blacklist in the Exact Blacklist page
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-04 17:57:16 -04:00
Mcat12 12d9fb8da9 Update sidebar with wildlist
Also update the file with "paraphrased" code from the upstream CoreUI
project:
https://github.com/mrholek/CoreUI-React/blob/master/React_Starter/src/components/Sidebar/Sidebar.js

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-04 17:55:47 -04:00
Mcat12 d812fa414d Add Blacklist page
Major refactor of the list page. Abstracted list management logic into
the ListPage component. The Wildlist page will soon be put under the
blacklist category with the exact blocking page (the current Blacklist)

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-09-04 16:13:23 -04:00
Mcat12 c72d5606b4 Remove debug commands from GitLab CI
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:52:23 -04:00
Mcat12 80f13afcef Remove config debug logging
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:51:56 -04:00
Mcat12 4f4ff74b3a Fix missing window reference
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:39:26 -04:00
Mcat12 a62ea5ccad Use the same http protocol as the web interface
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:32:44 -04:00
Mcat12 15d781afa8 Fix CI fake API issue
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:28:25 -04:00
Mcat12 6c4f326964 Add debug output for config
Debugging CI fake API issue

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 15:24:19 -04:00
Mcat12 ee9dae9538 Add PUBLIC_URL reference to urlFor in the API functions
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 13:21:19 -04:00
Mcat12 3c55e10d39 Revert PUBLIC_URL changes
Keep the fake api start command

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 13:17:45 -04:00
Mcat12 391b702f5e Put basename into React Router
Also add fake api start command

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 13:13:59 -04:00
Mcat12 5565db0ef5 Revert "Test relative homepage path"
This reverts commit 6c0f810

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 12:49:41 -04:00
Mcat12 6c0f810e5a Test relative homepage path
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-28 12:46:30 -04:00
Mcat12 0ef09bd615 Rebuild package-lock.json
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-26 00:03:19 -04:00
Mcat12 0877034b07 Add node_module cache and test why CI is broken
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-25 23:06:13 -04:00
Mcat12 29da3a4dee Output NPM and Node version info in build
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-25 21:35:12 -04:00
Mcat12 08879eaa7b Handle server error when adding domains
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-25 21:15:33 -04:00
Mcat12 c37ad27d55 Fix missing IP in Top Clients if there's no hostname
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-25 20:43:29 -04:00
Mcat12 e14e7e6c08 Clear domain input on submit
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-11 22:04:13 -04:00
Mcat12 12611b7f05 Clear other messages when adding domain
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-11 21:53:28 -04:00
Mcat12 a6672cca06 Send Content-Type along with the POST request 2017-08-11 21:51:23 -04:00
Mcat12 fd266435c9 Use real API for whitelist add/remove 2017-08-11 21:07:57 -04:00
Mcat12 e4677f8290 Abstract domain list into its own component
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-07 21:53:40 -04:00
Mcat12 da27e276a5 Don't throw an error to the console when changing pages
If a request has not finished before changing the page, we should
suppress the error and not try to change any state because the component
is unmounted.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-08-07 21:22:38 -04:00
Mcat12 5d5cd1162c Forgot to cancel refresh if unmounting component 2017-08-07 21:18:19 -04:00
Mcat12 66d2bfa647 Add refresh to Whitelist
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 22:57:47 -04:00
Mcat12 bf2487816b Use API in Whitelist to remove domains
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 22:52:49 -04:00
Mcat12 1eab6de3e3 Use API in Whitelist to add domains
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 22:36:38 -04:00
Mcat12 ff45014ca6 Add Whitelist API actions
Dummy action ones, but real GET /dns/whitelist

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 22:34:38 -04:00
Mcat12 0514a7473c Add title to Whitelist page
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 21:35:17 -04:00
Mcat12 045eef73ee Add remove functionality to whitelist
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 21:28:38 -04:00
Mcat12 35d3b4b159 Formatting
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 21:18:57 -04:00
Mcat12 16b8cbf66d Make Alert use props instead of parameters
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 21:15:21 -04:00
Mcat12 a9a5d75518 Implement adding unique domains to the whitelist
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 20:50:01 -04:00
Mcat12 4c6004bf91 Add Alert component
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 20:40:12 -04:00
Mcat12 fb119fff9a Add DomainInput component
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 20:39:50 -04:00
Mcat12 d45254df7b Add package-lock.json and prop-types package
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-31 20:38:40 -04:00
Mcat12 fb525c47a2 Simplify code by not using classes when they aren't needed
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 15:37:54 -04:00
Mcat12 a69976ad4a Replace let with const when able
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 14:56:20 -04:00
Mcat12 d8fa185e69 Move export default into class headers
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 14:45:07 -04:00
Mcat12 c2edbae9cc Add empty Whitelist page
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 14:37:12 -04:00
Mcat12 a2aee0b8aa Move Query Log to components
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 14:20:56 -04:00
Mcat12 235c52db32 Don't filter Action column
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-30 14:17:10 -04:00
Mcat12 bed63b5739 Add filtering and default sort to Query Log
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-29 14:20:36 -04:00
Mcat12 317896d320 Add GitLab CI config
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2017-07-27 22:32:57 -04:00