Commit Graph

6 Commits

Author SHA1 Message Date
Marcell Fülöp
3ac0585c5c 🩹 Address Sonar code smell report findings 2022-06-19 16:47:40 +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
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
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