Commit Graph

137 Commits

Author SHA1 Message Date
Marcell Fülöp 991cf0bf5a 🩹 Move schema to Component.data + remove unnecessary null checks 2022-06-19 16:31:54 +00:00
Marcell Fülöp db0fc0454d 🔥 Remove references to mock data 2022-06-19 16:20:16 +00:00
Marcell Fülöp 4c015bb25d Add limit option for NextcloudNotifications widget
Limit displayed notifications either by count or by age.
An integer value is interpeted as count limit, a number suffixed
with 'm', 'h' or 'd' is converted to minutes, hours or days,
respectively, and older notifications are not shown.
2022-06-19 13:51:40 +00:00
Marcell Fülöp e76f552830 Add showEmpty option for NextcloudUserStatus widget
When a user status doesn't include a status message, it still
may have a status emoji and it always has a status indicator
(e.g. online). When {showEmpty=true} then statuses without
a message are shown, otherwise hidden. Defaults to {false}.
2022-06-19 13:39:23 +00:00
Marcell Fülöp 821af62426 🚧 Refactor + more widgets
* ♻️ segment into smaller widgets, improve mixin
* ♻️ change NextcloudInfo to NextcloudUser
  * a small widget showing branding and uesr info, including quota
*  add NextcloudNotifications widget
  * show and delete Nextcloud notifications
*  add NextcloudUserStatus widget
  * display user statuses of selected users
*  add NextcloudStats widget (admin only)
  * display Nextcloud usage statistics (users, files, shares)
*  add NextcloudSystem widget (admin only)
  * visualise cpu load and memory utilisation, show server versions
*  add NextcloudPhpOpcache widget (admin only)
  * show statistics about php opcache performance
*  add a misc helper for formatting nunbers
* 🌐 add translations to widget templates
* 🌐 add translation entries for en
* 🍱 add scss styles file, shared by all widgets
2022-06-19 12:06:43 +00:00
Marcell Fülöp a43988f3cd 🚧 Move user processing from widget to mixin
plus
* some template and style tweaking
* improve tooltips
* enforce Nextcloud app-password instead of login password
2022-06-12 12:33:56 +00:00
Marcell Fülöp caf131df23 🎨 Add HTML comments 2022-06-12 01:10:14 +00:00
Marcell Fülöp ff1bcdbab8 🩹 Handle plural/singular for availabel updates 2022-06-12 00:18:17 +00:00
Marcell Fülöp 0bf6fee180 🎉 Add Nextcloud widget
Add a widget supporting the `capabilites`, `user`
and `serverinfo` Nextcloud APIs.

Basic branding, user and quota information is always displayed
and when the provided credentials are for and admin user then
server information is also displayed.

APIs:
* [capabilities](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#capabilities-api)
* [user](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-api-overview.html#user-metadata)
* [serverinfo](https://github.com/nextcloud/serverinfo)
2022-06-11 23:41:40 +00:00
Marcell Fülöp 2d6c499192 Optionally allow the widget to filter on StatPing Group and to display in a more compact view.
* Add widget option: `groupId`. StatPing services are filtered for the given group.
* Add widget options: `showChart` and `showInfo`. Initially hide the chart and info summary.
* Add buttons to show/hide chart and info sections.
* Update widget documentation.
2022-06-08 19:50:15 +00:00
Alicia Sykes 5c896fded5 Remove unused computed val 2022-06-04 21:12:26 +01:00
Alicia Sykes c823a2e9bd Show total query and block count 2022-06-04 21:12:26 +01:00
Alicia Sykes f7bba8068a 🛂 Adds auth to AdGuard widgets 2022-06-04 21:12:26 +01:00
Alicia Sykes b931d4e6cd Adds new AdGuard widgets to base 2022-06-04 21:12:26 +01:00
Alicia Sykes 577de74ac4 AdGuard DNS info widget (#493) 2022-06-04 21:12:26 +01:00
Alicia Sykes dcd72e7763 AdGuard top domains widget (#493) 2022-06-04 21:12:25 +01:00
Alicia Sykes 1c252cc76d Only render non-zero values to chart 2022-06-04 21:12:25 +01:00
Alicia Sykes 072ebbd68a AdGuard filter list widget (#493) 2022-06-04 21:12:25 +01:00
Alicia Sykes 3a65d12e67 Removed unused CSS 2022-06-04 21:12:25 +01:00
Alicia Sykes 7b99e9092b AdGuard block percent widget (#493) 2022-06-04 21:12:25 +01:00
Alicia Sykes c8acd6e1bc Adds domain name monitor widget 2022-06-04 21:12:25 +01:00
Alicia Sykes 4f04e01aec Increased overridden timeout 2022-05-17 19:32:16 +01:00
Alicia Sykes 8c43442b39 🎨 Adds option to hide sports thumbnail (#654) 2022-05-16 21:46:19 +01:00
Alicia Sykes 9eda048842 Refactored request in RSS widget (#632) 2022-05-15 20:46:19 +01:00
Alicia Sykes 4287092ea2 Option to hide seconds in Clock (#644) 2022-05-11 10:52:16 +01:00
Alicia Sykes 45fa35a384 🐛 Fixes CVE description not showing (#609) 2022-04-26 19:57:28 +01:00
Rémy GRANDIN 5aab049a43 🚨 Fix b =>strong as recommendedn by sonarcloud 2022-04-23 14:05:57 +02:00
Rémy GRANDIN 6e7b0e4dd5 Add Synology Download Widget 2022-04-23 02:44:49 +02:00
Alicia Sykes 4c713bfce6 Adds Mullvad and IP blacklist check widgets 2022-04-14 19:02:51 +01:00
Alicia Sykes a6f3c90722 Many big improvments to items + sections 2022-04-14 14:34:20 +01:00
Alicia Sykes f9fb76a97c ️ Increases default widget timeout 2.5 sec (#581) 2022-03-29 15:27:28 +01:00
Alicia Sykes 979a776b68 Adds option for request timeout in widgets 2022-03-27 21:21:59 +01:00
Alicia Sykes 7b6815a318 Adds a static image widget (#487) 2022-02-13 23:24:16 +00:00
Alicia Sykes 1626b94285 📊 Adds widget to display CPU temps (#452) 2022-02-13 15:15:04 +00:00
Alicia Sykes e194d741ac 🩹 Rounds numbers in gl-alerts widget (#454) 2022-02-11 11:17:48 +00:00
Alicia Sykes f7c3c80b33 🗃️ Adds option for global useProxy (#486) 2022-02-10 13:23:30 +00:00
Ruben Silva e3c7dc0f5d 🐛 Fix hardcoded usd currency 2022-02-02 19:31:58 +00:00
Alicia Sykes eb1bc69155 Refactors NetData widget data requeest 2022-01-28 23:21:30 +00:00
Alicia Sykes 5570cd257f 🐛 Switches recovered and deaths in C19 widget 2022-01-26 16:59:10 +00:00
Alicia Sykes 730280a448 Adds Glances IP address widget (#437) 2022-01-24 13:29:08 +00:00
Alicia Sykes edbd770a2d IP address widget used ipapi.co by default (#437) 2022-01-24 12:37:47 +00:00
Alicia Sykes 5b6e75766d Adds support for fetching IP via HTTPS (#437) 2022-01-24 12:20:16 +00:00
Alicia Sykes 407384de63 🎨 Improved cross-theme widget styling and options 2022-01-22 20:46:34 +00:00
Alicia Sykes bf39553e1d Improved widget error handling, don't fail on error 2022-01-21 13:14:30 +00:00
Alicia Sykes 58a085a550 Adds an email widget for AnonAddy 2022-01-21 12:58:15 +00:00
Alicia Sykes 7953ccf3c8 Merge branch 'master' of github.com:Lissy93/dashy into FEATURE/more-widgets 2022-01-20 16:37:01 +00:00
Alicia Sykes dfea4e317c Refactors all Glances widgets to inherit from parent mixin 2022-01-19 11:43:04 +00:00
Alicia Sykes ea3ffa5d36 🚨 Fixes warnings from DeepScan 2022-01-19 00:06:09 +00:00
Alicia Sykes 2e593fcf92 Respect user updateInterval when set to zero 2022-01-18 23:56:29 +00:00
Alicia Sykes 88727cf2e2 Adds a network traffic widget 2022-01-18 23:07:24 +00:00