Commit Graph

852 Commits

Author SHA1 Message Date
shamoon
0101e8ccb9 make portainer error detection more specific 2023-06-08 09:42:35 -07:00
shamoon
2da66b504b lint lidarr widget.js 2023-06-08 07:17:58 -07:00
shamoon
350e27c32b
Merge pull request #1587 from benphelps/fix/remove-lidarr-album
Change: lidarr use artist instead of album
2023-06-08 07:16:05 -07:00
shamoon
ea50a851f3 Change lidarr to artist instead of album 2023-06-08 07:15:35 -07:00
shamoon
27958c9f69
Merge pull request #1571 from rkokkelk/issue/1496
Fix: use service labels instead of container for service discovery with Docker Swarm
2023-06-08 00:35:22 -07:00
shamoon
4245f1070a fix docker service discovery, code styling 2023-06-07 14:06:23 -07:00
shamoon
c92d1caf80 Allow useWidgetAPI to not actually send a request 2023-06-07 13:43:53 -07:00
Denis Papec
91e0ec2f83
Fixes for portainer and kubernetes widget error messages, and error messages for services behind the reverse proxy
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-07 00:54:51 +01:00
shamoon
774ca4b3b2
Merge pull request #1575 from nathan-sankbeil/feat/gzip
Support proxying compressed responses
2023-06-06 14:11:23 -07:00
shamoon
2c62f180a9
Merge pull request #1560 from Schoggi0815/feature/sonarr-radarr-queue-list
Feature/sonarr radarr queue list
2023-06-06 13:31:13 -07:00
shamoon
dd4ee44302 Simplify sonarr / radarr queues, better handle some errors 2023-06-05 22:23:21 -07:00
nsankbeil
3a29262256 feat: support compressed responses 2023-06-05 21:44:58 -04:00
Matteo Bossi
5b3d1cc6e0 Make styling more consistent and add toggle to opt-in instead of opting out 2023-06-06 01:14:10 +02:00
Denis Papec
a55fe939cb
Further improvements to simplify information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-05 23:18:18 +01:00
Cyb3rzombie
8f0cd7e088 Add support for auth token 2023-06-05 18:26:11 +02:00
RoyK
f656c2b46d
fix(service-helper): service detection with Docker Swarm
The current implementation of service detection focusses on containers.
However when using Docker Swarm this limits automatic service detection
to the containers running on the same node as homepage (or
docker-proxy). Detecting other services in the docker swarm is with the
current implementation not possible.

This commit fixes this by getting the appropriate labels from services
when Docker swarm is configured in the config file. This ensures that
the appropriate labels are gathered from the service definition instead
of the container definiation, thus allowing for automatic service
detection for the entire Docker swarm. Please note that in order for
this to function the homepage (or dockerproxy) should be running on a
manager node. Only the manager node is able to gather all the relevant
service labels.

Fixes: #752, #970, #955, #1255, #1045, #1496
2023-06-05 16:06:14 +02:00
Denis Papec
d4fd923be5
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 03:01:21 +01:00
Denis Papec
c79d45f91e
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 02:14:38 +01:00
Matteo Bossi
0eab4e7943 Fix Mobile view 2023-06-02 15:46:43 +02:00
Matteo Bossi
28e39e46ae Add queue list 2023-06-02 14:57:27 +02:00
shamoon
56644ac487 Support env substitution for k8s 2023-05-28 23:03:04 -07:00
Jon
e6d95e29ee
Translate environment vars in labels 2023-05-29 01:14:03 -04:00
shamoon
bd5c10e907 Handle k8s widget metrics call fails 2023-05-28 19:57:39 -07:00
shamoon
0a5eb1ae75 Properly encode qbittorrent credentials 2023-05-28 19:46:28 -07:00
shamoon
febb4cc6d5 Support settings layout as a list 2023-05-28 09:51:44 -07:00
shamoon
5850a48ec9 Include right margin on greeting widget
Closes #224

Co-Authored-By: David Moor <dave@ducks-n-tworms.co.uk>
2023-05-26 08:21:02 -07:00
shamoon
4948485c50 Support using docker labels for HASS widget custom 2023-05-25 23:15:45 -07:00
theshaun
cd14dbde58 Correctly use sys_tempc instead of cpu_tempc 2023-05-24 20:59:34 +10:00
shamoon
1b984abd91 Fix error port display, again 2023-05-23 03:37:56 -07:00
Georges-Antoine Assi
cdd7b2d44b
Enhanced glances widget (#1534)
* Enhanced glances widget (resource match)

* Make widget clickable + cleanup helperrs

* Prevent unused glances API calls

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 10:50:58 -07:00
Salvatore Gabriele La Greca
36eaaafd88
Added PiAlert widget [WIP] (#1493)
* Added PiAlert widget

* pialert: comments clean

* Syntax changes to piAlert widget

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-21 09:12:14 -07:00
Shaun Walker
cf7c68261f
Add support for QNAP instances with multiple volumes (#1528)
* Add support for pfSense API

* Fix linting issues

* remove a line

* rename cpu to load in default block

* Re-order container blocks to ensure defaults show

* clean up

* Add support for multiple volumes as well as defining the volume you want to track

* QNAP widget syntax corrections, translate invalid

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-21 08:13:40 -07:00
shamoon
f1a33f10ed Add try catch for ping 2023-05-20 09:48:18 -07:00
shamoon
7e005e51cc Fix background filters outside viewport 2023-05-20 03:17:47 -07:00
shamoon
8a92d92b22 Make background wrapper full height 2023-05-20 02:43:07 -07:00
shamoon
a9d3873579 QNAP widget make sure re-auth status = 200 2023-05-19 12:45:32 -07:00
theshaun
d402be2b78 clean up 2023-05-19 12:45:32 -07:00
theshaun
2ca46b595b Fix issue with key expiring and not updating correctly 2023-05-19 12:45:32 -07:00
theshaun
db2481cf0e Re-order container blocks to ensure defaults show 2023-05-19 12:45:32 -07:00
theshaun
865206802c rename cpu to load in default block 2023-05-19 12:45:32 -07:00
theshaun
668779ede1 remove a line 2023-05-19 12:45:32 -07:00
theshaun
1ca2407256 Fix linting issues 2023-05-19 12:45:32 -07:00
theshaun
3240b7a169 Add support for pfSense API 2023-05-19 12:45:32 -07:00
shamoon
ba21ae60d7 url error log 2023-05-18 00:26:32 -07:00
David O'Trakoun
4f3396cf32
error hostname:port/path was missing colon 2023-05-17 20:03:08 -04:00
shamoon
be7aa5835a Remove visiblechildren slice
Closes #1512
2023-05-17 14:23:03 -07:00
shamoon
d87c5e100d Update container.jsx 2023-05-17 13:21:50 -07:00
Bruno Rossetto
cc36ad19ee
Fix Slice error on container.jsx 2023-05-17 17:02:46 -03:00
emre-54
03eb1b1112
Add evcc widget (#1473)
* added all evcc related files

* changed units

* bugfix changed first value to pvPower insted of homePower

* deleted proxy.js

* delted battary label and german translation

* Code style changes to evcc widget

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-17 10:39:15 -07:00
shamoon
135f738249
Merge pull request #1503 from grimsi/caddy
Implement Caddy widget
2023-05-14 21:25:35 -07:00
shamoon
bc981aae3d Include port in error messages 2023-05-14 21:24:09 -07:00
Simon Grimme
516423c8bd Implement Caddy widget 2023-05-15 02:12:56 +02:00
Shaun Walker
77f4c8bf54
Add pfSense API widget (#1491)
* Add support for pfSense API

* Fix linting issues

* remove a line

* rename cpu to load in default block

* Re-order container blocks to ensure defaults show

* simplify pfsense widget, rename, limit blocks

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-13 13:44:33 -07:00
shamoon
6324c895ea
Merge pull request #1485 from flor0/main
Add support for dashboard-icons SVG file format
2023-05-11 09:59:49 -07:00
shamoon
866bb1c330 Update container.jsx 2023-05-09 16:43:58 -07:00
shamoon
20e3c16089 Remove narrow unit display 2023-05-09 16:43:53 -07:00
Florian Rupp
ccbe11e20c add support for dashboard-icons svg format 2023-05-09 23:29:55 +02:00
shamoon
07fb55e17f
Merge pull request #1470 from theshaun/main
Prelim support for QNAP NAS
2023-05-09 06:03:42 -07:00
shamoon
df19ad7016 QNAP code style, temp formatting 2023-05-08 08:06:58 -07:00
Salvatore Gabriele La Greca
defc1195b2
PiHole widget: added new Percentage block (#1471)
* PiHole widget: added new Percentage block

* update pi-hole percentage

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-07 07:17:46 -07:00
theshaun
b4f700c185 Prelim support for QNAP NAS 2023-05-07 20:01:57 +10:00
Andre
acc19ccca1
Add Tailscale Widget (#1468)
* Added tailscale widget

* finished tailscale widget

* Consolidated date comparison to it's own function

* Modified to follow Airbnb's style guide

* Removed refresh and added translations

* fix some tailscale translation strings

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-06 21:09:33 -07:00
Georges-Antoine Assi
14a6ae4523
Replace fields in Nextcloud widget with file count and shared item count (#1455)
* New file and share count fields for Nextcloud

* Support "deprecated fields" for nextcloud widget

* Move to explicit checks

* Way more explicit render rules

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-03 20:13:36 -07:00
shamoon
bbc343abae
Merge pull request #1448 from juanmanuelbc/space
Fix: save space when services or bookmarks are not in use
2023-05-02 09:43:32 -07:00
Juan Manuel Bennàssar Carretero
3556d7c183 Fix: save space when services or bookmarks are not in use 2023-05-02 08:13:53 -07:00
shamoon
442a76a57e Handle duplicate keys for bookmarks
Closes #1445

Co-Authored-By: David <davidsmejia@gmail.com>
2023-05-01 19:54:33 -07:00
davidsmejia
1de940dd90 fallback for --tw-text-opacity 2023-05-01 17:58:01 -04:00
shamoon
6867258449 Fix overflow non-square icons 2023-05-01 11:29:35 -07:00
David
f692e71991
Add Support for Simple Icons + Add optional theme colors for icons (#1438)
* add support for simple-icons si- prefix

* add iconStyle setting

* lowercase comment

* add supported prefix comment

* Apply suggestions from code review

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

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-01 11:06:05 -07:00
shamoon
f4ffc2d29b
Merge pull request #1437 from GAntoine/hide-widget-on-error-setting
Add setting to hide widgets on failure
2023-05-01 08:18:36 -07:00
Georges-Antoine Assi
bd1c2b1881
Add setting to hide widgets on failure 2023-04-30 19:09:37 -04:00
Ciy
1b34db1109
solving docker multiple names 2023-04-30 14:45:27 +08:00
Richy HBM
f4f58409a2
Add Whats Up Docker widget (#1150)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-04-27 11:21:57 -07:00
shamoon
dc3019da80
Merge pull request #1419 from juanmanuelbc/mb
Fix: align services and widgets
2023-04-27 02:24:04 -07:00
shamoon
9de376d51c simplify plex music logic 2023-04-27 02:12:21 -07:00
Juan Manuel Bennàssar Carretero
3e02823980 Fix: align services and widgets 2023-04-27 11:04:45 +02:00
Juan Manuel Bennàssar Carretero
de11f81234 Feature: add albums to Plex service widget 2023-04-27 10:12:12 +02:00
Erv Walter
5080301efe force icons to fit withing a 32x32 square 2023-04-23 16:12:08 +00:00
Bogdan
08edae7713 Fix grabs data for Prowlarr 2023-04-22 09:31:35 +03:00
shamoon
dd6a870998 Try to get unique name for service item key and in quicklaunch 2023-04-21 17:55:35 -07:00
shamoon
b5ada5ef11 Add type field to services from api 2023-04-21 08:50:15 -07:00
shamoon
7b697a88de
Merge pull request #1384 from fancybits/add-channels
Add Channels DVR Server widget
2023-04-20 11:55:51 -07:00
Jon Maddox
3acbdda45e add Channels DVR Server widget 2023-04-19 16:24:02 -04:00
Colin
66dabe9872 Allow setting Transmission rpcUrl 2023-04-19 11:08:18 -07:00
shamoon
0904776971
Merge pull request #1380 from benphelps/feature/background-filters
Feature: support blur, saturation & brightness filters for background images
2023-04-19 08:30:18 -07:00
Heng-Yi Wu
e8713a95c0
Add FreshRSS widget (#1377)
* feat: add FreshRSS widget

* refactor: revert credentialed.js

* refactor: custom proxy handler for FreshRSS

* refactor: cache the token as long as possible

During installation, the salt is generated and remains constant unless
the user re-installs the FreshRSS instance.
2023-04-19 08:26:58 -07:00
shamoon
1aa559537a Update proxy.js 2023-04-19 07:02:33 -07:00
shamoon
55bc247c9e Support blur, saturation & brightness filters for background images 2023-04-18 22:51:46 -07:00
shamoon
f2fc78b63f Glances include cpu tempts labeled Tctl 2023-04-18 12:09:02 -07:00
shamoon
6d1db78709 Accept http 401 / 403 for ping 2023-04-14 12:05:28 -07:00
shamoon
352b4146f7 homeassistant widget minor code cleanup / changes
- limit to 4 blocks
- allow container to handle field filtering
2023-04-12 01:06:48 -07:00
henter
59448b7277 Added homeassistant widget 2023-04-11 20:54:13 +02:00
shamoon
dacb038126 Further widget validation cleanup 2023-04-11 11:15:08 -07:00
shamoon
a83d105764 Cleanup data validation 2023-04-11 11:05:30 -07:00
shamoon
91646888cd Move 5th column behind setting 2023-04-07 22:35:42 -07:00
shamoon
0416f53c04 Update group.jsx 2023-04-07 22:28:19 -07:00
shamoon
7e012993d8 Support per-service stats control 2023-04-07 21:34:33 -07:00
shamoon
7aa496f66f Update item.jsx 2023-04-06 21:53:49 -07:00
shamoon
48224f89a4 Allow show docker stats by default 2023-04-06 20:38:39 -07:00
shamoon
e4788cc7f6 Fix widget option boolean parsing with docker labels 2023-04-06 20:18:06 -07:00