arvados.git
9 years ago2872: fix test
radhika [Thu, 5 Jun 2014 17:54:56 +0000 (13:54 -0400)]
2872: fix test

9 years ago2872: Merge branch 'master' into 2872-folder-nav
Tom Clegg [Thu, 5 Jun 2014 15:17:59 +0000 (11:17 -0400)]
2872: Merge branch 'master' into 2872-folder-nav

Conflicts:
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/helpers/application_helper.rb
apps/workbench/app/models/authorized_key.rb
apps/workbench/app/models/job.rb
apps/workbench/app/models/pipeline_instance.rb
apps/workbench/app/models/user.rb
apps/workbench/app/models/virtual_machine.rb

9 years ago2872: Make Show button say Show again. Fix links on collections index.
Tom Clegg [Thu, 5 Jun 2014 15:15:02 +0000 (11:15 -0400)]
2872: Make Show button say Show again. Fix links on collections index.

9 years ago2865: add traffic_test.py for testing Keep performance.
Tim Pierce [Wed, 4 Jun 2014 21:24:49 +0000 (17:24 -0400)]
2865: add traffic_test.py for testing Keep performance.

Refs #2865.

9 years agoMerge branch 'master' into 2919-provenance-graph-cutoff
radhika [Wed, 4 Jun 2014 19:53:46 +0000 (15:53 -0400)]
Merge branch 'master' into 2919-provenance-graph-cutoff

9 years ago2933: Add Keep signing key configuration to Docker.
Brett Smith [Wed, 4 Jun 2014 14:30:16 +0000 (10:30 -0400)]
2933: Add Keep signing key configuration to Docker.

This is a little hypothetical until we Dockerize the new Keep server,
but it's necessary to get the API server running.

Refs #2933.

9 years ago2933: Update Docker to use new Python package build process.
Brett Smith [Wed, 4 Jun 2014 14:29:05 +0000 (10:29 -0400)]
2933: Update Docker to use new Python package build process.

Refs #2933.

9 years agoMerge branch 'master' into 2895-no-more-redis
radhika [Wed, 4 Jun 2014 15:17:31 +0000 (11:17 -0400)]
Merge branch 'master' into 2895-no-more-redis

9 years ago2865: reduce Keep memory usage.
Tim Pierce [Tue, 3 Jun 2014 20:53:50 +0000 (16:53 -0400)]
2865: reduce Keep memory usage.

Eliminate ioutil.ReadAll to reduce unnecessary 2x memory allocations.

* PutBlockHandler allocates a buffer exactly as long as
  req.ContentLength and fills it with io.ReadFull.

* GetBlock uses ioutil.ReadFile (which it arguably should have been
  doing in the first place).

Refs #2865.

9 years ago2872: Fix breadcrumbs on pipeline instance compare page.
Tom Clegg [Tue, 3 Jun 2014 20:21:32 +0000 (16:21 -0400)]
2872: Fix breadcrumbs on pipeline instance compare page.

9 years ago2872: Fix links to collections from folder view.
Tom Clegg [Tue, 3 Jun 2014 20:08:49 +0000 (16:08 -0400)]
2872: Fix links to collections from folder view.

9 years ago2953: crunch-job strips permission hints from output manifests.
Brett Smith [Tue, 3 Jun 2014 20:07:55 +0000 (16:07 -0400)]
2953: crunch-job strips permission hints from output manifests.

The API server also strips permission hints from submitted
collections, and will reject it if the specified UUID doesn't match
that result.  As a consequence, this is necessary for crunch-job to
register output with the API server.

Closes #2953.

9 years ago2872: Do not try to add name links for objects that have their own names
Tom Clegg [Tue, 3 Jun 2014 19:13:32 +0000 (15:13 -0400)]
2872: Do not try to add name links for objects that have their own names

9 years ago2872: Fix syntax
Tom Clegg [Tue, 3 Jun 2014 19:12:50 +0000 (15:12 -0400)]
2872: Fix syntax

9 years ago2895: remove arvados.jobs.log_stream from arv
radhika [Tue, 3 Jun 2014 18:57:02 +0000 (14:57 -0400)]
2895: remove arvados.jobs.log_stream from arv

9 years agoMerge branch 'master' into 2895-no-more-redis
radhika [Tue, 3 Jun 2014 18:46:45 +0000 (14:46 -0400)]
Merge branch 'master' into 2895-no-more-redis

9 years ago2872: Fix up log message display on pipeline instance page.
Tom Clegg [Tue, 3 Jun 2014 18:43:48 +0000 (14:43 -0400)]
2872: Fix up log message display on pipeline instance page.

9 years ago2872: Check "optional" flag too when looking for required inputs.
Tom Clegg [Tue, 3 Jun 2014 18:40:19 +0000 (14:40 -0400)]
2872: Check "optional" flag too when looking for required inputs.

9 years ago2872: Fix empty name placeholders.
Tom Clegg [Tue, 3 Jun 2014 17:18:41 +0000 (13:18 -0400)]
2872: Fix empty name placeholders.

9 years ago2872: Fix crash on missing object.
Tom Clegg [Tue, 3 Jun 2014 15:14:39 +0000 (11:14 -0400)]
2872: Fix crash on missing object.

9 years ago2872: Fix total_bytes returning nil.
Tom Clegg [Tue, 3 Jun 2014 15:09:11 +0000 (11:09 -0400)]
2872: Fix total_bytes returning nil.

9 years agoFix workbench URL in inactive user notification e-mail.
Ward Vandewege [Tue, 3 Jun 2014 15:01:00 +0000 (11:01 -0400)]
Fix workbench URL in inactive user notification e-mail.

refs #2681

9 years ago2872: Treat HEAD same as GET in case we are behind a proxy.
Tom Clegg [Tue, 3 Jun 2014 14:18:54 +0000 (10:18 -0400)]
2872: Treat HEAD same as GET in case we are behind a proxy.

9 years agoMerge branch '2951-more-robust-fuse-test-teardown'
Ward Vandewege [Tue, 3 Jun 2014 13:50:32 +0000 (09:50 -0400)]
Merge branch '2951-more-robust-fuse-test-teardown'

refs #2951

9 years agoRetry the fusermount call up to 10 times with a small pause between
Ward Vandewege [Tue, 3 Jun 2014 13:40:54 +0000 (09:40 -0400)]
Retry the fusermount call up to 10 times with a small pause between
calls if it is not successful. This should make the teardown of the fuse
mount more reliable in automated testing.

refs #2951

9 years ago2872: Filter by tail instead of owner in case api server rule is not in yet.
Tom Clegg [Tue, 3 Jun 2014 09:01:20 +0000 (05:01 -0400)]
2872: Filter by tail instead of owner in case api server rule is not in yet.

9 years ago2872: Ensure friendly_name is always a string.
Tom Clegg [Tue, 3 Jun 2014 08:51:28 +0000 (04:51 -0400)]
2872: Ensure friendly_name is always a string.

9 years ago2872: Add selection checkboxes to folder view. Compare pipeline instances and remove...
Tom Clegg [Tue, 3 Jun 2014 08:17:32 +0000 (04:17 -0400)]
2872: Add selection checkboxes to folder view. Compare pipeline instances and remove multiple items.

9 years ago2872: Make infinite scroll work with regular window scrollbars too.
Tom Clegg [Tue, 3 Jun 2014 06:51:39 +0000 (02:51 -0400)]
2872: Make infinite scroll work with regular window scrollbars too.

9 years ago2872: Add "clone and edit" button to pipeline instance page.
Tom Clegg [Tue, 3 Jun 2014 06:12:43 +0000 (02:12 -0400)]
2872: Add "clone and edit" button to pipeline instance page.

9 years ago2872: Add free text search in chooser.
Tom Clegg [Tue, 3 Jun 2014 05:00:39 +0000 (01:00 -0400)]
2872: Add free text search in chooser.

9 years ago2872: Fix attribute_editable? to play nicer with group ownership. refs #2872
Tom Clegg [Tue, 3 Jun 2014 00:35:49 +0000 (20:35 -0400)]
2872: Fix attribute_editable? to play nicer with group ownership. refs #2872

9 years ago2893: API server accepts all serialized parameters as JSON.
Brett Smith [Mon, 2 Jun 2014 21:26:50 +0000 (17:26 -0400)]
2893: API server accepts all serialized parameters as JSON.

This commit takes the bugfix that was applied in 135f306e, and ensures
it's applied to all serialized attributes.

9 years ago2872: Change default order of folder contents. refs #2872
Tom Clegg [Mon, 2 Jun 2014 19:14:15 +0000 (15:14 -0400)]
2872: Change default order of folder contents. refs #2872

9 years ago2872: Ensure name link tail_uuid == owner_uuid. refs #2872
Tom Clegg [Mon, 2 Jun 2014 19:13:52 +0000 (15:13 -0400)]
2872: Ensure name link tail_uuid == owner_uuid. refs #2872

9 years agoMerge branch '2681-new-inactive-user-notification'
Ward Vandewege [Mon, 2 Jun 2014 19:17:44 +0000 (15:17 -0400)]
Merge branch '2681-new-inactive-user-notification'

refs #2681

9 years agoMerge branch 'master' into 2681-new-inactive-user-notification
Ward Vandewege [Mon, 2 Jun 2014 19:15:42 +0000 (15:15 -0400)]
Merge branch 'master' into 2681-new-inactive-user-notification

9 years agoMerge branch 'master' into 2919-provenance-graph-cutoff
radhika [Mon, 2 Jun 2014 18:52:54 +0000 (14:52 -0400)]
Merge branch 'master' into 2919-provenance-graph-cutoff

9 years ago2903: rename db migrate script with clear description
radhika [Mon, 2 Jun 2014 17:56:50 +0000 (13:56 -0400)]
2903: rename db migrate script with clear description

9 years agoMerge branch 'master' into 2903-remove-pi-active-and-success
radhika [Mon, 2 Jun 2014 17:51:03 +0000 (13:51 -0400)]
Merge branch 'master' into 2903-remove-pi-active-and-success

Conflicts:
services/api/db/schema.rb

9 years agoMerge branch 'master' into 2681-new-inactive-user-notification
Ward Vandewege [Mon, 2 Jun 2014 17:31:33 +0000 (13:31 -0400)]
Merge branch 'master' into 2681-new-inactive-user-notification

9 years agoDTRT with system_user in our user test case. Partial revocation of
Ward Vandewege [Mon, 2 Jun 2014 17:02:30 +0000 (13:02 -0400)]
DTRT with system_user in our user test case. Partial revocation of
commit:e9fc734b

9 years agoMerge branch 'master' into 2919-provenance-graph-cutoff
radhika [Mon, 2 Jun 2014 17:00:28 +0000 (13:00 -0400)]
Merge branch 'master' into 2919-provenance-graph-cutoff

9 years ago2919: set the left postitioning for the provenance graph calculated based on the...
radhika [Mon, 2 Jun 2014 16:59:10 +0000 (12:59 -0400)]
2919: set the left postitioning for the provenance graph calculated based on the left-nav size

9 years ago2872: Fix up tests
Tom Clegg [Mon, 2 Jun 2014 16:04:07 +0000 (12:04 -0400)]
2872: Fix up tests

9 years ago2872: Add job summary partial.
Tom Clegg [Mon, 2 Jun 2014 15:36:45 +0000 (11:36 -0400)]
2872: Add job summary partial.

9 years ago2872: Fix bugs
Tom Clegg [Mon, 2 Jun 2014 15:07:47 +0000 (11:07 -0400)]
2872: Fix bugs

9 years ago2872: Fix some tests and bugs
Tom Clegg [Mon, 2 Jun 2014 15:03:50 +0000 (11:03 -0400)]
2872: Fix some tests and bugs

9 years ago2752: Show arv-put output on stdin test failure.
Brett Smith [Mon, 2 Jun 2014 14:55:15 +0000 (10:55 -0400)]
2752: Show arv-put output on stdin test failure.

9 years ago2755: Adjust arv-put test invocation.
Brett Smith [Mon, 2 Jun 2014 14:54:43 +0000 (10:54 -0400)]
2755: Adjust arv-put test invocation.

This method works better with the new test layout.

9 years ago2919: Reinstated absolute positioning, changed font size so that text is no
Peter Amstutz [Mon, 2 Jun 2014 14:30:57 +0000 (10:30 -0400)]
2919: Reinstated absolute positioning, changed font size so that text is no
longer overflowing the graph boxes and ovals.

9 years ago2752: arv-put works when it can't write a cache file.
Brett Smith [Mon, 2 Jun 2014 14:23:42 +0000 (10:23 -0400)]
2752: arv-put works when it can't write a cache file.

10 years ago2752: Rename test_arv_put.py.
Brett Smith [Mon, 2 Jun 2014 14:03:30 +0000 (10:03 -0400)]
2752: Rename test_arv_put.py.

This allows us to run specific test cases from the command-line.  The
hyphen in the filename prevented that before.

10 years ago2752/2755: Move test_cmdline code to test_arv-put.
Brett Smith [Mon, 2 Jun 2014 13:48:58 +0000 (09:48 -0400)]
2752/2755: Move test_cmdline code to test_arv-put.

Tim and I wrote tests for arv-put simultaneously.  This commit merges
them together.

10 years ago2872: Add recent jobs and pipelines to folder index, use as root url.
Tom Clegg [Mon, 2 Jun 2014 07:16:08 +0000 (03:16 -0400)]
2872: Add recent jobs and pipelines to folder index, use as root url.

10 years ago2872: Show collection details in chooser.
Tom Clegg [Mon, 2 Jun 2014 05:24:55 +0000 (01:24 -0400)]
2872: Show collection details in chooser.

10 years ago2872: Fix css on collection tab line buttons.
Tom Clegg [Mon, 2 Jun 2014 05:10:17 +0000 (01:10 -0400)]
2872: Fix css on collection tab line buttons.

10 years ago2872: Add useful pipeline instance content summary.
Tom Clegg [Mon, 2 Jun 2014 05:09:06 +0000 (01:09 -0400)]
2872: Add useful pipeline instance content summary.

10 years ago2872: Disable chooser OK button until selection is made, update run-pipeline wording.
Tom Clegg [Mon, 2 Jun 2014 04:52:50 +0000 (00:52 -0400)]
2872: Disable chooser OK button until selection is made, update run-pipeline wording.

10 years ago2872: Add infinite scroll to chooser modal.
Tom Clegg [Mon, 2 Jun 2014 04:18:42 +0000 (00:18 -0400)]
2872: Add infinite scroll to chooser modal.

10 years ago2872: Rearrange folder index. Show collection tags and files in folder view.
Tom Clegg [Sun, 1 Jun 2014 21:27:15 +0000 (17:27 -0400)]
2872: Rearrange folder index. Show collection tags and files in folder view.

10 years ago2872: Add "delete folder" button.
Tom Clegg [Sun, 1 Jun 2014 18:31:48 +0000 (14:31 -0400)]
2872: Add "delete folder" button.

10 years ago2872: Fix "remove from folder"
Tom Clegg [Sun, 1 Jun 2014 18:11:41 +0000 (14:11 -0400)]
2872: Fix "remove from folder"

10 years ago2872: Make editable work for names in folder, choose data from current folder, tweak...
Tom Clegg [Sun, 1 Jun 2014 18:04:18 +0000 (14:04 -0400)]
2872: Make editable work for names in folder, choose data from current folder, tweak css.

10 years ago2872: Rearrange standard views to deemphasize "advanced" usage, add infinite scroll
Tom Clegg [Sun, 1 Jun 2014 09:45:40 +0000 (05:45 -0400)]
2872: Rearrange standard views to deemphasize "advanced" usage, add infinite scroll

10 years ago2872: Use data chooser for running pipelines. Many presentation fixes.
Tom Clegg [Sun, 1 Jun 2014 04:05:51 +0000 (00:05 -0400)]
2872: Use data chooser for running pipelines. Many presentation fixes.

10 years ago2872: Start doing everything from folder perspective.
Tom Clegg [Sat, 31 May 2014 22:04:09 +0000 (18:04 -0400)]
2872: Start doing everything from folder perspective.

10 years ago2872: Remove name column from collections table.
Tom Clegg [Sun, 1 Jun 2014 04:13:33 +0000 (00:13 -0400)]
2872: Remove name column from collections table.

10 years ago2903: merge master
radhika [Fri, 30 May 2014 21:42:22 +0000 (17:42 -0400)]
2903: merge master

10 years agoMerge branch 'master' into 2903-remove-pi-active-and-success
radhika [Fri, 30 May 2014 21:39:44 +0000 (17:39 -0400)]
Merge branch 'master' into 2903-remove-pi-active-and-success

10 years agoMerge branch 'master' into 2895-no-more-redis
radhika [Fri, 30 May 2014 21:29:04 +0000 (17:29 -0400)]
Merge branch 'master' into 2895-no-more-redis

10 years ago2895: remove redis gem
radhika [Fri, 30 May 2014 21:18:17 +0000 (17:18 -0400)]
2895: remove redis gem

10 years ago2893: Fix accepting JSON-encoded components_summary in API calls. refs #2893
Tom Clegg [Fri, 30 May 2014 21:12:34 +0000 (17:12 -0400)]
2893: Fix accepting JSON-encoded components_summary in API calls. refs #2893

10 years agoMerge branch 'master' into 2895-no-more-redis
radhika [Fri, 30 May 2014 20:21:49 +0000 (16:21 -0400)]
Merge branch 'master' into 2895-no-more-redis

10 years ago2895: remove jobs.log_tail_follow api since we are now using websockets instead of...
radhika [Fri, 30 May 2014 20:20:19 +0000 (16:20 -0400)]
2895: remove jobs.log_tail_follow api since we are now using websockets instead of redis

10 years agoMerge branch 'master' into 2681-new-inactive-user-notification
Ward Vandewege [Fri, 30 May 2014 19:50:59 +0000 (15:50 -0400)]
Merge branch 'master' into 2681-new-inactive-user-notification

10 years agoRefactor user notification tests
Ward Vandewege [Fri, 30 May 2014 19:49:44 +0000 (15:49 -0400)]
Refactor user notification tests

10 years agoMerge branch '2755-python-sdk-permissions'
Tim Pierce [Fri, 30 May 2014 19:27:48 +0000 (15:27 -0400)]
Merge branch '2755-python-sdk-permissions'

Closes #2755.

10 years agoMerge branch 'master' into 2755-python-sdk-permissions
Tim Pierce [Fri, 30 May 2014 19:22:32 +0000 (15:22 -0400)]
Merge branch 'master' into 2755-python-sdk-permissions

Conflicts:
sdk/python/bin/arv-put

10 years ago2895: remove users.event_stream api
radhika [Fri, 30 May 2014 19:17:54 +0000 (15:17 -0400)]
2895: remove users.event_stream api

10 years ago2752: Include arvados.commands submodule in built packages.
Brett Smith [Fri, 30 May 2014 19:06:37 +0000 (15:06 -0400)]
2752: Include arvados.commands submodule in built packages.

10 years ago2893: Merge branch '2893-no-symbols-in-db' closes #2893
Tom Clegg [Fri, 30 May 2014 18:55:21 +0000 (14:55 -0400)]
2893: Merge branch '2893-no-symbols-in-db' closes #2893

10 years ago2893: Merge branch 'master' into 2893-no-symbols-in-db
Tom Clegg [Fri, 30 May 2014 18:54:27 +0000 (14:54 -0400)]
2893: Merge branch 'master' into 2893-no-symbols-in-db

Conflicts:
services/api/test/fixtures/links.yml

10 years agoMerge remote-tracking branch 'refs/remotes/origin/2755-python-sdk-permissions-TC...
Tim Pierce [Fri, 30 May 2014 18:42:03 +0000 (14:42 -0400)]
Merge remote-tracking branch 'refs/remotes/origin/2755-python-sdk-permissions-TC' into 2755-python-sdk-permissions

Refs #2755.

10 years ago2755: add unit test for Collection.normalize_uuid.
Tim Pierce [Fri, 30 May 2014 18:40:37 +0000 (14:40 -0400)]
2755: add unit test for Collection.normalize_uuid.

10 years agoMerge branch 'master' into 2919-provenance-graph-cutoff
radhika [Fri, 30 May 2014 18:27:57 +0000 (14:27 -0400)]
Merge branch 'master' into 2919-provenance-graph-cutoff

10 years ago2919: update integration test to assert provenace graph div
radhika [Fri, 30 May 2014 18:26:37 +0000 (14:26 -0400)]
2919: update integration test to assert provenace graph div

10 years ago2893: Add test cases. Stringify all serialized attrs coming from DB,
Tom Clegg [Fri, 30 May 2014 17:26:45 +0000 (13:26 -0400)]
2893: Add test cases. Stringify all serialized attrs coming from DB,
not just Hash. Rename has_any_symbols? to has_symbols?.

10 years ago2755: Let the API server decide the correct collection UUID format.
Tom Clegg [Fri, 30 May 2014 15:06:17 +0000 (11:06 -0400)]
2755: Let the API server decide the correct collection UUID format.

10 years ago2931: Remove {dependent: :destroy} in ArvadosModel. HasUuid does that now. closes...
Tom Clegg [Fri, 30 May 2014 14:45:00 +0000 (10:45 -0400)]
2931: Remove {dependent: :destroy} in ArvadosModel. HasUuid does that now. closes #2931

10 years agoMerge branch '2752-arv-put-resume'
Brett Smith [Fri, 30 May 2014 14:45:02 +0000 (10:45 -0400)]
Merge branch '2752-arv-put-resume'

Closes #2752, #2864.

10 years ago2752: arv-put doesn't update the resume cache when aborted.
Brett Smith [Fri, 30 May 2014 14:21:59 +0000 (10:21 -0400)]
2752: arv-put doesn't update the resume cache when aborted.

It's appealing to try to save the latest state when we have the
opportunity, but the problem is that we can't be sure that our
CollectionWriter is in a consistent state when we get a signal or
exception.  The previous code could potentially write inconsistent
state, which would appear to resume successfully but PUT different
data.  Instead rely exclusively on cache updates that are done from a
known consistent state.

10 years ago2752: arv-put explains resumed uploads in more detail.
Brett Smith [Fri, 30 May 2014 13:49:34 +0000 (09:49 -0400)]
2752: arv-put explains resumed uploads in more detail.

Wording suggested by Peter in refs #2752.

10 years ago2752: arv-put writes newline after 100% human progress report.
Brett Smith [Fri, 30 May 2014 13:46:08 +0000 (09:46 -0400)]
2752: arv-put writes newline after 100% human progress report.

10 years ago2752: arv-put always displays 100% progress at the end.
Brett Smith [Fri, 30 May 2014 13:45:24 +0000 (09:45 -0400)]
2752: arv-put always displays 100% progress at the end.

It's okay to call writer.finish_current_stream() this way, because
every branch at the end ultimately calls it.

10 years ago2752: Avoid ResumeCache name collisions from concatenating paths.
Brett Smith [Fri, 30 May 2014 13:08:50 +0000 (09:08 -0400)]
2752: Avoid ResumeCache name collisions from concatenating paths.

10 years ago2752: arv-put checkpoints after a PUT to Keep.
Brett Smith [Thu, 29 May 2014 20:36:30 +0000 (16:36 -0400)]
2752: arv-put checkpoints after a PUT to Keep.

This allows us to recover after a pulled-the-plug kind of failure, but
is still noticeably less overhead than checkpointing after each file.

10 years ago2752: arv-put handles exit signals.
Brett Smith [Thu, 29 May 2014 20:09:36 +0000 (16:09 -0400)]
2752: arv-put handles exit signals.

10 years ago2752: Resumed collection writer doesn't do_queued_work immediately.
Brett Smith [Thu, 29 May 2014 20:36:14 +0000 (16:36 -0400)]
2752: Resumed collection writer doesn't do_queued_work immediately.

As noted in the comments, callers that build a writer from resumed
state must do_queued_work on it before anything else.  But this split
makes it easier to treat initialization problems and work problems
separately, which is critical.

This required refactor progress reporting a bit.

10 years ago2752: Remove unused CollectionWriter checkpoint hook.
Brett Smith [Thu, 29 May 2014 17:53:29 +0000 (13:53 -0400)]
2752: Remove unused CollectionWriter checkpoint hook.