* Only environment variables starting with HOMEPAGE_VAR_ and HOMEPAGE_FILE_
are supported
* The value of env var HOMEPAGE_VAR_XXX will replace {{HOMEPAGE_VAR_XXX}}
in any config
* The value of env var HOMEPAGE_FILE_XXX must be a file path, the contents
of which will be used to replace {{HOMEPAGE_FILE_XXX}} in any config
* If a substituted value contains a variable reference it may also be
replaced, but the behavior is non-deterministic
External services define a kubernetes service pointing to an application
hosted outside of the cluster. These services should not attempt to get
the status based on kubernetes deployments. The new boolean flag disables
this functionality. Since this is an edge case, the default value is "false".
cookieJar.setCookieSync crash node when error, like:
```
uncaughtException: Error: Cookie not in this host's domain. Cookie:example.com Request:127.0.0.1
```
If data.health is an empty string, ?? will accept it and not use the right side value; instead, we should use || which treats empty string as false and returns the right side value. This will show "RUNNING" in the status box if health is "".
* Default for discovered services is 0
* Default weight for configured services is their index within their
group scaled by 100, i.e. (index + 1) * 100
* Should be backwards compatible with current loose ordering
Revert "Change TrueNAS to use API key"
This reverts commit 1926c26b77d8e048d92da6e20ff24a3056237daf.
Co-Authored-By: John Hollowell <jhollowe@johnhollowell.com>
* Opnsense widget (#2)
* OPNSense widget : initial version, memory usage is inaccurate.
* OPNSense widget : code cleanup in widget.js. Firewall is no longer displayed, so it did not need to be queried.
* Opnsense widget (#3)
* OPNSense widget : initial version, memory usage is inaccurate.
* OPNSense widget : code cleanup in widget.js. Firewall is no longer displayed, so it did not need to be queried.
* OPNSense widget : fixing the CPU code to make it more reliable.
* OPNSense widget : fixing the CPU code to make it more reliable. Removing uptime info
* Update src/widgets/opnsense/component.jsx
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
* Update public/locales/en/common.json
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
* Update src/widgets/opnsense/component.jsx
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
* Update src/widgets/opnsense/component.jsx
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
commit ad3e664b56
Author: Benoit <oupsman@oupsman.fr>
Date: Tue Dec 13 19:54:54 2022 +0100
Add .idea to .gitignore
commit 7e51a09384
Merge: 93d80357dd0b0e
Author: Benoit SERRA <oupsman@oupsman.fr>
Date: Tue Dec 13 18:38:51 2022 +0100
Merge branch 'benphelps:main' into main
commit 93d80350b1
Author: Benoit <oupsman@oupsman.fr>
Date: Tue Dec 13 18:15:20 2022 +0100
Omada widget : One widget, shows only the number alerts, the number of connected AP, the number of connected devices to Wifi, the number of connected switches and gatewawys.
commit a1babd860c
Author: Benoit <oupsman@oupsman.fr>
Date: Tue Dec 13 09:33:50 2022 +0100
Omada widget : spliting widget between WLAN and LAN/WAN fields to have no more than 5 fields per widget.
commit e12cc65c77
Merge: 331f31f146326f
Author: Benoit SERRA <oupsman@oupsman.fr>
Date: Sun Dec 11 14:39:27 2022 +0100
Merge branch 'benphelps:main' into main
commit 331f31fc2b
Merge: 37154e3ccc1229
Author: Benoit SERRA <oupsman@oupsman.fr>
Date: Sat Dec 10 17:56:44 2022 +0100
Merge branch 'benphelps:main' into main
commit 37154e327a
Author: Benoit <oupsman@oupsman.fr>
Date: Sat Dec 10 17:11:30 2022 +0100
Omada widget : Improved error handling
Omada widget: handling power as common.power in translation
commit 1f48491406
Author: Benoit <oupsman@oupsman.fr>
Date: Sat Dec 10 10:24:55 2022 +0100
Omada widget : adding stats for isolated aps, connected gateways, connected switches, available ports, power consumption
commit f375f0b815
Merge: 467b678775b511
Author: Benoit <oupsman@oupsman.fr>
Date: Fri Dec 9 21:06:38 2022 +0100
Merge branch 'main' of https://github.com/Oupsman/homepage into main
commit 467b67802a
Author: Benoit <oupsman@oupsman.fr>
Date: Fri Dec 9 21:06:09 2022 +0100
Omada widget : v3 v4 and v5 versions don't use the same fields for the same stats, I've corrected the code to make it more reliable
commit 775b5111e1
Merge: 8d6675688c4375
Author: Benoit SERRA <oupsman@oupsman.fr>
Date: Thu Dec 8 15:38:20 2022 +0100
Merge branch 'benphelps:main' into main
commit 8d66756a7d
Author: Benoit <oupsman@oupsman.fr>
Date: Thu Dec 8 12:45:44 2022 +0100
Omada Widget : code cleanup
commit 282a6d0592
Author: Benoit <oupsman@oupsman.fr>
Date: Thu Dec 8 12:42:41 2022 +0100
Omada Widget : code cleanup
commit c3e9b8f870
Author: Benoit <oupsman@oupsman.fr>
Date: Thu Dec 8 12:37:10 2022 +0100
Omada Widget : No more legacy variable, the code detects the controller version and adapts the requests. Logic is not duplicated anymore
commit eafcc20597
Author: Benoit <oupsman@oupsman.fr>
Date: Wed Dec 7 15:46:00 2022 +0100
V2 API is working
commit bcc2864ee2
Author: Benoit <oupsman@oupsman.fr>
Date: Wed Dec 7 10:01:26 2022 +0100
Code fore v2 API is not working but V1 code is.
commit ea8e297e84
Author: Benoit <oupsman@oupsman.fr>
Date: Tue Dec 6 14:28:05 2022 +0100
Errors handling
commit ab6d51a88c
Author: Benoit <oupsman@oupsman.fr>
Date: Tue Dec 6 09:50:14 2022 +0100
Adding alerts
commit 047db2cce8
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 22:53:43 2022 +0100
Fixed translation system
commit 42c5a3e665
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 22:34:34 2022 +0100
Translation system is still * up
commit c80eac9d5b
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 22:33:50 2022 +0100
Translation system is still * up
commit f8ba6b0245
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 22:32:22 2022 +0100
Translation system is still * up
commit dec7eec6de
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 22:16:13 2022 +0100
Translation system is * up
commit cc840cf7cc
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 21:33:00 2022 +0100
First working version
commit 54b65e619e
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 18:59:09 2022 +0100
Using getGlobalStat method
commit 7ebc8500da
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 14:33:37 2022 +0100
Working on Omada Widget : NOT WORKING FOR NOW
commit 04eaf28cae
Merge: 61065ac826fe15
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 10:32:30 2022 +0100
Merge branch 'main' of https://github.com/Oupsman/homepage into main
commit 61065ace28
Author: Benoit <oupsman@oupsman.fr>
Date: Mon Dec 5 10:24:57 2022 +0100
Working on Omada Widget
remove idea
Co-Authored-By: Benoit SERRA <11260343+oupsman@users.noreply.github.com>