##// 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:

r8634:e4ef0b04efab
r9024:999a4ba30d7b
Show More
_form.html.erb
51 lines | 1.9 KiB | text/plain | TextLexer
Jean-Philippe Lang
Initial commit...
r2 <%= error_messages_for 'user' %>
Jean-Philippe Lang
Makes the user form look like account form....
r5052 <div id="user_form">
Jean-Philippe Lang
Initial commit...
r2 <!--[form:user]-->
Jean-Philippe Lang
Makes the user form look like account form....
r5052 <div class="splitcontentleft">
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 <fieldset class="box tabular">
Toshi MARUYAMA
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb...
r7140 <legend><%=l(:label_information_plural)%></legend>
<p><%= f.text_field :login, :required => true, :size => 25 %></p>
<p><%= f.text_field :firstname, :required => true %></p>
<p><%= f.text_field :lastname, :required => true %></p>
<p><%= f.text_field :mail, :required => true %></p>
<p><%= f.select :language, lang_options_for_select %></p>
<% if Setting.openid? %>
<p><%= f.text_field :identity_url %></p>
<% end %>
<% @user.custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :user, value %></p>
<% end %>
<p><%= f.check_box :admin, :disabled => (@user == User.current) %></p>
<%= call_hook(:view_users_form, :user => @user, :form => f) %>
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 </fieldset>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 <fieldset class="box tabular">
Toshi MARUYAMA
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb...
r7140 <legend><%=l(:label_authentication)%></legend>
<% unless @auth_sources.empty? %>
<p><%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %></p>
<% end %>
<div id="password_fields" style="<%= 'display:none;' if @user.auth_source %>">
Jean-Philippe Lang
Adds specific css class for information in forms....
r8634 <p><%= f.password_field :password, :required => true, :size => 25 %>
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
Toshi MARUYAMA
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb...
r7140 <p><%= f.password_field :password_confirmation, :required => true, :size => 25 %></p>
</div>
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 </fieldset>
Jean-Philippe Lang
Makes the user form look like account form....
r5052 </div>
Eric Davis
Allow admins to edit user's email notifications and preferences. #3503...
r4109
Jean-Philippe Lang
Makes the user form look like account form....
r5052 <div class="splitcontentright">
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 <fieldset class="box">
Toshi MARUYAMA
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb...
r7140 <legend><%=l(:field_mail_notification)%></legend>
<%= render :partial => 'users/mail_notifications' %>
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 </fieldset>
Eric Davis
Allow admins to edit user's email notifications and preferences. #3503...
r4109
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 <fieldset class="box tabular">
Toshi MARUYAMA
replace tabs to spaces and remove trailing white-spaces at app/views/users/_form.html.erb...
r7140 <legend><%=l(:label_preferences)%></legend>
<%= render :partial => 'users/preferences' %>
Jean-Philippe Lang
Replaced h3+div with fieldsets on my account and user form....
r6045 </fieldset>
Jean-Philippe Lang
Makes the user form look like account form....
r5052 </div>
</div>
<div style="clear:left;"></div>
Jean-Philippe Lang
* new report: project activity...
r42 <!--[eoform:user]-->