arvados.git
11 years agoSwitch to MultiJson which uses Oj under the hood (since it is available).
Ward Vandewege [Mon, 4 Feb 2013 16:25:30 +0000 (11:25 -0500)]
Switch to MultiJson which uses Oj under the hood (since it is available).

11 years agoMerge branch 'master' of git.clinicalfuture.com:orvos-server
Ward Vandewege [Mon, 4 Feb 2013 14:51:11 +0000 (09:51 -0500)]
Merge branch 'master' of git.clinicalfuture.com:orvos-server

11 years agoSwitch to Oj for JSON parsing.
Ward Vandewege [Mon, 4 Feb 2013 14:50:57 +0000 (09:50 -0500)]
Switch to Oj for JSON parsing.

11 years agoadd permission logging
Tom Clegg [Sun, 3 Feb 2013 19:48:04 +0000 (11:48 -0800)]
add permission logging

11 years agoadd Job#priority
Tom Clegg [Sun, 3 Feb 2013 11:53:57 +0000 (03:53 -0800)]
add Job#priority

11 years agofix setting modified_* and default owner when creating objects
Tom Clegg [Sun, 3 Feb 2013 11:31:17 +0000 (03:31 -0800)]
fix setting modified_* and default owner when creating objects

11 years agoadd Job and JobStep resources
Tom Clegg [Sun, 3 Feb 2013 11:30:33 +0000 (03:30 -0800)]
add Job and JobStep resources

11 years agoAdd deploy scripts for the Orvos instance on Ant.
Ward Vandewege [Fri, 1 Feb 2013 21:09:01 +0000 (16:09 -0500)]
Add deploy scripts for the Orvos instance on Ant.

11 years agofix login bug
Tom Clegg [Fri, 1 Feb 2013 06:09:22 +0000 (22:09 -0800)]
fix login bug

11 years agosupport return_to after logout
Tom Clegg [Fri, 1 Feb 2013 05:57:31 +0000 (21:57 -0800)]
support return_to after logout

11 years agoadd /users/current method
Tom Clegg [Thu, 31 Jan 2013 23:20:25 +0000 (15:20 -0800)]
add /users/current method

11 years agomove development.rb to development.rb.example
Tom Clegg [Thu, 31 Jan 2013 20:31:13 +0000 (12:31 -0800)]
move development.rb to development.rb.example

11 years agofix permissions to accommodate nodes#ping and user_sessions#create exemptions
Tom Clegg [Thu, 31 Jan 2013 20:30:20 +0000 (12:30 -0800)]
fix permissions to accommodate nodes#ping and user_sessions#create exemptions

11 years agoadd /orvos/v1/users
Tom Clegg [Thu, 31 Jan 2013 19:55:33 +0000 (11:55 -0800)]
add /orvos/v1/users

11 years agocreate content-addressed collections with uuid=locator
Tom Clegg [Thu, 31 Jan 2013 19:45:22 +0000 (11:45 -0800)]
create content-addressed collections with uuid=locator

11 years agotighten up automatic uuid assignment
Tom Clegg [Thu, 31 Jan 2013 19:44:05 +0000 (11:44 -0800)]
tighten up automatic uuid assignment

11 years agofix (Time.now - nil) exception
Tom Clegg [Tue, 29 Jan 2013 17:09:35 +0000 (09:09 -0800)]
fix (Time.now - nil) exception

11 years agoadd PipelineInvocation#active, and try to set success=false when needed
Tom Clegg [Tue, 29 Jan 2013 02:27:21 +0000 (18:27 -0800)]
add PipelineInvocation#active, and try to set success=false when needed

11 years agofix default Link#properties
Tom Clegg [Mon, 28 Jan 2013 23:16:09 +0000 (15:16 -0800)]
fix default Link#properties

11 years agoadd Specimen#properties
Tom Clegg [Mon, 28 Jan 2013 23:16:03 +0000 (15:16 -0800)]
add Specimen#properties

11 years agotweak eager loading
Tom Clegg [Mon, 28 Jan 2013 23:09:02 +0000 (15:09 -0800)]
tweak eager loading

11 years agoadd some admin privileges to make bootstrapping possible
Tom Clegg [Mon, 28 Jan 2013 21:01:10 +0000 (13:01 -0800)]
add some admin privileges to make bootstrapping possible

11 years agorename Metadatum to Link, head to head_uuid, tail to tail_uuid
Tom Clegg [Mon, 28 Jan 2013 20:48:35 +0000 (12:48 -0800)]
rename Metadatum to Link, head to head_uuid, tail to tail_uuid

11 years agofix db query
Tom Clegg [Fri, 25 Jan 2013 23:35:23 +0000 (15:35 -0800)]
fix db query

11 years agofix OrvosModel#index permissions
Tom Clegg [Fri, 25 Jan 2013 23:23:09 +0000 (15:23 -0800)]
fix OrvosModel#index permissions

11 years agofix ownership-change permission check
Tom Clegg [Fri, 25 Jan 2013 23:11:18 +0000 (15:11 -0800)]
fix ownership-change permission check

11 years agofix check for owner==current_user
Tom Clegg [Fri, 25 Jan 2013 23:07:24 +0000 (15:07 -0800)]
fix check for owner==current_user

11 years agofix exception when current_api_client==nil
Tom Clegg [Fri, 25 Jan 2013 23:05:17 +0000 (15:05 -0800)]
fix exception when current_api_client==nil

11 years agomove created_by to owner
Tom Clegg [Fri, 25 Jan 2013 22:23:22 +0000 (14:23 -0800)]
move created_by to owner

11 years agoadd Pipeline#dependencies
Tom Clegg [Fri, 25 Jan 2013 21:27:57 +0000 (13:27 -0800)]
add Pipeline#dependencies

11 years agoRemove duplicate configuration value in lib/josh_id.rb.
Ward Vandewege [Fri, 25 Jan 2013 18:50:12 +0000 (13:50 -0500)]
Remove duplicate configuration value in lib/josh_id.rb.
CUSTOM_PROVIDER_URL is now only defined in
config/initializers/omniauth.rb

11 years agoMake josh_id propagate return_to as a GET parameter, and use that GET
Ward Vandewege [Fri, 25 Jan 2013 17:35:25 +0000 (12:35 -0500)]
Make josh_id propagate return_to as a GET parameter, and use that GET
parameter instead of session[] when redirecting in create().  Using
session[] is inappropriate: completing a login in browser window A can
cause a token to be sent to a different API client who has requested a
token in window B.

11 years agoFix comment.
Ward Vandewege [Fri, 25 Jan 2013 15:53:30 +0000 (10:53 -0500)]
Fix comment.

11 years agofix error response
Tom Clegg [Fri, 25 Jan 2013 00:25:08 +0000 (16:25 -0800)]
fix error response

11 years agoadd permission checks
Tom Clegg [Thu, 24 Jan 2013 22:26:23 +0000 (14:26 -0800)]
add permission checks

11 years agoset created_by/at and modified_by/at attributes when saving objects
Tom Clegg [Thu, 24 Jan 2013 19:27:36 +0000 (11:27 -0800)]
set created_by/at and modified_by/at attributes when saving objects

11 years agofix missing user variable
Tom Clegg [Thu, 24 Jan 2013 03:03:12 +0000 (19:03 -0800)]
fix missing user variable

11 years agoinstall omniauth.rb during deploy
Tom Clegg [Thu, 24 Jan 2013 02:50:37 +0000 (18:50 -0800)]
install omniauth.rb during deploy

11 years agoconnect user authentication to API client authorization
Tom Clegg [Thu, 24 Jan 2013 02:06:44 +0000 (18:06 -0800)]
connect user authentication to API client authorization

11 years agoadd User model features and uuid index
Tom Clegg [Wed, 23 Jan 2013 17:44:44 +0000 (09:44 -0800)]
add User model features and uuid index
add missing attribute Log#modified_at
remove duplicate code blocks

11 years agoadd omniauth.rb.example
Tom Clegg [Wed, 23 Jan 2013 17:37:38 +0000 (09:37 -0800)]
add omniauth.rb.example

11 years agoDrop superfluous comment.
Ward Vandewege [Wed, 23 Jan 2013 04:21:27 +0000 (23:21 -0500)]
Drop superfluous comment.

11 years agoAuthenticate against auth.clinicalfuture.com
Ward Vandewege [Wed, 23 Jan 2013 04:18:53 +0000 (23:18 -0500)]
Authenticate against auth.clinicalfuture.com

11 years agoadd missing timestamp and route, set default event_at=Time.now
Tom Clegg [Tue, 22 Jan 2013 22:20:21 +0000 (14:20 -0800)]
add missing timestamp and route, set default event_at=Time.now

11 years agoadd Log resource
Tom Clegg [Tue, 22 Jan 2013 20:33:32 +0000 (12:33 -0800)]
add Log resource

11 years agoignore editor backup files
Tom Clegg [Tue, 22 Jan 2013 20:31:45 +0000 (12:31 -0800)]
ignore editor backup files

11 years agoadd hardcoded_api_tokens.rb.example
Tom Clegg [Tue, 22 Jan 2013 20:31:33 +0000 (12:31 -0800)]
add hardcoded_api_tokens.rb.example

11 years agostub authentication check
Tom Clegg [Tue, 22 Jan 2013 00:02:02 +0000 (16:02 -0800)]
stub authentication check

11 years agoMore test env tweaks + first collections api test
Ward Vandewege [Mon, 21 Jan 2013 16:12:04 +0000 (11:12 -0500)]
More test env tweaks + first collections api test

11 years agoVery basic tests for /collections, /nodes, /pipeline_invocations
Ward Vandewege [Mon, 21 Jan 2013 15:23:00 +0000 (10:23 -0500)]
Very basic tests for /collections, /nodes, /pipeline_invocations

11 years agoA few fixture fixes
Ward Vandewege [Mon, 21 Jan 2013 15:14:53 +0000 (10:14 -0500)]
A few fixture fixes

11 years agoIgnore local .rvmrc file
Ward Vandewege [Mon, 21 Jan 2013 14:47:43 +0000 (09:47 -0500)]
Ignore local .rvmrc file

11 years agosupport where:{attr:[a,b,c]} query, check :eager param more carefully
Tom Clegg [Sun, 20 Jan 2013 23:32:33 +0000 (15:32 -0800)]
support where:{attr:[a,b,c]} query, check :eager param more carefully

11 years agoskip abstract classes in schema controller
Tom Clegg [Fri, 18 Jan 2013 09:46:02 +0000 (01:46 -0800)]
skip abstract classes in schema controller

11 years agoimplement general params[:where] and eager loading of associations
Tom Clegg [Fri, 18 Jan 2013 09:25:33 +0000 (01:25 -0800)]
implement general params[:where] and eager loading of associations

11 years agorename metadata attributes to head/tail
Tom Clegg [Fri, 18 Jan 2013 01:16:28 +0000 (17:16 -0800)]
rename metadata attributes to head/tail

11 years agotag ec2 nodes; add --client-token to ec2-run command for idempotency
Tom Clegg [Thu, 17 Jan 2013 21:48:32 +0000 (13:48 -0800)]
tag ec2 nodes; add --client-token to ec2-run command for idempotency

11 years agoput AMI id in config file instead of hard coded
Tom Clegg [Thu, 17 Jan 2013 21:25:13 +0000 (13:25 -0800)]
put AMI id in config file instead of hard coded

11 years agoUpdate to latest Rails 3.1 release
Ward Vandewege [Thu, 17 Jan 2013 16:11:28 +0000 (11:11 -0500)]
Update to latest Rails 3.1 release

11 years agoprovide metadata head_kind, head_uuid in api response
Tom Clegg [Thu, 17 Jan 2013 09:15:46 +0000 (01:15 -0800)]
provide metadata head_kind, head_uuid in api response
if value is orvos#type#uuid; tweak "specimen" inflections

11 years agofix error handling
Tom Clegg [Wed, 16 Jan 2013 22:43:37 +0000 (14:43 -0800)]
fix error handling

11 years agoremove extraneous Metadata#create
Tom Clegg [Wed, 16 Jan 2013 22:43:25 +0000 (14:43 -0800)]
remove extraneous Metadata#create

11 years agoadd boilerplate for Project resource
Tom Clegg [Wed, 16 Jan 2013 22:43:01 +0000 (14:43 -0800)]
add boilerplate for Project resource

11 years agofix missing route
Tom Clegg [Wed, 16 Jan 2013 22:01:25 +0000 (14:01 -0800)]
fix missing route

11 years agoadd Project resource
Tom Clegg [Wed, 16 Jan 2013 21:57:24 +0000 (13:57 -0800)]
add Project resource

11 years agotweak uuid generators - use last N digits instead of first N
Tom Clegg [Wed, 16 Jan 2013 21:19:56 +0000 (13:19 -0800)]
tweak uuid generators - use last N digits instead of first N

11 years agoadd Specimen resource
Tom Clegg [Wed, 16 Jan 2013 02:55:17 +0000 (18:55 -0800)]
add Specimen resource

11 years agoadd /orvos/v1/schema
Tom Clegg [Tue, 15 Jan 2013 22:54:43 +0000 (14:54 -0800)]
add /orvos/v1/schema

11 years agoMore capistrano fixes
Ward Vandewege [Tue, 15 Jan 2013 22:22:56 +0000 (17:22 -0500)]
More capistrano fixes

11 years agoadd /collections html view, dry up CollectionsController
Tom Clegg [Tue, 15 Jan 2013 20:15:55 +0000 (12:15 -0800)]
add /collections html view, dry up CollectionsController

11 years agoremove extraneous html tag
Tom Clegg [Tue, 15 Jan 2013 20:12:56 +0000 (12:12 -0800)]
remove extraneous html tag

11 years agoadd missing require
Tom Clegg [Mon, 14 Jan 2013 22:54:24 +0000 (14:54 -0800)]
add missing require

11 years agoimprove default nameservers list
Tom Clegg [Mon, 14 Jan 2013 22:51:57 +0000 (14:51 -0800)]
improve default nameservers list

11 years agoinclude nameservers in Node api responses
Tom Clegg [Mon, 14 Jan 2013 22:39:32 +0000 (14:39 -0800)]
include nameservers in Node api responses

11 years agoadd api template for pipeline_invocation
Tom Clegg [Mon, 14 Jan 2013 22:26:25 +0000 (14:26 -0800)]
add api template for pipeline_invocation

11 years agoadd pipeline_invocations html view
Tom Clegg [Mon, 14 Jan 2013 20:24:23 +0000 (12:24 -0800)]
add pipeline_invocations html view

11 years agoDeploy script fixes.
Ward Vandewege [Mon, 14 Jan 2013 20:12:31 +0000 (15:12 -0500)]
Deploy script fixes.

11 years agoeliminate extra layer {type: ...} in API responses
Tom Clegg [Sun, 13 Jan 2013 21:52:03 +0000 (13:52 -0800)]
eliminate extra layer {type: ...} in API responses

11 years agoadd api template for pipelines, collections, metadata
Tom Clegg [Sun, 13 Jan 2013 21:37:44 +0000 (13:37 -0800)]
add api template for pipelines, collections, metadata

11 years agoadd shared "common" template with kind and etag
Tom Clegg [Sun, 13 Jan 2013 21:34:33 +0000 (13:34 -0800)]
add shared "common" template with kind and etag

11 years agocopy config files and bundle install --local before deploy:assets:precompile
Tom Clegg [Sun, 13 Jan 2013 21:14:43 +0000 (13:14 -0800)]
copy config files and bundle install --local before deploy:assets:precompile

11 years agoadd status attribute to Node api response
Tom Clegg [Sun, 13 Jan 2013 20:19:06 +0000 (12:19 -0800)]
add status attribute to Node api response

11 years agoadd public/assets cache to .gitignore
Tom Clegg [Sun, 13 Jan 2013 20:18:32 +0000 (12:18 -0800)]
add public/assets cache to .gitignore

11 years agouse acts_as_api
Tom Clegg [Sun, 13 Jan 2013 20:17:44 +0000 (12:17 -0800)]
use acts_as_api

11 years agoin /nodes, click row to show info[]
Tom Clegg [Sun, 13 Jan 2013 19:35:20 +0000 (11:35 -0800)]
in /nodes, click row to show info[]

11 years agofix param name in node#ping
Tom Clegg [Fri, 11 Jan 2013 22:21:53 +0000 (14:21 -0800)]
fix param name in node#ping

11 years agoadd configurable compute node domain
Tom Clegg [Fri, 11 Jan 2013 22:13:35 +0000 (14:13 -0800)]
add configurable compute node domain

11 years agoupdate Gemfile.lock
Tom Clegg [Fri, 11 Jan 2013 22:08:54 +0000 (14:08 -0800)]
update Gemfile.lock

11 years agoload deploy/assets so assets get compiled at production
Tom Clegg [Fri, 11 Jan 2013 21:55:23 +0000 (13:55 -0800)]
load deploy/assets so assets get compiled at production

11 years agodo not show ec2-run command for instances already up
Tom Clegg [Fri, 11 Jan 2013 21:54:59 +0000 (13:54 -0800)]
do not show ec2-run command for instances already up

11 years agoupdate gems
Tom Clegg [Fri, 11 Jan 2013 21:15:26 +0000 (13:15 -0800)]
update gems

11 years agofix status name
Tom Clegg [Fri, 11 Jan 2013 20:54:06 +0000 (12:54 -0800)]
fix status name

11 years agoadd /nodes status page
Tom Clegg [Fri, 11 Jan 2013 18:27:04 +0000 (10:27 -0800)]
add /nodes status page

11 years agotweak stack trace log
Tom Clegg [Fri, 11 Jan 2013 07:47:53 +0000 (23:47 -0800)]
tweak stack trace log

11 years agoresume logging errors
Tom Clegg [Fri, 11 Jan 2013 07:41:42 +0000 (23:41 -0800)]
resume logging errors

11 years agoremove debug message
Tom Clegg [Fri, 11 Jan 2013 07:29:14 +0000 (23:29 -0800)]
remove debug message

11 years agoimprove error handling
Tom Clegg [Fri, 11 Jan 2013 07:27:10 +0000 (23:27 -0800)]
improve error handling

11 years agoreturn errors as json, improve handling of nested params
Tom Clegg [Fri, 11 Jan 2013 07:22:09 +0000 (23:22 -0800)]
return errors as json, improve handling of nested params

11 years agoimplement generic resource#update
Tom Clegg [Fri, 11 Jan 2013 06:25:40 +0000 (22:25 -0800)]
implement generic resource#update

11 years agofix some error message suppression in node#ping
Tom Clegg [Thu, 10 Jan 2013 22:26:55 +0000 (14:26 -0800)]
fix some error message suppression in node#ping