shamoon
67a9f4983c
Fix unifi with no type passing and lint
2024-06-03 11:19:54 -07:00
shamoon
8eb61ef9ff
Unifi widget: Show a more helpful error if specified site not found ( #2839 )
2024-02-05 14:46:17 -08:00
shamoon
885a4051f3
Fix: support Unifi widget with Unifi OS v3.2.5+ ( #2281 )
2023-11-07 14:38:26 -08:00
shamoon
19c25713c4
Run pre-commit hooks over existing codebase
...
Co-Authored-By: Ben Phelps <ben@phelps.io>
2023-10-18 09:49:33 -07:00
Georges-Antoine Assi
bd1c2b1881
Add setting to hide widgets on failure
2023-04-30 19:09:37 -04:00
shamoon
5289476937
Pass csrf token for unifi login
2023-02-16 22:45:11 -08:00
shamoon
17ebdd8226
Unifi widgets support sites other than default
2023-02-03 01:19:42 -08:00
shamoon
c2983197a0
Unifi widgets show warning with no data
2023-02-03 01:19:42 -08:00
Michael Shamoon
91d8e56471
append service name to cache keys
2022-12-09 22:39:10 -08:00
Michael Shamoon
8a783ba9f6
Simplify error catching
2022-11-18 15:24:07 -08:00
Michael Shamoon
21017e4716
Add detailed Error component for service widgets
2022-11-18 15:24:07 -08:00
Michael Shamoon
203783953d
Fix wan display for service widget
2022-10-19 20:47:27 -07:00
Michael Shamoon
94f9ef3c30
Fix error on already logged in
2022-10-17 08:01:12 -07:00
Michael Shamoon
3d89d7ad1b
Better support non-OS Unifi Controllers
2022-10-17 08:01:12 -07:00
Michael Shamoon
48a09e5a99
Refactor info widget sanitizing / privateOptions
2022-10-12 01:53:57 -07:00
Michael Shamoon
dced918804
Update unifi_console to use private widget options
2022-10-12 01:53:57 -07:00
Jason Fischer
260201c2b4
Decompose i18n labels for Unifi widget
...
- Needed to decompose i18n labels for Unifi widget in order for field visibility setting to work correctly
- Fixed weird edge case where a call to cached-fetch would fail if no duration was passed
- Have VS Code hide the .next and node_modules folders from tree view
2022-10-09 20:05:28 -07:00
Michael Shamoon
04da8f3925
lint
2022-10-09 15:13:27 -07:00
Michael Shamoon
86b12debc5
Revert "Infer unifi port"
2022-10-09 09:18:12 -07:00
Michael Shamoon
69c9a449b1
Revert "Rename unifi_console info widget to unifi"
2022-10-09 09:18:12 -07:00
Michael Shamoon
fbac27f504
Fix unifi service lan/wlan labels
2022-10-08 17:47:52 -07:00
Michael Shamoon
d1b6dad14d
Infer unifi port, use api widget property for login
2022-10-08 14:36:08 -07:00
Michael Shamoon
fe1064b173
Rename unifi_console info widget to unifi
2022-10-08 14:02:12 -07:00
Jason Fischer
42da3eca28
Standardize on double quoted strings
2022-10-08 13:59:09 -07:00
Jason Fischer
2bd9c8eddc
Cache console version check result
2022-10-08 13:52:22 -07:00
Michael Shamoon
e03822df6e
Add UniFI console service widget
2022-10-08 00:45:00 -07:00
Michael Shamoon
ad1d1e751d
Refactor unifi proxy for udm-pro compatibility
2022-10-07 23:26:16 -07:00
Jason Fischer
ac4dcd3222
Remove node-unifi package dependency
...
- Add custom Unifi proxy built on existing cookie jar and httpProxy
- Change formatApiCall to emit empty string instead of undefined on missing key
2022-10-07 17:12:29 -07:00