Commit graph

17 commits

Author SHA1 Message Date
f2f040be18 Verify credentials work before persisting
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-31 08:29:15 -07:00
91b0ddb18e Improve password connection
The pi-hole API key is really just the web password hashed twice with
SHA256, so instead of doing some complex stuff with logging in and
pulling the api key from the webpage with a regex, we can just do the
double hashing on device and save some time.
2020-01-26 13:43:54 -07:00
fab41c2f63 Add AboutView with option to forget Pi-hole
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-26 13:43:26 -07:00
4c0cacc8b2 Bump build version for TestFlight release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-23 21:07:16 -07:00
69d461b98b Fix scanning
the scanning functionality in and of itself worked just fine, but upon
successful connection, it would return to the scan or direct connection
screen, then go to the authentication screen, and then return to the
previous screen. This little hack prevents that but it should really be
replaced with a better solution.
2020-01-23 21:05:23 -07:00
9300d5760d Bump build number for TestFlight release
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-23 20:33:50 -07:00
0973b863d2 Fix some localization format errors
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-23 20:33:01 -07:00
a2e0a30328 Make views aware of keyboard
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-23 20:32:51 -07:00
f1faf2959c Fix error dialogs and permanent disable
Signed-off-by: William Brawner <me@wbrawner.com>
2020-01-23 07:19:03 -07:00
87ed95f26f Changes for 1.0 TestFlight release
There were quite a few changes here, I got a bit carried away.
2020-01-20 18:11:55 -07:00
Billy Brawner
d42d85c419 Add app icon assets
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-11-16 19:46:10 -07:00
Billy Brawner
703ca0717a Add methods for automatically detecting the Pi-Hole
As soon as the user starts up the app, we'll first try to ping their DNS
server, as that should in theory be the Pi-Hole. If that doesn't work,
then we offer the user the chance to either scan their network or
manually enter in the IP address for their Pi.
2019-11-16 19:12:56 -07:00
Billy Brawner
1ce7b74329 Allow plaintext traffic
I highly doubt most people will have their Pi-Hole set up with HTTPS (I
know I certainly don't), so plaintext traffic is a must. It shouldn't be
a problem witihin one's LAN.
2019-11-16 16:26:56 -07:00
Billy Brawner
e9cdb6df6f Fix title on details view
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-20 09:20:44 -07:00
Billy Brawner
726beb550e Fix IP address format if it doesn't include the scheme
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-19 23:41:55 -07:00
Billy Brawner
3628f34598 Add somewhat functional implementation of enabling and disabling the Pi-Hole
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-19 23:22:38 -07:00
Billy Brawner
3c9efcfbce Initial Commit 2019-10-17 15:47:09 -07:00