arvados.git
9 years ago2872: Merge branch 'master' into 2872-folder-nav
Tom Clegg [Thu, 12 Jun 2014 03:57:37 +0000 (23:57 -0400)]
2872: Merge branch 'master' into 2872-folder-nav

Conflicts:
apps/workbench/app/assets/javascripts/pipeline_instances.js
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/collections_controller.rb
apps/workbench/app/controllers/jobs_controller.rb
apps/workbench/app/helpers/application_helper.rb
apps/workbench/app/models/job.rb
apps/workbench/app/views/application/_content.html.erb
apps/workbench/app/views/application/_show_metadata.html.erb
apps/workbench/app/views/pipeline_instances/_show_components.html.erb

9 years ago2872: Fix bookmark bar causing spurious window width.
Tom Clegg [Thu, 12 Jun 2014 03:31:41 +0000 (23:31 -0400)]
2872: Fix bookmark bar causing spurious window width.

9 years agorefs #2871
radhika [Wed, 11 Jun 2014 16:30:24 +0000 (12:30 -0400)]
refs #2871
Merge branch '2871-preload-objects'

9 years ago2871: fix the typo caught by integration test
radhika [Wed, 11 Jun 2014 16:22:32 +0000 (12:22 -0400)]
2871: fix the typo caught by integration test

9 years agocloses #2871
radhika [Wed, 11 Jun 2014 15:02:21 +0000 (11:02 -0400)]
closes #2871
Merge branch '2871-preload-objects'

9 years agoBugfix: the discovery doc should not clobber defaults values with the
Ward Vandewege [Tue, 10 Jun 2014 20:31:59 +0000 (16:31 -0400)]
Bugfix: the discovery doc should not clobber defaults values with the
word 'string'. Instead, make sure the default values are always exposed
as a string, which is something the java google apiclient is sensitive
to.

Refs no issue #

9 years agoAdded error-handler for x-editable that extracts Arvados API error field for
Peter Amstutz [Tue, 10 Jun 2014 20:04:56 +0000 (16:04 -0400)]
Added error-handler for x-editable that extracts Arvados API error field for
display, closes #2819

9 years ago2871: add andand to prevent error
radhika [Tue, 10 Jun 2014 20:02:02 +0000 (16:02 -0400)]
2871: add andand to prevent error

9 years agoMerge branch 'master' into 2871-preload-objects
radhika [Tue, 10 Jun 2014 19:56:07 +0000 (15:56 -0400)]
Merge branch 'master' into 2871-preload-objects

9 years agoMerge branch '2961-load-tab-partials' closes #2961
Peter Amstutz [Tue, 10 Jun 2014 19:46:42 +0000 (15:46 -0400)]
Merge branch '2961-load-tab-partials' closes #2961

9 years agoarv-run-pipeline-instance should not keep trying to create jobs when the
Ward Vandewege [Tue, 10 Jun 2014 18:59:21 +0000 (14:59 -0400)]
arv-run-pipeline-instance should not keep trying to create jobs when the
API server returns an error on job creation.

This closes #3005

9 years agoMerge branch '2826-simple-go-sdk' closes #2826
Peter Amstutz [Tue, 10 Jun 2014 18:56:01 +0000 (14:56 -0400)]
Merge branch '2826-simple-go-sdk' closes #2826

9 years agoFix inconsistent JSON error return behavior on job create.
Ward Vandewege [Tue, 10 Jun 2014 18:32:09 +0000 (14:32 -0400)]
Fix inconsistent JSON error return behavior on job create.

refs #3004

9 years agoMerge branch '2880-crunch-dispatch-node-constraints'
Brett Smith [Tue, 10 Jun 2014 18:12:31 +0000 (14:12 -0400)]
Merge branch '2880-crunch-dispatch-node-constraints'

Closes #2880, #2976, #2993.

9 years ago2880: Don't dispatch Jobs until runtime constraints are met.
Brett Smith [Fri, 6 Jun 2014 17:18:38 +0000 (13:18 -0400)]
2880: Don't dispatch Jobs until runtime constraints are met.

This retains the same FIFO approach to the Job queue that
crunch-dispatch currently uses, but now when it encounters a Job whose
constraints are not met:

* it may wait for a while to see if the Node Manager makes Nodes
  available, if it hasn't done that this hour; and

* it leaves that Job in the queue and tries to process the next one.

See #2880 for further background.  The exact parameters of "waiting
for Nodes" will probably need tuning, but that will be easier to do
after it's been in production for a while.

9 years ago2880: Improve error reporting when crunch-dispatch updates node status.
Brett Smith [Fri, 6 Jun 2014 16:03:54 +0000 (12:03 -0400)]
2880: Improve error reporting when crunch-dispatch updates node status.

9 years ago2880: crunch-dispatch must stop putting symbols in the database.
Brett Smith [Fri, 6 Jun 2014 16:03:08 +0000 (12:03 -0400)]
2880: crunch-dispatch must stop putting symbols in the database.

9 years ago2961: Removed calls to wait_for_ajax, fixes user tests.
Peter Amstutz [Tue, 10 Jun 2014 17:31:46 +0000 (13:31 -0400)]
2961: Removed calls to wait_for_ajax, fixes user tests.

9 years ago2961: user-setup-modal-window div is no longer in footer_html because it is
Peter Amstutz [Tue, 10 Jun 2014 17:28:13 +0000 (13:28 -0400)]
2961: user-setup-modal-window div is no longer in footer_html because it is
loaded using AJAX.

9 years ago2961: Don't call #render_index from #index on folders_controller because #index
Peter Amstutz [Tue, 10 Jun 2014 17:26:20 +0000 (13:26 -0400)]
2961: Don't call #render_index from #index on folders_controller because #index
is also used by #choose and the index does not have any tabs.

9 years ago2961: Do not include meta tag for websockets if there is no websockets in the
Peter Amstutz [Tue, 10 Jun 2014 17:23:24 +0000 (13:23 -0400)]
2961: Do not include meta tag for websockets if there is no websockets in the
discovery document.

9 years ago2961: Fixed name of collection on collection show page to fix test.
Peter Amstutz [Tue, 10 Jun 2014 17:22:48 +0000 (13:22 -0400)]
2961: Fixed name of collection on collection show page to fix test.

9 years ago2961: Track valid/up to date state for each panel, only reload panels when they
Peter Amstutz [Tue, 10 Jun 2014 14:20:29 +0000 (10:20 -0400)]
2961: Track valid/up to date state for each panel, only reload panels when they
are out of date (based on event log) and visible to user.

9 years ago2961: Added use count so ajax loading icon is accurate when there are multiple
Peter Amstutz [Tue, 10 Jun 2014 14:18:22 +0000 (10:18 -0400)]
2961: Added use count so ajax loading icon is accurate when there are multiple
outstanding ajax requests.

9 years ago2961: Removed dangling close div.
Peter Amstutz [Tue, 10 Jun 2014 14:16:04 +0000 (10:16 -0400)]
2961: Removed dangling close div.

9 years ago2961: Added missing user uuid to session.
Peter Amstutz [Tue, 10 Jun 2014 14:15:34 +0000 (10:15 -0400)]
2961: Added missing user uuid to session.

9 years agoMerge branch 'master' into 2961-load-tab-partials
Peter Amstutz [Tue, 10 Jun 2014 13:21:02 +0000 (09:21 -0400)]
Merge branch 'master' into 2961-load-tab-partials

9 years agoFix for running workbench against server that doesn't have 'Job.supplied_script_versi...
Peter Amstutz [Tue, 10 Jun 2014 13:19:39 +0000 (09:19 -0400)]
Fix for running workbench against server that doesn't have 'Job.supplied_script_version' yet.  refs #2939

9 years ago2961: Job index needs to call super sometimes, render_index other times.
Peter Amstutz [Tue, 10 Jun 2014 13:18:02 +0000 (09:18 -0400)]
2961: Job index needs to call super sometimes, render_index other times.

9 years ago2961: Changed index methods on some controllers to use render_index instead of
Peter Amstutz [Tue, 10 Jun 2014 13:08:38 +0000 (09:08 -0400)]
2961: Changed index methods on some controllers to use render_index instead of
super, to skip the default index query logic but still apply the tab partial
logic.

9 years agoMerge branch 'master' into 2871-preload-objects
radhika [Tue, 10 Jun 2014 12:58:22 +0000 (08:58 -0400)]
Merge branch 'master' into 2871-preload-objects

9 years ago2871: trailing whitespace
radhika [Tue, 10 Jun 2014 12:49:39 +0000 (08:49 -0400)]
2871: trailing whitespace

9 years agoSpecify server-side keep-alive ping interval for websockets. no issue #
Peter Amstutz [Mon, 9 Jun 2014 21:05:43 +0000 (17:05 -0400)]
Specify server-side keep-alive ping interval for websockets.  no issue #

9 years ago2961: Escaped erb used embedded in javascript. Updated comments in
Peter Amstutz [Mon, 9 Jun 2014 20:57:50 +0000 (16:57 -0400)]
2961: Escaped erb used embedded in javascript.  Updated comments in
event_log.js.  Removed debug put from ApplicationController.

9 years agoMerge branch 'master' into 2871-preload-objects
radhika [Mon, 9 Jun 2014 20:40:39 +0000 (16:40 -0400)]
Merge branch 'master' into 2871-preload-objects

9 years ago2871: test preload_objects_for_dataclass helper method
radhika [Mon, 9 Jun 2014 20:39:31 +0000 (16:39 -0400)]
2871: test preload_objects_for_dataclass helper method

9 years agoAdd puma to the Gemfile for the API server; we use it for the websockets
Ward Vandewege [Mon, 9 Jun 2014 20:33:01 +0000 (16:33 -0400)]
Add puma to the Gemfile for the API server; we use it for the websockets
server.

no issue #

9 years ago2871: preload_log_collections tests
radhika [Mon, 9 Jun 2014 19:37:39 +0000 (15:37 -0400)]
2871: preload_log_collections tests

9 years ago2871: more testing
radhika [Mon, 9 Jun 2014 18:00:53 +0000 (14:00 -0400)]
2871: more testing

9 years ago2871: more tests
radhika [Mon, 9 Jun 2014 17:24:09 +0000 (13:24 -0400)]
2871: more tests

9 years ago2871: test invoking methods a second time to retrieve preloaded data
radhika [Mon, 9 Jun 2014 16:09:56 +0000 (12:09 -0400)]
2871: test invoking methods a second time to retrieve preloaded data

9 years ago2871: add tests for get_n_objects_of_class helper method
radhika [Mon, 9 Jun 2014 15:43:40 +0000 (11:43 -0400)]
2871: add tests for get_n_objects_of_class helper method

9 years ago2961: Collections show controller now delegates to super to handle tabs
Peter Amstutz [Mon, 9 Jun 2014 15:41:19 +0000 (11:41 -0400)]
2961: Collections show controller now delegates to super to handle tabs
properly.

9 years ago2871: add tests for preload_collections_for_objects helper method
radhika [Mon, 9 Jun 2014 14:13:16 +0000 (10:13 -0400)]
2871: add tests for preload_collections_for_objects helper method

9 years ago2871: add input checks for helper methods. start adding functional tests for the...
radhika [Mon, 9 Jun 2014 13:42:04 +0000 (09:42 -0400)]
2871: add input checks for helper methods. start adding functional tests for the helper methods.

9 years agoMerge remote-tracking branch 'origin/master' into 2961-load-tab-partials
Peter Amstutz [Mon, 9 Jun 2014 13:09:20 +0000 (09:09 -0400)]
Merge remote-tracking branch 'origin/master' into 2961-load-tab-partials

9 years ago2961: Save user information as part of the session cookie, eliminates looking
Peter Amstutz [Mon, 9 Jun 2014 13:09:09 +0000 (09:09 -0400)]
2961: Save user information as part of the session cookie, eliminates looking
up current user when rendering every page and panel, this means 2x reduction in
latency when the panel only requires 1 API lookup otherwise.

9 years ago2872: Fix test for new nav.
Tom Clegg [Mon, 9 Jun 2014 01:38:54 +0000 (21:38 -0400)]
2872: Fix test for new nav.

9 years ago2872: Top nav gradient.
Tom Clegg [Sat, 7 Jun 2014 19:28:15 +0000 (15:28 -0400)]
2872: Top nav gradient.

9 years ago2872: Hide projects nav bar when not logged in or inactive.
Tom Clegg [Sat, 7 Jun 2014 17:45:11 +0000 (13:45 -0400)]
2872: Hide projects nav bar when not logged in or inactive.

9 years ago2872: Fix notifications menu colors.
Tom Clegg [Sat, 7 Jun 2014 17:43:31 +0000 (13:43 -0400)]
2872: Fix notifications menu colors.

9 years ago2872: Rearrange top nav with breadcrumbs/projects bar.
Tom Clegg [Sat, 7 Jun 2014 17:40:40 +0000 (13:40 -0400)]
2872: Rearrange top nav with breadcrumbs/projects bar.

9 years ago2872: Rename folders to projects
Tom Clegg [Sat, 7 Jun 2014 15:36:58 +0000 (11:36 -0400)]
2872: Rename folders to projects

9 years ago2872: Hide unnecessary scroll bar
Tom Clegg [Sat, 7 Jun 2014 15:33:50 +0000 (11:33 -0400)]
2872: Hide unnecessary scroll bar

9 years agoMerge branch 'master' into 2871-preload-objects
radhika [Sat, 7 Jun 2014 13:03:19 +0000 (09:03 -0400)]
Merge branch 'master' into 2871-preload-objects

9 years ago2872: updates to the new test that creates and runs pipeline instance from within...
radhika [Sat, 7 Jun 2014 12:52:45 +0000 (08:52 -0400)]
2872: updates to the new test that creates and runs pipeline instance from within a folder.

9 years ago2872: added a test that creates a pipeline instance from within a folder and runs it.
radhika [Sat, 7 Jun 2014 12:41:55 +0000 (08:41 -0400)]
2872: added a test that creates a pipeline instance from within a folder and runs it.

9 years ago2872: Fix provenance graph absolute position.
Tom Clegg [Sat, 7 Jun 2014 03:41:39 +0000 (23:41 -0400)]
2872: Fix provenance graph absolute position.

9 years ago2872: add test for a pipeline instance with job associated so that the provenance...
radhika [Fri, 6 Jun 2014 23:15:30 +0000 (19:15 -0400)]
2872: add test for a pipeline instance with job associated so that the provenance graph can be tested.

9 years ago2872: test now passing since the UI issue with "Resume" button is addressed.
radhika [Fri, 6 Jun 2014 22:25:25 +0000 (18:25 -0400)]
2872: test now passing since the UI issue with "Resume" button is addressed.

9 years agoMerge branch '2857-collection-tests'
Tim Pierce [Fri, 6 Jun 2014 21:37:18 +0000 (17:37 -0400)]
Merge branch '2857-collection-tests'

Closes #2857.

9 years agoMerge branch '2872-folder-nav' into 2872-folder-nav-tests
radhika [Fri, 6 Jun 2014 21:12:45 +0000 (17:12 -0400)]
Merge branch '2872-folder-nav' into 2872-folder-nav-tests

9 years ago2872: Fix string+nil bug.
Tom Clegg [Fri, 6 Jun 2014 21:09:34 +0000 (17:09 -0400)]
2872: Fix string+nil bug.

9 years ago2872: Fix up pipeline instance table, show "resume" button if paused.
Tom Clegg [Fri, 6 Jun 2014 21:07:56 +0000 (17:07 -0400)]
2872: Fix up pipeline instance table, show "resume" button if paused.

9 years agoMerge branch 'master' into 2871-preload-objects
radhika [Fri, 6 Jun 2014 19:57:19 +0000 (15:57 -0400)]
Merge branch 'master' into 2871-preload-objects

9 years ago2872: added graph and run button checks back. the test does not pass right now due...
radhika [Fri, 6 Jun 2014 19:53:12 +0000 (15:53 -0400)]
2872: added graph and run button checks back. the test does not pass right now due to bug in graph tab display in pipeline instance display.

9 years ago2857: strip signatures from manifests before testing equality.
Tim Pierce [Fri, 6 Jun 2014 19:48:43 +0000 (15:48 -0400)]
2857: strip signatures from manifests before testing equality.

As Brett observed, the "post" method in these tests mutates its
argument. For a valid test, we must ensure that the source data has not
been transformed into the result data.

For tests which do not care about validating the signatures, we just
strip out the signatures from the result manifest before comparing it to
the source.

Refs #2857.

9 years agoMerge branch '2872-folder-nav' into 2872-folder-nav-tests
radhika [Fri, 6 Jun 2014 18:52:00 +0000 (14:52 -0400)]
Merge branch '2872-folder-nav' into 2872-folder-nav-tests

9 years ago2872: Bring back Graph pane on pipeline instance show page.
Tom Clegg [Fri, 6 Jun 2014 18:50:41 +0000 (14:50 -0400)]
2872: Bring back Graph pane on pipeline instance show page.

9 years ago2872: when a pipeline instance still needs input, the Run button should be disabled.
radhika [Fri, 6 Jun 2014 18:41:42 +0000 (14:41 -0400)]
2872: when a pipeline instance still needs input, the Run button should be disabled.

9 years agoMerge branch '2872-folder-nav' into 2872-folder-nav-tests
radhika [Fri, 6 Jun 2014 18:32:02 +0000 (14:32 -0400)]
Merge branch '2872-folder-nav' into 2872-folder-nav-tests

9 years ago2872: updated test to work with the new ui.
radhika [Fri, 6 Jun 2014 18:30:36 +0000 (14:30 -0400)]
2872: updated test to work with the new ui.

9 years ago2961: Added checks if we are rendering a tab partial and skips expensive calls
Peter Amstutz [Fri, 6 Jun 2014 17:45:18 +0000 (13:45 -0400)]
2961: Added checks if we are rendering a tab partial and skips expensive calls
to the API server if not needed to render the requested tab pane.

9 years ago2872: Fix auto-disable/enable "Run" button on pipeline page.
Tom Clegg [Fri, 6 Jun 2014 16:56:03 +0000 (12:56 -0400)]
2872: Fix auto-disable/enable "Run" button on pipeline page.

9 years ago2872: On front page, only show recent pipelines and jobs that are in folders.
Tom Clegg [Fri, 6 Jun 2014 16:56:00 +0000 (12:56 -0400)]
2872: On front page, only show recent pipelines and jobs that are in folders.

9 years agoMerge branch 'master' into 2857-collection-tests
Tim Pierce [Fri, 6 Jun 2014 15:31:59 +0000 (11:31 -0400)]
Merge branch 'master' into 2857-collection-tests

9 years agoMerge branch '2955-fail-orphan-jobs' closes #2955
Peter Amstutz [Fri, 6 Jun 2014 14:40:59 +0000 (10:40 -0400)]
Merge branch '2955-fail-orphan-jobs' closes #2955

9 years agoReverted change a0aba6d "crunch-dispatch now sends a clean environment to crunch...
Peter Amstutz [Fri, 6 Jun 2014 14:39:39 +0000 (10:39 -0400)]
Reverted change a0aba6d "crunch-dispatch now sends a clean environment to crunch-job"

9 years agoMerge branch 'master' into 2955-fail-orphan-jobs
Peter Amstutz [Fri, 6 Jun 2014 14:31:18 +0000 (10:31 -0400)]
Merge branch 'master' into 2955-fail-orphan-jobs

9 years agoReverted change a0aba6d "crunch-dispatch now sends a clean environment to crunch...
Peter Amstutz [Fri, 6 Jun 2014 14:30:06 +0000 (10:30 -0400)]
Reverted change a0aba6d "crunch-dispatch now sends a clean environment to crunch-job" refs #2882.

9 years agoMerge branch '2880-compute-ping-stats'
Brett Smith [Fri, 6 Jun 2014 13:47:11 +0000 (09:47 -0400)]
Merge branch '2880-compute-ping-stats'

Closes #2967, #2975.

9 years ago2880: API server saves node statistics from pings.
Brett Smith [Thu, 5 Jun 2014 15:38:46 +0000 (11:38 -0400)]
2880: API server saves node statistics from pings.

Crunch will use this information when scheduling Jobs, to satisfy
specified runtime constraints.  Getting this data into the pings is
the responsibility of the node's ping script.

9 years ago2882: Workbench generic create controller adds JSON href attribute.
Brett Smith [Fri, 6 Jun 2014 13:38:25 +0000 (09:38 -0400)]
2882: Workbench generic create controller adds JSON href attribute.

This is a bugfix commit.  This detail got lost when create stopped
calling show to render the object.  Refs #2882.

9 years ago2872: update test to meet the current ui updates. the pipeline instances test still...
radhika [Fri, 6 Jun 2014 12:41:30 +0000 (08:41 -0400)]
2872: update test to meet the current ui updates. the pipeline instances test still failing; possible error in ui where the Run button is enabled even when input is not provided.

9 years agoMerge branch '2872-folder-nav' into 2872-folder-nav-tests
radhika [Fri, 6 Jun 2014 11:27:16 +0000 (07:27 -0400)]
Merge branch '2872-folder-nav' into 2872-folder-nav-tests

9 years ago2872: Use collection name, not hash, for breadcrumbs/title/activity.
Tom Clegg [Fri, 6 Jun 2014 07:32:46 +0000 (03:32 -0400)]
2872: Use collection name, not hash, for breadcrumbs/title/activity.

9 years ago2872: Enable OK/Cancel buttons on editable popup. Lose "close" button.
Tom Clegg [Fri, 6 Jun 2014 07:17:32 +0000 (03:17 -0400)]
2872: Enable OK/Cancel buttons on editable popup. Lose "close" button.

9 years ago2872: Tweak wording on pipeline inputs page.
Tom Clegg [Fri, 6 Jun 2014 07:10:36 +0000 (03:10 -0400)]
2872: Tweak wording on pipeline inputs page.

9 years ago2872: Fix up login behavior.
Tom Clegg [Fri, 6 Jun 2014 07:07:18 +0000 (03:07 -0400)]
2872: Fix up login behavior.

9 years ago2872: Make "inactive" and "not logged in" behavior work on all pages, not just dashboard.
Tom Clegg [Fri, 6 Jun 2014 06:49:56 +0000 (02:49 -0400)]
2872: Make "inactive" and "not logged in" behavior work on all pages, not just dashboard.

9 years ago2872: Ensure user agreement can be viewed before being accepted.
Tom Clegg [Fri, 6 Jun 2014 05:50:55 +0000 (01:50 -0400)]
2872: Ensure user agreement can be viewed before being accepted.

9 years ago2872: all tests are updated to reflect the new ui.
radhika [Fri, 6 Jun 2014 03:55:17 +0000 (23:55 -0400)]
2872: all tests are updated to reflect the new ui.

9 years ago2961: Now loads tab panes (past the first one) in the background.
Peter Amstutz [Fri, 6 Jun 2014 02:02:30 +0000 (22:02 -0400)]
2961: Now loads tab panes (past the first one) in the background.
Automatically triggers reload of tab panes when receiving a changed event from
websocket.

9 years ago2961: Removed spurious elementId from subscribeToEventLog(). Added arv-log-event...
Peter Amstutz [Thu, 5 Jun 2014 20:31:18 +0000 (16:31 -0400)]
2961: Removed spurious elementId from subscribeToEventLog(). Added arv-log-event-listener[data-object-type="xxxxx"] to
match on uuid types.

9 years agoFixes PipelineInstancesControllerTest. application_controller#create now does
Peter Amstutz [Thu, 5 Jun 2014 19:50:26 +0000 (15:50 -0400)]
Fixes PipelineInstancesControllerTest.  application_controller#create now does
the right thing based on requested response format.  refs #2882

9 years ago2857: fix flaky time-sensitive tests
Tim Pierce [Thu, 5 Jun 2014 19:42:06 +0000 (15:42 -0400)]
2857: fix flaky time-sensitive tests

Allow tests to inject a mock Time object into Blob, in order to generate
consistent behavior for tests that rely on permission signatures.

Closes #2857.

9 years ago2872: update tests to match the new ui
radhika [Thu, 5 Jun 2014 19:36:50 +0000 (15:36 -0400)]
2872: update tests to match the new ui

9 years agoMerge branch '2882-job-process-stats' refs #2882
Peter Amstutz [Thu, 5 Jun 2014 18:49:35 +0000 (14:49 -0400)]
Merge branch '2882-job-process-stats' refs #2882

9 years ago2955: Renamed script to "cancel_stale_jobs". Fixed spelling canceled_at -> cancelled_at.
Peter Amstutz [Thu, 5 Jun 2014 18:44:51 +0000 (14:44 -0400)]
2955: Renamed script to "cancel_stale_jobs".  Fixed spelling canceled_at -> cancelled_at.

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