Commit Graph

39 Commits

Author SHA1 Message Date
brngates98
9cfb732c11 Replace Python endpoint-discovery with --discover flag (replaces #936)
- Add --discover and --discover-output to unpoller; uses first unifi
  controller from config to probe known API endpoints and write a
  shareable markdown report.
- Add Discoverer interface and RunDiscover(); inputunifi implements
  Discoverer via unifi.DiscoverEndpoints.
- Remove tools/endpoint-discovery/ (Python/Playwright).
- Add docs/PR_936_REPLACEMENT.md. .gitignore: test config and report.

Requires unpoller/unifi with DiscoverEndpoints (replace in go.mod until
unifi release).
2026-01-30 20:17:00 -05:00
brngates98
6be9312a1a Add tools/endpoint-discovery for controller API discovery
- Python script (Playwright) that logs in to UniFi controller and captures
  XHR/fetch requests to /api and /proxy/ endpoints
- Writes API_ENDPOINTS_HEADLESS_<date>.md in tool directory (easy for users)
- Helps debug 404s (e.g. device-tags #935): users can run and share output
- Optional, read-only; not required for building or running unpoller
2026-01-30 19:52:40 -05:00
Cody Lee
38ac45fc17 update golangci-lint, address lint issue 2024-12-31 14:12:35 -06:00
Cody Lee
d2b420ee08 packages for 386 and arm 2022-11-09 17:13:47 -06:00
Cody Lee
ee707a3149 adds signing to packages
add ruby to so we can have packagecloud uploads

break up builds so we only publish amd64 artifacts to packagecloud, maybe fix packagecloud uploads

archives needs separate ids
2022-11-08 18:48:30 -06:00
David Newhall II
db1950f681 Add packagecloud integration, remove JFrog 2021-04-13 01:15:51 -07:00
David Newhall II
d897916345 Update application builder 2021-03-15 00:41:09 -07:00
davidnewhall2
5fe2c0879b add freebsd package building 2020-02-01 00:25:25 -08:00
davidnewhall2
623e4ef97a vendor updates 2020-01-30 18:21:34 -08:00
davidnewhall2
091e0f8de6 fix gitignore 2019-12-28 19:50:26 -08:00
davidnewhall2
44c544d8e1 Add dynamic plugin support 2019-12-16 03:11:40 -08:00
davidnewhall2
c1bdc16184 put gitignore back 2019-12-14 18:33:11 -08:00
davidnewhall2
e220610df7 nearly there 2019-12-14 18:10:35 -08:00
davidnewhall2
b3641efeae sign packages 2019-12-04 23:19:03 -08:00
David Newhall II
ecd7c0ba8a Update deploy key 2019-09-09 20:55:03 -07:00
David Newhall II
c36d6dabe4 Doc updates. 2019-07-13 04:29:11 -07:00
David Newhall II
0ab583368c More generic 2019-07-09 02:14:24 -07:00
David Newhall II
3930ec495c Pass in build env from file. 2019-07-08 19:45:16 -07:00
David Newhall II
3abe5317f3 Minor changes. 2019-07-07 20:12:23 -07:00
David Newhall II
369cf612c6 docker updates 2019-07-06 19:45:23 -07:00
David Newhall II
ac43cf65c7 Make more packages. 2019-07-03 21:27:50 -07:00
David Newhall II
8e9055e172 Rename a few things. 2019-06-23 18:38:27 -07:00
David Newhall II
ff2ff0f5d5 Change to newer toml library. Add untested support for xml, json and yaml config file formats. 2019-06-21 03:58:05 -07:00
David Newhall II
5f7b2bf05c Change man file 2019-06-21 03:25:28 -07:00
David Newhall II
ba0c348340 fix merge conflict. 2019-06-14 00:37:44 -07:00
David Newhall II
8cd80fcf83 Fix homebrew build. 2019-06-13 01:46:42 -07:00
unifi-poller-bot
00db2fb6de Start deployment of formula 2019-06-12 17:30:38 -07:00
David Newhall II
50b2c07548 Build formula file from template with Makefile. 2019-06-12 17:30:38 -07:00
David Newhall II
4e20414138 Build more. 2019-06-12 04:16:21 -07:00
David Newhall II
dfd4000012 Combined after install scripts. 2019-06-07 13:54:26 -07:00
David Newhall II
aa1a4710fc Move builds into Makefile. 2019-06-07 13:45:19 -07:00
David Newhall II
f275dcc637 minor updates. 2019-06-05 18:07:30 -07:00
David Newhall II
41d2d201ac Build osx package too. 2019-05-30 20:25:48 -07:00
David Newhall II
da5d7163cb Update build procedures. Add rpm and deb package scripts. 2019-05-30 19:14:05 -07:00
David Newhall II
5760237a6e Use spf13 pflag. 2019-05-30 02:17:13 -07:00
DN2
f638cdab10 Allow multiple points per device. 2018-04-27 23:44:18 -07:00
DN2
bb0e3ccfd8 Use a config file instead of env vars. 2018-04-22 15:39:55 -07:00
DN2
12ea5d0d47 Projectize the project. 2018-04-22 14:10:55 -07:00
Garrett Bjerkhoel
c226f420b2 Build heroku compatible app 2016-09-30 00:08:55 -07:00