Lan Tian
5ad6a4d35c
frontend: fix race condition when setting up web server
2025-09-27 01:50:53 -07:00
Ljcbaby
5422c8fd8c
refactor: deplcate Handle register
2025-09-27 01:50:53 -07:00
Ljcbaby
5042980d79
frontend multi listen
2025-09-27 01:50:53 -07:00
dependabot[bot]
7cd69746df
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.19.0 to 1.21.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.19.0...v1.21.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-version: 1.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-09 00:04:30 +00:00
dependabot[bot]
f23d36f357
build(deps): bump github.com/spf13/pflag in /frontend
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.8 to 1.0.10.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.8...v1.0.10 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-03 19:11:24 +00:00
dependabot[bot]
b2d64d19e3
build(deps): bump github.com/spf13/pflag in /frontend
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-01 00:06:28 +00:00
dependabot[bot]
5ab3b95d64
build(deps): bump github.com/jarcoal/httpmock in /frontend
...
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/jarcoal/httpmock/releases )
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/jarcoal/httpmock
dependency-version: 1.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-20 05:12:43 +00:00
dependabot[bot]
bc61579e6a
build(deps): bump github.com/spf13/pflag in /frontend
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-17 00:07:25 +00:00
Lan Tian
d40dd3a4d3
frontend: handle protocol names with dash
2025-07-01 17:45:12 -07:00
Lan Tian
ffdeeac06e
frontend: refactor summary table parsing
2025-07-01 00:55:15 -07:00
Lan Tian
7eb4d75bbf
frontend: handle protocol names starting with number
2025-07-01 00:04:03 -07:00
Lan Tian
6e5e190d32
frontend: try fix TestWhoisConnectionError on darwin
2025-06-08 22:01:39 -07:00
Lan Tian
0d5337508b
frontend: update API test to adapt to changes in #118
2025-04-23 21:12:40 -07:00
Mxmilu666
b9094d3d6c
fix(template): typo
2025-04-23 21:08:40 -07:00
Mxmilu666
ec7f348418
feat(api): return data from available services even if one backend fails
2025-04-23 21:08:40 -07:00
dependabot[bot]
4df3918b35
build(deps): bump github.com/magiconair/properties in /frontend
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.9 to 1.8.10.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.9...v1.8.10 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-version: 1.8.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-10 00:20:55 +00:00
dependabot[bot]
55ea5c3b28
build(deps): bump github.com/jarcoal/httpmock in /frontend
...
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/jarcoal/httpmock/releases )
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/jarcoal/httpmock
dependency-version: 1.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-07 00:52:24 +00:00
dependabot[bot]
761eb2160a
build(deps): bump github.com/spf13/pflag in /frontend
...
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-30 00:02:32 +00:00
dependabot[bot]
3db9454350
build(deps): bump github.com/magiconair/properties in /frontend
...
Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties ) from 1.8.7 to 1.8.9.
- [Release notes](https://github.com/magiconair/properties/releases )
- [Commits](https://github.com/magiconair/properties/compare/v1.8.7...v1.8.9 )
---
updated-dependencies:
- dependency-name: github.com/magiconair/properties
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-09 00:50:06 +00:00
Marc 'risson' Schmitt
0fdde8afc7
frontend: allow webserver to trust proxy headers ( #106 )
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2024-07-14 15:50:18 -07:00
Lan Tian
0dd1c07b66
frontend: disable escaping of special HTML chars for BGPMap graph
2024-07-01 21:17:43 -07:00
Lan Tian
f0f072c4a6
frontend: handle UTF-8 characters in GraphViz graphs
2024-06-30 13:04:15 -07:00
dependabot[bot]
1b0b923da9
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.2...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 00:32:44 +00:00
Marc 'risson' Schmitt
ac31862237
frontend: show dynamic BGP sessions without any color ( #98 )
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2024-02-18 22:11:20 -08:00
Lan Tian
ff55064a20
frontend: adjust navbar display of many servers
2023-12-31 16:31:56 -08:00
dependabot[bot]
7b0e5689d4
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.1...v1.18.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 00:26:13 +00:00
dependabot[bot]
32e00d2ce3
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.0...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 00:44:41 +00:00
dependabot[bot]
00b5c12787
build(deps): bump github.com/spf13/viper in /frontend
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-07 00:57:01 +00:00
Lan Tian
38bf6aba09
frontend: fix unit tests
2023-11-25 10:47:37 -08:00
Lan Tian
d261c22235
frontend: add connection timeout
2023-11-25 10:30:13 -08:00
dependabot[bot]
fe07ebb5a5
build(deps): bump github.com/gorilla/handlers in /frontend
...
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/gorilla/handlers/releases )
- [Commits](https://github.com/gorilla/handlers/compare/v1.5.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/handlers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 01:00:08 +00:00
dependabot[bot]
47113184f4
build(deps): bump github.com/spf13/viper in /frontend ( #85 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 21:04:04 -07:00
Lan Tian
b368c75aa3
frontend: fix whois client cannot get default whois port
2023-09-08 18:38:23 -07:00
Lan Tian
09405cdb38
frontend: also print whois client output on error
2023-09-08 18:22:31 -07:00
Lan Tian
f999d47d9f
frontend: force enable whois client regex parser on alpine/musl
2023-09-07 19:14:04 -07:00
Lan Tian
005dfb1435
frontend: make docker image whois client try to use config file
2023-09-07 00:51:56 -07:00
Lan Tian
81acde3a37
frontend: add whois client for more complex whois lookup
2023-09-06 20:35:30 -07:00
dependabot[bot]
a5f4452d02
build(deps): bump github.com/jarcoal/httpmock in /frontend ( #82 )
...
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/jarcoal/httpmock/releases )
- [Commits](https://github.com/jarcoal/httpmock/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/jarcoal/httpmock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 00:44:30 -07:00
towalink
e949646790
Properly escape URL path ( #81 )
2023-06-10 15:14:10 -07:00
dependabot[bot]
d40f41b4d5
build(deps): bump github.com/spf13/viper in /frontend ( #80 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 00:58:06 -07:00
Lan Tian
db58bd3354
frontend: add a test case for lookup DNS -> WHOIS fallback
2023-05-06 00:26:40 -07:00
Lan Tian
a0246ccee2
general: add unit tests for >80% coverage
...
Includes a few minor fixes:
- frontend: support setting port for WHOIS server
- proxy: fix handling of very long lines
- proxy: refactor IP allowlist logic, parse allow IP list at startup
2023-05-06 00:23:28 -07:00
James Lu
ccd14af0c8
settings: treat empty environment variables as set ( #77 )
...
This allows disabling specific options like dns_interface or whois via environment variables.
ref: https://github.com/spf13/viper#working-with-environment-variables
2023-05-05 21:36:38 -07:00
Lan Tian
594ca80f50
frontend: fix whois lookup & only show bgpmap nexthop info on the first hop
2023-05-05 20:20:12 -07:00
Lan Tian
5625058e71
frontend: use ASN as bgpmap node identifier (instead of resolved whois result)
2023-05-05 19:52:30 -07:00
Lan Tian
7efa3237a9
frontend: refactor bgpmap code to fix #75
2023-05-05 01:58:05 -07:00
Lan Tian
7b0c8c0556
general: bump go version in go.mod
2023-01-26 22:01:47 -08:00
dependabot[bot]
ffd9165062
build(deps): bump github.com/spf13/viper in /frontend ( #73 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 10:50:42 -08:00
Yuhui Xu
9e17b116f1
frontend: refactor bgpmap and fix node colors ( #67 )
...
* frontend: refactor bgpmap and fix node colors
* frontend: alternative way to test bgpmap
2022-12-07 16:30:19 -06:00
dependabot[bot]
4b73cf0fcb
build(deps): bump github.com/spf13/viper in /frontend ( #64 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 20:26:37 -06:00