Peter Amstutz [Tue, 28 Jan 2014 15:47:07 +0000 (10:47 -0500)]
Merge branch 'master' into 1977-provenance-report
Peter Amstutz [Tue, 28 Jan 2014 15:45:54 +0000 (10:45 -0500)]
Work in progress
Peter Amstutz [Tue, 28 Jan 2014 14:09:35 +0000 (09:09 -0500)]
Provenance graph now uses full width of window
Peter Amstutz [Mon, 27 Jan 2014 22:07:42 +0000 (17:07 -0500)]
Initial work adding provenance query to API server
Peter Amstutz [Mon, 27 Jan 2014 21:44:44 +0000 (16:44 -0500)]
Left navbar uses bootstrap "nav-header" class for section headers.
Peter Amstutz [Mon, 27 Jan 2014 21:43:36 +0000 (16:43 -0500)]
Hooked into bootstrap/jquery to resize svg box when tab is shown.
Peter Amstutz [Mon, 27 Jan 2014 21:19:05 +0000 (16:19 -0500)]
Adjusts scrollbar to maintain center of image when zooming
Tom Clegg [Mon, 27 Jan 2014 21:17:55 +0000 (13:17 -0800)]
Merge branch '1946-request-body-vs-parameters'
closes #1946
Tom Clegg [Mon, 27 Jan 2014 20:43:50 +0000 (12:43 -0800)]
Remove request body object from parameters lists in *.create and
*.update -- mark it required in the request body instead.
refs #1946
Tom Clegg [Mon, 27 Jan 2014 20:31:59 +0000 (12:31 -0800)]
Add version string to arv (assume "gem install" makes the version
apparent in the executable path).
Tom Clegg [Mon, 27 Jan 2014 20:11:08 +0000 (12:11 -0800)]
Do not add body object to discovery parameters.
Tom Clegg [Mon, 27 Jan 2014 20:10:34 +0000 (12:10 -0800)]
Fix up dependencies, pin google-api-client at 0.6.x
Tom Clegg [Mon, 27 Jan 2014 19:25:19 +0000 (11:25 -0800)]
Add Gemfile.lock
Tom Clegg [Mon, 27 Jan 2014 19:23:07 +0000 (11:23 -0800)]
Send parameters in the request body instead of query parameters if
discovery document specifies request.properties.(key).$ref.
refs #1946
Peter Amstutz [Mon, 27 Jan 2014 21:02:06 +0000 (16:02 -0500)]
Use javascript to set the size of the svg box so that the horizontal scrollbar stays on screen.
Use javascript to enlarge/shrink the svg image ("zoom in" and "zoom out" buttons).
Tom Clegg [Mon, 27 Jan 2014 19:17:27 +0000 (11:17 -0800)]
Add tests, fix dependencies so "bundle exec rake test" runs.
Tom Clegg [Mon, 27 Jan 2014 17:39:47 +0000 (09:39 -0800)]
Fix crash when no config file exists, and fix config access from Model
class.
refs #1943
Tom Clegg [Mon, 27 Jan 2014 15:58:00 +0000 (07:58 -0800)]
Remove Keep prototype (moved to branch 1747-keep-prototype-ruby).
refs #1747
Peter Amstutz [Sun, 26 Jan 2014 03:04:01 +0000 (22:04 -0500)]
Performance fix to only visit a node once.
Fix to not add blank/nil nodes.
Only adds nodes for script inputs that are collections.
Tom Clegg [Sat, 25 Jan 2014 06:43:36 +0000 (22:43 -0800)]
Do not offer to let non-admin users create new keepDisks and nodes.
Tom Clegg [Sat, 25 Jan 2014 06:41:29 +0000 (22:41 -0800)]
Change underscores to camelcase in "kind" strings as documented.
Tom Clegg [Sat, 25 Jan 2014 06:40:37 +0000 (22:40 -0800)]
Add virtualMachine test fixture.
Tom Clegg [Sat, 25 Jan 2014 06:38:54 +0000 (22:38 -0800)]
Replace Admin menu with System menu (users can see those things too).
Tom Clegg [Sat, 25 Jan 2014 06:24:37 +0000 (22:24 -0800)]
Always use symbol keys for object attribute names and string keys
inside serialized hashes, rather than HashWithIndifferentAccess.
This ensures serialized attributes go into the database as plain
hashes with string keys, even when Rails was responsible for
unserializing the data coming from the client.
refs #1944
refs #1987
Tom Clegg [Sat, 25 Jan 2014 05:42:04 +0000 (21:42 -0800)]
Ensure we always respond with json (except the redirect at the root
URI).
closes #1739
Tom Clegg [Sat, 25 Jan 2014 05:31:29 +0000 (21:31 -0800)]
Do not run ec2 commands in test mode.
Tom Clegg [Sat, 25 Jan 2014 05:08:58 +0000 (21:08 -0800)]
Update tests to match recent permission changes; dry up "404 if no
object found" logic; fix status codes in some error responses.
Peter Amstutz [Sat, 25 Jan 2014 04:04:47 +0000 (23:04 -0500)]
Follows both jobs and links to show provenance for a collection
Collapses similar jobs into a single node by script name and version
Node hrefs work except for git hashes.
Tom Clegg [Fri, 24 Jan 2014 22:59:51 +0000 (14:59 -0800)]
Use discovery document to build infix->kind map instead of using a
hard-coded list.
Tom Clegg [Fri, 24 Jan 2014 22:59:07 +0000 (14:59 -0800)]
Provide UUID prefix used for each schema in discovery document.
Tom Clegg [Fri, 24 Jan 2014 22:57:21 +0000 (14:57 -0800)]
Fix crash on error pages by removing before_filters that assume there
is a current_user.
Tom Clegg [Fri, 24 Jan 2014 22:54:38 +0000 (14:54 -0800)]
Change underscores to camelcase in "kind" strings as documented.
Peter Amstutz [Fri, 24 Jan 2014 22:10:24 +0000 (17:10 -0500)]
Checkpoint, draws a somewhat useful graph, needs a lot of work though.
Tom Clegg [Fri, 24 Jan 2014 18:17:21 +0000 (10:17 -0800)]
Add /keep_disks page to Admin menu.
Tom Clegg [Fri, 24 Jan 2014 16:45:36 +0000 (08:45 -0800)]
Fix keep_disks.ping to accept a correct ping_secret in lieu of a
sufficiently authorized token.
Tom Clegg [Fri, 24 Jan 2014 16:45:17 +0000 (08:45 -0800)]
Update schema migration version.
Tom Clegg [Fri, 24 Jan 2014 16:36:00 +0000 (08:36 -0800)]
Always accept properties and info as serialized attributes.
refs #1944
refs #1987
Tom Clegg [Fri, 24 Jan 2014 16:35:08 +0000 (08:35 -0800)]
Always use string keys instead of symbol keys for serialized attributes.
refs #1944
refs #1987
Peter Amstutz [Fri, 24 Jan 2014 16:00:34 +0000 (11:00 -0500)]
Tweaked running external program tutorial to make it more explicit that md5sum is the external program used in the example.
Peter Amstutz [Thu, 23 Jan 2014 20:37:21 +0000 (15:37 -0500)]
Gemfile now just points to gemspec so same dependency information is not listed twice.
Peter Amstutz [Thu, 23 Jan 2014 20:36:57 +0000 (15:36 -0500)]
Added doc/_site to gitignore
Ward Vandewege [Thu, 23 Jan 2014 16:34:42 +0000 (11:34 -0500)]
All git access should happen via git@ urls, not git://
Tim Pierce [Wed, 22 Jan 2014 00:19:49 +0000 (19:19 -0500)]
Cache the API discovery doc for at least 24 hours (refs #1923)
Tom Clegg [Tue, 21 Jan 2014 22:30:07 +0000 (14:30 -0800)]
add list-inactive-users.rb script.
closes #1817
Tim Pierce [Tue, 21 Jan 2014 22:14:40 +0000 (17:14 -0500)]
Merge branch '1943-client-sdk-config-files'
Conflicts:
sdk/python/arvados/__init__.py
Tim Pierce [Tue, 21 Jan 2014 22:09:00 +0000 (17:09 -0500)]
Clients use $HOME/.config/arvados/settings.conf for configuration. (fixes #1943)
Tom Clegg [Tue, 21 Jan 2014 22:07:39 +0000 (14:07 -0800)]
Merge branch '1881-normalize-collection-uuids'
closes #1881
Tom Clegg [Tue, 21 Jan 2014 22:04:30 +0000 (14:04 -0800)]
Merge branch '1922-cache-discovery-python'
Peter Amstutz [Tue, 21 Jan 2014 22:04:11 +0000 (17:04 -0500)]
Merge branch '1868-tutorial-running-binary-progs'
Peter Amstutz [Tue, 21 Jan 2014 22:03:38 +0000 (17:03 -0500)]
Merge branch '1911-python-sdk-pydoc'
Peter Amstutz [Tue, 21 Jan 2014 22:03:00 +0000 (17:03 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Tue, 21 Jan 2014 21:57:53 +0000 (16:57 -0500)]
Fixed import problems due to splitting module into multiple files
Peter Amstutz [Tue, 21 Jan 2014 21:38:23 +0000 (16:38 -0500)]
New tutorial for running external programs
Peter Amstutz [Tue, 21 Jan 2014 21:35:37 +0000 (16:35 -0500)]
Removed "Tutorial:" from titles since that was an artifact from before we had improved the navbar. Also fixed typo in tutorial-trait-search.
Peter Amstutz [Tue, 21 Jan 2014 20:29:25 +0000 (15:29 -0500)]
collection.py import stream
Tim Pierce [Tue, 21 Jan 2014 20:28:19 +0000 (15:28 -0500)]
Updating API parameter documentation (refs #1901)
Removed unused parameters.
More docs for the "list" command.
Use only the first line of the parameter documentation in "arv resource help".
Peter Amstutz [Tue, 21 Jan 2014 19:19:37 +0000 (14:19 -0500)]
Started tutorial on running external programs
Peter Amstutz [Tue, 21 Jan 2014 19:15:08 +0000 (14:15 -0500)]
Fixed path to glyphicons
Peter Amstutz [Tue, 21 Jan 2014 19:06:35 +0000 (14:06 -0500)]
Moved Python SDK and crunch utility scripts pages to SDK Reference section.
Tom Clegg [Tue, 21 Jan 2014 18:53:02 +0000 (10:53 -0800)]
Fix circumventing usual permission mechanism in nodes.ping.
Tom Clegg [Tue, 21 Jan 2014 18:19:20 +0000 (10:19 -0800)]
Add section about adding Keep disks during install.
Tom Clegg [Tue, 21 Jan 2014 17:01:31 +0000 (09:01 -0800)]
Update bundle. Avoid google-api-client 0.7.0 (rc2 is incompatible) and
ensure minitest >= 5.0.
Tom Clegg [Tue, 21 Jan 2014 16:58:00 +0000 (08:58 -0800)]
Add link to "create standard objects", and delete obsolete tutorial
instructions.
Peter Amstutz [Tue, 21 Jan 2014 16:51:34 +0000 (11:51 -0500)]
Script to build python documentation (requires epydoc)
Peter Amstutz [Tue, 21 Jan 2014 16:45:40 +0000 (11:45 -0500)]
Added Python SDK section to documentation
Ward Vandewege [Tue, 21 Jan 2014 16:36:46 +0000 (11:36 -0500)]
Fix error message when the all-users group can not be found.
Peter Amstutz [Tue, 21 Jan 2014 15:15:48 +0000 (10:15 -0500)]
Renamed Keep/Stream/Collection submodules to keep/stream/collection (lower case)
Peter Amstutz [Tue, 21 Jan 2014 14:06:00 +0000 (09:06 -0500)]
Moving Collection, Stream and Keep classes into their own files
Tom Clegg [Mon, 20 Jan 2014 18:16:55 +0000 (10:16 -0800)]
Render token with ApplicationController#show instead of calling
as_api_response directly from
api_client_authorizations.create_system_auth.
Resolves:
Error: #<ActsAsApi::TemplateNotFoundError: acts_as_api template
:superuser was not found for model ApiClientAuthorization>
Tom Clegg [Mon, 20 Jan 2014 15:41:39 +0000 (07:41 -0800)]
Cache discovery document in ~/.cache/arvados/discovery/.
refs #1922
Tom Clegg [Mon, 20 Jan 2014 15:41:12 +0000 (07:41 -0800)]
Set cache expiry time on discovery document.
refs #1922
Tom Clegg [Mon, 20 Jan 2014 07:55:55 +0000 (23:55 -0800)]
Remove +K@{name} hints from collection uuid, link head/tail, job
output/log, and job_task output.
refs #1881
Tom Clegg [Mon, 20 Jan 2014 07:34:20 +0000 (23:34 -0800)]
Normalize collection UUID to {hash}+{size} before save and lookup.
refs #1881
Tim Pierce [Fri, 17 Jan 2014 22:35:34 +0000 (17:35 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Tim Pierce [Fri, 17 Jan 2014 22:33:00 +0000 (17:33 -0500)]
Updated `arv' command line format options. Default now generates JSON. (refs #1889)
Replaced --pretty, --json, --uuid, --yaml, --human with
--format={json,uuid,yaml}, and added --short for --format=uuid.
Default output format is now JSON (pretty-printed).
Peter Amstutz [Fri, 17 Jan 2014 21:58:41 +0000 (16:58 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Fri, 17 Jan 2014 21:58:07 +0000 (16:58 -0500)]
Changed upload path in scp command to load to /scratch/you instead of just /scratch, tweaked markup to try and emphasize that "you" that should be replaced by your own username.
Tom Clegg [Fri, 17 Jan 2014 21:50:19 +0000 (13:50 -0800)]
Merge branch '1880-check-duplicate-public-key'
closes #1880
Tom Clegg [Fri, 17 Jan 2014 16:00:43 +0000 (08:00 -0800)]
Add themes to .gitignore in apps/workbench
Peter Amstutz [Fri, 17 Jan 2014 21:43:50 +0000 (16:43 -0500)]
Removed spurious '>' (typo)
Peter Amstutz [Fri, 17 Jan 2014 21:21:24 +0000 (16:21 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Fri, 17 Jan 2014 21:20:58 +0000 (16:20 -0500)]
refs #1912
* ssh-access tweaked to emphasize need for user to use their own user name and not 'you' and changed example ssh config to use *.qr1hi to *.arvados
* tutorial-firstscript suggests using nano to edit files instead of leaving the user hanging
* Fixed inconsistent keep locators for manifests caused by removal of +K@qr1hi from locators
* Removed +K@qr1hi from all locators used in examples
Tom Clegg [Fri, 17 Jan 2014 21:02:35 +0000 (13:02 -0800)]
Accept DSA public keys ("ssh-dss"), not just RSA.
refs #1880
Tom Clegg [Fri, 17 Jan 2014 20:47:09 +0000 (12:47 -0800)]
Reduce boilerplate on error messages.
"The error message [API 422]" instead of "#<RuntimeError: API error
422: The error message>"
refs #1880
Tom Clegg [Fri, 17 Jan 2014 20:20:21 +0000 (12:20 -0800)]
Tweak error messages to render nicely as Rails "full messages".
"Public key does not appear to be ..."
refs #1880
Tom Clegg [Fri, 17 Jan 2014 20:19:34 +0000 (12:19 -0800)]
Use render_error instead of custom error logic in update method.
Tom Clegg [Fri, 17 Jan 2014 20:17:54 +0000 (12:17 -0800)]
Respond with an error status if save fails during create method.
refs #1880
Tom Clegg [Fri, 17 Jan 2014 20:06:34 +0000 (12:06 -0800)]
Use AJAX when adding a new authorized_key from the user home page.
On success, replace reminder box with a "Key added" message. On
failure, display the error message below the form.
refs #1880
Ward Vandewege [Fri, 17 Jan 2014 19:02:08 +0000 (14:02 -0500)]
More clinicalfuture.com -> curoverse.com
Peter Amstutz [Fri, 17 Jan 2014 15:32:33 +0000 (10:32 -0500)]
Fixed spaces in manifest stream names. Refs #1849.
Peter Amstutz [Fri, 17 Jan 2014 14:42:21 +0000 (09:42 -0500)]
Fixed spacing on dashboard and generic table page when tables are empty.
Peter Amstutz [Thu, 16 Jan 2014 22:07:46 +0000 (17:07 -0500)]
Adds validate :public_key_must_be_unique to AuthorizedKey which checks to see if the key
a) looks like a ssh-rsa key
b) that the key isn't already in the table
Peter Amstutz [Thu, 16 Jan 2014 21:06:14 +0000 (16:06 -0500)]
Merge branch 'master' into 1880-check-duplicate-public-key
Tom Clegg [Thu, 16 Jan 2014 21:02:13 +0000 (13:02 -0800)]
Do not attempt to load authentication config file unless it exists.
closes #1915
Tom Clegg [Thu, 16 Jan 2014 20:57:40 +0000 (12:57 -0800)]
Fix "ignore client-provided values for protected auditing attributes"
(Broken by
976a754dc7fceee767322ae964c287b63595211f)
Peter Amstutz [Thu, 16 Jan 2014 18:38:44 +0000 (13:38 -0500)]
Added validate step, needs testing
Tom Clegg [Thu, 16 Jan 2014 17:12:52 +0000 (09:12 -0800)]
Remove boilerplate comments and unused test fixtures.
refs #1696
Peter Amstutz [Thu, 16 Jan 2014 13:59:42 +0000 (08:59 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Thu, 16 Jan 2014 13:59:12 +0000 (08:59 -0500)]
Fixed Python SDK to quote/unquote spaces when reading/writing manifests. Refs #1849
Tom Clegg [Wed, 15 Jan 2014 22:41:09 +0000 (14:41 -0800)]
Inactive users can get a list of Keep disks.
(Otherwise they cannot retrieve user agreements.)