arvados.git
9 years agoMerge branch 'master' into 2756-eventbus-in-workbench
radhika [Wed, 14 May 2014 18:34:18 +0000 (14:34 -0400)]
Merge branch 'master' into 2756-eventbus-in-workbench

9 years ago2328: fix log.Warning bug
Tim Pierce [Wed, 14 May 2014 17:02:30 +0000 (13:02 -0400)]
2328: fix log.Warning bug

oops.

9 years agoMerge branch '2328-keep-permission-flags' (closes #2328)
Tim Pierce [Wed, 14 May 2014 16:24:46 +0000 (12:24 -0400)]
Merge branch '2328-keep-permission-flags' (closes #2328)

9 years ago2328: code review comments.
Tim Pierce [Wed, 14 May 2014 05:15:38 +0000 (01:15 -0400)]
2328: code review comments.

9 years ago2756: Display event log on pipeline_instance event log udpates.
radhika [Tue, 13 May 2014 20:34:28 +0000 (16:34 -0400)]
2756: Display event log on pipeline_instance event log udpates.

9 years agoReally write log messages to logfile. refs #2221 commit:ced5e21
Tom Clegg [Tue, 13 May 2014 19:21:10 +0000 (15:21 -0400)]
Really write log messages to logfile. refs #2221 commit:ced5e21

9 years agoFix job state cleanup in crunch-job failure case.
Tom Clegg [Tue, 13 May 2014 18:45:42 +0000 (14:45 -0400)]
Fix job state cleanup in crunch-job failure case.

9 years ago2673: Use _method=GET hack to avoid combining request body with GET
Tom Clegg [Tue, 13 May 2014 18:36:50 +0000 (14:36 -0400)]
2673: Use _method=GET hack to avoid combining request body with GET
method (but still support parameters too long to fit in a query
string).

9 years ago2328: more 80-column fixes
Tim Pierce [Tue, 13 May 2014 18:25:37 +0000 (14:25 -0400)]
2328: more 80-column fixes

9 years ago2328: incorporate code review comments.
Tim Pierce [Tue, 13 May 2014 18:05:45 +0000 (14:05 -0400)]
2328: incorporate code review comments.

Wrap very long lines to 80 columns.

Describe each test failure more explicitly.

TestIndexHandler: Add /index/prefix tests for unauthenticated and
authenticated non-superusers.

TestGetHandler: initialize all variables in one var block.

main: failure to read permission key or data manager token is now a
fatal error.

9 years agoSpecify required ruby version (>= 2.1.0) in gems.
Tom Clegg [Tue, 13 May 2014 17:37:17 +0000 (13:37 -0400)]
Specify required ruby version (>= 2.1.0) in gems.

9 years ago2673: Update bundle to ensure we get commit:67f1781 at runtime.
Tom Clegg [Tue, 13 May 2014 17:30:31 +0000 (13:30 -0400)]
2673: Update bundle to ensure we get commit:67f1781 at runtime.

9 years ago2673: Move auth to headers, avoid combining request body with GET method.
Tom Clegg [Tue, 13 May 2014 17:13:58 +0000 (13:13 -0400)]
2673: Move auth to headers, avoid combining request body with GET method.

9 years ago2821: Add "delete" button to pipeline instances page. closes #2821
Tom Clegg [Tue, 13 May 2014 16:49:20 +0000 (12:49 -0400)]
2821: Add "delete" button to pipeline instances page. closes #2821

9 years ago2673: Update bundle to ensure we get commit:7ff8586 at runtime.
Tom Clegg [Tue, 13 May 2014 16:44:04 +0000 (12:44 -0400)]
2673: Update bundle to ensure we get commit:7ff8586 at runtime.

9 years ago2638: Fix css syntax.
Tom Clegg [Tue, 13 May 2014 14:13:45 +0000 (10:13 -0400)]
2638: Fix css syntax.

9 years agoAdd self-signed.{key,pem} to .gitignore files.
Tom Clegg [Mon, 12 May 2014 19:37:24 +0000 (15:37 -0400)]
Add self-signed.{key,pem} to .gitignore files.

9 years agoMerge branch '2673-no-request-body-in-get'
Tom Clegg [Mon, 12 May 2014 19:28:58 +0000 (15:28 -0400)]
Merge branch '2673-no-request-body-in-get'

closes #2673

9 years ago2673: Move auth to headers, avoid combining request body with GET method.
Tom Clegg [Mon, 12 May 2014 19:01:37 +0000 (15:01 -0400)]
2673: Move auth to headers, avoid combining request body with GET method.

9 years ago2754: Hide unhelpful "Add a new job" button.
Tom Clegg [Mon, 12 May 2014 17:43:09 +0000 (13:43 -0400)]
2754: Hide unhelpful "Add a new job" button.

9 years ago2812: Fix "not in" filter so it can retrieve rows with null values.
Tom Clegg [Mon, 12 May 2014 17:36:43 +0000 (13:36 -0400)]
2812: Fix "not in" filter so it can retrieve rows with null values.

closes #2812

9 years agoMerge branch 'master' into 2352-remove-attrs
radhika [Mon, 12 May 2014 17:11:15 +0000 (13:11 -0400)]
Merge branch 'master' into 2352-remove-attrs

9 years ago2808: Fix paging on jobs, pipeline_instances, api_client_authorizations.
Tom Clegg [Mon, 12 May 2014 14:41:17 +0000 (10:41 -0400)]
2808: Fix paging on jobs, pipeline_instances, api_client_authorizations.
Restore Jobs link to left nav.

closes #2808

9 years agoMerge branch 'master' into 2352-remove-attrs
radhika [Mon, 12 May 2014 00:29:29 +0000 (20:29 -0400)]
Merge branch 'master' into 2352-remove-attrs

9 years ago2756: Use site-default x-editable mode for pipeline instance name.
Tom Clegg [Sun, 11 May 2014 20:24:25 +0000 (16:24 -0400)]
2756: Use site-default x-editable mode for pipeline instance name.

Inline mode avoided an "editable popup hides behind left nav" bug
which was fixed in c66afecd36cf7d91223b5db79f3e120954f8217d.

9 years ago2352: log statement to include uuid if either active or success found in changed...
radhika [Sat, 10 May 2014 18:26:31 +0000 (14:26 -0400)]
2352: log statement to include uuid if either active or success found in changed attributes.

9 years ago2328: restrict all /index requests to superuser
Tim Pierce [Sat, 10 May 2014 03:12:18 +0000 (23:12 -0400)]
2328: restrict all /index requests to superuser

Per discussion with Tom on IRC: all /index requests, whether they
include a prefix argument or not, should be restricted to the superuser.

9 years ago2352: Address review feedback: (1) input can be edited even in Ready state, (2) pipel...
radhika [Sat, 10 May 2014 03:00:23 +0000 (23:00 -0400)]
2352: Address review feedback: (1) input can be edited even in Ready state, (2) pipeline cleanup to set state to Paused if RunningOnClient.

9 years agoMerge branch 'master' into 2352-remove-attrs
radhika [Sat, 10 May 2014 00:22:26 +0000 (20:22 -0400)]
Merge branch 'master' into 2352-remove-attrs

9 years ago2803: Make all Python required versions match wheezy.
Brett Smith [Fri, 9 May 2014 21:35:32 +0000 (17:35 -0400)]
2803: Make all Python required versions match wheezy.

9 years ago2803: Further relax Python SDK requirement for httplib2.
Brett Smith [Fri, 9 May 2014 21:06:16 +0000 (17:06 -0400)]
2803: Further relax Python SDK requirement for httplib2.

Our build server is using version 0.7.4, so it's apparently fine.

9 years agoMerge branch '2803-python-package-split-wip'
Brett Smith [Fri, 9 May 2014 20:51:17 +0000 (16:51 -0400)]
Merge branch '2803-python-package-split-wip'

Closes #2803, #2804.

9 years ago2803: Relax Python library requirements.
Brett Smith [Fri, 9 May 2014 20:24:00 +0000 (16:24 -0400)]
2803: Relax Python library requirements.

Refs #2803.  We're generally undemanding on the libraries we pull in,
and this can help us use more OS-packaged libraries.

9 years ago2803: FUSE driver is now under the AGPL.
Brett Smith [Fri, 9 May 2014 20:18:11 +0000 (16:18 -0400)]
2803: FUSE driver is now under the AGPL.

This is both our intent after the package split, and consistent with
/COPYING file.

9 years ago2803: Split arvados and arvados_fuse Python modules.
Brett Smith [Fri, 9 May 2014 18:37:07 +0000 (14:37 -0400)]
2803: Split arvados and arvados_fuse Python modules.

Prior commits tried to make separate SDK and FUSE packages from the
same sdk/python source tree.  However, this didn't work as intended
once the packages were installed.  Python modules don't work like Ruby
namespaces.  If you ask Python to import arvados.fuse, it finds the
arvados module, then looks for the fuse submodule under it.  So you
can't have arvados.fuse installed somewhere completely differently.

In addition, Python packages assume the installation script is called
setup.py.  So they wouldn't find setup_fuse.py.

We still want to have the FUSE module separate, so in discussion on
IRC we decided that the least worst option was to rename the module to
arvados_fuse.  This commit implements that.  If accepted, the new
build procedure will be:

  $ python setup.py egg_info -b \
    ".$(git log --format=format:%ct.%h -n1 .)" sdist upload

Refs #2803.

9 years ago2352: add a info level log statement in pipeline_instance.rb if active or success...
radhika [Fri, 9 May 2014 20:24:31 +0000 (16:24 -0400)]
2352: add a info level log statement in pipeline_instance.rb if active or success flags are updated. The expection is that this should no longer happen.

9 years ago2352: Update the workbench and arv-run-pipeline-instance script to use pipeline_insta...
radhika [Fri, 9 May 2014 18:54:07 +0000 (14:54 -0400)]
2352: Update the workbench and arv-run-pipeline-instance script to use pipeline_instance status instead of active and success flags.

9 years ago2803: Remove unused setup.py.src.
Brett Smith [Fri, 9 May 2014 14:44:16 +0000 (10:44 -0400)]
2803: Remove unused setup.py.src.

9 years agoFix whitespace.
Ward Vandewege [Fri, 9 May 2014 13:23:00 +0000 (09:23 -0400)]
Fix whitespace.

9 years agoFix Python SDK test suite issues.
Tom Clegg [Fri, 9 May 2014 08:12:44 +0000 (04:12 -0400)]
Fix Python SDK test suite issues.

9 years agoFix python SDK test suite issues.
Tom Clegg [Fri, 9 May 2014 06:57:27 +0000 (02:57 -0400)]
Fix python SDK test suite issues.

9 years ago2328: handler_test.go refactoring
Tim Pierce [Fri, 9 May 2014 06:49:51 +0000 (02:49 -0400)]
2328: handler_test.go refactoring

Refactoring to make tests easier to read and understand.

9 years agoFix pipeline instance state tests.
Tom Clegg [Fri, 9 May 2014 02:33:12 +0000 (22:33 -0400)]
Fix pipeline instance state tests.

9 years agoDo not blindly overwrite GOPATH if it exists.
Ward Vandewege [Fri, 9 May 2014 02:05:12 +0000 (22:05 -0400)]
Do not blindly overwrite GOPATH if it exists.

9 years ago2328: fix TestPutHandler permission_ttl
Tim Pierce [Fri, 9 May 2014 01:51:50 +0000 (21:51 -0400)]
2328: fix TestPutHandler permission_ttl

permission_ttl is normally initialized in main, which is not run from a
unit test.  So a unit test which relies on generating valid permission
signatures must initialize permission_ttl itself.

9 years agoMerge branch '2638-add-cache-age-disk-usage-histogram-to-workbench' closes #2638
Misha Zatsman [Fri, 9 May 2014 01:08:46 +0000 (01:08 +0000)]
Merge branch '2638-add-cache-age-disk-usage-histogram-to-workbench' closes #2638

9 years ago2328: simplify tests, permission_ttl variable
Tim Pierce [Thu, 8 May 2014 22:05:49 +0000 (18:05 -0400)]
2328: simplify tests, permission_ttl variable

Incorporating code review:

Added ExpectStatusCode and ExpectBody to simplify repetitive tests.

permission_ttl is now a time.Duration to reduce confusion about units.

9 years agoFixed stop_keep(). Updated test_mount because the fixture changed (again).
Peter Amstutz [Thu, 8 May 2014 21:10:07 +0000 (17:10 -0400)]
Fixed stop_keep().  Updated test_mount because the fixture changed (again).

9 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Thu, 8 May 2014 20:54:18 +0000 (16:54 -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.

9 years ago- Added MANIFEST.in to include setup_header.py in the source package. Now gets
Peter Amstutz [Thu, 8 May 2014 20:52:45 +0000 (16:52 -0400)]
- Added MANIFEST.in to include setup_header.py in the source package.  Now gets
the version number from PKG-INFO metadata if available, or git if not, which
should handle all the cases of using sdist, pip install, or install from git
checkout.
- Improved run_test_server.py and fixed Python SDK tests to use it.

9 years agoTrim newline from logfile hash emerging from `arv keep put`.
Tom Clegg [Thu, 8 May 2014 20:45:47 +0000 (16:45 -0400)]
Trim newline from logfile hash emerging from `arv keep put`.

9 years agoMerge branch '2525-java-sdk'
radhika [Thu, 8 May 2014 20:40:48 +0000 (16:40 -0400)]
Merge branch '2525-java-sdk'

9 years ago2759: Workbench shouldn't try to make links from Link names.
Brett Smith [Thu, 8 May 2014 20:38:46 +0000 (16:38 -0400)]
2759: Workbench shouldn't try to make links from Link names.

Because the name attribute can include arbitrary text, it might
resemble an Arvados object UUID.  If that happens, the
_arvados_attr_value partial will try to make a link from it.  All
sorts of weirdness could happen as a result (our specific bug was a
bad URL fed to Workbench's API client), so don't even try.  Just
render the name directly as editable text.

Closes #2759.

9 years agoMerge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage...
Misha Zatsman [Thu, 8 May 2014 20:10:04 +0000 (20:10 +0000)]
Merge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage-histogram-to-workbench

9 years agoAdded some documentation and renamed variables after Tim's review.
Misha Zatsman [Thu, 8 May 2014 20:09:07 +0000 (20:09 +0000)]
Added some documentation and renamed variables after Tim's review.

9 years agoRemove now-superfluous build.sh step from the documentation to build the
Ward Vandewege [Thu, 8 May 2014 19:04:41 +0000 (15:04 -0400)]
Remove now-superfluous build.sh step from the documentation to build the
Python SDK from source.

9 years ago2328: do not expose keys to /bin/ps
Tim Pierce [Thu, 8 May 2014 18:30:49 +0000 (14:30 -0400)]
2328: do not expose keys to /bin/ps

For the data manager token and permission key, the command line flags
now specify a file from which to read secrets rather than specifying
them on the command line:

  --data-manager-token-file
  --permission-key-file

9 years ago2525: update available params method
radhika [Thu, 8 May 2014 18:25:43 +0000 (14:25 -0400)]
2525: update available params method

9 years ago2525: getAvailableParametersForMethod includes properties from request also.
radhika [Thu, 8 May 2014 18:06:04 +0000 (14:06 -0400)]
2525: getAvailableParametersForMethod includes properties from request also.
This is required for create and update methods which have no other parameters.

9 years agoMerge branch '2352-use-state'
radhika [Thu, 8 May 2014 17:42:50 +0000 (13:42 -0400)]
Merge branch '2352-use-state'

9 years agoMerge branch '2739-fix-100-task-limit-wip'
Brett Smith [Thu, 8 May 2014 17:22:04 +0000 (13:22 -0400)]
Merge branch '2739-fix-100-task-limit-wip'

Closes #2739.

9 years ago2739: Ensure crunch-job spawns all new tasks.
Brett Smith [Thu, 8 May 2014 17:19:27 +0000 (13:19 -0400)]
2739: Ensure crunch-job spawns all new tasks.

Without this fix, crunch-job would only spawn tasks up to the API
server default result limit (currently 100).  Refs #2739.

9 years agoBugfix: Don't crash trying to render a new log buffer.
Brett Smith [Thu, 8 May 2014 17:15:16 +0000 (13:15 -0400)]
Bugfix: Don't crash trying to render a new log buffer.

If you submit a Job and then try to load your Workbench Dashboard,
Workbench will likely crash because the log_buffer is a symbol at that
time.  This check guards to make sure that we only try to render
actual log content.

9 years ago2352: when a running pipeline_instance is stopped in workbench, put it in Paused...
radhika [Thu, 8 May 2014 17:02:55 +0000 (13:02 -0400)]
2352: when a running pipeline_instance is stopped in workbench, put it in Paused state.
Similar behavior as when run with --run-here at command prompt.

9 years agoMerge branch 'master' into 2352-use-state
radhika [Thu, 8 May 2014 14:45:00 +0000 (10:45 -0400)]
Merge branch 'master' into 2352-use-state

9 years ago2352: fix issue with setting active during save
radhika [Thu, 8 May 2014 14:40:53 +0000 (10:40 -0400)]
2352: fix issue with setting active during save

9 years ago2492: Properly escape Docker image name in Crunch.
Brett Smith [Thu, 8 May 2014 13:34:33 +0000 (09:34 -0400)]
2492: Properly escape Docker image name in Crunch.

9 years ago2492: Crunch respects the maximum length of Docker image hashes.
Brett Smith [Thu, 8 May 2014 13:28:23 +0000 (09:28 -0400)]
2492: Crunch respects the maximum length of Docker image hashes.

9 years ago2352: look for only RunningOnServer in queue method in pipeline_instance
radhika [Thu, 8 May 2014 12:23:11 +0000 (08:23 -0400)]
2352: look for only RunningOnServer in queue method in pipeline_instance

9 years ago2352: set active to nil when Ready
radhika [Wed, 7 May 2014 23:54:23 +0000 (19:54 -0400)]
2352: set active to nil when Ready

9 years ago2352: when --submit is used, set the state to Ready, not RunningOnClient.
radhika [Wed, 7 May 2014 23:34:24 +0000 (19:34 -0400)]
2352: when --submit is used, set the state to Ready, not RunningOnClient.
And do not set Active to true.

9 years agoMerge branch 'master' into 2352-use-state
radhika [Wed, 7 May 2014 19:04:40 +0000 (15:04 -0400)]
Merge branch 'master' into 2352-use-state

9 years agoMerge branch 'master' into 2525-java-sdk
radhika [Wed, 7 May 2014 16:11:22 +0000 (12:11 -0400)]
Merge branch 'master' into 2525-java-sdk

9 years ago2525: prompt example
radhika [Wed, 7 May 2014 16:10:47 +0000 (12:10 -0400)]
2525: prompt example

9 years ago2525: list resources, methods, and parameters in prompt example to improve user exper...
radhika [Wed, 7 May 2014 16:09:07 +0000 (12:09 -0400)]
2525: list resources, methods, and parameters in prompt example to improve user experience.

9 years ago2525: Expand prompt example to list the available resources and methods. This can...
radhika [Wed, 7 May 2014 15:58:23 +0000 (11:58 -0400)]
2525: Expand prompt example to list the available resources and methods. This can help enhance user experience.

9 years agoMerge branch 'origin-2035-arv-mount-tags-folders'
Peter Amstutz [Wed, 7 May 2014 15:53:13 +0000 (11:53 -0400)]
Merge branch 'origin-2035-arv-mount-tags-folders'

Conflicts:
sdk/python/bin/arv-mount

9 years agoMerge branch '2035-arv-mount-tags-folders' into origin-2035-arv-mount-tags-folders
Peter Amstutz [Wed, 7 May 2014 15:39:55 +0000 (11:39 -0400)]
Merge branch '2035-arv-mount-tags-folders' into origin-2035-arv-mount-tags-folders

9 years agoMerge branch '2492-docker-crunch-jobs'
Brett Smith [Wed, 7 May 2014 15:32:18 +0000 (11:32 -0400)]
Merge branch '2492-docker-crunch-jobs'

Closes #2492.

9 years agocrunch: Install Docker images on demand.
Brett Smith [Wed, 7 May 2014 15:28:16 +0000 (11:28 -0400)]
crunch: Install Docker images on demand.

Ward requested this to simplify the installation and testing
procedure.  This is sort of temporary scaffolding; we expect that in
the future Docker images will be stored in, and read from, Keep.

9 years agocrunch-job: Support runtime Docker image.
Brett Smith [Wed, 7 May 2014 15:24:21 +0000 (11:24 -0400)]
crunch-job: Support runtime Docker image.

This adds support for the allow_other mount option in arv-mount to
make the Keep mount available to the container.

9 years agodocker: Build base container for Crunch jobs.
Brett Smith [Fri, 4 Apr 2014 16:00:57 +0000 (12:00 -0400)]
docker: Build base container for Crunch jobs.

9 years ago2525: refactor response printing
radhika [Wed, 7 May 2014 15:23:01 +0000 (11:23 -0400)]
2525: refactor response printing

9 years agoMerge branch '2744-update-dev-docs'
Tom Clegg [Wed, 7 May 2014 15:15:37 +0000 (11:15 -0400)]
Merge branch '2744-update-dev-docs'

closes #2744

9 years ago2525: update java sdk documentation to include ArvadosSDKJavaExampleWithPrompt
radhika [Wed, 7 May 2014 15:07:42 +0000 (11:07 -0400)]
2525: update java sdk documentation to include ArvadosSDKJavaExampleWithPrompt

9 years agoImprove tests: multiple values for "not in", check =, != results more carefully.
Tom Clegg [Wed, 7 May 2014 15:05:22 +0000 (11:05 -0400)]
Improve tests: multiple values for "not in", check =, != results more carefully.

9 years agoMerge branch 'master' into origin-2035-arv-mount-tags-folders
Peter Amstutz [Wed, 7 May 2014 15:05:21 +0000 (11:05 -0400)]
Merge branch 'master' into origin-2035-arv-mount-tags-folders

9 years ago2525: more testing. also "=" works in place of "is_a" for a filter.
radhika [Wed, 7 May 2014 14:55:03 +0000 (10:55 -0400)]
2525: more testing. also "=" works in place of "is_a" for a filter.

9 years agoEliminated build.sh and sed in favor of a common setup_header.py script which
Peter Amstutz [Wed, 7 May 2014 14:32:54 +0000 (10:32 -0400)]
Eliminated build.sh and sed in favor of a common setup_header.py script which
call popen to get the git revision directly.  Removed spurious server_pid > 0
and added except Execption: on run_test_server.py.

9 years ago2525: example param parsing
radhika [Wed, 7 May 2014 12:22:55 +0000 (08:22 -0400)]
2525: example param parsing

9 years ago2525: example
radhika [Wed, 7 May 2014 12:03:40 +0000 (08:03 -0400)]
2525: example

9 years agoMerge branch 'master' into 2525-java-sdk
radhika [Wed, 7 May 2014 10:49:07 +0000 (06:49 -0400)]
Merge branch 'master' into 2525-java-sdk

9 years ago2525: improve response printing in the examples for readability.
radhika [Wed, 7 May 2014 10:47:47 +0000 (06:47 -0400)]
2525: improve response printing in the examples for readability.

9 years agoMerge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage...
Misha Zatsman [Wed, 7 May 2014 06:15:18 +0000 (06:15 +0000)]
Merge branch 'master' of git.curoverse.com:arvados into 2638-add-cache-age-disk-usage-histogram-to-workbench

9 years agoClarify log methods page: say "log entry" instead of "log".
Tom Clegg [Wed, 7 May 2014 04:16:30 +0000 (00:16 -0400)]
Clarify log methods page: say "log entry" instead of "log".

9 years agoDocument "filters" feature. Add missing "!=" and "not in" operators.
Tom Clegg [Wed, 7 May 2014 04:12:12 +0000 (00:12 -0400)]
Document "filters" feature. Add missing "!=" and "not in" operators.

9 years agoAdded handler_test.go. (refs #2328)
Tim Pierce [Wed, 7 May 2014 04:04:25 +0000 (00:04 -0400)]
Added handler_test.go. (refs #2328)

9 years agoSplit out HTTP handler tests into their own file.
Tim Pierce [Wed, 7 May 2014 03:55:30 +0000 (23:55 -0400)]
Split out HTTP handler tests into their own file.

Refs #2328

9 years agoRequire enforce_permissions and API token as necessary.
Tim Pierce [Wed, 7 May 2014 03:40:59 +0000 (23:40 -0400)]
Require enforce_permissions and API token as necessary.

Unqualified /index requests require enforce_permissions to be enabled
and an API token to be supplied with the request.

SignLocator should return an unsigned locator if no API token was
supplied.

Refs #2328

9 years agoRefuse to run rake tasks without "bundle exec".
Tom Clegg [Wed, 7 May 2014 03:15:40 +0000 (23:15 -0400)]
Refuse to run rake tasks without "bundle exec".

Otherwise you can accidentally load (or dump) schemas without having
the pg_power gem loaded, which will leave you with incorrect indexes
in your database (or schema.rb).