dellcloudedge/barclamp-crowbar — pull request #178 by cloudedge (2012-08-31 05:17:25+00:00)
Title: Update to Routes+Docs from community input AND add stub for digest auth [1/5]

This pull has several different items
1) changes to the doc system to make it easier to read & maintain
specifically, the paths now use / instead of +
also fixed the order for navigation
help menu now uses books for subtopics
2) changes to the group and node API paths to follow 2.0 prefix convention
this is also update in BDD and docs
3) added /digest page stub so we can offer digest auth for the API
this change is accomodated in BDD (which also uses digest)
this is only stubbed out right now - need more work.
relm/user/pass is the same as legacy 1.x

.gitignore | 2 +-
crowbar_framework/BDD/bdd.erl | 4 +-
crowbar_framework/BDD/bdd_utils.erl | 22 +++-
crowbar_framework/BDD/bdd_webrat.erl | 4 +-
crowbar_framework/BDD/crowbar.erl | 52 ++++++---
crowbar_framework/BDD/eurl.erl | 4 +-
.../BDD/features/documentation.feature | 8 +-
crowbar_framework/BDD/features/groups.feature | 17 +---
crowbar_framework/BDD/features/nodes.feature | 11 +-
crowbar_framework/BDD/groups.erl | 35 +++++--
crowbar_framework/BDD/nodes.erl | 2 +-
.../app/controllers/digest_controller.rb | 39 +++++++
.../app/controllers/docs_controller.rb | 19 ++--
.../app/controllers/groups_controller.rb | 78 +++++++++++++-
.../app/controllers/nodes_controller.rb | 9 +-
.../app/controllers/users_controller.rb | 16 +++
.../app/helpers/application_helper.rb | 1 +
crowbar_framework/app/models/doc.rb | 4 +
crowbar_framework/app/models/node.rb | 23 ++++-
.../app/views/devise/sessions/new.html.haml | 2 +-
crowbar_framework/app/views/docs/index.html.haml | 2 +-
crowbar_framework/app/views/docs/topic.html.haml | 8 +-
crowbar_framework/app/views/nodes/_show.html.haml | 2 +-
crowbar_framework/config/locales/crowbar/en.yml | 15 +++-
crowbar_framework/config/navigation.rb | 7 ++
crowbar_framework/config/routes.rb | 57 +++++-----
.../db/migrate/20120723233100_create_navs.rb | 1 -
crowbar_framework/doc/crowbar.yml | 68 ++++++------
.../doc/default/crowbar/book-developersguide.md | 110 +++++++++++++++++++-
.../doc/default/crowbar/devguide/api.md | 3 +
.../doc/default/crowbar/devguide/api/group.md | 82 ++++++++++++++-
.../doc/default/crowbar/devguide/api/node.md | 6 +-
.../doc/default/crowbar/devguide/devtool.md | 3 +
33 files changed, 556 insertions(+), 160 deletions(-)