Revision 1297:0a574315af3e .svn/pristine/8b

View differences:

.svn/pristine/8b/8b4221d14eb5569a7d5d59d0263ab394c1aaf6a3.svn-base
1
* Dump heavy lifting off to rack-openid gem. OpenIdAuthentication is just a simple controller concern.
2

  
3
* Fake HTTP method from OpenID server since they only support a GET. Eliminates the need to set an extra route to match the server's reply. [Josh Peek]
4

  
5
* OpenID 2.0 recommends that forms should use the field name "openid_identifier" rather than "openid_url" [Josh Peek]
6

  
7
* Return open_id_response.display_identifier to the application instead of .endpoints.claimed_id. [nbibler]
8

  
9
* Add Timeout protection [Rick]
10

  
11
* An invalid identity url passed through authenticate_with_open_id will no longer raise an InvalidOpenId exception. Instead it will return Result[:missing] to the completion block.
12

  
13
* Allow a return_to option to be used instead of the requested url [Josh Peek]
14

  
15
* Updated plugin to use Ruby OpenID 2.x.x [Josh Peek]
16

  
17
* Tied plugin to ruby-openid 1.1.4 gem until we can make it compatible with 2.x [DHH]
18

  
19
* Use URI instead of regexps to normalize the URL and gain free, better matching #8136 [dkubb]
20

  
21
* Allow -'s in #normalize_url [Rick]
22

  
23
* remove instance of mattr_accessor, it was breaking tests since they don't load ActiveSupport.  Fix Timeout test [Rick]
24

  
25
* Throw a InvalidOpenId exception instead of just a RuntimeError when the URL can't be normalized [DHH]
26

  
27
* Just use the path for the return URL, so extra query parameters don't interfere [DHH]
28

  
29
* Added a new default database-backed store after experiencing trouble with the filestore on NFS. The file store is still available as an option [DHH]
30

  
31
* Added normalize_url and applied it to all operations going through the plugin [DHH]
32

  
33
* Removed open_id? as the idea of using the same input box for both OpenID and username has died -- use using_open_id? instead (which checks for the presence of params[:openid_url] by default) [DHH]
34

  
35
* Added OpenIdAuthentication::Result to make it easier to deal with default situations where you don't care to do something particular for each error state [DHH]
36

  
37
* Stop relying on root_url being defined, we can just grab the current url instead [DHH]
.svn/pristine/8b/8b9ceab6c5d4ae37a6e81486ce8e0705b50e7186.svn-base
1
<h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%=h @path %></h2>
2

  
3
<!-- Choose view type -->
4
<%= form_tag({:action => 'diff', :id => @project,
5
              :repository_id => @repository.identifier_param,
6
              :path => to_path_param(@path), :rev=> @rev}, :method => 'get') do %>
7
  <%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %>
8
  <p>
9
    <%= l(:label_view_diff) %>:
10
    <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
11
    <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
12
  </p>
13
<% end %>
14

  
15
<% cache(@cache_key) do -%>
16
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => @repository.class.scm_name} %>
17
<% end -%>
18

  
19
<% other_formats_links do |f| %>
20
  <%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %>
21
<% end %>
22

  
23
<% html_title(with_leading_slash(@path), 'Diff') -%>
24

  
25
<% content_for :header_tags do %>
26
<%= stylesheet_link_tag "scm" %>
27
<% end %>
.svn/pristine/8b/8beec4083ea8ab73ea02cbf9f68092acec863215.svn-base
1
# encoding: utf-8
2
#
3
# Redmine - project management software
4
# Copyright (C) 2006-2012  Jean-Philippe Lang
5
#
6
# This program is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU General Public License
8
# as published by the Free Software Foundation; either version 2
9
# of the License, or (at your option) any later version.
10
#
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19

  
20
module MembersHelper
21
end

Also available in: Unified diff