##// END OF EJS Templates
Added the ability to login via OpenID....
Added the ability to login via OpenID. * Refactored AccountController#login to use either password or openid based authentication * Extracted AccountController#successful_authentication to setup a user's session cookies and redirect * Implemented the start of AccountController#open_id_authentication which will check with the OpenID server and perform authentication. * Added text field for the OpenID url to /login * Added identity_url for OpenID to the user forms. * Added option to login with OpenID to the register form. * Added a root url route, which is used by the OpenID plugin #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2442 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2381:896e64b759ae
r2381:896e64b759ae
Show More
account.rhtml
57 lines | 2.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <div class="contextual">
<%= link_to(l(:button_change_password), :action => 'password') unless @user.auth_source_id %>
</div>
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_my_account)%></h2>
Jean-Philippe Lang
v0.2.0...
r5 <%= error_messages_for 'user' %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Fixed drop down lists overflow on My account....
r947 <% form_for :user, @user, :url => { :action => "account" },
:builder => TabularFormBuilder,
:lang => current_language,
:html => { :id => 'my_account_form' } do |f| %>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <div class="splitcontentleft">
Jean-Philippe Lang
form_for added in my/account view...
r64 <h3><%=l(:label_information_plural)%></h3>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <div class="box tabular">
Jean-Philippe Lang
form_for added in my/account view...
r64 <p><%= f.text_field :firstname, :required => true %></p>
<p><%= f.text_field :lastname, :required => true %></p>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <p><%= f.text_field :mail, :required => true %></p>
Jean-Philippe Lang
form_for added in my/account view...
r64 <p><%= f.select :language, lang_options_for_select %></p>
Eric Davis
Added the ability to login via OpenID....
r2381 <p><%= f.text_field :identity_url %></p>
Jean-Philippe Lang
User custom fields can now be set as editable so that users can edit them on 'My account'....
r2274
<% @user.custom_field_values.select(&:editable?).each do |value| %>
<p><%= custom_field_tag_with_label :user, value %></p>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <%= submit_tag l(:button_save) %>
</div>
Jean-Philippe Lang
tables and forms redesign,...
r19
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <div class="splitcontentright">
<h3><%=l(:field_mail_notification)%></h3>
<div class="box">
<%= select_tag 'notification_option', options_for_select(@notification_options, @notification_option),
:onchange => 'if ($("notification_option").value == "selected") {Element.show("notified-projects")} else {Element.hide("notified-projects")}' %>
<% content_tag 'div', :id => 'notified-projects', :style => (@notification_option == 'selected' ? '' : 'display:none;') do %>
<p><% User.current.projects.each do |project| %>
Jean-Philippe Lang
Project name format limitation removed (name can now contain any character)....
r936 <label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br />
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <% end %></p>
<p><em><%= l(:text_user_mail_option) %></em></p>
<% end %>
Jean-Philippe Lang
Removed hard coded string on 'My account'....
r887 <p><label><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %> <%= l(:label_user_mail_no_self_notified) %></label></p>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 </div>
Jean-Philippe Lang
Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776)....
r1183
<h3><%=l(:label_preferences)%></h3>
<div class="box tabular">
<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
<p><%= pref_fields.check_box :hide_mail %></p>
Jean-Philippe Lang
Rails 2.1.2 deprecations (#2332)....
r2132 <p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p>
Jean-Philippe Lang
Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776)....
r1183 <p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
<% end %>
</div>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 </div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Application layout refactored....
r736
<% content_for :sidebar do %>
Jean-Philippe Lang
More flexible mail notifications settings at user level. A user has now 3 options:...
r842 <%= render :partial => 'sidebar' %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_my_account)) -%>