Commit Graph

1194 Commits

Author SHA1 Message Date
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
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
Jason Fischer
f999f4a467
Add Sonarr refactor 2022-09-25 10:13:31 -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
3ae4113043 refactor docker stats open/close 2022-09-25 19:38:02 +03:00
Ben Phelps
50fe6041f0 better fallback support 2022-09-24 15:13:14 +03:00
Ben Phelps
555a4b6b05 extralight is extra… light 2022-09-24 14:54:37 +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
5667cedafc
Merge branch 'main' into patch-nextjs-logging 2022-09-21 23:38:53 -07: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
0e5477eecf experiment with lazily loaded widgets 2022-09-21 22:26:58 +03:00
Jason Fischer
5776544c20
Write homepage.log into config folder
This will make it easier for people to find their log file(s)
2022-09-21 08:32:37 -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
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
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
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
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
cf41e988eb fix error with no map 2022-09-17 08:38:53 +03: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
578b715a1f allow HTTP basic auth on generic proxy 2022-09-16 14:05:27 +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
Jason Fischer
cf2f987fd4
Update completed album logic 2022-09-14 19:36:15 -07:00
Jason Fischer
1f2639fbb5
Add Lidarr widget 2022-09-14 19:30:51 -07:00
Ben Phelps
3c2880e4ba allow search to be auto-focused 2022-09-15 05:28:40 +03: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
0a5cdfc57a Refactor setting cookie header into own method 2022-09-14 11:08:36 -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
79e5ff2fea fix linting 2022-09-14 09:23:21 +03:00
Ben Phelps
7f91fe59e2 allow setting base and favicon 2022-09-14 09:11:55 +03:00
Ben Phelps
62188ffdc7 cleanup 2022-09-14 09:09:11 +03:00
Chris McGravey
6b45825472 translate 2022-09-13 17:29:02 -05:00
Chris McGravey
767aa9b3e1 Update CoinMarketCap widget to have time selector 2022-09-13 15:35:53 -05:00
Ben Phelps
d46f5f4613 reverse status icons for Tautulli 2022-09-13 20:48:08 +03:00
Jason Fischer
b19b4f047e Fix linting errors 2022-09-12 20:06:00 -07: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
Ben Phelps
340b138962 Add expanded view for resource widgets 2022-09-12 21:13:57 +03:00
Ben Phelps
7ae0ba31cb remove backdrop-blur until it can be made opt-in 2022-09-12 21:13:37 +03:00
Francisco Coelho
9287d711dc Update prowlarr.jsx 2022-09-12 18:00:53 +01:00
Francisco Coelho
b5538655e0 Add Prowlarr widget 2022-09-12 17:56:04 +01:00
Ben Phelps
ea06fbe666 js linting 2022-09-12 12:39:04 +03:00
Ben Phelps
cc0b4be50c cleanup coinmarketcap widget 2022-09-12 12:38:50 +03:00
Francisco Coelho
840c88db89 Update widget.jsx
duplicated widget name
2022-09-12 10:23:44 +01:00
Francisco Coelho
8e8c9755a3
Merge branch 'benphelps:main' into main 2022-09-12 10:07:06 +01:00
Francisco Coelho
ba3b48e8ce Gotify 2022-09-12 10:06:47 +01:00
Ben Phelps
d3806f7d5b better handle non-clickable service tiles 2022-09-12 11:55:01 +03:00
Francisco Coelho
0c9c1c599f Merge branch 'main' of https://github.com/xicopitz/homepage 2022-09-12 09:37:42 +01:00
Francisco Coelho
af02440c40 Revert "Update credentialed.js"
This reverts commit eeac1200e7.
2022-09-12 09:31:44 +01:00
Ben Phelps
cd53440eff fix search and weather widget spacing 2022-09-12 11:00:15 +03: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
Ben Phelps
ee79335eff
Merge pull request #116 from JazzFisch/additional-widgets
Add Readarr and SABnzbd widgets
2022-09-12 10:23:49 +03:00
Ben Phelps
83d7100dd1 normalize media streaming widget padding 2022-09-12 09:41:44 +03:00
Chris McGravey
ccd9049806 Merge branch 'main' of https://github.com/ItsJustMeChris/homepage 2022-09-12 01:38:43 -05:00
Chris McGravey
769f36fa8e - Change block to return configure translation text 2022-09-12 01:38:29 -05:00
Chris
ffe89b02e9
Merge branch 'benphelps:main' into main 2022-09-12 01:32:09 -05:00
Chris McGravey
1c158f743c - Add CoinMarketCap widget 2022-09-12 01:30:42 -05:00
Ben Phelps
4531985032 fix standalone docker widget 2022-09-12 06:18:51 +03: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
eeac1200e7 Update credentialed.js 2022-09-11 22:11:14 +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
ad53119088 fix theme selector on mobile 2022-09-11 19:11:58 +03:00
Ben Phelps
4aedda7ba2 add Overseerr widget 2022-09-11 17:24:33 +03:00
Ben Phelps
bd2b28a7ac redesigned media streaming widgets 2022-09-11 17:01:51 +03:00
Ben Phelps
53149df5f1 handle proxy methods other than GET 2022-09-11 14:30:28 +03:00
Ben Phelps
bc2025b3ba handle 204 and 304 proxy responses 2022-09-11 14:30:14 +03:00
Ben Phelps
236450f6f1 add error logging to services fetching 2022-09-11 14:28:29 +03:00
Ben Phelps
fb9e03b31d attempt to fix layout shift on resource widgets 2022-09-11 14:28:12 +03:00
Ben Phelps
31ccb9c933 fix no disk case 2022-09-11 14:21:16 +03:00
Ben Phelps
6e01a743df support array of disks, for disk resource widget 2022-09-11 14:13:58 +03:00
Ben Phelps
ed65c89516 blur backdrops for better background image support 2022-09-11 13:46:01 +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
Francisco Coelho
5e6312fe93 Add Gotify Service 2022-09-11 04:11:02 +01:00
Ben Phelps
e3237b9022 fix text alignment 2022-09-10 21:43:14 +03:00
Ben Phelps
3882dd4f5a fix cases where configurations are empty 2022-09-09 22:01:01 +03: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
85bc078c46 always attempt location fetch
if it fails, then we just fallback to user interaction
2022-09-09 12:57:15 +03:00
Ben Phelps
e4ea30becc implement weather geolocation 2022-09-09 12:44:34 +03:00
Ben Phelps
61f91f0e45 remove logging 2022-09-09 11:51:36 +03:00
Ben Phelps
c6d8668e69 fix jellyfin integration 2022-09-09 11:42:08 +03:00
Ben Phelps
13779c5618 update skeleton files 2022-09-09 07:10:45 +03:00
Ben Phelps
7b523501ad fix linting 2022-09-09 07:10:33 +03:00
Ben Phelps
0c8bbdf02b background images, document title 2022-09-09 06:45:43 +03:00
Ben Phelps
0b43f83daa cleanup bitrate/byterate i18n formatter 2022-09-08 20:17:58 +03:00
Ben Phelps
0f2f552e87 normalize resource widget styling 2022-09-08 20:17:39 +03:00
Ben Phelps
1b885cb189 fix incorrect i18n keys 2022-09-08 13:19:49 +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
b0e640fd03 remove unused component 2022-09-08 11:45:59 +03:00
Ben Phelps
81e3b0bd1e cleanup resource widget design 2022-09-07 17:17:01 +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
939f5d7c20 fix path.join import 2022-09-06 08:39:25 +03:00
Ben Phelps
cf39395924 add documentation link 2022-09-05 20:20:34 +03:00
Ben Phelps
6061d9ec65 cleanup imports 2022-09-05 20:19:08 +03:00
Ben Phelps
5a8defb478 allow weather apis to use hidden api keys 2022-09-05 20:14:14 +03:00
Ben Phelps
08afa0b747 check that content type exists before setting it 2022-09-05 10:08:02 +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
975f79f6cc add Tautulli widget 2022-09-03 15:36:59 +03:00
Ben Phelps
e72efe7fd0 fix movies count in radarr widget 2022-09-03 14:55:16 +03:00
Ben Phelps
10c63939dc cleanup search widget 2022-09-03 13:12:09 +03:00
Ben Phelps
972ede9249 fix mismatched labels 2022-09-03 12:40:15 +03:00
Ben Phelps
8f001ad88a tweak mobile layouts for widgets 2022-09-03 12:40:04 +03:00
aidenpwnz
0622395ec7 FIX: leftover 2022-09-02 16:54:42 +02:00
aidenpwnz
533f40b536 Merge remote-tracking branch 'origin' into feature/npm 2022-09-02 16:49:46 +02:00
aidenpwnz
13afe82fa5 FEAT: NGINX Proxy Manager 2022-09-02 16:48:28 +02:00
Luca Pellegrino
10c27dfd84
Merge branch 'benphelps:main' into main 2022-09-02 12:16:25 +02:00
aidenpwnz
057d5eca8f FEAT: NGINX Proxy Manager 2022-09-02 12:13:15 +02:00
Ben Phelps
e89f3668a9
Merge pull request #46 from quod/main
Fix typos
2022-09-02 11:03:18 +03:00
Ben Phelps
c46306fc1d allow services to be display only 2022-09-02 10:55:19 +03:00
Benjamin Carson
76d534583b Fix typos 2022-09-01 17:24:08 -05:00
aidenpwnz
7b4f360a5e FIX: minor issue with abbr 2022-09-01 19:30:15 +02:00
aidenpwnz
992b18c9de FEAT: Searchbar 2022-09-01 19:21:44 +02:00
aidenpwnz
6291a5422a FIX: overflows 2022-09-01 19:13:51 +02:00
aidenpwnz
4581c4eeb0 FEAT: Searchbar || FIX: spacings, overflows 2022-09-01 19:11:45 +02:00
ilusi0n
a1841f26bb merge with main 2022-08-28 11:26:29 +01:00
ilusi0n
c4ab3eb992 add jellyseerr integration 2022-08-28 11:22:43 +01:00
Ben Phelps
617cbcaee1 fix docker widget when network_mode is host 2022-08-28 10:15:25 +03:00
Ben Phelps
313f2ead47 update example files 2022-08-27 21:15:13 +03:00
Ben Phelps
7a745ce27f external icons will come from a mount point 2022-08-27 18:07:57 +03: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
Ben Phelps
3df1f6b766 add support for custom and other remote icons 2022-08-27 13:50:37 +03:00
AlexFullmoon
6a97d392c9 Added OpenWeatherMap widget. 2022-08-27 13:30:17 +03:00
Ben Phelps
a7dd6d965d handle proxying binary data 2022-08-27 12:38:32 +03:00
Ben Phelps
2de82795c7 add traefik service widget 2022-08-27 11:23:04 +03:00
Ben Phelps
82b0ef38fd rework the weather widget label 2022-08-27 11:04:06 +03:00
Ben Phelps
688caa02c5 space elements via the parent, remove margins 2022-08-27 11:03:42 +03:00
Ben Phelps
086c767ed6 pad string to a fixed length to stop shifting 2022-08-27 11:03:12 +03:00
Ben Phelps
f0f470ba8b add attribution to the condition map class 2022-08-27 09:31:46 +03:00
Ben Phelps
ac718c852a add speedtest-tracker integration 2022-08-27 03:50:49 +03:00
Ben Phelps
8cbead1703 allow pihole requests to be proxied 2022-08-27 02:03:56 +03:00
Ben Phelps
b61ec9836e refactor information widgets 2022-08-27 00:55:13 +03:00
Ben Phelps
1124f55361 tweak shadows on darkmode item containers 2022-08-26 22:34:58 +03:00
Ben Phelps
1141401e56 add Jellyfin integration 2022-08-26 22:34:24 +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
848bd4543c add PiHole widget 2022-08-25 18:37:22 +03:00
Ben Phelps
1f58d4be23 allow http proxied requests 2022-08-25 17:57:18 +03:00
Ben Phelps
94e9d66bec refactor service widgets 2022-08-25 16:29:26 +03:00
Ben Phelps
7de1430af6 remove sharp dep, switch to next/future/image
also disable image optimization, as its not needed in our use case
2022-08-25 14:32:53 +03:00
Ben Phelps
affd1e97c2 remove debug lines 2022-08-25 14:07:14 +03:00
Ben Phelps
bfc307efbe debug fs steps 2022-08-25 13:16:03 +03:00
Ben Phelps
1b2fa720c6 add theme switcher 2022-08-25 11:14:17 +03:00
Ben Phelps
5711b22b4e improve weather widget error state 2022-08-25 11:13:31 +03:00
Ben Phelps
89d0478443 remove nzbget debug 2022-08-25 05:00:38 +03:00
Ben Phelps
5288717727 refresh emby stats every second 2022-08-25 02:49:05 +03:00
Ben Phelps
33cf69964a add nzbget service widget 2022-08-25 02:48:52 +03:00
Ben Phelps
d54561cec9 cleanup formatting 2022-08-25 02:42:33 +03:00
Ben Phelps
283cb0681d fix resources GB used stat 2022-08-25 02:02:06 +03:00
Ben Phelps
ca7ccee3d0 improve error state for resources component 2022-08-25 02:01:21 +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
10aec6dc60 add emby service widget 2022-08-25 01:35:02 +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