arvados.git
9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Wed, 11 Mar 2015 13:32:21 +0000 (09:32 -0400)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago3761: add a test with invalid data manager token and expect the item to be rejected.
Radhika Chippada [Wed, 11 Mar 2015 13:31:44 +0000 (09:31 -0400)]
3761: add a test with invalid data manager token and expect the item to be rejected.

9 years agoMerge branch '5182-cors-error-reporting' closes #5182
Tom Clegg [Tue, 10 Mar 2015 20:06:37 +0000 (16:06 -0400)]
Merge branch '5182-cors-error-reporting' closes #5182

9 years agoMerge branch '5073-docker-limitations' closes #5073
Tom Clegg [Tue, 10 Mar 2015 19:52:18 +0000 (15:52 -0400)]
Merge branch '5073-docker-limitations' closes #5073

9 years agoMerge branch '5105-ajax-redirect' closes #5105
Tom Clegg [Tue, 10 Mar 2015 19:46:26 +0000 (15:46 -0400)]
Merge branch '5105-ajax-redirect' closes #5105

9 years ago5182: Tweak error messages.
Tom Clegg [Tue, 10 Mar 2015 19:44:45 +0000 (15:44 -0400)]
5182: Tweak error messages.

9 years ago5105: Clarify "no double-layout" asserts. Remove redundant "not on welcome page"...
Tom Clegg [Tue, 10 Mar 2015 18:50:14 +0000 (14:50 -0400)]
5105: Clarify "no double-layout" asserts. Remove redundant "not on welcome page" asserts.

9 years ago5073: Update ruby version to 2.1.5
Tom Clegg [Tue, 10 Mar 2015 18:24:04 +0000 (14:24 -0400)]
5073: Update ruby version to 2.1.5

9 years ago5073: Document docker limitations. Bring "overview" up to the top of the install...
Tom Clegg [Tue, 10 Mar 2015 18:23:44 +0000 (14:23 -0400)]
5073: Document docker limitations. Bring "overview" up to the top of the install section.

9 years ago5105: Better assertion for tab-loading error display.
Tom Clegg [Tue, 10 Mar 2015 15:40:22 +0000 (11:40 -0400)]
5105: Better assertion for tab-loading error display.

9 years ago5105: Restore previous token in an ensure block.
Tom Clegg [Tue, 10 Mar 2015 15:17:25 +0000 (11:17 -0400)]
5105: Restore previous token in an ensure block.

9 years ago3761: Working!!!!
Radhika Chippada [Tue, 10 Mar 2015 13:42:03 +0000 (09:42 -0400)]
3761: Working!!!!

9 years ago5182: Silently skip Angular initialization if injector() returns null.
Tom Clegg [Tue, 10 Mar 2015 07:06:44 +0000 (03:06 -0400)]
5182: Silently skip Angular initialization if injector() returns null.

This happens occasionally during tests, and seems benign (except that
our tests demand an empty debug console).

9 years ago5182: Improve error reporting in uploader.
Tom Clegg [Tue, 10 Mar 2015 06:58:58 +0000 (02:58 -0400)]
5182: Improve error reporting in uploader.

Missing CORS headers (and network errors which force the browser to
assume CORS headers are missing) are reported as error==="". In place
of the enigmatic "error:", we show a message hinting at network/CORS
problems and pointing the user to the browser debug console for
further clues.

Mixed-content errors (https://workbench/*.js attempts AJAX request at
http://proxy/*) don't invoke success/fail handlers at all, so we catch
them ahead of time and show an appropriate message.

9 years ago3761: a little refactoring
Radhika Chippada [Tue, 10 Mar 2015 03:19:06 +0000 (23:19 -0400)]
3761: a little refactoring

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Tue, 10 Mar 2015 02:53:46 +0000 (22:53 -0400)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago3761: need at least 1 replica
Radhika Chippada [Tue, 10 Mar 2015 02:53:15 +0000 (22:53 -0400)]
3761: need at least 1 replica

9 years agocloses #5190
Radhika Chippada [Mon, 9 Mar 2015 19:04:29 +0000 (15:04 -0400)]
closes #5190
Merge branch '5190-no-hyphens-in-repo-names'

9 years ago5190: updated tooltip
Radhika Chippada [Mon, 9 Mar 2015 19:02:14 +0000 (15:02 -0400)]
5190: updated tooltip

9 years agoMerge branch 'master' into 5190-no-hyphens-in-repo-names
Radhika Chippada [Mon, 9 Mar 2015 18:55:36 +0000 (14:55 -0400)]
Merge branch 'master' into 5190-no-hyphens-in-repo-names

9 years agocloses #5374
Radhika Chippada [Mon, 9 Mar 2015 18:55:03 +0000 (14:55 -0400)]
closes #5374
Merge branch '5374-hide-collection-checkboxes-anonymous'

9 years agoMerge branch 'master' into 5374-hide-collection-checkboxes-anonymous
Radhika Chippada [Mon, 9 Mar 2015 18:50:23 +0000 (14:50 -0400)]
Merge branch 'master' into 5374-hide-collection-checkboxes-anonymous

9 years agoMerge branch 'master' into 5374-hide-collection-checkboxes-anonymous
Radhika Chippada [Mon, 9 Mar 2015 18:43:19 +0000 (14:43 -0400)]
Merge branch 'master' into 5374-hide-collection-checkboxes-anonymous

9 years ago3761: get keep services
Radhika Chippada [Mon, 9 Mar 2015 18:42:49 +0000 (14:42 -0400)]
3761: get keep services

9 years ago5182: Advise adding CORS headers to proxy error responses.
Tom Clegg [Mon, 9 Mar 2015 17:59:09 +0000 (13:59 -0400)]
5182: Advise adding CORS headers to proxy error responses.

9 years ago5319: Include CurrentApiClient in migration model.
Brett Smith [Mon, 9 Mar 2015 16:12:04 +0000 (12:12 -0400)]
5319: Include CurrentApiClient in migration model.

Needed to use system_user_uuid.  Refs #5319.

9 years agoMerge branch '5319-fix-hinted-collection-hashes-wip'
Brett Smith [Mon, 9 Mar 2015 15:35:39 +0000 (11:35 -0400)]
Merge branch '5319-fix-hinted-collection-hashes-wip'

Closes #5319, #5369.

9 years ago5319: Add API migration for manifests with bad portable data hashes.
Brett Smith [Tue, 3 Mar 2015 23:00:21 +0000 (18:00 -0500)]
5319: Add API migration for manifests with bad portable data hashes.

Refer to #5319 for background discussion and rationale.  The migration
ensures that collections are still addressable by the bad
portable_data_hash, but the existing collection object has the correct
portable_data_hash.

9 years ago5319: Fix incorrect portable_data_hash in test fixture.
Brett Smith [Tue, 3 Mar 2015 22:36:24 +0000 (17:36 -0500)]
5319: Fix incorrect portable_data_hash in test fixture.

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Mon, 9 Mar 2015 13:42:53 +0000 (09:42 -0400)]
Merge branch 'master' into 3761-pull-list-worker

9 years agoMerge branch '5261-project-description' closes #5261
Tom Clegg [Mon, 9 Mar 2015 13:30:38 +0000 (09:30 -0400)]
Merge branch '5261-project-description' closes #5261

9 years ago5261: Fix DST transition bug: browser timezone != test suite timezone.
Tom Clegg [Mon, 9 Mar 2015 04:10:25 +0000 (00:10 -0400)]
5261: Fix DST transition bug: browser timezone != test suite timezone.

9 years ago5190: tell user to not use hyphens in tooltip for repository name editable attribute
Radhika Chippada [Sun, 8 Mar 2015 23:36:01 +0000 (19:36 -0400)]
5190: tell user to not use hyphens in tooltip for repository name editable attribute

9 years ago5261: Merge branch 'master' into 5261-project-description
Tom Clegg [Sun, 8 Mar 2015 19:03:29 +0000 (15:03 -0400)]
5261: Merge branch 'master' into 5261-project-description

9 years ago5261: Change placeholder text from "New group" to "New project"
Tom Clegg [Sun, 8 Mar 2015 19:03:08 +0000 (15:03 -0400)]
5261: Change placeholder text from "New group" to "New project"

9 years ago5374: in collection show page, hide checkboxes for anonymous user view.
Radhika Chippada [Sun, 8 Mar 2015 16:25:22 +0000 (12:25 -0400)]
5374: in collection show page, hide checkboxes for anonymous user view.

9 years ago3761: integration test WIP
Radhika Chippada [Sun, 8 Mar 2015 15:50:41 +0000 (11:50 -0400)]
3761: integration test WIP

9 years ago3761: (WIP) add integration test for pull_worker
Radhika Chippada [Sun, 8 Mar 2015 00:22:11 +0000 (19:22 -0500)]
3761: (WIP) add integration test for pull_worker

9 years ago5105: Include form data with report_issue request.
Tom Clegg [Fri, 6 Mar 2015 22:23:47 +0000 (17:23 -0500)]
5105: Include form data with report_issue request.

9 years ago3761: update GetContent function to use read_content test data info.
Radhika Chippada [Fri, 6 Mar 2015 20:19:27 +0000 (15:19 -0500)]
3761: update GetContent function to use read_content test data info.

9 years ago3761: move test assertions from teardown method into performTest function for better...
Radhika Chippada [Fri, 6 Mar 2015 19:21:58 +0000 (14:21 -0500)]
3761: move test assertions from teardown method into performTest function for better readability of code.

9 years ago5261: Rename Summary tab to Description.
Tom Clegg [Fri, 6 Mar 2015 18:05:10 +0000 (13:05 -0500)]
5261: Rename Summary tab to Description.

9 years ago5261: Move project name from Summary tab back to heading area.
Tom Clegg [Fri, 6 Mar 2015 17:47:06 +0000 (12:47 -0500)]
5261: Move project name from Summary tab back to heading area.

9 years ago5105: Skip database reset where we use a mock instead of the real API.
Tom Clegg [Fri, 6 Mar 2015 02:38:17 +0000 (21:38 -0500)]
5105: Skip database reset where we use a mock instead of the real API.

9 years ago5105: Remove unnecessary self.included/class_eval stuff.
Tom Clegg [Fri, 6 Mar 2015 02:34:52 +0000 (21:34 -0500)]
5105: Remove unnecessary self.included/class_eval stuff.

9 years ago5105: Really call the report_issue action, instead of fetching "/",
Tom Clegg [Thu, 5 Mar 2015 23:58:53 +0000 (18:58 -0500)]
5105: Really call the report_issue action, instead of fetching "/",
when the "send" button is clicked.

9 years ago5105: Tidy up test case.
Tom Clegg [Thu, 5 Mar 2015 23:35:31 +0000 (18:35 -0500)]
5105: Tidy up test case.

9 years ago5105: Treat not-logged-in AJAX requests as errors, instead of redirecting to login...
Tom Clegg [Thu, 5 Mar 2015 22:46:17 +0000 (17:46 -0500)]
5105: Treat not-logged-in AJAX requests as errors, instead of redirecting to login prompts.

9 years ago5105: Move displaced comment.
Tom Clegg [Thu, 5 Mar 2015 22:20:32 +0000 (17:20 -0500)]
5105: Move displaced comment.

9 years ago5105: Add API stub helpers and basic ArvadosApiClient unit tests.
Tom Clegg [Thu, 5 Mar 2015 19:39:27 +0000 (14:39 -0500)]
5105: Add API stub helpers and basic ArvadosApiClient unit tests.

9 years ago3761: Improve the tests to RunTestPullWorker for each test and verify the queue is...
Radhika Chippada [Thu, 5 Mar 2015 22:59:59 +0000 (17:59 -0500)]
3761: Improve the tests to RunTestPullWorker for each test and verify the queue is empty at the end of test.
Add a test that puts two items on the queue and verifies that old item is overwritten by the new item.

9 years ago3761: verify ReadContent and PutContent outputs.
Radhika Chippada [Thu, 5 Mar 2015 21:12:39 +0000 (16:12 -0500)]
3761: verify ReadContent and PutContent outputs.

9 years ago5261: Fix {redirect_to @object} usage.
Tom Clegg [Thu, 5 Mar 2015 20:09:11 +0000 (15:09 -0500)]
5261: Fix {redirect_to @object} usage.

9 years ago3761: include names in test data initializations
Radhika Chippada [Thu, 5 Mar 2015 19:43:57 +0000 (14:43 -0500)]
3761: include names in test data initializations

9 years ago5261: Redirect to destination project's Collections tab when copying/moving collections.
Tom Clegg [Thu, 5 Mar 2015 19:38:01 +0000 (14:38 -0500)]
5261: Redirect to destination project's Collections tab when copying/moving collections.

9 years ago5261: When redirecting during an AJAX request, send the target URI in
Tom Clegg [Thu, 5 Mar 2015 19:07:52 +0000 (14:07 -0500)]
5261: When redirecting during an AJAX request, send the target URI in
a JSON object {"href":"..."} instead of responding 302.

This lets us use "redirect_to X" to mean "send the user to page X"
regardless of whether the request is an XHR. Without it, client-side
code never sees the 302 at all: the browser handles the redirect
transparently, and the client-side code typically ends up trying to
parse HTML content as JSON.

9 years ago5261: Update tests.
Tom Clegg [Thu, 5 Mar 2015 18:58:52 +0000 (13:58 -0500)]
5261: Update tests.

9 years ago3761: log errors in RunPullWorker instead of Pull method.
Radhika Chippada [Thu, 5 Mar 2015 18:31:53 +0000 (13:31 -0500)]
3761: log errors in RunPullWorker instead of Pull method.

9 years ago3761: pass keepClient to Pull method
Radhika Chippada [Thu, 5 Mar 2015 16:37:17 +0000 (11:37 -0500)]
3761: pass keepClient to Pull method

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Thu, 5 Mar 2015 15:20:37 +0000 (10:20 -0500)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago5261: Move project name and description into a Summary tab.
Tom Clegg [Wed, 4 Mar 2015 19:49:55 +0000 (14:49 -0500)]
5261: Move project name and description into a Summary tab.

Reduce tab font size to reduce chances of word-wrapping tabs.

9 years agoMerge branch '4956-limit-request-size' refs #4956
Peter Amstutz [Wed, 4 Mar 2015 19:13:40 +0000 (14:13 -0500)]
Merge branch '4956-limit-request-size' refs #4956

9 years ago4956: Mark monkey patching methods as internal
Peter Amstutz [Wed, 4 Mar 2015 19:13:07 +0000 (14:13 -0500)]
4956: Mark monkey patching methods as internal

9 years ago4956: Refactor http request patching used in Python SDK.
Peter Amstutz [Wed, 4 Mar 2015 19:05:10 +0000 (14:05 -0500)]
4956: Refactor http request patching used in Python SDK.
Test_request_too_large uses published size instead of hardcoded size.  Make
note that user must configure upstream web server to set request size limits.

9 years agoMerge branch '5246-urllib3-workaround' closes #5246
Peter Amstutz [Wed, 4 Mar 2015 17:03:04 +0000 (12:03 -0500)]
Merge branch '5246-urllib3-workaround' closes #5246

9 years ago5246: Use pkg_resources.parse_version to test urllib3 version string. Identify
Peter Amstutz [Wed, 4 Mar 2015 16:59:57 +0000 (11:59 -0500)]
5246: Use pkg_resources.parse_version to test urllib3 version string.  Identify
Debian 8 specifically in comment.

9 years agoMerge branch '5043-crunchstat-long-lines' closes #5043
Tom Clegg [Wed, 4 Mar 2015 16:36:38 +0000 (11:36 -0500)]
Merge branch '5043-crunchstat-long-lines' closes #5043

9 years ago5246: Add urllib3 workaround, along with a note why it is necessary.
Peter Amstutz [Tue, 3 Mar 2015 22:03:49 +0000 (17:03 -0500)]
5246: Add urllib3 workaround, along with a note why it is necessary.

9 years ago4956: Add maximum request size checking to http_request patch in api.py.
Peter Amstutz [Tue, 3 Mar 2015 21:24:21 +0000 (16:24 -0500)]
4956: Add maximum request size checking to http_request patch in api.py.
Raises MediaUploadSizeError if the request is too big.

9 years ago5043: Remove errant +1 from error message.
Tom Clegg [Tue, 3 Mar 2015 21:06:52 +0000 (16:06 -0500)]
5043: Remove errant +1 from error message.

9 years agocloses #5349
Radhika Chippada [Tue, 3 Mar 2015 20:33:19 +0000 (15:33 -0500)]
closes #5349
Merge branch '5349-timestamp-error-for-running-pipeline'

9 years ago5349: update test to use a new fixture.
Radhika Chippada [Tue, 3 Mar 2015 19:56:19 +0000 (14:56 -0500)]
5349: update test to use a new fixture.

9 years ago5349: Add test to protect bugfix in a1d70a2116673ac46f4946115bdb5048137689a2. Fix...
Tom Clegg [Tue, 3 Mar 2015 18:19:14 +0000 (13:19 -0500)]
5349: Add test to protect bugfix in a1d70a2116673ac46f4946115bdb5048137689a2. Fix regression.

9 years agoMerge branch 'master' into 5349-timestamp-error-for-running-pipeline
Radhika Chippada [Tue, 3 Mar 2015 17:59:56 +0000 (12:59 -0500)]
Merge branch 'master' into 5349-timestamp-error-for-running-pipeline

9 years ago3761: Pass pullq to RunPullWorker
Radhika Chippada [Tue, 3 Mar 2015 17:57:31 +0000 (12:57 -0500)]
3761: Pass pullq to RunPullWorker

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Tue, 3 Mar 2015 17:26:59 +0000 (12:26 -0500)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago3761: pass keepclient as an arg to RunPullWorker
Radhika Chippada [Tue, 3 Mar 2015 17:26:21 +0000 (12:26 -0500)]
3761: pass keepclient as an arg to RunPullWorker

9 years agoMerge branch '5322-sso-manual-account-doc' closes #5322
Peter Amstutz [Tue, 3 Mar 2015 17:16:55 +0000 (12:16 -0500)]
Merge branch '5322-sso-manual-account-doc' closes #5322

9 years agoMerge branch '5305-arv-copy-fixes' closes #5305
Peter Amstutz [Tue, 3 Mar 2015 17:13:35 +0000 (12:13 -0500)]
Merge branch '5305-arv-copy-fixes' closes #5305

9 years agoFixed SafeApi -> ThreadSafeApiCache refs #4823
Peter Amstutz [Tue, 3 Mar 2015 17:10:09 +0000 (12:10 -0500)]
Fixed SafeApi -> ThreadSafeApiCache refs #4823

9 years agoFix arv-mount use arvados.config.settings() to initialize ThreadSafeApiCache
Peter Amstutz [Tue, 3 Mar 2015 17:06:28 +0000 (12:06 -0500)]
Fix arv-mount use arvados.config.settings() to initialize ThreadSafeApiCache
refs #4823

9 years ago5305: Remove erroneous comment
Peter Amstutz [Tue, 3 Mar 2015 16:42:10 +0000 (11:42 -0500)]
5305: Remove erroneous comment

9 years ago4956: Add 'maxRequestSize' to discovery document
Peter Amstutz [Tue, 3 Mar 2015 16:39:03 +0000 (11:39 -0500)]
4956: Add 'maxRequestSize' to discovery document

9 years ago5305: Added num_retries to all execute() calls. Refactored
Peter Amstutz [Tue, 3 Mar 2015 16:22:47 +0000 (11:22 -0500)]
5305: Added num_retries to all execute() calls.  Refactored
collection-name-choosing logic to be easier to follow.

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Tue, 3 Mar 2015 16:05:53 +0000 (11:05 -0500)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago3761: improved tests with delays
Radhika Chippada [Tue, 3 Mar 2015 16:05:11 +0000 (11:05 -0500)]
3761: improved tests with delays

9 years ago5043: Split long stderr lines rather than consume unlimited memory.
Tom Clegg [Tue, 3 Mar 2015 15:56:52 +0000 (10:56 -0500)]
5043: Split long stderr lines rather than consume unlimited memory.

9 years agoFollow the naming conventions for hostnames; add SSO server as a
Ward Vandewege [Tue, 3 Mar 2015 15:16:23 +0000 (10:16 -0500)]
Follow the naming conventions for hostnames; add SSO server as a
public-facing service that requires an SSL certificate.

refs #5322

9 years agoMerge branch '5313-node-manager-gce-fixups2-wip'
Brett Smith [Tue, 3 Mar 2015 15:10:10 +0000 (10:10 -0500)]
Merge branch '5313-node-manager-gce-fixups2-wip'

Refs #5313.

9 years ago5313: Rely more on datacenter constructor in Node Manager GCE driver.
Brett Smith [Tue, 3 Mar 2015 15:08:17 +0000 (10:08 -0500)]
5313: Rely more on datacenter constructor in Node Manager GCE driver.

When initialized with a datacenter argument, the GCE libcloud driver
acts a lot more like the EC2 one.  Many listings are implicitly
limited to that zone, saving us the need of limiting searches
ourselves.  Let's rely on libcloud instead of our own code.

9 years ago5313: Revert Node Manager's GCE boot disk destroy code.
Brett Smith [Tue, 3 Mar 2015 15:06:24 +0000 (10:06 -0500)]
5313: Revert Node Manager's GCE boot disk destroy code.

After upgrading to libcloud>=0.16, it's redundant to create a node
with ex_disk_auto_delete=True, then destroy the node with
destory_boot_disk=True.  During the destroy process, libcloud will
fail to destroy the boot disk, because Google has already deleted it.
ex_disk_auto_delete is closer to what we want, so just rely on that.

9 years agoUpdate arvados-fuse dependency on python sdk refs #4823
Peter Amstutz [Tue, 3 Mar 2015 14:57:08 +0000 (09:57 -0500)]
Update arvados-fuse dependency on python sdk refs #4823

9 years agoMerge branch '4823-python-sdk-writable-collection-api' closes #4823
Peter Amstutz [Tue, 3 Mar 2015 14:34:50 +0000 (09:34 -0500)]
Merge branch '4823-python-sdk-writable-collection-api' closes #4823

9 years ago4823: Docstring and comment fixes.
Peter Amstutz [Tue, 3 Mar 2015 14:34:05 +0000 (09:34 -0500)]
4823: Docstring and comment fixes.

9 years ago5043: Use Go's log package to serialize writes. Lose logChan.
Tom Clegg [Tue, 3 Mar 2015 02:35:35 +0000 (21:35 -0500)]
5043: Use Go's log package to serialize writes. Lose logChan.

9 years ago3761: code refactoring
Radhika Chippada [Tue, 3 Mar 2015 02:09:42 +0000 (21:09 -0500)]
3761: code refactoring

9 years agoMerge branch 'master' into 3761-pull-list-worker
Radhika Chippada [Mon, 2 Mar 2015 21:11:45 +0000 (16:11 -0500)]
Merge branch 'master' into 3761-pull-list-worker

9 years ago5349: Reverted "Time.iso8601(current_job[:created_at]" back to "current_job[:created_...
Radhika Chippada [Mon, 2 Mar 2015 21:04:17 +0000 (16:04 -0500)]
5349: Reverted "Time.iso8601(current_job[:created_at]" back to "current_job[:created_at]". All tests and manual testing passed and no negative side effects are observed.

9 years ago4823: More fixes and cleanups.
Peter Amstutz [Mon, 2 Mar 2015 20:51:55 +0000 (15:51 -0500)]
4823: More fixes and cleanups.

* Renamed SynchronizedCollectionBase to RichCollectionBase
* Renamed arvapi parameter of one_task_per_input_file to api_client
* KeepLocator.stripped() returns bare hash if self.size is None
* Permit closing an ArvadosFileWriter more than once
* Fix various docstrings
* Strive to follow PEP 8 spacing guidelines

9 years agoMerge branch 'origin-5309-keepproxy-panic' closes #5309
Peter Amstutz [Mon, 2 Mar 2015 20:31:18 +0000 (15:31 -0500)]
Merge branch 'origin-5309-keepproxy-panic' closes #5309