319 Commits

Author SHA1 Message Date
James Wynn
f8f96645b0 Added "external" boolean annotation to specify external services
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".
2023-02-22 09:05:26 -06:00
Jason Fischer
45946ddfe1
Merge pull request #963 from benphelps/fix-settings-after-container-update
Fix settings after container update
2023-02-18 22:56:53 -08:00
shamoon
e35a66d3f1 Suppory body in widget endpoint mappings 2023-02-18 22:18:27 -08:00
shamoon
e1176e9e3b Strip sensitive information contained in URLs from frontend API calls 2023-02-15 14:46:31 -08:00
James Wynn
b4cdb03228 Added support for "ping" configuration in kubernetes ingress annotations 2023-02-09 17:09:59 -06:00
shamoon
3600e5487d
Apply suggestions from #964 code review 2023-02-08 08:30:53 -08:00
chain710
f109ffa9bc cookieJar.setCookieSync ignore error
cookieJar.setCookieSync crash node when error, like:
```
uncaughtException: Error: Cookie not in this host's domain. Cookie:example.com Request:127.0.0.1
```
2023-02-08 20:33:11 +08:00
shamoon
7b474d4cef Revert "Merge pull request #609 from benphelps/fix-576"
This reverts commit a7f290dfdd583c8c9696c71d93a9c39a2348bf2d, reversing
changes made to cf3839510045cc51cf4d653dabb83477e9743d80.
2023-02-08 00:19:33 -08:00
Jason Fischer
11ae52df4a
Merge main 2023-02-05 00:21:35 -08:00
shamoon
17ebdd8226 Unifi widgets support sites other than default 2023-02-03 01:19:42 -08:00
Benoit
4c17e3fd14 Synology Widget : making it work with multiple widgets connecting to differents versions of DSM 2023-01-31 12:07:23 +01:00
Jason Fischer
893b3f0986
Merge main 2023-01-29 17:07:40 -08:00
Jason Fischer
e62952c2c1
Create reusable Synology proxy
- Migrate DiskStation and DownloadStation to use new proxy
- Move DiskStation proxy UI logic into component
2023-01-29 17:04:36 -08:00
Eizock
2a42d89d08
Add Proxmox Backup Server Widget (#879)
* Add Proxmox Backup Server Widget

* Clarification added to Failed Tasks

* Refactor pbs to proxmoxbackupserver

* Removing property instead of recreating object

* minor code styling of proxmoxbackupserver widget

---------

Co-authored-by: Eizock <>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
2023-01-28 16:32:47 -08:00
Jason Fischer
e96036e076
Merge pull request #873 from jameswynn/sort-services-by-weight
Services are now sorted by a new 'weight' field
2023-01-24 17:52:08 -08:00
James Wynn
8d016629d3 Services are now sorted by the 'weight' field.
* 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
2023-01-24 12:48:49 -06:00
James Wynn
02e9df8f28 Parse widget field list if is a string 2023-01-24 09:31:20 -06:00
shamoon
f9e27a6bb5
Merge pull request #868 from KillahB33/main
Cloudflared Widget
2023-01-23 19:54:34 -08:00
Michael Shamoon
ca4b5b131d Allow specifying wan interface on opnsense widget 2023-01-22 11:02:52 -08:00
KillahBee
fa1792cd5f adding cloudflare widget 2023-01-20 11:43:19 -05:00
Jason Fischer
627ce179ef
Merge pull request #448 from jameswynn/kubernetes
Support for Kubernetes and Longhorn
2023-01-18 14:54:38 -08:00
Jason Fischer
a7f290dfdd
Merge pull request #609 from benphelps/fix-576
Fix: settings not picked up after first container creation
2023-01-09 16:53:24 -08:00
James Wynn
b6e8b64a2e Merge branch 'main' into kubernetes 2023-01-09 08:34:43 -06:00
James Wynn
4d6ce1f7e2 Widgets in discovered services now work correctly 2023-01-09 08:30:50 -06:00
Michael Shamoon
fc2e17fa59 fix useWidgetAPI refreshInterval 2023-01-09 01:33:58 -08:00
John Hollowell
34a7b25c9c Add truenas key to credentialed proxy handler
Revert "Change TrueNAS to use API key"

This reverts commit 1926c26b77d8e048d92da6e20ff24a3056237daf.

Co-Authored-By: John Hollowell <jhollowe@johnhollowell.com>
2023-01-07 10:00:16 -08:00
James Wynn
36ed1022e3 detection now uses annotation "gethomepage.dev/enabled" instead of label 2023-01-03 16:15:08 -06:00
James Wynn
e15ba1c82c Merge branch 'main' into kubernetes 2022-12-31 11:19:42 -06:00
Michael Shamoon
ee729a7e6a remove error on no discovered services 2022-12-30 20:31:25 -08:00
Michael Shamoon
6b90d3ef28 Handle docker server failures if others succeed 2022-12-22 21:16:52 -08:00
Michael Shamoon
93445a2831 Use credentialed proxy for miniflux 2022-12-16 22:33:24 -08:00
Michael Shamoon
db46931246 Allow map in credentialedproxy 2022-12-16 22:32:28 -08:00
Vinay Dawani
9188f5cdd9 cleanup 2022-12-11 12:49:23 -05:00
Vinay Dawani
c720df0805 double negation instead of ternary. force boolean 2022-12-11 04:01:06 -05:00
Vinay Dawani
b7722ed333 check swarm value before passing 2022-12-11 03:15:59 -05:00
Vinay Dawani
fb883c7b27 added yaml file variable for swarm mode checks 2022-12-11 03:03:20 -05:00
James Wynn
ec08535204 fixed podSelector discovery 2022-12-09 07:56:51 -06:00
James Wynn
a146c13c4f fixed unintentional blank default podSelector from discovery 2022-12-09 07:52:32 -06:00
James Wynn
8543118607 updated ingress selector label, added href override annotation 2022-12-09 07:43:52 -06:00
James Wynn
09eb172079 new status format, new podSelector field, more accurate pod stats
* renamed pod label prefix from "homepage" to "gethomepage.dev"
  which is more inline with typical kubernetes practices
2022-12-08 16:04:33 -06:00
James Wynn
174cb651b4 Merge branch 'main' into kubernetes 2022-12-08 09:57:51 -06:00
Michael Shamoon
f89093a067 Update openmeteo-condition-map.js 2022-12-05 09:57:32 -08:00
Michael Shamoon
656b818488 Fix conditions map for openmeteo 2022-12-05 08:52:45 -08:00
Michael Shamoon
c01b60dbd1 try to detect invalid settings load 2022-12-03 00:14:07 -08:00
shamoon
9d2f1ab8c8 Add default interval setting for coinmarketcap 2022-12-01 06:36:51 -08:00
Michael Shamoon
04fbf315ee Fix startup errors on completely empty settings file
Closes #564
2022-11-27 19:35:45 -08:00
Jason Fischer
9f03d18e49
Move content-length calculation to http module
- consolidate http / https functionality to single function
2022-11-24 12:26:22 -08:00
Michael Shamoon
ccfafe1b31 fix fatal jsonrpc error, error handling, add content-length 2022-11-23 23:02:42 -08:00
Jason Fischer
7266390491
Add Deluge widget
- Create semi-generic jsonrpc proxy handler
- Refactor NZBGet to use jsonrpc proxy handler

closes #190
2022-11-23 11:51:53 -08:00
Michael Shamoon
92d456dbf4 fix group sort to prevent possible loss 2022-11-21 00:29:20 -08:00