Igor Chubin
|
53b29709b1
|
Fix revive findings
|
2022-12-24 18:11:42 +01:00 |
|
Igor Chubin
|
91e52efa31
|
Fix gocritic findings
|
2022-12-24 18:10:20 +01:00 |
|
Igor Chubin
|
9190897277
|
Fix gochecknoglobals findings
|
2022-12-23 20:55:30 +01:00 |
|
Igor Chubin
|
232637db11
|
Fix nonamedreturns findings
|
2022-12-23 20:13:13 +01:00 |
|
Igor Chubin
|
5b80bf417b
|
Fix lll findings
|
2022-12-23 20:05:30 +01:00 |
|
Igor Chubin
|
d86f03f2b7
|
v1: Move icons to a function
|
2022-12-23 17:15:17 +01:00 |
|
Igor Chubin
|
ba82bbd096
|
Fix wastedassign findings
|
2022-12-23 17:02:39 +01:00 |
|
Igor Chubin
|
8cdf491cb5
|
Fix whitespace findings
|
2022-12-23 16:59:36 +01:00 |
|
Igor Chubin
|
bebbc32353
|
Fix nlreturn findings
|
2022-12-23 16:55:14 +01:00 |
|
Igor Chubin
|
0bf476bd41
|
Run gofumpt for view/v1
|
2022-12-23 16:35:30 +01:00 |
|
Igor Chubin
|
cfe5b0761e
|
Add v1 Go dependencies
|
2022-12-23 16:33:28 +01:00 |
|
Igor Chubin
|
602ee55a8b
|
Remove internal/view/v1/go.{mod,sum}
|
2022-12-23 16:32:51 +01:00 |
|
Igor Chubin
|
afd335cfa7
|
Set v1 package
|
2022-12-23 16:25:26 +01:00 |
|
Igor Chubin
|
25b321015b
|
Rename internal/view/v1/main.go -> internal/view/v1/cmd.go
|
2022-12-23 16:24:31 +01:00 |
|
Igor Chubin
|
c94cc933dd
|
Move we-lang to internal/view/v1
|
2022-12-23 16:23:08 +01:00 |
|
Igor Chubin
|
7f9eb91ecc
|
Print geolocation errors
|
2022-12-23 14:53:16 +01:00 |
|
Igor Chubin
|
ecc9479719
|
Skip existing entries in db when converting
|
2022-12-23 14:45:59 +01:00 |
|
Igor Chubin
|
38e2ddd69b
|
Keep existing db when converting geocache
|
2022-12-23 14:09:17 +01:00 |
|
Igor Chubin
|
54b5bfc64d
|
Link statically
|
2022-12-23 14:08:39 +01:00 |
|
Igor Chubin
|
302b00ee7d
|
Add opencage support
|
2022-12-22 22:33:03 +01:00 |
|
Igor Chubin
|
2e67874e04
|
Add NominatimLocation
|
2022-12-22 18:07:01 +01:00 |
|
Igor Chubin
|
45900bc565
|
Prepend function name when doing logging in readFromCacheDB
|
2022-12-18 16:27:12 +01:00 |
|
Igor Chubin
|
c9fc3aa74a
|
Rename Location to Address in geo/ip
|
2022-12-18 16:26:30 +01:00 |
|
Igor Chubin
|
d91c6da43e
|
Suppress more HTTP log messages
|
2022-12-18 16:24:55 +01:00 |
|
Igor Chubin
|
0e2e39774e
|
Use db-based location cache by default
|
2022-12-18 15:46:13 +01:00 |
|
Igor Chubin
|
c398d9204d
|
Implement location resolution interface
|
2022-12-18 15:44:20 +01:00 |
|
Igor Chubin
|
08794675a7
|
Add github.com/sirupsen/logrus to dependencies
|
2022-12-18 15:44:06 +01:00 |
|
Igor Chubin
|
04f064460c
|
Fix linter findings for: funlen, nestif, gocognit, revive, cyclop
|
2022-12-17 20:49:48 +01:00 |
|
Igor Chubin
|
635ac451c0
|
Fix linter findings for: goerr113
|
2022-12-11 14:58:40 +01:00 |
|
Igor Chubin
|
173b501a2d
|
Fix linter findings for: forbidigo, funlen, forcetypeassert, stylecheck
|
2022-12-11 14:50:06 +01:00 |
|
Igor Chubin
|
fca62e63c3
|
Add Makefile target: lint
|
2022-12-11 14:29:17 +01:00 |
|
Igor Chubin
|
bb4474b0cf
|
Add linter configuration
|
2022-12-11 14:28:58 +01:00 |
|
Igor Chubin
|
aa3600a011
|
Fix linter checks
|
2022-12-11 14:28:34 +01:00 |
|
Igor Chubin
|
aec889e65e
|
Add internal/util/files.go
|
2022-12-11 14:27:46 +01:00 |
|
Igor Chubin
|
53b074af93
|
Add internal/geo/location/
|
2022-12-11 14:27:27 +01:00 |
|
Igor Chubin
|
1bcdd45f34
|
Add geoloc cache converter
|
2022-12-11 09:36:11 +01:00 |
|
Igor Chubin
|
1510ce6a88
|
Add new option: --geo-resolve for geo queries
|
2022-12-09 21:03:10 +01:00 |
|
Igor Chubin
|
caecca05cf
|
Add Nominatim configuration
|
2022-12-09 21:02:47 +01:00 |
|
Igor Chubin
|
2ce4c28c34
|
Add Nominatim queries resolution initial support
|
2022-12-09 21:02:10 +01:00 |
|
Lucas Larson
|
ca54ff4d2d
|
fix spelling (#822)
This is a pull request to fix #822, where
> the words “ultraviolet” and “until” are misspelled `/lib/fields.py`:
>
> - dabfc55c8b/lib/fields.py (L33)
> - dabfc55c8b/lib/fields.py (L94)
> - dabfc55c8b/lib/fields.py (L97)
> - 8dc0e08f5e/lib/fields.py (L100)
> - dabfc55c8b/lib/fields.py (L103)
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
|
2022-12-09 13:28:03 -05:00 |
|
Igor Chubin
|
b8a7991cb6
|
Switch to GeoIP Cache DB
|
2022-12-07 20:10:38 +01:00 |
|
Igor Chubin
|
4855adeaf6
|
Add support for geoip cache db writing
|
2022-12-06 19:37:57 +01:00 |
|
Igor Chubin
|
a27541a25b
|
Add support for geoip cache db reading
|
2022-12-06 18:52:26 +01:00 |
|
Igor Chubin
|
4599029329
|
Ignore local queries in stats
|
2022-12-06 18:03:24 +01:00 |
|
Igor Chubin
|
307476764a
|
Add internal/util/yaml.go
|
2022-12-04 21:16:39 +01:00 |
|
Igor Chubin
|
b54ba36643
|
Add geoip cache converter
|
2022-12-04 21:16:23 +01:00 |
|
Igor Chubin
|
bcb3667aef
|
Add samonzeweb/godb and mattn/go-sqlite3 to go.mod
|
2022-12-04 21:15:43 +01:00 |
|
Igor Chubin
|
6c0107bf7a
|
Add temporary support for /:geo-ip-{get,put}
With these queries, the IP resolution cache can be centralized
under the front end server, and its internal format can be changed.
|
2022-12-04 17:37:22 +01:00 |
|
Igor Chubin
|
9835874422
|
Update Makefile
|
2022-12-04 16:56:11 +01:00 |
|
Igor Chubin
|
f9e5e0ecf6
|
Add github.com/stretchr/testify to go.mod
|
2022-12-04 16:55:58 +01:00 |
|