Commit Graph
91 Commits
Author SHA1 Message Date
carlfeberhard 9f91b82245 Client: remove IE7/8 and excanvas polyfills 2015-11-24 16:12:31 -05:00
carlfeberhard a4edf159be (merge dev) 2015-11-12 10:04:38 -05:00
carlfeberhard d80d74c888 Client libs: move backbone down into /libs (not backbone/backbone); Webpack: move to non-entry vendor bundling for libraries, clean up assoc. 2015-11-05 12:04:52 -05:00
guerler f57d917949 Patch select2 to avoid resetting highlighted location
Keep search term
2015-11-03 15:41:46 -05:00
carlfeberhard cebfdd2745 Webpack: restore original page scripts 2015-10-27 17:22:36 -04:00
carlfeberhard 5dfb3ffbec Webpack: test index page (Analyze Data) working, original working, history app working 2015-10-27 17:15:56 -04:00
carlfeberhard 0235eceb57 (merge dev) 2015-10-23 12:17:32 -04:00
Dannon Baker bad9cce30f Update dynatree to what will be the final release; we probably want to just replace it at some point. 2015-10-06 10:07:12 -04:00
Carl Eberhard b1841e22d9 Client build: do not drop console when compressing, when not compressing do not mangle variable names 2015-09-01 10:55:41 -04:00
Dannon Baker 63d6c37a39 Rebuild client w/ new options. 2015-08-13 15:23:55 -04:00
Airistotal 5df41184d4 Merge branch 'dev' of https://github.com/galaxyproject/galaxy into Reports_newpage
Conflicts:
	static/style/blue/base.css
2015-08-04 13:07:08 -05:00
Carl Eberhard ba4aabc186 Client, libs: update and track farbtastic and jqtouch; compress scripts 2015-07-31 12:48:10 -04:00
Airistotal 13522af7d1 Merge branch 'dev' of https://github.com/galaxyproject/galaxy into Reports_newpage 2015-07-29 16:24:27 -05:00
Carl Eberhard e649ff2e5e Client build: transition to grunt based handlebars compilation and minify/map them to static/scripts; cleanup: remove py script, remove uncompiled from minified 2015-07-21 14:56:07 -04:00
Carl Eberhard 0c03f69c39 Client build, webpack: prototype commit 2015-07-17 11:28:53 -04:00
Airistotal 55eadd41f4 Build with grunt 2015-06-16 15:38:38 -05:00
Carl Eberhard edf794233d Client libs: update d3 from 3.4.8 to 3.5.5 2015-05-07 13:16:38 -04:00
Carl Eberhard b18d215c44 Client libs: update requirejs to 2.1.17, correct bower installation for same 2015-05-06 10:24:25 -04:00
Carl Eberhard 801adcd694 Client libs: minor version bumps to jQuery and Raven 2015-05-05 13:28:31 -04:00
Dannon Baker 9257817afd Strip out unused lunr dependency -- a different approach was pursued for tool searching. 2015-04-01 11:41:15 -04:00
Carl Eberhard ef382f7332 Client: do not remove console statements when compressing; UI, Collections: propagate hasUser to collection panels, style fixes 2015-03-18 09:30:18 -04:00
Carl Eberhard bcd1701a4b Client: update raven.js to 1.1.17 2015-03-17 11:55:12 -04:00
Carl Eberhard ba20f5f6e1 Fix bad commit (adding files) 2015-03-17 10:47:31 -04:00
Carl Eberhard 8991ea812b Client build: fix new link to event-drag libraries, update backbone to 1.1.2, update relevant Collections to use the new set function 2015-03-13 12:55:52 -04:00
guerler cec5854398 Select2 fix 2015-02-23 12:50:27 -05:00
Dannon Baker e98f5e0e51 Add lunr library for toolbox (and potentially more things in the future) search. 2015-02-05 08:12:54 -05:00
Carl Eberhard 4267022178 UI, client build: change source for jquery-migrate (no version change) 2015-02-04 10:04:20 -05:00
Carl Eberhard 5704bac19f UI, client build: sync underscore version in grunt file and libs at 1.7.0 2015-02-04 09:42:59 -05:00
Carl Eberhard 2805149f0a UI, client build: correct handlebars bower source, update handlebars.runtime to 2.0.0, recompile templates w/ 2.0.0 precompiler 2015-02-04 09:20:48 -05:00
Carl Eberhard 87e2718c93 UI: update Raven.js to 1.1.16 (463f68f) 2015-01-22 11:29:07 -05:00
Carl Eberhard 71aa5ebd71 UI: update tracekit to latest (github.com/occ/TraceKit) 2015-01-21 16:29:35 -05:00
Carl Eberhard 4a52254587 UI: update jQuery to 1.11.2 2015-01-21 16:13:39 -05:00
Carl Eberhard e804850691 Client: update libs/underscore.js to 1.7 2014-12-10 16:23:21 -05:00
John Chilton ad25fd627a Grunting at the scripts. 2014-09-25 13:49:04 -04:00
Martin Cech ad43c62927 jstree refactoring, removed from global space, documentation to library imports, general JS cleanup 2014-09-16 18:02:12 -04:00
Martin Cech 3bddbcf11f initial implementation of UI, API and flow for importing from Galaxy user directories, introduces jstree browser into the project, includes refactoring of some library API methods into common managers 2014-09-08 14:27:49 -04:00
Dannon Baker 09f2a6967d Update to jquery1.11.1. This resolves at least one issue related to submit listeners not being attached in iframes, causing tool form failures for tools using conditional parameters like single/paired end reads, default/advanced parameter sets, and so on. 2014-08-19 12:47:34 -04:00
John Chilton 4d5f0deebf Relax BibTeX parsing and accept header to handle figshare DOIs.
For instance 10.6084/m9.figshare.979190 reported by Michael Crusoe. JavaScript parser didn't like @data entries produced by figshare and when requesting the entry dx.doi.org returns a 403 response for type accept type text/bibliography, also allowing application/x-bibtex fixes this. Interestingly dx.doi.org throws 500 exceptions if application/x-bibtex is the only acceptable type or appears first for some other DOIs.
2014-08-07 09:35:43 -04:00
John Chilton cb9fc095fc Initial BibTeX/DOI citation support in tools and histories.
Allow tool authors to specify citations using a DOI or BibTeX. BibTeX can be specified either by pointing at a BibTeX file in the tool directory or by embedding bibtex entries right in tool citation blocks. If referencing a file parallel to the tool, the file should contain only a single BibTeX entry, this restriction can be easily lifted by adding a BibTeX parser as a Python dependency for Galaxy - but I do not have permission to do this.

These citations will appear at the bottom of the tool form in a formatted way but the user will have to option to select RAW BibTeX for copying and pasting. Likewise, the history menu now has an option allowing users to aggregatesuch citations across an analysis a comparable list of citations.

UI interactions are implemented using a Backbone model and view and data is fetched from the Galaxy server as BibTeX using the API. Two API entry points have been added - one to fetch the BibTeX entries for a tool and another for a history.

BibTeX entries for citations annotated with DOIs will be fetched from http://dx.doi.org/ and cached using Beaker.

Additional Limitations:

 - I am not super happy with a few different GUI elements of this. It is ugly and I didn't write the BibTeX parser but I did write the code that takes parsed BibTeX and converts it to a formatted entry. If merged, I will outline a Trello card to follow up and improve the UI and find some more standard way to build a formatted HTML citation from a parsed BibTeX entry.

 - BibTeX Limitations: LaTeX embedded in the BibTeX entries doesn't render properly when producing a "pretty" citation in the GUI (should still be exported to citation managers properly though). Cross references aren't supported at this time.

Alternative Implementations:

BibTex/DOI vs. PROV:

There was some discussion of PROV encoding citation information on the development mailing list. The citation tags on tools are typed so this could certainly be added - but it was discussed at the BOSC 2014 codefest and there was some conensus that tool authors are more likely to already have BibTeX or DOIs available for the tool's references and the major reference managers end users will likely plug these citations into while writing papers are more likely to be able to consume BibTeX than anything else.

The bench biologist using Galaxy is the consumer of this work I most concerned with - if we need to convert citations into other formats such as EndNote or Word's bibliography support there is a suite of tools we could optionally plug into Galaxy (http://sourceforge.net/p/bibutils/home/Bibutils/) to enable this down the road. PROV seems to have such an ecosystem to leverage - I could not even find a tool to convert it BibTeX.

Parse BibTeX Client vs Server:

As mentioned above it would be nice in some ways to be able to parse and reason about BibTeX on the backend - but it would require adding a new dependency to Python. Since we have to ship BibTeX to the browser anyway to allow users to copy and paste it - I decided it was easier to start with parsing and formatting BibTeX on the client side. I therefore added the following library BSD JavaScript dependency https://github.com/mayanklahiri/bib2json to enable this. I would be happy to revisit this decision and produce formatted entries server side - there seem to be more Python options for doing this than JavaScript.
2014-07-23 15:43:13 -05:00
Aysam Guerler e0449af979 Charts: Add custom heatmap, unify chart configuration 2014-06-13 19:04:41 -04:00
Dave Bouvier 5bdb75aa82 Correct usage of "it's" versus "its". 2014-04-17 15:49:32 -04:00
Carl Eberhard c54cf5642b Improve embedded item editing in pages: a) preserve empty paragraphs, b) when the cursor is in an embedded title and enter is pressed: create a new paragraph before the item, when the cursor is in an embedded content and enter is pressed: create a new paragraph after the item 2014-02-26 10:52:56 -05:00
Martin Cech 751bc9dc96 galaxy top menu tweaks, titles, notification 2014-01-13 16:51:24 -05:00
Martin Cech 7715a304d6 added library notifications, toaster, can be used outside of libraries as require.js module 2013-12-12 14:21:09 -05:00
Martin Cech 45fd6ac53a Merge data libraries branch to default 2013-12-10 18:02:36 -05:00
Martin Cech e2e5fa6d57 added dropdown menu plugin to bootstrap 2013-12-03 16:43:25 -05:00
Jeremy Goecks b675432a2c Replace Backbone-relational usage with manually model chaining and remove backbone-relational scripts. Fix default colors bug in Trackster. Pack scripts. 2013-11-26 14:50:41 -05:00
Carl Eberhard d06f88455e Update jquery.form.js to 3.45 and fix chrome upload bug; pack scripts 2013-11-15 15:18:18 -05:00
Aysam Guerler 0b64dcb5e6 Drag&drop multiple file upload: add status line, improve queueing, update select2 2013-09-23 16:16:06 -04:00
James Taylor e8c30a32c1 style: use link color for active bg, update tooltip JS 2013-09-11 16:24:44 -04:00