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 +3 -11
- data/VERSION +1 -1
- data/app/controllers/admin/readers_controller.rb +1 -1
- data/app/views/readers/_form.html.haml +2 -2
- data/config/locales/en.yml +1 -0
- data/radiant-reader-extension.gemspec +1 -1
- data/reader_extension.rb +1 -1
- metadata +3 -3
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
|
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
|
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
|
-
|
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.
|
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
|
-
|
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,
|
27
|
+
= f.text_field :email, :class => 'standard'
|
28
28
|
|
29
29
|
- else
|
30
30
|
%p
|
data/config/locales/en.yml
CHANGED
data/reader_extension.rb
CHANGED
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:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 4
|
10
|
+
version: 1.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- spanner
|