radiant-forum-extension 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/README.md +37 -56
  2. data/VERSION +1 -1
  3. data/app/controllers/forum_base_controller.rb +78 -0
  4. data/app/controllers/forums_controller.rb +5 -34
  5. data/app/controllers/posts_controller.rb +61 -153
  6. data/app/controllers/topics_controller.rb +6 -63
  7. data/app/helpers/forum_helper.rb +24 -48
  8. data/app/models/forum.rb +5 -18
  9. data/app/models/post.rb +53 -55
  10. data/app/models/post_attachment.rb +9 -6
  11. data/app/models/topic.rb +20 -113
  12. data/app/views/admin/reader_configuration/_edit_forum.html.haml +4 -2
  13. data/app/views/admin/reader_configuration/_forum.html.haml +6 -2
  14. data/app/views/forums/_forum.html.haml +14 -20
  15. data/app/views/forums/_latest.html.haml +12 -0
  16. data/app/views/forums/_standard_parts.html.haml +49 -0
  17. data/app/views/forums/index.html.haml +16 -24
  18. data/app/views/forums/show.html.haml +18 -28
  19. data/app/views/pages/_comment.html.haml +1 -1
  20. data/app/views/posts/_attachments.html.haml +13 -0
  21. data/app/views/posts/_confirm_delete.html.haml +10 -0
  22. data/app/views/posts/_context.html.haml +16 -0
  23. data/app/views/posts/_edit_links.html.haml +11 -0
  24. data/app/views/posts/_form.html.haml +40 -2
  25. data/app/views/posts/_latest.html.haml +10 -17
  26. data/app/views/posts/_new_attachment.html.haml +2 -0
  27. data/app/views/posts/_post.html.haml +25 -60
  28. data/app/views/posts/{_search.html.haml → _search_form.html.haml} +1 -1
  29. data/app/views/posts/_uploader.html.haml +2 -2
  30. data/app/views/posts/edit.html.haml +26 -13
  31. data/app/views/posts/index.html.haml +19 -27
  32. data/app/views/posts/new.html.haml +27 -7
  33. data/app/views/posts/remove.html.haml +27 -0
  34. data/app/views/posts/show.html.haml +20 -7
  35. data/app/views/readers/_forum_messages.html.haml +20 -0
  36. data/app/views/readers/_messages_summary.html.haml +3 -0
  37. data/app/views/topics/_context.html.haml +12 -0
  38. data/app/views/topics/_latest.html.haml +14 -16
  39. data/app/views/topics/_locked.html.haml +1 -1
  40. data/app/views/topics/_replies.html.haml +6 -0
  41. data/app/views/topics/_reply.html.haml +23 -0
  42. data/app/views/topics/_topic.html.haml +14 -43
  43. data/app/views/topics/_voices.html.haml +5 -0
  44. data/app/views/topics/index.html.haml +11 -24
  45. data/app/views/topics/show.html.haml +25 -38
  46. data/config/initializers/radiant_config.rb +5 -1
  47. data/config/locales/en.yml +73 -27
  48. data/config/routes.rb +3 -4
  49. data/db/migrate/20101222160900_page_posts.rb +21 -0
  50. data/db/migrate/20101222163605_no_comment_forum.rb +10 -0
  51. data/db/migrate/20110105103827_topic_merely_associative.rb +23 -0
  52. data/db/migrate/20110111080550_detach_observer.rb +11 -0
  53. data/db/migrate/20110127113852_import_attachments.rb +9 -0
  54. data/forum_extension.rb +12 -13
  55. data/lib/commentable_model.rb +98 -0
  56. data/lib/forum_page.rb +2 -22
  57. data/lib/forum_reader_sessions_controller.rb +14 -0
  58. data/lib/forum_readers_controller.rb +2 -9
  59. data/lib/forum_red_cloth3.rb +23 -4
  60. data/lib/forum_red_cloth4.rb +23 -4
  61. data/lib/forum_tags.rb +298 -194
  62. data/lib/sanitize/config/forum.rb +47 -0
  63. data/public/images/furniture/blank.png +0 -0
  64. data/public/images/furniture/emoticons.png +0 -0
  65. data/public/javascripts/forum.js +349 -93
  66. data/public/javascripts/jquery.tools.min.js +195 -0
  67. data/public/punymce/blank.htm +1 -0
  68. data/public/punymce/css/content.css +4 -0
  69. data/public/punymce/css/editor.css +58 -0
  70. data/public/punymce/i18n/sv.js +28 -0
  71. data/public/punymce/img/icons.gif +0 -0
  72. data/public/punymce/img/icons_uncompressed.png +0 -0
  73. data/public/punymce/plugins/bbcode.js +1 -0
  74. data/public/punymce/plugins/bbcode_src.js +50 -0
  75. data/public/punymce/plugins/editsource/css/editor.css +3 -0
  76. data/public/punymce/plugins/editsource/editsource.js +1 -0
  77. data/public/punymce/plugins/editsource/editsource_src.js +81 -0
  78. data/public/punymce/plugins/editsource/img/icons.gif +0 -0
  79. data/public/punymce/plugins/emoticons/css/content.css +13 -0
  80. data/public/punymce/plugins/emoticons/css/editor.css +17 -0
  81. data/public/punymce/plugins/emoticons/emoticons.js +1 -0
  82. data/public/punymce/plugins/emoticons/emoticons_src.js +303 -0
  83. data/public/punymce/plugins/emoticons/img/emoticons.gif +0 -0
  84. data/public/punymce/plugins/emoticons/img/emoticons.png +0 -0
  85. data/public/punymce/plugins/emoticons/img/trans.gif +0 -0
  86. data/public/punymce/plugins/entities.js +1 -0
  87. data/public/punymce/plugins/entities_src.js +37 -0
  88. data/public/punymce/plugins/forceblocks.js +1 -0
  89. data/public/punymce/plugins/forceblocks_src.js +465 -0
  90. data/public/punymce/plugins/forcenl.js +1 -0
  91. data/public/punymce/plugins/forcenl_src.js +26 -0
  92. data/public/punymce/plugins/image/css/editor.css +1 -0
  93. data/public/punymce/plugins/image/image.js +1 -0
  94. data/public/punymce/plugins/image/image_src.js +30 -0
  95. data/public/punymce/plugins/image/img/icons.gif +0 -0
  96. data/public/punymce/plugins/link/css/editor.css +2 -0
  97. data/public/punymce/plugins/link/img/icons.gif +0 -0
  98. data/public/punymce/plugins/link/link.js +1 -0
  99. data/public/punymce/plugins/link/link_src.js +36 -0
  100. data/public/punymce/plugins/paste.js +1 -0
  101. data/public/punymce/plugins/paste_src.js +169 -0
  102. data/public/punymce/plugins/protect.js +1 -0
  103. data/public/punymce/plugins/protect_src.js +30 -0
  104. data/public/punymce/plugins/safari2x.js +1 -0
  105. data/public/punymce/plugins/safari2x_src.js +284 -0
  106. data/public/punymce/plugins/tabfocus.js +1 -0
  107. data/public/punymce/plugins/tabfocus_src.js +45 -0
  108. data/public/punymce/plugins/textcolor/css/editor.css +7 -0
  109. data/public/punymce/plugins/textcolor/img/icons.gif +0 -0
  110. data/public/punymce/plugins/textcolor/textcolor.js +1 -0
  111. data/public/punymce/plugins/textcolor/textcolor_src.js +73 -0
  112. data/public/punymce/puny_mce.js +1 -0
  113. data/public/punymce/puny_mce_full.js +1 -0
  114. data/public/punymce/puny_mce_src.js +1460 -0
  115. data/public/stylesheets/sass/forum.sass +175 -169
  116. data/radiant-forum-extension.gemspec +81 -19
  117. data/spec/controllers/admin/forums_controller_spec.rb +2 -2
  118. data/spec/controllers/forums_controller_spec.rb +3 -6
  119. data/spec/controllers/posts_controller_spec.rb +76 -59
  120. data/spec/controllers/topics_controller_spec.rb +4 -95
  121. data/spec/datasets/forum_readers_dataset.rb +1 -0
  122. data/spec/datasets/forums_dataset.rb +91 -10
  123. data/spec/lib/commentable_model_spec.rb +88 -0
  124. data/spec/lib/forum_page_spec.rb +2 -34
  125. data/spec/lib/forum_site_spec.rb +2 -3
  126. data/spec/lib/forum_tags_spec.rb +35 -0
  127. data/spec/models/forum_spec.rb +31 -20
  128. data/spec/models/post_spec.rb +40 -39
  129. data/spec/models/topic_spec.rb +29 -71
  130. data/spec/spec_helper.rb +10 -1
  131. metadata +84 -22
  132. data/app/views/posts/_reply.html.haml +0 -35
  133. data/app/views/posts/_upload.html.haml +0 -2
  134. data/app/views/posts/preview.html.haml +0 -32
  135. data/app/views/posts/search.html.haml +0 -63
  136. data/app/views/posts/search.rss.builder +0 -14
  137. data/app/views/topics/_form.html.haml +0 -30
  138. data/app/views/topics/_help.html.haml +0 -8
  139. data/app/views/topics/comments.html.haml +0 -6
  140. data/app/views/topics/edit.html.haml +0 -26
  141. data/app/views/topics/new.html.haml +0 -56
  142. data/spec/datasets/forum_pages_dataset.rb +0 -11
  143. data/spec/datasets/posts_dataset.rb +0 -31
  144. data/spec/datasets/topics_dataset.rb +0 -37
@@ -1,138 +1,126 @@
1
- @import reader.sass
1
+ // this is dumped out of current work and needs to be fixed!
2
2
 
3
3
  div#forum
4
- h1, h2
5
- margin-bottom: 24px
6
- line-height: 1.2
7
- a.floating
8
- float: right
9
- margin: 0 0 10px 20px
10
- a.feedlink
11
- background: url(/images/furniture/feed_14.png) no-repeat 0 4px
12
- padding-left: 18px
13
- color: #f58822
14
- div.reply, div.first_post
15
- margin-left: 0
16
- div.post_header a.replied
17
- color: #cacac8
18
- div.newmessage
19
- float: right
20
- margin: 0 0 12px 16px
21
- +border-radius
22
- &:hover
23
- +box-shadow(#333, 1px, 2px)
24
- background: white url(/images/admin/buttons_background.png) repeat-x top left
25
- &:active
26
- +box-shadow(#666,1px, 1px)
27
- background-position: bottom left
28
- a
29
- display: block
30
- overflow: hidden
31
- margin: 6px
32
- +functionalfonts
33
- color: $dark
34
- line-height: 1.1
35
- background: transparent url(/images/furniture/post.png) no-repeat 0 4px
36
- padding-left: 14px
4
+ div.forum
5
+ div.forum_wrapper
6
+ margin: 2em 0
7
+ div.forum_header
8
+ h2
9
+ +soft
10
+ line-height: 1
11
+ margin: 0
12
+ p.context
13
+ +light
14
+ margin: -5px 0 10px 0
15
+ div.forum_description
16
+ p
17
+ margin: 0
18
+
37
19
  div.post
38
- position: relative
39
- clear: left
40
- margin: 10px 0 50px 0
41
- div.first_post
42
- margin-top: 30px
43
- clear: both
44
- div.post_header h2
45
- margin: 0
46
- line-height: 1.1
47
- a.speaker
48
- font-weight: bold
49
- div.post_body
50
- position: relative
51
- p
52
- margin-top: .25em
53
- div.post blockquote
54
- color: #cacac8
55
- border-left-width: 5px
56
- border-left-style: solid
57
- border-left-color: #cacac8
58
- margin: 0
59
- padding-left: 20px
60
- div.over
61
- background-color: #e2e1dc
62
- div.post_control
63
- font-size: 85%
64
- color: #cacac8
65
- p
66
- margin: 0
67
- p.post_admin
68
- float: right
69
- a, a:visited
70
- font-family: helvetica,arial,sans-serif
71
- font-size: 0.8em
72
- line-height: 1
73
- padding: 4px
74
- color: white
75
- background-color: #e2e1dd
76
- +border-radius
77
- &.edit_post:hover
78
- background-color: #1c8064
79
- &.delete_post:hover
80
- background-color: #c00
81
- a
82
- color: #1bb68b
83
- &.edit_post
84
- color: #d1005d
85
- &.delete_post
86
- padding-left: 5px
87
- color: #d1005d
88
- &:hover
89
- color: #1bb68b
90
- &.waiting
91
- color: #cacac8
92
- padding-left: 18px
93
- background: transparent url(/images/furniture/wait_16_grey.gif) no-repeat left top
94
- p.waiting
95
- color: #cacac8
96
- padding-left: 18px
97
- background: transparent url(/images/furniture/wait_16_grey.gif) no-repeat left top
98
- div.post_wrapper
99
- position: relative
100
- overflow: hidden
101
- div.post_form
102
- margin: 0 0 20px 0
103
- padding: 0
104
- background: white url(/images/furniture/wait_16_grey.gif) no-repeat center center
105
- form
106
- background-color: #ffffff
107
- margin: 0
108
- label
109
- display: none
110
- textarea
111
- left: 0
112
- right: 0
113
- color: #559dc4
114
- border-color: #cacac8
115
- font-size: normal
116
- font-size: 1em
20
+ &.waiting
21
+ color: $mid
22
+ div.post_wrapper
23
+ margin: 2em 0
24
+ &.reply
25
+ margin-top: 4em
26
+ &.first
27
+ margin-top: 0
28
+ padding-bottom: 1em
29
+ border-bottom: 3px dotted #{$coolgrey8}
30
+ div.post_header
31
+ h2
32
+ +soft
33
+ line-height: 1
34
+ margin: 0
35
+ p.context
36
+ +light
37
+ margin: -5px 0 10px 0
38
+ a
39
+ &.edit_post
40
+ color: #d1005d
41
+ &.delete_post
42
+ padding-left: 5px
43
+ color: #d1005d
44
+ &:hover
45
+ color: $hover
46
+ &.waiting
47
+ color: $mid
48
+ padding-left: 18px
49
+ background: transparent url(/images/furniture/wait_16_grey.gif) no-repeat left top
50
+ div.post_control
51
+ font-size: 85%
52
+ float: right
53
+ a, a:visited
54
+ font-family: helvetica,arial,sans-serif
55
+ font-size: 0.8em
56
+ line-height: 1
57
+ padding: 4px
58
+ color: white
59
+ background-color: #e2e1dd
60
+ +border-radius
61
+ &.edit_post:hover
62
+ background-color: #1c8064
63
+ &.delete_post:hover
64
+ background-color: #c00
65
+ div.post_body
66
+ position: relative
117
67
  p
68
+ margin-top: .25em
69
+ div.post blockquote
70
+ color: #cacac8
71
+ border-left-width: 5px
72
+ border-left-style: solid
73
+ border-left-color: #cacac8
118
74
  margin: 0
75
+ padding-left: 20px
76
+ div.post_attachments
77
+ +small
78
+
79
+ p.voices
80
+ margin: 0
81
+ p.replies
82
+ clear: left
83
+ +small
84
+ margin-top: 0
85
+ font-size: 80%
86
+ color: $coolgrey4
87
+ a
88
+ color: $coolgrey8
119
89
 
120
- img.smiley
121
- margin: 3px 3px 0 3px
90
+ div.post_form
91
+ margin: 0
92
+ p
93
+ margin: 0
94
+ div.post_removal
95
+ p
96
+ margin: 0
97
+ p.warning
98
+ +soft
99
+ color: $rubinered
100
+ font-size: 1.4
101
+ p.confirmation
102
+ +soft
103
+ color: green
104
+ font-size: 1.4
122
105
 
106
+ div#search
107
+ overflow: hidden
108
+ margin: 0 0 2em 0
109
+ h2
110
+ margin: 0
111
+ p
112
+ width: 24%
113
+ margin-right: 1%
114
+ float: left
115
+ &.buttons
116
+ padding-top: 1.5em
117
+
123
118
  div.upload_stack, div.post_attachments
124
119
  margin: 0 0 30px 0
125
- border-left-width: 5px
126
- border-left-style: solid
127
- border-left-color: #cacac8
128
- padding-left: 20px
129
120
  h4
121
+ +soft
130
122
  margin: 0
131
- font-family: helvetica,arial,sans-serif
132
- font-size: 0.8em
133
- line-height: 1.4
134
- color: #cacac8
135
- margin: -3px 0 2px -10px
123
+ color: $mid
136
124
  ul
137
125
  margin: 0
138
126
  list-style: none
@@ -150,6 +138,9 @@ div.upload_stack, div.post_attachments
150
138
  font-size: 60%
151
139
  color: #d1005d
152
140
  padding: 3px
141
+ &:hover
142
+ color: white
143
+ background-color: #d1005d
153
144
  a.thumbnail
154
145
  img
155
146
  background-color: white
@@ -157,10 +148,6 @@ div.upload_stack, div.post_attachments
157
148
  margin: 4px
158
149
  +box-shadow
159
150
 
160
- a.cancel:hover, a.remove:hover
161
- background-color: #d1005d
162
- color: #ffffff
163
-
164
151
  div.upload_stack
165
152
  ul.attachments input, ul.uploads input
166
153
  display: none
@@ -168,11 +155,11 @@ div.upload_stack
168
155
  color: #4d4e53
169
156
  div.selector
170
157
  position: relative
171
- cursor: pointer
172
158
  input.filefield
173
159
  position: relative
174
160
  z-index: 100
175
161
  opacity: 0
162
+ cursor: pointer
176
163
  div.addfile
177
164
  position: absolute
178
165
  z-index: 99
@@ -202,46 +189,65 @@ p.administrative
202
189
  img.feedicon
203
190
  margin: 8px 0
204
191
 
205
- div.activation_required
206
- color: #d1005d
192
+ div.activation_required
193
+ color: #d1005d
207
194
 
208
- ul.main
209
- list-style: none
210
- margin: 20px 0 50px 0
211
- padding: 0
212
- li
195
+ .context, .updatenote
196
+ +light
197
+ color: $pale
198
+ .still_editable
199
+ +soft
200
+ color: $dark
201
+
202
+ p.waiting
203
+ color: $mid
204
+ padding-left: 18px
205
+ background: transparent url(/images/furniture/wait_16_grey.gif) no-repeat left top
206
+
207
+ img.smiley
208
+ margin: 3px 3px 0 3px
209
+
210
+ div.speaker
211
+ position: relative
213
212
  clear: left
214
- margin: 30px 0
215
- .subject a
216
- font-family: helvetica,arial,sans-serif
217
- font-size: 160%
218
- font-weight: bold
219
- line-height: 1
220
- &:visited
221
- font-family: helvetica,arial,sans-serif
222
- font-size: 160%
223
- font-weight: bold
224
- line-height: 1
225
- div.preview
226
- font-size: 85%
227
- color: #4d4e53
228
- p
229
- margin-top: 5px
230
- &.sticky .subject a
231
- color: #d1005d
232
- &:visited
233
- color: #d1005d
234
- &.locked .subject a
235
- color: #4d4e53
236
- &:visited
237
- color: #4d4e53
213
+ +outset
214
+ float: left
215
+ width: 50px
216
+ height: 50px
217
+ margin-right: 10px
238
218
 
239
- .context, .updatenote
240
- display: block
241
- font-family: helvetica,arial,sans-serif
242
- font-size: 0.8em
243
- line-height: 1.4
244
- color: $mid
245
- margin: 0
246
- .still_editable
247
- color: $dark
219
+ img.gravatar
220
+ +box-shadow
221
+ border: 3px solid white
222
+ &.thumbnail
223
+ margin: 2px 10px 10px 0
224
+ &.big
225
+ margin: 8px 10px 4px 0
226
+ &.tiny
227
+ margin: 0 6px 4px 0
228
+ border: 1px solid white
229
+
230
+ form.friendly
231
+ margin: 0 0 60px 0
232
+ p
233
+ margin: 1em 0 0 0
234
+ input.titular
235
+ width: 95%
236
+ +input
237
+ font-size: 200%
238
+ textarea, select
239
+ width: 95%
240
+ +input
241
+ input.standard
242
+ width: 95%
243
+ +input
244
+ input.login
245
+ +input
246
+ width: 50%
247
+ span.formnote
248
+ +light
249
+ color: $coolgrey8
250
+ label
251
+ +light
252
+ label.required
253
+ +heavy
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-forum-extension}
8
- s.version = "1.2.1"
8
+ s.version = "2.0.0"
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-11-08}
12
+ s.date = %q{2011-01-27}
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 = [
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
22
22
  "app/controllers/admin/forums_controller.rb",
23
23
  "app/controllers/admin/posts_controller.rb",
24
24
  "app/controllers/admin/topics_controller.rb",
25
+ "app/controllers/forum_base_controller.rb",
25
26
  "app/controllers/forums_controller.rb",
26
27
  "app/controllers/posts_controller.rb",
27
28
  "app/controllers/topics_controller.rb",
@@ -48,6 +49,8 @@ Gem::Specification.new do |s|
48
49
  "app/views/admin/topics/edit.html.haml",
49
50
  "app/views/admin/topics/index.html.haml",
50
51
  "app/views/forums/_forum.html.haml",
52
+ "app/views/forums/_latest.html.haml",
53
+ "app/views/forums/_standard_parts.html.haml",
51
54
  "app/views/forums/index.html.haml",
52
55
  "app/views/forums/show.html.haml",
53
56
  "app/views/forums/show.rss.builder",
@@ -58,34 +61,36 @@ Gem::Specification.new do |s|
58
61
  "app/views/pages/_comment.html.haml",
59
62
  "app/views/pages/_comments.html.haml",
60
63
  "app/views/posts/_attachment.html.haml",
64
+ "app/views/posts/_attachments.html.haml",
65
+ "app/views/posts/_confirm_delete.html.haml",
66
+ "app/views/posts/_context.html.haml",
67
+ "app/views/posts/_edit_links.html.haml",
61
68
  "app/views/posts/_form.html.haml",
62
69
  "app/views/posts/_latest.html.haml",
70
+ "app/views/posts/_new_attachment.html.haml",
63
71
  "app/views/posts/_post.html.haml",
64
72
  "app/views/posts/_post.rss.builder",
65
- "app/views/posts/_reply.html.haml",
66
- "app/views/posts/_search.html.haml",
67
- "app/views/posts/_upload.html.haml",
73
+ "app/views/posts/_search_form.html.haml",
68
74
  "app/views/posts/_uploader.html.haml",
69
75
  "app/views/posts/edit.html.haml",
70
76
  "app/views/posts/index.html.haml",
71
77
  "app/views/posts/index.rss.builder",
72
78
  "app/views/posts/new.html.haml",
73
- "app/views/posts/preview.html.haml",
74
- "app/views/posts/search.html.haml",
75
- "app/views/posts/search.rss.builder",
79
+ "app/views/posts/remove.html.haml",
76
80
  "app/views/posts/show.html.haml",
77
81
  "app/views/reader_notifier/post.rhtml",
78
- "app/views/topics/_form.html.haml",
79
- "app/views/topics/_help.html.haml",
82
+ "app/views/readers/_forum_messages.html.haml",
83
+ "app/views/readers/_messages_summary.html.haml",
84
+ "app/views/topics/_context.html.haml",
80
85
  "app/views/topics/_latest.html.haml",
81
86
  "app/views/topics/_locked.html.haml",
87
+ "app/views/topics/_replies.html.haml",
88
+ "app/views/topics/_reply.html.haml",
82
89
  "app/views/topics/_topic.html.haml",
83
90
  "app/views/topics/_topic.rss.builder",
84
- "app/views/topics/comments.html.haml",
85
- "app/views/topics/edit.html.haml",
91
+ "app/views/topics/_voices.html.haml",
86
92
  "app/views/topics/index.html.haml",
87
93
  "app/views/topics/index.rss.builder",
88
- "app/views/topics/new.html.haml",
89
94
  "app/views/topics/show.html.haml",
90
95
  "app/views/topics/show.rss.builder",
91
96
  "config/initializers/radiant_config.rb",
@@ -100,16 +105,24 @@ Gem::Specification.new do |s|
100
105
  "db/migrate/007_reader_ownership.rb",
101
106
  "db/migrate/008_first_posts.rb",
102
107
  "db/migrate/20090824111005_import_helpers.rb",
108
+ "db/migrate/20101222160900_page_posts.rb",
109
+ "db/migrate/20101222163605_no_comment_forum.rb",
110
+ "db/migrate/20110105103827_topic_merely_associative.rb",
111
+ "db/migrate/20110111080550_detach_observer.rb",
112
+ "db/migrate/20110127113852_import_attachments.rb",
103
113
  "forum_extension.rb",
114
+ "lib/commentable_model.rb",
104
115
  "lib/forum_admin_ui.rb",
105
116
  "lib/forum_page.rb",
106
117
  "lib/forum_reader.rb",
107
118
  "lib/forum_reader_notifier.rb",
119
+ "lib/forum_reader_sessions_controller.rb",
108
120
  "lib/forum_readers_controller.rb",
109
121
  "lib/forum_red_cloth3.rb",
110
122
  "lib/forum_red_cloth4.rb",
111
123
  "lib/forum_site.rb",
112
124
  "lib/forum_tags.rb",
125
+ "lib/sanitize/config/forum.rb",
113
126
  "lib/tasks/radiant_forum_extension_tasks.rake",
114
127
  "public/images/admin/forum.png",
115
128
  "public/images/admin/new-forum.png",
@@ -132,8 +145,10 @@ Gem::Specification.new do |s|
132
145
  "public/images/furniture/attachment.png",
133
146
  "public/images/furniture/attachment_link.png",
134
147
  "public/images/furniture/attachment_over.png",
148
+ "public/images/furniture/blank.png",
135
149
  "public/images/furniture/chk_off.png",
136
150
  "public/images/furniture/chk_on.png",
151
+ "public/images/furniture/emoticons.png",
137
152
  "public/images/furniture/feed_14.png",
138
153
  "public/images/furniture/feed_28.png",
139
154
  "public/images/furniture/post.png",
@@ -142,6 +157,55 @@ Gem::Specification.new do |s|
142
157
  "public/images/furniture/rdo_on.png",
143
158
  "public/images/furniture/wait_16_grey.gif",
144
159
  "public/javascripts/forum.js",
160
+ "public/javascripts/jquery.tools.min.js",
161
+ "public/punymce/blank.htm",
162
+ "public/punymce/css/content.css",
163
+ "public/punymce/css/editor.css",
164
+ "public/punymce/i18n/sv.js",
165
+ "public/punymce/img/icons.gif",
166
+ "public/punymce/img/icons_uncompressed.png",
167
+ "public/punymce/plugins/bbcode.js",
168
+ "public/punymce/plugins/bbcode_src.js",
169
+ "public/punymce/plugins/editsource/css/editor.css",
170
+ "public/punymce/plugins/editsource/editsource.js",
171
+ "public/punymce/plugins/editsource/editsource_src.js",
172
+ "public/punymce/plugins/editsource/img/icons.gif",
173
+ "public/punymce/plugins/emoticons/css/content.css",
174
+ "public/punymce/plugins/emoticons/css/editor.css",
175
+ "public/punymce/plugins/emoticons/emoticons.js",
176
+ "public/punymce/plugins/emoticons/emoticons_src.js",
177
+ "public/punymce/plugins/emoticons/img/emoticons.gif",
178
+ "public/punymce/plugins/emoticons/img/emoticons.png",
179
+ "public/punymce/plugins/emoticons/img/trans.gif",
180
+ "public/punymce/plugins/entities.js",
181
+ "public/punymce/plugins/entities_src.js",
182
+ "public/punymce/plugins/forceblocks.js",
183
+ "public/punymce/plugins/forceblocks_src.js",
184
+ "public/punymce/plugins/forcenl.js",
185
+ "public/punymce/plugins/forcenl_src.js",
186
+ "public/punymce/plugins/image/css/editor.css",
187
+ "public/punymce/plugins/image/image.js",
188
+ "public/punymce/plugins/image/image_src.js",
189
+ "public/punymce/plugins/image/img/icons.gif",
190
+ "public/punymce/plugins/link/css/editor.css",
191
+ "public/punymce/plugins/link/img/icons.gif",
192
+ "public/punymce/plugins/link/link.js",
193
+ "public/punymce/plugins/link/link_src.js",
194
+ "public/punymce/plugins/paste.js",
195
+ "public/punymce/plugins/paste_src.js",
196
+ "public/punymce/plugins/protect.js",
197
+ "public/punymce/plugins/protect_src.js",
198
+ "public/punymce/plugins/safari2x.js",
199
+ "public/punymce/plugins/safari2x_src.js",
200
+ "public/punymce/plugins/tabfocus.js",
201
+ "public/punymce/plugins/tabfocus_src.js",
202
+ "public/punymce/plugins/textcolor/css/editor.css",
203
+ "public/punymce/plugins/textcolor/img/icons.gif",
204
+ "public/punymce/plugins/textcolor/textcolor.js",
205
+ "public/punymce/plugins/textcolor/textcolor_src.js",
206
+ "public/punymce/puny_mce.js",
207
+ "public/punymce/puny_mce_full.js",
208
+ "public/punymce/puny_mce_src.js",
145
209
  "public/stylesheets/sass/forum.sass",
146
210
  "radiant-forum-extension.gemspec",
147
211
  "spec/controllers/admin/forums_controller_spec.rb",
@@ -149,17 +213,16 @@ Gem::Specification.new do |s|
149
213
  "spec/controllers/posts_controller_spec.rb",
150
214
  "spec/controllers/topics_controller_spec.rb",
151
215
  "spec/datasets/forum_layouts_dataset.rb",
152
- "spec/datasets/forum_pages_dataset.rb",
153
216
  "spec/datasets/forum_readers_dataset.rb",
154
217
  "spec/datasets/forum_sites_dataset.rb",
155
218
  "spec/datasets/forums_dataset.rb",
156
- "spec/datasets/posts_dataset.rb",
157
- "spec/datasets/topics_dataset.rb",
219
+ "spec/lib/commentable_model_spec.rb",
158
220
  "spec/lib/forum_admin_ui_spec.rb",
159
221
  "spec/lib/forum_page_spec.rb",
160
222
  "spec/lib/forum_reader_notification_spec.rb",
161
223
  "spec/lib/forum_reader_spec.rb",
162
224
  "spec/lib/forum_site_spec.rb",
225
+ "spec/lib/forum_tags_spec.rb",
163
226
  "spec/models/forum_spec.rb",
164
227
  "spec/models/post_spec.rb",
165
228
  "spec/models/topic_spec.rb",
@@ -181,17 +244,16 @@ Gem::Specification.new do |s|
181
244
  "spec/controllers/posts_controller_spec.rb",
182
245
  "spec/controllers/topics_controller_spec.rb",
183
246
  "spec/datasets/forum_layouts_dataset.rb",
184
- "spec/datasets/forum_pages_dataset.rb",
185
247
  "spec/datasets/forum_readers_dataset.rb",
186
248
  "spec/datasets/forum_sites_dataset.rb",
187
249
  "spec/datasets/forums_dataset.rb",
188
- "spec/datasets/posts_dataset.rb",
189
- "spec/datasets/topics_dataset.rb",
250
+ "spec/lib/commentable_model_spec.rb",
190
251
  "spec/lib/forum_admin_ui_spec.rb",
191
252
  "spec/lib/forum_page_spec.rb",
192
253
  "spec/lib/forum_reader_notification_spec.rb",
193
254
  "spec/lib/forum_reader_spec.rb",
194
255
  "spec/lib/forum_site_spec.rb",
256
+ "spec/lib/forum_tags_spec.rb",
195
257
  "spec/models/forum_spec.rb",
196
258
  "spec/models/post_spec.rb",
197
259
  "spec/models/topic_spec.rb",