Commit Graph

25 Commits

Author SHA1 Message Date
Ethan Knowlton e7a6f54ff9 chore(jwt): cleaning up JWT tests and checks 2023-11-14 03:46:03 -05:00
Ethan Knowlton 45192d651f added RSA and EDDSA 2023-11-04 22:56:51 -04:00
Ethan Knowlton d9bf3259e0 Added JWT Authentication 2023-10-10 15:52:05 -04:00
Ethan Knowlton d70ee291d4 forgot to come back for trusted headers 2023-10-08 18:39:18 -04:00
Ethan Knowlton 967931fd25 Enable use of Environment Variables
I didn't want to kep the API Key in a file because it could be exposed
so I thought a environment variable would be good. Might of got carried
away and didn't need to put all config options in environment variables.

commit ba35fa73512a5d0d868c9e9147f55fe50db0ec99
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:35:31 2023 -0400

    removed debug statement

commit 3808cc26dfac70e5c205df807b26855bf4562196
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:32:27 2023 -0400

    Could Cause Problems

    Shouldn't need to run make as super user, but usually
    you would run `make install`. I could add this to the install step
    and remove the install from all step but it could mess up publishing
    to ip.level.io.

    Just going to remove it for now.

commit aa0cb39b08e71e1ef897f2d3f3a4fc7e5aff4c03
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 20:05:14 2023 -0400

    adding env variables to readme
2023-10-08 14:46:51 -04:00
Ethan Knowlton 79c8f54d44 Cache in Redis
- [x] Pipeline to update binary on server when changes are pushed
- [x] Added config option for Cache TTL in Seconds in `/etc/echoip/config.toml
- [x] Updated Readme for Cache Options
- [x] Added `Null` cache for optional no use of cache

- [x] Adding Redis Cache
- [x] Moving configuration to file config
- [x] Automatic Release for amd64 linux
- [x] Adding automatic deployment

- Added `LICENSE` file to the release file
2023-10-07 01:21:52 -04:00
Ethan Knowlton 269bf95625 refactor module name to levelsoftware 2023-10-05 11:43:02 -04:00
Ethan Knowlton 410002ff47 upadted template, added https option for ipstack 2023-10-04 09:43:37 -04:00
Ethan Knowlton 79e3d6a9be gofmt -- hopefuly what works 2023-09-22 21:28:49 -04:00
Ethan Knowlton 08a55bc67f some refactoring, more to go 2023-09-22 21:21:58 -04:00
Ethan Knowlton 799eea7d12 added ip stack 2023-09-22 20:15:10 -04:00
Ethan Knowlton fcadf09659 revert this error log 2023-09-22 14:24:07 -04:00
Ethan Knowlton e766f27d9d seperate parser from code, verify this is working -- then to add ipstack 2023-09-22 14:22:48 -04:00
Marcell Martini a4d13ad0ed feat: Adding test to main.go 2020-12-31 16:30:15 -04:00
Marcell Martini 08fdacc082 feat: Remove if inside loop from String() 2020-12-31 16:30:15 -04:00
Thatcher ab8f90431b
New template (#121) 2020-12-14 19:02:35 +01:00
Martin Polden a4808f1fa4 http: Log server errors 2020-12-09 21:10:10 +01:00
Martin Polden 0d3594284e cmd: Reject non-option arguments 2020-12-03 22:28:27 +01:00
Martin Polden 6878f54585 http: Add support for profiling 2020-09-05 12:21:02 +02:00
Martin Polden 0caa5873b9 cmd: Remove go-flags 2020-09-05 11:41:18 +02:00
Martin Polden 78116f69ad Implement response cache 2019-12-25 21:04:26 +01:00
Niklas 7fbc2e1b9f ASN database, part 2 (#67)
ASN lookup
2019-07-05 15:01:45 +02:00
Martin Polden ddc4d9e53c Log if template is unreadable 2018-12-28 15:05:31 +01:00
Martin Polden f34172761f Log valid URL when binding to all IPs 2018-12-28 14:51:20 +01:00
Martin Polden 988f3fd19a Rename ipd -> echoip 2018-08-27 20:50:56 +02:00