Commit Graph
12000 Commits
Author SHA1 Message Date
John Chilton 8a6ed0ae8b Introduce new generation of API decorator...
Add improved error handling. Introduce error code.

Use new decorator with tested methods in histories API.
2014-01-10 15:10:52 -06:00
John Chilton a2931e9f55 Pull extract_payload_from_request out of expose_api.
Needs to be used in new version of API decorator and resulted in too much nesting in there the way it was.
2014-01-10 15:10:52 -06:00
John Chilton 1bd761812d PEP-8 fixes for pages API. 2014-01-10 15:08:30 -06:00
Carl Eberhard 83ddc3bac6 Library_contents API: Fix permissions and dataset ref on LD delete 2014-01-10 16:03:04 -05:00
Greg Von Kuster 9a39348a1e Fix tool shed functional test I just broke. 2014-01-10 15:05:57 -05:00
Dave Bouvier 60094ca499 Use class instead of substrings to identify integrated tool panel tools, sections, workflows, and section labels when saving and updating the panel. 2014-01-10 15:02:20 -05:00
Greg Von Kuster d6ce2f475f Include the changeset revision date whenever displaying the changeset revision for a repository in the tool shed per request by Ross Lazarus. 2014-01-10 14:30:18 -05:00
Dannon Baker d85edddba1 Temporarily add simplejson back until webhelpers is updated 2014-01-10 14:22:03 -05:00
Carl Eberhard ef3678285d Merged in takadonet/galaxy-central-takadonet (pull request #253)
Add API call to allow for deletion/purge of dataset in a data library
2014-01-10 13:59:58 -05:00
Aysam Guerler 9e5d13c430 Fix refresh events for select fields in toolshed grid 2014-01-10 13:07:37 -05:00
Carl Eberhard 03cfab563b History & HDA API: fix unicode support for tags in update 2014-01-10 13:02:26 -05:00
Carl Eberhard eaf33b5d40 History & HDA API: fix unicode support in update 2014-01-10 12:55:43 -05:00
Dave Bouvier cabe4ee445 Merge stable. 2014-01-10 09:52:10 -05:00
John Chilton e62b2ccb56 Implement framework for testing API...
... if you can call 1 new class a framework. Includes a few test cases to exercise/drive it. These examples include a histories API test (a typical API test) and a general test of the API framework itself (mostly just the run_as functionality).

This includes changes to interactor.py to make it more useful outside the context of tool/workflow testing as well as a tweak to test Galaxy that gets started to allow testing of the run_as feature.
2014-01-10 08:45:36 -06:00
John Chilton 2ac58018d5 Eliminate interactor dependency on deprecated global variable.
Lessens the need to import things in a specific order - as long as database context is run before interactor methods everything should be fine now. TODO: Eliminate rest of dependencies on this variable.
2014-01-10 08:45:36 -06:00
John Chilton 22963027d9 Flush out API interactor...
... this will enable functional testing of API.
2014-01-10 08:45:36 -06:00
John Chilton 02aeedeef7 Rework key injection logic in test framework.
Pull logic for how master and user API keys are determinined for testing out of functional_tests.py for reuse elsewhere.

This refactoring will help the creation of an API test framework.
2014-01-10 08:45:36 -06:00
Carl Eberhard 32ddbee25e Remove history panel prefs from session storage on logout; possible fix for duplicating tags_used behavior 2014-01-10 09:32:39 -05:00
Dannon Baker c1558e8205 One more simplejson/json fix that slipped through the merge. 2014-01-10 07:42:58 -05:00
Dannon Baker a40457ab09 Merge. 2014-01-10 07:40:02 -05:00
Dannon Baker 559ecb4ec8 Remove dependency on simplejson; convert everything over to using the json module in the python standard library. 2014-01-10 07:29:05 -05:00
Carl Eberhard 8ee0f1c100 Merge 2014-01-09 16:01:23 -05:00
Carl Eberhard 487a51f70c Functional twill tests (history): remove check box assertion on history/list (as it's rendered in js now), fix history json scanning errors 2014-01-09 16:00:07 -05:00
Greg Von Kuster 3014265a07 Tool Shed API fixes and code cleanup. 2014-01-09 15:59:18 -05:00
Carl Eberhard dff9cfa5c8 Remove extra includes in index.mako; Functional browser tests: create 'is loaded' fn for home page to simplify, improve loading in user module, misc. fixes 2014-01-09 14:34:25 -05:00
Aysam Guerler b9de337dd3 Merge 2014-01-09 14:06:19 -05:00
Nate Coraor 3091ce1584 Log native spec on drmaa job submission. 2014-01-09 13:27:47 -05:00
Nate Coraor 3112bdde27 Merge 26da838b778c from stable. 2014-01-09 13:09:52 -05:00
Dave Bouvier 858621943e Merged in 11734:e059c6607f34 from stable. 2014-01-09 12:58:55 -05:00
Nate Coraor 93cdf33174 Merged in natefoo/galaxy-central (pull request #290)
Configurable terminal job state, Slurm enhancements
2014-01-09 12:01:19 -05:00
Daniel Blankenberg 04cb164c1f Special case genomespace file browser import tool's handling of GenomeSpace format identifier 'http://www.genomespace.org/datamanager/dataformat/unknown' to cause datatype auto-dection via sniff with a fallback to using filename extention. 2014-01-09 10:54:58 -05:00
Nate Coraor 5a8c6457b9 Fix username argument to PostgreSQL connection in pgcleanup.py 2014-01-09 10:46:01 -05:00
Dave Bouvier 6b4a4cbba2 Use separate methods to deactivate and uninstall repositories. 2014-01-09 08:49:22 -05:00
Greg Von Kuster 844959709a Handle invalid information from the tool shed API in the tool shed's install and test framework. 2014-01-08 22:29:33 -05:00
Greg Von Kuster 7d261866bd Eliminate unnecessary RepositoryMetadata.to_dict() method in the tool shed. 2014-01-08 21:25:19 -05:00
Greg Von Kuster cf154ccd7f Handle issues with invalid dicts received when from the tool shed api. 2014-01-08 21:15:31 -05:00
Carl Eberhard 32f653b092 Functional browser tests: update history options tests 2014-01-08 17:47:26 -05:00
Greg Von Kuster 6cc918bbb5 Filter out deprecated repositories when resetting metadata on repositories in the tool shed - resetting metadata on deprecated repositories is essential only for ensuring reproducibility. 2014-01-08 16:26:51 -05:00
Carl Eberhard 7b9c4b8ffa Functional browser tests: update hda state tests 2014-01-08 16:20:28 -05:00
Greg Von Kuster 55476314cf Fix the single broken tool shed functional test. 2014-01-08 15:48:54 -05:00
Carl Eberhard 5a535afddd Functional browser tests: update history panel tests 2014-01-08 15:41:32 -05:00
Greg Von Kuster d3640c6bcf Fix for pruning content from the tool shed's repository dependencies container. 2014-01-08 15:27:25 -05:00
Carl Eberhard ba28791824 Functional browser tests: update anon history tests 2014-01-08 15:06:57 -05:00
Dave Bouvier 871c301e35 Allow specifying the functional tests' install_database_connection with an environment variable. 2014-01-08 14:50:19 -05:00
Dave Bouvier 9402faf4fc Remove files from test-data that are not referenced in any tool test definition or functional test script. 2014-01-08 14:15:53 -05:00
Carl Eberhard 08ee0a479e Functional browser tests: update/fix upload tests 2014-01-08 14:40:41 -05:00
Martin Cech f92f01a264 js data libraries refactor, tweaks, logging removal 2014-01-08 13:54:38 -05:00
Carl Eberhard 325889177f Functional browser tests: update/fix login tests 2014-01-08 13:34:43 -05:00
Dave Bouvier 1351f2a2b7 When a push is received in the hg controller, update the repository on disk after the push is complete. 2014-01-08 12:27:14 -05:00
Dave Bouvier d780c1e99f When a push is received in the hg controller, update the repository on disk after the push is complete. 2014-01-08 12:27:14 -05:00