filipowm
831fea8c4b
feat: update to the controller version 9.2.87
2025-06-23 10:01:10 +02:00
dependabot[bot]
bbbce58b47
chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 ( #64 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
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>
2025-04-02 09:55:12 +02:00
dependabot[bot]
dc424aae1b
chore(deps): bump github.com/go-playground/validator/v10 from 10.25.0 to 10.26.0 ( #67 )
...
chore(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.25.0 to 10.26.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.25.0...v10.26.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
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>
2025-04-02 09:51:05 +02:00
Brendann
88d631c434
fix: updated FirewallZonePolicy.json to handle port list and ranges ( #68 )
2025-04-02 09:49:39 +02:00
dependabot[bot]
e51afcaf1d
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in the go_modules group ( #62 )
...
chore(deps): bump github.com/golang-jwt/jwt/v4 in the go_modules group
Bumps the go_modules group with 1 update: [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ).
Updates `github.com/golang-jwt/jwt/v4` from 4.5.1 to 4.5.2
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 20:23:43 +01:00
dependabot[bot]
2805fad221
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in the go_modules group ( #61 )
...
chore(deps): bump github.com/golang-jwt/jwt/v5 in the go_modules group
Bumps the go_modules group with 1 update: [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ).
Updates `github.com/golang-jwt/jwt/v5` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 19:37:00 +01:00
Mateusz Filipowicz
4814504c98
feat: support auto allow return traffic for firewall zone policy with create_allow_respond ( #60 )
2025-03-21 17:12:33 +01:00
Mateusz Filipowicz
bfa3bba50d
fix: do not omit empty portal_customized_bg_image_filename and portal_customized_logo_filename ( #59 )
2025-03-21 16:58:24 +01:00
dependabot[bot]
4e41cd466d
chore(deps): bump github.com/golangci/golangci-lint from 1.64.7 to 1.64.8 ( #55 )
...
chore(deps): bump github.com/golangci/golangci-lint
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.7 to 1.64.8.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.7...v1.64.8 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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>
2025-03-20 20:44:10 +01:00
Mateusz Filipowicz
b6512ab793
fix: perform client-side filtering on GET firewall zone, because API for getting single zone by ID does not exist ( #58 )
2025-03-20 20:42:16 +01:00
Mateusz Filipowicz
a931ceb6bf
fix: remove match_mac from firewall zone destination which is not supported ( #57 )
2025-03-20 19:54:47 +01:00
Mateusz Filipowicz
12bf4bae30
feat: support list of MAC addresses for Firewall Zone Policy ( #56 )
2025-03-20 19:54:13 +01:00
Mateusz Filipowicz
1def1e4ec4
fix: adjust firewall zone policy resource date attributes ( #54 )
...
* fix: adjust firewall zone policy resource date attributes
2025-03-18 00:08:25 +01:00
Mateusz Filipowicz
c8a3b96575
fix: adjust guest access settings ( #53 )
2025-03-17 04:09:53 +01:00
Mateusz Filipowicz
873818ddac
feat: support Remember Me for prolonging session validity on user/pass authentication ( #52 )
2025-03-16 11:48:44 +01:00
dependabot[bot]
473cd3f1ed
chore(deps): bump github.com/golangci/golangci-lint from 1.64.6 to 1.64.7 ( #48 )
...
chore(deps): bump github.com/golangci/golangci-lint
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.6 to 1.64.7.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.6...v1.64.7 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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>
2025-03-16 02:33:00 +01:00
Mateusz Filipowicz
e41cfe08e2
fix: use omitEmpty only on hotspot for SettingIps ( #51 )
2025-03-16 02:18:36 +01:00
Mateusz Filipowicz
98885a12a3
fix: allow empty fields in SettingMgmt ( #50 )
2025-03-14 12:27:01 +01:00
dependabot[bot]
be47029c5d
chore(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 in the go_modules group ( #49 )
...
chore(deps): bump golang.org/x/net in the go_modules group
Bumps the go_modules group with 1 update: [golang.org/x/net](https://github.com/golang/net ).
Updates `golang.org/x/net` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 23:19:57 +01:00
Mateusz Filipowicz
a10b02ca2c
fix: revert allowed empty fields for NTP servers
2025-03-11 00:54:44 +01:00
Mateusz Filipowicz
55cfe22636
fix: allow more empty fields on rsyslogd, NTP, IPS and USG settings ( #45 )
2025-03-05 12:29:46 +01:00
dependabot[bot]
e37bb391a2
chore(deps): bump github.com/golangci/golangci-lint from 1.64.5 to 1.64.6 ( #43 )
...
chore(deps): bump github.com/golangci/golangci-lint
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.5 to 1.64.6.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.5...v1.64.6 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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>
2025-03-03 08:03:26 +01:00
Mateusz Filipowicz
278a72fbb9
feat: add support for uploading Hotspot Captive Portal files (like background image, logo) ( #42 )
...
* feat: add support for uploading Hotspot Captive Portal files (like background image, logo)
* feat: add UploadPortalFileFromReader
2025-03-03 02:03:10 +01:00
Mateusz Filipowicz
bdc73a9811
docs: fix invalid godoc for generated settings methods
2025-03-02 22:27:49 +01:00
Mateusz Filipowicz
a5955a6358
feat: support checking supported and enabled controller features ( #41 )
...
* feat: support checking supported and enabled controller features
* linting
2025-03-02 22:22:18 +01:00
Mateusz Filipowicz
4e6e9d97b7
fix: add missing ip_group_id to firewall zone policy to support firewall groups of address-group type (ipv4) ( #39 )
...
fixes #38
2025-03-02 21:15:18 +01:00
Mateusz Filipowicz
75015fcfaa
docs: fix validation documentation mentioning string values instead of int codes
2025-02-26 07:38:50 +01:00
Mateusz Filipowicz
bbc373a354
fix: explicitly set Setting key when updating a settings ( #37 )
2025-02-23 14:00:19 +01:00
Mateusz Filipowicz
e79dcb13f0
feat: add logging and support for custom logger ( #36 )
...
* feat: add support for logging
* fix linting
* chore: remove old APIError in favor of ServerError
2025-02-23 12:59:46 +01:00
Mateusz Filipowicz
95a4ff87ea
fix: add missing field mapping for settings ( #35 )
...
* feat: add missing field mapping for settings
* fix: guest access settings expire should be int
2025-02-21 16:53:43 +01:00
Mateusz Filipowicz
ae23f73810
fix: passing setting response body as pointer to Post method ( #34 )
2025-02-21 15:59:06 +01:00
Mateusz Filipowicz
d665aceba2
docs: add migration guide from paultyng/go-unifi
2025-02-21 06:56:53 +01:00
Mateusz Filipowicz
637809c663
feat: support Zone-Based Firewalls ( #33 )
...
* feat: support Zone-Based Firewalls
* chore: add usage example of zone-based firewall
* chore: add note to readme to support unifi controller v2
* fix: invalid path for reordering firewall zone policies
2025-02-20 18:48:04 +01:00
Mateusz Filipowicz
16f71e7fe9
feat: add Version method to client to provide system version information ( #32 )
2025-02-19 09:19:20 +01:00
Mateusz Filipowicz
d3a3d5a342
feat: allow creating own http.RoundTripper for http.Client with HttpRoundTripperProvider when customizing pre-configured http.Transport with HttpTransportCustomizer is not sufficient ( #31 )
...
feat: allow creating own http.RoundTripper for http.Client with `HttpRoundTripperProvider` when customizing pre-configured http.Transport with `HttpTransportCustomizer` is not sufficient
2025-02-19 01:28:11 +01:00
Mateusz Filipowicz
7c7ef98c03
feat: rename HttpCustomizer to HttpTransportCustomizer and make it return http.Transport that is later used ( #30 )
...
* feat: rename HttpCustomizer to HttpTransportCustomizer and make it return http.Transport that is later used
* linting
2025-02-19 01:03:21 +01:00
Mateusz Filipowicz
e25b426a84
docs: update docs with valid reference to detailed documentation
2025-02-18 22:38:47 +01:00
Mateusz Filipowicz
35e7b2c3cc
docs: add detailed usage documentation together with examples ( #29 )
...
* feat: rename Pass to Password in ClientConfig
* docs: add more detailed usage documentation together with examples
* chore: update issue templates
* docs: add codeowners, code of conduct and contributing docs
* chore: add editorconfig
* chore: apply linter
2025-02-18 22:36:08 +01:00
Mateusz Filipowicz
5b32a4763e
chore: rollback bug issue template
2025-02-18 15:51:17 +01:00
Mateusz Filipowicz
ebc01e985b
test
2025-02-18 15:49:55 +01:00
Mateusz Filipowicz
51d523f334
chore: use input-based bug report template
2025-02-18 15:48:43 +01:00
Mateusz Filipowicz
0667fc722a
chore: disable blank issues
2025-02-18 15:44:02 +01:00
Mateusz Filipowicz
b54dbc5e6d
chore: add issue templates
2025-02-18 15:36:57 +01:00
Mateusz Filipowicz
7432260d3e
feat: expose all available actions on all resources through Client ( #27 )
2025-02-18 10:23:18 +01:00
Mateusz Filipowicz
87d0c6e28d
feat(experimental): add support for reading and updating all settings ( #26 )
2025-02-18 09:32:02 +01:00
Mateusz Filipowicz
7b35725921
feat(experimental): add support for reading and updating all settings ( #25 )
2025-02-18 07:43:04 +01:00
Mateusz Filipowicz
0e2736fa54
feat: remove deprecated SettingProviderCapabilities ( #24 )
2025-02-17 17:06:14 +01:00
Mateusz Filipowicz
ede158ad33
chore(deps): update golang to 1.23.5
2025-02-17 15:47:19 +01:00
dependabot[bot]
a3f50c64a9
chore(deps): bump github.com/golangci/golangci-lint from 1.64.2 to 1.64.5 ( #19 )
...
chore(deps): bump github.com/golangci/golangci-lint
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.2 to 1.64.5.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.2...v1.64.5 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
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>
2025-02-17 15:46:29 +01:00
dependabot[bot]
75092b8220
chore(deps): bump github.com/go-playground/validator/v10 from 10.24.0 to 10.25.0 ( #22 )
...
chore(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.24.0 to 10.25.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.24.0...v10.25.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
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>
2025-02-17 15:40:10 +01:00