arvados.git
10 years agoAdd comments to explain different ways we choose $repo.
Tom Clegg [Fri, 11 Apr 2014 03:46:42 +0000 (23:46 -0400)]
Add comments to explain different ways we choose $repo.

10 years agoMerge branch '2243-fix-pipeline-instance-heading'
Tom Clegg [Fri, 11 Apr 2014 03:23:16 +0000 (23:23 -0400)]
Merge branch '2243-fix-pipeline-instance-heading'

closes #2243

10 years agoUpdate README for selenium+headless: install firefox+xvfb
Tom Clegg [Fri, 11 Apr 2014 03:20:36 +0000 (23:20 -0400)]
Update README for selenium+headless: install firefox+xvfb
instead of libqt+phantomjs

10 years agoMerge branch '2449-keep-write-blocks' into 2449-keep-index-status-handlers
Tim Pierce [Thu, 10 Apr 2014 22:45:00 +0000 (18:45 -0400)]
Merge branch '2449-keep-write-blocks' into 2449-keep-index-status-handlers

Conflicts:
services/keep/keep.go

10 years agoAdded status.json handler. (refs #2561)
Tim Pierce [Thu, 10 Apr 2014 22:43:01 +0000 (18:43 -0400)]
Added status.json handler. (refs #2561)

10 years agoFix the users test to get the created user id
radhika chippada [Thu, 10 Apr 2014 20:44:17 +0000 (16:44 -0400)]
Fix the users test to get the created user id

10 years agoMerge branch 'master' into 2449-keep-write-blocks
Tim Pierce [Thu, 10 Apr 2014 20:34:45 +0000 (16:34 -0400)]
Merge branch 'master' into 2449-keep-write-blocks

10 years agoUpdate for code review (refs #2292).
Tim Pierce [Thu, 10 Apr 2014 20:31:47 +0000 (16:31 -0400)]
Update for code review (refs #2292).

* Use ioutil.TempFile to write new blocks, renaming to the correct
  name upon success.

* PutBlock should overwrite corrupt blocks, not report a collision.

* Get free disk space from syscall.Statfs, not `df`.

10 years agoapi: Don't log common changes to API tokens.
Brett Smith [Thu, 10 Apr 2014 19:11:09 +0000 (15:11 -0400)]
api: Don't log common changes to API tokens.

The last_used_* attributes are updated very often.  Logging those
changes would probably make the logs less useful.

10 years agoapi: Raise errors from saving logs.
Brett Smith [Thu, 10 Apr 2014 18:46:45 +0000 (14:46 -0400)]
api: Raise errors from saving logs.

With this change, I realized it'd be cleaner to write the
implementation as after_* callbacks, so this includes that.  But the
fundamental change is to use log.save! instead of plain log.save.

10 years agoComment out failing assertions for now.
radhika chippada [Thu, 10 Apr 2014 17:04:43 +0000 (13:04 -0400)]
Comment out failing assertions for now.

10 years agoapi: Have users own the logs they generate.
Brett Smith [Thu, 10 Apr 2014 15:43:55 +0000 (11:43 -0400)]
api: Have users own the logs they generate.

Setting the owner to the system user was intended to provide the
security policy we wanted.  Now that we've opted instead to give logs
overrides for the permission_to_ACTION methods, users should own their
own logs so they can read them.

10 years agoapi: Let admin users delete logs.
Brett Smith [Thu, 10 Apr 2014 14:41:49 +0000 (10:41 -0400)]
api: Let admin users delete logs.

10 years agoapi: Test that we don't make logs about logs.
Brett Smith [Thu, 10 Apr 2014 14:15:53 +0000 (10:15 -0400)]
api: Test that we don't make logs about logs.

10 years agoMerge branch 'master' into 2375-log-table
Brett Smith [Thu, 10 Apr 2014 14:05:28 +0000 (10:05 -0400)]
Merge branch 'master' into 2375-log-table

10 years agoAdded /index handlers. (refs #2561)
Tim Pierce [Wed, 9 Apr 2014 22:03:19 +0000 (18:03 -0400)]
Added /index handlers. (refs #2561)

10 years agoMerge branch 'master' into 1776-setup-user-email
radhika chippada [Wed, 9 Apr 2014 21:03:54 +0000 (17:03 -0400)]
Merge branch 'master' into 1776-setup-user-email

10 years agoMerge branch 'master' of git.curoverse.com:arvados
radhika chippada [Wed, 9 Apr 2014 21:01:44 +0000 (17:01 -0400)]
Merge branch 'master' of git.curoverse.com:arvados

10 years agoStory 1776: Add theme to api server similar to workbench. Updated files: Gemfile...
radhika chippada [Wed, 9 Apr 2014 21:00:28 +0000 (17:00 -0400)]
Story 1776: Add theme to api server similar to workbench. Updated files: Gemfile, app/controllers/application_controller.rb, config/application.default.yml, config/routes.rb

10 years agoStory 1776: Add tests for setup email
radhika chippada [Wed, 9 Apr 2014 20:26:05 +0000 (16:26 -0400)]
Story 1776: Add tests for setup email

10 years agoapi: Give all Job fixtures script_versions.
Brett Smith [Wed, 9 Apr 2014 19:34:16 +0000 (15:34 -0400)]
api: Give all Job fixtures script_versions.

Workbench tries to call to_sym on these versions, and hiccups if it's
nil.  This makes it easier to run integration tests, whether
automatically or by hand.

10 years agoUse selenium driver with headless for testing.
radhika chippada [Wed, 9 Apr 2014 17:56:34 +0000 (13:56 -0400)]
Use selenium driver with headless for testing.

10 years agoMerge branch 'master' of git.curoverse.com:arvados
radhika chippada [Wed, 9 Apr 2014 14:07:09 +0000 (10:07 -0400)]
Merge branch 'master' of git.curoverse.com:arvados

10 years agoGet logs and archives directly from the given git repo. Skip git-clone
Tom Clegg [Wed, 9 Apr 2014 03:58:48 +0000 (23:58 -0400)]
Get logs and archives directly from the given git repo. Skip git-clone
and attendant race conditions.

10 years agoAdd "create collection" integration test
Tom Clegg [Wed, 9 Apr 2014 03:34:25 +0000 (23:34 -0400)]
Add "create collection" integration test

10 years agoTrim newline from output hash emerging from `arv keep put`.
Tom Clegg [Wed, 9 Apr 2014 03:45:12 +0000 (23:45 -0400)]
Trim newline from output hash emerging from `arv keep put`.

10 years agoFix tests: make sure system_user exists before making "pre-test users" list
Tom Clegg [Wed, 9 Apr 2014 03:32:27 +0000 (23:32 -0400)]
Fix tests: make sure system_user exists before making "pre-test users" list

10 years agoStash and restore current tab selections when replacing body content.
Tom Clegg [Wed, 9 Apr 2014 02:51:36 +0000 (22:51 -0400)]
Stash and restore current tab selections when replacing body content.

10 years agoShow editable pipeline instance name (instead of template name) as
Tom Clegg [Wed, 9 Apr 2014 02:21:46 +0000 (22:21 -0400)]
Show editable pipeline instance name (instead of template name) as
instance page heading.

10 years agoFix permission error when adding system_group->new_user permission link.
Tom Clegg [Tue, 8 Apr 2014 23:50:46 +0000 (19:50 -0400)]
Fix permission error when adding system_group->new_user permission link.

10 years agoChange password placeholder to something db:load_config can parse.
Tom Clegg [Tue, 8 Apr 2014 23:08:33 +0000 (19:08 -0400)]
Change password placeholder to something db:load_config can parse.

10 years agoStory #1776: Add mailer and update users_controller. Also, update workbench and setup...
radhika chippada [Tue, 8 Apr 2014 21:29:03 +0000 (17:29 -0400)]
Story #1776: Add mailer and update users_controller. Also, update workbench and setup script to pass the additional send notification parameter.

10 years agoapi: Make a Log from other model changes.
Brett Smith [Tue, 8 Apr 2014 20:18:46 +0000 (16:18 -0400)]
api: Make a Log from other model changes.

Refs #2375.

10 years agoapi: Rename Log.info to .properties.
Brett Smith [Mon, 7 Apr 2014 18:54:06 +0000 (14:54 -0400)]
api: Rename Log.info to .properties.

Refs #2375.

10 years agoMerge branch 'master' into 2449-keep-write-blocks
Tim Pierce [Tue, 8 Apr 2014 18:11:24 +0000 (14:11 -0400)]
Merge branch 'master' into 2449-keep-write-blocks

10 years agoMerge branch '2449-keep-write-blocks' into 2449-keep-flags
Tim Pierce [Tue, 8 Apr 2014 18:09:53 +0000 (14:09 -0400)]
Merge branch '2449-keep-write-blocks' into 2449-keep-flags

Conflicts:
services/keep/keep.go

10 years agoMove the javascript into a js file instead of using <script> tag in html file.
radhika chippada [Tue, 8 Apr 2014 16:00:32 +0000 (12:00 -0400)]
Move the javascript into a js file instead of using <script> tag in html file.

10 years agoRemove trailing white spaces.
radhika chippada [Tue, 8 Apr 2014 14:40:31 +0000 (10:40 -0400)]
Remove trailing white spaces.

10 years agoAdd paste event check for submit button validation
radhika chippada [Tue, 8 Apr 2014 14:29:40 +0000 (10:29 -0400)]
Add paste event check for submit button validation

10 years agoUse bootstrap/theme style defaults for user setup modal and form.
Tom Clegg [Tue, 8 Apr 2014 05:55:17 +0000 (01:55 -0400)]
Use bootstrap/theme style defaults for user setup modal and form.

10 years agoReset form fields on cancel.
radhika chippada [Mon, 7 Apr 2014 19:04:06 +0000 (15:04 -0400)]
Reset form fields on cancel.

10 years agoSubmit
radhika chippada [Mon, 7 Apr 2014 18:44:49 +0000 (14:44 -0400)]
Submit

10 years agoBootstrap modal css updated to include only what is needed.
radhika chippada [Mon, 7 Apr 2014 18:03:01 +0000 (14:03 -0400)]
Bootstrap modal css updated to include only what is needed.

10 years agoAdd header and footer to the setup user modal
radhika chippada [Mon, 7 Apr 2014 15:58:08 +0000 (11:58 -0400)]
Add header and footer to the setup user modal

10 years agoDocument capybara-webkit qt dependencies, and add phantomjs recipe.
Tom Clegg [Fri, 4 Apr 2014 21:21:45 +0000 (17:21 -0400)]
Document capybara-webkit qt dependencies, and add phantomjs recipe.

10 years agoAdd email format validation to the input text field in the setup modal.
radhika chippada [Fri, 4 Apr 2014 19:45:53 +0000 (15:45 -0400)]
Add email format validation to the input text field in the setup modal.

10 years agoDuring setup of an existing user, create oid login permission, if it does not already...
radhika chippada [Fri, 4 Apr 2014 18:53:42 +0000 (14:53 -0400)]
During setup of an existing user, create oid login permission, if it does not already exist.

10 years agoNeed to remove the user's "all users" group read permission during unsetup.
radhika chippada [Fri, 4 Apr 2014 17:36:01 +0000 (13:36 -0400)]
Need to remove the user's "all users" group read permission during unsetup.
This shortcoming became apparent during testing when "is_invited" flag is checked.

10 years agoUse webkit driver for Capybara instead of selenium for tests that need dialog handling.
radhika chippada [Fri, 4 Apr 2014 14:45:14 +0000 (10:45 -0400)]
Use webkit driver for Capybara instead of selenium for tests that need dialog handling.

10 years agoAdded integration tests for create new user, setup and unsetup existing user. The...
radhika chippada [Fri, 4 Apr 2014 02:41:42 +0000 (22:41 -0400)]
Added integration tests for create new user, setup and unsetup existing user. The tests use selenium driver without headless. Hence, we see the browser while these tests are running.

Next step is to use headless to hide the browser during test execution.

10 years agoIntegration test for setup user
radhika chippada [Thu, 3 Apr 2014 18:23:10 +0000 (14:23 -0400)]
Integration test for setup user

10 years agoSubmit button enabling revisited
radhika chippada [Thu, 3 Apr 2014 15:05:47 +0000 (11:05 -0400)]
Submit button enabling revisited

10 years agoSubmit button enabled when existing user
radhika chippada [Thu, 3 Apr 2014 11:39:06 +0000 (07:39 -0400)]
Submit button enabled when existing user

10 years agopopup submit button
radhika chippada [Thu, 3 Apr 2014 11:17:03 +0000 (07:17 -0400)]
popup submit button

10 years agoGet the default openid_prefix from config.
radhika chippada [Thu, 3 Apr 2014 01:08:03 +0000 (21:08 -0400)]
Get the default openid_prefix from config.

10 years agoLook for repo_name in VM link
radhika chippada [Thu, 3 Apr 2014 00:56:54 +0000 (20:56 -0400)]
Look for repo_name in VM link

10 years agoRequire only email and openid prefix in the setup popup. The other fields are optional.
radhika chippada [Thu, 3 Apr 2014 00:28:14 +0000 (20:28 -0400)]
Require only email and openid prefix in the setup popup. The other fields are optional.

10 years agoNew user creation using setup action is working
radhika chippada [Wed, 2 Apr 2014 23:51:45 +0000 (19:51 -0400)]
New user creation using setup action is working

10 years ago"Add a new user" link uses setup method to create a "loaded" user.
radhika chippada [Wed, 2 Apr 2014 22:52:04 +0000 (18:52 -0400)]
"Add a new user" link uses setup method to create a "loaded" user.

10 years agoMinor UI tweaks
radhika chippada [Wed, 2 Apr 2014 16:57:13 +0000 (12:57 -0400)]
Minor UI tweaks

10 years agoDisable submit button until all input fields are filled in.
radhika chippada [Wed, 2 Apr 2014 04:04:16 +0000 (00:04 -0400)]
Disable submit button until all input fields are filled in.

10 years agoAdded bootstrap css
radhika chippada [Tue, 1 Apr 2014 21:21:12 +0000 (17:21 -0400)]
Added bootstrap css

10 years agoMove the javascript into a js file instead of using <script> tag in html file.
radhika chippada [Tue, 8 Apr 2014 16:00:32 +0000 (12:00 -0400)]
Move the javascript into a js file instead of using <script> tag in html file.

10 years agoRemove trailing white spaces.
radhika chippada [Tue, 8 Apr 2014 14:40:31 +0000 (10:40 -0400)]
Remove trailing white spaces.

10 years agoAdd paste event check for submit button validation
radhika chippada [Tue, 8 Apr 2014 14:29:40 +0000 (10:29 -0400)]
Add paste event check for submit button validation

10 years agoUse bootstrap/theme style defaults for user setup modal and form.
Tom Clegg [Tue, 8 Apr 2014 05:55:17 +0000 (01:55 -0400)]
Use bootstrap/theme style defaults for user setup modal and form.

10 years agoReset form fields on cancel.
radhika chippada [Mon, 7 Apr 2014 19:04:06 +0000 (15:04 -0400)]
Reset form fields on cancel.

10 years agoSubmit
radhika chippada [Mon, 7 Apr 2014 18:44:49 +0000 (14:44 -0400)]
Submit

10 years agoBootstrap modal css updated to include only what is needed.
radhika chippada [Mon, 7 Apr 2014 18:03:01 +0000 (14:03 -0400)]
Bootstrap modal css updated to include only what is needed.

10 years agoAdd header and footer to the setup user modal
radhika chippada [Mon, 7 Apr 2014 15:58:08 +0000 (11:58 -0400)]
Add header and footer to the setup user modal

10 years agoDocument capybara-webkit qt dependencies, and add phantomjs recipe.
Tom Clegg [Fri, 4 Apr 2014 21:21:45 +0000 (17:21 -0400)]
Document capybara-webkit qt dependencies, and add phantomjs recipe.

10 years agoAdd email format validation to the input text field in the setup modal.
radhika chippada [Fri, 4 Apr 2014 19:45:53 +0000 (15:45 -0400)]
Add email format validation to the input text field in the setup modal.

10 years agoDuring setup of an existing user, create oid login permission, if it does not already...
radhika chippada [Fri, 4 Apr 2014 18:53:42 +0000 (14:53 -0400)]
During setup of an existing user, create oid login permission, if it does not already exist.

10 years agoNeed to remove the user's "all users" group read permission during unsetup.
radhika chippada [Fri, 4 Apr 2014 17:36:01 +0000 (13:36 -0400)]
Need to remove the user's "all users" group read permission during unsetup.
This shortcoming became apparent during testing when "is_invited" flag is checked.

10 years agoUse webkit driver for Capybara instead of selenium for tests that need dialog handling.
radhika chippada [Fri, 4 Apr 2014 14:45:14 +0000 (10:45 -0400)]
Use webkit driver for Capybara instead of selenium for tests that need dialog handling.

10 years agoAdded integration tests for create new user, setup and unsetup existing user. The...
radhika chippada [Fri, 4 Apr 2014 02:41:42 +0000 (22:41 -0400)]
Added integration tests for create new user, setup and unsetup existing user. The tests use selenium driver without headless. Hence, we see the browser while these tests are running.

Next step is to use headless to hide the browser during test execution.

10 years agoIntegration test for setup user
radhika chippada [Thu, 3 Apr 2014 18:23:10 +0000 (14:23 -0400)]
Integration test for setup user

10 years agoSubmit button enabling revisited
radhika chippada [Thu, 3 Apr 2014 15:05:47 +0000 (11:05 -0400)]
Submit button enabling revisited

10 years agoSubmit button enabled when existing user
radhika chippada [Thu, 3 Apr 2014 11:39:06 +0000 (07:39 -0400)]
Submit button enabled when existing user

10 years agopopup submit button
radhika chippada [Thu, 3 Apr 2014 11:17:03 +0000 (07:17 -0400)]
popup submit button

10 years agoGet the default openid_prefix from config.
radhika chippada [Thu, 3 Apr 2014 01:08:03 +0000 (21:08 -0400)]
Get the default openid_prefix from config.

10 years agoLook for repo_name in VM link
radhika chippada [Thu, 3 Apr 2014 00:56:54 +0000 (20:56 -0400)]
Look for repo_name in VM link

10 years agoRequire only email and openid prefix in the setup popup. The other fields are optional.
radhika chippada [Thu, 3 Apr 2014 00:28:14 +0000 (20:28 -0400)]
Require only email and openid prefix in the setup popup. The other fields are optional.

10 years agoNew user creation using setup action is working
radhika chippada [Wed, 2 Apr 2014 23:51:45 +0000 (19:51 -0400)]
New user creation using setup action is working

10 years agoPre-fill form fields with previous selections where applicable.
radhika chippada [Tue, 1 Apr 2014 20:26:58 +0000 (16:26 -0400)]
Pre-fill form fields with previous selections where applicable.

10 years ago"Add a new user" link uses setup method to create a "loaded" user.
radhika chippada [Wed, 2 Apr 2014 22:52:04 +0000 (18:52 -0400)]
"Add a new user" link uses setup method to create a "loaded" user.

10 years agoVirtual machines in a dropdown option in setup popup
radhika chippada [Tue, 1 Apr 2014 18:38:50 +0000 (14:38 -0400)]
Virtual machines in a dropdown option in setup popup

10 years agoMinor UI tweaks
radhika chippada [Wed, 2 Apr 2014 16:57:13 +0000 (12:57 -0400)]
Minor UI tweaks

10 years agoPass all parameters to the setup method
radhika chippada [Tue, 1 Apr 2014 17:47:11 +0000 (13:47 -0400)]
Pass all parameters to the setup method

10 years agoDisable submit button until all input fields are filled in.
radhika chippada [Wed, 2 Apr 2014 04:04:16 +0000 (00:04 -0400)]
Disable submit button until all input fields are filled in.

10 years agoMultiple input elements in popup
radhika chippada [Tue, 1 Apr 2014 15:51:03 +0000 (11:51 -0400)]
Multiple input elements in popup

10 years agoAdded bootstrap css
radhika chippada [Tue, 1 Apr 2014 21:21:12 +0000 (17:21 -0400)]
Added bootstrap css

10 years agoPopup closes on submit
radhika chippada [Tue, 1 Apr 2014 03:46:42 +0000 (23:46 -0400)]
Popup closes on submit

10 years agoWorking on setup popup
radhika chippada [Mon, 31 Mar 2014 21:54:32 +0000 (17:54 -0400)]
Working on setup popup

10 years agoSetup popup display
radhika chippada [Mon, 31 Mar 2014 14:53:20 +0000 (10:53 -0400)]
Setup popup display

10 years agoWorking on setup popup
radhika chippada [Mon, 31 Mar 2014 01:15:45 +0000 (21:15 -0400)]
Working on setup popup

10 years agoAdd a setup action to users controller and user model
radhika chippada [Sun, 30 Mar 2014 22:07:46 +0000 (18:07 -0400)]
Add a setup action to users controller and user model

10 years agoConfirm dialog check commented our for now. Why is that I can't intercept the dialog...
radhika chippada [Fri, 28 Mar 2014 19:44:31 +0000 (15:44 -0400)]
Confirm dialog check commented our for now. Why is that I can't intercept the dialog and instead why is the  OK button clicked automatically?

10 years agoAdd users integration test class. Beginnings of setup and unsetup method tests.
radhika chippada [Fri, 28 Mar 2014 19:21:05 +0000 (15:21 -0400)]
Add users integration test class. Beginnings of setup and unsetup method tests.

10 years agoCheck for MD5 collisions and corrupt blocks. (refs #2292)
Tim Pierce [Tue, 8 Apr 2014 04:04:29 +0000 (00:04 -0400)]
Check for MD5 collisions and corrupt blocks. (refs #2292)