radhika chippada [Sun, 23 Mar 2014 02:59:32 +0000 (22:59 -0400)]
Render 404 if no user is found for the uuid provided
radhika chippada [Sun, 23 Mar 2014 00:21:12 +0000 (20:21 -0400)]
Expect openid_prefix from the clients instead of managing it on the api server.
radhika chippada [Fri, 21 Mar 2014 20:36:47 +0000 (16:36 -0400)]
Add negative functional tests where a non-admin user invokes create or setup actions
radhika chippada [Fri, 21 Mar 2014 20:10:29 +0000 (16:10 -0400)]
One more print statement
radhika chippada [Fri, 21 Mar 2014 20:07:43 +0000 (16:07 -0400)]
Remove print statement
radhika chippada [Fri, 21 Mar 2014 20:05:37 +0000 (16:05 -0400)]
Pass openid_prefix to setup method only when -o option is used
radhika chippada [Fri, 21 Mar 2014 19:46:57 +0000 (15:46 -0400)]
some more refactoring and attention to coding standards
radhika chippada [Fri, 21 Mar 2014 19:13:57 +0000 (15:13 -0400)]
All functional tests passing with refactored code.
radhika chippada [Fri, 21 Mar 2014 13:15:01 +0000 (09:15 -0400)]
All tests passing
radhika chippada [Fri, 21 Mar 2014 03:32:22 +0000 (23:32 -0400)]
testing setup method implementation
radhika chippada [Fri, 21 Mar 2014 00:51:07 +0000 (20:51 -0400)]
Merge branch 'master' into 2187-enhance-user-setup
radhika chippada [Fri, 21 Mar 2014 00:49:14 +0000 (20:49 -0400)]
setup-new-user script using the setup method.
radhika chippada [Fri, 21 Mar 2014 00:06:07 +0000 (20:06 -0400)]
Use setup method instead of create method to setup a new user
radhika chippada [Thu, 20 Mar 2014 21:03:31 +0000 (17:03 -0400)]
Update the functional tests to use the setup method
radhika chippada [Thu, 20 Mar 2014 20:07:48 +0000 (16:07 -0400)]
Introduce a new setup method in the users controller
Peter Amstutz [Thu, 20 Mar 2014 20:03:03 +0000 (16:03 -0400)]
Merge branch '2193-fix-permissions-cache' (no functional changes, only unit tests)
Peter Amstutz [Thu, 20 Mar 2014 19:38:24 +0000 (15:38 -0400)]
Merge branch '2278-crunch-dispatcher-monitor-processes'
Peter Amstutz [Thu, 20 Mar 2014 19:32:10 +0000 (15:32 -0400)]
Silly git staging.
Peter Amstutz [Thu, 20 Mar 2014 19:23:56 +0000 (15:23 -0400)]
- Made a note about intentionally not setting "success"
- Changed if c[:job][:success] == false to elsif
- Changed == nil to .nil?
- Removed whitespace
radhika chippada [Thu, 20 Mar 2014 15:07:24 +0000 (11:07 -0400)]
Use rails configuration for default openid prefix.
radhika chippada [Thu, 20 Mar 2014 14:19:01 +0000 (10:19 -0400)]
Merge branch 'master' into 2187-enhance-user-setup
radhika chippada [Wed, 19 Mar 2014 21:03:07 +0000 (17:03 -0400)]
Replace tabs with spaces as per our coding standards
radhika chippada [Wed, 19 Mar 2014 20:32:58 +0000 (16:32 -0400)]
Remove -n aka just probe option from the setup-new-user script as per Ward's core review recommendation.
radhika chippada [Wed, 19 Mar 2014 20:18:54 +0000 (16:18 -0400)]
Update comments in the tests
radhika chippada [Wed, 19 Mar 2014 18:59:17 +0000 (14:59 -0400)]
When create is invoked with user object as input, check if object exists for the given uuid or email.
radhika chippada [Wed, 19 Mar 2014 16:00:10 +0000 (12:00 -0400)]
When using user_param, the user object is not expected. If passed, it will be discarded.
radhika chippada [Wed, 19 Mar 2014 15:12:53 +0000 (11:12 -0400)]
More asserts for links
radhika chippada [Wed, 19 Mar 2014 14:11:49 +0000 (10:11 -0400)]
remove hard coded uuids from tests
radhika chippada [Wed, 19 Mar 2014 13:59:24 +0000 (09:59 -0400)]
Some more refactoring
radhika chippada [Wed, 19 Mar 2014 01:53:37 +0000 (21:53 -0400)]
Remove force option
radhika chippada [Wed, 19 Mar 2014 01:29:11 +0000 (21:29 -0400)]
Functional tests to verify links
radhika chippada [Mon, 17 Mar 2014 21:21:36 +0000 (17:21 -0400)]
Added functional tests for controller updates
radhika chippada [Mon, 17 Mar 2014 19:00:45 +0000 (15:00 -0400)]
Fix a nil check
radhika chippada [Mon, 17 Mar 2014 18:44:51 +0000 (14:44 -0400)]
Fix an error introduced elsewhere in the file.
radhika chippada [Mon, 17 Mar 2014 18:14:10 +0000 (14:14 -0400)]
A simplified version of setup_new_user.rb script, where all the create user and links logic is moved into users controller.
Peter Amstutz [Mon, 17 Mar 2014 17:49:06 +0000 (13:49 -0400)]
* Allow the system user to update job columns, even if the job is "locked"
* Once the job process completes, automatically mark "job.running = false" and set "job.finished_at" if not set
* Exclude jobs from the queue where the "success" field is already set
* Consider a pipeline to be failed if any of the component jobs are marked as failed
radhika chippada [Mon, 17 Mar 2014 17:14:41 +0000 (13:14 -0400)]
All links in place
radhika chippada [Mon, 17 Mar 2014 13:19:00 +0000 (09:19 -0400)]
Test just_probe and openid_prefix options
radhika chippada [Sun, 16 Mar 2014 19:54:11 +0000 (15:54 -0400)]
More accomplished
radhika chippada [Sun, 16 Mar 2014 02:15:04 +0000 (22:15 -0400)]
Merge branch 'master' into 2187-enhance-user-setup
radhika chippada [Sun, 16 Mar 2014 02:12:44 +0000 (22:12 -0400)]
create and some links tested
Peter Amstutz [Fri, 14 Mar 2014 21:05:18 +0000 (17:05 -0400)]
Integration test for permission links.
Peter Amstutz [Fri, 14 Mar 2014 17:57:40 +0000 (13:57 -0400)]
Merge remote-tracking branch 'origin/master' into 2075-workbench-paging
Conflicts:
services/api/app/controllers/arvados/v1/schema_controller.rb
Tom Clegg [Fri, 14 Mar 2014 17:42:20 +0000 (13:42 -0400)]
Merge branch '2257-inequality-conditions'
closes #2257
Tom Clegg [Fri, 14 Mar 2014 17:38:23 +0000 (13:38 -0400)]
Add "filters" param to discovery document, add deprecation note to
"where" param description.
Brett Smith [Fri, 14 Mar 2014 17:34:29 +0000 (13:34 -0400)]
api: Improve compute_node_domain handling.
The default value was causing test failures on my machine because the
ERB evaluated to an empty string. And we want to avoid this causing
any DNS lookups during tests. Now we make the default false (in line
with our other compute_node_* settings), and suggest a change in
application.yml.example to demonstrate how it should be set.
I also fixed up the example about compute_node_nameservers while I was
at it.
This closes #2351.
Tom Clegg [Fri, 14 Mar 2014 14:31:03 +0000 (10:31 -0400)]
Make integer attributes searchable, add test cases.
Tom Clegg [Fri, 14 Mar 2014 14:17:46 +0000 (10:17 -0400)]
Merge branch 'master' into 2257-inequality-conditions
Peter Amstutz [Fri, 14 Mar 2014 13:59:27 +0000 (09:59 -0400)]
Added "Displaying X of Y out of Z"
Improved links to adjacent pages
radhika chippada [Fri, 14 Mar 2014 10:46:09 +0000 (06:46 -0400)]
Merge branch 'master' into 2187-enhance-user-setup
radhika chippada [Fri, 14 Mar 2014 02:33:02 +0000 (22:33 -0400)]
WIP - update the create action in users controller to create user object and also create the links
Peter Amstutz [Thu, 13 Mar 2014 21:07:46 +0000 (17:07 -0400)]
* Added support for offset and limit query parameters (?limit=x&offset=y) to workbench index pages.
* Created _paging partial for rendering forward/backward/jump to page N
* Added paging to generic index page, index pages for collections, pipeline instances, pipeline templates, groups.
radhika chippada [Thu, 13 Mar 2014 20:05:13 +0000 (16:05 -0400)]
Add functional test to create a new user
Peter Amstutz [Thu, 13 Mar 2014 18:45:40 +0000 (14:45 -0400)]
Filters out "show", "index" and "destroy" methods from discovery document generation because they are
redundant with "get", "list" and "delete".
Peter Amstutz [Thu, 13 Mar 2014 18:44:22 +0000 (14:44 -0400)]
Added offset to 'list' method on resources.
Added "offset" and "limit" fields to the response.
Removed "next_page_token" and "next_link" fields that were not being used.
Tom Clegg [Thu, 13 Mar 2014 15:49:46 +0000 (11:49 -0400)]
Fix order of steps in install doc, add git_repositories_dir
instructions, remove troublesome default config.
Brett Smith [Thu, 13 Mar 2014 16:28:25 +0000 (12:28 -0400)]
doc: Make Workbench install guide up-to-date.
* Configure the application with `application.yml` instead of
`config/environments/*.rb`.
* Consistently capitalize Workbench.
Peter Amstutz [Thu, 13 Mar 2014 13:50:21 +0000 (09:50 -0400)]
Formatting tweaking to look good on github.
Peter Amstutz [Thu, 13 Mar 2014 13:48:29 +0000 (09:48 -0400)]
Added more links to information in README.
Peter Amstutz [Thu, 13 Mar 2014 13:31:02 +0000 (09:31 -0400)]
Added a README with pointers to the documentation, COPYING with license information, the relevant licenses, as well as a license section to the user guide.
Tom Clegg [Thu, 13 Mar 2014 04:17:06 +0000 (00:17 -0400)]
Fix crash in render_error(not_an_exception), and use raise() rather
than calling render_error() directly from ApplicationController#save
and #update
Tom Clegg [Thu, 13 Mar 2014 04:04:34 +0000 (00:04 -0400)]
Add sqlite3 to Gemfile so database.yml.sample works unmodified
Tom Clegg [Wed, 12 Mar 2014 22:11:15 +0000 (18:11 -0400)]
Fix configured uuid_prefix and force_ssl getting overwritten by application.rb
Tom Clegg [Wed, 12 Mar 2014 22:10:32 +0000 (18:10 -0400)]
Remove some stumbling blocks in default/example configs
Peter Amstutz [Thu, 13 Mar 2014 02:21:49 +0000 (22:21 -0400)]
Fixed typo in secret_token.rb
Peter Amstutz [Thu, 13 Mar 2014 02:19:20 +0000 (22:19 -0400)]
Updated workbench documentation.
Peter Amstutz [Thu, 13 Mar 2014 01:53:57 +0000 (21:53 -0400)]
Working on improving install documentation.
Peter Amstutz [Thu, 13 Mar 2014 01:08:33 +0000 (21:08 -0400)]
Added section on setting up SSO server
radhika chippada [Wed, 12 Mar 2014 20:13:49 +0000 (16:13 -0400)]
The very first set of unit tests for rails API server
Peter Amstutz [Wed, 12 Mar 2014 19:29:18 +0000 (15:29 -0400)]
Adds scopes: ["all"] when creating a new api client authorization, because database schema does not permit have a null scopes column.
Peter Amstutz [Wed, 12 Mar 2014 19:26:29 +0000 (15:26 -0400)]
Replaces postgres-specific 'now()' with standard SQL CURRENT_TIMESTAMP
Render checks that opts which are passed in are valid before trying to use it.
Ward Vandewege [Wed, 12 Mar 2014 16:15:04 +0000 (12:15 -0400)]
URL change for the auth server.
Ward Vandewege [Tue, 11 Mar 2014 22:22:12 +0000 (18:22 -0400)]
Fix links to docs in workbench
Tom Clegg [Tue, 11 Mar 2014 20:50:05 +0000 (16:50 -0400)]
Update Gemfile to use latest arv-run-pipeline
Tom Clegg [Tue, 11 Mar 2014 20:29:18 +0000 (16:29 -0400)]
Bump versions, change optional=false to required=true, set dataclass
for bwa-aln input.
Tom Clegg [Tue, 11 Mar 2014 20:27:55 +0000 (16:27 -0400)]
Fix giving up on a pipeline prematurely when a component is waiting
for an output produced by a component later in the components.each()
loop.
Peter Amstutz [Tue, 11 Mar 2014 20:27:22 +0000 (16:27 -0400)]
Merge branch 'master' of git.clinicalfuture.com:arvados
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Peter Amstutz [Tue, 11 Mar 2014 20:26:59 +0000 (16:26 -0400)]
Merge branch '2107-update-documentation'
Brett Smith [Tue, 11 Mar 2014 20:12:11 +0000 (16:12 -0400)]
doc: Note warning for get one collection block.
Added per discussion with Tom. We're also interested in fixing the
warning, but in the meantime, this is worth documenting.
Brett Smith [Tue, 11 Mar 2014 20:08:19 +0000 (16:08 -0400)]
doc: Improve "How Keep Works" flow.
This addresses the fact that this page was broken off from the
original Keep tutorial page.
Tim Pierce [Tue, 11 Mar 2014 19:53:33 +0000 (15:53 -0400)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Brett Smith [Tue, 11 Mar 2014 19:28:05 +0000 (15:28 -0400)]
doc: Make CLI pipeline run up-to-date.
This refreshes Keep hashes and the output format of `arv pipeline run`.
Brett Smith [Tue, 11 Mar 2014 19:26:52 +0000 (15:26 -0400)]
doc: Improve flow of CLI pipeline run.
The previous version assumed that we already had a static pipeline
template. That's no longer true under the current flow, so instruct
the user to make one at the start of the tutorial.
Peter Amstutz [Tue, 11 Mar 2014 19:21:41 +0000 (15:21 -0400)]
Merge branch 'master' of git.clinicalfuture.com:arvados
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Peter Amstutz [Tue, 11 Mar 2014 19:21:28 +0000 (15:21 -0400)]
Bugfixes to provenance graph:
* Fixed url generation to use correct protocol (http/https)
* Fixed generic node description
* Fixed direction of provenance graph
Tom Clegg [Tue, 11 Mar 2014 18:58:44 +0000 (14:58 -0400)]
Report error message and propagate exit code if subprocess.call() fails.
Tim Pierce [Tue, 11 Mar 2014 18:48:49 +0000 (14:48 -0400)]
Update instructions to use build.sh. (refs #2221)
Brett Smith [Tue, 11 Mar 2014 18:11:22 +0000 (14:11 -0400)]
doc: Consistent style in outside program tutorial.
Brett Smith [Tue, 11 Mar 2014 18:04:39 +0000 (14:04 -0400)]
doc: Consistent style in new pipeline tutorial.
Brett Smith [Tue, 11 Mar 2014 17:50:08 +0000 (13:50 -0400)]
doc: Small bugfixes for first pipeline template.
Peter Amstutz [Tue, 11 Mar 2014 18:34:58 +0000 (14:34 -0400)]
Ran linkchecker and fixed links.
Peter Amstutz [Tue, 11 Mar 2014 18:18:12 +0000 (14:18 -0400)]
Added liquid template to link to next and previous pages.
Tom Clegg [Tue, 11 Mar 2014 18:05:59 +0000 (14:05 -0400)]
Fix user_agreements/sign* routing again.
Tom Clegg [Tue, 11 Mar 2014 17:56:15 +0000 (13:56 -0400)]
Fix route method on user_agreements/sign.
Brett Smith [Tue, 11 Mar 2014 16:33:55 +0000 (12:33 -0400)]
doc: Bold `you` in tutorial-parallel's job spec.
Brett Smith [Tue, 11 Mar 2014 15:43:40 +0000 (11:43 -0400)]
doc: Fix hello-world-fixed.py name in job-debug.
Brett Smith [Tue, 11 Mar 2014 15:31:09 +0000 (11:31 -0400)]
doc: Consistent style for `you` in job-debug.
Brett Smith [Tue, 11 Mar 2014 15:24:07 +0000 (11:24 -0400)]
doc: Update job1's expected output.
Pete changed this script so that the output filename has a leading
`./`. This commit updates the tutorial to match.
Brett Smith [Tue, 11 Mar 2014 16:05:50 +0000 (12:05 -0400)]
doc: Highlight `you` in the first script job spec.
Brett Smith [Tue, 11 Mar 2014 15:10:44 +0000 (11:10 -0400)]
doc: Suggest setting User in .ssh/config.