crowbar/barclamp-crowbar — pull request #768 by cloudedge (2013-11-15 22:51:01+00:00)
Title: Allow Crowbar UI to show exceptions to users [1/2]

This change, requested by @VictorLowther, adds a dynamic (haml) error page
to the UI so that exception information is displayed to the user.

Right now, we SHOW IT ALL but the toggle code is in place so that we can
easily hide most of it later.

The reason for this change is that we return useful errors that can help
users correct their mistake and try again. In the static error page
model, that information was being lost.

This pull also includes some doc fixes.

NOTE: I am aware that BDD is broken. That's my next task.

BDD/crowbar_rest.erl | 2 --
.../app/assets/stylesheets/_errors.sass | 3 ++
.../app/controllers/application_controller.rb | 12 +++++++-
.../app/controllers/support_controller.rb | 4 +++
crowbar_framework/app/views/errors/500.html.haml | 30 ++++++++++++++------
crowbar_framework/config/locales/en.yml | 14 +++++++--
crowbar_framework/config/routes.rb | 1 +
doc/devguide/model/node_role_states.dia | Bin 3287 -> 3315 bytes
doc/devguide/model/node_role_states.png | Bin 36863 -> 36310 bytes
9 files changed, 51 insertions(+), 15 deletions(-)

Crowbar-Pull-ID: c19b8a7b4da3d1881650cb5ec339457403f2d834

Crowbar-Release: development