# HG changeset patch # User Chris Cannam # Date 1374146517 -3600 # Node ID 7c0909052511a3d3f1932f4c85ffd109f190ed24 # Parent 25603efa57b54184a7a8aec370df0d98adaf3acb# Parent 45dbcd39b9e9f1b6520b970db4eb0e37e188a15d Merge from live branch diff -r 25603efa57b5 -r 7c0909052511 app/controllers/projects_controller.rb --- a/app/controllers/projects_controller.rb Thu Jun 20 13:14:14 2013 +0100 +++ b/app/controllers/projects_controller.rb Thu Jul 18 12:21:57 2013 +0100 @@ -196,6 +196,7 @@ @issue_category ||= IssueCategory.new @member ||= @project.members.new @trackers = Tracker.sorted.all + @repository ||= @project.repository @wiki ||= @project.wiki end diff -r 25603efa57b5 -r 7c0909052511 app/controllers/welcome_controller.rb --- a/app/controllers/welcome_controller.rb Thu Jun 20 13:14:14 2013 +0100 +++ b/app/controllers/welcome_controller.rb Thu Jul 18 12:21:57 2013 +0100 @@ -24,7 +24,7 @@ def index @site_project = Project.find_by_identifier "soundsoftware-site" @site_news = [] - @site_news = News.latest_for @site_project if @site_project + @site_news = News.latest_for(@site_project, 3) if @site_project # tests if user is logged in to generate the tips of the day list if User.current.logged? diff -r 25603efa57b5 -r 7c0909052511 app/models/repository.rb --- a/app/models/repository.rb Thu Jun 20 13:14:14 2013 +0100 +++ b/app/models/repository.rb Thu Jul 18 12:21:57 2013 +0100 @@ -51,6 +51,8 @@ 'password', 'path_encoding', 'log_encoding', + 'is_external', + 'external_url', 'is_default' safe_attributes 'url', diff -r 25603efa57b5 -r 7c0909052511 app/views/activities/_busy.html.erb --- a/app/views/activities/_busy.html.erb Thu Jun 20 13:14:14 2013 +0100 +++ b/app/views/activities/_busy.html.erb Thu Jul 18 12:21:57 2013 +0100 @@ -13,7 +13,7 @@