Commit graph

48 commits

Author SHA1 Message Date
5989a678e4 fix(deps): update golang.org/x/net digest to 0699458
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-27 00:00:23 +00:00
7607c68d5b
I am a moron
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-07-26 00:45:33 +02:00
b3001e3887
Hopefully fix release
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-07-26 00:42:05 +02:00
Sam
80648e08f6 (refactor) Draw the rest of the owl (#38)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #38
2022-07-26 00:32:31 +00:00
4b4409e464 fix(deps): update golang.org/x/net digest to 46097bf
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 22:00:17 +00:00
ab31959765 fix(deps): update module github.com/lucas-clemente/quic-go to v0.28.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-24 21:00:16 +00:00
1008988ff0 fix(deps): update module github.com/urfave/cli/v2 to v2.11.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 00:56:07 +00:00
0a39197e1e fix(deps): update golang.org/x/sys digest to 8c9f86f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 00:54:38 +00:00
a82997cba3 fix(deps): update golang.org/x/net digest to a158d28
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-23 00:46:24 +00:00
Sam
3085c116d6 Fix -x flag (#35)
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 15:02:08 +00:00
d9a5e177aa fix(deps): update golang.org/x/sys digest to c0bba94
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-15 11:00:40 -05:00
dc5abacaa1 Update golang.org/x/sys digest to 0a85c31
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 23:13:50 +00:00
Sam
8c057e1f15 ci: change YAML to jsonnet (#34)
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-12 23:13:37 +00:00
6df0d2d309 Update module github.com/urfave/cli/v2 to v2.11.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-10 12:00:28 -05:00
1ba14bdb6d Update golang.org/x/net digest to 1185a90
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-08 18:00:24 -05:00
34b4fca9fc Update golang.org/x/sys digest to 5a0f066
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-08 04:00:24 -05:00
bec634eb61 Update golang.org/x/net digest to c90051b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-06 12:00:25 -05:00
64ec0c66ec Update golang.org/x/sys digest to 05e143d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-06 07:04:35 -05:00
Sam
d31ad6e71a Add basic makefiles (#25)
All checks were successful
continuous-integration/drone/push Build is passing
close #24

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Reviewed-on: #25
Co-authored-by: Sam <sam@samtherapy.net>
Co-committed-by: Sam <sam@samtherapy.net>
2022-07-03 20:50:58 +00:00
ed4d74bb96 refactor of query.go (#27)
All checks were successful
continuous-integration/drone/push Build is passing
Includes a fix for #26

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #27
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-03 20:45:12 +00:00
85a00bffbf Add debug logging (#23)
All checks were successful
continuous-integration/drone/push Build is passing
Close #12

Reviewed-on: #23
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-03 17:58:29 +00:00
1ec4cb4d05 More unit tests (#19)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-07-02 16:34:42 +00:00
ffb714532b Update golang.org/x/sys digest to 3183198
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 22:00:23 -05:00
e6f5140ed8 Update golang.org/x/sys digest to 179beb0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 18:00:27 -05:00
adef5607af Update module github.com/lucas-clemente/quic-go to v0.28.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 16:00:24 -05:00
Sam
220964fc02 Windows and Plan 9 DNS Config (#17)
All checks were successful
continuous-integration/drone/push Build is passing
Closes #14, #15

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #17
2022-06-30 22:37:08 +00:00
b86f621581 Update golang.org/x/net digest to 69896b7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-30 17:00:22 -05:00
5035898c13
Add a LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-29 23:12:30 +02:00
98a14b1bf8 Merge logawl package into master (#10)
All checks were successful
continuous-integration/drone/push Build is passing
This PR is to bring in the new logging package for awl, I wanted to do some refinements before I opened this to upstream

logawl works in the following ways

1. It prints logs directly to std.err
1. The default log level is Info (this can be changed multiple ways)
1. It supports four log levels Error, Fatal, Info, Debug
1. It differs from the syslog package in the stdlib wherin it default to std.err you do not _need_ to define an out file (syslog for example)
1. I added a "debug" flag so now we can go through and define verbose logging through the app
5.5 I made it so we can call `Logger.debug("message")` anywhere in the query file but unless the debug flag is set to true it will not print a message (it is working as intended finally).

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: #10
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-29 22:57:03 +00:00
5fab5a08a7 Update module github.com/stretchr/testify to v1.8.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-29 06:00:21 -05:00
4754097a40 Update module github.com/urfave/cli/v2 to v2.10.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-27 21:00:34 -05:00
68c3345e9b Update module github.com/stretchr/testify to v1.7.5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-27 20:00:21 -05:00
c0c5eb4a06 Update golang.org/x/net digest to 1bab6f3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-24 18:00:22 -05:00
db78235ecd
hehe off-by-one
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-23 23:18:54 +02:00
bf06f7a3aa
I am still somehow getting paid to do this
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-23 23:12:48 +02:00
027514b4cc Update golang.org/x/net digest to 263ec57 2022-06-23 07:29:27 +00:00
589b13320a Cannot defined things twice in same package (#5)
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-23 07:29:06 +00:00
160c89ca1e
I got paid to write this 2022-06-22 22:59:17 +02:00
ff78fa1e50 Add renovate.json 2022-06-22 11:55:52 +00:00
9b979667d6 Make everything more readable (#2)
1. I made JSON print indented instead of inline
2. I created a util package and moved `ReverseDNS` and `ResolveHTTPS` there
3. I created a new struct called Answers where all variables for the output live now, and adjusted the response struct to have the Answers struct in it. This lets us reuse the struct more instead of having variables floating around, lets us make the response more custom, offers more understandable code reuse, and makes things (I think) more readable.

Aside: you will notice the struct has little json defs. This is because struct values encode as JSON objects and can preserve the output name this way

Most of this just makes expanding on awl easier in the future.

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: #2
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-22 11:55:38 +00:00
50d7b9dc2a
Rewrite in Go :^)
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-21 22:54:50 +02:00
8c11828529
lint, again
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-19 16:04:42 +02:00
19aac80ce7
Allow query to not be case sensitive
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-19 16:03:54 +02:00
a29f69fce7
fix lint
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-19 15:52:35 +02:00
2b7cd9ea73
Untested: add wild domain parsing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-19 15:51:14 +02:00
9415622fb9
Fix naming
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-18 20:17:15 +02:00
7a7d4ad325
Change container distro
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-18 20:14:42 +02:00
6f4ae7de65
Initial commit
Some checks failed
continuous-integration/drone Build is failing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-18 20:11:46 +02:00