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
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
Tom Clegg [Fri, 17 Jan 2014 20:19:34 +0000 (12:19 -0800)]
Use render_error instead of custom error logic in update 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
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
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
Peter Amstutz [Thu, 16 Jan 2014 21:06:14 +0000 (16:06 -0500)]
Merge branch 'master' into 1880-check-duplicate-public-key
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)
Peter Amstutz [Thu, 16 Jan 2014 18:38:44 +0000 (13:38 -0500)]
Added validate step, needs testing
Tom Clegg [Thu, 16 Jan 2014 17:12:52 +0000 (09:12 -0800)]
Remove boilerplate comments and unused test fixtures.
refs #1696
Peter Amstutz [Thu, 16 Jan 2014 13:59:42 +0000 (08:59 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
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
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.)
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
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
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.
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.
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.
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
Peter Amstutz [Wed, 15 Jan 2014 19:07:30 +0000 (14:07 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
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
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
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
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
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.
Peter Amstutz [Wed, 15 Jan 2014 17:16:11 +0000 (12:16 -0500)]
Story 1879 "log" link on dashboard links directly to log file.
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
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
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
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
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.
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
Tom Clegg [Tue, 14 Jan 2014 21:37:30 +0000 (13:37 -0800)]
Obey permissions when retrieving object by UUID.
closes #1871
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
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
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
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.
Peter Amstutz [Tue, 14 Jan 2014 14:20:03 +0000 (09:20 -0500)]
Merge branch '1748-workbench-view-files'
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.
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.
Tom Clegg [Tue, 14 Jan 2014 01:10:46 +0000 (17:10 -0800)]
Merge branch '1499-workbench-tags'
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
Peter Amstutz [Tue, 14 Jan 2014 00:50:05 +0000 (19:50 -0500)]
Merged 1862-show-object-links into master
Tom Clegg [Mon, 13 Jan 2014 22:33:06 +0000 (14:33 -0800)]
Merge branch '1499-workbench-tags'
closes #1499
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
Tom Clegg [Mon, 13 Jan 2014 21:48:33 +0000 (13:48 -0800)]
Add collection search box on home page.
refs #1499
Tom Clegg [Mon, 13 Jan 2014 21:34:18 +0000 (13:34 -0800)]
Use symbol keys to access request parameters.
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
Tom Clegg [Mon, 13 Jan 2014 18:13:19 +0000 (10:13 -0800)]
Unescape filenames from manifests. refs #1849
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
Tom Clegg [Mon, 13 Jan 2014 18:10:55 +0000 (10:10 -0800)]
Fix crash if no search parameter given.
refs #1499
Peter Amstutz [Mon, 13 Jan 2014 16:49:06 +0000 (11:49 -0500)]
Reworked Files tab of collection view a bit.
Peter Amstutz [Mon, 13 Jan 2014 16:36:25 +0000 (11:36 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Mon, 13 Jan 2014 16:17:00 +0000 (11:17 -0500)]
Finished improving rendering of UUIDs for now.
Peter Amstutz [Mon, 13 Jan 2014 15:17:03 +0000 (10:17 -0500)]
Merge commit '
030d673e455ac7fa92732eafe95f1db12f6a46b6' 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
Tom Clegg [Mon, 13 Jan 2014 08:56:26 +0000 (00:56 -0800)]
Add AJAX tag search box to collections.index page.
refs #1499
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
Peter Amstutz [Sat, 11 Jan 2014 02:16:11 +0000 (21:16 -0500)]
Still working on link naming
Peter Amstutz [Sat, 11 Jan 2014 00:09:18 +0000 (19:09 -0500)]
Improving link names
Tim Pierce [Fri, 10 Jan 2014 23:37:00 +0000 (18:37 -0500)]
Command-line clients use $HOME/.config/arvados for config settings.
Tom Clegg [Fri, 10 Jan 2014 22:15:15 +0000 (14:15 -0800)]
Add arv-tag to arvados-cli package
Peter Amstutz [Fri, 10 Jan 2014 22:10:29 +0000 (17:10 -0500)]
Typo fix
Tom Clegg [Fri, 10 Jan 2014 21:58:52 +0000 (13:58 -0800)]
Hide fetch_url column on repositories page. closes #1863
Tom Clegg [Fri, 10 Jan 2014 21:25:02 +0000 (13:25 -0800)]
Remove debug message
Tom Clegg [Fri, 10 Jan 2014 21:11:36 +0000 (13:11 -0800)]
Fix crash when a discovered parameter is not supplied. closes #1866
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)
Peter Amstutz [Fri, 10 Jan 2014 20:10:53 +0000 (15:10 -0500)]
Object pages now show incoming/outgoing links.
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.
Peter Amstutz [Fri, 10 Jan 2014 17:19:55 +0000 (12:19 -0500)]
Documentation tweaks based on Nadia's feedback.
Tim Pierce [Thu, 9 Jan 2014 23:16:56 +0000 (18:16 -0500)]
Merge branch '1530-arv-tag-commands'
Tim Pierce [Thu, 9 Jan 2014 23:14:21 +0000 (18:14 -0500)]
Complete `arv tag add' and `arv tag remove' support (fixes #1530)
Peter Amstutz [Tue, 7 Jan 2014 19:03:34 +0000 (14:03 -0500)]
Default redirect to workbench in production configuration to workbench.`hostname`
Tom Clegg [Mon, 6 Jan 2014 23:04:50 +0000 (15:04 -0800)]
Fix mime-type lookup.
refs #1813
Peter Amstutz [Thu, 2 Jan 2014 18:21:34 +0000 (13:21 -0500)]
Added redirect to config file.
Ward Vandewege [Thu, 9 Jan 2014 22:17:30 +0000 (17:17 -0500)]
Merge branch 'master' of git.curoverse.com:arvados
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.
Tom Clegg [Thu, 9 Jan 2014 17:02:58 +0000 (09:02 -0800)]
Add "Links" entry to Data menu. closes #1852
Tom Clegg [Thu, 9 Jan 2014 16:55:26 +0000 (08:55 -0800)]
Add "arv delete" example.
Peter Amstutz [Thu, 9 Jan 2014 17:09:45 +0000 (12:09 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Tom Clegg [Thu, 9 Jan 2014 17:02:58 +0000 (09:02 -0800)]
Add "Links" entry to Data menu. closes #1852
Peter Amstutz [Thu, 9 Jan 2014 17:02:04 +0000 (12:02 -0500)]
Tweaked user home template to make theming easier.
Tom Clegg [Thu, 9 Jan 2014 16:55:26 +0000 (08:55 -0800)]
Add "arv delete" example.
Tim Pierce [Wed, 8 Jan 2014 22:12:46 +0000 (17:12 -0500)]
Bug fixes (API requires request to be delivered in request_body)
Peter Amstutz [Wed, 8 Jan 2014 21:33:20 +0000 (16:33 -0500)]
Merge branch 'master' of git.clinicalfuture.com:arvados
Peter Amstutz [Wed, 8 Jan 2014 21:21:02 +0000 (16:21 -0500)]
Added theme support to workbench.
Tim Pierce [Wed, 8 Jan 2014 18:45:38 +0000 (13:45 -0500)]
Bug fixes.
Tom Clegg [Wed, 8 Jan 2014 18:14:53 +0000 (10:14 -0800)]
Fix up collection links 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.
Tom Clegg [Wed, 8 Jan 2014 18:05:33 +0000 (10:05 -0800)]
Fix check for whether adding response[:_profile] is safe. refs #1815
Peter Amstutz [Wed, 8 Jan 2014 13:39:01 +0000 (08:39 -0500)]
Merge branch '1788-support-and-feedback'
Tom Clegg [Wed, 8 Jan 2014 09:26:25 +0000 (01:26 -0800)]
Merge branch '1792-workbench-performance'
Tom Clegg [Wed, 8 Jan 2014 09:26:09 +0000 (01:26 -0800)]
Obey profiling_enabled config. refs #1815
Tom Clegg [Wed, 8 Jan 2014 09:16:50 +0000 (01:16 -0800)]
Use operating system's bundled CA certificates if available.
refs #1782
Tom Clegg [Wed, 8 Jan 2014 04:47:00 +0000 (20:47 -0800)]
Show some params in profiling output. 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
Tim Pierce [Tue, 7 Jan 2014 22:48:09 +0000 (17:48 -0500)]
Added 'add' and 'remove' functionality.
Peter Amstutz [Tue, 7 Jan 2014 22:16:16 +0000 (17:16 -0500)]
Missing period.
Peter Amstutz [Tue, 7 Jan 2014 22:10:28 +0000 (17:10 -0500)]
Added more links
Peter Amstutz [Tue, 7 Jan 2014 21:57:14 +0000 (16:57 -0500)]
Added mailing lists, irc