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
Mcat12
4f0abc0e8b
Style Query Log better
...
Also change top level from Home to Admin
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-26 23:06:03 -04:00
Mcat12
48840aadfd
Properly format query times
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-26 22:46:51 -04:00
Mcat12
adf7e20bb5
Add first version of the Query Log
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-24 23:05:12 -04:00
Mcat12
ff62cb8eea
Wrap API promises to provide a way to cancel them
...
This can be useful when moving from one page to the next so that
the old page's promises and timeouts don't try to run `setState`
on an unmounted component.
2017-07-23 13:40:39 -04:00
Mcat12
a5d63d1ed9
Forgot to include the package.json for utils
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-22 22:37:32 -04:00
Mcat12
db7aeffd91
Fix name and homepage in package.json
2017-07-22 22:29:01 -04:00
Mcat12
89e23e4bab
Combine util files
2017-07-22 20:12:57 -04:00
Mcat12
a1b156caf7
Use HashRouter instead of BrowserRouter
...
Effective change is moving from `/dashboard` to `/#/dashboard`.
This means that instead of relying on a server-side rule to redirect `/*` to `/index.html`, the JavaScript handles it for us by making the server think we want `/` and having JavaScript open the `/dashboard` page for us.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-04 13:28:32 -04:00
Mcat12
e306a1564f
Add unique clients display in summary
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-04 12:16:50 -04:00
Mcat12
ca8ad9f92c
Switch total queries and blocked queries
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-04 12:08:53 -04:00
Mcat12
91f79d5bd8
Limit blocked percent to 2 decimal points
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-04 12:06:23 -04:00
Mcat12
3eee16f7d1
Add sidebar header
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-04 12:03:51 -04:00
Mcat12
73e327f895
Silly git converting binary files to text internally...
...
Fixes some browser console errors such as:
```
Failed to convert WOFF 2.0 font to SFNT
```
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-02 17:25:55 -04:00
Mcat12
e6b8117853
Implement fakeAPI functionality
...
I need it temporarily, but it is a good feature to have for testing anyways. Simply place the API output you want to expose in the correct file (`public/fakeAPI/stats/summary`) and make sure that the config file you are using has `fakeAPI` set to `true` (`.env.development`).
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-07-01 20:32:04 -04:00
Mcat12
79a3d6464d
Format the stat when output in the table
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 16:21:26 -04:00
Mcat12
74fd253c81
Simplify some of parseObjectForGraph
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 15:43:40 -04:00
Mcat12
b4d83d7651
Update query graph API endpoint
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 14:57:13 -04:00
Mcat12
5d5bc92701
Fix incorrect total in progress bar tooltip
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 14:33:17 -04:00
Mcat12
765ffdafe1
Add Top Clients
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 14:29:48 -04:00
Mcat12
6d56ceabe5
Remove escapeHtml function
...
Not needed, as React automatically escapes the input to avoid XSS.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 14:15:18 -04:00
Mcat12
4f35d907aa
Make header pretty
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-30 14:14:04 -04:00
Mcat12
e492bfb67a
Clean up index.html
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 21:58:19 -04:00
Mcat12
78514a2b72
Add Top Blocked Domains
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 21:55:40 -04:00
Mcat12
d70e2da8ce
Remove top_ads from TopDomains state
...
It's not needed.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 21:07:43 -04:00
Mcat12
64a3720015
Add Top Domains chart
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 20:53:33 -04:00
Mcat12
cbdcf72235
Only show data points when we have the full 10 min
...
Makes the newer graphs act like the queries over time graph.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-25 21:10:47 -04:00
Mcat12
f79b1ac0b6
Add Forward Destinations Over Time graph
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-25 21:05:40 -04:00
Mcat12
2a2be3f43c
Move common graph functions to a central location
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-25 18:44:59 -04:00
Mcat12
99fd1a7a3e
Add Query Types Over Time
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-25 18:34:24 -04:00
Mcat12
310db4bdb7
Update Query graph header
2017-06-21 21:32:29 -04:00
Mcat12
9bbc4f8daf
Implement Query graph
2017-06-21 21:31:00 -04:00
Mcat12
95b30674ed
Start on queries graph
2017-06-20 21:15:14 -04:00
Mcat12
b0d396839a
Improve summary visuals
2017-06-20 21:14:34 -04:00
Mcat12
476a64a468
Initial commit
2017-06-17 17:03:55 -04:00