81 Commits

Author SHA1 Message Date
shamoon
f13144ceb8 Remove widget type passing 2024-06-03 09:20:26 -07:00
shamoon
52cce0ee21 Merge pull request from GHSA-24m5-7vjx-9x37
* Restrict emby endpoints and proxy segments

* Dont allow path traversal in segments

* Restrict qbittorrent proxy endpoints

* Restrict npm proxy endpoints

* Restrict flood proxy endpoints

* Restrict tdarr proxy endpoints

* Restrict xteve proxy endpoints

* Restrict transmission proxy endpoints

* disallow non-mapped endpoints

this change drops all requests that have un-mapped endpoint queries

allowedEndpoints is added as a method to pass proxy requests via a regex on the endpoint

most widgets with custom proxies use either no endpoint, or a static one

Co-Authored-By: Ben Phelps <ben@phelps.io>
2024-06-03 09:04:21 -07:00
shamoon
ea63716b61
Fix: some error URLs aren't sanitized (#3385) 2024-04-29 17:18:55 -07:00
Dawud
885b2624a8
Enhancement: support Jackett widget with admin password (#3097) (#3165)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-23 01:34:07 -07:00
teffalump
b05b9b1420 Feature: Add tandoor widget (#3060)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-03-08 19:13:36 -08:00
shamoon
e92ccc30ba Fix: only log errors directly if exist 2024-02-28 11:44:32 -08:00
shamoon
1893c9b8da Fix: Google search suggestions with accented characters (#2993) 2024-02-24 15:26:05 -08:00
shamoon
fce694e2b9 Feature: add gitea widget (#2968) 2024-02-24 15:26:05 -08:00
Massimiliano De Luise
619f365c92
Feature: Plant-it widget (#2941) 2024-02-19 17:54:28 -08:00
Derek Stotz
c268739e1f
Enhancement: Add requestBody param for customapi (#2921) 2024-02-16 20:25:31 -08:00
Derek Stotz
0d47dcaac7
Enhancement: Add enablePools option to TrueNAS service widget (#2908)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-02-15 21:38:55 -08:00
shamoon
1ddd528bd7
Fix quick launch not opening with accented characters, decoding of characters in suggestions (#2802) 2024-02-01 00:42:22 -08:00
shamoon
0c8c759f8a
Enable autoSelectFamily for http(s) requests (#2214) 2023-10-19 14:42:15 -07:00
shamoon
8ec488efbd Revert "Fix: subdirectory deployment (#2205)"
This revers commit b8eda91005f389eb2d907b8b56494b4f6df03447
2023-10-18 11:44:26 -07:00
shamoon
19c25713c4 Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
2023-10-18 09:49:33 -07:00
Isidro Osoria
b8eda91005
Fix: subdirectory deployment (#2205) 2023-10-18 08:49:42 -07:00
Denis Papec
4cd4103edf
Feature: calendar widget (#2077)
* Implemented calendar

Signed-off-by: Denis Papec <denis.papec@gmail.com>

* Added lidarr events to calendar

Signed-off-by: Denis Papec <denis.papec@gmail.com>

* Added radarr events to calendar

Signed-off-by: Denis Papec <denis.papec@gmail.com>

* Added readarr events to calendar

Signed-off-by: Denis Papec <denis.papec@gmail.com>

* Added sonarr events to calendar

Signed-off-by: Denis Papec <denis.papec@gmail.com>

* fix sonarr series title

* integrations

* fix bad setstate call

* handle user sets includeSeries: false for sonarr

* Translate radarr release strings

* Support all widths

* readarr get author

* Finished first day in week config

Signed-off-by: Denis Papec <denis.papec@gmail.com>

---------

Signed-off-by: Denis Papec <denis.papec@gmail.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-28 11:23:44 -07:00
shamoon
95635fca04
Revert "Enhancement: forward cookies from request (#1804)" (#1946)
This reverts commit d4edd432d8a766b38609c696b76af058e92e2ba2.
2023-09-09 06:07:04 -07:00
James Waters
d4edd432d8
Enhancement: forward cookies from request (#1804) 2023-09-08 16:50:32 -07:00
Zack Rauen
d6448763e0 Allow widgets to add header or set methods 2023-08-27 18:46:50 -04:00
shamoon
7cede1318e Support extra headers in widgets 2023-08-22 21:42:53 -07:00
Jonathan Crangle
58f4cf6edd Add mealie widget 2023-08-09 15:13:17 -04:00
Ben Phelps
9aba70d214 glances widget test 1 2023-08-01 03:54:19 +03:00
Nitzan Miranda
7e05adc02a
Add Azure DevOps (#1715)
* add azure pullrequrests

* add creatorId

* rename azurePullrequests->azurePullRequests

* pass creatorId to FE

* expose userEmail to frontend

* tolower

* remove unused code

* merge to AzureDevOps

* fix userEmail

* remove whitespace in const and set true endpoint in widget

* use widget params in endpoint

* change approvedNotCompleted to Approved

* change to lower

* rename

* rename

* merge widgets together

* limit pipeline result to 1 result

* Better handle azuredevops PR call failures

* change to have repositoryId and not branchName

* Fix field filtering, avoid PR call if not needed

---------

Co-authored-by: Nitzan Miranda <Nitzan.Miranda@bagirasys.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-07-29 22:17:30 -07:00
Nitzan Miranda
04cccfdd60 Adds azure pipelines widget
Add translation for result and status
remove buildId value translation
Fixes syntax in azure pipelines
hide running status if finished
2023-07-20 14:45:10 -07:00
shamoon
d1f83c0359 Update http.js 2023-07-03 22:12:17 -07:00
nsankbeil
5640798fe4 fix: handle missing EOF when decompressing response
Closes: #1609
2023-07-03 11:49:16 -04:00
shamoon
b437ccde2f Another attempt to catch zlib decompression errors 2023-06-13 19:21:12 -07:00
shamoon
abcea88d0a Try to handle zlib errors 2023-06-13 15:23:19 -07:00
shamoon
c92d1caf80 Allow useWidgetAPI to not actually send a request 2023-06-07 13:43:53 -07:00
nsankbeil
3a29262256 feat: support compressed responses 2023-06-05 21:44:58 -04:00
Cyb3rzombie
8f0cd7e088 Add support for auth token 2023-06-05 18:26:11 +02:00
shamoon
1b984abd91 Fix error port display, again 2023-05-23 03:37:56 -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
bc981aae3d Include port in error messages 2023-05-14 21:24:09 -07: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
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
4824ed1a2c Fix data buffer parsing error 2023-04-06 07:03:06 -07:00
shamoon
379d2e59f1 preserve swr mutate 2023-04-05 22:45:27 -07:00
shamoon
64b43871c6 Try to fix false data parse errors 2023-04-05 22:17:52 -07:00
shamoon
7d8da29e57 Update credentialed.js 2023-03-19 23:03:12 -07:00
Mirek Szajowski
94dc5ad0e5 Add support of NC-Token to Nextcloud widget 2023-03-20 03:03:43 +01:00
shamoon
b8a1b90713 Update credentialed.js 2023-03-05 23:32:27 -08:00
Mathias R
e97fdc17be Added Ghostfolio widget 2023-03-01 19:44:13 +01:00
shamoon
e9790e5677 Change cloudflare widget to use api tokens 2023-02-26 08:18:47 -08:00
shamoon
060d5afcaa Simplify pterodactyl to only show server / node counts 2023-02-23 07:50:13 -08:00
shamoon
e35a66d3f1 Suppory body in widget endpoint mappings 2023-02-18 22:18:27 -08:00
shamoon
e1176e9e3b Strip sensitive information contained in URLs from frontend API calls 2023-02-15 14:46:31 -08:00