Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.06k stars 1.36k forks source link

✨ Tactical RMM Widget #1649

Closed conlan0 closed 3 months ago

conlan0 commented 3 months ago

conlan0 Medium conlan0 /master → Lissy93/dashy Commits: 4 | Files Changed: 4 | Additions: 264 Label Unchecked Tasks Powered by Pull Request Badge

Category: Feature

Overview Added Tactical RMM server status widget This widget uses the built-in monitoring endpoint of a hosted Tactical RMM instance and displays the data returned to monitor your server's status the widget uses 2 options (url and token) to connect to your server and start displaying the status data.

Also made a slight change to the cors-proxy to send the request body as data instead of json. (I have tested with some widgets to assure no functionality loss but not all widgets)

Screenshot

image

Code Quality Checklist (Please complete)

netlify[bot] commented 3 months ago

Deploy Preview for dashy-dev ready!

Name Link
Latest commit 7051aeda83b072fc2ed1f3365aa84eeaf9d17c09
Latest deploy log https://app.netlify.com/sites/dashy-dev/deploys/66a2b527d5ca570008b451ff
Deploy Preview https://deploy-preview-1649--dashy-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

CrazyWolf13 commented 3 months ago

@Lissy93 Can the useProxy data really just be changed to data without breaking anything?

Lissy93 commented 3 months ago

Oops, I think you're right. I'm just testing now.. Edit: #1674

conlan0 commented 3 months ago

Thank you i'm glad you like it! i did test data with a few of the other widgets but i dont have all the services needed so i couldnt do all of them but i believe it should work for all because data is the standard in Axios for sending the request body, and using it ensures compatibility with most RESTful APIs