thredded 0.1.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.mkdn +202 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.mkdn +391 -0
  5. data/app/assets/images/thredded/breadcrumb-chevron.svg +1 -0
  6. data/app/assets/javascripts/thredded/currently_online.es6 +25 -0
  7. data/app/assets/javascripts/thredded/post_form.es6 +20 -0
  8. data/app/assets/javascripts/thredded/time_stamps.es6 +8 -0
  9. data/app/assets/javascripts/thredded/topic_form.es6 +55 -0
  10. data/app/assets/javascripts/thredded/users_select.es6 +5 -0
  11. data/app/assets/javascripts/thredded.es6 +10 -0
  12. data/app/assets/stylesheets/thredded/_base.scss +11 -0
  13. data/app/assets/stylesheets/thredded/_dependencies.scss +1 -0
  14. data/app/assets/stylesheets/thredded/_thredded.scss +27 -0
  15. data/app/assets/stylesheets/thredded/base/_alerts.scss +40 -0
  16. data/app/assets/stylesheets/thredded/base/_buttons.scss +39 -0
  17. data/app/assets/stylesheets/thredded/base/_forms.scss +79 -0
  18. data/app/assets/stylesheets/thredded/base/_grid.scss +19 -0
  19. data/app/assets/stylesheets/thredded/base/_lists.scss +31 -0
  20. data/app/assets/stylesheets/thredded/base/_tables.scss +25 -0
  21. data/app/assets/stylesheets/thredded/base/_typography.scss +36 -0
  22. data/app/assets/stylesheets/thredded/base/_variables.scss +54 -0
  23. data/app/assets/stylesheets/thredded/components/_base.scss +13 -0
  24. data/app/assets/stylesheets/thredded/components/_currently-online.scss +48 -0
  25. data/app/assets/stylesheets/thredded/components/_empty.scss +11 -0
  26. data/app/assets/stylesheets/thredded/components/_flash-message.scss +19 -0
  27. data/app/assets/stylesheets/thredded/components/_form-list.scss +35 -0
  28. data/app/assets/stylesheets/thredded/components/_main-section.scss +3 -0
  29. data/app/assets/stylesheets/thredded/components/_messageboard.scss +55 -0
  30. data/app/assets/stylesheets/thredded/components/_pagination.scss +26 -0
  31. data/app/assets/stylesheets/thredded/components/_post-form.scss +21 -0
  32. data/app/assets/stylesheets/thredded/components/_post.scss +66 -0
  33. data/app/assets/stylesheets/thredded/components/_preferences.scss +6 -0
  34. data/app/assets/stylesheets/thredded/components/_select2.scss +42 -0
  35. data/app/assets/stylesheets/thredded/components/_topic-delete.scss +9 -0
  36. data/app/assets/stylesheets/thredded/components/_topic-header.scss +20 -0
  37. data/app/assets/stylesheets/thredded/components/_topics.scss +113 -0
  38. data/app/assets/stylesheets/thredded/layout/_main-container.scss +15 -0
  39. data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +45 -0
  40. data/app/assets/stylesheets/thredded/layout/_topic-navigation.scss +53 -0
  41. data/app/assets/stylesheets/thredded/layout/_user-navigation.scss +87 -0
  42. data/app/assets/stylesheets/thredded/utilities/_is-compact.scss +26 -0
  43. data/app/assets/stylesheets/thredded/utilities/_is-expanded.scss +16 -0
  44. data/app/assets/stylesheets/thredded.scss +3 -0
  45. data/app/commands/thredded/at_notification_extractor.rb +15 -0
  46. data/app/commands/thredded/members_marked_notified.rb +18 -0
  47. data/app/commands/thredded/messageboard_destroyer.rb +60 -0
  48. data/app/commands/thredded/notify_mentioned_users.rb +68 -0
  49. data/app/commands/thredded/notify_private_topic_users.rb +51 -0
  50. data/app/commands/thredded/user_reads_private_topic.rb +22 -0
  51. data/app/commands/thredded/user_resets_private_topic_to_unread.rb +23 -0
  52. data/app/controllers/thredded/application_controller.rb +105 -0
  53. data/app/controllers/thredded/messageboards_controller.rb +58 -0
  54. data/app/controllers/thredded/posts_controller.rb +78 -0
  55. data/app/controllers/thredded/preferences_controller.rb +28 -0
  56. data/app/controllers/thredded/private_topics_controller.rb +65 -0
  57. data/app/controllers/thredded/setups_controller.rb +53 -0
  58. data/app/controllers/thredded/theme_previews_controller.rb +59 -0
  59. data/app/controllers/thredded/topics_controller.rb +153 -0
  60. data/app/decorators/thredded/base_topic_decorator.rb +14 -0
  61. data/app/decorators/thredded/base_user_topic_decorator.rb +63 -0
  62. data/app/decorators/thredded/messageboard_decorator.rb +41 -0
  63. data/app/decorators/thredded/post_decorator.rb +40 -0
  64. data/app/decorators/thredded/private_topic_decorator.rb +23 -0
  65. data/app/decorators/thredded/topic_decorator.rb +25 -0
  66. data/app/decorators/thredded/topic_email_decorator.rb +24 -0
  67. data/app/decorators/thredded/user_private_topic_decorator.rb +13 -0
  68. data/app/decorators/thredded/user_topic_decorator.rb +37 -0
  69. data/app/forms/thredded/private_topic_form.rb +126 -0
  70. data/app/forms/thredded/topic_form.rb +94 -0
  71. data/app/helpers/thredded/application_helper.rb +41 -0
  72. data/app/jobs/thredded/activity_updater_job.rb +20 -0
  73. data/app/jobs/thredded/at_notifier_job.rb +11 -0
  74. data/app/jobs/thredded/notify_private_topic_users_job.rb +11 -0
  75. data/app/mailers/thredded/base_mailer.rb +4 -0
  76. data/app/mailers/thredded/post_mailer.rb +15 -0
  77. data/app/mailers/thredded/private_post_mailer.rb +15 -0
  78. data/app/mailers/thredded/private_topic_mailer.rb +15 -0
  79. data/app/models/concerns/thredded/post_common.rb +105 -0
  80. data/app/models/concerns/thredded/topic_common.rb +48 -0
  81. data/app/models/thredded/ability.rb +60 -0
  82. data/app/models/thredded/category.rb +12 -0
  83. data/app/models/thredded/messageboard.rb +50 -0
  84. data/app/models/thredded/messageboard_user.rb +12 -0
  85. data/app/models/thredded/notification_preference.rb +17 -0
  86. data/app/models/thredded/null_preference.rb +11 -0
  87. data/app/models/thredded/null_topic.rb +15 -0
  88. data/app/models/thredded/null_topic_read.rb +19 -0
  89. data/app/models/thredded/null_user.rb +51 -0
  90. data/app/models/thredded/post.rb +37 -0
  91. data/app/models/thredded/post_notification.rb +17 -0
  92. data/app/models/thredded/private_post.rb +25 -0
  93. data/app/models/thredded/private_topic.rb +60 -0
  94. data/app/models/thredded/private_user.rb +6 -0
  95. data/app/models/thredded/stats.rb +37 -0
  96. data/app/models/thredded/topic.rb +104 -0
  97. data/app/models/thredded/topic_category.rb +6 -0
  98. data/app/models/thredded/user_detail.rb +26 -0
  99. data/app/models/thredded/user_extender.rb +33 -0
  100. data/app/models/thredded/user_permissions/admin/if_admin_column_true.rb +12 -0
  101. data/app/models/thredded/user_permissions/admin/none.rb +12 -0
  102. data/app/models/thredded/user_permissions/message/readers_of_writeable_boards.rb +13 -0
  103. data/app/models/thredded/user_permissions/moderate/if_moderator_column_true.rb +25 -0
  104. data/app/models/thredded/user_permissions/moderate/none.rb +25 -0
  105. data/app/models/thredded/user_permissions/read/all.rb +25 -0
  106. data/app/models/thredded/user_permissions/write/all.rb +25 -0
  107. data/app/models/thredded/user_permissions/write/none.rb +25 -0
  108. data/app/models/thredded/user_preference.rb +6 -0
  109. data/app/models/thredded/user_topic_read.rb +10 -0
  110. data/app/views/layouts/thredded/application.html.erb +15 -0
  111. data/app/views/thredded/categories/_category.html.erb +1 -0
  112. data/app/views/thredded/kaminari/_first_page.html.erb +11 -0
  113. data/app/views/thredded/kaminari/_gap.html.erb +8 -0
  114. data/app/views/thredded/kaminari/_last_page.html.erb +11 -0
  115. data/app/views/thredded/kaminari/_next_page.html.erb +11 -0
  116. data/app/views/thredded/kaminari/_page.html.erb +12 -0
  117. data/app/views/thredded/kaminari/_paginator.html.erb +23 -0
  118. data/app/views/thredded/kaminari/_prev_page.html.erb +11 -0
  119. data/app/views/thredded/messageboards/_messageboard.html.erb +15 -0
  120. data/app/views/thredded/messageboards/index.html.erb +20 -0
  121. data/app/views/thredded/messageboards/new.html.erb +18 -0
  122. data/app/views/thredded/post_mailer/at_notification.html.erb +14 -0
  123. data/app/views/thredded/post_mailer/at_notification.text.erb +10 -0
  124. data/app/views/thredded/posts/_content_field.html.erb +4 -0
  125. data/app/views/thredded/posts/_form.html.erb +1 -0
  126. data/app/views/thredded/posts/_post.html.erb +1 -0
  127. data/app/views/thredded/posts/_user.html.erb +3 -0
  128. data/app/views/thredded/posts/edit.html.erb +13 -0
  129. data/app/views/thredded/posts_common/_form.html.erb +10 -0
  130. data/app/views/thredded/posts_common/_post.html.erb +20 -0
  131. data/app/views/thredded/preferences/_form.html.erb +28 -0
  132. data/app/views/thredded/preferences/_header.html.erb +1 -0
  133. data/app/views/thredded/preferences/edit.html.erb +12 -0
  134. data/app/views/thredded/private_post_mailer/at_notification.html.erb +11 -0
  135. data/app/views/thredded/private_posts/_form.html.erb +1 -0
  136. data/app/views/thredded/private_posts/_private_post.html.erb +1 -0
  137. data/app/views/thredded/private_topic_mailer/message_notification.html.erb +17 -0
  138. data/app/views/thredded/private_topic_mailer/message_notification.text.erb +13 -0
  139. data/app/views/thredded/private_topics/_breadcrumbs.html.erb +4 -0
  140. data/app/views/thredded/private_topics/_form.html.erb +24 -0
  141. data/app/views/thredded/private_topics/_no_private_topics.html.erb +6 -0
  142. data/app/views/thredded/private_topics/_private_topic.html.erb +22 -0
  143. data/app/views/thredded/private_topics/index.html.erb +23 -0
  144. data/app/views/thredded/private_topics/new.html.erb +13 -0
  145. data/app/views/thredded/private_topics/show.html.erb +14 -0
  146. data/app/views/thredded/search/_form.html.erb +7 -0
  147. data/app/views/thredded/shared/_currently_online.html.erb +16 -0
  148. data/app/views/thredded/shared/_flash_messages.html.erb +7 -0
  149. data/app/views/thredded/shared/_header.html.erb +4 -0
  150. data/app/views/thredded/shared/_messageboard_topics_breadcrumbs.html.erb +6 -0
  151. data/app/views/thredded/shared/_notification_preferences.html.erb +7 -0
  152. data/app/views/thredded/shared/_page.html.erb +6 -0
  153. data/app/views/thredded/shared/_time_ago.html.erb +7 -0
  154. data/app/views/thredded/shared/_top_nav.html.erb +36 -0
  155. data/app/views/thredded/shared/_topic_nav.html.erb +22 -0
  156. data/app/views/thredded/theme_previews/_section_title.html.erb +3 -0
  157. data/app/views/thredded/theme_previews/show.html.erb +108 -0
  158. data/app/views/thredded/topics/_form.html.erb +23 -0
  159. data/app/views/thredded/topics/_recent_topics_by_user.html.erb +8 -0
  160. data/app/views/thredded/topics/_topic.html.erb +29 -0
  161. data/app/views/thredded/topics/_topic_form_admin_options.html.erb +12 -0
  162. data/app/views/thredded/topics/by_category.html.erb +56 -0
  163. data/app/views/thredded/topics/edit.html.erb +38 -0
  164. data/app/views/thredded/topics/index.html.erb +18 -0
  165. data/app/views/thredded/topics/menu/_new_topic.html.erb +3 -0
  166. data/app/views/thredded/topics/new.html.erb +11 -0
  167. data/app/views/thredded/topics/search.html.erb +9 -0
  168. data/app/views/thredded/topics/show.html.erb +31 -0
  169. data/app/views/thredded/topics_common/_header.html.erb +6 -0
  170. data/app/views/thredded/users/_link.html.erb +9 -0
  171. data/config/routes.rb +28 -0
  172. data/db/migrate/20160329231848_create_thredded.rb +173 -0
  173. data/lib/generators/thredded/install/USAGE +13 -0
  174. data/lib/generators/thredded/install/install_generator.rb +23 -0
  175. data/lib/generators/thredded/install/templates/initializer.rb +51 -0
  176. data/lib/html/pipeline/at_mention_filter.rb +20 -0
  177. data/lib/html/pipeline/bbcode_filter.rb +19 -0
  178. data/lib/tasks/thredded_tasks.rake +18 -0
  179. data/lib/thredded/at_users.rb +19 -0
  180. data/lib/thredded/engine.rb +35 -0
  181. data/lib/thredded/errors.rb +67 -0
  182. data/lib/thredded/main_app_route_delegator.rb +24 -0
  183. data/lib/thredded/messageboard_user_permissions.rb +22 -0
  184. data/lib/thredded/post_sql_builder.rb +12 -0
  185. data/lib/thredded/post_user_permissions.rb +32 -0
  186. data/lib/thredded/private_topic_user_permissions.rb +26 -0
  187. data/lib/thredded/search_parser.rb +45 -0
  188. data/lib/thredded/search_sql_builder.rb +21 -0
  189. data/lib/thredded/seed_database.rb +76 -0
  190. data/lib/thredded/table_sql_builder.rb +41 -0
  191. data/lib/thredded/topic_sql_builder.rb +11 -0
  192. data/lib/thredded/topic_user_permissions.rb +32 -0
  193. data/lib/thredded/version.rb +3 -0
  194. data/lib/thredded.rb +85 -0
  195. data/thredded.gemspec +68 -0
  196. metadata +248 -122
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thredded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Oliveira
8
+ - Gleb Mazovetskiy
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
12
+ date: 2016-04-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bbcoder
@@ -39,21 +40,21 @@ dependencies:
39
40
  - !ruby/object:Gem::Version
40
41
  version: '0'
41
42
  - !ruby/object:Gem::Dependency
42
- name: carrierwave
43
+ name: db_text_search
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
- - - ">="
46
+ - - "~>"
46
47
  - !ruby/object:Gem::Version
47
- version: '0'
48
+ version: 0.1.1
48
49
  type: :runtime
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
- - - ">="
53
+ - - "~>"
53
54
  - !ruby/object:Gem::Version
54
- version: '0'
55
+ version: 0.1.1
55
56
  - !ruby/object:Gem::Dependency
56
- name: escape_utils
57
+ name: friendly_id
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - ">="
@@ -67,7 +68,7 @@ dependencies:
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
70
  - !ruby/object:Gem::Dependency
70
- name: fog
71
+ name: html-pipeline
71
72
  requirement: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - ">="
@@ -81,7 +82,7 @@ dependencies:
81
82
  - !ruby/object:Gem::Version
82
83
  version: '0'
83
84
  - !ruby/object:Gem::Dependency
84
- name: friendly_id
85
+ name: htmlentities
85
86
  requirement: !ruby/object:Gem::Requirement
86
87
  requirements:
87
88
  - - ">="
@@ -95,7 +96,7 @@ dependencies:
95
96
  - !ruby/object:Gem::Version
96
97
  version: '0'
97
98
  - !ruby/object:Gem::Dependency
98
- name: gemoji
99
+ name: kaminari
99
100
  requirement: !ruby/object:Gem::Requirement
100
101
  requirements:
101
102
  - - ">="
@@ -109,7 +110,7 @@ dependencies:
109
110
  - !ruby/object:Gem::Version
110
111
  version: '0'
111
112
  - !ruby/object:Gem::Dependency
112
- name: github-markdown
113
+ name: nokogiri
113
114
  requirement: !ruby/object:Gem::Requirement
114
115
  requirements:
115
116
  - - ">="
@@ -123,21 +124,21 @@ dependencies:
123
124
  - !ruby/object:Gem::Version
124
125
  version: '0'
125
126
  - !ruby/object:Gem::Dependency
126
- name: gravtastic
127
+ name: rails
127
128
  requirement: !ruby/object:Gem::Requirement
128
129
  requirements:
129
130
  - - ">="
130
131
  - !ruby/object:Gem::Version
131
- version: '0'
132
+ version: 4.1.0
132
133
  type: :runtime
133
134
  prerelease: false
134
135
  version_requirements: !ruby/object:Gem::Requirement
135
136
  requirements:
136
137
  - - ">="
137
138
  - !ruby/object:Gem::Version
138
- version: '0'
139
+ version: 4.1.0
139
140
  - !ruby/object:Gem::Dependency
140
- name: html-pipeline
141
+ name: rb-gravatar
141
142
  requirement: !ruby/object:Gem::Requirement
142
143
  requirements:
143
144
  - - ">="
@@ -151,7 +152,7 @@ dependencies:
151
152
  - !ruby/object:Gem::Version
152
153
  version: '0'
153
154
  - !ruby/object:Gem::Dependency
154
- name: htmlentities
155
+ name: gemoji
155
156
  requirement: !ruby/object:Gem::Requirement
156
157
  requirements:
157
158
  - - ">="
@@ -165,7 +166,7 @@ dependencies:
165
166
  - !ruby/object:Gem::Version
166
167
  version: '0'
167
168
  - !ruby/object:Gem::Dependency
168
- name: kaminari
169
+ name: github-markdown
169
170
  requirement: !ruby/object:Gem::Requirement
170
171
  requirements:
171
172
  - - ">="
@@ -179,7 +180,7 @@ dependencies:
179
180
  - !ruby/object:Gem::Version
180
181
  version: '0'
181
182
  - !ruby/object:Gem::Dependency
182
- name: mini_magick
183
+ name: rinku
183
184
  requirement: !ruby/object:Gem::Requirement
184
185
  requirements:
185
186
  - - ">="
@@ -193,7 +194,7 @@ dependencies:
193
194
  - !ruby/object:Gem::Version
194
195
  version: '0'
195
196
  - !ruby/object:Gem::Dependency
196
- name: multi_json
197
+ name: sanitize
197
198
  requirement: !ruby/object:Gem::Requirement
198
199
  requirements:
199
200
  - - ">="
@@ -207,21 +208,21 @@ dependencies:
207
208
  - !ruby/object:Gem::Version
208
209
  version: '0'
209
210
  - !ruby/object:Gem::Dependency
210
- name: nokogiri
211
+ name: sass
211
212
  requirement: !ruby/object:Gem::Requirement
212
213
  requirements:
213
214
  - - ">="
214
215
  - !ruby/object:Gem::Version
215
- version: '0'
216
+ version: 3.4.21
216
217
  type: :runtime
217
218
  prerelease: false
218
219
  version_requirements: !ruby/object:Gem::Requirement
219
220
  requirements:
220
221
  - - ">="
221
222
  - !ruby/object:Gem::Version
222
- version: '0'
223
+ version: 3.4.21
223
224
  - !ruby/object:Gem::Dependency
224
- name: q
225
+ name: autoprefixer-rails
225
226
  requirement: !ruby/object:Gem::Requirement
226
227
  requirements:
227
228
  - - ">="
@@ -235,35 +236,35 @@ dependencies:
235
236
  - !ruby/object:Gem::Version
236
237
  version: '0'
237
238
  - !ruby/object:Gem::Dependency
238
- name: rails
239
+ name: rails-timeago
239
240
  requirement: !ruby/object:Gem::Requirement
240
241
  requirements:
241
242
  - - ">="
242
243
  - !ruby/object:Gem::Version
243
- version: 4.0.0
244
+ version: '0'
244
245
  type: :runtime
245
246
  prerelease: false
246
247
  version_requirements: !ruby/object:Gem::Requirement
247
248
  requirements:
248
249
  - - ">="
249
250
  - !ruby/object:Gem::Version
250
- version: 4.0.0
251
+ version: '0'
251
252
  - !ruby/object:Gem::Dependency
252
- name: rinku
253
+ name: select2-rails
253
254
  requirement: !ruby/object:Gem::Requirement
254
255
  requirements:
255
- - - ">="
256
+ - - "~>"
256
257
  - !ruby/object:Gem::Version
257
- version: '0'
258
+ version: '3.5'
258
259
  type: :runtime
259
260
  prerelease: false
260
261
  version_requirements: !ruby/object:Gem::Requirement
261
262
  requirements:
262
- - - ">="
263
+ - - "~>"
263
264
  - !ruby/object:Gem::Version
264
- version: '0'
265
+ version: '3.5'
265
266
  - !ruby/object:Gem::Dependency
266
- name: sanitize
267
+ name: autosize-rails
267
268
  requirement: !ruby/object:Gem::Requirement
268
269
  requirements:
269
270
  - - ">="
@@ -277,7 +278,7 @@ dependencies:
277
278
  - !ruby/object:Gem::Version
278
279
  version: '0'
279
280
  - !ruby/object:Gem::Dependency
280
- name: unf
281
+ name: sprockets-es6
281
282
  requirement: !ruby/object:Gem::Requirement
282
283
  requirements:
283
284
  - - ">="
@@ -291,13 +292,13 @@ dependencies:
291
292
  - !ruby/object:Gem::Version
292
293
  version: '0'
293
294
  - !ruby/object:Gem::Dependency
294
- name: bourbon
295
+ name: jquery-rails
295
296
  requirement: !ruby/object:Gem::Requirement
296
297
  requirements:
297
298
  - - ">="
298
299
  - !ruby/object:Gem::Version
299
300
  version: '0'
300
- type: :development
301
+ type: :runtime
301
302
  prerelease: false
302
303
  version_requirements: !ruby/object:Gem::Requirement
303
304
  requirements:
@@ -305,21 +306,21 @@ dependencies:
305
306
  - !ruby/object:Gem::Version
306
307
  version: '0'
307
308
  - !ruby/object:Gem::Dependency
308
- name: neat
309
+ name: capybara
309
310
  requirement: !ruby/object:Gem::Requirement
310
311
  requirements:
311
- - - ">="
312
+ - - "~>"
312
313
  - !ruby/object:Gem::Version
313
- version: '0'
314
+ version: '2.4'
314
315
  type: :development
315
316
  prerelease: false
316
317
  version_requirements: !ruby/object:Gem::Requirement
317
318
  requirements:
318
- - - ">="
319
+ - - "~>"
319
320
  - !ruby/object:Gem::Version
320
- version: '0'
321
+ version: '2.4'
321
322
  - !ruby/object:Gem::Dependency
322
- name: bitters
323
+ name: chronic
323
324
  requirement: !ruby/object:Gem::Requirement
324
325
  requirements:
325
326
  - - ">="
@@ -333,21 +334,7 @@ dependencies:
333
334
  - !ruby/object:Gem::Version
334
335
  version: '0'
335
336
  - !ruby/object:Gem::Dependency
336
- name: capybara
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - "~>"
340
- - !ruby/object:Gem::Version
341
- version: '2.4'
342
- type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - "~>"
347
- - !ruby/object:Gem::Version
348
- version: '2.4'
349
- - !ruby/object:Gem::Dependency
350
- name: chronic
337
+ name: database_cleaner
351
338
  requirement: !ruby/object:Gem::Requirement
352
339
  requirements:
353
340
  - - ">="
@@ -361,7 +348,7 @@ dependencies:
361
348
  - !ruby/object:Gem::Version
362
349
  version: '0'
363
350
  - !ruby/object:Gem::Dependency
364
- name: database_cleaner
351
+ name: factory_girl_rails
365
352
  requirement: !ruby/object:Gem::Requirement
366
353
  requirements:
367
354
  - - ">="
@@ -375,7 +362,7 @@ dependencies:
375
362
  - !ruby/object:Gem::Version
376
363
  version: '0'
377
364
  - !ruby/object:Gem::Dependency
378
- name: factory_girl_rails
365
+ name: faker
379
366
  requirement: !ruby/object:Gem::Requirement
380
367
  requirements:
381
368
  - - ">="
@@ -445,7 +432,7 @@ dependencies:
445
432
  - !ruby/object:Gem::Version
446
433
  version: '2.7'
447
434
  - !ruby/object:Gem::Dependency
448
- name: sqlite3
435
+ name: test-unit
449
436
  requirement: !ruby/object:Gem::Requirement
450
437
  requirements:
451
438
  - - ">="
@@ -473,21 +460,7 @@ dependencies:
473
460
  - !ruby/object:Gem::Version
474
461
  version: '0'
475
462
  - !ruby/object:Gem::Dependency
476
- name: test-unit
477
- requirement: !ruby/object:Gem::Requirement
478
- requirements:
479
- - - ">="
480
- - !ruby/object:Gem::Version
481
- version: '0'
482
- type: :development
483
- prerelease: false
484
- version_requirements: !ruby/object:Gem::Requirement
485
- requirements:
486
- - - ">="
487
- - !ruby/object:Gem::Version
488
- version: '0'
489
- - !ruby/object:Gem::Dependency
490
- name: jquery-rails
463
+ name: mysql2
491
464
  requirement: !ruby/object:Gem::Requirement
492
465
  requirements:
493
466
  - - ">="
@@ -515,7 +488,7 @@ dependencies:
515
488
  - !ruby/object:Gem::Version
516
489
  version: '0'
517
490
  - !ruby/object:Gem::Dependency
518
- name: mysql2
491
+ name: sqlite3
519
492
  requirement: !ruby/object:Gem::Requirement
520
493
  requirements:
521
494
  - - ">="
@@ -543,49 +516,7 @@ dependencies:
543
516
  - !ruby/object:Gem::Version
544
517
  version: '0'
545
518
  - !ruby/object:Gem::Dependency
546
- name: sass-rails
547
- requirement: !ruby/object:Gem::Requirement
548
- requirements:
549
- - - ">="
550
- - !ruby/object:Gem::Version
551
- version: '0'
552
- type: :development
553
- prerelease: false
554
- version_requirements: !ruby/object:Gem::Requirement
555
- requirements:
556
- - - ">="
557
- - !ruby/object:Gem::Version
558
- version: '0'
559
- - !ruby/object:Gem::Dependency
560
- name: sprockets
561
- requirement: !ruby/object:Gem::Requirement
562
- requirements:
563
- - - ">="
564
- - !ruby/object:Gem::Version
565
- version: '0'
566
- type: :development
567
- prerelease: false
568
- version_requirements: !ruby/object:Gem::Requirement
569
- requirements:
570
- - - ">="
571
- - !ruby/object:Gem::Version
572
- version: '0'
573
- - !ruby/object:Gem::Dependency
574
- name: sprockets-es6
575
- requirement: !ruby/object:Gem::Requirement
576
- requirements:
577
- - - ">="
578
- - !ruby/object:Gem::Version
579
- version: '0'
580
- type: :development
581
- prerelease: false
582
- version_requirements: !ruby/object:Gem::Requirement
583
- requirements:
584
- - - ">="
585
- - !ruby/object:Gem::Version
586
- version: '0'
587
- - !ruby/object:Gem::Dependency
588
- name: pry-rails
519
+ name: jquery-turbolinks
589
520
  requirement: !ruby/object:Gem::Requirement
590
521
  requirements:
591
522
  - - ">="
@@ -599,7 +530,7 @@ dependencies:
599
530
  - !ruby/object:Gem::Version
600
531
  version: '0'
601
532
  - !ruby/object:Gem::Dependency
602
- name: byebug
533
+ name: turbolinks
603
534
  requirement: !ruby/object:Gem::Requirement
604
535
  requirements:
605
536
  - - ">="
@@ -612,13 +543,208 @@ dependencies:
612
543
  - - ">="
613
544
  - !ruby/object:Gem::Version
614
545
  version: '0'
615
- description: A messageboard engine for Rails 4.0 apps
546
+ description: A messageboard engine for Rails 4.1+ apps
616
547
  email:
617
548
  - joel@thredded.com
549
+ - glex.spb@gmail.com
618
550
  executables: []
619
551
  extensions: []
620
552
  extra_rdoc_files: []
621
- files: []
553
+ files:
554
+ - CHANGELOG.mkdn
555
+ - MIT-LICENSE
556
+ - README.mkdn
557
+ - app/assets/images/thredded/breadcrumb-chevron.svg
558
+ - app/assets/javascripts/thredded.es6
559
+ - app/assets/javascripts/thredded/currently_online.es6
560
+ - app/assets/javascripts/thredded/post_form.es6
561
+ - app/assets/javascripts/thredded/time_stamps.es6
562
+ - app/assets/javascripts/thredded/topic_form.es6
563
+ - app/assets/javascripts/thredded/users_select.es6
564
+ - app/assets/stylesheets/thredded.scss
565
+ - app/assets/stylesheets/thredded/_base.scss
566
+ - app/assets/stylesheets/thredded/_dependencies.scss
567
+ - app/assets/stylesheets/thredded/_thredded.scss
568
+ - app/assets/stylesheets/thredded/base/_alerts.scss
569
+ - app/assets/stylesheets/thredded/base/_buttons.scss
570
+ - app/assets/stylesheets/thredded/base/_forms.scss
571
+ - app/assets/stylesheets/thredded/base/_grid.scss
572
+ - app/assets/stylesheets/thredded/base/_lists.scss
573
+ - app/assets/stylesheets/thredded/base/_tables.scss
574
+ - app/assets/stylesheets/thredded/base/_typography.scss
575
+ - app/assets/stylesheets/thredded/base/_variables.scss
576
+ - app/assets/stylesheets/thredded/components/_base.scss
577
+ - app/assets/stylesheets/thredded/components/_currently-online.scss
578
+ - app/assets/stylesheets/thredded/components/_empty.scss
579
+ - app/assets/stylesheets/thredded/components/_flash-message.scss
580
+ - app/assets/stylesheets/thredded/components/_form-list.scss
581
+ - app/assets/stylesheets/thredded/components/_main-section.scss
582
+ - app/assets/stylesheets/thredded/components/_messageboard.scss
583
+ - app/assets/stylesheets/thredded/components/_pagination.scss
584
+ - app/assets/stylesheets/thredded/components/_post-form.scss
585
+ - app/assets/stylesheets/thredded/components/_post.scss
586
+ - app/assets/stylesheets/thredded/components/_preferences.scss
587
+ - app/assets/stylesheets/thredded/components/_select2.scss
588
+ - app/assets/stylesheets/thredded/components/_topic-delete.scss
589
+ - app/assets/stylesheets/thredded/components/_topic-header.scss
590
+ - app/assets/stylesheets/thredded/components/_topics.scss
591
+ - app/assets/stylesheets/thredded/layout/_main-container.scss
592
+ - app/assets/stylesheets/thredded/layout/_main-navigation.scss
593
+ - app/assets/stylesheets/thredded/layout/_topic-navigation.scss
594
+ - app/assets/stylesheets/thredded/layout/_user-navigation.scss
595
+ - app/assets/stylesheets/thredded/utilities/_is-compact.scss
596
+ - app/assets/stylesheets/thredded/utilities/_is-expanded.scss
597
+ - app/commands/thredded/at_notification_extractor.rb
598
+ - app/commands/thredded/members_marked_notified.rb
599
+ - app/commands/thredded/messageboard_destroyer.rb
600
+ - app/commands/thredded/notify_mentioned_users.rb
601
+ - app/commands/thredded/notify_private_topic_users.rb
602
+ - app/commands/thredded/user_reads_private_topic.rb
603
+ - app/commands/thredded/user_resets_private_topic_to_unread.rb
604
+ - app/controllers/thredded/application_controller.rb
605
+ - app/controllers/thredded/messageboards_controller.rb
606
+ - app/controllers/thredded/posts_controller.rb
607
+ - app/controllers/thredded/preferences_controller.rb
608
+ - app/controllers/thredded/private_topics_controller.rb
609
+ - app/controllers/thredded/setups_controller.rb
610
+ - app/controllers/thredded/theme_previews_controller.rb
611
+ - app/controllers/thredded/topics_controller.rb
612
+ - app/decorators/thredded/base_topic_decorator.rb
613
+ - app/decorators/thredded/base_user_topic_decorator.rb
614
+ - app/decorators/thredded/messageboard_decorator.rb
615
+ - app/decorators/thredded/post_decorator.rb
616
+ - app/decorators/thredded/private_topic_decorator.rb
617
+ - app/decorators/thredded/topic_decorator.rb
618
+ - app/decorators/thredded/topic_email_decorator.rb
619
+ - app/decorators/thredded/user_private_topic_decorator.rb
620
+ - app/decorators/thredded/user_topic_decorator.rb
621
+ - app/forms/thredded/private_topic_form.rb
622
+ - app/forms/thredded/topic_form.rb
623
+ - app/helpers/thredded/application_helper.rb
624
+ - app/jobs/thredded/activity_updater_job.rb
625
+ - app/jobs/thredded/at_notifier_job.rb
626
+ - app/jobs/thredded/notify_private_topic_users_job.rb
627
+ - app/mailers/thredded/base_mailer.rb
628
+ - app/mailers/thredded/post_mailer.rb
629
+ - app/mailers/thredded/private_post_mailer.rb
630
+ - app/mailers/thredded/private_topic_mailer.rb
631
+ - app/models/concerns/thredded/post_common.rb
632
+ - app/models/concerns/thredded/topic_common.rb
633
+ - app/models/thredded/ability.rb
634
+ - app/models/thredded/category.rb
635
+ - app/models/thredded/messageboard.rb
636
+ - app/models/thredded/messageboard_user.rb
637
+ - app/models/thredded/notification_preference.rb
638
+ - app/models/thredded/null_preference.rb
639
+ - app/models/thredded/null_topic.rb
640
+ - app/models/thredded/null_topic_read.rb
641
+ - app/models/thredded/null_user.rb
642
+ - app/models/thredded/post.rb
643
+ - app/models/thredded/post_notification.rb
644
+ - app/models/thredded/private_post.rb
645
+ - app/models/thredded/private_topic.rb
646
+ - app/models/thredded/private_user.rb
647
+ - app/models/thredded/stats.rb
648
+ - app/models/thredded/topic.rb
649
+ - app/models/thredded/topic_category.rb
650
+ - app/models/thredded/user_detail.rb
651
+ - app/models/thredded/user_extender.rb
652
+ - app/models/thredded/user_permissions/admin/if_admin_column_true.rb
653
+ - app/models/thredded/user_permissions/admin/none.rb
654
+ - app/models/thredded/user_permissions/message/readers_of_writeable_boards.rb
655
+ - app/models/thredded/user_permissions/moderate/if_moderator_column_true.rb
656
+ - app/models/thredded/user_permissions/moderate/none.rb
657
+ - app/models/thredded/user_permissions/read/all.rb
658
+ - app/models/thredded/user_permissions/write/all.rb
659
+ - app/models/thredded/user_permissions/write/none.rb
660
+ - app/models/thredded/user_preference.rb
661
+ - app/models/thredded/user_topic_read.rb
662
+ - app/views/layouts/thredded/application.html.erb
663
+ - app/views/thredded/categories/_category.html.erb
664
+ - app/views/thredded/kaminari/_first_page.html.erb
665
+ - app/views/thredded/kaminari/_gap.html.erb
666
+ - app/views/thredded/kaminari/_last_page.html.erb
667
+ - app/views/thredded/kaminari/_next_page.html.erb
668
+ - app/views/thredded/kaminari/_page.html.erb
669
+ - app/views/thredded/kaminari/_paginator.html.erb
670
+ - app/views/thredded/kaminari/_prev_page.html.erb
671
+ - app/views/thredded/messageboards/_messageboard.html.erb
672
+ - app/views/thredded/messageboards/index.html.erb
673
+ - app/views/thredded/messageboards/new.html.erb
674
+ - app/views/thredded/post_mailer/at_notification.html.erb
675
+ - app/views/thredded/post_mailer/at_notification.text.erb
676
+ - app/views/thredded/posts/_content_field.html.erb
677
+ - app/views/thredded/posts/_form.html.erb
678
+ - app/views/thredded/posts/_post.html.erb
679
+ - app/views/thredded/posts/_user.html.erb
680
+ - app/views/thredded/posts/edit.html.erb
681
+ - app/views/thredded/posts_common/_form.html.erb
682
+ - app/views/thredded/posts_common/_post.html.erb
683
+ - app/views/thredded/preferences/_form.html.erb
684
+ - app/views/thredded/preferences/_header.html.erb
685
+ - app/views/thredded/preferences/edit.html.erb
686
+ - app/views/thredded/private_post_mailer/at_notification.html.erb
687
+ - app/views/thredded/private_posts/_form.html.erb
688
+ - app/views/thredded/private_posts/_private_post.html.erb
689
+ - app/views/thredded/private_topic_mailer/message_notification.html.erb
690
+ - app/views/thredded/private_topic_mailer/message_notification.text.erb
691
+ - app/views/thredded/private_topics/_breadcrumbs.html.erb
692
+ - app/views/thredded/private_topics/_form.html.erb
693
+ - app/views/thredded/private_topics/_no_private_topics.html.erb
694
+ - app/views/thredded/private_topics/_private_topic.html.erb
695
+ - app/views/thredded/private_topics/index.html.erb
696
+ - app/views/thredded/private_topics/new.html.erb
697
+ - app/views/thredded/private_topics/show.html.erb
698
+ - app/views/thredded/search/_form.html.erb
699
+ - app/views/thredded/shared/_currently_online.html.erb
700
+ - app/views/thredded/shared/_flash_messages.html.erb
701
+ - app/views/thredded/shared/_header.html.erb
702
+ - app/views/thredded/shared/_messageboard_topics_breadcrumbs.html.erb
703
+ - app/views/thredded/shared/_notification_preferences.html.erb
704
+ - app/views/thredded/shared/_page.html.erb
705
+ - app/views/thredded/shared/_time_ago.html.erb
706
+ - app/views/thredded/shared/_top_nav.html.erb
707
+ - app/views/thredded/shared/_topic_nav.html.erb
708
+ - app/views/thredded/theme_previews/_section_title.html.erb
709
+ - app/views/thredded/theme_previews/show.html.erb
710
+ - app/views/thredded/topics/_form.html.erb
711
+ - app/views/thredded/topics/_recent_topics_by_user.html.erb
712
+ - app/views/thredded/topics/_topic.html.erb
713
+ - app/views/thredded/topics/_topic_form_admin_options.html.erb
714
+ - app/views/thredded/topics/by_category.html.erb
715
+ - app/views/thredded/topics/edit.html.erb
716
+ - app/views/thredded/topics/index.html.erb
717
+ - app/views/thredded/topics/menu/_new_topic.html.erb
718
+ - app/views/thredded/topics/new.html.erb
719
+ - app/views/thredded/topics/search.html.erb
720
+ - app/views/thredded/topics/show.html.erb
721
+ - app/views/thredded/topics_common/_header.html.erb
722
+ - app/views/thredded/users/_link.html.erb
723
+ - config/routes.rb
724
+ - db/migrate/20160329231848_create_thredded.rb
725
+ - lib/generators/thredded/install/USAGE
726
+ - lib/generators/thredded/install/install_generator.rb
727
+ - lib/generators/thredded/install/templates/initializer.rb
728
+ - lib/html/pipeline/at_mention_filter.rb
729
+ - lib/html/pipeline/bbcode_filter.rb
730
+ - lib/tasks/thredded_tasks.rake
731
+ - lib/thredded.rb
732
+ - lib/thredded/at_users.rb
733
+ - lib/thredded/engine.rb
734
+ - lib/thredded/errors.rb
735
+ - lib/thredded/main_app_route_delegator.rb
736
+ - lib/thredded/messageboard_user_permissions.rb
737
+ - lib/thredded/post_sql_builder.rb
738
+ - lib/thredded/post_user_permissions.rb
739
+ - lib/thredded/private_topic_user_permissions.rb
740
+ - lib/thredded/search_parser.rb
741
+ - lib/thredded/search_sql_builder.rb
742
+ - lib/thredded/seed_database.rb
743
+ - lib/thredded/table_sql_builder.rb
744
+ - lib/thredded/topic_sql_builder.rb
745
+ - lib/thredded/topic_user_permissions.rb
746
+ - lib/thredded/version.rb
747
+ - thredded.gemspec
622
748
  homepage: https://www.thredded.com
623
749
  licenses:
624
750
  - MIT