Commit Graph

672 Commits

Author SHA1 Message Date
Michael
623d4d76ad Only do periodic check when statuscheck is enabled
Before all items were requesting status checks
even if status check wasn't enabled for them
creating lots of request to the backend for no reason
2022-08-02 10:29:44 -04:00
Alicia Sykes
ac9d585a17 💬 Makes hard-coded text translatable 2022-07-23 14:50:48 +01:00
Alicia Sykes
37954eaeb0 🥅 Catches errors if caused by undefined options 2022-07-23 14:42:26 +01:00
Alicia Sykes
ad9df7a67c 🚨 Fix lint errors in Gluetun widget 2022-07-23 14:33:23 +01:00
Jammo2k5
4b5dc05c28 Refactor toggles to reduce variable count 2022-07-21 10:02:59 +01:00
Jammo2k5
bbfe9a9def Fix line feed issues in WidgetBase.vue and removed unused imports in GluetunStatus.vue 2022-07-20 22:38:29 +01:00
Jammo2k5
74fc7419da fix file permissions 2022-07-20 22:20:50 +01:00
Jammo2k5
8d22d88471 added gluetun service status widget 2022-07-20 22:08:30 +01:00
Alucarddelta
6c2a707287 SonarCloud correction, i > em 2022-07-10 22:54:52 +10:00
Alucarddelta
8d33d91362 noofslots_total swapped to noofslots 2022-07-10 22:18:57 +10:00
Alucarddelta
b10a88b022 Sabnzbd Widget 2022-07-10 21:36:43 +10:00
BRAVO68WEB
19ed765a82 Fix storage calculation 2022-07-08 15:49:11 +05:30
Lissy93
eff49995b9 Adds option for widget labels (#769) 2022-07-02 22:28:39 +01:00
Lissy93
4210c985b7 🎨 Adds section-specific class names (#769) 2022-07-02 22:28:09 +01:00
Alicia Sykes
cc80e6812c 🩹 Fixes status check z-index (#719)
Fixes #719
2022-07-01 14:27:17 +01:00
Alicia Sykes
ebf9c1f91a 🐛 Fixes applying local themes to multi-pages (#774) 2022-06-30 23:21:48 +01:00
Alicia Sykes
a2442c7349 🐛 Fixes theme not updated (#774) 2022-06-30 18:22:26 +01:00
Alicia Sykes
9235123f10 🔀 Merge branch 'master' of github.com:Lissy93/dashy into REFACTOR/widget-and-docs-improvments 2022-06-30 15:00:51 +01:00
Marcell Fülöp
736f0e95ed 🩹 Stop status-check when Item is destroyed 2022-06-26 17:25:08 +00:00
patrickheeney
542a9fe9bd 🩹 Handle failed component load. 2022-06-24 08:00:50 -07:00
patrickheeney
4c87092be5 Remove component repetition 2022-06-23 20:02:19 -07:00
Marcell Fülöp
f21f44ce21 🩹 Add back some styling
These weren't correctly updated afeter the style refactor
(Stats and PhpOpcache widgets).
2022-06-21 19:22:01 +00:00
k073l
45900da025 💄 Update Apod.vue to new API 2022-06-21 14:13:24 +02:00
Marcell Fülöp
c9cd8da2d9 💄 Missed style update 2022-06-20 18:59:47 +00:00
Marcell Fülöp
f00b76299d 💄 Facelifto 2022-06-20 18:43:29 +00:00
Marcell Fülöp
278a6fc7b7 ♻️ Style optimisation + minor refactor
- use consistent css units
- replace hard-coded color values with variables
- update disk quota chart render (to allow for variable colors)
- small style update to the notifications widget
2022-06-20 17:42:45 +00:00
Marcell Fülöp
ee46f2a33e ♻️ Simplify expressiono 2022-06-19 21:04:29 +00:00
Marcell Fülöp
168fe94391 ♻️ Remove MiscHelpers direct dependency 2022-06-19 21:01:59 +00:00
Marcell Fülöp
cf25dbce4a Remove unnecessary null check 2022-06-19 16:39:46 +00:00
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
Alicia Sykes
2ef5b66e9e 🥅 Adds an option to surpress widget errors 2022-06-09 01:26:45 +01: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
ac97be20be 🥅 Catch error, if clipboard not enabled (#681) 2022-06-04 21:12:26 +01: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