arvados.git
9 years agoMerge branch 'master' into 4523-search-index
Radhika Chippada [Thu, 11 Dec 2014 14:22:20 +0000 (09:22 -0500)]
Merge branch 'master' into 4523-search-index

9 years agoMerge branch '4499-one-task-per-input-file-normalize'
Tim Pierce [Wed, 10 Dec 2014 16:26:10 +0000 (11:26 -0500)]
Merge branch '4499-one-task-per-input-file-normalize'

Fixes #4499.

9 years agoDownload bwa and samtools from a self-hosted mirror, sf.net downloads
Ward Vandewege [Wed, 10 Dec 2014 14:49:09 +0000 (09:49 -0500)]
Download bwa and samtools from a self-hosted mirror, sf.net downloads
are way too unreliable.

No issue #

9 years agoMerge branch '4293-node-manager-timed-bootstrap-wip'
Brett Smith [Wed, 10 Dec 2014 13:04:08 +0000 (08:04 -0500)]
Merge branch '4293-node-manager-timed-bootstrap-wip'

Closes #4293, #4732.  Refs #4380.

9 years ago4293: Node Manager shuts down nodes that fail to boot.
Brett Smith [Fri, 5 Dec 2014 22:27:37 +0000 (17:27 -0500)]
4293: Node Manager shuts down nodes that fail to boot.

This helps Node Manager detect and correct when a node fails to
bootstrap.

9 years ago4380: Node Manager SLURM dispatcher proceeds from more states.
Brett Smith [Fri, 5 Dec 2014 22:45:13 +0000 (17:45 -0500)]
4380: Node Manager SLURM dispatcher proceeds from more states.

Per discussion with Ward.  Our main concern is that Node Manager
shouldn't shut down nodes that are doing work.  We feel comfortable
broadening the definition of "not doing work" to this set of states.

9 years agoMerge branch '3781-browser-upload' closes #3781
Tom Clegg [Wed, 10 Dec 2014 07:15:13 +0000 (02:15 -0500)]
Merge branch '3781-browser-upload' closes #3781

9 years ago3781: Fix test that assumes only one empty collection is readable.
Tom Clegg [Wed, 10 Dec 2014 05:54:23 +0000 (00:54 -0500)]
3781: Fix test that assumes only one empty collection is readable.
Wait longer for browser timeout in upload-fail test.

9 years ago3781: Merge branch 'master' into 3781-browser-upload
Tom Clegg [Wed, 10 Dec 2014 05:00:51 +0000 (00:00 -0500)]
3781: Merge branch 'master' into 3781-browser-upload

9 years ago3781: Add singletest function.
Tom Clegg [Tue, 9 Dec 2014 21:44:50 +0000 (16:44 -0500)]
3781: Add singletest function.

9 years ago3781: Add test cases: empty files, renaming, and error reporting.
Tom Clegg [Tue, 9 Dec 2014 21:44:00 +0000 (16:44 -0500)]
3781: Add test cases: empty files, renaming, and error reporting.

9 years ago4499: Normalize manifest in one_task_per_input_file
Tim Pierce [Mon, 8 Dec 2014 18:53:02 +0000 (13:53 -0500)]
4499: Normalize manifest in one_task_per_input_file

* arvados.job_setup.one_task_per_input_file now calls cr.normalize()
  before creating tasks.

* Added unit test in test_sdk.py to confirm that the expected number of
  tasks are created when called on a normalized manifest.

9 years ago4523: omit text type columns from searchable columns.
Radhika Chippada [Tue, 9 Dec 2014 19:00:28 +0000 (14:00 -0500)]
4523: omit text type columns from searchable columns.

9 years ago4523: update migration scripts to hard code tables and columns.
Radhika Chippada [Tue, 9 Dec 2014 15:38:33 +0000 (10:38 -0500)]
4523: update migration scripts to hard code tables and columns.

9 years ago4027: Update arvados-cli in API server bundle.
Brett Smith [Tue, 9 Dec 2014 15:21:28 +0000 (10:21 -0500)]
4027: Update arvados-cli in API server bundle.

Refs #4027.

9 years agoMerge branch '4027-crunch-sdk-install-wip'
Brett Smith [Tue, 9 Dec 2014 15:14:30 +0000 (10:14 -0500)]
Merge branch '4027-crunch-sdk-install-wip'

Closes #4027, #4667.

9 years ago4027: crunch-job logs its own version information.
Brett Smith [Mon, 8 Dec 2014 15:45:23 +0000 (10:45 -0500)]
4027: crunch-job logs its own version information.

By request in code review, to help detect situations where
crunch-dispatch and crunch-job are out of sync.

9 years ago4027: Crunch installs jobs' requested arvados_sdk_version.
Brett Smith [Mon, 24 Nov 2014 21:55:38 +0000 (16:55 -0500)]
4027: Crunch installs jobs' requested arvados_sdk_version.

* crunch-dispatch fetches the requested SDK version into its internal
  git repository, just like it does for the Crunch script.  Refactored
  crunch-dispatch to make that code reusable.

* crunch-job's main script archives the sdk subdirectory as of that
  commit, sending it along to compute nodes in the same .tar as the
  Crunch script, under .arvados.sdk.

* crunch-job's __DATA__ dispatch section looks for the SDK under
  .arvados.sdk, and installs it as much as possible.

Since I was messing with it so much already, I changed the semantics
of crunch-job's __DATA__ section: it is now either in installation
mode or run mode, based on whether there's anything in @ARGV.  I
confirmed that this is consistent with current calls to the section.

9 years ago4027: arvados/jobs includes virtualenv.
Brett Smith [Mon, 8 Dec 2014 23:15:39 +0000 (18:15 -0500)]
4027: arvados/jobs includes virtualenv.

This lets you use the arvados/jobs image with the arvados_sdk_version
feature of Crunch.

9 years ago4027: Bugfix update-gitolite.rb in Docker.
Brett Smith [Mon, 24 Nov 2014 20:53:44 +0000 (15:53 -0500)]
4027: Bugfix update-gitolite.rb in Docker.

* Load a YAML library.

* Support ARVADOS_API_HOST_INSECURE, and set it in normal Docker use.

9 years ago4027: Revamp SSH use in our Docker images.
Brett Smith [Mon, 24 Nov 2014 20:53:00 +0000 (15:53 -0500)]
4027: Revamp SSH use in our Docker images.

* Don't install or run SSH in most of our Docker images.  `docker
  exec` is now preferred to inspect running images.

* Do run SSH on the API server, always, for Gitolite.

There is a feature regression here: the user's SSH key is not
automatically installed on the shell account.  This needs to be fixed
another way.  In the meantime, it's not difficult to run
`docker exec -ti --user=self shell /bin/bash`, and you can clone the
repository from the host system.

9 years ago3781: Fix trigger() usage: second argument is an array of handler args.
Tom Clegg [Tue, 9 Dec 2014 08:37:48 +0000 (03:37 -0500)]
3781: Fix trigger() usage: second argument is an array of handler args.

9 years ago3781: Fix progress% (100, not NaN) and manifest format (>=1 data locator) for zero...
Tom Clegg [Tue, 9 Dec 2014 08:02:15 +0000 (03:02 -0500)]
3781: Fix progress% (100, not NaN) and manifest format (>=1 data locator) for zero-byte files.

9 years ago4523: trailing white space
Radhika Chippada [Tue, 9 Dec 2014 01:47:08 +0000 (20:47 -0500)]
4523: trailing white space

9 years ago4523: schema update
Radhika Chippada [Tue, 9 Dec 2014 00:54:41 +0000 (19:54 -0500)]
4523: schema update

9 years agoMerge branch '4269-no-collection-uuid-in-script-params'
Tim Pierce [Mon, 8 Dec 2014 22:02:33 +0000 (17:02 -0500)]
Merge branch '4269-no-collection-uuid-in-script-params'

Refs #4269.

9 years ago4269: clean up uuid regex matching
Tim Pierce [Mon, 8 Dec 2014 21:44:17 +0000 (16:44 -0500)]
4269: clean up uuid regex matching

Code review feedback:

* Improved name for validation "no_collection_uuids" to
  "ensure_no_collection_uuids_in_script_params"

* Added ArvadosModel.uuid_regex (along the lines of uuid_like_pattern)
  and substituted it for hardcoded uuid regexes throughout the code.

9 years agocloses #4477
Radhika Chippada [Mon, 8 Dec 2014 21:34:05 +0000 (16:34 -0500)]
closes #4477
closes #4719
Merge branch '4477-no-job-log'

9 years ago4523: migration script update
Radhika Chippada [Mon, 8 Dec 2014 20:35:53 +0000 (15:35 -0500)]
4523: migration script update

9 years ago3781: Go to "Done!" state when the last upload completes despite a late call to stop().
Tom Clegg [Mon, 8 Dec 2014 20:26:52 +0000 (15:26 -0500)]
3781: Go to "Done!" state when the last upload completes despite a late call to stop().

9 years ago4523: search index migration script
Radhika Chippada [Mon, 8 Dec 2014 20:22:11 +0000 (15:22 -0500)]
4523: search index migration script

9 years ago4523: add search index
Radhika Chippada [Mon, 8 Dec 2014 20:20:09 +0000 (15:20 -0500)]
4523: add search index

9 years ago3781: Fix use of committed flag. That is now called state==="Done".
Tom Clegg [Mon, 8 Dec 2014 18:59:45 +0000 (13:59 -0500)]
3781: Fix use of committed flag. That is now called state==="Done".

9 years ago3781: Fix exaggerated claims of being finished.
Tom Clegg [Mon, 8 Dec 2014 18:58:25 +0000 (13:58 -0500)]
3781: Fix exaggerated claims of being finished.

9 years ago3781: Merge branch 'master' into 3781-browser-upload
Tom Clegg [Mon, 8 Dec 2014 18:49:27 +0000 (13:49 -0500)]
3781: Merge branch 'master' into 3781-browser-upload

9 years ago4523: add owner_uuid index on all tables that support this column.
Radhika Chippada [Mon, 8 Dec 2014 17:48:41 +0000 (12:48 -0500)]
4523: add owner_uuid index on all tables that support this column.

9 years agoReset listener=nil before running main() from test cases, so
Tom Clegg [Sun, 7 Dec 2014 23:09:00 +0000 (18:09 -0500)]
Reset listener=nil before running main() from test cases, so
waitForListener() does not get confused by listener!=nil left over
from previous tests. Fixes intermittent test failures.

refs #3828

9 years ago4533: Wait up to 10s for "lock tables". refs #4533
Tom Clegg [Sun, 7 Dec 2014 08:06:04 +0000 (03:06 -0500)]
4533: Wait up to 10s for "lock tables". refs #4533

9 years ago3781: Update tests.
Tom Clegg [Sat, 6 Dec 2014 02:13:31 +0000 (21:13 -0500)]
3781: Update tests.

9 years ago3781: Merge branch 'master' into 3781-browser-upload
Tom Clegg [Sat, 6 Dec 2014 01:46:05 +0000 (20:46 -0500)]
3781: Merge branch 'master' into 3781-browser-upload

9 years ago3781: Add ng-cloak style.
Tom Clegg [Sat, 6 Dec 2014 01:36:23 +0000 (20:36 -0500)]
3781: Add ng-cloak style.

9 years ago3781: Add Uploaded state, fix handling of Pause during appendToCollection.
Tom Clegg [Sat, 6 Dec 2014 01:02:28 +0000 (20:02 -0500)]
3781: Add Uploaded state, fix handling of Pause during appendToCollection.

9 years ago3781: Do not portray "stopped" state as an error if it was reached by clicking Pause.
Tom Clegg [Fri, 5 Dec 2014 23:00:40 +0000 (18:00 -0500)]
3781: Do not portray "stopped" state as an error if it was reached by clicking Pause.

9 years ago3781: Tweak link text. Remove redundant title attributes.
Tom Clegg [Fri, 5 Dec 2014 22:45:05 +0000 (17:45 -0500)]
3781: Tweak link text. Remove redundant title attributes.

9 years agoMerge branch '4156-no-gemfile-lock-for-gem' refs #4156
Tom Clegg [Fri, 5 Dec 2014 18:25:12 +0000 (13:25 -0500)]
Merge branch '4156-no-gemfile-lock-for-gem' refs #4156

9 years ago4533: Lock all tables, not just the ones with fixtures. refs #4533
Tom Clegg [Fri, 5 Dec 2014 18:24:49 +0000 (13:24 -0500)]
4533: Lock all tables, not just the ones with fixtures. refs #4533

9 years ago3781: Fix more {==,!=} -> {===,!==}.
Tom Clegg [Fri, 5 Dec 2014 18:07:48 +0000 (13:07 -0500)]
3781: Fix more {==,!=} -> {===,!==}.

9 years agoMerge branch '4314-trigger-job-update' closes #4314
Peter Amstutz [Fri, 5 Dec 2014 15:44:07 +0000 (10:44 -0500)]
Merge branch '4314-trigger-job-update' closes #4314

9 years agocloses #4559
Radhika Chippada [Fri, 5 Dec 2014 15:15:44 +0000 (10:15 -0500)]
closes #4559
Merge branch '4559-long-component-names'

9 years ago4559: missing quote
Radhika Chippada [Fri, 5 Dec 2014 15:14:42 +0000 (10:14 -0500)]
4559: missing quote

9 years agoMerge branch 'master' into 4559-long-component-names
Radhika Chippada [Fri, 5 Dec 2014 15:10:01 +0000 (10:10 -0500)]
Merge branch 'master' into 4559-long-component-names

9 years agocloses #4638
Radhika Chippada [Fri, 5 Dec 2014 14:58:04 +0000 (09:58 -0500)]
closes #4638
Merge branch '4638-ssh-notification'

9 years agoMerge branch 'master' into 4638-ssh-notification
Radhika Chippada [Fri, 5 Dec 2014 14:57:39 +0000 (09:57 -0500)]
Merge branch 'master' into 4638-ssh-notification

9 years ago4638: update test to reflect link text change.
Radhika Chippada [Fri, 5 Dec 2014 14:57:12 +0000 (09:57 -0500)]
4638: update test to reflect link text change.

9 years agocloses #4638
Radhika Chippada [Fri, 5 Dec 2014 14:34:32 +0000 (09:34 -0500)]
closes #4638
Merge branch '4638-ssh-notification'

9 years ago4638: update link text
Radhika Chippada [Fri, 5 Dec 2014 14:33:33 +0000 (09:33 -0500)]
4638: update link text

9 years agoMerge branch 'master' into 4638-ssh-notification
Radhika Chippada [Fri, 5 Dec 2014 14:22:53 +0000 (09:22 -0500)]
Merge branch 'master' into 4638-ssh-notification

9 years ago4465: Link to arvados.org revision history instead of github.com code view.
Tom Clegg [Fri, 5 Dec 2014 06:49:26 +0000 (01:49 -0500)]
4465: Link to arvados.org revision history instead of github.com code view.

Also, remove spurious helper inclusions, and fix 'locally modified'
detection (it was broken because "" is truthy).

refs #4465

9 years ago3781: One less Regexp.
Tom Clegg [Thu, 4 Dec 2014 22:58:51 +0000 (17:58 -0500)]
3781: One less Regexp.

9 years ago3781: Use regexp instead of split: avoid making big arrays when working on big manifests.
Tom Clegg [Thu, 4 Dec 2014 22:43:49 +0000 (17:43 -0500)]
3781: Use regexp instead of split: avoid making big arrays when working on big manifests.

9 years ago4269: added job validation forbidding collection uuids
Tim Pierce [Thu, 4 Dec 2014 22:12:57 +0000 (17:12 -0500)]
4269: added job validation forbidding collection uuids

Added Job validation no_collection_uuids, searching recursively through
script_parameters for any field matching a collection uuid pattern.

9 years ago4719: change "There are currently no job in the queue" to "your" queue.
Radhika Chippada [Thu, 4 Dec 2014 21:38:52 +0000 (16:38 -0500)]
4719: change "There are currently no job in the queue" to "your" queue.

9 years ago4477: don't crash on no job log
Radhika Chippada [Thu, 4 Dec 2014 21:28:50 +0000 (16:28 -0500)]
4477: don't crash on no job log

9 years ago3781: Fix push-to-bottom-when-Done so it works on the last item, too.
Tom Clegg [Thu, 4 Dec 2014 21:24:55 +0000 (16:24 -0500)]
3781: Fix push-to-bottom-when-Done so it works on the last item, too.

9 years agocloses #4525
Radhika Chippada [Thu, 4 Dec 2014 21:05:27 +0000 (16:05 -0500)]
closes #4525
closes #4694
Merge branch '4525-remove-stale-clippy-code'

9 years ago3781: Fix up dropdown: match appearance of other buttons, tweak wording,
Tom Clegg [Thu, 4 Dec 2014 21:00:03 +0000 (16:00 -0500)]
3781: Fix up dropdown: match appearance of other buttons, tweak wording,
remove min-width style (which was added for clippy, but has been
affecting all dropdowns).

9 years ago4525: when dataclass is Class, return attrvalue similar to the Array case.
Radhika Chippada [Thu, 4 Dec 2014 20:58:00 +0000 (15:58 -0500)]
4525: when dataclass is Class, return attrvalue similar to the Array case.

9 years ago4525: delete assets/stylesheets/selection.css
Radhika Chippada [Thu, 4 Dec 2014 20:23:11 +0000 (15:23 -0500)]
4525: delete assets/stylesheets/selection.css

9 years ago3781: Use $.each for simple loops.
Tom Clegg [Thu, 4 Dec 2014 20:04:44 +0000 (15:04 -0500)]
3781: Use $.each for simple loops.

9 years ago3781: Deobfuscate.
Tom Clegg [Thu, 4 Dec 2014 19:59:57 +0000 (14:59 -0500)]
3781: Deobfuscate.

9 years ago3781: Use ===, !== instead of ==, !=
Tom Clegg [Thu, 4 Dec 2014 19:34:23 +0000 (14:34 -0500)]
3781: Use ===, !== instead of ==, !=

9 years ago3781: Fix error message, and add actual error detection.
Tom Clegg [Thu, 4 Dec 2014 19:03:13 +0000 (14:03 -0500)]
3781: Fix error message, and add actual error detection.

9 years ago4525: link_to to be used when dataclass is a String or Fixnum
Radhika Chippada [Thu, 4 Dec 2014 18:48:10 +0000 (13:48 -0500)]
4525: link_to to be used when dataclass is a String or Fixnum

9 years ago3781: Fix up comments.
Tom Clegg [Thu, 4 Dec 2014 18:39:04 +0000 (13:39 -0500)]
3781: Fix up comments.

9 years ago3781: Disable start button when there is nothing to do.
Tom Clegg [Thu, 4 Dec 2014 18:34:59 +0000 (13:34 -0500)]
3781: Disable start button when there is nothing to do.

9 years ago3781: Report as KiB instead of K.
Tom Clegg [Thu, 4 Dec 2014 18:16:27 +0000 (13:16 -0500)]
3781: Report as KiB instead of K.

9 years ago4525: keep link_to in application_helper, which will be used when attr value is a...
Radhika Chippada [Thu, 4 Dec 2014 18:32:00 +0000 (13:32 -0500)]
4525: keep link_to in application_helper, which will be used when attr value is a String or Fixnum etc

9 years ago4525: remove add_form_selection_sources (one more time) and all references.
radhika [Thu, 4 Dec 2014 18:12:23 +0000 (13:12 -0500)]
4525: remove add_form_selection_sources (one more time) and all references.

9 years ago3781: Merge branch 'master' into 3781-browser-upload
Tom Clegg [Thu, 4 Dec 2014 18:03:20 +0000 (13:03 -0500)]
3781: Merge branch 'master' into 3781-browser-upload

Conflicts:
apps/workbench/app/assets/javascripts/application.js
apps/workbench/app/views/projects/show.html.erb

9 years agoMerge branch 'master' into 4525-remove-stale-clippy-code
radhika [Thu, 4 Dec 2014 17:25:51 +0000 (12:25 -0500)]
Merge branch 'master' into 4525-remove-stale-clippy-code

9 years agoMerge branch '4465-workbench-version-links'
Tim Pierce [Thu, 4 Dec 2014 16:48:27 +0000 (11:48 -0500)]
Merge branch '4465-workbench-version-links'

Fixes #4465.

9 years ago4465: add trailing /? to regexes
Tim Pierce [Thu, 4 Dec 2014 16:47:22 +0000 (11:47 -0500)]
4465: add trailing /? to regexes

Per code review @ #4465-7

9 years ago4465: test for regex link targets
Tim Pierce [Thu, 4 Dec 2014 16:26:58 +0000 (11:26 -0500)]
4465: test for regex link targets

The goal of this story is that the "report issue" dialog includes links
to a Github or Redmine page corresponding to the software versions for
Workbench and the API server, so the test should ensure not just that
there's a link with a given text, but that its target is a Github page
corresponding to a hexadecimal commit hash.

9 years ago4465: added api_version_text helper.
Tim Pierce [Thu, 4 Dec 2014 15:50:44 +0000 (10:50 -0500)]
4465: added api_version_text helper.

Per code review: the source_version returned in the discovery document
may include the string "-modified" if the API server is running from a
locally modified repository.  The api_version_link that we generate for
this version must take that into account.

9 years agoTouch the "crunch_refresh_trigger" file when the state changes. This notifies
Peter Amstutz [Thu, 4 Dec 2014 14:55:06 +0000 (09:55 -0500)]
Touch the "crunch_refresh_trigger" file when the state changes.  This notifies
all crunch-job instances to check the cancelled and state flags, so if a
running job changes state unexpectedly, it will be treated as a cancellation. refs #4314

9 years ago4533: Fix wrong lock mode. refs #4533
Tom Clegg [Thu, 4 Dec 2014 01:50:46 +0000 (20:50 -0500)]
4533: Fix wrong lock mode. refs #4533

9 years ago4525: remove select_form_sources function
radhika [Wed, 3 Dec 2014 23:45:45 +0000 (18:45 -0500)]
4525: remove select_form_sources function

9 years agoMerge branch '4525-remove-stale-clippy-code-TC' into 4525-remove-stale-clippy-code
radhika [Wed, 3 Dec 2014 23:21:19 +0000 (18:21 -0500)]
Merge branch '4525-remove-stale-clippy-code-TC' into 4525-remove-stale-clippy-code

9 years ago4525: restore add_form_selection_sources function
radhika [Wed, 3 Dec 2014 23:16:08 +0000 (18:16 -0500)]
4525: restore add_form_selection_sources function

9 years ago4525: Call enable_disable_selection_actions once per container to
Tom Clegg [Wed, 3 Dec 2014 22:26:23 +0000 (17:26 -0500)]
4525: Call enable_disable_selection_actions once per container to
avoid crosstalk between containers.

Also, separate event binding setup from enable/disable hook, and avoid
binding many copies of the selection dispatch click handler.

9 years agoMerge branch '4533-lock-tables-first' refs #4533
Tom Clegg [Wed, 3 Dec 2014 21:54:51 +0000 (16:54 -0500)]
Merge branch '4533-lock-tables-first' refs #4533

9 years agoUpdate version pin of arvados-cli gem. refs #3698
Peter Amstutz [Wed, 3 Dec 2014 21:08:58 +0000 (16:08 -0500)]
Update version pin of arvados-cli gem.  refs #3698

9 years ago4525: add test to verify selection on tab switching.
radhika [Wed, 3 Dec 2014 20:53:39 +0000 (15:53 -0500)]
4525: add test to verify selection on tab switching.

9 years ago4533: Lock all tables before deleting contents.
Tom Clegg [Wed, 3 Dec 2014 20:40:18 +0000 (15:40 -0500)]
4533: Lock all tables before deleting contents.

9 years ago4525: remove stale clippy code
radhika [Wed, 3 Dec 2014 18:00:35 +0000 (13:00 -0500)]
4525: remove stale clippy code

9 years ago4465: add API/Workbench Github links to help modal
Tim Pierce [Wed, 3 Dec 2014 16:56:08 +0000 (11:56 -0500)]
4465: add API/Workbench Github links to help modal

Updated the help modal dialog to use the following links for API version
and Workbench version:

https://github.com/curoverse/arvados/tree/#{api_version}/services/api
https://github.com/curoverse/arvados/tree/#{wb_version}/apps/workbench

Refactored some code into a VersionHelper to simplify testing.

Also updated the Rails.configuration.source_version settings for both
API server and Workbench to strip trailing newlines (which were
screwing up the URLs).

9 years agoMerge branch '4291-workbench-collection-sharing-button-wip'
Brett Smith [Wed, 3 Dec 2014 16:55:38 +0000 (11:55 -0500)]
Merge branch '4291-workbench-collection-sharing-button-wip'

Closes #4291, #4676, #4688.

9 years ago4291: Workbench says explicitly when collection sharing is disabled.
Brett Smith [Wed, 3 Dec 2014 15:28:42 +0000 (10:28 -0500)]
4291: Workbench says explicitly when collection sharing is disabled.

9 years ago4291: Workbench Collection sharing buttons are actual buttons.
Brett Smith [Thu, 27 Nov 2014 02:35:07 +0000 (21:35 -0500)]
4291: Workbench Collection sharing buttons are actual buttons.

This prevents users from trying to open them in new windows/tabs and
getting a 404 response.

I had to rework the pipeline instance comparison JavaScript because it
was disabling the collection share button on page load.  All that was
really necessary was making sure the event only fires when there
actually is a form#compare, but I did some other cleanup in the
process of learning that.

9 years ago4676: Collection sharing popup is always JavaScript.
Brett Smith [Mon, 1 Dec 2014 16:07:07 +0000 (11:07 -0500)]
4676: Collection sharing popup is always JavaScript.

This fixes an issue where the response would sometimes be sent with
Content-Type: text/html.  We thought it might be a race condition with
AJAX, but the browser was sending a correct Accept: header.