Mcat12
966bebd32c
Check if logged out for POST and DELETE requests
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-06-02 12:24:57 -04:00
Mark Drobnak
13382ed86e
Merge branch 'development' into new/authentication
2018-05-26 23:53:53 -04:00
Mark Drobnak
d665251da7
Merge pull request #19 from pi-hole/tweak/api-format
...
Adjust to improved API format
2018-05-26 23:39:52 -04:00
Dan Schaper
4a55b9eaed
Merge pull request #25 from pi-hole/testing-instructions
...
Fake Data Testing Instructions
2018-05-14 15:42:49 -07:00
Mcat12
d996daff1b
Add "Testing With Fake Data" to the readme
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-14 18:33:50 -04:00
Mcat12
5f17b6268d
Merge branch 'development' into tweak/api-format
2018-05-11 20:56:23 -04:00
Mark Drobnak
078e3eafd2
Merge pull request #20 from pi-hole/tweak/proxy-development
...
Use the proxy feature to simplify API calls during development
2018-05-11 20:50:47 -04:00
Mcat12
9fd526735d
Log the user out when the session lapses
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-03 20:14:26 -04:00
Mcat12
c6f8e9bba5
Add some documentation to Login
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-02 17:54:23 -04:00
Mcat12
0b056580d3
Remove the Return and Ctrl+Return text from the login page
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-02 17:42:05 -04:00
Mcat12
7312ec50e7
Split out the forgot password reminder into a new component
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-02 17:20:11 -04:00
Mcat12
78f86b7837
Clear the password before authenticating but after hashing
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-02 17:03:52 -04:00
Mcat12
3093933f3a
Change cursor on login button
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-05-02 17:02:01 -04:00
Mark Drobnak
6eefdc936b
Merge pull request #21 from pi-hole/tweak/update-dependencies
...
Update dependencies
2018-05-01 10:00:25 -04:00
Mcat12
e978568eb7
Verify that login was successful
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 17:31:14 -04:00
Mcat12
9a318c970c
Add cookie check to login page
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 16:00:08 -04:00
Mcat12
f4ee15ed07
Redirect users to their original destination when logging in
...
If a user goes to a protected page and is redirected to the login page,
tell them that they will be redirected upon successful login and do
that.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:48:28 -04:00
Mcat12
2d70327887
Require authentication to certain routes through the Router
...
This prevents people from just going directly to the protected pages.
They will get redirected to the login page.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:41:37 -04:00
Mcat12
65555f61dc
Redirect to home from login page if already logged in
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:32:40 -04:00
Mcat12
f184445aa1
Change to cleaner logout redirect
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:32:17 -04:00
Mcat12
c0f78c26b9
Remove finished logout todo
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:23:16 -04:00
Mcat12
001fe33366
Log out via the API when logout is clicked
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 15:19:30 -04:00
Mcat12
d46755db2a
Add Logout button
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 14:59:03 -04:00
Mcat12
cc22d3e16c
Redirect to home when logged in
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 14:58:16 -04:00
Mcat12
d49bc3343c
Turn off list modification when not logged in
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 14:47:38 -04:00
Mcat12
7b4ba8003a
Add an auth field to the sidebar to make it change when logged in
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 13:19:34 -04:00
Mcat12
821588f1be
Don't show all graphs on the dashboard when not logged in
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 13:18:49 -04:00
Mcat12
6ba018cfc3
Merge branch 'tweak/update-dependencies' into new/authentication
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 01:20:13 -04:00
Mcat12
8c79e5a0b5
Update dependencies
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 01:12:24 -04:00
Mcat12
bcc4e854c9
Add a loggedIn boolean to the api object
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 00:38:41 -04:00
Mark Drobnak
9b0195cc25
Merge pull request #18 from pi-hole/tweak/remove-default-whitelist-note
...
Remove the default whitelisted domains note
2018-04-30 00:29:30 -04:00
Mcat12
e7ecb9e4fc
Hash the password before checking with the API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-30 00:25:06 -04:00
Mcat12
5c66a7d1de
Get password before calling setState to clear the password
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-29 23:52:17 -04:00
Mcat12
83e46cd7d4
Use the proxy feature to simplify API calls during development
...
See https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#proxying-api-requests-in-development
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-29 23:18:51 -04:00
Mcat12
62df90d3dc
Merge branch 'development' into new/authentication
2018-04-29 22:59:59 -04:00
Adam Warner
a290c61feb
Merge pull request #16 from pi-hole/tweak/readme
...
Tweak Readme
2018-04-15 19:10:11 +01:00
Mark Drobnak
df47320395
Update README.md
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-11 12:49:12 -04:00
Mark Drobnak
b135c49f4a
Merge pull request #9 from JayCGildea/status_search
...
Status search
2018-04-10 17:26:51 -04:00
JayCG
07bae9093f
Fixed indentation
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-10 18:30:23 +01:00
Florian
813f04e4df
Update README.md
2018-04-08 18:40:50 +02:00
Mcat12
57413e7cc1
Authenticate against the API using /admin/api/auth
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-04-06 20:09:39 -04:00
JayCG
e14d0df4a0
Fixing typo comma
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-01 23:20:00 +01:00
JayCG
240d2ea02d
Added Status const & text search
...
Signed-off-by: JayCG <jg527@kent.ac.uk >
2018-04-01 23:19:08 +01:00
Mcat12
ad31d6627f
Remove debug print in Login.js
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-03-16 16:36:27 -04:00
Mcat12
b84d36bc74
Remove the default whitelisted domains note
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-03-15 13:43:28 -07:00
Mcat12
3171b41ae0
Adjust to improved API format
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-03-15 12:52:14 -07:00
Mark Drobnak
d2d394d5a0
Merge pull request #8 from mrdnomaid/patch-1
...
Change whitelist icon
2018-03-02 17:04:46 -05:00
Mark Drobnak
d11d391ce2
Merge branch 'development' into patch-1
2018-03-02 16:55:23 -05:00
Tom
2893ae1e49
Change whitelist icon
2018-03-02 21:48:08 +00:00
Mark Drobnak
22d6e3d53f
Merge pull request #6 from pi-hole/fix/api-port
...
If the web interface is accessed over a special port, use it for the API
2018-03-01 13:54:07 -05:00