Commit Graph

354 Commits

Author SHA1 Message Date
afknst
3d4654d592 Fix: Cannot access qBittorrent from quick launch #1079 2023-03-03 12:41:33 +01:00
shamoon
af147c0da0 Support open url in quicklaunch 2023-02-27 20:06:30 -08:00
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
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
shamoon
ce644afe9e Fix search broken in 0.6.5 2023-02-02 09:40:52 -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
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
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
314050b568 Merge branch 'main' into widget-refactor 2022-09-27 19:26:37 +03:00
Josway
fa2763d8cd support Baidu search engine 2022-09-26 23:06:42 +08:00
Josway
d18e472623 support Baidu search engine 2022-09-26 23:02:59 +08: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
9b07f3eb90 Merge branch 'main' into widget-refactor 2022-09-26 15:06:26 +03:00
Ben Phelps
b280e18651 fix nightly issue 2022-09-26 15:06:14 +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
ea6a668a84 add version information 2022-09-24 01:18: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
244a76de0b fix bookmark styling 2022-09-21 08:58:24 +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
Ben Phelps
17f54da524 yaml validation 2022-09-18 16:41:01 +03:00
Ben Phelps
5fc266ed81 better status icon logic for tautulli 2022-09-18 02:12:24 +03:00
Ben Phelps
28b2f79e5b use aggregate mapped data
to reduce the size of the API responses
2022-09-17 13:05:44 +03:00
Jason Fischer
6da1e98c83
Add qBittorrent Widget
- extract cookie jar functionality into its own file
- use i18n for more strings in existing widgets

completes: #152
associated: #123
2022-09-16 19:11:57 -07:00
Ben Phelps
ddb2a74540 add AdGuard widget 2022-09-16 14:05:56 +03:00
Ben Phelps
0075429e08 add greeting and datetime info widgets 2022-09-16 10:53:12 +03:00
Ben Phelps
93d5dd88ba add options for layout, theme and color settings 2022-09-15 19:58:41 +03:00
Ben Phelps
05427253b9 tweak streaming widget spacings 2022-09-15 19:53:48 +03:00
Ben Phelps
e2bc541089 show transcoding info on streaming widgets 2022-09-15 19:48:23 +03:00
Jason Fischer
7e99b3e505
Merge branch 'main' into add-lidarr 2022-09-14 19:41:43 -07:00
Ben Phelps
ace1610dfc
Merge pull request #160 from JazzFisch/add-bazarr
Add Bazarr widget
2022-09-15 05:36:19 +03:00