arvados.git
10 years agoReduce boilerplate on error messages.
Tom Clegg [Fri, 17 Jan 2014 20:47:09 +0000 (12:47 -0800)]
Reduce boilerplate on error messages.

"The error message [API 422]" instead of "#<RuntimeError: API error
422: The error message>"

refs #1880

10 years agoTweak error messages to render nicely as Rails "full messages".
Tom Clegg [Fri, 17 Jan 2014 20:20:21 +0000 (12:20 -0800)]
Tweak error messages to render nicely as Rails "full messages".

"Public key does not appear to be ..."

refs #1880

10 years agoUse render_error instead of custom error logic in update method.
Tom Clegg [Fri, 17 Jan 2014 20:19:34 +0000 (12:19 -0800)]
Use render_error instead of custom error logic in update method.

10 years agoRespond with an error status if save fails during create method.
Tom Clegg [Fri, 17 Jan 2014 20:17:54 +0000 (12:17 -0800)]
Respond with an error status if save fails during create method.

refs #1880

10 years agoUse AJAX when adding a new authorized_key from the user home page.
Tom Clegg [Fri, 17 Jan 2014 20:06:34 +0000 (12:06 -0800)]
Use AJAX when adding a new authorized_key from the user home page.

On success, replace reminder box with a "Key added" message. On
failure, display the error message below the form.

refs #1880

10 years agoAdds validate :public_key_must_be_unique to AuthorizedKey which checks to see if...
Peter Amstutz [Thu, 16 Jan 2014 22:07:46 +0000 (17:07 -0500)]
Adds validate :public_key_must_be_unique to AuthorizedKey which checks to see if the key
a) looks like a ssh-rsa key
b) that the key isn't already in the table

10 years agoMerge branch 'master' into 1880-check-duplicate-public-key
Peter Amstutz [Thu, 16 Jan 2014 21:06:14 +0000 (16:06 -0500)]
Merge branch 'master' into 1880-check-duplicate-public-key

10 years agoFix "ignore client-provided values for protected auditing attributes"
Tom Clegg [Thu, 16 Jan 2014 20:57:40 +0000 (12:57 -0800)]
Fix "ignore client-provided values for protected auditing attributes"

(Broken by 976a754dc7fceee767322ae964c287b63595211f)

10 years agoAdded validate step, needs testing
Peter Amstutz [Thu, 16 Jan 2014 18:38:44 +0000 (13:38 -0500)]
Added validate step, needs testing

10 years agoRemove boilerplate comments and unused test fixtures.
Tom Clegg [Thu, 16 Jan 2014 17:12:52 +0000 (09:12 -0800)]
Remove boilerplate comments and unused test fixtures.

refs #1696

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Thu, 16 Jan 2014 13:59:42 +0000 (08:59 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoFixed Python SDK to quote/unquote spaces when reading/writing manifests. Refs #1849
Peter Amstutz [Thu, 16 Jan 2014 13:59:12 +0000 (08:59 -0500)]
Fixed Python SDK to quote/unquote spaces when reading/writing manifests.  Refs #1849

10 years agoInactive users can get a list of Keep disks.
Tom Clegg [Wed, 15 Jan 2014 22:41:09 +0000 (14:41 -0800)]
Inactive users can get a list of Keep disks.

(Otherwise they cannot retrieve user agreements.)

10 years agoarv-get replaces spaces in get_prefix with \040 to match the manifest. Refs #1849
Peter Amstutz [Wed, 15 Jan 2014 20:20:53 +0000 (15:20 -0500)]
arv-get replaces spaces in get_prefix with \040 to match the manifest.  Refs #1849

10 years agoMerge branch '1510-arv-tag-unit-tests' of git.clinicalfuture.com:arvados into 1510...
Tim Pierce [Wed, 15 Jan 2014 19:37:45 +0000 (14:37 -0500)]
Merge branch '1510-arv-tag-unit-tests' of git.clinicalfuture.com:arvados into 1510-arv-tag-unit-tests

Conflicts:
sdk/cli/test/test_arv-tag.rb

10 years agoClean up tests with "assert_tag" method, remove non-working test. Fixes #1510.
Tim Pierce [Wed, 15 Jan 2014 19:33:28 +0000 (14:33 -0500)]
Clean up tests with "assert_tag" method, remove non-working test. Fixes #1510.

10 years agoAdding arv-tag unit tests.
Tim Pierce [Tue, 14 Jan 2014 22:23:34 +0000 (17:23 -0500)]
Adding arv-tag unit tests.

Also:
Fix return value for deleting multiple links.
Clean up arv-put unit test code.

10 years agoCommand-line clients use $HOME/.config/arvados for config settings.
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.

10 years agoLogging out now returns you to the login page, rather than an empty "you have logged...
Peter Amstutz [Wed, 15 Jan 2014 19:15:51 +0000 (14:15 -0500)]
Logging out now returns you to the login page, rather than an empty "you have logged out" page.  Refs #1865

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Wed, 15 Jan 2014 19:07:30 +0000 (14:07 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoMoves "add new item" button from bottom of the page to the top. Refs #1877
Peter Amstutz [Wed, 15 Jan 2014 19:07:11 +0000 (14:07 -0500)]
Moves "add new item" button from bottom of the page to the top.  Refs #1877

10 years agoDo not show user agreement inline unless site config says so. Remove
Tom Clegg [Wed, 15 Jan 2014 18:52:21 +0000 (10:52 -0800)]
Do not show user agreement inline unless site config says so. Remove
superfluous dialog box presentation, and use agreement filename as
page title if there is only one.

refs #1694

10 years agoFix user_agreements.sign when collection uuid has +size hint.
Tom Clegg [Wed, 15 Jan 2014 18:47:07 +0000 (10:47 -0800)]
Fix user_agreements.sign when collection uuid has +size hint.

refs #1694

10 years agoFix user_agreements_controller.table_name so generic list method works.
Tom Clegg [Wed, 15 Jan 2014 17:37:21 +0000 (09:37 -0800)]
Fix user_agreements_controller.table_name so generic list method works.

refs #1871

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Wed, 15 Jan 2014 17:16:41 +0000 (12:16 -0500)]
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 agoStory 1879 "log" link on dashboard links directly to log file.
Peter Amstutz [Wed, 15 Jan 2014 17:16:11 +0000 (12:16 -0500)]
Story 1879 "log" link on dashboard links directly to log file.

10 years agoFix incorrect find(), should have been find_by_uuid()
Tom Clegg [Wed, 15 Jan 2014 17:11:25 +0000 (09:11 -0800)]
Fix incorrect find(), should have been find_by_uuid()

refs #1871
amends 463e996ae5276dc41deca98cb444c802e6f5e251

10 years agoReload the target object before updating if it is marked read-only
Tom Clegg [Wed, 15 Jan 2014 17:07:00 +0000 (09:07 -0800)]
Reload the target object before updating if it is marked read-only
(e.g., it was retrieved using a join). Also, fix error response when
update is called on a non-existent object.

Prevents ActiveRecord::ReadOnlyRecord error.

refs #1871
amends 92d1022d103b58ddad0427736a776a27f198667e

10 years agoWith where={"any":["contains",X]}, search all text and string columns.
Tom Clegg [Wed, 15 Jan 2014 05:13:32 +0000 (21:13 -0800)]
With where={"any":["contains",X]}, search all text and string columns.

closes #1867

10 years agoIf a GET fails while looking up a friendly name, skip the hyperlink
Tom Clegg [Tue, 14 Jan 2014 22:41:54 +0000 (14:41 -0800)]
If a GET fails while looking up a friendly name, skip the hyperlink
instead of crashing.

Also, move the "choose a friendly name" logic from helper to model.

refs #1871

10 years agoAdding arv-tag unit tests.
Tim Pierce [Tue, 14 Jan 2014 22:23:34 +0000 (17:23 -0500)]
Adding arv-tag unit tests.

Also:
Fix return value for deleting multiple links.
Clean up arv-put unit test code.

10 years agoIn collections.create, set owner to root and add a permission link
Tom Clegg [Tue, 14 Jan 2014 22:12:59 +0000 (14:12 -0800)]
In collections.create, set owner to root and add a permission link
rather than setting owner to current_user. This gives the expected
behavior when two different users create identical collections: both
users can read the resulting object.

closes #1870

10 years agoObey permissions when retrieving object by UUID.
Tom Clegg [Tue, 14 Jan 2014 21:37:30 +0000 (13:37 -0800)]
Obey permissions when retrieving object by UUID.

closes #1871

10 years agoLowercase model name in discovery document, like the real parameter name.
Tom Clegg [Tue, 14 Jan 2014 16:37:50 +0000 (08:37 -0800)]
Lowercase model name in discovery document, like the real parameter name.

closes #1869

10 years agoFix sending resource body to server.
Tom Clegg [Tue, 14 Jan 2014 16:35:29 +0000 (08:35 -0800)]
Fix sending resource body to server.

Resolves "Error: #<ArgumentError: No {model} hash provided with request>"

refs #1869

10 years agoMerge branch '1510-arv-tag-unit-tests' of git.clinicalfuture.com:arvados into 1510...
Tim Pierce [Tue, 14 Jan 2014 15:23:25 +0000 (10:23 -0500)]
Merge branch '1510-arv-tag-unit-tests' of git.clinicalfuture.com:arvados into 1510-arv-tag-unit-tests

10 years agoCommand-line clients use $HOME/.config/arvados for config settings.
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.

10 years agoMerge branch '1748-workbench-view-files'
Peter Amstutz [Tue, 14 Jan 2014 14:20:03 +0000 (09:20 -0500)]
Merge branch '1748-workbench-view-files'

10 years agoMoved "size" column to last and added SI order of magnitude suffixes instead of showi...
Peter Amstutz [Tue, 14 Jan 2014 14:17:12 +0000 (09:17 -0500)]
Moved "size" column to last and added SI order of magnitude suffixes instead of showing raw byte counts.

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Tue, 14 Jan 2014 13:34:47 +0000 (08:34 -0500)]
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 '1499-workbench-tags'
Tom Clegg [Tue, 14 Jan 2014 01:10:46 +0000 (17:10 -0800)]
Merge branch '1499-workbench-tags'

10 years agoSwitch to rounded search box style on collections page, to match home page.
Tom Clegg [Tue, 14 Jan 2014 01:09:23 +0000 (17:09 -0800)]
Switch to rounded search box style on collections page, to match home page.

refs #1499

10 years agoMerged 1862-show-object-links into master
Peter Amstutz [Tue, 14 Jan 2014 00:50:05 +0000 (19:50 -0500)]
Merged 1862-show-object-links into master

10 years agoMerge branch '1499-workbench-tags'
Tom Clegg [Mon, 13 Jan 2014 22:33:06 +0000 (14:33 -0800)]
Merge branch '1499-workbench-tags'

closes #1499

10 years agoFix test setup.
Tom Clegg [Mon, 13 Jan 2014 22:29:28 +0000 (14:29 -0800)]
Fix test setup.

Even if ./tmp/ already exists, we might need mkdir ./tmp/empty_dir

10 years agoAdd collection search box on home page.
Tom Clegg [Mon, 13 Jan 2014 21:48:33 +0000 (13:48 -0800)]
Add collection search box on home page.

refs #1499

10 years agoUse symbol keys to access request parameters.
Tom Clegg [Mon, 13 Jan 2014 21:34:18 +0000 (13:34 -0800)]
Use symbol keys to access request parameters.

10 years agoAllow admin client to create API tokens for other users.
Tom Clegg [Mon, 13 Jan 2014 18:46:20 +0000 (10:46 -0800)]
Allow admin client to create API tokens for other users.

refs #1680

10 years agoUnescape filenames from manifests. refs #1849
Tom Clegg [Mon, 13 Jan 2014 18:13:19 +0000 (10:13 -0800)]
Unescape filenames from manifests. refs #1849

10 years agoUpdate query in browser location bar when showing search results.
Tom Clegg [Mon, 13 Jan 2014 18:11:40 +0000 (10:11 -0800)]
Update query in browser location bar when showing search results.

refs #1499

10 years agoFix crash if no search parameter given.
Tom Clegg [Mon, 13 Jan 2014 18:10:55 +0000 (10:10 -0800)]
Fix crash if no search parameter given.

refs #1499

10 years agoReworked Files tab of collection view a bit.
Peter Amstutz [Mon, 13 Jan 2014 16:49:06 +0000 (11:49 -0500)]
Reworked Files tab of collection view a bit.

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Mon, 13 Jan 2014 16:36:25 +0000 (11:36 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoFinished improving rendering of UUIDs for now.
Peter Amstutz [Mon, 13 Jan 2014 16:17:00 +0000 (11:17 -0500)]
Finished improving rendering of UUIDs for now.

10 years agoMerge commit '030d673e455ac7fa92732eafe95f1db12f6a46b6' into 1862-show-object-links
Peter Amstutz [Mon, 13 Jan 2014 15:17:03 +0000 (10:17 -0500)]
Merge commit '030d673e455ac7fa92732eafe95f1db12f6a46b6' into 1862-show-object-links

10 years agoMerge remote-tracking branch 'origin' into 1862-show-object-links
Peter Amstutz [Mon, 13 Jan 2014 15:10:39 +0000 (10:10 -0500)]
Merge remote-tracking branch 'origin' into 1862-show-object-links

10 years agoAdd AJAX tag search box to collections.index page.
Tom Clegg [Mon, 13 Jan 2014 08:56:26 +0000 (00:56 -0800)]
Add AJAX tag search box to collections.index page.

refs #1499

10 years agoUpdate collections index to match front page table, and add tags column.
Tom Clegg [Mon, 13 Jan 2014 08:23:28 +0000 (00:23 -0800)]
Update collections index to match front page table, and add tags column.

refs #1511

10 years agoStill working on link naming
Peter Amstutz [Sat, 11 Jan 2014 02:16:11 +0000 (21:16 -0500)]
Still working on link naming

10 years agoImproving link names
Peter Amstutz [Sat, 11 Jan 2014 00:09:18 +0000 (19:09 -0500)]
Improving link names

10 years agoCommand-line clients use $HOME/.config/arvados for config settings.
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.

10 years agoAdd arv-tag to arvados-cli package
Tom Clegg [Fri, 10 Jan 2014 22:15:15 +0000 (14:15 -0800)]
Add arv-tag to arvados-cli package

10 years agoTypo fix
Peter Amstutz [Fri, 10 Jan 2014 22:10:29 +0000 (17:10 -0500)]
Typo fix

10 years agoHide fetch_url column on repositories page. closes #1863
Tom Clegg [Fri, 10 Jan 2014 21:58:52 +0000 (13:58 -0800)]
Hide fetch_url column on repositories page. closes #1863

10 years agoRemove debug message
Tom Clegg [Fri, 10 Jan 2014 21:25:02 +0000 (13:25 -0800)]
Remove debug message

10 years agoFix crash when a discovered parameter is not supplied. closes #1866
Tom Clegg [Fri, 10 Jan 2014 21:11:36 +0000 (13:11 -0800)]
Fix crash when a discovered parameter is not supplied. closes #1866

10 years agoWorkbench explicitly requests 1000 results instead of getting the default
Peter Amstutz [Fri, 10 Jan 2014 20:35:29 +0000 (15:35 -0500)]
Workbench explicitly requests 1000 results instead of getting the default
result list from the API server (which is only 100 results)

10 years agoObject pages now show incoming/outgoing links.
Peter Amstutz [Fri, 10 Jan 2014 20:10:53 +0000 (15:10 -0500)]
Object pages now show incoming/outgoing links.

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Fri, 10 Jan 2014 17:21:25 +0000 (12:21 -0500)]
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 agoDocumentation tweaks based on Nadia's feedback.
Peter Amstutz [Fri, 10 Jan 2014 17:19:55 +0000 (12:19 -0500)]
Documentation tweaks based on Nadia's feedback.

10 years agoMerge branch '1530-arv-tag-commands'
Tim Pierce [Thu, 9 Jan 2014 23:16:56 +0000 (18:16 -0500)]
Merge branch '1530-arv-tag-commands'

10 years agoComplete `arv tag add' and `arv tag remove' support (fixes #1530)
Tim Pierce [Thu, 9 Jan 2014 23:14:21 +0000 (18:14 -0500)]
Complete `arv tag add' and `arv tag remove' support (fixes #1530)

10 years agoDefault redirect to workbench in production configuration to workbench.`hostname`
Peter Amstutz [Tue, 7 Jan 2014 19:03:34 +0000 (14:03 -0500)]
Default redirect to workbench in production configuration to workbench.`hostname`

10 years agoFix mime-type lookup.
Tom Clegg [Mon, 6 Jan 2014 23:04:50 +0000 (15:04 -0800)]
Fix mime-type lookup.

refs #1813

10 years agoAdded redirect to config file.
Peter Amstutz [Thu, 2 Jan 2014 18:21:34 +0000 (13:21 -0500)]
Added redirect to config file.

10 years agoMerge branch 'master' of git.curoverse.com:arvados
Ward Vandewege [Thu, 9 Jan 2014 22:17:30 +0000 (17:17 -0500)]
Merge branch 'master' of git.curoverse.com:arvados

10 years agoRemove hardcoded references to Arvados Workbench, replace with
Ward Vandewege [Thu, 9 Jan 2014 22:13:20 +0000 (17:13 -0500)]
Remove hardcoded references to Arvados Workbench, replace with
config.site_name. Also improve wording on the welcome page.

10 years agoAdd "Links" entry to Data menu. closes #1852
Tom Clegg [Thu, 9 Jan 2014 17:02:58 +0000 (09:02 -0800)]
Add "Links" entry to Data menu. closes #1852

10 years agoAdd "arv delete" example.
Tom Clegg [Thu, 9 Jan 2014 16:55:26 +0000 (08:55 -0800)]
Add "arv delete" example.

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Thu, 9 Jan 2014 17:09:45 +0000 (12:09 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoAdd "Links" entry to Data menu. closes #1852
Tom Clegg [Thu, 9 Jan 2014 17:02:58 +0000 (09:02 -0800)]
Add "Links" entry to Data menu. closes #1852

10 years agoTweaked user home template to make theming easier.
Peter Amstutz [Thu, 9 Jan 2014 17:02:04 +0000 (12:02 -0500)]
Tweaked user home template to make theming easier.

10 years agoAdd "arv delete" example.
Tom Clegg [Thu, 9 Jan 2014 16:55:26 +0000 (08:55 -0800)]
Add "arv delete" example.

10 years agoBug fixes (API requires request to be delivered in request_body)
Tim Pierce [Wed, 8 Jan 2014 22:12:46 +0000 (17:12 -0500)]
Bug fixes (API requires request to be delivered in request_body)

10 years agoMerge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Wed, 8 Jan 2014 21:33:20 +0000 (16:33 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados

10 years agoAdded theme support to workbench.
Peter Amstutz [Wed, 8 Jan 2014 21:21:02 +0000 (16:21 -0500)]
Added theme support to workbench.

10 years agoBug fixes.
Tim Pierce [Wed, 8 Jan 2014 18:45:38 +0000 (13:45 -0500)]
Bug fixes.

10 years agoFix up collection links on workbench home page.
Tom Clegg [Wed, 8 Jan 2014 18:14:53 +0000 (10:14 -0800)]
Fix up collection links on workbench home page.

10 years agoFix up "age" column contents on workbench home page.
Tom Clegg [Wed, 8 Jan 2014 18:09:34 +0000 (10:09 -0800)]
Fix up "age" column contents on workbench home page.

10 years agoFix check for whether adding response[:_profile] is safe. refs #1815
Tom Clegg [Wed, 8 Jan 2014 18:05:33 +0000 (10:05 -0800)]
Fix check for whether adding response[:_profile] is safe. refs #1815

10 years agoMerge branch '1788-support-and-feedback'
Peter Amstutz [Wed, 8 Jan 2014 13:39:01 +0000 (08:39 -0500)]
Merge branch '1788-support-and-feedback'

10 years agoMerge branch '1792-workbench-performance'
Tom Clegg [Wed, 8 Jan 2014 09:26:25 +0000 (01:26 -0800)]
Merge branch '1792-workbench-performance'

10 years agoObey profiling_enabled config. refs #1815
Tom Clegg [Wed, 8 Jan 2014 09:26:09 +0000 (01:26 -0800)]
Obey profiling_enabled config. refs #1815

10 years agoUse operating system's bundled CA certificates if available.
Tom Clegg [Wed, 8 Jan 2014 09:16:50 +0000 (01:16 -0800)]
Use operating system's bundled CA certificates if available.

refs #1782

10 years agoShow some params in profiling output. refs #1815
Tom Clegg [Wed, 8 Jan 2014 04:47:00 +0000 (20:47 -0800)]
Show some params in profiling output. refs #1815

10 years agoShow profile data in log if config.profiling_enabled. refs #1815
Tom Clegg [Wed, 8 Jan 2014 04:22:04 +0000 (20:22 -0800)]
Show profile data in log if config.profiling_enabled. refs #1815

10 years agoAdded 'add' and 'remove' functionality.
Tim Pierce [Tue, 7 Jan 2014 22:48:09 +0000 (17:48 -0500)]
Added 'add' and 'remove' functionality.

10 years agoMissing period.
Peter Amstutz [Tue, 7 Jan 2014 22:16:16 +0000 (17:16 -0500)]
Missing period.

10 years agoAdded more links
Peter Amstutz [Tue, 7 Jan 2014 22:10:28 +0000 (17:10 -0500)]
Added more links

10 years agoAdded mailing lists, irc
Peter Amstutz [Tue, 7 Jan 2014 21:57:14 +0000 (16:57 -0500)]
Added mailing lists, irc