"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/controllers/repositories_controller.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

repositories_controller.rb  (redmine-4.1.0):repositories_controller.rb  (redmine-4.1.1)
skipping to change at line 266 skipping to change at line 266
@cache_key = "repositories/diff/#{@repository.id}/" + @cache_key = "repositories/diff/#{@repository.id}/" +
Digest::MD5.hexdigest("#{@path}-#{@rev}-#{@rev_to}-#{@diff _type}-#{current_language}") Digest::MD5.hexdigest("#{@path}-#{@rev}-#{@rev_to}-#{@diff _type}-#{current_language}")
unless read_fragment(@cache_key) unless read_fragment(@cache_key)
@diff = @repository.diff(@path, @rev, @rev_to) @diff = @repository.diff(@path, @rev, @rev_to)
(show_error_not_found; return) unless @diff (show_error_not_found; return) unless @diff
end end
@changeset = @repository.find_changeset_by_name(@rev) @changeset = @repository.find_changeset_by_name(@rev)
@changeset_to = @rev_to ? @repository.find_changeset_by_name(@rev_to) : ni l @changeset_to = @rev_to ? @repository.find_changeset_by_name(@rev_to) : ni l
@diff_format_revisions = @repository.diff_format_revisions(@changeset, @ch angeset_to) @diff_format_revisions = @repository.diff_format_revisions(@changeset, @ch angeset_to)
render :diff, :formats => :html render :diff, :formats => :html, :layout => 'base.html.erb'
end end
end end
def stats def stats
end end
# Returns JSON data for repository graphs # Returns JSON data for repository graphs
def graph def graph
data = nil data = nil
case params[:graph] case params[:graph]
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)