Commit Graph

295 Commits

Author SHA1 Message Date
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
shamoon
7a5a3a6608 Compatible with quicklaunch internet search 2023-01-31 00:36:11 -08:00
shamoon
87dbbcb1e0 Refactor multi & single providers & retain provider key only 2023-01-31 00:34:29 -08:00
chain710
3bc0522812 Support multi search providers
- add `providers` option in search widget, value is array of provider name, like: `[google, bing]`
2023-01-31 00:34:29 -08:00
shamoon
1f5912c232 Support custom search in quicklaunch web search 2023-01-31 00:33:30 -08:00
shamoon
11d03be4de Use configured search provider, allow disable internet search 2023-01-30 23:38:37 -08:00
Alex Sinelnikov
4e17628f97 Added search to quicklaunch 2023-01-30 10:16:45 +02:00
shamoon
c7e4a52b99
Merge pull request #841 from JacksonBarker/main
Added Brave search provider
2023-01-18 18:52:11 -08:00
Jason Fischer
627ce179ef
Merge pull request #448 from jameswynn/kubernetes
Support for Kubernetes and Longhorn
2023-01-18 14:54:38 -08:00
Jackson Barker
ab2c3c6412
Added Brave search provider 2023-01-18 14:10:01 -05:00
José Manuel Jurado Bujalance
93dda99aaa use abbr as icon fallback 2023-01-13 22:45:08 +01:00
James Wynn
b6e8b64a2e Merge branch 'main' into kubernetes 2023-01-09 08:34:43 -06:00
Michael Shamoon
84b7f103c3 Allow setting locale for datetime widget directly 2023-01-04 13:53:06 -08:00
Michael Shamoon
af29f5b266 Use tabular nums for datetime to prevent size changing 2023-01-02 08:30:57 -08:00
James Wynn
e15ba1c82c Merge branch 'main' into kubernetes 2022-12-31 11:19:42 -06:00
Michael Shamoon
d17a17bd3c Use server-side endpoint to properly cache GH release data 2022-12-28 18:33:14 -08:00
Michael Shamoon
0afc1b96f1 CPU / memory / disk usage bars start from 0
Closes #737
2022-12-28 16:21:04 -08:00
Michael Shamoon
5fbc6702bc Prevent blocking error on GH releases failure
Closes #738
2022-12-28 16:17:49 -08:00
Michael Shamoon
679704949e Fix broken update checker 2022-12-26 01:02:01 -08:00
Michael Shamoon
95dcb8802a Use ResolvedIcon, remove extra div 2022-12-11 10:30:04 -08:00
Snekussaurier
645cf211dd Add ability to use custom logo 2022-12-11 17:31:59 +01: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
656b818488 Fix conditions map for openmeteo 2022-12-05 08:52:45 -08:00
Michael Shamoon
1aeb3a3b63 Add a perfunctory key to <span> 2022-11-30 20:52:30 -08:00
Michael Shamoon
98c8f2078d fix another react deps warning 2022-11-30 09:52:20 -08:00
Michael Shamoon
c2230fb308 Fix quick-launch z-index
Closes #582
2022-11-29 13:26:35 -08:00
Michael Shamoon
69b1049c17 Graceful fallback when build args not supplied
See #578
2022-11-29 10:11:03 -08:00
Michael Shamoon
44c2a1ecbd fix react dep warning 2022-11-29 10:06:47 -08:00
Michael Shamoon
4c70bff952 Show memory up to 1 decimal place 2022-11-28 17:35:04 -08:00
Michael Shamoon
812eb3d70f Fix datetime react render error 2022-11-28 10:42:21 -08: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
Michael Shamoon
f16bd91978 fix version number missing 2022-11-26 15:12:15 -08:00
James Wynn
c54374068d fixed a formatting error and longhorn's usage bar 2022-11-25 10:21:51 -06: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
Michael Shamoon
0653b12104 fix quicklaunch sometimes mislabels bookmarks 2022-11-19 22:10:39 -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
James Wynn
fdb143304f Separated kubernetes widgets from resources widgets 2022-11-18 18:02:23 -06:00
Michael Shamoon
8a783ba9f6 Simplify error catching 2022-11-18 15:24:07 -08: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
Jason
280bd0e621
Fix: openweathermap day/night icon issue
The day/night icon does not display properly in openwathermap widget due to the typo (sundown -> sunset) in parsing data from openweathermap api. The icon should be displayed properly after the fix.
2022-11-09 15:21:29 +08:00
Michael Shamoon
2bcfc36bc2 use grid-cols instead of flex-basis for bookmarks
Fixes #507
2022-11-08 10:33:11 -08:00
Michael Shamoon
1c456b70c0 Re-create service ping, docker status changes
See #388
2022-11-07 11:35:13 -08:00
Michael Shamoon
2ab05350a3 Fix maxWidth / maxHeight style attrs 2022-11-06 14:41:02 -08:00
James Wynn
4fc6db49ca Improved kubernetes error handling 2022-11-06 06:58:52 -06:00
James Wynn
8887fcc3ee longhorn support
* longhorn widget for showing storage stats as "disks"
2022-11-06 06:58:52 -06: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
Michael Shamoon
57fef06931 fix resolved icon mdi icon overflow 2022-11-05 01:27:04 -07:00
Michael Shamoon
5fd5762c0c fix bookmark abbr + icon 2022-11-04 14:58:52 -07:00
Don Reece
8115b54ef9 Adds the option for a bookmark icon (same functionality as service icons). Falls back to abbreviation.
Revert "Adds the option for a bookmark icon (same functionality as service icons). Falls back to abbreviation."

This reverts commit d7131584442ba5a52823cf0aa6e96c4b5f09141a.

Add icons to bookmarks
2022-11-04 14:53:45 -07: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 e8dd853ba6.

* fix resolveIcon export

* Revert "Update setting.yaml mapping"

This reverts commit 78c9477669.

* Revert "Implement adding icon to categoryTitle"

* Use settings layout for group icon

* Revert "Fix util typo"

This reverts commit ab49b426ec.

* 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
stuffinator
e30d21aa7d
fixed datetime widget size issue
- the widget was missing a flex-col div around it and was therefore taking up more space than it needed as it was reported here https://github.com/benphelps/homepage/issues/235#issuecomment-1276209354
2022-10-30 14:44:09 +01:00
Michael Shamoon
a86a39c5ee quicklook shouldnt retain focus after close, also fixes esc key 2022-10-21 22:02:36 -07:00
Michael Shamoon
741a3d6225 Fix quicklaunch strings name 2022-10-21 14:30:22 -07:00
Ben Phelps
aedd9cfeb9
Merge branch 'main' into openmeteo-widget 2022-10-21 11:14:39 +03:00
Michael Shamoon
689e2a8011 Quicklook support individual item target 2022-10-20 20:04:24 -07:00
Michael Shamoon
9c1c0e4465 Add quicklook searchDescriptions option 2022-10-20 20:04:24 -07:00
Michael Shamoon
f62021633b Respect settings target and allow command override 2022-10-20 20:04:24 -07:00
Michael Shamoon
5abe13c726 Handle click to close, close animation timing 2022-10-20 20:04:24 -07:00
Michael Shamoon
a1788b01c3 Show description in quicklook 2022-10-20 20:04:24 -07:00
Michael Shamoon
484d69a4b5 services should come first 2022-10-20 20:04:24 -07:00
Michael Shamoon
b5410eea12 fix quicklaunch hover bug on open 2022-10-20 20:04:24 -07:00
Michael Shamoon
ba4a1eb646 Refactor, better handle mouseover 2022-10-20 20:04:24 -07:00
Michael Shamoon
db9633496b Handle clicking items 2022-10-20 20:04:24 -07:00
Michael Shamoon
fa46c9a1a4 lint 2022-10-20 20:04:24 -07:00
Michael Shamoon
3249c95a74 Refactor homepage search, visual improvement 2022-10-20 20:04:24 -07:00
Michael Shamoon
fe770c3864 Initial implentation 2022-10-20 20:04:24 -07:00
Michael Shamoon
e1a62a69f6 Openmeteo Widget 2022-10-20 20:03:41 -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
shamoon
5e6f1041cb
Merge pull request #398 from benphelps/better-non-os-unifi-controller
Fix: Better non-OS Unifi Controller support
2022-10-20 11:23:53 -07:00
Michael Shamoon
203783953d Fix wan display for service widget 2022-10-19 20:47:27 -07:00
Michael Shamoon
3d89d7ad1b Better support non-OS Unifi Controllers 2022-10-17 08:01:12 -07:00
Ben Phelps
4ec8fc1350 add changelog link to version 2022-10-17 15:10:32 +03:00
Ben Phelps
4ea279856f
Merge pull request #377 from shamoon/unified-infowidget-settings
Feature: Unified info widget settings
2022-10-13 16:13:43 +03:00
Michael Shamoon
dced918804 Update unifi_console to use private widget options 2022-10-12 01:53:57 -07:00
Ben Phelps
b259ecf870
Merge pull request #369 from shamoon/glances-info-widget
Feature: Glances info widget
2022-10-12 11:17:25 +03:00
Michael Shamoon
080bc44a6f Lint glances info widget 2022-10-11 10:21:57 -07:00
Michael Shamoon
321efd08cc Glances info widget 2022-10-11 10:21:57 -07:00
Ben Phelps
c95422b682 impl. mdi icons with the possibility for others 2022-10-11 15:02:38 +03:00
Michael Shamoon
69c9a449b1 Revert "Rename unifi_console info widget to unifi" 2022-10-09 09:18:12 -07:00
Michael Shamoon
fe1064b173 Rename unifi_console info widget to unifi 2022-10-08 14:02:12 -07:00
shamoon
1249ecaa68
Merge branch 'main' into main 2022-10-08 13:20:09 -07:00
Ben Phelps
94a518f4a8 add styled headers option 2022-10-08 16:40:36 +03:00
Ben Phelps
e56dccc7f1 new logo and styling tweaks 2022-10-08 16:04:24 +03: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
Michael Shamoon
952f0295cc uptime label 2022-10-05 21:44:15 -07:00
Michael Shamoon
5ba75bc62d support wan down too 2022-10-05 21:41:39 -07:00
Michael Shamoon
b9b9449cd3 Add unifi_console widget, API endpoint 2022-10-05 21:36:43 -07: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
Ben Phelps
7033652508
Merge pull request #328 from JazzFisch/disable-open-proxy
Remove pages/api/proxy.js as it was an open proxy
2022-10-04 09:41:49 +03: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
Juan Manuel Bennàssar Carretero
1249724f8a Fix resources CPU label... 2022-10-03 15:47:46 +02:00
Ben Phelps
2271cc0044 cache github response for 5 min 2022-09-30 21:56:22 +03:00