Tom Clegg [Tue, 9 Apr 2013 19:15:30 +0000 (12:15 -0700)]
add jekyll doc tree
Tom Clegg [Wed, 27 Mar 2013 00:43:23 +0000 (17:43 -0700)]
tweak serialized attribute search. refs #1447
Tom Clegg [Tue, 26 Mar 2013 23:38:07 +0000 (16:38 -0700)]
hack search on serialized fields. refs #1447
Tom Clegg [Tue, 26 Mar 2013 23:37:29 +0000 (16:37 -0700)]
fix crash on non-string job#script_parameters
Tom Clegg [Tue, 26 Mar 2013 22:47:52 +0000 (15:47 -0700)]
Tweak git commit lookup. refs #1445
Tom Clegg [Tue, 26 Mar 2013 22:24:37 +0000 (15:24 -0700)]
Support searching jobs by script_version_descends_from. refs #1445
Tom Clegg [Mon, 25 Mar 2013 18:51:47 +0000 (11:51 -0700)]
add config.git_repositories_dir. refs #1445
Tom Clegg [Mon, 25 Mar 2013 18:50:53 +0000 (11:50 -0700)]
do not include ApiClient* in discovery document. refs #1405 refs #1406
Ward Vandewege [Mon, 25 Mar 2013 20:47:36 +0000 (16:47 -0400)]
Fix up the discovery document - make sure we define 'items' in the the
various ObjectList definitions.
Also really fix up the issue with ObjectList vs ObjectsList.
This makes the Python SDK happy.
Ward Vandewege [Mon, 25 Mar 2013 19:50:34 +0000 (15:50 -0400)]
Make sure to pluralized object names in the List method as listed in the
REST discovery document.
This makes the Python SDK happy.
Ward Vandewege [Wed, 20 Mar 2013 19:52:14 +0000 (15:52 -0400)]
Do not assume
session[:api_client_authorization_id]
exists when session[:user_id] is set.
Tom Clegg [Wed, 20 Mar 2013 02:50:10 +0000 (19:50 -0700)]
add delete method. refs #1406
Tom Clegg [Wed, 20 Mar 2013 02:46:11 +0000 (19:46 -0700)]
add update method. refs #1406
Tom Clegg [Wed, 20 Mar 2013 02:34:56 +0000 (19:34 -0700)]
add create method. refs #1406
Tom Clegg [Wed, 20 Mar 2013 02:34:37 +0000 (19:34 -0700)]
improve error checking
Ward Vandewege [Wed, 20 Mar 2013 01:23:49 +0000 (21:23 -0400)]
Now make sure we are really using the new rest file. refs #1406
Tom Clegg [Wed, 20 Mar 2013 01:08:26 +0000 (18:08 -0700)]
fix call to api_client.uuid when api_client is nil
Ward Vandewege [Wed, 20 Mar 2013 01:07:24 +0000 (21:07 -0400)]
Merge branch 'master' of git.clinicalfuture.com:orvos-server
Ward Vandewege [Wed, 20 Mar 2013 01:06:44 +0000 (21:06 -0400)]
Move auto-generated REST discovery document to the right path.
refs #1406
Tom Clegg [Wed, 20 Mar 2013 00:38:35 +0000 (17:38 -0700)]
use new permission methods to check model transactions. refs #1415
Tom Clegg [Wed, 20 Mar 2013 00:18:03 +0000 (17:18 -0700)]
add per-user and per-session default_owner. refs #1415
Tom Clegg [Tue, 19 Mar 2013 20:22:08 +0000 (13:22 -0700)]
rename job steps to job tasks. refs #1416
Tom Clegg [Tue, 19 Mar 2013 19:53:08 +0000 (12:53 -0700)]
rename pipeline to pipeline template. refs #1416
Tom Clegg [Tue, 19 Mar 2013 18:18:15 +0000 (11:18 -0700)]
rename pipeline invocation to pipeline instance. refs #1416
Tom Clegg [Tue, 19 Mar 2013 17:12:04 +0000 (10:12 -0700)]
rename job command to script. refs #1416
Tom Clegg [Tue, 19 Mar 2013 19:19:37 +0000 (12:19 -0700)]
fix cache keys
Tom Clegg [Tue, 19 Mar 2013 08:06:30 +0000 (01:06 -0700)]
generate discovery document at /orvos/v1/rest. refs #1406
Tom Clegg [Mon, 18 Mar 2013 23:20:01 +0000 (16:20 -0700)]
relocate permissions code, use resulting :read permissions in #index. refs #1415
Tom Clegg [Mon, 18 Mar 2013 22:28:27 +0000 (15:28 -0700)]
current_group_permissions, groups_i_can(:read). refs #1415
amends
cf70bb6f00f0ded0624bac59a909a1cf8602dbff
Ward Vandewege [Mon, 18 Mar 2013 20:01:17 +0000 (16:01 -0400)]
maxResults is really called limit, update the discovery document accordingly
Tom Clegg [Mon, 18 Mar 2013 19:50:22 +0000 (12:50 -0700)]
add helpers: current_group_permissions, groups_i_can(:read). refs #1415
Tom Clegg [Mon, 18 Mar 2013 02:57:39 +0000 (19:57 -0700)]
Add Job#resource_limits to API response. refs #1417
Tom Clegg [Mon, 18 Mar 2013 02:44:37 +0000 (19:44 -0700)]
record started_at, and command_version reported by whjobmanager. refs #1417
Tom Clegg [Mon, 18 Mar 2013 02:27:38 +0000 (19:27 -0700)]
add output to Job api response. refs #1417
Tom Clegg [Mon, 18 Mar 2013 02:03:05 +0000 (19:03 -0700)]
Tom Clegg [Mon, 18 Mar 2013 02:02:41 +0000 (19:02 -0700)]
Fix slurm node counting, and pass along min_nodes to salloc. refs #1417
Tom Clegg [Mon, 18 Mar 2013 01:46:36 +0000 (18:46 -0700)]
Do not try to start a job when too few slurm nodes are idle. refs #1417
Tom Clegg [Mon, 18 Mar 2013 00:48:25 +0000 (17:48 -0700)]
add Jobs#resource_limits attribute. refs #1417
Tom Clegg [Sun, 17 Mar 2013 22:29:18 +0000 (15:29 -0700)]
fix no-tasks-todo -> success logic
Tom Clegg [Sun, 17 Mar 2013 22:24:20 +0000 (15:24 -0700)]
restart dispatch_jobs service on deploy
Tom Clegg [Sun, 17 Mar 2013 22:10:02 +0000 (15:10 -0700)]
upcase job command parameters when passing to whjobmanager
Tom Clegg [Sat, 16 Mar 2013 21:39:49 +0000 (14:39 -0700)]
add script/dispatch_jobs.rb and related Job features
Tom Clegg [Wed, 13 Mar 2013 22:34:00 +0000 (15:34 -0700)]
rename Project to Group
Tom Clegg [Wed, 13 Mar 2013 17:32:22 +0000 (10:32 -0700)]
refuse to change ec2_instance_id once an EC2 instance has claimed a Node
Tom Clegg [Wed, 13 Mar 2013 16:10:40 +0000 (09:10 -0700)]
use spot instances for compute nodes
Tom Clegg [Tue, 12 Mar 2013 17:04:45 +0000 (10:04 -0700)]
ignore Keep hints when verifying collection uuid == md5sum
Ward Vandewege [Tue, 26 Feb 2013 22:04:26 +0000 (17:04 -0500)]
Remove superfluous fields from the Link object.
Ward Vandewege [Tue, 26 Feb 2013 21:56:18 +0000 (16:56 -0500)]
Weed out (most of) the unnecessary leftover bits in our rest discovery file.
Tom Clegg [Fri, 22 Feb 2013 23:17:12 +0000 (15:17 -0800)]
show "sinfo" results on /nodes page
Tom Clegg [Mon, 18 Feb 2013 18:16:13 +0000 (10:16 -0800)]
add PipelineInvocation#properties
Tom Clegg [Sun, 17 Feb 2013 21:33:30 +0000 (13:33 -0800)]
let pipeline_invocation#active be a regular attribute
Tom Clegg [Sun, 17 Feb 2013 21:22:34 +0000 (13:22 -0800)]
accept json-encoded pipeline[components] param
Tom Clegg [Tue, 12 Feb 2013 21:10:20 +0000 (14:10 -0700)]
allow re-saving an existing collection without complaint
Tom Clegg [Sun, 10 Feb 2013 06:31:50 +0000 (01:31 -0500)]
check serialized attribute types during create/update
Tom Clegg [Sat, 9 Feb 2013 08:16:07 +0000 (03:16 -0500)]
set modified_by_user=nil instead of breaking if no user is logged in
Tom Clegg [Sat, 9 Feb 2013 08:06:42 +0000 (03:06 -0500)]
do not require user login for node#ping
Tom Clegg [Thu, 7 Feb 2013 20:09:57 +0000 (15:09 -0500)]
sort lists on modified_at by default
Tom Clegg [Thu, 7 Feb 2013 19:57:44 +0000 (14:57 -0500)]
use old owner, not new owner, when checking permission to change attributes
Tom Clegg [Tue, 5 Feb 2013 03:31:43 +0000 (22:31 -0500)]
include data_size and files list in Collection api response
Ward Vandewege [Tue, 5 Feb 2013 01:45:52 +0000 (20:45 -0500)]
Support
where={"any":["contains","hu34"]}
style parameter. For now, 'any' just means a field called 'name'
Ward Vandewege [Tue, 5 Feb 2013 01:44:19 +0000 (20:44 -0500)]
When no limit is supplied, limit number of index results to 100.
Tom Clegg [Tue, 5 Feb 2013 00:07:17 +0000 (16:07 -0800)]
support limit parameter in #index
Tom Clegg [Mon, 4 Feb 2013 10:04:53 +0000 (02:04 -0800)]
add Job#dependencies
Ward Vandewege [Mon, 4 Feb 2013 16:54:11 +0000 (11:54 -0500)]
Back out upgrade to MultiJson for now until we upgrade to rails 3.2. See
comment in Gemfile.
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).
Ward Vandewege [Mon, 4 Feb 2013 14:51:11 +0000 (09:51 -0500)]
Merge branch 'master' of git.clinicalfuture.com:orvos-server
Ward Vandewege [Mon, 4 Feb 2013 14:50:57 +0000 (09:50 -0500)]
Switch to Oj for JSON parsing.
Tom Clegg [Sun, 3 Feb 2013 19:48:04 +0000 (11:48 -0800)]
add permission logging
Tom Clegg [Sun, 3 Feb 2013 11:53:57 +0000 (03:53 -0800)]
add Job#priority
Tom Clegg [Sun, 3 Feb 2013 11:31:17 +0000 (03:31 -0800)]
fix setting modified_* and default owner when creating objects
Tom Clegg [Sun, 3 Feb 2013 11:30:33 +0000 (03:30 -0800)]
add Job and JobStep resources
Ward Vandewege [Fri, 1 Feb 2013 21:09:01 +0000 (16:09 -0500)]
Add deploy scripts for the Orvos instance on Ant.
Tom Clegg [Fri, 1 Feb 2013 06:09:22 +0000 (22:09 -0800)]
fix login bug
Tom Clegg [Fri, 1 Feb 2013 05:57:31 +0000 (21:57 -0800)]
support return_to after logout
Tom Clegg [Thu, 31 Jan 2013 23:20:25 +0000 (15:20 -0800)]
add /users/current method
Tom Clegg [Thu, 31 Jan 2013 20:31:13 +0000 (12:31 -0800)]
move development.rb to development.rb.example
Tom Clegg [Thu, 31 Jan 2013 20:30:20 +0000 (12:30 -0800)]
fix permissions to accommodate nodes#ping and user_sessions#create exemptions
Tom Clegg [Thu, 31 Jan 2013 19:55:33 +0000 (11:55 -0800)]
add /orvos/v1/users
Tom Clegg [Thu, 31 Jan 2013 19:45:22 +0000 (11:45 -0800)]
create content-addressed collections with uuid=locator
Tom Clegg [Thu, 31 Jan 2013 19:44:05 +0000 (11:44 -0800)]
tighten up automatic uuid assignment
Tom Clegg [Tue, 29 Jan 2013 17:09:35 +0000 (09:09 -0800)]
fix (Time.now - nil) exception
Tom Clegg [Tue, 29 Jan 2013 02:27:21 +0000 (18:27 -0800)]
add PipelineInvocation#active, and try to set success=false when needed
Tom Clegg [Mon, 28 Jan 2013 23:16:09 +0000 (15:16 -0800)]
fix default Link#properties
Tom Clegg [Mon, 28 Jan 2013 23:16:03 +0000 (15:16 -0800)]
add Specimen#properties
Tom Clegg [Mon, 28 Jan 2013 23:09:02 +0000 (15:09 -0800)]
tweak eager loading
Tom Clegg [Mon, 28 Jan 2013 21:01:10 +0000 (13:01 -0800)]
add some admin privileges to make bootstrapping possible
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
Tom Clegg [Fri, 25 Jan 2013 23:35:23 +0000 (15:35 -0800)]
fix db query
Tom Clegg [Fri, 25 Jan 2013 23:23:09 +0000 (15:23 -0800)]
fix OrvosModel#index permissions
Tom Clegg [Fri, 25 Jan 2013 23:11:18 +0000 (15:11 -0800)]
fix ownership-change permission check
Tom Clegg [Fri, 25 Jan 2013 23:07:24 +0000 (15:07 -0800)]
fix check for owner==current_user
Tom Clegg [Fri, 25 Jan 2013 23:05:17 +0000 (15:05 -0800)]
fix exception when current_api_client==nil
Tom Clegg [Fri, 25 Jan 2013 22:23:22 +0000 (14:23 -0800)]
move created_by to owner
Tom Clegg [Fri, 25 Jan 2013 21:27:57 +0000 (13:27 -0800)]
add Pipeline#dependencies
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
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.
Ward Vandewege [Fri, 25 Jan 2013 15:53:30 +0000 (10:53 -0500)]
Fix comment.
Tom Clegg [Fri, 25 Jan 2013 00:25:08 +0000 (16:25 -0800)]
fix error response
Tom Clegg [Thu, 24 Jan 2013 22:26:23 +0000 (14:26 -0800)]
add permission checks
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