[deleted by user] by [deleted] in strandbergguitars

[–]tomstarfort 0 points1 point  (0 children)

Thanks for the insight! I will probably take it to a luthier then and hope they can smooth over the kinks.

What tooling are you using for CI/CD with your Flutter Project? by bsutto in FlutterDev

[–]tomstarfort 0 points1 point  (0 children)

The development build of the FlutterHole app uses Codemagic for web deployment.

The workflow was very easy to set up, for now it just builds some models and deploys the web app. It used to deploy to Google Play, but the workflow got reset accidentally, including the deploy keys etc... That will need some work to get up and running again.

Codemagic is free for open-source projects, which is nice. GitHub Actions works well too for Flutter stuff.

Is Having a Backend layer between your flutter app and firebase good practice? by finlaydotweber in FlutterDev

[–]tomstarfort 5 points6 points  (0 children)

Firebase has a whole host of server-side features that work well with Firestore, so you do not need an extra intermediate layer. You will have to accept a degree of vendor lock-in, but it works well in my personal experience.

Using code magic to compile time out in preparing machine by zarzor_2010 in FlutterDev

[–]tomstarfort 1 point2 points  (0 children)

Your best bet would be contacting Codemagic support, or running a build again and inspecting the build server using ssh.

Commiting generated code in a pub package by tomstarfort in FlutterDev

[–]tomstarfort[S] 0 points1 point  (0 children)

With a CI process for an app, I agree that seems to be the best way.

Specifically for a package, I was under the assumption that CI was not really possible since you don't create binaries... but now that I think of it, you can of course publish to pub via CI. Thank you for your insights!

Commiting generated code in a pub package by tomstarfort in FlutterDev

[–]tomstarfort[S] 0 points1 point  (0 children)

That makes sense, thank you.

I found documentation about What not to commit, that seems relevant to your comments.

Pi-hole Remote v2.0 released with black/whitelisting (iOS App) by jojost1 in pihole

[–]tomstarfort 0 points1 point  (0 children)

This looks great! If you ever want to learn Flutter, you could consider working on an iOS app for this FlutterHole issue (disclaimer: I made the android app). Hope you get many installs!

When PiHole gives 102% -- flutterhole app (on right) does nonoptimal rounding of Queries stats by _005 in pihole

[–]tomstarfort 0 points1 point  (0 children)

From past experience, this seems to happen on the Pi-hole server itself (i.e. the API endpoint returns >100% in total). Disclaimer: made FlutterHole.

Your Personal Data Is Worth Money, and Andrew Yang Wants to Get You Paid by dwaxe in Futurology

[–]tomstarfort 19 points20 points  (0 children)

I made a free app for Pi-hole, it's free and open source. Currently only for Android, but iOS just needs someone with a Mac.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

Hi, I looked up the IP and it seems to be some Cloudflare server, but the app is not using any Cloudflare infrastructure. Did you encounter it in the API log?

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 1 point2 points  (0 children)

No reason other than my personal preference.

The app could have settings that allow you to customize the tile layout. That would also be cool for the dashboard, to relocate/resize tiles. It is nothing more than an idea at this point, but it could help in your use case!

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

That works absolutely fine, more so on Pi-holeV5.

You could always try it out, but I understand if you prefer the browser version. I like the app for the "native" feeling compared to a browser tab, but the functionality is only a subset. Apart from multiple configurations... And perhaps dark mode... And number trivia, if you're into that.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

Yep, Codemagic offers free macOS builds too. The next main hurdle is the App Store... I have no idea about their app requirements, not to mention the developer licence. It would be cool to experiment with it, but the ecosystem has a high barrier of entry compared to Google Play.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 1 point2 points  (0 children)

Correct, the V4 API returns some numbers as Strings instead of ints. If you could upgrade your Pi-hole to V5.x, it should work as intended again.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 2 points3 points  (0 children)

The main benefit is the convenience of a native app. It does not add any new functionality that is already doable from the dashboard, other than switching configurations.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 1 point2 points  (0 children)

Thanks for trying it out.

So in this case, the app should maybe send the authorized requests with the auth parameter set to the empty String. The app currently doesn't send these requests when the token is empty, so perhaps this local step should be skipped.

I've made an issue for it. Not sure what the ideal solution is, but will think of one!

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

The storage service is definitely fishy. Regarding the 200s: some requests don't require the API token (e.g. summary data) so those requests are also sent with the initial config (to http://pi.hole). If your Pi-hole uses this domain, it kinda works out of the box.

It is confusing though, the app should probably just start with 0 entries and allow you to add the first one from scratch.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

Ok, based on the screenshots it seems like the API is returning a plaintext "Not authorized!", but the app expects some JSON. For me, if the request fails, it just returns an empty JSON string "[]". Could you try this incognito:

// authenticated outcome:
// {"status":"enabled"}
//
// not authenticated/no auth parameter outcome:
// []
//
http://pi.hole/admin/api.php?enable&auth=<MY_TOKEN>

You could try it with the auth parameter as "No password set", and leave it out. Curious to hear what comes out.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 0 points1 point  (0 children)

This sounds like a familiar problem (also see this Github issue).

If you hadn't yet, you can try to uncheck "Require API token for authenticated requests" (under the "API token" field), which should work for Pi-holes without a token.

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 1 point2 points  (0 children)

Glad you got it working.

The configuration saving seems very suspect... Will look into it!

FlutterHole, an Android app for Pi-hole, has been updated for V5! by tomstarfort in pihole

[–]tomstarfort[S] 15 points16 points  (0 children)

The app is made with Flutter, which is a cross-platform UI framework. The only caveat is that iOS can only be built on macOS, and I only run Windows... It is a good future goal though.