radiant-forum-extension 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/reader_configuration/_edit_forum.html.haml +10 -0
- data/app/views/admin/reader_configuration/_forum.html.haml +8 -0
- data/forum_extension.rb +4 -4
- data/radiant-forum-extension.gemspec +4 -4
- metadata +6 -6
- data/app/views/admin/reader_settings/_forum.html.haml +0 -4
- data/pkg/radiant-forum-extension-0.5.0.gem +0 -0
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/forum_extension.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_dependency 'application_controller'
|
2
2
|
|
3
3
|
class ForumExtension < Radiant::Extension
|
4
|
-
version "0.
|
4
|
+
version "0.6.1"
|
5
5
|
description "Nice clean forums and page comments for inclusion in your radiant site. Derived long ago from beast. Requires the reader extension and share_layouts."
|
6
6
|
url "http://spanner.org/radiant/forum"
|
7
7
|
|
@@ -14,13 +14,13 @@ class ForumExtension < Radiant::Extension
|
|
14
14
|
UserActionObserver.instance.send :add_observer!, Topic
|
15
15
|
UserActionObserver.instance.send :add_observer!, Post
|
16
16
|
Page.send :include, ForumTags
|
17
|
-
Admin::ReaderSettingsController.make_settable 'forum.editable_period' => 15, 'forum.public?' => true, 'forum.layout' => '', 'forum.allow_page_comments?' => true
|
18
17
|
|
19
18
|
unless defined? admin.forum # UI is a singleton
|
20
19
|
Radiant::AdminUI.send :include, ForumAdminUI
|
21
20
|
admin.forum = Radiant::AdminUI.load_default_forum_regions
|
22
|
-
admin.pages.edit.add :parts_bottom, "edit_commentability", :after => "edit_layout_and_type"
|
23
|
-
admin.
|
21
|
+
# admin.pages.edit.add :parts_bottom, "edit_commentability", :after => "edit_layout_and_type"
|
22
|
+
admin.reader_configuration.show.add :settings, "forum", :after => "sender"
|
23
|
+
admin.reader_configuration.edit.add :form, "edit_forum", :after => "edit_sender"
|
24
24
|
if defined? Site && admin.sites
|
25
25
|
Site.send :include, ForumSite
|
26
26
|
end
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-forum-extension}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["spanner"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-19}
|
13
13
|
s.description = %q{Nice clean forums and page comments for inclusion in your radiant site. Derived long ago from beast. Requires the reader extension and share_layouts.}
|
14
14
|
s.email = %q{will@spanner.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -35,7 +35,8 @@ Gem::Specification.new do |s|
|
|
35
35
|
"app/views/admin/forums/new.html.haml",
|
36
36
|
"app/views/admin/forums/remove.html.haml",
|
37
37
|
"app/views/admin/pages/_edit_commentability.html.haml",
|
38
|
-
"app/views/admin/
|
38
|
+
"app/views/admin/reader_configuration/_edit_forum.html.haml",
|
39
|
+
"app/views/admin/reader_configuration/_forum.html.haml",
|
39
40
|
"app/views/admin/sites/_choose_forum_layout.html.haml",
|
40
41
|
"app/views/forums/_forum.html.haml",
|
41
42
|
"app/views/forums/index.html.haml",
|
@@ -100,7 +101,6 @@ Gem::Specification.new do |s|
|
|
100
101
|
"lib/forum_site.rb",
|
101
102
|
"lib/forum_tags.rb",
|
102
103
|
"lib/tasks/radiant_forum_extension_tasks.rake",
|
103
|
-
"pkg/radiant-forum-extension-0.5.0.gem",
|
104
104
|
"public/images/admin/forum.png",
|
105
105
|
"public/images/admin/new-forum.png",
|
106
106
|
"public/images/admin/nominus.png",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-forum-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- spanner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-19 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -104,7 +104,8 @@ files:
|
|
104
104
|
- app/views/admin/forums/new.html.haml
|
105
105
|
- app/views/admin/forums/remove.html.haml
|
106
106
|
- app/views/admin/pages/_edit_commentability.html.haml
|
107
|
-
- app/views/admin/
|
107
|
+
- app/views/admin/reader_configuration/_edit_forum.html.haml
|
108
|
+
- app/views/admin/reader_configuration/_forum.html.haml
|
108
109
|
- app/views/admin/sites/_choose_forum_layout.html.haml
|
109
110
|
- app/views/forums/_forum.html.haml
|
110
111
|
- app/views/forums/index.html.haml
|
@@ -169,7 +170,6 @@ files:
|
|
169
170
|
- lib/forum_site.rb
|
170
171
|
- lib/forum_tags.rb
|
171
172
|
- lib/tasks/radiant_forum_extension_tasks.rake
|
172
|
-
- pkg/radiant-forum-extension-0.5.0.gem
|
173
173
|
- public/images/admin/forum.png
|
174
174
|
- public/images/admin/new-forum.png
|
175
175
|
- public/images/admin/nominus.png
|
@@ -1,4 +0,0 @@
|
|
1
|
-
= render :partial => 'setting', :locals => {:key => 'forum.layout', :label => "Forum layout", :notes => "The radiant layout that will be used to present forum topics and posts"}
|
2
|
-
= render :partial => 'setting', :locals => {:key => 'forum.editable_period', :label => "Editable interval", :notes => "The period (in minutes) for which forum messages remain editable by their author"}
|
3
|
-
= render :partial => 'setting', :locals => {:key => 'forum.public?', :label => "Forum visible to the public"}
|
4
|
-
= render :partial => 'setting', :locals => {:key => 'forum.allow_page_comments?', :label => "Page comments enabled", :notes => "Has no effect unless the comment mechanism is invoked by the layout."}
|
Binary file
|