dellcloudedge/barclamp-crowbar — pull request #305 by dpaterson (2012-12-18 23:37:08+00:00)
Title: User screens and BDD user REST tests [1/1]

Added user management screens. For ship ready we will only show create, update, delete features for dev environment. All CRUD operations must happen at API for initial release.

bin/barclamp_lib.rb | 5 +
bin/crowbar_users | 203 +++++++++
crowbar_framework/BDD/attribute.erl | 4 +-
crowbar_framework/BDD/barclamp.erl | 4 +-
crowbar_framework/BDD/bdd_restrat.erl | 44 ++-
crowbar_framework/BDD/bdd_webrat.erl | 1 -
crowbar_framework/BDD/crowbar.erl | 10 +-
crowbar_framework/BDD/default.config | 1 +
crowbar_framework/BDD/eurl.erl | 3 +
crowbar_framework/BDD/features/users.feature | 120 +++++-
crowbar_framework/BDD/linux_compile.sh | 1 +
crowbar_framework/BDD/simple_auth.erl | 468 ++++++++++----------
crowbar_framework/BDD/users.erl | 203 +++++++--
.../app/assets/stylesheets/_tables.sass | 15 +
.../app/controllers/application_controller.rb | 11 +-
.../app/controllers/barclamp_controller.rb | 2 +
.../app/controllers/users_controller.rb | 299 ++++++++++++--
crowbar_framework/app/models/crowbar_service.rb | 5 +-
crowbar_framework/app/models/user.rb | 37 +-
crowbar_framework/app/models/user_service.rb | 193 ++++++++
.../app/views/devise/passwords/new.html.haml | 3 +
.../app/views/devise/registrations/edit.html.haml | 2 +-
.../app/views/devise/registrations/new.html.haml | 3 +-
.../app/views/devise/sessions/new.html.haml | 2 +-
.../app/views/layouts/application.html.haml | 2 +-
crowbar_framework/app/views/users/_form.html.haml | 28 ++
.../app/views/users/_form_reset_password.html.haml | 18 +
crowbar_framework/app/views/users/index.html.haml | 98 +++--
crowbar_framework/config/initializers/devise.rb | 4 +-
crowbar_framework/config/locales/crowbar/en.yml | 24 +-
crowbar_framework/config/locales/en.yml | 4 +-
crowbar_framework/config/routes.rb | 43 ++-
32 files changed, 1462 insertions(+), 398 deletions(-)

Crowbar-Pull-ID: fa81e4123a90009d4e1902bfcab983319ded768f

Crowbar-Release: development