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:09:03 +0000 (16:09 -0800)]
limit data page to 1-3000 collections
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 15:45:01 +0000 (10:45 -0500)]
Switch to MultiJson which uses Oj under the hood (since it is available).
Ward Vandewege [Mon, 4 Feb 2013 14:53:48 +0000 (09:53 -0500)]
Switch to Oj for faster JSON handling.
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 [Mon, 4 Feb 2013 06:57:40 +0000 (22:57 -0800)]
add some nil checks
Ward Vandewege [Mon, 4 Feb 2013 03:29:23 +0000 (22:29 -0500)]
Be careful with the shovel (<<) operator. It modifies the object on the
left hand side. And if that object is just a copy (i.e. reference to) of
another object, bad things like on-the-fly modification of the
orvos_login_base configuration value occur...
This fixes the multiplication of return_to parameters on every call to
the login url.
Ward Vandewege [Mon, 4 Feb 2013 02:06:45 +0000 (21:06 -0500)]
Do not show a 'Log out' link when the user is not logged in.
Tom Clegg [Sun, 3 Feb 2013 21:48:02 +0000 (13:48 -0800)]
fix "home" link
Ward Vandewege [Sun, 3 Feb 2013 20:43:13 +0000 (15:43 -0500)]
Fix test for :orvos_api_token in Thread.current, and log errors if it is
not there.
Ward Vandewege [Sun, 3 Feb 2013 20:00:54 +0000 (15:00 -0500)]
Throw an error when the uuid used for find() is invalid.
Tom Clegg [Sun, 3 Feb 2013 19:48:04 +0000 (11:48 -0800)]
add permission logging
Ward Vandewege [Sun, 3 Feb 2013 19:07:24 +0000 (14:07 -0500)]
Do not assume uuid_or_hash is a string when using it in string
concatenation.
Ward Vandewege [Sun, 3 Feb 2013 16:12:21 +0000 (11:12 -0500)]
Remove some unneeded stuff from the ant deploy file.
Tom Clegg [Sun, 3 Feb 2013 11:56:40 +0000 (03:56 -0800)]
add jobs and jobsteps
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
Tom Clegg [Sun, 3 Feb 2013 09:32:57 +0000 (01:32 -0800)]
add deploy files for ant install
Tom Clegg [Sun, 3 Feb 2013 08:57:45 +0000 (00:57 -0800)]
support user and API client using different URIs for same API endpoint
Tom Clegg [Sun, 3 Feb 2013 08:56:45 +0000 (00:56 -0800)]
allow current_user => nil for pages that do not require login
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 17:41:38 +0000 (09:41 -0800)]
move logout link to right
Tom Clegg [Fri, 1 Feb 2013 07:13:08 +0000 (23:13 -0800)]
add table/graph nav pills
Tom Clegg [Fri, 1 Feb 2013 06:52:20 +0000 (22:52 -0800)]
add tabular /collections
Tom Clegg [Fri, 1 Feb 2013 06:20:00 +0000 (22:20 -0800)]
add Log out button, hide admin-only nav links if not admin
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 [Fri, 1 Feb 2013 01:51:58 +0000 (17:51 -0800)]
add bootstrap
Tom Clegg [Fri, 1 Feb 2013 00:29:53 +0000 (16:29 -0800)]
spice up collections graph a little
Tom Clegg [Thu, 31 Jan 2013 23:44:00 +0000 (15:44 -0800)]
add User resource, restrict generic resource pages to admin users
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 [Thu, 31 Jan 2013 17:10:34 +0000 (09:10 -0800)]
do find_object_by_uuid after setting up api token
Tom Clegg [Thu, 31 Jan 2013 17:09:02 +0000 (09:09 -0800)]
fix unsupported where() style in find_object_by_uuid
Tom Clegg [Thu, 31 Jan 2013 17:07:21 +0000 (09:07 -0800)]
basic d3 graph at /collections
Tom Clegg [Wed, 30 Jan 2013 20:51:15 +0000 (12:51 -0800)]
improve error handling and reporting
Tom Clegg [Tue, 29 Jan 2013 17:09:35 +0000 (09:09 -0800)]
fix (Time.now - nil) exception
Tom Clegg [Tue, 29 Jan 2013 17:06:19 +0000 (09:06 -0800)]
bit more robust in error display
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:10:23 +0000 (15:10 -0800)]
tweak eager loading
Tom Clegg [Mon, 28 Jan 2013 23:09:02 +0000 (15:09 -0800)]
tweak eager loading
Ward Vandewege [Mon, 28 Jan 2013 21:50:43 +0000 (16:50 -0500)]
Rename leftover Metadatum references to Link.
Tom Clegg [Mon, 28 Jan 2013 21:19:08 +0000 (13:19 -0800)]
rename Metadatum to Link, head to head_uuid, tail to tail_uuid
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:55:41 +0000 (13:55 -0800)]
fix use of OrvosBase#new when unpacking lists
Tom Clegg [Fri, 25 Jan 2013 21:33:22 +0000 (13:33 -0800)]
handle non-db-column API response fields a bit better
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 03:20:35 +0000 (19:20 -0800)]
start pipeline after importing
Tom Clegg [Fri, 25 Jan 2013 02:17:47 +0000 (18:17 -0800)]
fix up factory_jobs status page
Tom Clegg [Fri, 25 Jan 2013 00:42:35 +0000 (16:42 -0800)]
move development.rb to .example
Tom Clegg [Fri, 25 Jan 2013 00:40:11 +0000 (16:40 -0800)]
handle invalid token more gracefully
Tom Clegg [Fri, 25 Jan 2013 00:25:08 +0000 (16:25 -0800)]
fix error response
Tom Clegg [Thu, 24 Jan 2013 22:57:46 +0000 (14:57 -0800)]
give up on assets for static d3 example
Tom Clegg [Thu, 24 Jan 2013 22:55:41 +0000 (14:55 -0800)]
Revert "move html into app/assets"
This reverts commit
d338c25fb8ae1085054088b1c00c7a0d9e49e367.
Tom Clegg [Thu, 24 Jan 2013 22:47:47 +0000 (14:47 -0800)]
move html into app/assets
Tom Clegg [Thu, 24 Jan 2013 22:37:12 +0000 (14:37 -0800)]
host d3 js locally
Tom Clegg [Thu, 24 Jan 2013 22:30:07 +0000 (14:30 -0800)]
add example graph of user/project/permission metadata
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
Tom Clegg [Thu, 24 Jan 2013 03:03:12 +0000 (19:03 -0800)]
fix missing user variable
Tom Clegg [Thu, 24 Jan 2013 03:01:42 +0000 (19:01 -0800)]
use Accept header instead of post arg to ask for json
Tom Clegg [Thu, 24 Jan 2013 02:58:49 +0000 (18:58 -0800)]
set format=json explicitly when calling api
Tom Clegg [Thu, 24 Jan 2013 02:50:37 +0000 (18:50 -0800)]
install omniauth.rb during deploy
Tom Clegg [Thu, 24 Jan 2013 02:06:44 +0000 (18:06 -0800)]
connect user authentication to API client authorization
Tom Clegg [Thu, 24 Jan 2013 02:04:18 +0000 (18:04 -0800)]
use factory_jobs#index as front page, disallow robots
Tom Clegg [Thu, 24 Jan 2013 02:03:56 +0000 (18:03 -0800)]
send tokenless user through orvos login instead of giving up
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
Tom Clegg [Wed, 23 Jan 2013 17:37:38 +0000 (09:37 -0800)]
add omniauth.rb.example
Ward Vandewege [Wed, 23 Jan 2013 04:21:27 +0000 (23:21 -0500)]
Drop superfluous comment.
Ward Vandewege [Wed, 23 Jan 2013 04:18:53 +0000 (23:18 -0500)]
Authenticate against auth.clinicalfuture.com
Tom Clegg [Tue, 22 Jan 2013 22:20:21 +0000 (14:20 -0800)]
add missing timestamp and route, set default event_at=Time.now
Tom Clegg [Tue, 22 Jan 2013 22:19:25 +0000 (14:19 -0800)]
add Logs resource
Tom Clegg [Tue, 22 Jan 2013 20:33:32 +0000 (12:33 -0800)]
add Log resource
Tom Clegg [Tue, 22 Jan 2013 20:31:45 +0000 (12:31 -0800)]
ignore editor backup files
Tom Clegg [Tue, 22 Jan 2013 20:31:33 +0000 (12:31 -0800)]
add hardcoded_api_tokens.rb.example
Ward Vandewege [Tue, 22 Jan 2013 04:52:35 +0000 (23:52 -0500)]
Fix for
app/models/orvos_api_client.rb:4:in `+': can't convert nil
into String (TypeError)
Tom Clegg [Tue, 22 Jan 2013 00:02:02 +0000 (16:02 -0800)]
stub authentication check