Commit Graph

240 Commits

Author SHA1 Message Date
James Wynn
a1f2003a77 Merge branch 'main' into kubernetes 2022-11-19 09:09:23 -06:00
Michael Shamoon
a282538782 Fix viewport tag location lost in merge 2022-11-18 22:32:26 -08:00
shamoon
d76a18565c
Merge branch 'main' into fix/icon 2022-11-18 22:26:23 -08: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
f473d324df Fix docker status error display 2022-11-18 15:24:07 -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
James Wynn
056e26dfd3 Improved handling of empty or disabled kubernetes configuration 2022-11-06 06:58:52 -06: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
49a764e864 openmeteo right-algned like other weather widgets 2022-10-30 08:18:02 -07:00
Michael Shamoon
c14ae6ee72 Fix missing column gap for bookmarks
https://github.com/benphelps/homepage/issues/235#issuecomment-1292261927
2022-10-26 09:56:53 -07:00
Ivan Bravo Bravo
99b2ba8944 added basic support for Docker Swarm services 2022-10-26 00:12:46 -05:00
Michael Shamoon
ed0aa08641 Fix viewport meta tag location
see https://nextjs.org/docs/messages/no-document-viewport-meta
2022-10-22 08:45:40 -07:00
Michael Shamoon
45608b76b1 Fix quicklaunch setting name 2022-10-21 21:49:52 -07:00
Ben Phelps
aedd9cfeb9
Merge branch 'main' into openmeteo-widget 2022-10-21 11:14:39 +03: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
484d69a4b5 services should come first 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
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
GodD6366
78a75a1ff9 Merge branch 'master' into fix/icon 2022-10-17 15:04:22 +00:00
GodD6366
93bfc039f9 fix: Fix the problem that favicon does not work 2022-10-17 15:03:35 +00: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
GodD6366
c7d1c05e6e
Fix the page auto zoom when ios input focus (#379) 2022-10-12 18:03:09 +03:00
Michael Shamoon
48a09e5a99 Refactor info widget sanitizing / privateOptions 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
c1a55ff6d3 Update glances to use private widget options API 2022-10-11 12:16:18 -07:00
Ben Phelps
2bdd9eaa88 remove shortcuts from manifest 2022-10-11 21:56:48 +03:00
Michael Shamoon
8e2ff61f1c Allow multiple glances widgets with optional id property 2022-10-11 10:21:57 -07:00
Michael Shamoon
99b70f96e4 Allow username + password for glances 2022-10-11 10:21:57 -07:00
Michael Shamoon
802fe0f721 Glances widget use settings for URL 2022-10-11 10:21:57 -07: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
d2dc51d49c add services and bookmarks as manifest shortcuts 2022-10-09 13:31:00 +03:00
Ben Phelps
d26ae30fa6 remove old code 2022-10-09 13:30:37 +03: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
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
Ben Phelps
de4ce73a9a fix hidden scrollbars
this was an adventure
2022-09-30 23:34:48 +03:00
Ben Phelps
f52c6f3b41 improved static styles and x-browser scrollbars 2022-09-30 22:13:37 +03:00
Ben Phelps
a10a30a22c fix some error edge cases 2022-09-28 22:40:54 +03:00
Ben Phelps
57e4ca355b add widgets to config hash 2022-09-28 21:58:43 +03:00
Ben Phelps
c980c70798 revalidate config changes, check on focus changes 2022-09-26 22:54:12 +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
4d790feaae formatting cleanup 2022-09-26 14:42:31 +03:00
Ben Phelps
e1a3a82f75 utils cleanup, initial static generation 2022-09-26 12:04:37 +03:00
Ben Phelps
ec8700f3e9 fix widgets without mappings 2022-09-26 10:58:31 +03:00
Jason Fischer
808e79e2ac
Add Docker, Emby, Gotify, Jackett, and JellySeerr widgets 2022-09-25 16:15:47 -07:00
Ben Phelps
035dd25ece widget refactoring 2022-09-26 00:35:54 +03:00
Jason Fischer
03fa2f86d7
Add AdGuard, Bazarr, and Coin Market Cap widgets
- Allow setting HTTP method in widget.js
- Allow sending allow listed query params to proxy
2022-09-25 14:31:41 -07:00
Ben Phelps
562235f828 starting of widget refactoring 2022-09-25 19:43:47 +03:00
Ben Phelps
d6f6ea9dba add meta tag 2022-09-25 19:43:27 +03:00
Ben Phelps
8bc240b934 refactor i18n to be server side 2022-09-25 19:43:00 +03:00
Ben Phelps
7709be8118 fix Head 2022-09-24 14:53:46 +03:00
Ben Phelps
ae315f1789 use new Manrope font, remove external font dep 2022-09-24 14:51:12 +03:00
Ben Phelps
4782e72d88 remove unused font 2022-09-24 14:49:14 +03:00
Ben Phelps
ea6a668a84 add version information 2022-09-24 01:18:37 +03:00
Jason Fischer
42fe535df7
Patch console object to instead use winston for logging
- Allow setting labels via new createLogger method
- Make logger initialization more robust
2022-09-21 23:37:17 -07:00
Ben Phelps
666e2a42cf fix context state race 2022-09-21 17:39:46 +03:00
Ben Phelps
122b987fa3
Merge branch 'main' into feature/widget_strelaysrv 2022-09-21 09:05:42 +03:00
Ben Phelps
c024c4f01c
Merge pull request #241 from JazzFisch/add-logger
Add Winston for log handling
2022-09-21 09:03:52 +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
Jason Fischer
280bb5fc81
Add Winston for log handling
- write log data to 'homepage.log'
2022-09-20 20:16:04 -07: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
17f54da524 yaml validation 2022-09-18 16:41:01 +03:00
Ben Phelps
38356c31b0 handle when structure differs from expectation 2022-09-18 01:38:41 +03:00
Jason Fischer
33e6d54fd2
Fix issues with incorrect values in widgets
associated: #180
associated: #194
2022-09-17 09:17:03 -07:00
Ben Phelps
f3ebbb6547 pass errors 2022-09-17 16:55:18 +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
6c01a85077
Merge branch 'main' into add-qbittorrent 2022-09-16 23:19:24 -07:00
Ben Phelps
d7a161c088 remove map for now 2022-09-17 08:34:32 +03:00
Ben Phelps
3f17618ad5 allow endpoint specific maps 2022-09-17 08:32:40 +03:00
Andy
d7be64c3d9 add backgroundOpacity option 2022-09-17 08:24:12 +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
Jason Fischer
743a070724
Proposal to add ability to map data in a proxy 2022-09-16 11:33:11 -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
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
Jason Fischer
1f2639fbb5
Add Lidarr widget 2022-09-14 19:30:51 -07:00
Ben Phelps
db18519c16 allow changing language from settings.yaml 2022-09-15 05:17:30 +03:00
Jason Fischer
b520713dc3
Add Bazarr widget
associated: #110
2022-09-14 16:15:26 -07:00
Jason Fischer
5009f9d3f2 Merge branch 'main' into add-jackett-widget 2022-09-14 10:50:53 -07:00
Jason Fischer
f750876425 Add the Jackett widget
- add the follow-redirect package
- add the tough-cookie package

Jackett API uses a redirect mechanism to set a CSRF token.
This CSRF token is stored in a cookie that is required to
be present or the API won't work.
2022-09-14 10:46:52 -07:00
Ben Phelps
7f91fe59e2 allow setting base and favicon 2022-09-14 09:11:55 +03:00
Jason Fischer
95b6ea0e23 Merge main 2022-09-12 19:38:43 -07:00
Jason Fischer
b3db549a65 Add Transmission widget
- Update http.js to support writing request bodies
- Update http.js to support returning all response headers

resolves: #104
2022-09-12 19:35:47 -07:00
Francisco Coelho
b5538655e0 Add Prowlarr widget 2022-09-12 17:56:04 +01:00
Francisco Coelho
0c9c1c599f Merge branch 'main' of https://github.com/xicopitz/homepage 2022-09-12 09:37:42 +01:00
Ben Phelps
3660140539 consolidate api handlers 2022-09-12 10:59:56 +03:00
Ben Phelps
15a0e6cc54
Merge branch 'main' into main 2022-09-12 10:40:56 +03:00
Chris McGravey
1c158f743c - Add CoinMarketCap widget 2022-09-12 01:30:42 -05:00
Jason Fischer
f8aa1ba391 Add Readarr and SABnzbd widgets 2022-09-11 19:49:18 -07:00
Francisco Coelho
9d790894d5 Sabnzbd Support 2022-09-12 02:22:39 +01:00
Francisco Coelho
a304d87b8a Merge branch 'main' of https://github.com/xicopitz/homepage 2022-09-11 22:08:11 +01:00
Ben Phelps
ffbb1f5f0b tweak widget layouts for mobile 2022-09-11 21:02:33 +03:00
Ben Phelps
4aedda7ba2 add Overseerr widget 2022-09-11 17:24:33 +03:00
Ben Phelps
236450f6f1 add error logging to services fetching 2022-09-11 14:28:29 +03:00
Ben Phelps
d861264ecf fix error case cause failure to load anything 2022-09-11 11:13:54 +03:00
Francisco Coelho
9831df1427 Update proxy.js 2022-09-11 04:39:40 +01:00
Ben Phelps
d66326b41d implement docker service discovery via labels 2022-09-09 21:53:05 +03:00
Ben Phelps
c418efe007 fix fallback to / in disk resource widget 2022-09-09 15:27:42 +03:00
Ben Phelps
0c8bbdf02b background images, document title 2022-09-09 06:45:43 +03:00
Ben Phelps
c08d4b7b9c implement i18n 2022-09-08 11:48:16 +03:00
Ben Phelps
d25148c8ae revert to array key indexes, it’s the only option 2022-09-08 11:47:21 +03:00
Ben Phelps
f74e8b9d32 linting and cleanup 2022-09-07 16:53:24 +03:00
Ben Phelps
8373057758 add simple healthcheck endpoint 2022-09-06 09:13:48 +03:00
Ben Phelps
5a8defb478 allow weather apis to use hidden api keys 2022-09-05 20:14:14 +03:00
Ben Phelps
bad436b858 fix jellyfin widget api calls 2022-09-05 08:19:50 +03:00
Ben Phelps
97bf174b78 refactor widget api design
this passes all widget API calls through the backend, with a pluggable design and reusable API handlers
2022-09-04 21:58:42 +03:00
Ben Phelps
8f001ad88a tweak mobile layouts for widgets 2022-09-03 12:40:04 +03:00
aidenpwnz
4581c4eeb0 FEAT: Searchbar || FIX: spacings, overflows 2022-09-01 19:11:45 +02:00
Ben Phelps
7b6cbb4ee1 updates to handle more than one weather widget 2022-08-27 15:26:00 +03:00
Ben Phelps
dc6b172df9
Merge pull request #25 from AlexFullmoon/main
Added OpenWeatherMap widget.
2022-08-27 15:13:27 +03:00
AlexFullmoon
2faa78163a Cleaned up some OpenWeatherMap logic. 2022-08-27 14:28:47 +03:00
AlexFullmoon
6a97d392c9 Added OpenWeatherMap widget. 2022-08-27 13:30:17 +03:00
Ben Phelps
688caa02c5 space elements via the parent, remove margins 2022-08-27 11:03:42 +03:00
Ben Phelps
b61ec9836e refactor information widgets 2022-08-27 00:55:13 +03:00
Ben Phelps
7647d8eb4e fix portainer offline containers count 2022-08-26 22:33:54 +03:00
Ben Phelps
66e7637ea6 add ruTorrent widget 2022-08-25 21:32:56 +03:00
Ben Phelps
1f3cd43bef forward proxy bodies raw 2022-08-25 20:57:25 +03:00
Ben Phelps
1f58d4be23 allow http proxied requests 2022-08-25 17:57:18 +03:00
Ben Phelps
1b2fa720c6 add theme switcher 2022-08-25 11:14:17 +03:00
Ben Phelps
481cb71e65 switch to https over fetch for the proxy api
this allows for complete control and the ability to ignored self-signed certificates
2022-08-25 01:57:07 +03:00
Ben Phelps
ccc37260a0 use a custom https agent for self-signed bypass 2022-08-25 01:33:39 +03:00
Ben Phelps
3914fee775 first public source commit 2022-08-24 10:44:35 +03:00