arvados.git
11 years agofix call to api_client.uuid when api_client is nil
Tom Clegg [Wed, 20 Mar 2013 01:08:26 +0000 (18:08 -0700)]
fix call to api_client.uuid when api_client is nil

11 years agoMerge branch 'master' of git.clinicalfuture.com:orvos-server
Ward Vandewege [Wed, 20 Mar 2013 01:07:24 +0000 (21:07 -0400)]
Merge branch 'master' of git.clinicalfuture.com:orvos-server

11 years agoMove auto-generated REST discovery document to the right path.
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

11 years agouse new permission methods to check model transactions. refs #1415
Tom Clegg [Wed, 20 Mar 2013 00:38:35 +0000 (17:38 -0700)]
use new permission methods to check model transactions. refs #1415

11 years agoadd per-user and per-session default_owner. 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

11 years agofix exception when tasks_summary[:running] == nil
Tom Clegg [Tue, 19 Mar 2013 21:07:10 +0000 (14:07 -0700)]
fix exception when tasks_summary[:running] == nil

11 years agorename job steps to job tasks. refs #1416
Tom Clegg [Tue, 19 Mar 2013 20:30:10 +0000 (13:30 -0700)]
rename job steps to job tasks. refs #1416

11 years agorename job steps to job tasks. refs #1416
Tom Clegg [Tue, 19 Mar 2013 20:22:08 +0000 (13:22 -0700)]
rename job steps to job tasks. refs #1416

11 years agorename pipeline to pipeline template. refs #1416
Tom Clegg [Tue, 19 Mar 2013 20:05:17 +0000 (13:05 -0700)]
rename pipeline to pipeline template. refs #1416

11 years agorename pipeline to pipeline template. refs #1416
Tom Clegg [Tue, 19 Mar 2013 19:53:08 +0000 (12:53 -0700)]
rename pipeline to pipeline template. refs #1416

11 years agorename pipeline invocation to pipeline instance. refs #1416
Tom Clegg [Tue, 19 Mar 2013 18:47:53 +0000 (11:47 -0700)]
rename pipeline invocation to pipeline instance. refs #1416

11 years agorename pipeline invocation to pipeline instance. refs #1416
Tom Clegg [Tue, 19 Mar 2013 18:18:15 +0000 (11:18 -0700)]
rename pipeline invocation to pipeline instance. refs #1416

11 years agorename job command to script. refs #1416
Tom Clegg [Tue, 19 Mar 2013 17:12:04 +0000 (10:12 -0700)]
rename job command to script. refs #1416

11 years agofix cache keys
Tom Clegg [Tue, 19 Mar 2013 19:19:37 +0000 (12:19 -0700)]
fix cache keys

11 years agorename job command to script. refs #1416
Tom Clegg [Tue, 19 Mar 2013 17:11:41 +0000 (10:11 -0700)]
rename job command to script. refs #1416

11 years agoInitial version of the cli client.
Ward Vandewege [Tue, 19 Mar 2013 16:19:34 +0000 (12:19 -0400)]
Initial version of the cli client.

11 years agogenerate discovery document at /orvos/v1/rest. refs #1406
Tom Clegg [Tue, 19 Mar 2013 08:06:30 +0000 (01:06 -0700)]
generate discovery document at /orvos/v1/rest. refs #1406

11 years agoadd group#index and group#show pages. refs #1415
Tom Clegg [Tue, 19 Mar 2013 06:24:35 +0000 (23:24 -0700)]
add group#index and group#show pages. refs #1415

11 years agoadd Job#show template. refs #1417
Tom Clegg [Mon, 18 Mar 2013 23:32:52 +0000 (16:32 -0700)]
add Job#show template. refs #1417

11 years agorelocate permissions code, use resulting :read permissions in #index. refs #1415
Tom Clegg [Mon, 18 Mar 2013 23:20:01 +0000 (16:20 -0700)]
relocate permissions code, use resulting :read permissions in #index. refs #1415

11 years agocurrent_group_permissions, groups_i_can(:read). 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

11 years agoshow progress bar and tasks summary on /jobs page. refs #1417
Tom Clegg [Mon, 18 Mar 2013 22:25:37 +0000 (15:25 -0700)]
show progress bar and tasks summary on /jobs page. refs #1417

11 years agomaxResults is really called limit, update the discovery document accordingly
Ward Vandewege [Mon, 18 Mar 2013 20:01:17 +0000 (16:01 -0400)]
maxResults is really called limit, update the discovery document accordingly

11 years agoadd helpers: current_group_permissions, groups_i_can(:read). refs #1415
Tom Clegg [Mon, 18 Mar 2013 19:50:22 +0000 (12:50 -0700)]
add helpers: current_group_permissions, groups_i_can(:read). refs #1415

11 years agoclean up /jobs page. refs #1417
Tom Clegg [Mon, 18 Mar 2013 16:21:08 +0000 (09:21 -0700)]
clean up /jobs page. refs #1417

11 years agoenable auto job links
Tom Clegg [Mon, 18 Mar 2013 16:20:47 +0000 (09:20 -0700)]
enable auto job links

11 years agoadd /jobs page. refs #1417
Tom Clegg [Mon, 18 Mar 2013 03:02:03 +0000 (20:02 -0700)]
add /jobs page. refs #1417

11 years agoAdd Job#resource_limits to API response. refs #1417
Tom Clegg [Mon, 18 Mar 2013 02:57:39 +0000 (19:57 -0700)]
Add Job#resource_limits to API response. refs #1417

11 years agorecord started_at, and command_version reported by whjobmanager. 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

11 years agoadd output to Job api response. refs #1417
Tom Clegg [Mon, 18 Mar 2013 02:27:38 +0000 (19:27 -0700)]
add output to Job api response. refs #1417

11 years agofix dispatch_jobs restart in 3260a10f0a9396b1ad0b8abe34f9808927311876
Tom Clegg [Mon, 18 Mar 2013 02:03:05 +0000 (19:03 -0700)]
fix dispatch_jobs restart in 3260a10f0a9396b1ad0b8abe34f9808927311876

11 years agoFix slurm node counting, and pass along min_nodes to salloc. refs #1417
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

11 years agoDo not try to start a job when too few slurm nodes are idle. 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

11 years agoadd Jobs#resource_limits attribute. refs #1417
Tom Clegg [Mon, 18 Mar 2013 00:48:25 +0000 (17:48 -0700)]
add Jobs#resource_limits attribute. refs #1417

11 years agofix no-tasks-todo -> success logic
Tom Clegg [Sun, 17 Mar 2013 22:29:18 +0000 (15:29 -0700)]
fix no-tasks-todo -> success logic

11 years agorestart dispatch_jobs service on deploy
Tom Clegg [Sun, 17 Mar 2013 22:24:20 +0000 (15:24 -0700)]
restart dispatch_jobs service on deploy

11 years agoupcase job command parameters when passing to whjobmanager
Tom Clegg [Sun, 17 Mar 2013 22:10:02 +0000 (15:10 -0700)]
upcase job command parameters when passing to whjobmanager

11 years agoadd script/dispatch_jobs.rb and related Job features
Tom Clegg [Sat, 16 Mar 2013 21:39:49 +0000 (14:39 -0700)]
add script/dispatch_jobs.rb and related Job features

11 years agorename Project to Group
Tom Clegg [Wed, 13 Mar 2013 23:25:27 +0000 (16:25 -0700)]
rename Project to Group

11 years agorename Project to Group
Tom Clegg [Wed, 13 Mar 2013 22:34:00 +0000 (15:34 -0700)]
rename Project to Group

11 years agorefuse to change ec2_instance_id once an EC2 instance has claimed a Node
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

11 years agouse spot instances for compute nodes
Tom Clegg [Wed, 13 Mar 2013 16:10:40 +0000 (09:10 -0700)]
use spot instances for compute nodes

11 years agoignore Keep hints when verifying collection uuid == md5sum
Tom Clegg [Tue, 12 Mar 2013 17:04:45 +0000 (10:04 -0700)]
ignore Keep hints when verifying collection uuid == md5sum

11 years agoprepare pipeline summary CSV and save in specimen->result link. refs #1239
Tom Clegg [Tue, 5 Mar 2013 18:08:25 +0000 (10:08 -0800)]
prepare pipeline summary CSV and save in specimen->result link. refs #1239

11 years agoadd chromosome_calls and inferred_sex to factory job summary
Tom Clegg [Mon, 4 Mar 2013 22:58:16 +0000 (14:58 -0800)]
add chromosome_calls and inferred_sex to factory job summary

11 years agoadd picard-casm statistics to factory job summary
Tom Clegg [Mon, 4 Mar 2013 22:31:08 +0000 (14:31 -0800)]
add picard-casm statistics to factory job summary

11 years agoadd fill_ftp_accounts script
Tom Clegg [Mon, 4 Mar 2013 21:23:07 +0000 (13:23 -0800)]
add fill_ftp_accounts script

11 years agoRemove superfluous fields from the Link object.
Ward Vandewege [Tue, 26 Feb 2013 22:04:26 +0000 (17:04 -0500)]
Remove superfluous fields from the Link object.

11 years agoadd a Link from specimen to collection when pipeline finishes (instead of storing...
Tom Clegg [Tue, 26 Feb 2013 21:58:21 +0000 (13:58 -0800)]
add a Link from specimen to collection when pipeline finishes (instead of storing summary info in the pipeline_invocation)

11 years agoWeed out (most of) the unnecessary leftover bits in our rest discovery file.
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.

11 years agoadd region_padding=10
Tom Clegg [Tue, 26 Feb 2013 08:14:16 +0000 (00:14 -0800)]
add region_padding=10

11 years agoadd pipelines#show
Tom Clegg [Mon, 25 Feb 2013 20:26:38 +0000 (12:26 -0800)]
add pipelines#show

11 years agoshow "sinfo" results on /nodes page
Tom Clegg [Fri, 22 Feb 2013 23:17:12 +0000 (15:17 -0800)]
show "sinfo" results on /nodes page

11 years agotweak factory_jobs display
Tom Clegg [Tue, 19 Feb 2013 07:52:38 +0000 (23:52 -0800)]
tweak factory_jobs display

11 years agomove vcf pipeline stats code to a helper, generate stats when pipeline finishes,...
Tom Clegg [Tue, 19 Feb 2013 06:43:33 +0000 (22:43 -0800)]
move vcf pipeline stats code to a helper, generate stats when pipeline finishes, cache in #properties

11 years agoadd first,last,[] methods
Tom Clegg [Mon, 18 Feb 2013 21:05:54 +0000 (13:05 -0800)]
add first,last,[] methods

11 years agoshow raw components json on pipeline_invocations#show
Tom Clegg [Mon, 18 Feb 2013 21:05:15 +0000 (13:05 -0800)]
show raw components json on pipeline_invocations#show

11 years agoadd PipelineInvocation#properties
Tom Clegg [Mon, 18 Feb 2013 18:16:13 +0000 (10:16 -0800)]
add PipelineInvocation#properties

11 years agoset exome regions
Tom Clegg [Mon, 18 Feb 2013 00:00:31 +0000 (16:00 -0800)]
set exome regions

11 years agoRearrange pipeline_invocation handling
Tom Clegg [Sun, 17 Feb 2013 23:38:55 +0000 (15:38 -0800)]
Rearrange pipeline_invocation handling
* move whpipeline bits into a separate cron job (just 1 proc per site)
* use native code instead of whpipeline to set pipeline job parameters
* add "reset pipeline" buttons to /factory_jobs table

11 years agolet pipeline_invocation#active be a regular attribute
Tom Clegg [Sun, 17 Feb 2013 21:33:30 +0000 (13:33 -0800)]
let pipeline_invocation#active be a regular attribute

11 years agoaccept json-encoded pipeline[components] param
Tom Clegg [Sun, 17 Feb 2013 21:22:34 +0000 (13:22 -0800)]
accept json-encoded pipeline[components] param

11 years agodo not delete uuid if provided in new object (notably collection)
Tom Clegg [Tue, 12 Feb 2013 21:11:30 +0000 (14:11 -0700)]
do not delete uuid if provided in new object (notably collection)

11 years agoallow re-saving an existing collection without complaint
Tom Clegg [Tue, 12 Feb 2013 21:10:20 +0000 (14:10 -0700)]
allow re-saving an existing collection without complaint

11 years agofix broken orvos_model#initialize
Tom Clegg [Tue, 12 Feb 2013 20:38:26 +0000 (13:38 -0700)]
fix broken orvos_model#initialize

11 years agobe more selective about invoking array-of-strings display on generic object#show...
Tom Clegg [Sun, 10 Feb 2013 17:16:10 +0000 (12:16 -0500)]
be more selective about invoking array-of-strings display on generic object#show page

11 years agoemphasize local part of uuid
Tom Clegg [Sun, 10 Feb 2013 17:14:10 +0000 (12:14 -0500)]
emphasize local part of uuid

11 years agorender pipeline_invocation components as job/progress table
Tom Clegg [Sun, 10 Feb 2013 06:51:40 +0000 (01:51 -0500)]
render pipeline_invocation components as job/progress table

11 years agocheck serialized attribute types during create/update
Tom Clegg [Sun, 10 Feb 2013 06:31:50 +0000 (01:31 -0500)]
check serialized attribute types during create/update

11 years agoset modified_by_user=nil instead of breaking if no user is logged in
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

11 years agodo not require user login for node#ping
Tom Clegg [Sat, 9 Feb 2013 08:06:42 +0000 (03:06 -0500)]
do not require user login for node#ping

11 years agodo not hyperlink collections that do not have corresponding objects to look up
Tom Clegg [Fri, 8 Feb 2013 00:24:45 +0000 (19:24 -0500)]
do not hyperlink collections that do not have corresponding objects to look up

11 years agouse Enumerable and to_ary for implicit conversion to array instead of forcing caller...
Tom Clegg [Fri, 8 Feb 2013 00:24:01 +0000 (19:24 -0500)]
use Enumerable and to_ary for implicit conversion to array instead of forcing caller to use where()

11 years agouse generic orvos link helper in collections#index
Tom Clegg [Thu, 7 Feb 2013 23:40:06 +0000 (18:40 -0500)]
use generic orvos link helper in collections#index

11 years agosort lists on modified_at by default
Tom Clegg [Thu, 7 Feb 2013 20:09:57 +0000 (15:09 -0500)]
sort lists on modified_at by default

11 years agouse old owner, not new owner, when checking permission to change attributes
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

11 years agoadd links to generic specimen and project #show
Tom Clegg [Thu, 7 Feb 2013 19:45:47 +0000 (14:45 -0500)]
add links to generic specimen and project #show

11 years agolink to pipeline invocations from factory_jobs page
Tom Clegg [Thu, 7 Feb 2013 19:03:40 +0000 (14:03 -0500)]
link to pipeline invocations from factory_jobs page

11 years agofix double render
Tom Clegg [Thu, 7 Feb 2013 19:03:26 +0000 (14:03 -0500)]
fix double render

11 years agofix misleading label
Tom Clegg [Thu, 7 Feb 2013 18:01:53 +0000 (13:01 -0500)]
fix misleading label

11 years agomake resource_class_for_uuid more convenient and robust
Tom Clegg [Thu, 7 Feb 2013 17:56:55 +0000 (12:56 -0500)]
make resource_class_for_uuid more convenient and robust

11 years agoadd generic #show page for orvos objects and use it for Log and User
Tom Clegg [Thu, 7 Feb 2013 17:52:28 +0000 (12:52 -0500)]
add generic #show page for orvos objects and use it for Log and User

11 years agoshow log#event_type
Tom Clegg [Thu, 7 Feb 2013 16:14:15 +0000 (11:14 -0500)]
show log#event_type

11 years agoupdate server-assigned attributes after saving objects
Tom Clegg [Thu, 7 Feb 2013 16:13:26 +0000 (11:13 -0500)]
update server-assigned attributes after saving objects

11 years agoadd logs#show
Tom Clegg [Thu, 7 Feb 2013 02:24:54 +0000 (21:24 -0500)]
add logs#show

11 years agouse JSON.dump so timestamps load back as Time, and Oj.load for fast loading
Tom Clegg [Wed, 6 Feb 2013 21:35:27 +0000 (16:35 -0500)]
use JSON.dump so timestamps load back as Time, and Oj.load for fast loading

11 years agoadd orvos_resource_list#to_hash
Tom Clegg [Wed, 6 Feb 2013 21:31:28 +0000 (16:31 -0500)]
add orvos_resource_list#to_hash

11 years agofix storage=cache pill coloron Source data tab
Tom Clegg [Tue, 5 Feb 2013 20:20:36 +0000 (15:20 -0500)]
fix storage=cache pill coloron Source data tab

11 years agoadd Files pane on Collections#show
Tom Clegg [Tue, 5 Feb 2013 20:09:37 +0000 (15:09 -0500)]
add Files pane on Collections#show

11 years agosplit jobs into provenance chart and job list
Tom Clegg [Tue, 5 Feb 2013 20:00:51 +0000 (15:00 -0500)]
split jobs into provenance chart and job list

11 years agoabandon "bold megabytes" feature
Tom Clegg [Tue, 5 Feb 2013 16:58:13 +0000 (11:58 -0500)]
abandon "bold megabytes" feature

11 years agouse real instead of test data size
Tom Clegg [Tue, 5 Feb 2013 16:57:45 +0000 (11:57 -0500)]
use real instead of test data size

11 years agodefault to data page instead of factory_jobs
Tom Clegg [Tue, 5 Feb 2013 15:22:08 +0000 (10:22 -0500)]
default to data page instead of factory_jobs

11 years agoobey eager() and limit() in all()
Tom Clegg [Tue, 5 Feb 2013 15:21:43 +0000 (10:21 -0500)]
obey eager() and limit() in all()

11 years agolimit 100 instead of 1000
Tom Clegg [Tue, 5 Feb 2013 15:20:22 +0000 (10:20 -0500)]
limit 100 instead of 1000

11 years agohuman readable data size
Tom Clegg [Tue, 5 Feb 2013 13:47:58 +0000 (08:47 -0500)]
human readable data size

11 years agomake bootstrap tabs really work
Tom Clegg [Tue, 5 Feb 2013 07:44:15 +0000 (02:44 -0500)]
make bootstrap tabs really work

11 years agofix commit-id -> redmine link
Tom Clegg [Tue, 5 Feb 2013 07:00:49 +0000 (02:00 -0500)]
fix commit-id -> redmine link

11 years agoinclude data_size and files list in Collection api response
Tom Clegg [Tue, 5 Feb 2013 03:31:43 +0000 (22:31 -0500)]
include data_size and files list in Collection api response

11 years agoadd Collections#show page
Tom Clegg [Tue, 5 Feb 2013 03:35:08 +0000 (22:35 -0500)]
add Collections#show page