Commit Graph
1860 Commits
Author SHA1 Message Date
Nate Coraor 53bda50c19 Run test webserver on a random port between 8000 and 9999 instead of a fixed port, so multiple people can run tests at the same time w/o setting GALAXY_TEST_PORT manually 2009-11-05 10:39:59 -05:00
Greg Von Kuster 1c4070ea92 Eliminate printing PYTHONPATH to stderr in the cleanup_datasets.py script. 2009-11-04 13:09:37 -05:00
Nate Coraor d0769e236a Add the GeneTrack egg. Also includes some enhancements and cleanup of the eggs/fetch/scramble code. 2009-11-04 12:58:48 -05:00
Ramkrishna Chakrabarty f4bedf8e5c AMQP messaging server and client files. 2009-11-04 10:04:51 -05:00
Nate Coraor 1d4ed96a04 Fix new functional tests script return code (for buildbot) 2009-11-03 11:28:34 -05:00
Greg Von Kuster da149187b4 Bug fix for cleanup_datasets.py - use app.sa_session instead of self.sa_session. 2009-11-02 09:54:18 -05:00
Nate Coraor c9e0e1ea17 A get_platform() monkeypatch for fat versions of python on Mac. Also do more explicit version checking ( >= 2.4, <= 2.5 ) and provide helpful messages if the version is not supported. 2009-10-27 11:36:57 -04:00
Greg Von Kuster 29b55b8707 Make sqlalchemy queries use sa_session.query( object ) rather than object.query(). This eliminates the need for the _monkeypatch_query_method() in assignmapper.py. Also eliminate the need for the _monkeypatch_session_method() for everything except object.flush() - I just ran out of time and will handle flush() asap. I also eliminated the .all() call on several queries where it was not necessary - should improve performance. I fixed several bugs I found as well. 2009-10-22 23:02:28 -04:00
James Taylor 4cf17c1961 Fix for tool tests. Comment out get_peek test, doesn't appear correct (result is unicode and forced to multiple lines, when did this change?) 2009-10-21 15:45:01 -04:00
Nate Coraor f77b88322d Don't unpack dist-eggs 2009-10-21 15:03:09 -04:00
James Taylor 2c1e959a94 New functional test harness. Update to recent nose. No longer rely on nose to manage the embedded web server (this is not done in functional_tests.py). Log page contents to a temporary file on check_page_for_string error.
[mq]: functional-test-harness
2009-10-20 13:08:29 -04:00
Ross Lazarus 2dc106df97 moved the rgGRR svg scripts to static/scripts/tools/rgenetics and decreased chattiness in genetics.py 2009-10-15 19:01:07 -04:00
Greg Von Kuster 18c95bb622 Improve logging for cleanup_datasets.py script. 2009-09-24 21:17:32 -04:00
Greg Von Kuster 947491b270 More improvement in cleanup_datasets script - will take significantly less disk, and may be faster. 2009-09-24 16:52:15 -04:00
Greg Von Kuster a40bf886f1 Performance improvements in delete_datasets method in cleanup_datasets script ( hopefully enough ). 2009-09-24 12:21:41 -04:00
Ramkrishna Chakrabarty 299f8dd97f Removed print stmts in listener 2009-09-21 15:40:58 -04:00
Ramkrishna Chakrabarty 50345092f4 added psycopg2 import stmt in galaxy_interface.py 2009-09-21 12:41:39 -04:00
Ramkrishna Chakrabarty f99863cfd3 Galaxy AMQP messaging now uses amqp & sqlalchemy eggs 2009-09-21 12:06:33 -04:00
Ramkrishna Chakrabarty c7d575208c Fixed a bug in creating requests as an admin 2009-09-21 10:49:17 -04:00
Ramkrishna Chakrabarty 6b92bf6eb8 Galaxy AMQP Listener, first pass
Added a check for testing completed requests in Requests functional tests
2009-09-18 15:18:57 -04:00
Nate Coraor 2abf463a95 More fixes for cleanup_datasets.py 2009-09-15 12:57:17 -04:00
Nate Coraor f11dcd9781 Fix path mangling in cleanup_datasets.py 2009-09-14 12:23:16 -04:00
Greg Von Kuster 5665f1dbaf Fix for cleanup_datasets.py script. 2009-09-11 11:26:26 -04:00
Daniel Blankenberg 52d1bc065a Enable the cleanup_datasets script to purge Dataset Instances (HDAs, LDDAs) and mark base datasets as deleted without requiring the container (history, library/folder) to be deleted. 2009-08-10 11:53:28 -04:00
Daniel Blankenberg 460fd53bb7 Provide datatypes registry location when setting metadata externally. 2009-08-03 15:45:26 -04:00
Daniel Blankenberg f4a7dbc436 Add a new flag -f/--force_retry to cleanup_datasets.py. This flag will cause the script to attempt to perform the requestion action on objects regardless if it has been performed before.
This is useful, i.e. if purge_datasets was called with out using --remove_from_disk, but it is later decided to remove these files: the purge_datasets script should be called with both -r and -f.
2009-07-30 12:56:16 -04:00
Greg Von Kuster 0090622f59 Add ability to share histories with multiple users, along with bug fixes and more functional test coverage for history features. 2009-06-05 11:15:25 -04:00
Nate Coraor 9113ceb29f Fix the cleanup_datasets script 2009-05-28 15:18:49 -04:00
Nate Coraor a6cc479643 Fix history deletion method in Galaxy check script 2009-05-05 13:03:23 -04:00
Daniel Blankenberg da52bd848a Add ability for admins to delete and undelete library items.
Modify cleanup_datasets.py script and include a database migration script.
2009-04-23 12:42:05 -04:00
Nate Coraor 8b0dcb7e4d Fixes for native Leopard Python eggs 2009-04-22 14:43:54 -04:00
Nate Coraor f1304c73e6 Merged from central 2009-04-15 15:45:28 -04:00
Nate Coraor 187a2e25fa Add database versioning support 2009-04-15 15:43:26 -04:00
James Taylor adeef24ce9 Adding workflow tests using Selenium. These actually drive the web browser to test the Javascript UI effectively. Currently can't run under buildbot. 2009-03-27 18:55:00 -04:00
Greg Von Kuster 05c2d4222b merging from central 2009-03-20 03:06:40 -04:00
Greg Von Kuster 354d0447df Fixes for i18n support - all charsets set to utf-8, now able to paste multi-byte chars in upload form, templates use utf-8 as output_charset, other miscellaneous fixes. 2009-03-20 02:49:30 -04:00
Greg Von Kuster da476a3f3a merging from central 2009-03-17 23:57:08 -04:00
Greg Von Kuster 69e383d6a8 Integrating i18n support provided by Mitsuteru Nakao, Takashi Hatakeyama, and Hideyuki Morita. 2009-03-17 22:46:47 -04:00
Daniel Blankenberg 34a4a1f4d5 Fix for setting metadata externally when outputs_to_working_directory = True. 2009-03-06 12:32:31 -05:00
Daniel Blankenberg 50e385d4a5 Use JSON instead of pickle for setting metadata externally, except for DatasetInstance objects. 2009-03-05 12:53:57 -05:00
Daniel Blankenberg df82f3e163 Add the ability for metadata to be set in an external process, this requires set_metadata_externally = True in universe_wsgi.ini.
Currently this is supported in the local runner (long running set_meta() can now be canceled the same as with jobs) and in the non-staging PBS runner.

There is a slight change to how new Metadata FileParameters are to be created in datatype.set_meta(), see the MAF datatype.

TODO:
Prevent editing of metadata on a running job when metadata is to be set externally.
Have datasets which were copied before job completion use the metadata from the original output dataset; currently .set_meta() is called locally on these.
2009-03-03 12:54:06 -05:00
Daniel Blankenberg dd8a3c6605 Make history.activatable_datasets return a list.
Fix update_database_with_security_libraries.py script so that it works again.
2009-02-26 14:06:11 -05:00
James Taylor cb592fa20b Updating the packed versions of all javascripts. 2009-02-25 14:24:46 -05:00
Greg Von Kuster 19d61ff4cf Make activatable_datasets a property of the History object, eliminating the problematic mapper. 2009-02-23 12:31:15 -05:00
Nate Coraor bf606c99f8 merge 2009-01-30 11:39:39 -05:00
Nate Coraor f8ce6fc19d merge 2009-01-30 11:39:29 -05:00
Nate Coraor dd2ba78f45 Add fetch_eggs option to pull for other platforms (e.g. cluster nodes) 2009-01-30 11:37:18 -05:00
Greg Von Kuster cfde4c4015 Normalize the model supporting the new library features. This rev assumes all current Library tables will be dropped so they are re-created at server start-up ( all library data will be lost ). Normalized objects are as follows:
1.  ActionDatasetRoleAssociation -> DatasetPermissions ( renamed )
2.  LibraryFolderDatasetAssociation -> LibraryDatasetDatasetAssociation ( renamed )
3.  ActionLibraryItemRoleAssociation -> LibraryPermissions, LibraryFolderPermissions, LibraryDatasetPermissions, LibraryDatasetDatasetPermissions, LibraryItemInfoPermissions, LibraryItemInfoTemplatePermissions
4.  LibraryItemInfoAssociation -> LibraryInfoAssociation, LibraryFolderInfoAssociation, LibraryDatasetInfoAssociation, LibraryDatasetDatasetInfoAssociation
5. LibraryItemInfoTemplateAssociation -> LibraryInfoTemplateAssociation, LibraryFolderInfoTemplateAssociation, LibraryDatasetInfoTemplateAssociation, LibraryDatasetDatasetInfoTemplateAssociation
2009-01-28 16:29:30 -05:00
Nate Coraor 5506ec8d3b merging heads 2008-12-23 13:28:43 -05:00
Nate Coraor 80f42e4199 Since tempfiles seem to occasionally be left behind, allow logging of
open tempfiles, including a traceback (to determine callers) if
LOG_TEMPFILES is set in the environment when Galaxy starts.  This
should be considered temporary and will be removed when it's determined
where/how this happens.
2008-12-23 13:28:27 -05:00