radiant-forum-extension 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +155 -0
- data/Rakefile +139 -0
- data/VERSION +1 -0
- data/app/controllers/admin/forums_controller.rb +11 -0
- data/app/controllers/forums_controller.rb +34 -0
- data/app/controllers/posts_controller.rb +238 -0
- data/app/controllers/topics_controller.rb +78 -0
- data/app/models/forum.rb +52 -0
- data/app/models/moderatorship.rb +5 -0
- data/app/models/post.rb +122 -0
- data/app/models/post_attachment.rb +73 -0
- data/app/models/topic.rb +162 -0
- data/app/views/admin/forums/_form.html.haml +25 -0
- data/app/views/admin/forums/edit.html.haml +5 -0
- data/app/views/admin/forums/index.html.haml +76 -0
- data/app/views/admin/forums/moderate.html.haml +2 -0
- data/app/views/admin/forums/new.html.haml +5 -0
- data/app/views/admin/forums/remove.html.haml +22 -0
- data/app/views/admin/pages/_edit_commentability.html.haml +9 -0
- data/app/views/admin/reader_settings/_forum.html.haml +4 -0
- data/app/views/admin/sites/_choose_forum_layout.html.haml +7 -0
- data/app/views/forums/_forum.html.haml +22 -0
- data/app/views/forums/index.html.haml +44 -0
- data/app/views/forums/show.html.haml +38 -0
- data/app/views/forums/show.rss.builder +13 -0
- data/app/views/layouts/feed.rss.builder +5 -0
- data/app/views/monitorships/create.rjs.erb +1 -0
- data/app/views/monitorships/destroy.rjs.erb +1 -0
- data/app/views/monitorships/index.html.erb +35 -0
- data/app/views/pages/_comment.html.haml +10 -0
- data/app/views/pages/_comments.html.haml +15 -0
- data/app/views/posts/_attachment.html.haml +2 -0
- data/app/views/posts/_form.html.haml +6 -0
- data/app/views/posts/_latest.html.haml +17 -0
- data/app/views/posts/_post.html.haml +67 -0
- data/app/views/posts/_post.rss.builder +13 -0
- data/app/views/posts/_reply.html.haml +36 -0
- data/app/views/posts/_search.html.haml +28 -0
- data/app/views/posts/_uploader.html.haml +16 -0
- data/app/views/posts/edit.html.haml +20 -0
- data/app/views/posts/index.html.haml +33 -0
- data/app/views/posts/index.rss.builder +14 -0
- data/app/views/posts/new.html.haml +14 -0
- data/app/views/posts/preview.html.haml +32 -0
- data/app/views/posts/search.html.haml +54 -0
- data/app/views/posts/search.rss.builder +14 -0
- data/app/views/posts/show.html.haml +10 -0
- data/app/views/reader_notifier/post.rhtml +14 -0
- data/app/views/readers/_extra_controls.html.haml +5 -0
- data/app/views/readers/show_with_posts.html.haml +47 -0
- data/app/views/topics/_form.html.haml +26 -0
- data/app/views/topics/_help.html.haml +8 -0
- data/app/views/topics/_locked.html.haml +2 -0
- data/app/views/topics/_topic.html.haml +35 -0
- data/app/views/topics/_topic.rss.builder +9 -0
- data/app/views/topics/comments.html.haml +5 -0
- data/app/views/topics/edit.html.haml +26 -0
- data/app/views/topics/index.html.haml +41 -0
- data/app/views/topics/index.rss.builder +14 -0
- data/app/views/topics/new.html.haml +40 -0
- data/app/views/topics/show.html.haml +45 -0
- data/app/views/topics/show.rss.builder +14 -0
- data/config/routes.rb +16 -0
- data/db/migrate/001_create_forum_tables.rb +64 -0
- data/db/migrate/002_pages_commentable.rb +16 -0
- data/db/migrate/003_extend_sites.rb +13 -0
- data/db/migrate/004_sample_layout.rb +41 -0
- data/db/migrate/005_post_attachments.rb +19 -0
- data/db/migrate/006_user_relations.rb +20 -0
- data/db/migrate/007_reader_ownership.rb +35 -0
- data/db/migrate/008_first_posts.rb +13 -0
- data/db/migrate/20090824111005_import_helpers.rb +15 -0
- data/forum_extension.rb +44 -0
- data/lib/forum_admin_ui.rb +37 -0
- data/lib/forum_helper.rb +109 -0
- data/lib/forum_page.rb +45 -0
- data/lib/forum_reader.rb +9 -0
- data/lib/forum_reader_notifier.rb +9 -0
- data/lib/forum_readers_controller.rb +15 -0
- data/lib/forum_red_cloth3.rb +10 -0
- data/lib/forum_red_cloth4.rb +21 -0
- data/lib/forum_site.rb +12 -0
- data/lib/forum_tags.rb +285 -0
- data/lib/tasks/radiant_forum_extension_tasks.rake +137 -0
- data/pkg/radiant-forum-extension-0.5.0.gem +0 -0
- data/public/images/admin/forum.png +0 -0
- data/public/images/admin/new-forum.png +0 -0
- data/public/images/admin/nominus.png +0 -0
- data/public/images/admin/noremove.png +0 -0
- data/public/images/emoticons/angry.gif +0 -0
- data/public/images/emoticons/bigsmile.gif +0 -0
- data/public/images/emoticons/confused.gif +0 -0
- data/public/images/emoticons/cool.gif +0 -0
- data/public/images/emoticons/cry.gif +0 -0
- data/public/images/emoticons/devil.gif +0 -0
- data/public/images/emoticons/neutral.gif +0 -0
- data/public/images/emoticons/sad.gif +0 -0
- data/public/images/emoticons/shamed.gif +0 -0
- data/public/images/emoticons/shocked.gif +0 -0
- data/public/images/emoticons/smile.gif +0 -0
- data/public/images/emoticons/surprised.gif +0 -0
- data/public/images/emoticons/tongue.gif +0 -0
- data/public/images/emoticons/wink.gif +0 -0
- data/public/images/forum/attachment.png +0 -0
- data/public/images/forum/attachment_link.png +0 -0
- data/public/images/forum/attachment_over.png +0 -0
- data/public/images/forum/chk_off.png +0 -0
- data/public/images/forum/chk_on.png +0 -0
- data/public/images/forum/feed_14.png +0 -0
- data/public/images/forum/feed_28.png +0 -0
- data/public/images/forum/post_14.png +0 -0
- data/public/images/forum/post_14_over.png +0 -0
- data/public/images/forum/rdo_off.png +0 -0
- data/public/images/forum/rdo_on.png +0 -0
- data/public/images/forum/wait_16_grey.gif +0 -0
- data/public/javascripts/platform/forum.js +175 -0
- data/public/javascripts/platform/remotecontent.js +89 -0
- data/public/stylesheets/admin/forum.css +87 -0
- data/public/stylesheets/platform/forum.css +70 -0
- data/radiant-forum-extension.gemspec +215 -0
- data/spec/controllers/admin/forums_controller_spec.rb +54 -0
- data/spec/controllers/forums_controller_spec.rb +42 -0
- data/spec/controllers/posts_controller_spec.rb +310 -0
- data/spec/controllers/topics_controller_spec.rb +133 -0
- data/spec/datasets/forum_layouts_dataset.rb +15 -0
- data/spec/datasets/forum_pages_dataset.rb +11 -0
- data/spec/datasets/forum_readers_dataset.rb +55 -0
- data/spec/datasets/forum_sites_dataset.rb +10 -0
- data/spec/datasets/forums_dataset.rb +28 -0
- data/spec/datasets/posts_dataset.rb +31 -0
- data/spec/datasets/topics_dataset.rb +37 -0
- data/spec/lib/forum_admin_ui_spec.rb +35 -0
- data/spec/lib/forum_page_spec.rb +63 -0
- data/spec/lib/forum_reader_notification_spec.rb +9 -0
- data/spec/lib/forum_reader_spec.rb +13 -0
- data/spec/lib/forum_site_spec.rb +39 -0
- data/spec/models/forum_spec.rb +48 -0
- data/spec/models/post_spec.rb +91 -0
- data/spec/models/topic_spec.rb +105 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helper.rb +44 -0
- data/vendor/plugins/acts_as_list/README +23 -0
- data/vendor/plugins/acts_as_list/init.rb +3 -0
- data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
- data/vendor/plugins/acts_as_list/test/list_test.rb +332 -0
- metadata +287 -0
metadata
ADDED
@@ -0,0 +1,287 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: radiant-forum-extension
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 0.6.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- spanner
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-10-04 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: radiant
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 59
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 9
|
33
|
+
- 0
|
34
|
+
version: 0.9.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: radiant-reader-extension
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: paperclip
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: will_paginate
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
76
|
+
version: "0"
|
77
|
+
type: :runtime
|
78
|
+
version_requirements: *id004
|
79
|
+
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.
|
80
|
+
email: will@spanner.org
|
81
|
+
executables: []
|
82
|
+
|
83
|
+
extensions: []
|
84
|
+
|
85
|
+
extra_rdoc_files:
|
86
|
+
- README.md
|
87
|
+
files:
|
88
|
+
- README.md
|
89
|
+
- Rakefile
|
90
|
+
- VERSION
|
91
|
+
- app/controllers/admin/forums_controller.rb
|
92
|
+
- app/controllers/forums_controller.rb
|
93
|
+
- app/controllers/posts_controller.rb
|
94
|
+
- app/controllers/topics_controller.rb
|
95
|
+
- app/models/forum.rb
|
96
|
+
- app/models/moderatorship.rb
|
97
|
+
- app/models/post.rb
|
98
|
+
- app/models/post_attachment.rb
|
99
|
+
- app/models/topic.rb
|
100
|
+
- app/views/admin/forums/_form.html.haml
|
101
|
+
- app/views/admin/forums/edit.html.haml
|
102
|
+
- app/views/admin/forums/index.html.haml
|
103
|
+
- app/views/admin/forums/moderate.html.haml
|
104
|
+
- app/views/admin/forums/new.html.haml
|
105
|
+
- app/views/admin/forums/remove.html.haml
|
106
|
+
- app/views/admin/pages/_edit_commentability.html.haml
|
107
|
+
- app/views/admin/reader_settings/_forum.html.haml
|
108
|
+
- app/views/admin/sites/_choose_forum_layout.html.haml
|
109
|
+
- app/views/forums/_forum.html.haml
|
110
|
+
- app/views/forums/index.html.haml
|
111
|
+
- app/views/forums/show.html.haml
|
112
|
+
- app/views/forums/show.rss.builder
|
113
|
+
- app/views/layouts/feed.rss.builder
|
114
|
+
- app/views/monitorships/create.rjs.erb
|
115
|
+
- app/views/monitorships/destroy.rjs.erb
|
116
|
+
- app/views/monitorships/index.html.erb
|
117
|
+
- app/views/pages/_comment.html.haml
|
118
|
+
- app/views/pages/_comments.html.haml
|
119
|
+
- app/views/posts/_attachment.html.haml
|
120
|
+
- app/views/posts/_form.html.haml
|
121
|
+
- app/views/posts/_latest.html.haml
|
122
|
+
- app/views/posts/_post.html.haml
|
123
|
+
- app/views/posts/_post.rss.builder
|
124
|
+
- app/views/posts/_reply.html.haml
|
125
|
+
- app/views/posts/_search.html.haml
|
126
|
+
- app/views/posts/_uploader.html.haml
|
127
|
+
- app/views/posts/edit.html.haml
|
128
|
+
- app/views/posts/index.html.haml
|
129
|
+
- app/views/posts/index.rss.builder
|
130
|
+
- app/views/posts/new.html.haml
|
131
|
+
- app/views/posts/preview.html.haml
|
132
|
+
- app/views/posts/search.html.haml
|
133
|
+
- app/views/posts/search.rss.builder
|
134
|
+
- app/views/posts/show.html.haml
|
135
|
+
- app/views/reader_notifier/post.rhtml
|
136
|
+
- app/views/readers/_extra_controls.html.haml
|
137
|
+
- app/views/readers/show_with_posts.html.haml
|
138
|
+
- app/views/topics/_form.html.haml
|
139
|
+
- app/views/topics/_help.html.haml
|
140
|
+
- app/views/topics/_locked.html.haml
|
141
|
+
- app/views/topics/_topic.html.haml
|
142
|
+
- app/views/topics/_topic.rss.builder
|
143
|
+
- app/views/topics/comments.html.haml
|
144
|
+
- app/views/topics/edit.html.haml
|
145
|
+
- app/views/topics/index.html.haml
|
146
|
+
- app/views/topics/index.rss.builder
|
147
|
+
- app/views/topics/new.html.haml
|
148
|
+
- app/views/topics/show.html.haml
|
149
|
+
- app/views/topics/show.rss.builder
|
150
|
+
- config/routes.rb
|
151
|
+
- db/migrate/001_create_forum_tables.rb
|
152
|
+
- db/migrate/002_pages_commentable.rb
|
153
|
+
- db/migrate/003_extend_sites.rb
|
154
|
+
- db/migrate/004_sample_layout.rb
|
155
|
+
- db/migrate/005_post_attachments.rb
|
156
|
+
- db/migrate/006_user_relations.rb
|
157
|
+
- db/migrate/007_reader_ownership.rb
|
158
|
+
- db/migrate/008_first_posts.rb
|
159
|
+
- db/migrate/20090824111005_import_helpers.rb
|
160
|
+
- forum_extension.rb
|
161
|
+
- lib/forum_admin_ui.rb
|
162
|
+
- lib/forum_helper.rb
|
163
|
+
- lib/forum_page.rb
|
164
|
+
- lib/forum_reader.rb
|
165
|
+
- lib/forum_reader_notifier.rb
|
166
|
+
- lib/forum_readers_controller.rb
|
167
|
+
- lib/forum_red_cloth3.rb
|
168
|
+
- lib/forum_red_cloth4.rb
|
169
|
+
- lib/forum_site.rb
|
170
|
+
- lib/forum_tags.rb
|
171
|
+
- lib/tasks/radiant_forum_extension_tasks.rake
|
172
|
+
- pkg/radiant-forum-extension-0.5.0.gem
|
173
|
+
- public/images/admin/forum.png
|
174
|
+
- public/images/admin/new-forum.png
|
175
|
+
- public/images/admin/nominus.png
|
176
|
+
- public/images/admin/noremove.png
|
177
|
+
- public/images/emoticons/angry.gif
|
178
|
+
- public/images/emoticons/bigsmile.gif
|
179
|
+
- public/images/emoticons/confused.gif
|
180
|
+
- public/images/emoticons/cool.gif
|
181
|
+
- public/images/emoticons/cry.gif
|
182
|
+
- public/images/emoticons/devil.gif
|
183
|
+
- public/images/emoticons/neutral.gif
|
184
|
+
- public/images/emoticons/sad.gif
|
185
|
+
- public/images/emoticons/shamed.gif
|
186
|
+
- public/images/emoticons/shocked.gif
|
187
|
+
- public/images/emoticons/smile.gif
|
188
|
+
- public/images/emoticons/surprised.gif
|
189
|
+
- public/images/emoticons/tongue.gif
|
190
|
+
- public/images/emoticons/wink.gif
|
191
|
+
- public/images/forum/attachment.png
|
192
|
+
- public/images/forum/attachment_link.png
|
193
|
+
- public/images/forum/attachment_over.png
|
194
|
+
- public/images/forum/chk_off.png
|
195
|
+
- public/images/forum/chk_on.png
|
196
|
+
- public/images/forum/feed_14.png
|
197
|
+
- public/images/forum/feed_28.png
|
198
|
+
- public/images/forum/post_14.png
|
199
|
+
- public/images/forum/post_14_over.png
|
200
|
+
- public/images/forum/rdo_off.png
|
201
|
+
- public/images/forum/rdo_on.png
|
202
|
+
- public/images/forum/wait_16_grey.gif
|
203
|
+
- public/javascripts/platform/forum.js
|
204
|
+
- public/javascripts/platform/remotecontent.js
|
205
|
+
- public/stylesheets/admin/forum.css
|
206
|
+
- public/stylesheets/platform/forum.css
|
207
|
+
- radiant-forum-extension.gemspec
|
208
|
+
- spec/controllers/admin/forums_controller_spec.rb
|
209
|
+
- spec/controllers/forums_controller_spec.rb
|
210
|
+
- spec/controllers/posts_controller_spec.rb
|
211
|
+
- spec/controllers/topics_controller_spec.rb
|
212
|
+
- spec/datasets/forum_layouts_dataset.rb
|
213
|
+
- spec/datasets/forum_pages_dataset.rb
|
214
|
+
- spec/datasets/forum_readers_dataset.rb
|
215
|
+
- spec/datasets/forum_sites_dataset.rb
|
216
|
+
- spec/datasets/forums_dataset.rb
|
217
|
+
- spec/datasets/posts_dataset.rb
|
218
|
+
- spec/datasets/topics_dataset.rb
|
219
|
+
- spec/lib/forum_admin_ui_spec.rb
|
220
|
+
- spec/lib/forum_page_spec.rb
|
221
|
+
- spec/lib/forum_reader_notification_spec.rb
|
222
|
+
- spec/lib/forum_reader_spec.rb
|
223
|
+
- spec/lib/forum_site_spec.rb
|
224
|
+
- spec/models/forum_spec.rb
|
225
|
+
- spec/models/post_spec.rb
|
226
|
+
- spec/models/topic_spec.rb
|
227
|
+
- spec/spec.opts
|
228
|
+
- spec/spec_helper.rb
|
229
|
+
- vendor/plugins/acts_as_list/README
|
230
|
+
- vendor/plugins/acts_as_list/init.rb
|
231
|
+
- vendor/plugins/acts_as_list/lib/active_record/acts/list.rb
|
232
|
+
- vendor/plugins/acts_as_list/test/list_test.rb
|
233
|
+
has_rdoc: true
|
234
|
+
homepage: http://github.com/spanner/radiant-forum-extension
|
235
|
+
licenses: []
|
236
|
+
|
237
|
+
post_install_message:
|
238
|
+
rdoc_options:
|
239
|
+
- --charset=UTF-8
|
240
|
+
require_paths:
|
241
|
+
- lib
|
242
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
+
none: false
|
244
|
+
requirements:
|
245
|
+
- - ">="
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
hash: 3
|
248
|
+
segments:
|
249
|
+
- 0
|
250
|
+
version: "0"
|
251
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
hash: 3
|
257
|
+
segments:
|
258
|
+
- 0
|
259
|
+
version: "0"
|
260
|
+
requirements: []
|
261
|
+
|
262
|
+
rubyforge_project:
|
263
|
+
rubygems_version: 1.3.7
|
264
|
+
signing_key:
|
265
|
+
specification_version: 3
|
266
|
+
summary: Forum and Comment Extension for Radiant CMS
|
267
|
+
test_files:
|
268
|
+
- spec/controllers/admin/forums_controller_spec.rb
|
269
|
+
- spec/controllers/forums_controller_spec.rb
|
270
|
+
- spec/controllers/posts_controller_spec.rb
|
271
|
+
- spec/controllers/topics_controller_spec.rb
|
272
|
+
- spec/datasets/forum_layouts_dataset.rb
|
273
|
+
- spec/datasets/forum_pages_dataset.rb
|
274
|
+
- spec/datasets/forum_readers_dataset.rb
|
275
|
+
- spec/datasets/forum_sites_dataset.rb
|
276
|
+
- spec/datasets/forums_dataset.rb
|
277
|
+
- spec/datasets/posts_dataset.rb
|
278
|
+
- spec/datasets/topics_dataset.rb
|
279
|
+
- spec/lib/forum_admin_ui_spec.rb
|
280
|
+
- spec/lib/forum_page_spec.rb
|
281
|
+
- spec/lib/forum_reader_notification_spec.rb
|
282
|
+
- spec/lib/forum_reader_spec.rb
|
283
|
+
- spec/lib/forum_site_spec.rb
|
284
|
+
- spec/models/forum_spec.rb
|
285
|
+
- spec/models/post_spec.rb
|
286
|
+
- spec/models/topic_spec.rb
|
287
|
+
- spec/spec_helper.rb
|