Commit Graph

125 Commits

Author SHA1 Message Date
Jeff Carr 24c72570a5 more cleaning
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 15:38:40 -06:00
Jeff Carr 34bbd63bfb more cleanups after removing old window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 15:07:30 -06:00
Jeff Carr 5dee2af784 old window is nearly deprecated
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 14:57:51 -06:00
Jeff Carr ba3d5a3cb2 more isolation of Update() pieces
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 14:23:19 -06:00
Jeff Carr 398d9fe3c4 works in sierpinski carpet mode
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 13:55:46 -06:00
Jeff Carr b7c90c8bbc stepping through init on a window with state
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 11:12:10 -06:00
Jeff Carr f35ad0837b more window handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 05:55:51 -06:00
Jeff Carr 8b59a3141a move UID code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 05:32:52 -06:00
Jeff Carr 3457aefa86 add LinuxStatus()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 05:24:11 -06:00
Jeff Carr d2fb88cd58 start the series of fix() checks
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 02:48:46 -06:00
Jeff Carr 01eca8fc10 all engines still firing
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 02:21:56 -06:00
Jeff Carr ca3a01f478 make new resolverStatus()
also fix dns-https

Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 01:41:33 -06:00
Jeff Carr 2d1e321326 fix panic
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 15:42:46 -06:00
Jeff Carr 65f7db2ba6 all engines firing quietly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 14:49:42 -06:00
Jeff Carr fc6c72740b ready to debug 'gui/cloudflare'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 01:07:34 -06:00
Jeff Carr 0592636049 all engines are starting without the rocket exploding
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:42:15 -06:00
Jeff Carr ee6c4e2a72 almost starting all the engines on startup
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:30:58 -06:00
Jeff Carr fdcd51d211 hide extra windows by default
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:11:48 -06:00
Jeff Carr ff21dba712 convert to gadget.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 00:07:13 -06:00
Jeff Carr 3baa63dadf first gadgets.BasicWindow()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-04 22:01:39 -06:00
Jeff Carr d52dc52734 working logSettings window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-04 12:22:14 -06:00
Jeff Carr c1a00fcc1a use 'go.wit.com/log'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 19:33:13 -06:00
Jeff Carr 138f72728c moved to using 'gui/debugger'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 13:25:07 -06:00
Jeff Carr e14770e94c fixed stuff
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 12:40:31 -06:00
Jeff Carr 1324717de0 add log.Register(INFO) and go-arg support
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 00:56:59 -06:00
Jeff Carr 0f4e348333 display droplet works better
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 18:27:19 -06:00
Jeff Carr 55c9d4b0c4 finally get droplet Create() working again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 16:07:36 -06:00
Jeff Carr 1e0773ad9e select memory size
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 12:12:55 -06:00
Jeff Carr 519e428e2f launch xterm
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 09:52:23 -06:00
Jeff Carr e4a04f36f0 work on Connect()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 07:45:37 -06:00
Jeff Carr c5ff4637fb droplet create has region
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 05:48:29 -06:00
Jeff Carr d2f0691744 create takes a name. delete() droplet works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 02:50:20 -06:00
Jeff Carr 44730e1b91 digitalocean droplet power on & off work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-30 23:30:14 -06:00
Jeff Carr be03e85c2d shows the droplets and if they are on or off
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-30 22:41:58 -06:00
Jeff Carr eb007d63d9 display droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-30 20:47:14 -06:00
Jeff Carr a117923b32 show droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-30 12:20:20 -06:00
Jeff Carr 7532fb5ff5 create a basic digitalocean gui object
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-30 09:49:30 -06:00
Jeff Carr ec5cbbe203 added a real IPv6 record
first time deleting cloudflare AAAA record
    can find wit.com on cloudflare
    ready to add cloudflare.Delete()
    remove code since --gui-debug works

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 21:14:36 -06:00
Jeff Carr 867b69f555 switch to using Register() from 'go-arg'
implement 'universal' use of go-arg

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 17:29:47 -06:00
Jeff Carr a3dd21aef0 move to go.wit.com/gui/gadgets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 02:43:00 -06:00
Jeff Carr 5d32baf06e use go.wit.com/gui/gadgets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 02:10:25 -06:00
Jeff Carr 1258be9bef add digital ocean & DNS state windows
lists digital ocean droplets
    create a new digital ocean droplet
    knows what needs to be done to get IPv4 and IPv6 to work
    update windows on Show()
    make a window for the state of DNS specific to the hostname

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 01:36:10 -06:00
Jeff Carr 8afc73da04 DNS status window Show() and Hide()
display HTTPS results from dns.google.com for go.wit.com
    use a grid instead of boxes
    start go.wit.com/log

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-28 15:36:05 -06:00
Jeff Carr 6fa6d6dfc9 Detect that a VPN is needed
IPv6() returns true if it's working
    display duration
    a 'DNS Lookup Status' window
    actual dig results
    display status and failure counters
    count lookup failures and successes
    add TCP dns lookup
    logic to test if dns is working at all
    add DNS over HTTPS
    cloudflare new & update kind of working
    holy shit, go.wit.com finally works with git mod tidy
    working, but cloudflare api stuff is broken
    AAAA '(none)' logic detection is better
    cloudflare control panel
    display the working real AAAA addresses

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-28 09:43:45 -06:00
Jeff Carr 73b0cee933 add a DurationSlider()
widgets to adjust timeouts
    redo bash curl.sh example

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-21 17:56:56 -06:00
Jeff Carr 7409b58ea3 add ignore cloudflare binary 2023-12-21 09:46:02 -06:00
Jeff Carr f5c1a3db05 move code into the cloudflare package 2023-12-21 09:39:33 -06:00
Jeff Carr 1b32ded4dc add the cloudflare example app
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-21 09:16:35 -06:00
Jeff Carr 379fee6d96 rename to go.wit.com/control-panel-dns
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 15:12:26 -06:00
Jeff Carr 382cc8dd17 make a cloudflare package
move cloudflare stuff to a package
    display cloudflare API values
    dns protobuf example
    sort output, but gocli formatting is bad
    cloudflare window can be closed
    first time success pushing AAAA records for my box
    enable a cloudflare button
    RFC 8482. DNS servers we use should respond to ANY
    	We should support ANY requests via DNS
    	as long as we enforce TCP over UDP
    populate the API provider
    domain NS record changes are tracked
    check hostname OS configuration
    detect domain name changes
    lookup of NS records for my domain name
    button to investigate port 53 daemon
    start dns resolver detection and debugging
    measure dns resolution speed
    sort todo items

Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 03:13:43 -06:00