Commit Graph

37 Commits

Author SHA1 Message Date
Tyler 3c5656284c Fix extra character on cgo environment variable
continuous-integration/drone/push Build is passing Details
2022-08-06 16:25:05 -04:00
Tyler 08da75d309 Disable cgo 2022-08-06 16:24:45 -04:00
Tyler 8ea77adee2 Update go.sum
continuous-integration/drone/push Build is failing Details
2022-08-06 16:23:50 -04:00
Tyler 91b99572c2 Ensure ginkgo is installed
continuous-integration/drone/push Build is failing Details
2022-08-06 16:22:51 -04:00
Tyler ffcb068ff5 Initial testing implementation of checks
continuous-integration/drone Build is failing Details
2022-08-06 16:20:46 -04:00
Tyler 290e5575cc Initial testing implementation of checks 2022-08-06 16:19:12 -04:00
Tyler 9caa391601 Resolve issue with returning a lower number of servers, add auth to reload
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-04-02 14:35:46 -04:00
Tyler e5434a9a7b Add mirror status endpoint, timestamp on last activity
continuous-integration/drone/push Build is passing Details
2022-04-02 04:50:12 -04:00
Tyler 2f43f2d934 Strip leading slashes from requests to download map
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-04-02 01:21:42 -04:00
Tyler a571832239 Add support for region paths
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-04-01 00:04:27 -04:00
Tyler 20ae76ff06 Fix distance sorting, add env variable for local IP to test
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-31 22:43:18 -04:00
Tyler b4ed1fc1a3 Check redirect path and add trailing slash if necessary
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-31 22:23:51 -04:00
Tyler aa8a187bda Mimic existing mirrors endpoint, add geoip
continuous-integration/drone Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-31 22:04:19 -04:00
Tyler e06eced768 No more initial status messages = starting does nothing
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-31 01:04:04 -04:00
Tyler 6c52d1a5b2 Rewrite to add weighting and caching
continuous-integration/drone/push Build is passing Details
2022-03-31 00:57:21 -04:00
Tyler 13f95ee895 Allow real IP from loopback AND private
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 22:58:15 -04:00
Tyler 99c0137034 Fix redirect handler (again) to use notfound
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 22:16:50 -04:00
Tyler 64551704a3 Use proper methods and fix redirect handler
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 22:08:51 -04:00
Tyler d2d8e6ecad I'm an idiot who forgot to flag.Parse()
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 21:44:58 -04:00
Tyler bb3cea2ce2 Add proper signal checking, support for reload (map only)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
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
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 21:26:04 -04:00
Tyler cb8b3a084f Use logrus logger
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 21:18:25 -04:00
Tyler 164964a127 Add step concurrency
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-03-30 21:03:12 -04:00
Tyler be4e9ba7cf Revert realProto call in http.go as we're doing it properly
continuous-integration/drone/push Build was killed Details
2022-03-30 21:01:25 -04:00
Tyler 38ea55ccc2 Add chi for middleware, logging, fix x-forwarded headers
continuous-integration/drone/push Build is passing Details
2022-03-30 21:00:28 -04:00
Tyler 0fdb6911ca Add proper CMD
continuous-integration/drone/push Build is passing Details
2022-03-30 20:43:10 -04:00
Tyler 7695d7e916 Fix Dockerfile
continuous-integration/drone/push Build is passing Details
2022-03-30 20:34:05 -04:00
Tyler 7830955b4f Disable cgo, add docker support
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2022-01-10 00:15:07 -05:00
Tyler fb0c46ee34 Rename handlers to reflect proper handler naming
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
2022-01-09 23:53:23 -05:00
Tyler c98b04f9c1 Update dlrouter path
continuous-integration/drone/push Build is passing Details
2022-01-09 23:49:13 -05:00
Tyler 0415041917 Initial commit
continuous-integration/drone Build is passing Details
2022-01-09 23:47:40 -05:00