serjoscha87 / cockpit_groupboundassets Goto Github PK
View Code? Open in Web Editor NEWAddon for https://github.com/agentejo/cockpit
Addon for https://github.com/agentejo/cockpit
Hey, I really like this plugin and it might just be the plugin to make me use cockpit for my use case.
I just tried it with the "next" branch of cockpit and it generally seems to work. But if I create a folder in the asset management it seems to be gone from the asset view if I reload, though I can still assign files to it. Also when Assigning files to folders I see all folders, even those that I created with another user.
This addons seems to be pretty inactive (like most I have seen, sadly), so is there a chance of getting a patch for this? I really have no idea of how cockpit works yet, so I fear creating a PR is quite out of reach for me right now.
When I try to view a collection ('owned' by a group or not) I get the following error:
Warning: array_merge(): Argument #1 is not an array in /var/www/html/addons/GroupBoundAssets/bootstrap.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/addons/GroupBoundAssets/bootstrap.php:11) in /var/www/html/index.php on line 24
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/addons/GroupBoundAssets/bootstrap.php:11) in /var/www/html/index.php on line 25
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/addons/GroupBoundAssets/bootstrap.php:11) in /var/www/html/index.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/addons/GroupBoundAssets/bootstrap.php:11) in /var/www/html/index.php on line 27
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/addons/GroupBoundAssets/bootstrap.php:11) in /var/www/html/index.php on line 28
which translates to the code here:
...
$app['app.assets.base'] = array_merge($app['app.assets.base'], [
'/addons/GroupBoundAssets/assets/js/GroupBoundAssets.js'
]);
...
I'm not sure what $app['app.assets.base']
is supposed to look like...
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.