Commit Graph
52 Commits
Author SHA1 Message Date
James Taylor a212c44899 Update packed version of workflow editor script (fix z-index problem again?) 2008-09-08 09:47:37 -04:00
James Taylor acb14a2b1b Remove node from workflow before removing associated element
from canvas, make sure to actually set "active_node" to null
when clearing the active node.
2008-08-31 21:14:06 -04:00
James Taylor e8ae9e040a Another IE fix for stacking / deleting workflow editor nodes. 2008-08-28 13:57:23 -04:00
James Taylor 3b15ac9627 A better fix for bring-to-front stacking in workflow editor 2008-08-28 13:38:54 -04:00
James Taylor d294f00821 Bugfix for workflow editor. 2008-08-27 15:51:59 -04:00
James Taylor 42992455c2 Internet explorer fixes and support -- popup menus and dialogs work better on IE6+,
workflow editor works on IE7 (using excanvas). It actually *nearly* works on IE6 but
there are some layout problems that are probably not worth wasting time on. If any IE
users can test this that would be great!
2008-08-22 17:47:43 -04:00
James Taylor a32ae71d33 Add excanvas javascript (emulates <canvas> in IE using silverlight) 2008-08-22 17:44:32 -04:00
James Taylor 931a51c9cb Updating packed versions of javascripts. 2008-08-07 19:28:42 -04:00
James Taylor a633e8cd25 Fix for scroll panel when dropping while still overlapping the edge. 2008-07-17 20:16:13 -04:00
James Taylor 65bf65223f Handle target = "_parent" in popup menu so that workflow editor doesn't load
in the middle frame.
2008-07-17 19:45:17 -04:00
James Taylor c8d610fa63 Remove javascript log messages 2008-07-14 21:39:28 -04:00
James Taylor ab6c577e85 Javascript to support popup menus. 2008-07-14 19:47:32 -04:00
James Taylor e0eeef9e43 jquery-ui 1.5.2 (various upstream bug fixes). 2008-07-10 19:29:25 +00:00
James Taylor 69c4444de2 Workflow: create a new python module for 'WorkflowModules'. Tools are now another type of module, which removes a lot of special cases in the controller. Fixed some problems with validation and parameter groups. 2008-06-27 00:22:02 +00:00
James Taylor 3b39fb87f3 Upgrade jquery to 1.2.6 and jquery-ui to 1.5, drag and drop should be a bit
faster. Improvements to scrolling panel in workflow editor. Removed unused
and obsolete jquery plugins.
2008-06-21 03:04:28 +00:00
James Taylor 8cfa45310e "Input dataset" module now works for running. Many bug fixes to workflows
and tools. Moved some methods related to params out of the Tool class, sets
of inputs can also be used in other ways (e.g. for modules). More abstraction
needed here.
2008-05-09 16:18:38 +00:00
James Taylor 24a3ce01c6 Workflows can now have steps of other kinds (not just tools). The first one
is "InputDataset" which allows a workflow to have an input dataset which many
different tools can use (without needing to specify it repeatedly. Still need
to extract out a common interface (tools will become another type of "module")
which will clean this up a lot.
2008-05-05 02:08:32 +00:00
James Taylor 95ca08bb99 Workflow: Repeat/Conditional now work in workflows, adding/removing/refreshing
properly update the 'terminals' for the nodes in the editor. Many other fixes
to saving and loading of workflows (error tracking should now be working
properly).
2008-05-04 20:10:57 +00:00
James Taylor 248797ce5f Workflow editor now has a drag-to-scroll canvas and auto scrolling for
contained elements.
2008-05-02 19:03:08 +00:00
James Taylor 3cbff7e4f7 Workflow editor changes. Deleting nodes works again, and you can now delete
connections! (hover over an input terminal). Many UI improvements (dialogs,
error reporting).
2008-05-01 22:36:08 +00:00
James Taylor 37e53d4788 Fix z-index of nodes in workflow editor. 2008-05-01 15:32:39 +00:00
James Taylor f4da57df63 Upgraded to jquery-ui ~1.5b2. Workflow now uses *no* iframes, closer to
working on IE6.
2008-05-01 15:10:38 +00:00
James Taylor 94ae5b018c We're no longer using ie_pngfix anywhere. 2008-05-01 14:42:14 +00:00
James Taylor 70dce8172e Layout fixes for IE, Cool button style (for History options link, other
future things).
2008-04-29 13:04:17 +00:00
James Taylor e34c822a5f Common template for the panel based layouts, used by both the main site and
the workflow editor. Some improvements from workflow pushed back to main
interface. IE specific CSS and javascript tweaks removed. No longer relying
on 'quirks mode' to make things work (instead, relying on IE7.js to make IE
behave like a standards compliant browser).
2008-04-28 16:42:08 +00:00
James Taylor cbffed2950 Blank images needed by IE7.js for layout fixes. 2008-04-28 16:38:12 +00:00
James Taylor 94f96b47c4 Move 'confirm' javascript up to base template (other scripts to be run on
every page can be added to galaxy.base.js). Cleaned up history templates
accordingly. Also, added scripts from IE7.js which fix many layout bugs in
older versions of IE.
2008-04-28 16:35:00 +00:00
James Taylor 9714e66b00 Upgrading jQuery from 1.2.1 to 1.2.3, this seems to fix the refresh problems
in some versions of Safari.
2008-03-17 21:04:33 +00:00
James Taylor 03072f9071 Substantial improvements to workflow. Much better data model (you may need
to drop the `stored_workflow` table if you have it before running this).
Much better separation between the underlying model and the json model used
to communicate with the browser. Various interface improvements. Most things
should work properly now (excepting still dynamic options and input
parameters inside groupings).
2008-01-18 05:07:05 +00:00
James Taylor 63c6c6dadd Workflows can now be run!!! If 'enable_beta_features' is true there will be
a link to workflow management from the tool menu. From there new workflows
can be created and existing workflows edited / run.

Still substantial problems with:
 - Selects using "dynamic options" of any sort
 - Repeat/conditional tools (no way to connect inputs in a repeat or conditional)

The database / json representation is a real mess. I'm going to completely
redo that next.
2008-01-15 00:12:21 +00:00
James Taylor fe1d1d895c Many workflow fixes, and a preliminary interface for running workflow (not
functional! still working on security).
2008-01-09 02:13:32 +00:00
James Taylor 9df2ee3166 Moving popup menu javascript to galaxy.panel.js (will be used in main
interface eventually)
2008-01-09 01:51:43 +00:00
James Taylor 4b88be5e25 1) Modified index page so progressive loading works better for slower
connections

2) Added a script for packing the javascripts, everything is now repacked
   with yui-compressor (the packed versions are slightly large, but they
   gzip better resulting in an overall reduction).
2007-12-11 19:30:03 +00:00
James Taylor 2a6cb86131 Consolidating workflow templates / controllers 2007-11-28 20:28:46 +00:00
James Taylor bb7c30af07 Updating packed version of panels script. 2007-11-08 23:37:23 +00:00
James Taylor 25b0d31956 Fixing history frame hiding 2007-10-31 00:58:24 +00:00
James Taylor 6f32d29ec7 Workflow editor works in safari now, after:
- Fixing an event bug in jquery.ui
 - Fixing positioning of canvas iframe
 - Working around a weird canvas drawing issue (see HACK in galaxy.workflow_editor.canvas.js)
 - Removing some JavaScript 1.6 methods
2007-10-30 18:31:11 +00:00
James Taylor d31c43ef31 1) Workflow changes
- Workflows have a simple database representation (StoredWorkflow)
   - Workflow step parameters can be manipulated
   - Workflows can be saved and loaded
   - Many improvements to workflow editing interface

2) General interface cleanup

   - Styles for the overall layout have been moved from the index page to
     CSS files, colors for layout backgrounds and borders and such can now
     be configured in the colors.ini file
   - Styles and javascript code for dialogs and popupmenus (code is currently
     in the workflow editor but will be moved out after more testing)
2007-10-30 05:44:08 +00:00
James Taylor e0a4b42dae Workflow editor round 3, steps now track their state properly, including
repeat and conditional parameters. Dynamic selects (including columns) "work"
but require values entered as text. These will be validated at runtime.
2007-10-20 03:11:20 +00:00
James Taylor 4b9149987a Workflow editor updates. Many UI improvements. 2007-10-19 02:55:45 +00:00
James Taylor 4810f787e9 Renaming panels script... 2007-10-13 14:27:28 +00:00
James Taylor f14ba168aa Very preliminary start on the workflow editor. Currently:
- Can add steps (tool invocations) to the workflow
 - Can modify options for tools that do not use dynamic options or nesting
 - Can connect outputs to inputs, the editor does check type compatibility
   (however this breaks down completely for the "input" type)

There is no way to save or run workflows yet (and not data model for them).

You'll need to set "enable_beta_features = True" in your config for this to
be accessible.
2007-10-12 21:09:05 +00:00
James Taylor 6c42599ddc Extracted panel javascript code for reuse. 2007-10-12 18:49:14 +00:00
James Taylor 7db15430ad Repacking jquery, something got borked... 2007-10-10 00:51:42 +00:00
James Taylor 0237c186b7 Update to latest released versions of jquery and jquery.ui (ui still needed
a one line change to work for us, but we're much closer to in sync now).
2007-10-10 00:29:00 +00:00
Nate Coraor d043b24646 Switched AJAX History from prototype to jQuery and optimized. 2007-08-07 12:15:31 +00:00
Nate Coraor f6e4514308 Asynchronous history updates. Start a job and don't click refresh.
Unfinished datasets update themselves every 3 seconds until they're done.
2007-08-06 19:03:53 +00:00
James Taylor 0c067f843d Clean up javascript for the new layout. Using the latest (tweaked by me) version of jquery.ui (still in development, but better than interface2 which we were using). Reduced the number of different javascript files and made packed versions of everything. 2007-07-12 17:34:23 +00:00
James Taylor 4a4c8d25dc New layouts and style.
They are somewhat independent (you can use the new layout with the old style
and vice versa) but they belong together.

Tested in Firefox, Safari, IE5.5, IE6, but there are still some features
to be implemented before this is ready for 'main'.

To use, first add "new_style_june_2007=true" to the app:universe section of
universe_wsgi.ini (this gives you the new layout). Second change document_root
to "%(here)s/static/june_2007_style/blue" in the app:static_style section.

Style Features: simplifications, fewer 'hatched' images, space savings in some
places, small changes to the color scheme (same general feel, but the colors
are better matched). Main changes are to history, the new style support nested
datasets much better.

Layout features: no framesets (just iframes, some of which can be replaced with divs and ajax down the road). Frames are resizable and hideable. Tools can provide width hints and history will automatically hide (try UCSC main to see this).
2007-07-05 18:39:36 +00:00
James Taylor f29aa679d2 (javascript) New jquery release, substantially faster, smoother animation (especially in Firefox). Also, some fixes to animation speed and for Safari. 2007-07-02 14:15:59 +00:00