Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
7432260d3e feat: expose all available actions on all resources through Client (#27) 2025-02-18 10:23:18 +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
aa188a6faa feat: add API v2 support by adding APGroup and DNSRecord resource handling with generated code (#23)
* feat: add API v2 support by adding APGroup and DNSRecord resource handling with generated code

* fix tests
2025-02-17 15:39:54 +01:00
Mateusz Filipowicz
dca894e8e7 feat: use Client interface instead of client struct when interacting with UniFi SDK (#21)
* feat: use Client interface instead of client struct when interacting with UniFi SDK

Breaking change!

* chore: linting

* chore: linting
2025-02-17 09:38:41 +01:00
Mateusz Filipowicz
fadc5ada8b feat: add client customization option (#20)
* feat: add client customization

* chore: fix linting

* feat: allow excluding client function by resource name
2025-02-16 23:00:05 +01:00
Mateusz Filipowicz
5a403dbb39 feat: simplified generated resources code customizations with yaml file config (#17)
* feat: simplified generated code customizations with yaml file config

* chore: apply linting
2025-02-12 09:18:44 +01:00