81 Commits

Author SHA1 Message Date
shamoon
3600e5487d
Apply suggestions from #964 code review 2023-02-08 08:30:53 -08:00
chain710
f109ffa9bc cookieJar.setCookieSync ignore error
cookieJar.setCookieSync crash node when error, like:
```
uncaughtException: Error: Cookie not in this host's domain. Cookie:example.com Request:127.0.0.1
```
2023-02-08 20:33:11 +08:00
Benoit
4c17e3fd14 Synology Widget : making it work with multiple widgets connecting to differents versions of DSM 2023-01-31 12:07:23 +01:00
Jason Fischer
893b3f0986
Merge main 2023-01-29 17:07:40 -08:00
Jason Fischer
e62952c2c1
Create reusable Synology proxy
- Migrate DiskStation and DownloadStation to use new proxy
- Move DiskStation proxy UI logic into component
2023-01-29 17:04:36 -08:00
Eizock
2a42d89d08
Add Proxmox Backup Server Widget (#879)
* Add Proxmox Backup Server Widget

* Clarification added to Failed Tasks

* Refactor pbs to proxmoxbackupserver

* Removing property instead of recreating object

* minor code styling of proxmoxbackupserver widget

---------

Co-authored-by: Eizock <>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
2023-01-28 16:32:47 -08:00
KillahBee
fa1792cd5f adding cloudflare widget 2023-01-20 11:43:19 -05:00
Michael Shamoon
fc2e17fa59 fix useWidgetAPI refreshInterval 2023-01-09 01:33:58 -08:00
John Hollowell
34a7b25c9c Add truenas key to credentialed proxy handler
Revert "Change TrueNAS to use API key"

This reverts commit 1926c26b77d8e048d92da6e20ff24a3056237daf.

Co-Authored-By: John Hollowell <jhollowe@johnhollowell.com>
2023-01-07 10:00:16 -08:00
Michael Shamoon
93445a2831 Use credentialed proxy for miniflux 2022-12-16 22:33:24 -08:00
Michael Shamoon
db46931246 Allow map in credentialedproxy 2022-12-16 22:32:28 -08:00
Jason Fischer
9f03d18e49
Move content-length calculation to http module
- consolidate http / https functionality to single function
2022-11-24 12:26:22 -08:00
Michael Shamoon
ccfafe1b31 fix fatal jsonrpc error, error handling, add content-length 2022-11-23 23:02:42 -08:00
Jason Fischer
7266390491
Add Deluge widget
- Create semi-generic jsonrpc proxy handler
- Refactor NZBGet to use jsonrpc proxy handler

closes #190
2022-11-23 11:51:53 -08: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
f9c2f40ad1 hide webkit details marker, logger url output 2022-11-19 00:12:05 -08:00
Michael Shamoon
4ccf8eddae fixes for widget validation 2022-11-18 23:07:25 -08:00
Michael Shamoon
8a783ba9f6 Simplify error catching 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
1c456b70c0 Re-create service ping, docker status changes
See #388
2022-11-07 11:35:13 -08:00
Brandon Barker
68b8e4b376 feat: add tubearchivist widget 2022-10-31 15:23:34 +02:00
Brandon Barker
a2a5382ddb feat: add autobrr widget 2022-10-26 12:56:43 +02:00
Jason Fischer
260201c2b4
Decompose i18n labels for Unifi widget
- Needed to decompose i18n labels for Unifi widget in order for field visibility setting to work correctly
- Fixed weird edge case where a call to cached-fetch would fail if no duration was passed
- Have VS Code hide the .next and node_modules folders from tree view
2022-10-09 20:05:28 -07: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
Jason Fischer
a9fb458f19
Add Proxmox widget 2022-10-04 21:46:48 -07:00
Jason Fischer
65755a08aa
Better login strategy for qbittorrent proxy
- Additional logging in httpProxy
2022-09-28 09:55:18 -07:00
Ben Phelps
8f59c4a236 trim url trailing slashes 2022-09-28 10:14:44 +03:00
Ben Phelps
0a58f259ff wrapped proxy calls via useWidgetAPI 2022-09-27 22:59:14 +03:00
Ben Phelps
8e0075ff90 expire all cookies after 1 hour 2022-09-27 10:48:52 +03:00
Ben Phelps
4386999c38 further restructuring 2022-09-26 15:25:10 +03:00
Ben Phelps
e1a3a82f75 utils cleanup, initial static generation 2022-09-26 12:04:37 +03:00