Commit Graph

1369 Commits (79771b4b4e66cd9d3610a160a0842f27afa7d5f9)
 

Author SHA1 Message Date
Igor Chubin d91c6da43e Suppress more HTTP log messages
2 years ago
Igor Chubin 0e2e39774e Use db-based location cache by default
2 years ago
Igor Chubin c398d9204d Implement location resolution interface
2 years ago
Igor Chubin 08794675a7 Add github.com/sirupsen/logrus to dependencies
2 years ago
Igor Chubin 04f064460c Fix linter findings for: funlen, nestif, gocognit, revive, cyclop
2 years ago
Igor Chubin 635ac451c0 Fix linter findings for: goerr113
2 years ago
Igor Chubin 173b501a2d Fix linter findings for: forbidigo, funlen, forcetypeassert, stylecheck
2 years ago
Igor Chubin fca62e63c3 Add Makefile target: lint
2 years ago
Igor Chubin bb4474b0cf Add linter configuration
2 years ago
Igor Chubin aa3600a011 Fix linter checks
2 years ago
Igor Chubin aec889e65e Add internal/util/files.go
2 years ago
Igor Chubin 53b074af93 Add internal/geo/location/
2 years ago
Igor Chubin 1bcdd45f34 Add geoloc cache converter
2 years ago
Igor Chubin 1510ce6a88 Add new option: --geo-resolve for geo queries
2 years ago
Igor Chubin caecca05cf Add Nominatim configuration
2 years ago
Igor Chubin 2ce4c28c34 Add Nominatim queries resolution initial support
2 years ago
Lucas Larson ca54ff4d2d
fix spelling (#822)
2 years ago
Igor Chubin b8a7991cb6 Switch to GeoIP Cache DB
2 years ago
Igor Chubin 4855adeaf6 Add support for geoip cache db writing
2 years ago
Igor Chubin a27541a25b Add support for geoip cache db reading
2 years ago
Igor Chubin 4599029329 Ignore local queries in stats
2 years ago
Igor Chubin 307476764a Add internal/util/yaml.go
2 years ago
Igor Chubin b54ba36643 Add geoip cache converter
2 years ago
Igor Chubin bcb3667aef Add samonzeweb/godb and mattn/go-sqlite3 to go.mod
2 years ago
Igor Chubin 6c0107bf7a Add temporary support for /:geo-ip-{get,put}
2 years ago
Igor Chubin 9835874422 Update Makefile
2 years ago
Igor Chubin f9e5e0ecf6 Add github.com/stretchr/testify to go.mod
2 years ago
Igor Chubin 3765dcbfbf Count number of queries with known IPs
2 years ago
Igor Chubin 074b8b6ec8 Add GeoIP info cache access
2 years ago
Igor Chubin a6f2844c67 Suppress log if needed
2 years ago
Igor Chubin 5d86d36b7e Add config file parsing/dumping
2 years ago
Igor Chubin 2328b29bfe Add CLI parsing
2 years ago
Igor Chubin fb8f0d248b Move cmd/srv.go to ./
2 years ago
Igor Chubin 12df32b07c Split rest of srv into packages
2 years ago
Igor Chubin 0d42c23d5b Move stats to a separate package
2 years ago
Igor Chubin aef41c375e Fix Makefile
2 years ago
Igor Chubin 30c2c85e54 Move global consts to config
2 years ago
Igor Chubin 28f1fd9aae Move global transport to RequestProcessor
2 years ago
Igor Chubin 7b8c6665e8 Move config to separate package
2 years ago
Igor Chubin f27bf2d5b3 Move routing to separate module
2 years ago
Igor Chubin ec264850a4 Add /:stats support
2 years ago
Igor Chubin 8fd712f790 Add cmd/route.go
2 years ago
Igor Chubin 762e0fe8f0 Move RequestProcessor to a struct
2 years ago
Igor Chubin b6687ee037 Add gopkg.in/yaml.v3 to go.mod
2 years ago
Igor Chubin 60e1a3bf68
Merge pull request #809 from evansa/fix-typo
2 years ago
Igor Chubin 2c367d0157 Return err from ProcessRequest instead of panic
2 years ago
Igor Chubin 5b240c590e Print PREFETCH only when prefetching
2 years ago
Igor Chubin d4e96dbf3a Write HTTP errors to log
2 years ago
Igor Chubin d804310586 Add cmd/logsuppress.go
2 years ago
Igor Chubin ff4f258f2d Don't redirect if TLS is already in use
2 years ago