radiant-reader-extension 3.0.23 → 3.0.24

Sign up to get free protection for your applications and to get access to all the features.
data/app/models/reader.rb CHANGED
@@ -14,7 +14,6 @@ class Reader < ActiveRecord::Base
14
14
  config.validations_scope = :site_id if defined? Site
15
15
  config.transition_from_restful_authentication = true
16
16
  config.validate_email_field = false
17
- config.validate_login_field = false
18
17
  config.validate_password_field = false
19
18
  end
20
19
 
@@ -26,11 +26,11 @@
26
26
  %br
27
27
  = link_to t('reader_extension.forgotten_password'), new_password_reset_url
28
28
 
29
- %p{ :class => @reader_session.errors.on(:login) ? 'haserror' : '' }
30
- %label{:for => "reader_session_login"}
31
- = t('reader_extension.login_or_email')
29
+ %p{ :class => @reader_session.errors.on(:email) ? 'haserror' : '' }
30
+ %label{:for => "reader_session_email"}
31
+ = t('reader_extension.nickname_or_email')
32
32
  %br
33
- = f.text_field :login, :class => 'login'
33
+ = f.text_field :email, :class => 'login'
34
34
 
35
35
  %p{ :class => @reader_session.errors.on(:password) ? 'haserror' : '' }
36
36
  %label{:for => "reader_session_password"}
@@ -55,6 +55,11 @@ en:
55
55
  password:
56
56
  too_short: "this must have at least six characters"
57
57
  invalid: "this must include at least one non-letter"
58
+ authlogic:
59
+ error_messages:
60
+ login_blank: "Please enter your email address or nickname"
61
+ login_not_found: "This is not recognised"
62
+ no_authentication_details: Please enter your email address and password
58
63
  config:
59
64
  reader:
60
65
  allow_registration?: "Allow registration"
@@ -250,7 +255,6 @@ en:
250
255
  log_in_or_register: "Please log in here. If you haven't already, you will need to <a href='/register'>register</a> first."
251
256
  log_out: "log out"
252
257
  login_name: "Login name"
253
- login_or_email: "Login name or email address"
254
258
  login_unknown: "Sorry: we don't recognise that combination of username and password."
255
259
  logout_message: "You are logged out. Bye!"
256
260
  member: "member"
@@ -297,6 +301,7 @@ en:
297
301
  new_group: "new group"
298
302
  new_password: "New password"
299
303
  new_password_instructions: "Please enter and confirm the new password you would like to use. It should be at least six characters long, nothing obvious or typical and with at least one non-letter character."
304
+ nickname_or_email: "Nickname or email address"
300
305
  'no': "no"
301
306
  no_description: "No description available"
302
307
  no_directory: "This site does not make user information public."
@@ -1,5 +1,5 @@
1
1
  module RadiantReaderExtension
2
- VERSION = '3.0.23'
2
+ VERSION = '3.0.24'
3
3
  SUMMARY = %q{Reader/viewer/visitor registration, login and access-control for Radiant CMS}
4
4
  DESCRIPTION = %q{Provides reader/member/user registration and management functions including password-reminder, group-based page access control and administrative email.}
5
5
  URL = "http://radiant.spanner.org/reader"
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-reader-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 23
10
- version: 3.0.23
9
+ - 24
10
+ version: 3.0.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - William Ross
@@ -331,6 +331,7 @@ files:
331
331
  - public/stylesheets/sass/admin/reader.sass
332
332
  - public/stylesheets/sass/admin/reader_group.sass
333
333
  - public/stylesheets/sass/reader.sass
334
+ - radiant-reader-extension-3.0.23.gem
334
335
  - radiant-reader-extension-3.1.0.gem
335
336
  - radiant-reader-extension.gemspec
336
337
  - Rakefile
@@ -360,7 +361,7 @@ files:
360
361
  homepage: http://radiant.spanner.org/reader
361
362
  licenses: []
362
363
 
363
- post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.23'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
364
+ post_install_message: "\n Add this to your radiant project with a line in your Gemfile:\n\n gem 'radiant-reader-extension', '~> 3.0.24'\n\n and if you haven't already, remember to enable ActionMailer in your\n project's config/environment.rb.\n "
364
365
  rdoc_options: []
365
366
 
366
367
  require_paths: