129 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
shamoon
b2f26e1a43 Update status.jsx 2023-02-20 14:55:01 -08:00
shamoon
ae7a77d247 Use replica count for swarm status
Co-Authored-By: Raphaël Catarino <raphcatarino@gmail.com>
2023-02-14 10:41:12 -08:00
Jason Fischer
f53f975669
Settle on four fields with free size displayed as Available 2023-02-06 13:43:40 -08:00
Ean McLaughlin
ff27b1ef51
Show container status if health is an empty string
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 "".
2023-02-01 15:32:10 -07: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
Jason Fischer
e0edc2735d
Add healthy status if available 2022-11-27 14:54:29 -08:00
Jason Fischer
07385dc91e
Add container health details to status 2022-11-27 09:46:18 -08:00
Jason Fischer
354f819041
Merge pull request #505 from benphelps/ping-and-redesign-status
Feature: Service ping, redesign docker status
2022-11-20 10:03:43 -08:00
James Wynn
a1f2003a77 Merge branch 'main' into kubernetes 2022-11-19 09:09:23 -06:00
James Wynn
1ca61114ef
Merge branch 'benphelps:main' into kubernetes 2022-11-18 18:02:53 -06:00
Michael Shamoon
f473d324df Fix docker status error display 2022-11-18 15:24:07 -08:00
Michael Shamoon
7c4d8a77cf Update error display styling 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
7b7740563e Basic widget data validation 2022-11-18 15:23:33 -08:00
Michael Shamoon
f11173bcaf Fix text centering in block labels on small screens
Closes #516
2022-11-09 21:07:51 -08:00
Michael Shamoon
1c456b70c0 Re-create service ping, docker status changes
See #388
2022-11-07 11:35:13 -08:00
James Wynn
c4333fd2dc Kubernetes support
* Total CPU and Memory usage for the entire cluster
* Total CPU and Memory usage for kubernetes pods
* Service discovery via annotations on ingress
* No storage stats yet
* No network stats yet
2022-11-06 06:58:52 -06:00
maharsh9100
71faaa56dc
Feature: add category icons (#301)
* Update setting.yaml mapping

* Implement adding icon to categoryTitle

* Move resolveIcon func to utils for reusability

* Turn off default export eslint rule

* Fix util typo

* Revert "Turn off default export eslint rule"

This reverts commit e8dd853ba6fac1d33253667ffe9e02010a8dcfd6.

* fix resolveIcon export

* Revert "Update setting.yaml mapping"

This reverts commit 78c947766951e14d1f6db290c0ab03ccc8f1ebc3.

* Revert "Implement adding icon to categoryTitle"

* Use settings layout for group icon

* Revert "Fix util typo"

This reverts commit ab49b426ec6d925d7938c3ddec753a0e7c8759af.

* ResolvedIcon component

Co-authored-by: Mindfreak9100 <dhoom_rik@yahoo.com>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
2022-11-04 14:38:33 -07:00
Michael Shamoon
3249c95a74 Refactor homepage search, visual improvement 2022-10-20 20:04:24 -07:00
Facinorous
20b7b0706e
Feature: support target in individual services/bookmarks (#408)
* Adds feature #385

* Fixed the ordering of the evaluations

* Fix double space

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>

* Fix double space

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>

* Fixed the ordering of the evaluations

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2022-10-20 14:52:37 -07:00
Michael Shamoon
3d89d7ad1b Better support non-OS Unifi Controllers 2022-10-17 08:01:12 -07:00
Ben Phelps
c95422b682 impl. mdi icons with the possibility for others 2022-10-11 15:02:38 +03:00
Ben Phelps
ea96999377 place error boundaries closer to the source 2022-10-05 13:43:22 +03:00
Jason Fischer
962e6e576c
Add ErrorBoundary component
- wrap a myriad of components in ErrorBoundary

resolves #270
2022-10-04 13:15:49 -07:00
Jason Fischer
c3a623c329
Remove pages/api/proxy.js as it was an open proxy
- The only location pages/api/proxy was used was for icon loading in item.jsx, simply returning the icon URL instead worked just fine.  There was no need to proxy icon requests.

fixes: #327
2022-10-03 15:17:56 -07:00
Jason Fischer
d4ad11a63f
Slightly simplify container.jsx 2022-09-29 21:20:01 -07:00
Jason Fischer
9b7d6b196f
Allow widget field visibility to be configurable 2022-09-29 21:15:25 -07:00
Ben Phelps
bb5721c473 ui polish 2022-09-28 02:32:39 +03:00
Ben Phelps
5f0c1ec70a tweak styles 2022-09-26 16:56:20 +03:00
Ben Phelps
4386999c38 further restructuring 2022-09-26 15:25:10 +03:00
Ben Phelps
086bfa310f lighthouse requirements 2022-09-26 15:03:02 +03:00
Ben Phelps
e4c82b5e8d fix always loading docker stats block 2022-09-26 14:42:40 +03:00
Ben Phelps
e1a3a82f75 utils cleanup, initial static generation 2022-09-26 12:04:37 +03:00
Ben Phelps
a83d5132d9 refactor lidarr widget 2022-09-26 10:58:14 +03:00
Ben Phelps
47bc073fb4 widget refactoring and cleanup 2022-09-26 02:23:02 +03:00
Jason Fischer
808e79e2ac
Add Docker, Emby, Gotify, Jackett, and JellySeerr widgets 2022-09-25 16:15:47 -07:00
Ben Phelps
562235f828 starting of widget refactoring 2022-09-25 19:43:47 +03:00
Ben Phelps
8bc240b934 refactor i18n to be server side 2022-09-25 19:43:00 +03:00
Ben Phelps
3ae4113043 refactor docker stats open/close 2022-09-25 19:38:02 +03:00
Ben Phelps
555a4b6b05 extralight is extra… light 2022-09-24 14:54:37 +03:00
Ben Phelps
0e5477eecf experiment with lazily loaded widgets 2022-09-21 22:26:58 +03:00
Ben Phelps
122b987fa3
Merge branch 'main' into feature/widget_strelaysrv 2022-09-21 09:05:42 +03:00
Ben Phelps
a677fbefbf add global settings context
will be useful going forward, and simplify widget props being passed around all over the place
2022-09-21 09:00:57 +03:00
Ben Phelps
20ac15b18c allow setting a global link target 2022-09-21 08:40:19 +03:00
Pablo Garcia de los Salmones Valencia
f281d86e8a
Fixed missing text 2022-09-20 05:29:24 +02:00
Pablo Garcia de los Salmones Valencia
f7000a280e
Add Syncthing Relay Server widget 2022-09-20 04:42:04 +02:00
Pablo Garcia de los Salmones Valencia
586ded6b3f
Add Mastodon widget 2022-09-20 03:41:10 +02:00
Ben Phelps
330575bab3 fix links 2022-09-18 18:49:50 +03:00