##// END OF EJS Templates
scm: git: performance improvements in fetching revisions (#8857, #9472)...
scm: git: performance improvements in fetching revisions (#8857, #9472) Parse a revision for a given branch, just if we haven't parsed it for any branches before. Moved the db check to for existing revisions into a grouped search. Search for many revisions at once: this reduces db load. Revisions are grouped into sets of 100. This is to improve memory consumption. There will be just one query instead of each 100. The above two methods significantly increase parsing speed. Test case was a git repo with 6000+ commits on a master branch, and several other branches originating for master. Speed improved from 1.4h to 18min. Contributed by Gergely Fábián. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6860:9c080b36dd6e
r9024:999a4ba30d7b
Show More
_sidebar.html.erb
33 lines | 1.1 KiB | text/plain | TextLexer
/ app / views / my / _sidebar.html.erb
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <h3><%=l(:label_my_account)%></h3>
Toshi MARUYAMA
Use link_to_user instead of a manual link in my account sidebar (#8345)....
r5628 <p><%=l(:field_login)%>: <strong><%= link_to_user(@user, :format => :username) %></strong><br />
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
Eric Davis
Added an API token for each User to use when making API requests. (#3920)...
r3103
<h4><%= l(:label_feeds_access_key) %></h4>
<p>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <% if @user.rss_token %>
Eric Davis
Added an API token for each User to use when making API requests. (#3920)...
r3103 <%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
<% else %>
<%= l(:label_missing_feeds_access_key) %>
<% end %>
(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>)
</p>
Jean-Philippe Lang
Do not display API key if API is disabled....
r3110 <% if Setting.rest_api_enabled? %>
Eric Davis
Added an API token for each User to use when making API requests. (#3920)...
r3103 <h4><%= l(:label_api_access_key) %></h4>
Eric Davis
Fixed HTML validation errors...
r3661 <div>
Jean-Philippe Lang
Display API key in the sidebar, just below the API key heading....
r3111 <%= link_to_function(l(:button_show), "$('api-access-key').toggle();")%>
Toshi MARUYAMA
HTML escape some user values in account sidebar (#8345)....
r5627 <pre id='api-access-key' class='autoscroll'><%= h(@user.api_key) %></pre>
Eric Davis
Fixed HTML validation errors...
r3661 </div>
Jean-Philippe Lang
Display API key in the sidebar, just below the API key heading....
r3111 <%= javascript_tag("$('api-access-key').hide();") %>
Eric Davis
Added an API token for each User to use when making API requests. (#3920)...
r3103 <p>
<% if @user.api_token %>
<%= l(:label_api_access_key_created_on, distance_of_time_in_words(Time.now, @user.api_token.created_on)) %>
<% else %>
<%= l(:label_missing_api_access_key) %>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <% end %>
Eric Davis
Added an API token for each User to use when making API requests. (#3920)...
r3103 (<%= link_to l(:button_reset), {:action => 'reset_api_key'}, :method => :post %>)
</p>
Jean-Philippe Lang
Do not display API key if API is disabled....
r3110 <% end %>