Changeset 73
- Timestamp:
- 01/07/08 18:25:01 (11 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
- 61 moved
-
CHANGELOG.txt (modified) (1 diff)
-
app/controllers/application.rb (modified) (1 diff)
-
app/controllers/deployments_controller.rb (modified) (1 diff)
-
app/views/deployments/_status.html.erb (moved) (moved from trunk/app/views/deployments/_status.rhtml) (1 diff)
-
app/views/deployments/index.html.erb (moved) (moved from trunk/app/views/deployments/index.rhtml)
-
app/views/deployments/new.html.erb (moved) (moved from trunk/app/views/deployments/new.rhtml)
-
app/views/deployments/show.html.erb (moved) (moved from trunk/app/views/deployments/show.rhtml)
-
app/views/hosts/_stages.html.erb (moved) (moved from trunk/app/views/hosts/_stages.rhtml)
-
app/views/hosts/edit.html.erb (moved) (moved from trunk/app/views/hosts/edit.rhtml)
-
app/views/hosts/index.html.erb (moved) (moved from trunk/app/views/hosts/index.rhtml)
-
app/views/hosts/new.html.erb (moved) (moved from trunk/app/views/hosts/new.rhtml)
-
app/views/hosts/show.html.erb (moved) (moved from trunk/app/views/hosts/show.rhtml)
-
app/views/layouts/_flash.html.erb (moved) (moved from trunk/app/views/layouts/_flash.rhtml)
-
app/views/layouts/_hosts.html.erb (moved) (moved from trunk/app/views/layouts/_hosts.rhtml)
-
app/views/layouts/_menu.html.erb (moved) (moved from trunk/app/views/layouts/_menu.rhtml)
-
app/views/layouts/_menu_box.html.erb (moved) (moved from trunk/app/views/layouts/_menu_box.rhtml)
-
app/views/layouts/_projects.html.erb (moved) (moved from trunk/app/views/layouts/_projects.rhtml)
-
app/views/layouts/_recipes.html.erb (moved) (moved from trunk/app/views/layouts/_recipes.rhtml)
-
app/views/layouts/_users.html.erb (moved) (moved from trunk/app/views/layouts/_users.rhtml)
-
app/views/layouts/application.html.erb (moved) (moved from trunk/app/views/layouts/application.rhtml)
-
app/views/notification/deployment.html.erb (moved) (moved from trunk/app/views/notification/deployment.rhtml)
-
app/views/project_configurations/_form.html.erb (moved) (moved from trunk/app/views/project_configurations/_form.rhtml)
-
app/views/project_configurations/edit.html.erb (moved) (moved from trunk/app/views/project_configurations/edit.rhtml)
-
app/views/project_configurations/new.html.erb (moved) (moved from trunk/app/views/project_configurations/new.rhtml)
-
app/views/projects/_configs.html.erb (moved) (moved from trunk/app/views/projects/_configs.rhtml)
-
app/views/projects/_form.html.erb (moved) (moved from trunk/app/views/projects/_form.rhtml)
-
app/views/projects/_stages.html.erb (moved) (moved from trunk/app/views/projects/_stages.rhtml)
-
app/views/projects/dashboard.html.erb (moved) (moved from trunk/app/views/projects/dashboard.rhtml)
-
app/views/projects/edit.html.erb (moved) (moved from trunk/app/views/projects/edit.rhtml)
-
app/views/projects/index.html.erb (moved) (moved from trunk/app/views/projects/index.rhtml)
-
app/views/projects/new.html.erb (moved) (moved from trunk/app/views/projects/new.rhtml)
-
app/views/projects/show.html.erb (moved) (moved from trunk/app/views/projects/show.rhtml)
-
app/views/recipes/_form.html.erb (moved) (moved from trunk/app/views/recipes/_form.rhtml)
-
app/views/recipes/_stages.html.erb (moved) (moved from trunk/app/views/recipes/_stages.rhtml)
-
app/views/recipes/edit.html.erb (moved) (moved from trunk/app/views/recipes/edit.rhtml)
-
app/views/recipes/index.html.erb (moved) (moved from trunk/app/views/recipes/index.rhtml)
-
app/views/recipes/new.html.erb (moved) (moved from trunk/app/views/recipes/new.rhtml)
-
app/views/recipes/show.html.erb (moved) (moved from trunk/app/views/recipes/show.rhtml)
-
app/views/roles/_form.html.erb (moved) (moved from trunk/app/views/roles/_form.rhtml)
-
app/views/roles/edit.html.erb (moved) (moved from trunk/app/views/roles/edit.rhtml)
-
app/views/roles/new.html.erb (moved) (moved from trunk/app/views/roles/new.rhtml)
-
app/views/sessions/new.html.erb (moved) (moved from trunk/app/views/sessions/new.rhtml)
-
app/views/stage_configurations/edit.html.erb (moved) (moved from trunk/app/views/stage_configurations/edit.rhtml)
-
app/views/stage_configurations/new.html.erb (moved) (moved from trunk/app/views/stage_configurations/new.rhtml)
-
app/views/stages/_configs.html.erb (moved) (moved from trunk/app/views/stages/_configs.rhtml)
-
app/views/stages/_deployments.html.erb (moved) (moved from trunk/app/views/stages/_deployments.rhtml)
-
app/views/stages/_effective_config.html.erb (moved) (moved from trunk/app/views/stages/_effective_config.rhtml)
-
app/views/stages/_form.html.erb (moved) (moved from trunk/app/views/stages/_form.rhtml)
-
app/views/stages/_recipes.html.erb (moved) (moved from trunk/app/views/stages/_recipes.rhtml)
-
app/views/stages/_roles.html.erb (moved) (moved from trunk/app/views/stages/_roles.rhtml)
-
app/views/stages/capfile.html.erb (moved) (moved from trunk/app/views/stages/capfile.rhtml)
-
app/views/stages/edit.html.erb (moved) (moved from trunk/app/views/stages/edit.rhtml)
-
app/views/stages/new.html.erb (moved) (moved from trunk/app/views/stages/new.rhtml)
-
app/views/stages/recipes.html.erb (moved) (moved from trunk/app/views/stages/recipes.rhtml)
-
app/views/stages/show.html.erb (moved) (moved from trunk/app/views/stages/show.rhtml)
-
app/views/stages/tasks.html.erb (moved) (moved from trunk/app/views/stages/tasks.rhtml)
-
app/views/stylesheets/application.html.erb (moved) (moved from trunk/app/views/stylesheets/application.rhtml)
-
app/views/users/_deployments.html.erb (moved) (moved from trunk/app/views/users/_deployments.rhtml)
-
app/views/users/_form.html.erb (moved) (moved from trunk/app/views/users/_form.rhtml)
-
app/views/users/deployments.html.erb (moved) (moved from trunk/app/views/users/deployments.rhtml)
-
app/views/users/edit.html.erb (moved) (moved from trunk/app/views/users/edit.rhtml)
-
app/views/users/index.html.erb (moved) (moved from trunk/app/views/users/index.rhtml)
-
app/views/users/new.html.erb (moved) (moved from trunk/app/views/users/new.rhtml)
-
app/views/users/show.html.erb (moved) (moved from trunk/app/views/users/show.rhtml)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHANGELOG.txt
r66 r73 1 1 2 * SVN * 3 4 * Used template naming conventions of Rails 2.x: 5 *.rhtml => *.html.erb 6 *.rjs => *.js.rjs 7 8 * Updated to Prototype 1.6 2 9 3 10 * Add script/deploy Ruby script to deploy from the command line, provided by Peter J Jones <pjones@pmade.com> -
trunk/app/controllers/application.rb
r58 r73 6 6 before_filter :login_from_cookie, :login_required 7 7 around_filter :set_timezone 8 9 # Pick a unique cookie name to distinguish our session data from others' 10 session :session_key => '_webistrano_session_id' 11 8 12 9 layout 'application' 13 10 11 helper :all # include all helpers, all the time 14 12 helper_method :current_stage, :current_project 13 14 # See ActionController::RequestForgeryProtection for details 15 # Uncomment the :secret if you're not using the cookie session store 16 protect_from_forgery :secret => '34$$adea99357513604a2fcac57912a908e5-092:@#$8hsmne5390' 15 17 16 18 protected -
trunk/app/controllers/deployments_controller.rb
r60 r73 23 23 format.html # show.rhtml 24 24 format.xml { render :xml => @deployment.to_xml } 25 format.js { render :partial => 'status ' }25 format.js { render :partial => 'status.html.erb' } 26 26 end 27 27 end -
trunk/app/views/deployments/_status.html.erb
r55 r73 68 68 69 69 function update_status(){ 70 new Ajax.Updater('status_info','<%=h project_stage_deployment_path(@project, @stage, @deployment) %> ',{70 new Ajax.Updater('status_info','<%=h project_stage_deployment_path(@project, @stage, @deployment) %>.js',{ 71 71 method: 'get', 72 72 evalScripts: true,
