arvados.git
10 years ago2352: Update arv-run-pipeline-instance to handle RunningOnClient and Paused states
radhika [Fri, 2 May 2014 16:09:31 +0000 (12:09 -0400)]
2352: Update arv-run-pipeline-instance to handle RunningOnClient and Paused states

10 years agoRefactored directory handling a bit in fuse to better accomodate other virtual
Peter Amstutz [Fri, 2 May 2014 15:09:46 +0000 (11:09 -0400)]
Refactored directory handling a bit in fuse to better accomodate other virtual
directory types, and added virtual directories for tags (untested).  Existing
tests pass, need to write new tests for tag directories.

10 years agoFix name_for method name.
Tom Clegg [Fri, 2 May 2014 14:34:10 +0000 (10:34 -0400)]
Fix name_for method name.

10 years agoFix crash if item has no name (backported from 1970-folder-view)
Tom Clegg [Fri, 2 May 2014 14:32:52 +0000 (10:32 -0400)]
Fix crash if item has no name (backported from 1970-folder-view)

10 years agoFix for interaction between 'select' and 'order' (SQL requires that order
Peter Amstutz [Fri, 2 May 2014 14:12:25 +0000 (10:12 -0400)]
Fix for interaction between 'select' and 'order' (SQL requires that order
fields show up in select when doing select distinct; readable_by does 'select distinct' by default to avoid duplicate rows).

10 years agoUse class_for_display more.
Tom Clegg [Fri, 2 May 2014 02:58:20 +0000 (22:58 -0400)]
Use class_for_display more.

10 years agoAdd folder list to left nav.
Tom Clegg [Fri, 2 May 2014 02:54:40 +0000 (22:54 -0400)]
Add folder list to left nav.

10 years agoMerge branch '2640-folder-api' into 1970-folder-view
Tom Clegg [Fri, 2 May 2014 02:24:06 +0000 (22:24 -0400)]
Merge branch '2640-folder-api' into 1970-folder-view

10 years agoAdd "Copy selections to current folder" button to selection drop-down.
Tom Clegg [Fri, 2 May 2014 02:23:57 +0000 (22:23 -0400)]
Add "Copy selections to current folder" button to selection drop-down.

10 years agoName links do not need to be owned by tail_uuid.
Tom Clegg [Fri, 2 May 2014 02:20:28 +0000 (22:20 -0400)]
Name links do not need to be owned by tail_uuid.

10 years agoMerge branch '2640-folder-api' into 1970-folder-view
Tom Clegg [Thu, 1 May 2014 23:57:07 +0000 (19:57 -0400)]
Merge branch '2640-folder-api' into 1970-folder-view

10 years agoAdd unique and valid name constraints.
Tom Clegg [Thu, 1 May 2014 22:01:37 +0000 (18:01 -0400)]
Add unique and valid name constraints.

10 years agoFix wrong infixes in fixture uuids.
Tom Clegg [Thu, 1 May 2014 21:43:50 +0000 (17:43 -0400)]
Fix wrong infixes in fixture uuids.

10 years agoMerge branch 'master' into 2640-folder-api
Tom Clegg [Thu, 1 May 2014 21:41:29 +0000 (17:41 -0400)]
Merge branch 'master' into 2640-folder-api

10 years agoMerge remote-tracking branch 'origin/master' into 2035-arv-mount-tags-folders
Peter Amstutz [Thu, 1 May 2014 20:26:09 +0000 (16:26 -0400)]
Merge remote-tracking branch 'origin/master' into 2035-arv-mount-tags-folders

Conflicts:
services/api/app/controllers/application_controller.rb

10 years agoAdded 'select' and 'distinct' parameters to discovery document. Improved
Peter Amstutz [Thu, 1 May 2014 18:54:51 +0000 (14:54 -0400)]
Added 'select' and 'distinct' parameters to discovery document.  Improved
select parameter to parse strings as json.

10 years agoUse partial unique index for name links.
Tom Clegg [Thu, 1 May 2014 18:38:46 +0000 (14:38 -0400)]
Use partial unique index for name links.

10 years agoFix log permission case broken in merge.
Tom Clegg [Thu, 1 May 2014 18:38:15 +0000 (14:38 -0400)]
Fix log permission case broken in merge.

10 years agoMerge branch 'master' into 2640-folder-api
Tom Clegg [Thu, 1 May 2014 18:26:40 +0000 (14:26 -0400)]
Merge branch 'master' into 2640-folder-api

Conflicts:
services/api/app/controllers/application_controller.rb
services/api/app/models/arvados_model.rb

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Thu, 1 May 2014 17:16:10 +0000 (13:16 -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.

10 years agoAnother go at migration, uses batched loading and transactions, should have
Peter Amstutz [Thu, 1 May 2014 17:15:54 +0000 (13:15 -0400)]
Another go at migration, uses batched loading and transactions, should have
improved performance.

10 years agoMerge branch '2328-signatures-for-integration-testing'
Tom Clegg [Thu, 1 May 2014 17:11:40 +0000 (13:11 -0400)]
Merge branch '2328-signatures-for-integration-testing'

refs #2328

10 years agoAdd partial unique index
Tom Clegg [Thu, 1 May 2014 17:11:22 +0000 (13:11 -0400)]
Add partial unique index

10 years agoAdd test cases that produce predictable signatures with fixed expiry times.
Tom Clegg [Thu, 1 May 2014 16:50:06 +0000 (12:50 -0400)]
Add test cases that produce predictable signatures with fixed expiry times.

10 years agoPut back missing parentheses.
Tom Clegg [Thu, 1 May 2014 16:03:02 +0000 (12:03 -0400)]
Put back missing parentheses.

10 years agoAdd "show object" button partials.
Tom Clegg [Thu, 1 May 2014 15:51:57 +0000 (11:51 -0400)]
Add "show object" button partials.

10 years agoAdd "Shared with" section to Sharing/Permissions panel.
Tom Clegg [Thu, 1 May 2014 15:50:51 +0000 (11:50 -0400)]
Add "Shared with" section to Sharing/Permissions panel.

10 years agoChanged Log.all.each to Log.find_each because Log.all loads all records (!) and
Peter Amstutz [Thu, 1 May 2014 14:06:19 +0000 (10:06 -0400)]
Changed Log.all.each to Log.find_each because Log.all loads all records (!) and
Log.find_each loads records in batches.  Hopefully this will enable migration
to run without being killed.

10 years agoFixed middleware customization so that it doesn't assume the presence or
Peter Amstutz [Thu, 1 May 2014 12:49:11 +0000 (08:49 -0400)]
Fixed middleware customization so that it doesn't assume the presence or
location of ActionDispatch::Static.

10 years agoUpdate tests for new layout.
Tom Clegg [Thu, 1 May 2014 03:25:32 +0000 (23:25 -0400)]
Update tests for new layout.

10 years agoDo not return Links with group contents
Tom Clegg [Thu, 1 May 2014 03:24:49 +0000 (23:24 -0400)]
Do not return Links with group contents

10 years ago2525: add apiVersion to constructor args
radhika [Thu, 1 May 2014 01:13:00 +0000 (21:13 -0400)]
2525: add apiVersion to constructor args

10 years agoMerge branch 'master' into 2525-java-sdk
radhika [Thu, 1 May 2014 00:01:13 +0000 (20:01 -0400)]
Merge branch 'master' into 2525-java-sdk

10 years agoSynchronize "show more" button style, turn off cards for now
Tom Clegg [Wed, 30 Apr 2014 22:45:41 +0000 (18:45 -0400)]
Synchronize "show more" button style, turn off cards for now

10 years agoFocus/hover side navs with white instead of arbitrary color.
Tom Clegg [Wed, 30 Apr 2014 22:33:12 +0000 (18:33 -0400)]
Focus/hover side navs with white instead of arbitrary color.

10 years agoRender cards with real content from first few items.
Tom Clegg [Wed, 30 Apr 2014 22:32:18 +0000 (18:32 -0400)]
Render cards with real content from first few items.

10 years agoFix up table columns, use explicit Open button instead of linking uuid
Tom Clegg [Wed, 30 Apr 2014 22:22:28 +0000 (18:22 -0400)]
Fix up table columns, use explicit Open button instead of linking uuid

10 years agoAdd integration test for folders.
Tom Clegg [Wed, 30 Apr 2014 20:57:16 +0000 (16:57 -0400)]
Add integration test for folders.

10 years agoFix "show all activity".
Tom Clegg [Wed, 30 Apr 2014 20:56:18 +0000 (16:56 -0400)]
Fix "show all activity".

10 years agoLess side-nav padding.
Tom Clegg [Wed, 30 Apr 2014 20:56:05 +0000 (16:56 -0400)]
Less side-nav padding.

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Wed, 30 Apr 2014 20:55:06 +0000 (16:55 -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.

10 years agoMerge branch 'origin-2608-websocket-event-bus-alt2'
Peter Amstutz [Wed, 30 Apr 2014 20:54:40 +0000 (16:54 -0400)]
Merge branch 'origin-2608-websocket-event-bus-alt2'

Conflicts:
services/api/app/models/arvados_model.rb
services/api/test/test_helper.rb

10 years agoMerge branch '2620-keep-serialize-io' (closes #2620)
Tim Pierce [Wed, 30 Apr 2014 20:22:03 +0000 (16:22 -0400)]
Merge branch '2620-keep-serialize-io' (closes #2620)

10 years agoMove up more useful navs, make activity text smaller.
Tom Clegg [Wed, 30 Apr 2014 20:13:13 +0000 (16:13 -0400)]
Move up more useful navs, make activity text smaller.

10 years agoFix tests to work with new css/layout.
Tom Clegg [Wed, 30 Apr 2014 20:09:32 +0000 (16:09 -0400)]
Fix tests to work with new css/layout.

10 years agoUse separator instead of drop-down for less-used nav links.
Tom Clegg [Wed, 30 Apr 2014 18:32:45 +0000 (14:32 -0400)]
Use separator instead of drop-down for less-used nav links.

10 years agoMerge branch '2640-folder-api' into 1970-folder-view
Tom Clegg [Wed, 30 Apr 2014 18:14:42 +0000 (14:14 -0400)]
Merge branch '2640-folder-api' into 1970-folder-view

10 years agoMerge branch 'master' into 2640-folder-api
Tom Clegg [Wed, 30 Apr 2014 18:14:15 +0000 (14:14 -0400)]
Merge branch 'master' into 2640-folder-api

10 years agoFix "create folder"
Tom Clegg [Wed, 30 Apr 2014 17:50:59 +0000 (13:50 -0400)]
Fix "create folder"

10 years agoFix no-side-nav mode.
Tom Clegg [Wed, 30 Apr 2014 17:37:34 +0000 (13:37 -0400)]
Fix no-side-nav mode.

10 years agoMove folders into a separate controller. Add description-editing.
Tom Clegg [Wed, 30 Apr 2014 15:43:26 +0000 (11:43 -0400)]
Move folders into a separate controller. Add description-editing.

10 years agoReplaced KeepVolumes with a VolumeManager interface.
Tim Pierce [Wed, 30 Apr 2014 17:49:08 +0000 (13:49 -0400)]
Replaced KeepVolumes with a VolumeManager interface.

A VolumeManager interface may be used to set policy for writing to a set
of Keep volumes. The sole implementation at present is RRVolumeManager,
which implements simple round-robin scheduling; other implementations
could include a manager which selects the least-loaded disk first, the
fastest one, the one with the fewest pending writes, etc. etc.

Refs #2620

10 years agoMerge branch '1904-api-reader-tokens'
Brett Smith [Wed, 30 Apr 2014 17:31:38 +0000 (13:31 -0400)]
Merge branch '1904-api-reader-tokens'

Closes #2702, #2707.

10 years agoapi: Accept JSON-formatted reader token array.
Brett Smith [Tue, 29 Apr 2014 21:41:48 +0000 (17:41 -0400)]
api: Accept JSON-formatted reader token array.

10 years agoapi: Introduce reader_tokens for extra access.
Brett Smith [Wed, 30 Apr 2014 17:26:15 +0000 (13:26 -0400)]
api: Introduce reader_tokens for extra access.

reader_tokens are API tokens whose read permissions will be added to
the primary API token's.  For actions that only read resources, like
:index and :show, you can now omit the API token as long as you
provide at least one reader_token.

This allows users to get access to one-off resources without
interrupting their primary session.  For example, Workbench will use
it to access Collections shared via secret link.

10 years agoapi: More consistency in test helper methods.
Brett Smith [Tue, 29 Apr 2014 14:20:28 +0000 (10:20 -0400)]
api: More consistency in test helper methods.

I keep accidentally rewriting the methods in ArvadosTestHelper, so I'm
putting them in one module loaded for all tests so I can use them
consistently.

10 years agoMerge remote-tracking branch 'origin/master' into origin-2608-websocket-event-bus...
Peter Amstutz [Wed, 30 Apr 2014 15:40:09 +0000 (11:40 -0400)]
Merge remote-tracking branch 'origin/master' into origin-2608-websocket-event-bus-alt2

Conflicts:
services/api/app/controllers/application_controller.rb
services/api/app/controllers/arvados/v1/schema_controller.rb
services/api/db/schema.rb

10 years agoMoved message handling out to a separate method for clarity in eventbus.
Peter Amstutz [Wed, 30 Apr 2014 15:26:58 +0000 (11:26 -0400)]
Moved message handling out to a separate method for clarity in eventbus.
Fixing name mismatch /websockets => /websocket in configuration
Added guards to various tests to ensure no more messages are processed after
the test is supposed to be done.

10 years agoShort-circuts #readable_by when the user is admin.
Peter Amstutz [Wed, 30 Apr 2014 14:56:22 +0000 (10:56 -0400)]
Short-circuts #readable_by when the user is admin.

10 years agoUnsubscribe message now takes filter definition instead of filter_id, reducing
Peter Amstutz [Wed, 30 Apr 2014 14:56:04 +0000 (10:56 -0400)]
Unsubscribe message now takes filter definition instead of filter_id, reducing
the state both the client and server have to maintain in order to support
unsubscribing.  Added code comments and updated tests.

10 years agoAdded code comments.
Peter Amstutz [Wed, 30 Apr 2014 14:54:37 +0000 (10:54 -0400)]
Added code comments.

10 years agoNow supports both websocket integrated (ARVADOS_WEBSOCKETS defined) and
Peter Amstutz [Wed, 30 Apr 2014 14:53:35 +0000 (10:53 -0400)]
Now supports both websocket integrated (ARVADOS_WEBSOCKETS defined) and
websocket-only (ARVADOS_WEBSOCKETS=ws-only) server modes.  Added comment to
application.yml.example about setting websocket_address when running in
websocket-only mode.

10 years ago525: Update the .classpath to reflect the latest trimmed down version of pom.xml
radhika [Wed, 30 Apr 2014 12:39:29 +0000 (08:39 -0400)]
525: Update the .classpath to reflect the latest trimmed down version of pom.xml

10 years ago2525: Java SDK does not need com.google.oauth-client library
radhika [Wed, 30 Apr 2014 11:40:35 +0000 (07:40 -0400)]
2525: Java SDK does not need com.google.oauth-client library

10 years agoMerge branch 'master' into 2525-java-sdk
radhika [Wed, 30 Apr 2014 10:53:13 +0000 (06:53 -0400)]
Merge branch 'master' into 2525-java-sdk

10 years ago2525: when using main method, print output to console.
radhika [Wed, 30 Apr 2014 10:52:17 +0000 (06:52 -0400)]
2525: when using main method, print output to console.

10 years agoFix route name in nodes.create, add basic functional test.
Tom Clegg [Wed, 30 Apr 2014 07:00:16 +0000 (03:00 -0400)]
Fix route name in nodes.create, add basic functional test.

10 years agoMake "create folder" button work
Tom Clegg [Wed, 30 Apr 2014 06:43:47 +0000 (02:43 -0400)]
Make "create folder" button work

10 years ago2525: README file to serve as getting started guide.
radhika [Wed, 30 Apr 2014 00:10:52 +0000 (20:10 -0400)]
2525: README file to serve as getting started guide.

10 years agoAdding more code documentation.
Peter Amstutz [Tue, 29 Apr 2014 21:10:37 +0000 (17:10 -0400)]
Adding more code documentation.

10 years agoRename owned_items to contents.
Tom Clegg [Tue, 29 Apr 2014 21:06:58 +0000 (17:06 -0400)]
Rename owned_items to contents.

10 years agoMerge branch '2640-folder-api' into 1970-folder-view
Tom Clegg [Tue, 29 Apr 2014 21:05:24 +0000 (17:05 -0400)]
Merge branch '2640-folder-api' into 1970-folder-view

10 years agoRename owned_items to contents, remove user method, update docs.
Tom Clegg [Tue, 29 Apr 2014 21:00:20 +0000 (17:00 -0400)]
Rename owned_items to contents, remove user method, update docs.

10 years ago2525: Minor updates to log4j configuration of log line format.
radhika [Tue, 29 Apr 2014 20:55:02 +0000 (16:55 -0400)]
2525: Minor updates to log4j configuration of log line format.

10 years agoapi: Make JSON the default response format.
Brett Smith [Tue, 29 Apr 2014 20:28:50 +0000 (16:28 -0400)]
api: Make JSON the default response format.

Rails assumes that the request should be sent in HTML unless a format
parameter or the Accept header expressly overrides that.  This change
makes JSON the default unless the request specified it would like
HTML.

10 years agoAdded support for :distinct to application controller. User can now specify a
Peter Amstutz [Tue, 29 Apr 2014 20:14:23 +0000 (16:14 -0400)]
Added support for :distinct to application controller.  User can now specify a
column and only get back rows with distinct values of that column.

10 years agoMerge branch '0000-ruby-client-config'
Tom Clegg [Tue, 29 Apr 2014 20:01:20 +0000 (16:01 -0400)]
Merge branch '0000-ruby-client-config'

10 years ago2525: Add ArvadosSDKJavaUser.java to serve as an example implementation of SDK usage...
radhika [Tue, 29 Apr 2014 19:50:49 +0000 (15:50 -0400)]
2525: Add ArvadosSDKJavaUser.java to serve as an example implementation of SDK usage example.

10 years agoAdded ability to select which fields to return, instead of always returning all fields.
Peter Amstutz [Tue, 29 Apr 2014 19:35:23 +0000 (15:35 -0400)]
Added ability to select which fields to return, instead of always returning all fields.

10 years agoIncorporating code review comments (refs #2620)
Tim Pierce [Tue, 29 Apr 2014 19:24:03 +0000 (15:24 -0400)]
Incorporating code review comments (refs #2620)

* use filepath.Join to build file paths instead of fmt.Sprintf
* use ioutil.ReadAll to ensure that we read the whole file

10 years ago2525: What was that typo!!
radhika [Tue, 29 Apr 2014 18:05:03 +0000 (14:05 -0400)]
2525: What was that typo!!

10 years agoMerge branch '1969-persistent-switch'
Tom Clegg [Tue, 29 Apr 2014 17:56:21 +0000 (13:56 -0400)]
Merge branch '1969-persistent-switch'

closes #1969

10 years ago2525: Use log4j for logging from java SDK
radhika [Tue, 29 Apr 2014 17:28:32 +0000 (13:28 -0400)]
2525: Use log4j for logging from java SDK

10 years agoReplace radio button group with a single click-to-toggle button.
Tom Clegg [Tue, 29 Apr 2014 17:02:28 +0000 (13:02 -0400)]
Replace radio button group with a single click-to-toggle button.

10 years agoMerge branch 'master' into 1969-persistent-switch
Tom Clegg [Tue, 29 Apr 2014 15:58:33 +0000 (11:58 -0400)]
Merge branch 'master' into 1969-persistent-switch

10 years agoFix error reporting, catch "=foo" in config file, add dev doc.
Tom Clegg [Tue, 29 Apr 2014 15:10:11 +0000 (11:10 -0400)]
Fix error reporting, catch "=foo" in config file, add dev doc.

10 years ago2525: Add pipeline template create testing. Use maven resources for input files.
radhika [Tue, 29 Apr 2014 13:14:18 +0000 (09:14 -0400)]
2525: Add pipeline template create testing. Use maven resources for input files.

10 years ago2525: Address multithreading concerns in the sdk.
radhika [Tue, 29 Apr 2014 12:20:04 +0000 (08:20 -0400)]
2525: Address multithreading concerns in the sdk.

10 years ago2525: Add sdk/java/target to gitignore list
radhika [Tue, 29 Apr 2014 11:50:57 +0000 (07:50 -0400)]
2525: Add sdk/java/target to gitignore list

10 years ago2525: Cleanup and additional tests.
radhika [Tue, 29 Apr 2014 11:48:45 +0000 (07:48 -0400)]
2525: Cleanup and additional tests.

10 years ago2525 - Arvados Java SDK. Eclipse project file. Since we are using maven, eclipse...
radhika [Tue, 29 Apr 2014 04:48:41 +0000 (00:48 -0400)]
2525 - Arvados Java SDK. Eclipse project file. Since we are using maven, eclipse users may find it hard to setup eclipse project without this file.

10 years ago2525 - Arvados Java SDK. API discovery and call methods working. Need logging, furthe...
radhika [Tue, 29 Apr 2014 04:46:14 +0000 (00:46 -0400)]
2525 - Arvados Java SDK. API discovery and call methods working. Need logging, further cleanup, and more testing.

10 years agoMerge branch '2640-folder-api' into 1970-folder-view
Tom Clegg [Tue, 29 Apr 2014 04:38:22 +0000 (00:38 -0400)]
Merge branch '2640-folder-api' into 1970-folder-view

10 years agoSkip UserAgreement in owned_items. They are just collections again.
Tom Clegg [Tue, 29 Apr 2014 04:37:53 +0000 (00:37 -0400)]
Skip UserAgreement in owned_items. They are just collections again.

10 years agoAdd folders page, backed by groups.
Tom Clegg [Tue, 29 Apr 2014 04:37:01 +0000 (00:37 -0400)]
Add folders page, backed by groups.

10 years agoAdd sb-admin layout.
Tom Clegg [Tue, 29 Apr 2014 04:00:35 +0000 (00:00 -0400)]
Add sb-admin layout.

10 years agoShow folder contents with editable names.
Tom Clegg [Mon, 28 Apr 2014 23:30:35 +0000 (19:30 -0400)]
Show folder contents with editable names.

10 years agoapi: Support filters in API client auths index.
Brett Smith [Mon, 28 Apr 2014 17:01:18 +0000 (13:01 -0400)]
api: Support filters in API client auths index.

Per comments on Refs #1904.  filters is generally the preferred way to
do searching now.  I maintained existing limits on what can be
searched with this method.

10 years agoapi: Support scope searching in API token index.
Brett Smith [Wed, 23 Apr 2014 20:15:37 +0000 (16:15 -0400)]
api: Support scope searching in API token index.

10 years agoapi: Migrate VM auth scopes to new system.
Brett Smith [Mon, 28 Apr 2014 18:01:53 +0000 (14:01 -0400)]
api: Migrate VM auth scopes to new system.

VirtualMachinesController was the only one doing anything special with
API token scopes before we provided the more general-purpose system.
This commit removes its specialized code, and provides a database
migration to convert those specialized scopes to the general-purpose
schema.