radiant-reader-extension 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -17,7 +17,7 @@ The purpose of this extension is to provide a common core that supports other vi
17
17
 
18
18
  ## Status
19
19
 
20
- Compatible with radiant 0.9.2, which isn't out yet. You can use the preconfiguration branch of radiant edge to try this out. Expect changes.
20
+ Compatible with radiant 0.9.2, which isn't out yet. You can use radiant edge to try this out. Expect small changes in support of the new forum and group releases. Multi-site compatibility fixes are likely too.
21
21
 
22
22
  ## Requirements
23
23
 
@@ -31,7 +31,7 @@ Sanitize uses nokogiri, which needs libxml2 and libxslt: you may need to go off
31
31
 
32
32
  gem 'authlogic'
33
33
 
34
- in your environment.rb before you can migrate anything. Authlogic has to load before anything else calls `require ApplicationController`.
34
+ in your environment.rb before you can migrate anything. Authlogic has to load before _anything_ else requires `ApplicationController`.
35
35
 
36
36
  ## Installation
37
37
 
@@ -50,15 +50,7 @@ and then:
50
50
 
51
51
  ## Configuration
52
52
 
53
- If you want to allow public registration, set `reader.allow_registration?` to true. If it is false, then reader accounts can only be created by the administrator.
54
-
55
- Under multi_site Reader adds a `reader_layout` column to the site table and a layout-chooser to the site-edit view. In a single-site installation you will also need these configuration entries:
56
-
57
- * reader.layout (should be the name of a radiant layout)
58
- * site.name
59
- * site.url
60
-
61
- The latter two are used in email notifications.
53
+ All the main configuration settings can now be managed through the 'readers' configuration pane.
62
54
 
63
55
  ## Layouts
64
56
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
@@ -12,7 +12,7 @@ class Admin::ReadersController < Admin::ResourceController
12
12
  model.update_attributes!(params[:reader])
13
13
  model.clear_password = params[:reader][:password] if params[:reader] && params[:reader][:password] # condition is so that radiant tests pass
14
14
  model.send_invitation_message
15
- announce_saved
15
+ flash[:notice] = t('reader_saved')
16
16
  response_for :create
17
17
  end
18
18
 
@@ -21,10 +21,10 @@
21
21
 
22
22
  .innocuous
23
23
  %p
24
- =f.label :email, t("dont_fill"), :class => 'required' }
24
+ =f.label :email, t("dont_fill"), :class => 'required'
25
25
  %span.formnote= t('spam_trap')
26
26
  %br
27
- = f.text_field :email, '', :class => 'standard'
27
+ = f.text_field :email, :class => 'standard'
28
28
 
29
29
  - else
30
30
  %p
@@ -94,6 +94,7 @@ en:
94
94
  reader_emails: "Administrative messages"
95
95
  reader: 'Reader'
96
96
  reader_logged_in_as: "You are logged in as %{name}."
97
+ reader_saved: "Reader saved"
97
98
  readers: 'Readers'
98
99
  register: "register"
99
100
  registration: "registration"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-reader-extension}
8
- s.version = "1.2.3"
8
+ s.version = "1.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["spanner"]
data/reader_extension.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require_dependency 'application_controller'
2
2
 
3
3
  class ReaderExtension < Radiant::Extension
4
- version "1.2.3"
4
+ version "1.2.4"
5
5
  description "Provides reader/member/user registration and management functions"
6
6
  url "http://spanner.org/radiant/reader"
7
7
 
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: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 3
10
- version: 1.2.3
9
+ - 4
10
+ version: 1.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner