Brett Smith [Wed, 25 Jun 2014 20:07:27 +0000 (16:07 -0400)]
2891: Workbench displays more info about API errors.
Brett Smith [Wed, 25 Jun 2014 18:11:10 +0000 (14:11 -0400)]
2891: Add Workbench test for expired API token.
Brett Smith [Mon, 23 Jun 2014 21:31:57 +0000 (17:31 -0400)]
2891: Add index link to Workbench 404 responses.
Brett Smith [Mon, 23 Jun 2014 19:53:18 +0000 (15:53 -0400)]
2891: Workbench returns 404 when API object doesn't exist.
Brett Smith [Mon, 23 Jun 2014 19:28:48 +0000 (15:28 -0400)]
2891: Workbench API client raises structured exceptions.
These changes will make it easier for the rest of the Workbench code
to cope with these errors more gracefully—even if that just means
friendlier reporting of the error.
Brett Smith [Tue, 24 Jun 2014 15:38:50 +0000 (11:38 -0400)]
2891: API server assigns error tokens.
These unique tokens are both logged and sent along with the response,
making it easier to cross-reference what the client does with what
happens on the API server.
Brett Smith [Tue, 24 Jun 2014 14:22:25 +0000 (10:22 -0400)]
2891: API server ApplicationController style updates.
This ports over some of the niceties we've recently implemented in the
Workbench ApplicationController.
Brett Smith [Wed, 25 Jun 2014 17:47:13 +0000 (13:47 -0400)]
2891: Fix bug in Workbench error page test.
radhika [Mon, 30 Jun 2014 16:50:16 +0000 (12:50 -0400)]
closes #3076
Merge branch '3076-topnav-help'
radhika [Mon, 30 Jun 2014 16:45:46 +0000 (12:45 -0400)]
Merge branch 'master' into 3076-topnav-help
radhika [Mon, 30 Jun 2014 16:19:16 +0000 (12:19 -0400)]
closes #3088
Merge branch '3088-project-chooser-on-run-pipeline-template'
radhika [Mon, 30 Jun 2014 16:16:11 +0000 (12:16 -0400)]
3088: address review feedback -- change the icon positioning on the Run button.
radhika [Mon, 30 Jun 2014 16:08:07 +0000 (12:08 -0400)]
Merge branch 'master' into 3088-project-chooser-on-run-pipeline-template
radhika [Mon, 30 Jun 2014 16:03:55 +0000 (12:03 -0400)]
refs #2659
Merge branch '2659-anonymous-server-side'
radhika [Mon, 30 Jun 2014 15:46:36 +0000 (11:46 -0400)]
Merge branch 'master' into 3088-project-chooser-on-run-pipeline-template
radhika [Mon, 30 Jun 2014 15:41:26 +0000 (11:41 -0400)]
Merge branch 'master' into 2659-anonymous-server-side
radhika [Mon, 30 Jun 2014 15:39:41 +0000 (11:39 -0400)]
2659: look for scopes and expires_at when getting anonymous token. also, update create anonymous user to check for group link even when the user exists.
Peter Amstutz [Mon, 30 Jun 2014 14:42:39 +0000 (10:42 -0400)]
Add 'run-command' generic crunch command wrapper. refs #2342
radhika [Mon, 30 Jun 2014 14:39:52 +0000 (10:39 -0400)]
2659: remove the share_the_aproject_with_all_groups fixture in links.
radhika [Mon, 30 Jun 2014 14:12:48 +0000 (10:12 -0400)]
Merge branch 'master' into 2659-anonymous-server-side
Peter Amstutz [Fri, 27 Jun 2014 16:16:05 +0000 (12:16 -0400)]
Fix tests broken by adding zero-length block manifests containing a zero length
file. refs #3084
Peter Amstutz [Fri, 27 Jun 2014 15:11:50 +0000 (11:11 -0400)]
Handle empty directories in arv-put. refs #3087
Peter Amstutz [Fri, 27 Jun 2014 14:57:24 +0000 (10:57 -0400)]
Handle zero-length streams that contain zero-length files. refs #3084
radhika [Fri, 27 Jun 2014 14:20:56 +0000 (10:20 -0400)]
Merge branch 'master' into 3076-topnav-help
radhika [Fri, 27 Jun 2014 14:19:59 +0000 (10:19 -0400)]
Merge branch 'master' into 3088-project-chooser-on-run-pipeline-template
radhika [Fri, 27 Jun 2014 14:14:15 +0000 (10:14 -0400)]
Merge branch 'master' into 2659-anonymous-server-side
radhika [Fri, 27 Jun 2014 13:41:08 +0000 (09:41 -0400)]
2659: split server side implementation into a separate branch to facilitate better testing.
Peter Amstutz [Fri, 27 Jun 2014 13:26:02 +0000 (09:26 -0400)]
Update required arvados gem to depend on version of arv-run-pipeline-instance
that supports runtime constraints. no issue #
Peter Amstutz [Fri, 27 Jun 2014 12:47:59 +0000 (08:47 -0400)]
Merge branch 'pete-fixes' closes #3096
Peter Amstutz [Fri, 27 Jun 2014 12:45:50 +0000 (08:45 -0400)]
Fixed render_pipeline_component_attribute test if dataclass derives from ArvadosBase.
Peter Amstutz [Thu, 26 Jun 2014 21:10:26 +0000 (17:10 -0400)]
Merge branch 'pete-fixes' of git.curoverse.com:arvados into pete-fixes
Peter Amstutz [Thu, 26 Jun 2014 21:09:57 +0000 (17:09 -0400)]
Fixed get_n_objects_of_class datatype assertion for 'dataclass'
radhika [Thu, 26 Jun 2014 19:48:05 +0000 (15:48 -0400)]
3088: so sweet to have a test AND one that fails when code is updated.
radhika [Thu, 26 Jun 2014 19:37:30 +0000 (15:37 -0400)]
3088: the other right
radhika [Thu, 26 Jun 2014 19:28:24 +0000 (15:28 -0400)]
3088: show project chooser for run this pipeline on a template
Peter Amstutz [Thu, 26 Jun 2014 19:14:38 +0000 (15:14 -0400)]
Remove import from __future__
Peter Amstutz [Thu, 26 Jun 2014 19:13:37 +0000 (15:13 -0400)]
Remove spurious 'puts'
radhika [Thu, 26 Jun 2014 19:03:27 +0000 (15:03 -0400)]
3088: set the owner uuid on the newly created pipeline instance to the selected project.
Peter Amstutz [Thu, 26 Jun 2014 18:41:49 +0000 (14:41 -0400)]
:none dispatcher only runs one job at a time.
radhika [Thu, 26 Jun 2014 18:01:07 +0000 (14:01 -0400)]
3088: Run this pipeline on a template shows project chooser
Peter Amstutz [Thu, 26 Jun 2014 17:51:58 +0000 (13:51 -0400)]
Merge remote-tracking branch 'origin/master' into pete-fixes
Peter Amstutz [Thu, 26 Jun 2014 17:51:14 +0000 (13:51 -0400)]
Fixed logging statements to format correctly.
Peter Amstutz [Thu, 26 Jun 2014 17:31:14 +0000 (13:31 -0400)]
"Combine selected" actually works again.
Peter Amstutz [Thu, 26 Jun 2014 16:58:51 +0000 (12:58 -0400)]
fuse test fixes
Peter Amstutz [Thu, 26 Jun 2014 15:31:17 +0000 (11:31 -0400)]
Use logging module instead of "if DEBUG:"
Peter Amstutz [Thu, 26 Jun 2014 15:30:38 +0000 (11:30 -0400)]
Remove spurious 'puts'
Peter Amstutz [Thu, 26 Jun 2014 15:30:14 +0000 (11:30 -0400)]
Fixed regex for extracting just hash and size part of locator
Peter Amstutz [Thu, 26 Jun 2014 15:29:25 +0000 (11:29 -0400)]
Add -> indirection to $self->{'noVerifyHostname'}
Peter Amstutz [Thu, 26 Jun 2014 15:28:50 +0000 (11:28 -0400)]
Use /tmp/crunch-src for docker jobs and $ENV{CRUNCH_SRC} for non-docker. Removed umask.
Peter Amstutz [Thu, 26 Jun 2014 15:17:50 +0000 (11:17 -0400)]
Refactored "save temp file rescue behavior into function
Peter Amstutz [Thu, 26 Jun 2014 15:17:32 +0000 (11:17 -0400)]
Refactored arv-normalize calls into function.
Peter Amstutz [Thu, 26 Jun 2014 13:46:36 +0000 (09:46 -0400)]
Reused variable 'n' for two different things. Oops.
Peter Amstutz [Thu, 26 Jun 2014 13:28:57 +0000 (09:28 -0400)]
Improve arv edit failure handling.
radhika [Wed, 25 Jun 2014 14:43:56 +0000 (10:43 -0400)]
Merge branch 'master' into 3088-project-chooser-on-run-pipeline-template
Brett Smith [Tue, 24 Jun 2014 21:11:00 +0000 (17:11 -0400)]
Escape HTML entities in Workbench Job log viewer.
No issue #.
Peter Amstutz [Tue, 24 Jun 2014 21:08:40 +0000 (17:08 -0400)]
Don't print blkio stats if no reads or writes have occurred since the last poll.
radhika [Tue, 24 Jun 2014 20:13:27 +0000 (16:13 -0400)]
3088: Show created at timestamp instead of Age
Peter Amstutz [Tue, 24 Jun 2014 20:04:10 +0000 (16:04 -0400)]
Merge remote-tracking branch 'origin/master' into pete-fixes
Brett Smith [Tue, 24 Jun 2014 19:02:39 +0000 (15:02 -0400)]
Fix bad interaction between llfuse and daemonization in arv-mount.
Following PEP 3143, daemon.DaemonContext drops all open file
descriptors by default. This causes arv-mount to fail, because
llfuse.init() opens /dev/fuse, and llfuse.main() uses that file
descriptor. We now daemonize before doing real work to prevent this
unintentional breakage.
This effectively reverts
83c873af. An alternative approach would've
been to call DaemonContext with a preserve_files argument. I decided
against that because I couldn't find a reliable way to determine
which file descriptors llfuse needs. If we really need the daemon to
report errors, and debugging with --foreground isn't sufficient, I
think we should implement proper logging to a file or syslog.
No issue #.
radhika [Tue, 24 Jun 2014 18:19:54 +0000 (14:19 -0400)]
3076: help menu class name
radhika [Tue, 24 Jun 2014 18:08:49 +0000 (14:08 -0400)]
3076: add Help dropdown to topnav.
Peter Amstutz [Tue, 24 Jun 2014 17:50:23 +0000 (13:50 -0400)]
Make task working directory world writable, to deal with uid mapping problems
where the uid of the crunch-job user doesn't match uid the docker image user.
CRUNCH_SRC, TASK_WORK, TASK_KEEPMOUNT and are now always bound to
/tmp/crunch-src, /tmp/crunch-job, /mnt respectively when running inside a
docker image.
Peter Amstutz [Tue, 24 Jun 2014 15:29:56 +0000 (11:29 -0400)]
MagicDirectory.__contains__ now creates CollectionDirectory (which creates
CollectionReader()) and uses update() to determine if a collection exists;
handles cases where the collection only exists on API server. Also improved
arv-mount debug logging. no issue #
Peter Amstutz [Tue, 24 Jun 2014 14:26:14 +0000 (10:26 -0400)]
Remove spurious print from fuse driver. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:16:25 +0000 (09:16 -0400)]
Add support for ARVADOS_API_HOST_INSECURE environment variable. Use Net::SSL
instead of IO::Socket::SSL because the latter seems to ignore
PERL_LWP_SSL_VERIFY_HOSTNAME. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:12:59 +0000 (09:12 -0400)]
Now includes runtime_constraints from the component when creating a new job. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:11:52 +0000 (09:11 -0400)]
Only attempt to preload ArvadosBase objects in render_pipeline_component_attribute. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:11:08 +0000 (09:11 -0400)]
Fix get_n_objects_of only accepts ArvadosBase classes, not any class. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:09:42 +0000 (09:09 -0400)]
Fixed cancel_stale_jobs to authorize as system user before modifying jobs
table. no issue #
Peter Amstutz [Tue, 24 Jun 2014 13:05:59 +0000 (09:05 -0400)]
Adds "--strip" option to arv-normalize to strip off authorization tokens.
Fixed "mismatched collection uuid" in the "create collection from parts of
other collections" feature of workbench. no issue #
Tom Clegg [Mon, 23 Jun 2014 20:39:55 +0000 (16:39 -0400)]
Fix off-by-one-month in timestamp conversion. refs #2883
Brett Smith [Mon, 23 Jun 2014 17:20:46 +0000 (13:20 -0400)]
Merge branch '2891-workbench-errors-retain-login'
Closes #3032, #3074. Refs #2891.
Brett Smith [Mon, 23 Jun 2014 15:14:29 +0000 (11:14 -0400)]
2891: Rename and comment Workbench API token filters.
Brett Smith [Mon, 23 Jun 2014 14:43:02 +0000 (10:43 -0400)]
2891: Refactor Workbench API token filters.
Remove dead code and simplify the implementation, especially the
relationship between the "required" and "optional" filters, per
discussion with Peter.
Brett Smith [Fri, 20 Jun 2014 18:33:18 +0000 (14:33 -0400)]
2891: Workbench error page shows login status.
The tests here check that an error page shows the usual user
information for someone logged in, and renders okay for someone who
isn't.
Brett Smith [Fri, 20 Jun 2014 18:31:33 +0000 (14:31 -0400)]
2891: Workbench handles expired tokens more consistently.
Previously Workbench would behave differently depending on whether an
expired token was provided as a query parameter, or living in a
session. This makes it do the same thing in all cases. It also fixes
some small bugs around removing api_token from URL paths.
Brett Smith [Fri, 20 Jun 2014 15:19:20 +0000 (11:19 -0400)]
2891: Workbench integration tests cope when screenshots aren't supported.
Peter Amstutz [Mon, 23 Jun 2014 14:37:05 +0000 (10:37 -0400)]
Fix symlinks in sdk/cli/bin for arv-mount and arv-keepdocker. no issue #
Peter Amstutz [Mon, 23 Jun 2014 14:09:51 +0000 (10:09 -0400)]
Suppress "Resource or subcommand '' is not recognized." message when running
arv with no parameters. refs #2986
Tom Clegg [Mon, 23 Jun 2014 13:35:31 +0000 (09:35 -0400)]
Remove spurious puts. refs #2884
Tom Clegg [Mon, 23 Jun 2014 13:34:41 +0000 (09:34 -0400)]
Fix crash on unexpected case of a collection whose owner_uuid is not root.
closes #3047
Tom Clegg [Mon, 23 Jun 2014 13:30:30 +0000 (09:30 -0400)]
Handle UrlGenerationError as an application exception rather than a
404, even though it subclasses RoutingError. refs #3047
Peter Amstutz [Mon, 23 Jun 2014 13:11:38 +0000 (09:11 -0400)]
Merge branch '2986-arv-edit' closes #2986
Peter Amstutz [Fri, 20 Jun 2014 21:10:10 +0000 (17:10 -0400)]
2986: Handles collection ids in 'arv edit' (tells the user collections are not
editable.) Added error message when subcommand or resource is
unrecognized. Removed old reference to removed command line parameter
global_opts[:resources].
Peter Amstutz [Fri, 20 Jun 2014 20:34:58 +0000 (16:34 -0400)]
2986: Restored "arv pipeline run" subcommand. Arv edit will now ask you if you
want to retry if there is parse error. Fixed capitalization of Arvados.
Peter Amstutz [Fri, 20 Jun 2014 20:12:44 +0000 (16:12 -0400)]
2986: Report parsing errors and print out contents instead of just blowing up.
Peter Amstutz [Fri, 20 Jun 2014 19:57:44 +0000 (15:57 -0400)]
2986: Writes tempfile with appropriate extension so editor can apply proper editing mode.
Peter Amstutz [Fri, 20 Jun 2014 15:16:54 +0000 (11:16 -0400)]
2986: Can now specify which fields you want to edit, because fields like 'uuid'
and 'modified_at' are not updatable.
Peter Amstutz [Fri, 20 Jun 2014 15:05:32 +0000 (11:05 -0400)]
Fix pipeline instance creation workbench tests. refs #2884
Brett Smith [Fri, 20 Jun 2014 14:40:02 +0000 (10:40 -0400)]
3031: Improve "Docker image not found" error message.
Rails automatically adds the column name to rendered error message, so
the old version was coming out as "Docker image locator Docker image
not found." This version reads better. Refs #3031.
Brett Smith [Thu, 19 Jun 2014 20:39:34 +0000 (16:39 -0400)]
Make Job runtime constraints documentation up-to-date.
Refs #2879, #2880.
Peter Amstutz [Thu, 19 Jun 2014 20:36:01 +0000 (16:36 -0400)]
Merge branch '2884-improved-picker' closes #2884
Peter Amstutz [Thu, 19 Jun 2014 20:32:13 +0000 (16:32 -0400)]
Merge remote-tracking branch 'origin/master' into 2884-improved-picker
Peter Amstutz [Thu, 19 Jun 2014 20:27:26 +0000 (16:27 -0400)]
2884: Added fail callback preview loading fails. Added comments explaining a
couple of things. Removed spurious puts.
Peter Amstutz [Thu, 19 Jun 2014 19:35:01 +0000 (15:35 -0400)]
2986: Implemented "arv edit" command. Refactored 'arv' to be easier to follow.
Changed control flow of command line processing so that trollop gets a chance
to see command line before subcommands. Improved help text for subcommands.
Peter Amstutz [Thu, 19 Jun 2014 19:29:48 +0000 (15:29 -0400)]
2986: Make arv-run-pipeline-instance be nicer to the user when run without
command line parameters.
Brett Smith [Thu, 19 Jun 2014 19:14:57 +0000 (15:14 -0400)]
Refactor show_file_links.html.erb to reduce duplication.
No issue #, just something I did while working on the previous commit.
Brett Smith [Thu, 19 Jun 2014 19:14:07 +0000 (15:14 -0400)]
2937: Make sure Collection share links end with /.
This is necessary to prevent wget from saving a plain HTML file with
the name of the reader token. With a file there, it's not possible to
make a directory tree for recursive downloads.
Closes #2937.
Brett Smith [Thu, 19 Jun 2014 17:26:03 +0000 (13:26 -0400)]
Merge branch '2879-docker-image-job-reuse'
Closes #2879, #2924, #3030.
Brett Smith [Thu, 19 Jun 2014 14:49:56 +0000 (10:49 -0400)]
2879: Docker filters on Jobs accept an array of search terms.