dehnhardt / nc_dashboard Goto Github PK
View Code? Open in Web Editor NEWDashboard for Nextcloud - based on Work from Florian Steffens
License: GNU Affero General Public License v3.0
Dashboard for Nextcloud - based on Work from Florian Steffens
License: GNU Affero General Public License v3.0
No longer possible to remove any widgets...
Possibly more issues that I did not notice yet
Invalid database records seem to remain in the database after uninstallation of the plugin
The plugin should no longer be installed in the current development state
Thanks for creating this plugin anyway. Is it possible to fix it ?
[index] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE oc_dashboard_settings
SET enabled
= ? WHERE (widget_id
= ?) AND (user_id
= ?)' with params [false, "fortunes", "someusername"]:
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column nextcloud
.oc_dashboard_settings
.enabled
at row 1 at <>
DELETE /nextcloud/index.php/apps/dashboard/widget
from removedmyipaddress by someusername at 2019-04-09T20:44:28+02:00
A restriction to specific groups on the Apps page should mask the configuration on the Admin page for all other groups.
I can set up widgets for all groups, even if they can not use the app.
It is no problem with the usability but it can confuse an Admin.
Either prevent the checkbox on the Apps page or filter the widgets config on the Admin page in dependence of the specific groups.
Nextcloud version:
9.0.53 (stable)
List of activated apps:
App list
…
- dashboard: 1.9.1 beta
…
On several occasions the following error message appears:
Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0
This should be fixed before the next nextcloud release
There are two problems with including js and css files in widgets:
Could` not find resource file "/apps/dashboard/widgets/iframe/style.css"
Undefined offset: 0 at /var/www/html/nextcloud/lib/private/template/resourcelocator.php#119
I can run the dashboard app flawlessly with PHP 7. Info.xml s just missing the acurate PHP max version which is still set to 5.6.
The Dashboard should not need to know names, services or anything about the widget apps. Same goes for the other way around.
Instead there should be an event, which apps can listen to. I can post you some demo code if you need it.
/*
*optional*, default: nothing
A "Joker" for later use... maybe...
*/
$widget['special'] = '';
/*
*optional* default: empty
provide the pathes to aditional cascading style sheets as an array.
*/
$widget['css'] = array('one file');
/*
*optional* default: empty
provide the pathes to your javascript files as an array. .
*/
$widget['js'] = array('one file', 'another file');
Since you are in an event anyway, and the event is only called in the dashboard controller, so when visiting the dashboard, apps can immediately load their files. Nothing the dashboard should take care of
If you have questions about this, just mention me and I will help you 😃
Looking at the commits the last one was like 7 months ago, is there still being worked on this app or not?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.