Commit Graph

27 Commits

Author SHA1 Message Date
Tyler
20ae76ff06 Fix distance sorting, add env variable for local IP to test
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:43:18 -04:00
Tyler
b4ed1fc1a3 Check redirect path and add trailing slash if necessary
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:23:51 -04:00
Tyler
aa8a187bda Mimic existing mirrors endpoint, add geoip
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 22:04:19 -04:00
Tyler
e06eced768 No more initial status messages = starting does nothing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-31 01:04:04 -04:00
Tyler
6c52d1a5b2 Rewrite to add weighting and caching
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-31 00:57:21 -04:00
13f95ee895 Allow real IP from loopback AND private
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2022-03-30 22:58:15 -04:00
Tyler
99c0137034 Fix redirect handler (again) to use notfound
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 22:16:50 -04:00
Tyler
64551704a3 Use proper methods and fix redirect handler
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 22:08:51 -04:00
Tyler
d2d8e6ecad I'm an idiot who forgot to flag.Parse()
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:44:58 -04:00
Tyler
bb3cea2ce2 Add proper signal checking, support for reload (map only)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:37:47 -04:00
Tyler
8b2d22a93b Add config path flag for non-docker running 2022-03-30 21:33:35 -04:00
Tyler
c9593a5a0d Only build docker on tagged releases
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:26:04 -04:00
Tyler
cb8b3a084f Use logrus logger
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2022-03-30 21:18:25 -04:00
Tyler
164964a127 Add step concurrency
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-30 21:03:12 -04:00
Tyler
be4e9ba7cf Revert realProto call in http.go as we're doing it properly
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-30 21:01:25 -04:00
Tyler
38ea55ccc2 Add chi for middleware, logging, fix x-forwarded headers
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 21:00:28 -04:00
Tyler
0fdb6911ca Add proper CMD
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 20:43:10 -04:00
Tyler
7695d7e916 Fix Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-30 20:34:05 -04:00
Tyler
7830955b4f Disable cgo, add docker support
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-30 20:13:51 -04:00
Tyler
516390b17d Cleanup status checks, debugging 2022-01-11 01:10:36 -05:00
Tyler
e4a14fb9fd Make adding servers async, checks after starting http service to avoid delays, add prom metrics 2022-01-11 01:05:20 -05:00
Tyler
d75188848a Add dl_map endpoint
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-10 00:15:07 -05:00
Tyler
fb0c46ee34 Rename handlers to reflect proper handler naming
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-10 00:13:42 -05:00
Tyler
9ecda3832f More cleanup and patches (specifically for servers), add support for download url mapping 2022-01-10 00:11:15 -05:00
Tyler
e6d3782450 A bit of cleanup and documentation
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-09 23:53:23 -05:00
Tyler
c98b04f9c1 Update dlrouter path
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-09 23:49:13 -05:00
Tyler
0415041917 Initial commit
All checks were successful
continuous-integration/drone Build is passing
2022-01-09 23:47:40 -05:00