Feature #507

Add plugin support to Sustone

Added by Hector Sanjuan over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:03/02/2011
Priority:NormalDue date:
Assignee:Hector Sanjuan% Done:

100%

Category:SunstoneEstimated time:25.00 hours
Target version:Release 3.0
Resolution: Pull request:

Description

Prepare the Sunstone component to be extensible and customizable through plugins. Plugins should be able to add tabs to the main window and the info panels, add special buttons and actions and change the behaviour of standard ones.


Related issues

Related to Feature #573: Auto-include user plugins in Sunstone index.html Closed 04/12/2011

Associated revisions

Revision bd8b3b0c
Added by Hector Sanjuan over 10 years ago

Feature #507: Started reorganizing code.

  • sunstone.js will be the main interface to use by plugins. It will set up the
    layout on document ready(). It also contains the configuration now.
  • sunstone-util.js will contain util functions for the plugins and the datatable
    handling
  • plugins/* will contain the plugins

Revision 86163446
Added by Hector Sanjuan over 10 years ago

Feature #507: Progressions in the plugin model. Simple dashboard plugin and
hosts plugin added

Revision bb192997
Added by Hector Sanjuan over 10 years ago

Feature #507: Action buttons, custom buttons, list buttons, confirm dialogs
and confirm with select dialogs seem to be working now.

Revision b8527318
Added by Hector Sanjuan over 10 years ago

Feature #507: Set up info dialogs configuration. Set up host tab create
dialogs for hosts and clusters. Small Bugfixes.

Revision 05cc231c
Added by Hector Sanjuan over 10 years ago

Feature #507: Started the rest of plugins, actions and buttons defined.

Revision 59cc0406
Added by Hector Sanjuan over 10 years ago

Feature #507: Finished coding the rest of plugins (they are untested and
probably full of small bugs)

Revision 9ce115b9
Added by Hector Sanjuan over 10 years ago

Feature #507: Fixed bugs, typos, image attributes dialogs, dashboard
links.

This makes it an usable version , though there are some small fixes left.

Revision 5d00477b
Added by Hector Sanjuan over 10 years ago

Feature #507: Improved and fixed small bugs. Autorefresh and action conditions
now in place.

Revision 7fdac543
Added by Hector Sanjuan over 10 years ago

Feature #507: Improved addition of main tabs. Fixed bugs. Commented code.

Revision 49e80e30
Added by Hector Sanjuan over 10 years ago

Feature #507: Comments, code cleaning and small fixes.

Revision 398c3e28
Added by Hector Sanjuan over 10 years ago

Feature #507: Added notification of actions

Revision 47a1a12e
Added by Hector Sanjuan over 10 years ago

Feature #507: Fixed showing the log tab

Revision d5584f5a
Added by Hector Sanjuan over 10 years ago

Feature #507: Finished reviewing code and adding comments. Small fixes here
and there.

Revision 77129d2a
Added by Hector Sanjuan over 10 years ago

Feature #507: Removed non-used files. They are not neccessary anymore.

Revision f5d56fad
Added by Hector Sanjuan over 10 years ago

feature #507: Made sunstone.js unaware of the existence of dataTables.

DataTables are a very particular object which is part of the
plugins. Therefore instead of having sunstone.js take a dataTable and find out
which elements are checked in order to run an action on them, this is now work
to be done by the plugins. They can use a helper called
getSelectedNodes(dataTable) to do that. Actions now define an "elements"
function which returns an array of elements, instead of having a "dataTable"
returning the dataTable of the plugin. runActionOnDatatableNodes not needed anymore.

Revision 91a28c8e
Added by Hector Sanjuan over 10 years ago

Feature #507: Some fixes.

Fixed a couple of bad variable names in update/remove tab functions. Also
forced button enhancement when recreating the button sets.

Revision c08a6191
Added by Hector Sanjuan over 10 years ago

Feature #507: Removed unused HTML in index.html. Added a commented line for
the dummy plugin.

Revision cc0d4b65
Added by Hector Sanjuan over 10 years ago

Feature #507: Make Sunstone public functions homogeneus regarding parameters
names. Also fixed some typos.

Revision 11f3209c
Added by Hector Sanjuan over 10 years ago

Feature #507: Added notification of actions where it proceeds.

Revision 02cb46bb
Added by Hector Sanjuan over 10 years ago

Feature #507: A couple of very small things.

Revision 8fe9d178
Added by Jaime Melis about 10 years ago

Feature #507: Update install.sh with new sunstone plugin files

Revision 3cbda46e
Added by Juan Jose Montiel Cano almost 4 years ago

B #5316: Given token password of the owner of creator user doesn't exist (#507)

Revision ad8e188f
Added by Juan Jose Montiel Cano almost 4 years ago

B #5316: Given token password of the owner of creator user doesn't exist (#507)

(cherry picked from commit 3cbda46ec16de136da647d1556239175a1b455a0)

History

#1 Updated by Hector Sanjuan over 10 years ago

  • % Done changed from 0 to 20

#2 Updated by Hector Sanjuan over 10 years ago

  • % Done changed from 20 to 80

#3 Updated by Hector Sanjuan over 10 years ago

  • % Done changed from 80 to 90

#4 Updated by Ruben S. Montero over 10 years ago

  • Target version changed from 23 to Release 3.0

#5 Updated by Hector Sanjuan over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

Plugin system is ready :)

Also available in: Atom PDF