arvados.git
10 years agoFixed bugs in creating graph from API provenance report.
Peter Amstutz [Wed, 29 Jan 2014 16:38:27 +0000 (11:38 -0500)]
Fixed bugs in creating graph from API provenance report.

10 years agoWorkbench is able to put together a graph from the provenance document served by...
Peter Amstutz [Tue, 28 Jan 2014 21:24:01 +0000 (16:24 -0500)]
Workbench is able to put together a graph from the provenance document served by the API server.  Needs more testing.

10 years agoAPI server /collections/uuid/provenance endpoint works.
Peter Amstutz [Tue, 28 Jan 2014 19:06:40 +0000 (14:06 -0500)]
API server /collections/uuid/provenance endpoint works.

10 years agoMerge commit 'e17169e05c2e69d5bb46792bc33ef3c92f9c5237' into 1977-provenance-report
Peter Amstutz [Tue, 28 Jan 2014 16:10:47 +0000 (11:10 -0500)]
Merge commit 'e17169e05c2e69d5bb46792bc33ef3c92f9c5237' into 1977-provenance-report

10 years agoClean up /arvados/v1/../../discovery/v1/ hack before sending request
Tom Clegg [Tue, 28 Jan 2014 16:04:48 +0000 (08:04 -0800)]
Clean up /arvados/v1/../../discovery/v1/ hack before sending request
to server.

10 years agoMerge branch 'master' into 1977-provenance-report
Peter Amstutz [Tue, 28 Jan 2014 15:47:07 +0000 (10:47 -0500)]
Merge branch 'master' into 1977-provenance-report

10 years agoWork in progress
Peter Amstutz [Tue, 28 Jan 2014 15:45:54 +0000 (10:45 -0500)]
Work in progress

10 years agoProvenance graph now uses full width of window
Peter Amstutz [Tue, 28 Jan 2014 14:09:35 +0000 (09:09 -0500)]
Provenance graph now uses full width of window

10 years agoInitial work adding provenance query to API server
Peter Amstutz [Mon, 27 Jan 2014 22:07:42 +0000 (17:07 -0500)]
Initial work adding provenance query to API server

10 years agoLeft navbar uses bootstrap "nav-header" class for section headers.
Peter Amstutz [Mon, 27 Jan 2014 21:44:44 +0000 (16:44 -0500)]
Left navbar uses bootstrap "nav-header" class for section headers.

10 years agoHooked into bootstrap/jquery to resize svg box when tab is shown.
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.

10 years agoAdjusts scrollbar to maintain center of image when zooming
Peter Amstutz [Mon, 27 Jan 2014 21:19:05 +0000 (16:19 -0500)]
Adjusts scrollbar to maintain center of image when zooming

10 years agoMerge branch '1946-request-body-vs-parameters'
Tom Clegg [Mon, 27 Jan 2014 21:17:55 +0000 (13:17 -0800)]
Merge branch '1946-request-body-vs-parameters'

closes #1946

10 years agoRemove request body object from parameters lists in *.create and
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

10 years agoAdd version string to arv (assume "gem install" makes the version
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).

10 years agoDo not add body object to discovery parameters.
Tom Clegg [Mon, 27 Jan 2014 20:11:08 +0000 (12:11 -0800)]
Do not add body object to discovery parameters.

10 years agoFix up dependencies, pin google-api-client at 0.6.x
Tom Clegg [Mon, 27 Jan 2014 20:10:34 +0000 (12:10 -0800)]
Fix up dependencies, pin google-api-client at 0.6.x

10 years agoAdd Gemfile.lock
Tom Clegg [Mon, 27 Jan 2014 19:25:19 +0000 (11:25 -0800)]
Add Gemfile.lock

10 years agoSend parameters in the request body instead of query parameters if
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

10 years agoUse javascript to set the size of the svg box so that the horizontal scrollbar stays...
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).

10 years agoAdd tests, fix dependencies so "bundle exec rake test" runs.
Tom Clegg [Mon, 27 Jan 2014 19:17:27 +0000 (11:17 -0800)]
Add tests, fix dependencies so "bundle exec rake test" runs.

10 years agoFix crash when no config file exists, and fix config access from Model
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

10 years agoRemove Keep prototype (moved to branch 1747-keep-prototype-ruby).
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

10 years agoPerformance fix to only visit a node once.
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.

10 years agoDo not offer to let non-admin users create new keepDisks and nodes.
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.

10 years agoChange underscores to camelcase in "kind" strings as documented.
Tom Clegg [Sat, 25 Jan 2014 06:41:29 +0000 (22:41 -0800)]
Change underscores to camelcase in "kind" strings as documented.

10 years agoAdd virtualMachine test fixture.
Tom Clegg [Sat, 25 Jan 2014 06:40:37 +0000 (22:40 -0800)]
Add virtualMachine test fixture.

10 years agoReplace Admin menu with System menu (users can see those things too).
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).

10 years agoAlways use symbol keys for object attribute names and string keys
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

10 years agoEnsure we always respond with json (except the redirect at the root
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

10 years agoDo not run ec2 commands in test mode.
Tom Clegg [Sat, 25 Jan 2014 05:31:29 +0000 (21:31 -0800)]
Do not run ec2 commands in test mode.

10 years agoUpdate tests to match recent permission changes; dry up "404 if no
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.

10 years agoFollows both jobs and links to show provenance for a collection
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.

10 years agoUse discovery document to build infix->kind map instead of using a
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.

10 years agoProvide UUID prefix used for each schema in discovery document.
Tom Clegg [Fri, 24 Jan 2014 22:59:07 +0000 (14:59 -0800)]
Provide UUID prefix used for each schema in discovery document.

10 years agoFix crash on error pages by removing before_filters that assume there
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.

10 years agoChange underscores to camelcase in "kind" strings as documented.
Tom Clegg [Fri, 24 Jan 2014 22:54:38 +0000 (14:54 -0800)]
Change underscores to camelcase in "kind" strings as documented.

10 years agoCheckpoint, draws a somewhat useful graph, needs a lot of work though.
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.

10 years agoAdd /keep_disks page to Admin menu.
Tom Clegg [Fri, 24 Jan 2014 18:17:21 +0000 (10:17 -0800)]
Add /keep_disks page to Admin menu.

10 years agoFix keep_disks.ping to accept a correct ping_secret in lieu of a
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.

10 years agoUpdate schema migration version.
Tom Clegg [Fri, 24 Jan 2014 16:45:17 +0000 (08:45 -0800)]
Update schema migration version.

10 years agoAlways accept properties and info as serialized attributes.
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

10 years agoAlways use string keys instead of symbol keys for serialized attributes.
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

10 years agoTweaked running external program tutorial to make it more explicit that md5sum is...
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.

10 years agoGemfile now just points to gemspec so same dependency information is not listed twice.
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.

10 years agoAdded doc/_site to gitignore
Peter Amstutz [Thu, 23 Jan 2014 20:36:57 +0000 (15:36 -0500)]
Added doc/_site to gitignore

10 years agoAll git access should happen via git@ urls, not git://
Ward Vandewege [Thu, 23 Jan 2014 16:34:42 +0000 (11:34 -0500)]
All git access should happen via git@ urls, not git://

10 years agoCache the API discovery doc for at least 24 hours (refs #1923)
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)

10 years agoadd list-inactive-users.rb script.
Tom Clegg [Tue, 21 Jan 2014 22:30:07 +0000 (14:30 -0800)]
add list-inactive-users.rb script.

closes #1817

10 years agoMerge branch '1943-client-sdk-config-files'
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

10 years agoClients use $HOME/.config/arvados/settings.conf for configuration. (fixes #1943)
Tim Pierce [Tue, 21 Jan 2014 22:09:00 +0000 (17:09 -0500)]
Clients use $HOME/.config/arvados/settings.conf for configuration. (fixes #1943)

10 years agoMerge branch '1881-normalize-collection-uuids'
Tom Clegg [Tue, 21 Jan 2014 22:07:39 +0000 (14:07 -0800)]
Merge branch '1881-normalize-collection-uuids'

closes #1881

10 years agoMerge branch '1922-cache-discovery-python'
Tom Clegg [Tue, 21 Jan 2014 22:04:30 +0000 (14:04 -0800)]
Merge branch '1922-cache-discovery-python'

10 years agoMerge branch '1868-tutorial-running-binary-progs'
Peter Amstutz [Tue, 21 Jan 2014 22:04:11 +0000 (17:04 -0500)]
Merge branch '1868-tutorial-running-binary-progs'

10 years agoMerge branch '1911-python-sdk-pydoc'
Peter Amstutz [Tue, 21 Jan 2014 22:03:38 +0000 (17:03 -0500)]
Merge branch '1911-python-sdk-pydoc'

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Tue, 21 Jan 2014 22:03:00 +0000 (17:03 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoFixed import problems due to splitting module into multiple files
Peter Amstutz [Tue, 21 Jan 2014 21:57:53 +0000 (16:57 -0500)]
Fixed import problems due to splitting module into multiple files

10 years agoNew tutorial for running external programs
Peter Amstutz [Tue, 21 Jan 2014 21:38:23 +0000 (16:38 -0500)]
New tutorial for running external programs

10 years agoRemoved "Tutorial:" from titles since that was an artifact from before we had improve...
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.

10 years agocollection.py import stream
Peter Amstutz [Tue, 21 Jan 2014 20:29:25 +0000 (15:29 -0500)]
collection.py import stream

10 years agoUpdating API parameter documentation (refs #1901)
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".

10 years agoStarted tutorial on running external programs
Peter Amstutz [Tue, 21 Jan 2014 19:19:37 +0000 (14:19 -0500)]
Started tutorial on running external programs

10 years agoFixed path to glyphicons
Peter Amstutz [Tue, 21 Jan 2014 19:15:08 +0000 (14:15 -0500)]
Fixed path to glyphicons

10 years agoMoved Python SDK and crunch utility scripts pages to SDK Reference section.
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.

10 years agoFix circumventing usual permission mechanism in nodes.ping.
Tom Clegg [Tue, 21 Jan 2014 18:53:02 +0000 (10:53 -0800)]
Fix circumventing usual permission mechanism in nodes.ping.

10 years agoAdd section about adding Keep disks during install.
Tom Clegg [Tue, 21 Jan 2014 18:19:20 +0000 (10:19 -0800)]
Add section about adding Keep disks during install.

10 years agoUpdate bundle. Avoid google-api-client 0.7.0 (rc2 is incompatible) and
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.

10 years agoAdd link to "create standard objects", and delete obsolete tutorial
Tom Clegg [Tue, 21 Jan 2014 16:58:00 +0000 (08:58 -0800)]
Add link to "create standard objects", and delete obsolete tutorial
instructions.

10 years agoScript to build python documentation (requires epydoc)
Peter Amstutz [Tue, 21 Jan 2014 16:51:34 +0000 (11:51 -0500)]
Script to build python documentation (requires epydoc)

10 years agoAdded Python SDK section to documentation
Peter Amstutz [Tue, 21 Jan 2014 16:45:40 +0000 (11:45 -0500)]
Added Python SDK section to documentation

10 years agoFix error message when the all-users group can not be found.
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.

10 years agoRenamed Keep/Stream/Collection submodules to keep/stream/collection (lower case)
Peter Amstutz [Tue, 21 Jan 2014 15:15:48 +0000 (10:15 -0500)]
Renamed Keep/Stream/Collection submodules to keep/stream/collection (lower case)

10 years agoMoving Collection, Stream and Keep classes into their own files
Peter Amstutz [Tue, 21 Jan 2014 14:06:00 +0000 (09:06 -0500)]
Moving Collection, Stream and Keep classes into their own files

10 years agoRender token with ApplicationController#show instead of calling
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>

10 years agoCache discovery document in ~/.cache/arvados/discovery/.
Tom Clegg [Mon, 20 Jan 2014 15:41:39 +0000 (07:41 -0800)]
Cache discovery document in ~/.cache/arvados/discovery/.

refs #1922

10 years agoSet cache expiry time on discovery document.
Tom Clegg [Mon, 20 Jan 2014 15:41:12 +0000 (07:41 -0800)]
Set cache expiry time on discovery document.

refs #1922

10 years agoRemove +K@{name} hints from collection uuid, link head/tail, job
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

10 years agoNormalize collection UUID to {hash}+{size} before save and lookup.
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

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Tim Pierce [Fri, 17 Jan 2014 22:35:34 +0000 (17:35 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoUpdated `arv' command line format options. Default now generates JSON. (refs #1889)
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).

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Fri, 17 Jan 2014 21:58:41 +0000 (16:58 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoChanged upload path in scp command to load to /scratch/you instead of just /scratch...
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.

10 years agoMerge branch '1880-check-duplicate-public-key'
Tom Clegg [Fri, 17 Jan 2014 21:50:19 +0000 (13:50 -0800)]
Merge branch '1880-check-duplicate-public-key'

closes #1880

10 years agoAdd themes to .gitignore in apps/workbench
Tom Clegg [Fri, 17 Jan 2014 16:00:43 +0000 (08:00 -0800)]
Add themes to .gitignore in apps/workbench

10 years agoRemoved spurious '>' (typo)
Peter Amstutz [Fri, 17 Jan 2014 21:43:50 +0000 (16:43 -0500)]
Removed spurious '>' (typo)

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Fri, 17 Jan 2014 21:21:24 +0000 (16:21 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agorefs #1912
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

10 years agoAccept DSA public keys ("ssh-dss"), not just RSA.
Tom Clegg [Fri, 17 Jan 2014 21:02:35 +0000 (13:02 -0800)]
Accept DSA public keys ("ssh-dss"), not just RSA.

refs #1880

10 years agoReduce boilerplate on error messages.
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

10 years agoTweak error messages to render nicely as Rails "full messages".
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

10 years agoUse render_error instead of custom error logic in update method.
Tom Clegg [Fri, 17 Jan 2014 20:19:34 +0000 (12:19 -0800)]
Use render_error instead of custom error logic in update method.

10 years agoRespond with an error status if save fails during create 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

10 years agoUse AJAX when adding a new authorized_key from the user home page.
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

10 years agoMore clinicalfuture.com -> curoverse.com
Ward Vandewege [Fri, 17 Jan 2014 19:02:08 +0000 (14:02 -0500)]
More clinicalfuture.com -> curoverse.com

10 years agoFixed spaces in manifest stream names. Refs #1849.
Peter Amstutz [Fri, 17 Jan 2014 15:32:33 +0000 (10:32 -0500)]
Fixed spaces in manifest stream names.  Refs #1849.

10 years agoFixed spacing on dashboard and generic table page when tables are empty.
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.

10 years agoAdds validate :public_key_must_be_unique to AuthorizedKey which checks to see if...
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

10 years agoMerge branch 'master' into 1880-check-duplicate-public-key
Peter Amstutz [Thu, 16 Jan 2014 21:06:14 +0000 (16:06 -0500)]
Merge branch 'master' into 1880-check-duplicate-public-key

10 years agoDo not attempt to load authentication config file unless it exists.
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

10 years agoFix "ignore client-provided values for protected auditing attributes"
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)