Peter Amstutz [Tue, 20 Jan 2015 16:42:54 +0000 (11:42 -0500)]
4838: Set +x on all StreamReaderFiles
Brett Smith [Mon, 19 Jan 2015 20:27:42 +0000 (15:27 -0500)]
Merge branch '4840-workbench-selections-action-forms-wip'
Closes #4840, #4996.
Brett Smith [Thu, 15 Jan 2015 22:30:28 +0000 (17:30 -0500)]
4840: Workbench selection actions are submitted by POST.
The previous implementation could get 414 Request URI Too Long
responses by stuffing a large number of selections into the link href.
This commit sidesteps that problem by POSTing the data with a hidden
form instead. It's based on rails-ujs' strategy for handling links
with data-method that we were already using for some selection
actions, so it should be minimally disruptive.
Brett Smith [Thu, 15 Jan 2015 22:27:35 +0000 (17:27 -0500)]
4840: All Workbench selection links toggle dropdown.
Brett Smith [Mon, 5 Jan 2015 20:43:50 +0000 (15:43 -0500)]
4840: Restore checkbox to project Pipelines and Jobs tab.
Radhika Chippada [Fri, 16 Jan 2015 23:20:07 +0000 (18:20 -0500)]
closes #3686
Merge branch '3686-sharing-repositories'
Radhika Chippada [Fri, 16 Jan 2015 23:18:22 +0000 (18:18 -0500)]
3686: ensure Advanced is always the last pane even after adding the Sharing pane.
Radhika Chippada [Fri, 16 Jan 2015 21:06:12 +0000 (16:06 -0500)]
Merge branch 'master' into 3686-sharing-repositories
Tim Pierce [Fri, 16 Jan 2015 20:50:32 +0000 (15:50 -0500)]
Merge branch '4922-google-api-client-force-install'
Fixes #4922.
Tim Pierce [Fri, 16 Jan 2015 19:51:28 +0000 (14:51 -0500)]
4922: force google-api-python-client install
Install google-api-python-client with 'pip install -I' to fix the case
where the Docker image already has an older version of
google-api-python-client installed.
Tom Clegg [Fri, 16 Jan 2015 17:26:17 +0000 (12:26 -0500)]
Update bundle. refs #3021
Tom Clegg [Fri, 16 Jan 2015 06:37:58 +0000 (01:37 -0500)]
Merge branch '3021-workbench-perf' refs #3021
Tom Clegg [Fri, 16 Jan 2015 03:22:26 +0000 (22:22 -0500)]
3021: Reset API fixtures before running the first test case.
Tom Clegg [Fri, 16 Jan 2015 01:24:11 +0000 (20:24 -0500)]
3021: Do not drop/create API database at startup if run-tests.sh has done that for us.
Tom Clegg [Fri, 16 Jan 2015 01:22:19 +0000 (20:22 -0500)]
3021: Revert "3021: Do not drop/create API database at startup: run-tests.sh does that for us."
This reverts commit
591446b97754292031a4214f08039adebd56cfe8.
Tom Clegg [Thu, 15 Jan 2015 21:29:59 +0000 (16:29 -0500)]
3021: Merge branch 'master' into 3021-workbench-perf
Tom Clegg [Thu, 15 Jan 2015 17:50:11 +0000 (12:50 -0500)]
3021: Do not show user notifications on error pages.
Tom Clegg [Thu, 15 Jan 2015 17:42:59 +0000 (12:42 -0500)]
3021: Update Gemfile for Ruby SDK bugfix.
Brett Smith [Thu, 15 Jan 2015 17:00:13 +0000 (12:00 -0500)]
Merge branch '3835-pysdk-keep-exceptions-wip'
Closes #3835, #4972.
Tom Clegg [Thu, 15 Jan 2015 16:59:20 +0000 (11:59 -0500)]
3021: Remove reference to deleted speclist arg.
Brett Smith [Wed, 14 Jan 2015 20:22:24 +0000 (15:22 -0500)]
3835: PySDK raises NotFoundError when all Keep services report such.
Previously, we raised this error when >= 75% of services reported
such, as the most reasonable available cutoff to make the
distinction. Now that Keep exceptions include detailed information
about the error from each service, it seems useful to make this
threshold stricter, and only raise NotFoundError when we're sure
that's the problem. See further discussion from
<https://arvados.org/issues/3835#note-11>.
Brett Smith [Fri, 9 Jan 2015 18:15:07 +0000 (13:15 -0500)]
3835: Improve error reporting in PySDK Keep client.
* Create a KeepRequestError base exception to store information about
errors encountered when talking to Keep services, and include those
in the default formatting.
* Include Keep service error information in exceptions raised by the
Keep client.
Radhika Chippada [Thu, 15 Jan 2015 16:13:27 +0000 (11:13 -0500)]
Merge branch 'master' into 3686-sharing-repositories
Tom Clegg [Wed, 14 Jan 2015 22:33:18 +0000 (17:33 -0500)]
Reduce file_names limit to 2^12. refs #4523.
Radhika Chippada [Wed, 14 Jan 2015 20:34:50 +0000 (15:34 -0500)]
closes #4523
Merge branch '4523-search-index'
Radhika Chippada [Wed, 14 Jan 2015 20:21:03 +0000 (15:21 -0500)]
Merge branch '4523-search-index-TC' into 4523-search-index
Conflicts:
services/api/test/integration/collections_api_test.rb
Tom Clegg [Wed, 14 Jan 2015 19:41:39 +0000 (14:41 -0500)]
4523: Clear up manifest-signing vs. locator-signing.
Radhika Chippada [Wed, 14 Jan 2015 19:14:38 +0000 (14:14 -0500)]
4523: update signed_locator in test
Radhika Chippada [Wed, 14 Jan 2015 18:12:22 +0000 (13:12 -0500)]
Merge branch 'master' into 4523-search-index
Radhika Chippada [Wed, 14 Jan 2015 18:11:03 +0000 (13:11 -0500)]
4523: try to resolve column order by down and up migrations through VERSION=
20140817035914
Radhika Chippada [Wed, 14 Jan 2015 18:06:21 +0000 (13:06 -0500)]
4523: use filters instead of where for search
Radhika Chippada [Wed, 14 Jan 2015 17:54:41 +0000 (12:54 -0500)]
4523: check for a specific file name and stream names in file_names.
Brett Smith [Wed, 14 Jan 2015 17:47:38 +0000 (12:47 -0500)]
Python packages use python-daemon<2.
It's good to see python-daemon under active development, but they're
working out so many little issues so rapidly that we're having a hard
time keeping on top of them in our builds. We're pinning the version
until things settle down a little. No issue #.
Radhika Chippada [Wed, 14 Jan 2015 16:24:20 +0000 (11:24 -0500)]
4523: update migration script to use execute instead of update_sql so that output is not printed to console.
Radhika Chippada [Wed, 14 Jan 2015 16:15:33 +0000 (11:15 -0500)]
Merge branch 'master' into 4523-search-index
Radhika Chippada [Wed, 14 Jan 2015 16:14:56 +0000 (11:14 -0500)]
closes #3756
Merge branch '3756-show-user-button'
Radhika Chippada [Wed, 14 Jan 2015 16:13:49 +0000 (11:13 -0500)]
Merge branch 'master' into 3756-show-user-button
Radhika Chippada [Wed, 14 Jan 2015 16:12:47 +0000 (11:12 -0500)]
Merge branch 'master' into 3686-sharing-repositories
Radhika Chippada [Wed, 14 Jan 2015 16:10:27 +0000 (11:10 -0500)]
3686: Support sharing pane in repository show page.
Refactor current project sharing work into application area and reuse it for sharing repositories.
Refactor methods used by tests into helper and reuse in repository sharing tests.
Tom Clegg [Tue, 13 Jan 2015 21:49:50 +0000 (16:49 -0500)]
3021: Merge branch 'master' into 3021-workbench-perf
Peter Amstutz [Tue, 13 Jan 2015 20:15:56 +0000 (15:15 -0500)]
Merge branch '4968-refresh-project-dir' closes #4968
Radhika Chippada [Tue, 13 Jan 2015 18:39:29 +0000 (13:39 -0500)]
4523: update migrate script to use batch size and instance method on collection.
Radhika Chippada [Tue, 13 Jan 2015 17:03:56 +0000 (12:03 -0500)]
Merge branch 'master' into 4523-search-index
Tom Clegg [Tue, 13 Jan 2015 15:33:53 +0000 (10:33 -0500)]
3021: Do not check user notifications unless they are going to be displayed.
Tom Clegg [Tue, 13 Jan 2015 15:18:16 +0000 (10:18 -0500)]
3021: Add web-inspectable profiling mode.
* Run Workbench with environment variable ENABLE_PROFILING=yes. Timing
figures should appear at the top left of each page. Click to get
more detail.
* Visit {workbench-uri}?pp=flamegraph to see a profiling graph instead
of the requested page itself.
* More: https://github.com/MiniProfiler/rack-mini-profiler
Peter Amstutz [Mon, 12 Jan 2015 21:56:09 +0000 (16:56 -0500)]
Explicitly specify ruby 2.1 in "rvm alias" no issue #
Peter Amstutz [Fri, 9 Jan 2015 02:26:32 +0000 (21:26 -0500)]
4968: Fix polling refresh on project directories
Radhika Chippada [Mon, 12 Jan 2015 19:01:40 +0000 (14:01 -0500)]
3756: do not show 'Show' button in admin user's own row.
Peter Amstutz [Mon, 12 Jan 2015 18:39:34 +0000 (13:39 -0500)]
Merge branch '4924-arv-edit-error-handling' closes #4924
Peter Amstutz [Mon, 12 Jan 2015 18:38:45 +0000 (13:38 -0500)]
4924: Collapse JSON rescue blocks to reduce duplicate code.
Peter Amstutz [Mon, 12 Jan 2015 17:23:40 +0000 (12:23 -0500)]
4924: Update prints uuid from results, not the uuid originally specified.
Catch Oj::ParseError as well as JSON::ParserError. Titleize only HTTP status
messages, not every error message.
Peter Amstutz [Mon, 12 Jan 2015 15:33:36 +0000 (10:33 -0500)]
4924: Rename HTTPResponse to ArvadosAPIError. Use NET::HTTP Response titles
for error codes if no other error is available.
Tom Clegg [Sun, 11 Jan 2015 19:55:21 +0000 (14:55 -0500)]
3021: Optimize manifest parsing.
Tom Clegg [Sun, 11 Jan 2015 08:01:26 +0000 (03:01 -0500)]
3021: Update bundle.
Tom Clegg [Sun, 11 Jan 2015 07:36:35 +0000 (02:36 -0500)]
3021: Do not drop/create API database at startup: run-tests.sh does that for us.
Tom Clegg [Sun, 11 Jan 2015 07:35:29 +0000 (02:35 -0500)]
3021: Fix races in performance test.
Radhika Chippada [Sat, 10 Jan 2015 02:28:04 +0000 (21:28 -0500)]
4523: revert test update now that text attributes in non-collections objects are not omitted from search index.
Radhika Chippada [Sat, 10 Jan 2015 02:07:06 +0000 (21:07 -0500)]
Merge branch 'master' into 4523-search-index
Radhika Chippada [Fri, 9 Jan 2015 23:11:10 +0000 (18:11 -0500)]
4523: include stream names in file_names
Radhika Chippada [Fri, 9 Jan 2015 23:00:07 +0000 (18:00 -0500)]
4523: exclude manifest_text from collection -> searchable_columns and leave the other text columns for other objects.
Tom Clegg [Fri, 9 Jan 2015 22:46:15 +0000 (17:46 -0500)]
Add a magic pseudoclass to body, instead of appending a magic div. Selenium seems to like this better. refs #3021
Tom Clegg [Fri, 9 Jan 2015 22:45:23 +0000 (17:45 -0500)]
Diagnostics really do need selenium. refs #3021
Tom Clegg [Fri, 9 Jan 2015 22:09:28 +0000 (17:09 -0500)]
Make angular shim minify-safe. No issue #
Radhika Chippada [Fri, 9 Jan 2015 21:49:36 +0000 (16:49 -0500)]
Merge branch 'master' into 4523-search-index
Peter Amstutz [Fri, 9 Jan 2015 20:37:42 +0000 (15:37 -0500)]
4924: Distinguish between errors the user can do something about (syntax errors
or well-formed server errors) and errors that the user probably can't recover
from (everything else.) Prints "Updated object" on success.
Radhika Chippada [Fri, 9 Jan 2015 02:51:14 +0000 (21:51 -0500)]
4523: update migration script to use sql to set file_names
Tom Clegg [Thu, 8 Jan 2015 21:22:40 +0000 (16:22 -0500)]
3021: Fix phantomjs races by waiting for pages to appear. refs #3021
Tom Clegg [Thu, 8 Jan 2015 21:04:01 +0000 (16:04 -0500)]
Merge branch '3408-go-sdk-api-errors' refs #3408
Tom Clegg [Thu, 8 Jan 2015 20:50:42 +0000 (15:50 -0500)]
3408: Propagate API error messages to caller.
Radhika Chippada [Thu, 8 Jan 2015 19:57:58 +0000 (14:57 -0500)]
4523: slightly improved large description
Radhika Chippada [Thu, 8 Jan 2015 19:45:47 +0000 (14:45 -0500)]
Merge branch 'master' into 4523-search-index
Radhika Chippada [Thu, 8 Jan 2015 19:44:17 +0000 (14:44 -0500)]
4523: add a few functional tests for collections with file_names testing.
Peter Amstutz [Thu, 8 Jan 2015 18:49:05 +0000 (13:49 -0500)]
Merge branch '4312-crunch-report-sdk-version' closes #4312
Peter Amstutz [Thu, 8 Jan 2015 18:48:42 +0000 (13:48 -0500)]
4312: Remove redundant parenthesis.
Radhika Chippada [Thu, 8 Jan 2015 18:01:36 +0000 (13:01 -0500)]
4523: separate filename based tests and description based tests.
Peter Amstutz [Thu, 8 Jan 2015 15:26:35 +0000 (10:26 -0500)]
4924: Refactor arv edit and arv create to improve error handling.
* Error messages are now added in a comment block at the top of the file, and
the file is re-opened in the user's editor.
* Does not try to update attributes that are not changed.
* Exiting the editor with the file unchanged exits the editing loop.
Peter Amstutz [Wed, 7 Jan 2015 21:32:23 +0000 (16:32 -0500)]
4312: Fix dpkg search to use dpkg-query.
Radhika Chippada [Wed, 7 Jan 2015 20:42:41 +0000 (15:42 -0500)]
4523: some more test assertions
Peter Amstutz [Wed, 7 Jan 2015 19:51:16 +0000 (14:51 -0500)]
4312: Call virtualenv pip directly instead of using activate.
Peter Amstutz [Wed, 7 Jan 2015 19:38:41 +0000 (14:38 -0500)]
4312: Use "install" phase of bootstrap script to report the installed versions
of any arvados pip or debian packages. Like virtualenv logic, only reports for
task 0 (since every task starts the same image).
Radhika Chippada [Wed, 7 Jan 2015 19:27:00 +0000 (14:27 -0500)]
4523: exclude text type columns from searchable_columns for ilike operator
Radhika Chippada [Wed, 7 Jan 2015 18:02:18 +0000 (13:02 -0500)]
Merge branch 'master' into 4523-search-index
Radhika Chippada [Wed, 7 Jan 2015 17:59:26 +0000 (12:59 -0500)]
4523: add tests to search for file name
Tom Clegg [Wed, 7 Jan 2015 17:14:42 +0000 (12:14 -0500)]
Merge branch '3021-more-phantomjs' refs #3021
Tom Clegg [Wed, 7 Jan 2015 17:13:51 +0000 (12:13 -0500)]
3021: Use selenium to land on #Advanced tab.
Tom Clegg [Wed, 7 Jan 2015 17:14:21 +0000 (12:14 -0500)]
3021: Merge branch 'master' into 3021-more-phantomjs
Tom Clegg [Wed, 7 Jan 2015 15:01:32 +0000 (10:01 -0500)]
3021: Add random part to magic string.
Tim Pierce [Wed, 7 Jan 2015 14:46:10 +0000 (09:46 -0500)]
Merge branch '4598-crunch-failure-stats'
Fixes #4598.
Tim Pierce [Wed, 7 Jan 2015 14:45:06 +0000 (09:45 -0500)]
4598: actually rename this time
PEBCAK failure led to deleting the file without staging the new one. d'oh.
Tim Pierce [Wed, 7 Jan 2015 14:43:56 +0000 (09:43 -0500)]
4598: rename script
Renamed crunch-failure-report.py to crunch_failure_report.py to permit
importing (and eventually testing).
Tom Clegg [Tue, 6 Jan 2015 22:48:42 +0000 (17:48 -0500)]
3021: Wait for shown.bs.modal before trying to click butttons in the modal.
Remove a stray Headless.new.start.
Tim Pierce [Tue, 6 Jan 2015 21:21:10 +0000 (21:21 +0000)]
4598: catch exceptions more aggressively when looking up pipeline names
Added exception handling for cases where:
* job is not recorded as belonging to any pipeline instance
* pipeline instance has no pipeline template
Peter Amstutz [Tue, 6 Jan 2015 19:06:28 +0000 (14:06 -0500)]
Merge branch '4570-multi-auth-method' refs #4570
Tom Clegg [Tue, 6 Jan 2015 18:52:16 +0000 (13:52 -0500)]
3021: Fix assertion broken in
9c10212.
Peter Amstutz [Tue, 6 Jan 2015 18:24:06 +0000 (13:24 -0500)]
4570: Fix tabs, CSS on log in button.
Tom Clegg [Tue, 6 Jan 2015 17:26:49 +0000 (12:26 -0500)]
3021: Wait for dialog to close before asserting page transition.
Brett Smith [Tue, 6 Jan 2015 17:12:27 +0000 (12:12 -0500)]
Merge branch '4836-first-tab-load-wip'
Closes #4836, #4870.
Brett Smith [Fri, 19 Dec 2014 22:40:13 +0000 (17:40 -0500)]
4836: Trigger Workbench infinite scroll load on tab show.
If an infinite scroller is in the first tab of a show page, but the
user is going to a different tab, we'll queue up the first event
to load data for the container, but when it fires the container won't
be visible so it will decline to load anything. Then you can only get
data to load if you resize the window.
Fire a scroll event when a new tab is shown, to spur the infinite
scroller to load data as appropriate.
Tim Pierce [Tue, 6 Jan 2015 16:03:10 +0000 (11:03 -0500)]
4598: account for queued and cancelled jobs, fix sorting
Per code review:
* Updated report to include job states "Cancelled" and "Queued" as well
as Failed, Running and Complete, and to take these into account when
calculating job counts.
* Fixed sorting for failure classes.
Radhika Chippada [Tue, 6 Jan 2015 15:48:26 +0000 (10:48 -0500)]
4523: Add test to create collection with large manifest text. This test showed that the max size
the file_names column can have for successful search indexing is 2^13. Hence, setting the column
size to 2^12, so that there is enough room to accommodate slightly larger values for other columns.