Commit graph

683 commits

Author SHA1 Message Date
Dawid Pietrykowski
6be5917ced Added css width declaration for other browsers 2022-10-20 16:57:37 +02:00
rtm516
b48a341cdd
Add 12 hour option to clock widget 2022-10-08 21:42:15 +01:00
Alicia Sykes
5f96b6ccf8
🔀 Merge pull request #871 from AaronPorts/master
IframeWidget min-height reduce to 80px
2022-09-11 22:44:29 +01:00
Alicia Sykes
edf71fd0ad
🔀 Merge pull request #862 from rubenandre/fix/issue-856
Fix issue #856
2022-09-10 22:18:27 +01:00
Alicia Sykes
b965989a98
🔀 Merge pull request #880 from imlonghao/patch-1
Fix widget GlDiskSpace 401 unauth
2022-09-10 21:59:39 +01:00
Alicia Sykes
86b56f6b48
✏️ Small refactor endpoint into single string 2022-09-04 23:38:13 +01:00
imlonghao
a393da96ce
Fix widget GlDiskSpace 401 unauth 2022-08-31 11:33:07 +08:00
cauterize
38ad08a101 🚨 fix lint warning 2022-08-26 20:18:09 +02:00
cauterize
813c475a9c Adds state option for PublicHolidays 2022-08-25 17:23:32 +02:00
Artyom
8346d393ce
IframeWidget min-height reduce to 80px 2022-08-24 19:06:50 +03:00
Rúben Silva
bb3492c5f2 fix #856
lint

Revert "lint"

This reverts commit 936e5e1cc0e85fe785a97d55bd1dd1df39b55a28.

lint
2022-08-20 14:41:38 +01:00
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