threddedDANIEL 0.14.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (367) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +744 -0
  4. data/app/assets/images/favicons/README.md +3 -0
  5. data/app/assets/images/favicons/amazon.png +0 -0
  6. data/app/assets/images/favicons/github.png +0 -0
  7. data/app/assets/images/favicons/google_branding/logo_calendar_128px.png +0 -0
  8. data/app/assets/images/favicons/google_branding/logo_docs_48px.png +0 -0
  9. data/app/assets/images/favicons/google_branding/logo_drive_48px.png +0 -0
  10. data/app/assets/images/favicons/google_branding/logo_forms_48px.png +0 -0
  11. data/app/assets/images/favicons/google_branding/logo_sheets_48px.png +0 -0
  12. data/app/assets/images/favicons/google_branding/logo_slides_48px.png +0 -0
  13. data/app/assets/images/favicons/stackexchange.png +0 -0
  14. data/app/assets/images/favicons/twitter.png +0 -0
  15. data/app/assets/images/favicons/wikipedia.png +0 -0
  16. data/app/assets/images/thredded/breadcrumb-chevron.svg +1 -0
  17. data/app/assets/images/thredded/follow.svg +1 -0
  18. data/app/assets/images/thredded/lock.svg +1 -0
  19. data/app/assets/images/thredded/moderation.svg +1 -0
  20. data/app/assets/images/thredded/private-messages.svg +1 -0
  21. data/app/assets/images/thredded/settings.svg +1 -0
  22. data/app/assets/images/thredded/three-dot-menu.svg +3 -0
  23. data/app/assets/images/thredded/unfollow.svg +1 -0
  24. data/app/assets/javascripts/thredded.es6 +2 -0
  25. data/app/assets/javascripts/thredded/components/currently_online.es6 +32 -0
  26. data/app/assets/javascripts/thredded/components/flash_messages.es6 +9 -0
  27. data/app/assets/javascripts/thredded/components/mention_autocompletion.es6 +40 -0
  28. data/app/assets/javascripts/thredded/components/post_form.es6 +37 -0
  29. data/app/assets/javascripts/thredded/components/preview_area.es6 +56 -0
  30. data/app/assets/javascripts/thredded/components/quote_post.es6 +49 -0
  31. data/app/assets/javascripts/thredded/components/time_stamps.es6 +25 -0
  32. data/app/assets/javascripts/thredded/components/topic_form.es6 +94 -0
  33. data/app/assets/javascripts/thredded/components/topics.es6 +46 -0
  34. data/app/assets/javascripts/thredded/components/turboforms.es6 +25 -0
  35. data/app/assets/javascripts/thredded/components/user_preferences_form.es6 +66 -0
  36. data/app/assets/javascripts/thredded/components/user_textcomplete.es6 +50 -0
  37. data/app/assets/javascripts/thredded/components/users_select.es6 +122 -0
  38. data/app/assets/javascripts/thredded/core/csrf_tokens.es6 +9 -0
  39. data/app/assets/javascripts/thredded/core/debounce.es6 +32 -0
  40. data/app/assets/javascripts/thredded/core/escape_html.es6 +7 -0
  41. data/app/assets/javascripts/thredded/core/hide_soft_keyboard.es6 +7 -0
  42. data/app/assets/javascripts/thredded/core/on_page_load.es6 +54 -0
  43. data/app/assets/javascripts/thredded/core/serialize_form.es6 +9 -0
  44. data/app/assets/javascripts/thredded/core/thredded.es6 +1 -0
  45. data/app/assets/javascripts/thredded/dependencies.js +8 -0
  46. data/app/assets/javascripts/thredded/dependencies/autosize.js +1 -0
  47. data/app/assets/javascripts/thredded/dependencies/textcomplete.js +1 -0
  48. data/app/assets/javascripts/thredded/dependencies/timeago.js +1 -0
  49. data/app/assets/javascripts/thredded/dependencies/ujs.js +1 -0
  50. data/app/assets/javascripts/thredded/thredded.es6 +2 -0
  51. data/app/assets/stylesheets/thredded.scss +3 -0
  52. data/app/assets/stylesheets/thredded/_base.scss +13 -0
  53. data/app/assets/stylesheets/thredded/_dependencies.scss +0 -0
  54. data/app/assets/stylesheets/thredded/_email.scss +51 -0
  55. data/app/assets/stylesheets/thredded/_thredded.scss +33 -0
  56. data/app/assets/stylesheets/thredded/base/_alerts.scss +44 -0
  57. data/app/assets/stylesheets/thredded/base/_buttons.scss +73 -0
  58. data/app/assets/stylesheets/thredded/base/_dropdown-menu.scss +83 -0
  59. data/app/assets/stylesheets/thredded/base/_forms.scss +84 -0
  60. data/app/assets/stylesheets/thredded/base/_grid.scss +58 -0
  61. data/app/assets/stylesheets/thredded/base/_lists.scss +31 -0
  62. data/app/assets/stylesheets/thredded/base/_nav.scss +67 -0
  63. data/app/assets/stylesheets/thredded/base/_tables.scss +17 -0
  64. data/app/assets/stylesheets/thredded/base/_typography.scss +72 -0
  65. data/app/assets/stylesheets/thredded/base/_variables.scss +141 -0
  66. data/app/assets/stylesheets/thredded/components/_alerts.scss +19 -0
  67. data/app/assets/stylesheets/thredded/components/_base.scss +25 -0
  68. data/app/assets/stylesheets/thredded/components/_currently-online.scss +54 -0
  69. data/app/assets/stylesheets/thredded/components/_empty.scss +11 -0
  70. data/app/assets/stylesheets/thredded/components/_flash-message.scss +19 -0
  71. data/app/assets/stylesheets/thredded/components/_following.scss +14 -0
  72. data/app/assets/stylesheets/thredded/components/_form-list.scss +39 -0
  73. data/app/assets/stylesheets/thredded/components/_icons.scss +3 -0
  74. data/app/assets/stylesheets/thredded/components/_main-section.scss +9 -0
  75. data/app/assets/stylesheets/thredded/components/_mention-autocomplete.scss +57 -0
  76. data/app/assets/stylesheets/thredded/components/_messageboard.scss +155 -0
  77. data/app/assets/stylesheets/thredded/components/_onebox.scss +275 -0
  78. data/app/assets/stylesheets/thredded/components/_pagination.scss +35 -0
  79. data/app/assets/stylesheets/thredded/components/_post-form.scss +27 -0
  80. data/app/assets/stylesheets/thredded/components/_post.scss +138 -0
  81. data/app/assets/stylesheets/thredded/components/_preferences.scss +19 -0
  82. data/app/assets/stylesheets/thredded/components/_preview_area.scss +11 -0
  83. data/app/assets/stylesheets/thredded/components/_topic-delete.scss +8 -0
  84. data/app/assets/stylesheets/thredded/components/_topic-header.scss +111 -0
  85. data/app/assets/stylesheets/thredded/components/_topics.scss +186 -0
  86. data/app/assets/stylesheets/thredded/layout/_main-container.scss +16 -0
  87. data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +79 -0
  88. data/app/assets/stylesheets/thredded/layout/_moderation.scss +97 -0
  89. data/app/assets/stylesheets/thredded/layout/_navigation.scss +87 -0
  90. data/app/assets/stylesheets/thredded/layout/_search-navigation.scss +126 -0
  91. data/app/assets/stylesheets/thredded/layout/_user-navigation.scss +20 -0
  92. data/app/assets/stylesheets/thredded/layout/_user.scss +10 -0
  93. data/app/assets/stylesheets/thredded/utilities/_is-compact.scss +26 -0
  94. data/app/assets/stylesheets/thredded/utilities/_is-expanded.scss +16 -0
  95. data/app/commands/thredded/at_notification_extractor.rb +23 -0
  96. data/app/commands/thredded/autofollow_users.rb +62 -0
  97. data/app/commands/thredded/create_messageboard.rb +42 -0
  98. data/app/commands/thredded/mark_all_read.rb +22 -0
  99. data/app/commands/thredded/moderate_post.rb +48 -0
  100. data/app/commands/thredded/notify_following_users.rb +78 -0
  101. data/app/commands/thredded/notify_private_topic_users.rb +34 -0
  102. data/app/controllers/concerns/thredded/new_post_params.rb +21 -0
  103. data/app/controllers/concerns/thredded/new_private_post_params.rb +21 -0
  104. data/app/controllers/concerns/thredded/new_private_topic_params.rb +25 -0
  105. data/app/controllers/concerns/thredded/new_topic_params.rb +19 -0
  106. data/app/controllers/concerns/thredded/render_preview.rb +16 -0
  107. data/app/controllers/thredded/application_controller.rb +145 -0
  108. data/app/controllers/thredded/autocomplete_users_controller.rb +52 -0
  109. data/app/controllers/thredded/messageboard_groups_controller.rb +31 -0
  110. data/app/controllers/thredded/messageboards_controller.rb +53 -0
  111. data/app/controllers/thredded/moderation_controller.rb +103 -0
  112. data/app/controllers/thredded/post_permalinks_controller.rb +11 -0
  113. data/app/controllers/thredded/post_previews_controller.rb +29 -0
  114. data/app/controllers/thredded/posts_controller.rb +97 -0
  115. data/app/controllers/thredded/preferences_controller.rb +42 -0
  116. data/app/controllers/thredded/private_post_permalinks_controller.rb +12 -0
  117. data/app/controllers/thredded/private_post_previews_controller.rb +29 -0
  118. data/app/controllers/thredded/private_posts_controller.rb +96 -0
  119. data/app/controllers/thredded/private_topic_previews_controller.rb +15 -0
  120. data/app/controllers/thredded/private_topics_controller.rb +102 -0
  121. data/app/controllers/thredded/read_states_controller.rb +13 -0
  122. data/app/controllers/thredded/theme_previews_controller.rb +34 -0
  123. data/app/controllers/thredded/topic_previews_controller.rb +15 -0
  124. data/app/controllers/thredded/topics_controller.rb +205 -0
  125. data/app/forms/thredded/edit_topic_form.rb +51 -0
  126. data/app/forms/thredded/post_form.rb +54 -0
  127. data/app/forms/thredded/private_post_form.rb +50 -0
  128. data/app/forms/thredded/private_topic_form.rb +160 -0
  129. data/app/forms/thredded/topic_form.rb +95 -0
  130. data/app/forms/thredded/user_preferences_form.rb +110 -0
  131. data/app/helpers/thredded/application_helper.rb +129 -0
  132. data/app/helpers/thredded/nav_helper.rb +42 -0
  133. data/app/helpers/thredded/render_helper.rb +15 -0
  134. data/app/helpers/thredded/urls_helper.rb +134 -0
  135. data/app/jobs/thredded/activity_updater_job.rb +21 -0
  136. data/app/jobs/thredded/auto_follow_and_notify_job.rb +14 -0
  137. data/app/jobs/thredded/notify_private_topic_users_job.rb +12 -0
  138. data/app/mailer_previews/thredded/base_mailer_preview.rb +118 -0
  139. data/app/mailer_previews/thredded/post_mailer_preview.rb +13 -0
  140. data/app/mailer_previews/thredded/private_topic_mailer_preview.rb +13 -0
  141. data/app/mailers/thredded/base_mailer.rb +18 -0
  142. data/app/mailers/thredded/post_mailer.rb +21 -0
  143. data/app/mailers/thredded/private_topic_mailer.rb +21 -0
  144. data/app/models/concerns/thredded/content_moderation_state.rb +67 -0
  145. data/app/models/concerns/thredded/friendly_id_reserved_words_and_pagination.rb +17 -0
  146. data/app/models/concerns/thredded/moderation_state.rb +14 -0
  147. data/app/models/concerns/thredded/notifier_preference.rb +19 -0
  148. data/app/models/concerns/thredded/post_common.rb +76 -0
  149. data/app/models/concerns/thredded/search_parser.rb +41 -0
  150. data/app/models/concerns/thredded/topic_common.rb +94 -0
  151. data/app/models/concerns/thredded/topics_search.rb +67 -0
  152. data/app/models/concerns/thredded/user_topic_read_state_common.rb +42 -0
  153. data/app/models/thredded/category.rb +18 -0
  154. data/app/models/thredded/messageboard.rb +120 -0
  155. data/app/models/thredded/messageboard_group.rb +19 -0
  156. data/app/models/thredded/messageboard_notifications_for_followed_topics.rb +30 -0
  157. data/app/models/thredded/messageboard_user.rb +14 -0
  158. data/app/models/thredded/notifications_for_followed_topics.rb +25 -0
  159. data/app/models/thredded/notifications_for_private_topics.rb +22 -0
  160. data/app/models/thredded/null_user.rb +51 -0
  161. data/app/models/thredded/null_user_topic_read_state.rb +17 -0
  162. data/app/models/thredded/post.rb +77 -0
  163. data/app/models/thredded/post_moderation_record.rb +56 -0
  164. data/app/models/thredded/private_post.rb +63 -0
  165. data/app/models/thredded/private_topic.rb +89 -0
  166. data/app/models/thredded/private_user.rb +8 -0
  167. data/app/models/thredded/stats.rb +25 -0
  168. data/app/models/thredded/topic.rb +179 -0
  169. data/app/models/thredded/topic_category.rb +8 -0
  170. data/app/models/thredded/user_detail.rb +27 -0
  171. data/app/models/thredded/user_extender.rb +75 -0
  172. data/app/models/thredded/user_messageboard_preference.rb +45 -0
  173. data/app/models/thredded/user_permissions/admin/if_admin_column_true.rb +14 -0
  174. data/app/models/thredded/user_permissions/admin/none.rb +14 -0
  175. data/app/models/thredded/user_permissions/message/readers_of_writeable_boards.rb +15 -0
  176. data/app/models/thredded/user_permissions/moderate/if_moderator_column_true.rb +16 -0
  177. data/app/models/thredded/user_permissions/moderate/none.rb +16 -0
  178. data/app/models/thredded/user_permissions/read/all.rb +27 -0
  179. data/app/models/thredded/user_permissions/write/all.rb +16 -0
  180. data/app/models/thredded/user_permissions/write/none.rb +16 -0
  181. data/app/models/thredded/user_post_notification.rb +29 -0
  182. data/app/models/thredded/user_preference.rb +26 -0
  183. data/app/models/thredded/user_private_topic_read_state.rb +13 -0
  184. data/app/models/thredded/user_topic_follow.rb +34 -0
  185. data/app/models/thredded/user_topic_read_state.rb +13 -0
  186. data/app/notifiers/thredded/email_notifier.rb +25 -0
  187. data/app/policies/thredded/messageboard_group_policy.rb +16 -0
  188. data/app/policies/thredded/messageboard_policy.rb +49 -0
  189. data/app/policies/thredded/post_policy.rb +64 -0
  190. data/app/policies/thredded/private_post_policy.rb +38 -0
  191. data/app/policies/thredded/private_topic_policy.rb +24 -0
  192. data/app/policies/thredded/topic_policy.rb +49 -0
  193. data/app/view_hooks/thredded/all_view_hooks.rb +125 -0
  194. data/app/view_models/thredded/base_topic_view.rb +43 -0
  195. data/app/view_models/thredded/messageboard_group_view.rb +27 -0
  196. data/app/view_models/thredded/post_view.rb +89 -0
  197. data/app/view_models/thredded/posts_page_view.rb +27 -0
  198. data/app/view_models/thredded/private_topic_view.rb +20 -0
  199. data/app/view_models/thredded/private_topics_page_view.rb +31 -0
  200. data/app/view_models/thredded/topic_email_view.rb +18 -0
  201. data/app/view_models/thredded/topic_posts_page_view.rb +17 -0
  202. data/app/view_models/thredded/topic_view.rb +68 -0
  203. data/app/view_models/thredded/topics_page_view.rb +38 -0
  204. data/app/views/layouts/thredded/application.html.erb +18 -0
  205. data/app/views/thredded/categories/_category.html.erb +1 -0
  206. data/app/views/thredded/error_pages/forbidden.html.erb +6 -0
  207. data/app/views/thredded/error_pages/not_found.html.erb +6 -0
  208. data/app/views/thredded/kaminari/_first_page.html.erb +11 -0
  209. data/app/views/thredded/kaminari/_gap.html.erb +8 -0
  210. data/app/views/thredded/kaminari/_last_page.html.erb +11 -0
  211. data/app/views/thredded/kaminari/_next_page.html.erb +11 -0
  212. data/app/views/thredded/kaminari/_page.html.erb +12 -0
  213. data/app/views/thredded/kaminari/_paginator.html.erb +23 -0
  214. data/app/views/thredded/kaminari/_prev_page.html.erb +11 -0
  215. data/app/views/thredded/messageboard_groups/new.html.erb +28 -0
  216. data/app/views/thredded/messageboards/_form.html.erb +30 -0
  217. data/app/views/thredded/messageboards/_messageboard.html.erb +20 -0
  218. data/app/views/thredded/messageboards/_messageboard_meta.html.erb +13 -0
  219. data/app/views/thredded/messageboards/edit.html.erb +15 -0
  220. data/app/views/thredded/messageboards/index.html.erb +34 -0
  221. data/app/views/thredded/messageboards/new.html.erb +15 -0
  222. data/app/views/thredded/moderation/_nav.html.erb +19 -0
  223. data/app/views/thredded/moderation/_post.html.erb +19 -0
  224. data/app/views/thredded/moderation/_post_moderation_actions.html.erb +12 -0
  225. data/app/views/thredded/moderation/_post_moderation_record.html.erb +46 -0
  226. data/app/views/thredded/moderation/_user_moderation_state.html.erb +3 -0
  227. data/app/views/thredded/moderation/_user_post.html.erb +12 -0
  228. data/app/views/thredded/moderation/_users_search_form.html.erb +13 -0
  229. data/app/views/thredded/moderation/activity.html.erb +20 -0
  230. data/app/views/thredded/moderation/history.html.erb +13 -0
  231. data/app/views/thredded/moderation/pending.html.erb +24 -0
  232. data/app/views/thredded/moderation/user.html.erb +54 -0
  233. data/app/views/thredded/moderation/users.html.erb +41 -0
  234. data/app/views/thredded/post_mailer/post_notification.html.erb +26 -0
  235. data/app/views/thredded/post_mailer/post_notification.text.erb +14 -0
  236. data/app/views/thredded/post_previews/preview.html.erb +1 -0
  237. data/app/views/thredded/post_previews/update.html.erb +1 -0
  238. data/app/views/thredded/posts/_content.html.erb +1 -0
  239. data/app/views/thredded/posts/_form.html.erb +5 -0
  240. data/app/views/thredded/posts/_post.html.erb +13 -0
  241. data/app/views/thredded/posts/_user.html.erb +3 -0
  242. data/app/views/thredded/posts/edit.html.erb +16 -0
  243. data/app/views/thredded/posts/new.html.erb +15 -0
  244. data/app/views/thredded/posts_common/_actions.html.erb +28 -0
  245. data/app/views/thredded/posts_common/_content.html.erb +3 -0
  246. data/app/views/thredded/posts_common/_form.html.erb +22 -0
  247. data/app/views/thredded/posts_common/_header.html.erb +8 -0
  248. data/app/views/thredded/posts_common/_header_with_topic.html.erb +15 -0
  249. data/app/views/thredded/posts_common/_header_with_user_and_topic.html.erb +18 -0
  250. data/app/views/thredded/posts_common/actions/_delete.html.erb +4 -0
  251. data/app/views/thredded/posts_common/actions/_edit.html.erb +3 -0
  252. data/app/views/thredded/posts_common/actions/_mark_as_unread.html.erb +2 -0
  253. data/app/views/thredded/posts_common/actions/_quote.html.erb +4 -0
  254. data/app/views/thredded/posts_common/form/_after_content.html.erb +8 -0
  255. data/app/views/thredded/posts_common/form/_before_content.html.erb +8 -0
  256. data/app/views/thredded/posts_common/form/_content.html.erb +7 -0
  257. data/app/views/thredded/posts_common/form/_content_field.html.erb +8 -0
  258. data/app/views/thredded/posts_common/form/_preview_area.html.erb +16 -0
  259. data/app/views/thredded/preferences/_form.html.erb +95 -0
  260. data/app/views/thredded/preferences/_messageboards_nav.html.erb +8 -0
  261. data/app/views/thredded/preferences/_messageboards_nav_item.html.erb +2 -0
  262. data/app/views/thredded/preferences/edit.html.erb +20 -0
  263. data/app/views/thredded/private_post_previews/preview.html.erb +1 -0
  264. data/app/views/thredded/private_post_previews/update.html.erb +1 -0
  265. data/app/views/thredded/private_posts/_content.html.erb +1 -0
  266. data/app/views/thredded/private_posts/_form.html.erb +6 -0
  267. data/app/views/thredded/private_posts/_private_post.html.erb +6 -0
  268. data/app/views/thredded/private_posts/edit.html.erb +16 -0
  269. data/app/views/thredded/private_posts/new.html.erb +11 -0
  270. data/app/views/thredded/private_topic_mailer/message_notification.html.erb +26 -0
  271. data/app/views/thredded/private_topic_mailer/message_notification.text.erb +15 -0
  272. data/app/views/thredded/private_topic_previews/preview.html.erb +1 -0
  273. data/app/views/thredded/private_topics/_breadcrumbs.html.erb +4 -0
  274. data/app/views/thredded/private_topics/_form.html.erb +39 -0
  275. data/app/views/thredded/private_topics/_header.html.erb +17 -0
  276. data/app/views/thredded/private_topics/_no_private_topics.html.erb +6 -0
  277. data/app/views/thredded/private_topics/_private_topic.html.erb +23 -0
  278. data/app/views/thredded/private_topics/edit.html.erb +35 -0
  279. data/app/views/thredded/private_topics/header/_participant.html.erb +1 -0
  280. data/app/views/thredded/private_topics/index.html.erb +32 -0
  281. data/app/views/thredded/private_topics/new.html.erb +11 -0
  282. data/app/views/thredded/private_topics/private_topic/_participant.html.erb +1 -0
  283. data/app/views/thredded/private_topics/show.html.erb +28 -0
  284. data/app/views/thredded/search/_form.html.erb +13 -0
  285. data/app/views/thredded/shared/_breadcrumbs.html.erb +6 -0
  286. data/app/views/thredded/shared/_content_moderation_blocked_state.html.erb +8 -0
  287. data/app/views/thredded/shared/_currently_online.html.erb +6 -0
  288. data/app/views/thredded/shared/_flash_messages.html.erb +7 -0
  289. data/app/views/thredded/shared/_header.html.erb +3 -0
  290. data/app/views/thredded/shared/_nav.html.erb +19 -0
  291. data/app/views/thredded/shared/_page.html.erb +15 -0
  292. data/app/views/thredded/shared/currently_online/_header.html.erb +5 -0
  293. data/app/views/thredded/shared/currently_online/_user_list.html.erb +3 -0
  294. data/app/views/thredded/shared/currently_online/_user_list_item.html.erb +6 -0
  295. data/app/views/thredded/shared/nav/_moderation.html.erb +14 -0
  296. data/app/views/thredded/shared/nav/_notification_preferences.html.erb +8 -0
  297. data/app/views/thredded/shared/nav/_private_topics.html.erb +12 -0
  298. data/app/views/thredded/shared/nav/_standalone.html.erb +12 -0
  299. data/app/views/thredded/shared/nav/_standalone_profile.html.erb +3 -0
  300. data/app/views/thredded/shared/preview.html.erb +10 -0
  301. data/app/views/thredded/theme_previews/_section_title.html.erb +3 -0
  302. data/app/views/thredded/theme_previews/show.html.erb +99 -0
  303. data/app/views/thredded/topic_previews/preview.html.erb +1 -0
  304. data/app/views/thredded/topics/_followers.html.erb +12 -0
  305. data/app/views/thredded/topics/_form.html.erb +32 -0
  306. data/app/views/thredded/topics/_header.html.erb +32 -0
  307. data/app/views/thredded/topics/_sticky_topics_divider.html.erb +1 -0
  308. data/app/views/thredded/topics/_topic.html.erb +47 -0
  309. data/app/views/thredded/topics/_topic_form_admin_options.html.erb +12 -0
  310. data/app/views/thredded/topics/edit.html.erb +50 -0
  311. data/app/views/thredded/topics/index.html.erb +35 -0
  312. data/app/views/thredded/topics/new.html.erb +12 -0
  313. data/app/views/thredded/topics/search.html.erb +39 -0
  314. data/app/views/thredded/topics/show.html.erb +46 -0
  315. data/app/views/thredded/users/_link.html.erb +14 -0
  316. data/app/views/thredded/users/_post.html.erb +6 -0
  317. data/app/views/thredded/users/_posts.html.erb +7 -0
  318. data/bin/rails +6 -0
  319. data/config/i18n-tasks.yml +16 -0
  320. data/config/locales/de.yml +257 -0
  321. data/config/locales/en.yml +253 -0
  322. data/config/locales/es.yml +257 -0
  323. data/config/locales/fr.yml +255 -0
  324. data/config/locales/it.yml +257 -0
  325. data/config/locales/pl.yml +257 -0
  326. data/config/locales/pt-BR.yml +258 -0
  327. data/config/locales/ru.yml +255 -0
  328. data/config/locales/zh-CN.yml +246 -0
  329. data/config/routes.rb +87 -0
  330. data/db/migrate/20160329231848_create_thredded.rb +257 -0
  331. data/db/seeds.rb +4 -0
  332. data/db/upgrade_migrations/20160611094616_upgrade_v0_5_to_v0_6.rb +28 -0
  333. data/db/upgrade_migrations/20160723012349_upgrade_v0_6_to_v0_7.rb +46 -0
  334. data/db/upgrade_migrations/20161019150201_upgrade_v0_7_to_v0_8.rb +34 -0
  335. data/db/upgrade_migrations/20161113161801_upgrade_v0_8_to_v0_9.rb +60 -0
  336. data/db/upgrade_migrations/20170125033319_upgrade_v0_9_to_v0_10.rb +36 -0
  337. data/db/upgrade_migrations/20170312131417_upgrade_thredded_v0_10_to_v0_11.rb +23 -0
  338. data/db/upgrade_migrations/20170420163138_upgrade_thredded_v0_11_to_v0_12.rb +28 -0
  339. data/db/upgrade_migrations/20170811090735_upgrade_thredded_v0_13_to_v_014.rb +21 -0
  340. data/lib/generators/thredded/install/USAGE +8 -0
  341. data/lib/generators/thredded/install/install_generator.rb +20 -0
  342. data/lib/generators/thredded/install/templates/initializer.rb +160 -0
  343. data/lib/tasks/thredded_tasks.rake +14 -0
  344. data/lib/thredded.rb +190 -0
  345. data/lib/thredded/base_migration.rb +14 -0
  346. data/lib/thredded/base_notifier.rb +28 -0
  347. data/lib/thredded/collection_to_strings_with_cache_renderer.rb +86 -0
  348. data/lib/thredded/content_formatter.rb +129 -0
  349. data/lib/thredded/database_seeder.rb +290 -0
  350. data/lib/thredded/db_tools.rb +103 -0
  351. data/lib/thredded/email_transformer.rb +22 -0
  352. data/lib/thredded/email_transformer/base.rb +47 -0
  353. data/lib/thredded/email_transformer/onebox.rb +21 -0
  354. data/lib/thredded/engine.rb +28 -0
  355. data/lib/thredded/errors.rb +68 -0
  356. data/lib/thredded/formatting_demo_content.rb +30 -0
  357. data/lib/thredded/html_pipeline/at_mention_filter.rb +78 -0
  358. data/lib/thredded/html_pipeline/autolink_filter.rb +15 -0
  359. data/lib/thredded/html_pipeline/kramdown_filter.rb +39 -0
  360. data/lib/thredded/html_pipeline/onebox_filter.rb +143 -0
  361. data/lib/thredded/html_pipeline/wrap_iframes_filter.rb +13 -0
  362. data/lib/thredded/version.rb +5 -0
  363. data/lib/thredded/view_hooks/config.rb +37 -0
  364. data/lib/thredded/view_hooks/renderer.rb +30 -0
  365. data/vendor/assets/javascripts/autosize.min.js +6 -0
  366. data/vendor/assets/javascripts/textcomplete.min.js +2 -0
  367. metadata +1035 -0
@@ -0,0 +1,257 @@
1
+ ---
2
+ pl:
3
+ thredded:
4
+ content_moderation_states:
5
+ content_blocked_notice: Zablokowany
6
+ content_blocked_notice_with_record_html: Zablokowany przez %{moderator} %{time_ago}
7
+ email_notifier:
8
+ by_email: przez e-mail
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Ten e-mail został wysłany do Ciebie, ponieważ %{user} włącza Cię do prywatnego tematu "<a href="%{post_url}">%{topic_title}</a>".
14
+ post_lead_html: 'Nowa wiadomość z %{user} w <a href="%{post_url}">"%{topic_title}"</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Nowa wiadomość z %{user} w "%{topic_title}"
17
+ text:
18
+ email_sent_reason: |-
19
+ Ten e-mail został wysłany do Ciebie, ponieważ %{user} Cię włączyło
20
+ Prywatny temat "%{topic_title}".
21
+
22
+ Przejdź tutaj, aby wyświetlić rozmowę:
23
+ %{post_url}
24
+ post_lead: 'Nowa wiadomość z %{user} w "%{topic_title}":'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: 'Ten e-mail został wysłany do Ciebie, ponieważ śledzisz ten temat: "<a href="%{post_url}">%{topic_title}</a>".'
29
+ post_lead_html: '%{user} <a href="%{post_url}">powiedział w "%{topic_title}"</a>:'
30
+ unsubscribe_instructions_html: Aby wypisać się z tych e-maili, zaktualizuj swoje <a href="%{preferences_url}">preferencje</a>.
31
+ subject: Nowy post w "%{topic_title}"
32
+ text:
33
+ email_sent_reason: |-
34
+ Ten e-mail został wysłany do Ciebie, ponieważ śledzisz
35
+ Temat "%{topic_title}".
36
+
37
+ Przejdź tutaj, aby wyświetlić rozmowę:
38
+ %{post_url}
39
+ post_lead: '%{user} powiedział w "%{topic_title}":'
40
+ unsubscribe_instructions: |-
41
+ Aby wypisać się z tych e-maili, zaktualizuj swoje preferencje:
42
+ %{unsubscribe_url}
43
+ errors:
44
+ login_required: Proszę się najpierw zalogować.
45
+ not_authorized: Nie masz uprawnień aby zobaczyć tę stronę.
46
+ private_topic_create_denied: Nie masz uprawnień do tworzenia prywatnych tematów.
47
+ private_topic_not_found: Ten prywatny temat nie istnieje.
48
+ form:
49
+ create_btn_submitting: Tworzenie...
50
+ preview: Zapowiedź
51
+ update: Zaktualizuj
52
+ update_btn_submitting: Aktualizowanie...
53
+ messageboard:
54
+ create: Stwórz nową tablicę
55
+ form:
56
+ create_btn_submitting: :thredded.form.create_btn_submitting
57
+ description_label: Opis
58
+ locked_label: Zablokowany
59
+ locked_notice: Ta wiadomość jest zablokowana. Tylko moderatorzy mogą tworzyć nowe tematy tutaj.
60
+ messageboard_group_id_label: messageboard grupa
61
+ no_group: Brak grupy
62
+ title_label: Nazwa
63
+ update_btn_submitting: :thredded.form.update_btn_submitting
64
+ index:
65
+ page_title: Tablice
66
+ last_updated_by_html: Zaktualizowano %{time_ago} <cite>przez %{user}</cite>
67
+ topics_and_posts_counts: "%{topics_count} tematów / %{posts_count} postów"
68
+ update: :thredded.form.update
69
+ updated_notice: Tablica została zaktualizowana
70
+ messageboard_first_topic:
71
+ content: |-
72
+ There's not a whole lot here for now.
73
+
74
+ These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
75
+ You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
76
+ Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
77
+ title: Welcome to your messageboard's very first thread
78
+ messageboard_group:
79
+ create: Stwórz nową Grupę
80
+ form:
81
+ create_btn_submitting: :thredded.form.create_btn_submitting
82
+ saved: Grupa %{name} została utworzona
83
+ moderation:
84
+ approve_btn: Zaakceptuj
85
+ block_btn: Zablokuj
86
+ moderation_state:
87
+ name: Stan moderacji
88
+ pending:
89
+ empty:
90
+ content: Wszystkie posty zostały zweryfikowane.
91
+ title: Dobra robota!
92
+ post_approved_html: Post zaakceptowany przez %{moderator} %{time_ago}.
93
+ post_blocked_html: Post zablokowany przez %{moderator} %{time_ago}.
94
+ post_deleted_notice: Ten post został usunięty.
95
+ posts_content_changed_since_moderation_html: >-
96
+ Zawartość <a href="%{post_url}">postu</a> zmieniła się od czasu moderacji. Poniżej znajduje się jego treść
97
+ z okresu moderacji.
98
+ search_users:
99
+ form_label: Wyszukaj użytkowników
100
+ form_placeholder: :thredded.moderation.search_users.form_label
101
+ no_results_message: 'Brak użytkowników zaczynających się od: %{query}'
102
+ results_message: 'Użytkownicy zaczynający się od: %{query}'
103
+ user:
104
+ name: Użytkownik
105
+ nav:
106
+ all_messageboards: Wszystkie tablice
107
+ edit_messageboard: Edytuj tablicę
108
+ edit_post: Edytuj post
109
+ edit_private_topic: :thredded.nav.edit_topic
110
+ edit_topic: Edytuj
111
+ mark_all_read: Oznacz jako przeczytane
112
+ moderation: Moderacja
113
+ moderation_activity: Aktywność
114
+ moderation_history: Historia
115
+ moderation_pending: Oczekujące
116
+ moderation_users: Użytkownicy
117
+ private_topics: Prywatne wiadomości
118
+ settings: Ustawienia powiadomień
119
+ null_user_name: Usunięci użytkownicy
120
+ posts:
121
+ delete: Usuń post
122
+ delete_confirm: Jesteś pewny, że chcesz usunąć ten post?
123
+ deleted_notice: Twój post został usunięty.
124
+ edit: :thredded.nav.edit_post
125
+ form:
126
+ content_label: Treść
127
+ create_btn: Wyślij odpowiedź
128
+ create_btn_submitting: Wysyłanie...
129
+ title_label: Dodaj posta
130
+ update_btn: Zaktualizuj post
131
+ update_btn_submitting: :thredded.form.update_btn_submitting
132
+ pending_moderation_notice: Twój post zostanie zamieszczony po zweryfikowaniu go przez moderatora.
133
+ quote_btn: Zacytować
134
+ preferences:
135
+ edit:
136
+ page_title: :thredded.nav.settings
137
+ form:
138
+ auto_follow_topics:
139
+ hint: >-
140
+ Automatycznie śledzić wszystkie nowe tematy. Zmiana tego ustawienia powoduje zmianę dla wszystkich messageboards.
141
+ label: Śledź wszystkie nowe tematy
142
+ follow_topics_on_mention:
143
+ hint: 'Gdy ktoś w temacie wspomni o Tobie (np.: @sam) zaczniesz obserwować ten temat.'
144
+ label: Obserwuj tematy, w których zostałeś wspomiany
145
+ messageboard_auto_follow_topics:
146
+ hint: Automatycznie śledzić wszystkie nowe tematy na tym messageboard. To zastępuje odpowiednie ustawienie
147
+ powyżej.
148
+ label: Śledź wszystkie nowe tematy
149
+ messageboard_follow_topics_on_mention:
150
+ hint: 'Gdy ktoś w temacie wspomni o Tobie (np.: @sam) zaczniesz obserwować ten temat.'
151
+ label: :thredded.preferences.form.follow_topics_on_mention.label
152
+ messageboard_notifications_for_followed_topics:
153
+ label: :thredded.preferences.form.notifications_for_followed_topics.label
154
+ notifications_for_followed_topics:
155
+ label: Powiadomienia z obserwowanych tematów
156
+ notifications_for_private_topics:
157
+ label: Powiadomienia z prywatnych wiadomości
158
+ submit_btn: Zaktualizuj ustawienia
159
+ update_btn_submitting: :thredded.form.update_btn_submitting
160
+ global_preferences_title: Ustawienia powiadomień
161
+ messageboard_preferences_nav_title: Ustawienia na tablicę
162
+ messageboard_preferences_title_html: Notification Settings for <em>%{messageboard}</em>
163
+ updated_notice: Twoje ustawienia zostały zaktualizowane.
164
+ private_posts:
165
+ form:
166
+ content_label: Wiadomość
167
+ create_btn: Wyślij wiadomość
168
+ create_btn_submitting: Wysyłanie
169
+ update_btn_submitting: :thredded.form.update_btn_submitting
170
+ private_topics:
171
+ create: :thredded.private_topics.form.create_btn
172
+ edit: Edytuj
173
+ errors:
174
+ user_ids_length: Proszę dodać przynajmniej jednego innego użytkownika.
175
+ form:
176
+ content_label: :thredded.private_posts.form.content_label
177
+ create_btn: :thredded.private_posts.form.create_btn
178
+ create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
179
+ title_label: :thredded.topics.form.title_label
180
+ title_placeholder_new: Wpisz temat konwersacji
181
+ title_placeholder_start: Rozpocznij konwersację
182
+ update_btn: Zaktualizuj
183
+ update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
184
+ users_label: Uczestnicy
185
+ users_placeholder: Zaproś użytkowników do udziału w tej konwersacji
186
+ no_private_topics:
187
+ create_btn: Rozpocznij swoją pierwszą prywatną konwersację
188
+ title: Nie masz żadnych prywatnych wiadomości.
189
+ updated_notice: Tytuł zaktualizowany.
190
+ recent_activity: Ostatnia aktywność.
191
+ search:
192
+ form:
193
+ btn_submit: :thredded.search.form.label
194
+ label: Wyszukaj
195
+ placeholder: Wyszukaj tematy i posty.
196
+ time_ago: "%{time} temu"
197
+ topics:
198
+ create: :thredded.topics.form.create_btn
199
+ delete_confirm: Jesteś pewien, że chcesz usunąć ten temat? Tej operacji nie można cofnąć.
200
+ delete_topic: Usuń temat
201
+ deleted_notice: Temat usunięty.
202
+ edit: Edytuj temat
203
+ follow: Obserwuj temat
204
+ followed_by: 'Obserwowany przez:'
205
+ followed_by_noone: Nikt nie obserwuje tego tematu
206
+ followed_notice: Obserwujesz ten temat
207
+ following:
208
+ auto: Osoby stosujące ten temat, ponieważ auto naśladowania jest włączony.
209
+ manual: Obserwujesz ten temat.
210
+ mentioned: Obserwujesz ten temat, ponieważ ktoś wspomniał w nim o tobie.
211
+ posted: Obserwujesz ten temat, ponieważ w nim napisałeś.
212
+ form:
213
+ categories_placeholder: Kategorie
214
+ content_label: :thredded.posts.form.content_label
215
+ create_btn: Stwórz nowy temat
216
+ messageboard_label: Tablica
217
+ title_label: Tytuł
218
+ title_placeholder: :thredded.topics.form.title_label
219
+ title_placeholder_start: Rozpocznij nowy temat
220
+ update_btn: Zaktualizuj temat
221
+ locked:
222
+ label: Zablokowany
223
+ message: Ten temat został zablokowany przez moderatora.
224
+ mark_as_unread: Oznacz jako nieprzeczytane stąd
225
+ not_following: Nie obserwujesz tego tematu.
226
+ search:
227
+ no_results_in_messageboard_message_html: Nie odnaleziono żadnych wyników dla frazy <q>%{query}</q> w %{messageboard}
228
+ no_results_message_html: 'Nie odnaleziono żadnych wyników dla frazy: <q>%{query}</q>'
229
+ page_title: Wyniki wyszukiwania
230
+ results_in_messageboard_message_html: Wyniki wyszukiwania dla <q>%{query}</q> w %{messageboard}
231
+ results_message_html: 'Wyniki wyszukiwania dla: <q>%{query}</q>'
232
+ search_in_all_messageboards_btn: Szukaj wszędzie
233
+ started_by_html: Rozpoczęty %{time_ago} przez %{user}
234
+ sticky:
235
+ label: Przyklejony
236
+ unfollow: Przestań obserwować
237
+ unfollowed_notice: Przestałeś obserwować ten temat
238
+ updated_notice: Temat zaktualizowany
239
+ users:
240
+ currently_online: Aktualnie online
241
+ last_active_html: Ostatnio aktywny %{time_ago}
242
+ posted_in_topic_html: Napisał w temacie %{topic_link}
243
+ posts_count:
244
+ few: Napisał %{count} postów
245
+ many: Napisał %{count} postów
246
+ one: Napisał 1 post
247
+ other: Napisał %{count} postów
248
+ recent_activity: :thredded.recent_activity
249
+ started_topic_html: Rozpoczął %{topic_link}
250
+ started_topics_count:
251
+ few: Rozpoczął %{count} tematy
252
+ many: Rozpoczął %{count} tematów
253
+ one: Rozpoczął 1 temat
254
+ other: Rozpoczął %{count} tematów
255
+ user_posted_in_topic_html: "%{user_link} napisał w %{topic_link}"
256
+ user_since_html: Zarejestrowany od %{time_ago}
257
+ user_started_topic_html: "%{user_link} rozpoczął %{topic_link}"
@@ -0,0 +1,258 @@
1
+ ---
2
+ pt-BR:
3
+ thredded:
4
+ content_moderation_states:
5
+ content_blocked_notice: Bloqueado
6
+ content_blocked_notice_with_record_html: Bloqueados por %{moderator} %{time_ago}
7
+ email_notifier:
8
+ by_email: de e-mail
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Este e-mail foi enviado para você porque %{user} incluiu você em um tópico privado, "<a href="%{post_url}">%{topic_title}</a>".
14
+ post_lead_html: 'Uma nova mensagem de %{user} em <a href="%{post_url}">"%{topic_title}"</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Uma nova mensagem de %{user} em "%{topic_title}"
17
+ text:
18
+ email_sent_reason: |-
19
+ Este e-mail foi enviado para você porque %{user} incluiu você em
20
+ o tópico privado "%{topic_title}".
21
+
22
+ Vá aqui para ver a conversa:
23
+ %{post_url}
24
+ post_lead: 'Uma nova mensagem de %{user} em "%{topic_title}":'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: >-
29
+ Este e-mail foi enviado para você porque você está seguindo este tópico: "<a href="%{post_url}">%{topic_title}</a>".
30
+ post_lead_html: '%{user} <a href="%{post_url}">disse em "%{topic_title}"</a>:'
31
+ unsubscribe_instructions_html: Para cancelar a inscrição desses e-mails, atualize suas <a href="%{preferences_url}">preferências</a>.
32
+ subject: Uma nova postagem em "%{topic_title}"
33
+ text:
34
+ email_sent_reason: |-
35
+ Este e-mail foi enviado para você porque você está seguindo
36
+ o tópico "%{topic_title}".
37
+
38
+ Vá aqui para ver a conversa:
39
+ %{post_url}
40
+ post_lead: '%{user} disse em "%{topic_title}":'
41
+ unsubscribe_instructions: |-
42
+ Para cancelar a inscrição desses e-mails, atualize suas preferências aqui:
43
+ %{unsubscribe_url}
44
+ errors:
45
+ login_required: Por favor, autentique-se primeiro.
46
+ not_authorized: Você não está autorizado a acessar esta página.
47
+ private_topic_create_denied: Você não está autorizado a criar tópicos privados.
48
+ private_topic_not_found: Este tópico privado não existe.
49
+ form:
50
+ create_btn_submitting: Criando...
51
+ preview: Pré-visualização
52
+ update: Atualizar
53
+ update_btn_submitting: Atualizando...
54
+ messageboard:
55
+ create: Criar um novo Fórum de Mensagem
56
+ form:
57
+ create_btn_submitting: :thredded.form.create_btn_submitting
58
+ description_label: Descrição
59
+ locked_label: Trancado
60
+ locked_notice: Este quadro de mensagens está bloqueado. Somente os moderadores podem criar novos tópicos
61
+ aqui.
62
+ messageboard_group_id_label: grupo messageboard
63
+ no_group: Sem Grupo
64
+ title_label: Nome
65
+ update_btn_submitting: :thredded.form.update_btn_submitting
66
+ index:
67
+ page_title: Fóruns de Mensagens
68
+ last_updated_by_html: Atualizado %{time_ago} <cite>por %{user}</cite>
69
+ topics_and_posts_counts: "%{topics_count} tópicos / %{posts_count} posts"
70
+ update: :thredded.form.update
71
+ updated_notice: Fórum de mensagem foi atualizado
72
+ messageboard_first_topic:
73
+ content: |-
74
+ There's not a whole lot here for now.
75
+
76
+ These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
77
+ You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
78
+ Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
79
+ title: Welcome to your messageboard's very first thread
80
+ messageboard_group:
81
+ create: Criar um novo grupo de mensagens
82
+ form:
83
+ create_btn_submitting: :thredded.form.create_btn_submitting
84
+ saved: Groupo de mensagens %{name} salvou
85
+ moderation:
86
+ approve_btn: Aprovar
87
+ block_btn: Quadra
88
+ moderation_state:
89
+ name: Estado de moderação
90
+ pending:
91
+ empty:
92
+ content: Todas as mensagens têm sido moderadas.
93
+ title: Bom trabalho!
94
+ post_approved_html: Pós aprovado por %{moderator} %{time_ago}.
95
+ post_blocked_html: Pós bloqueado por %{moderator} %{time_ago}.
96
+ post_deleted_notice: Este post foi apagado.
97
+ posts_content_changed_since_moderation_html: >-
98
+ O <a href="%{post_url}">de pós</a> alteração de conteúdo, uma vez que foi moderado. Abaixo está o conteúdo
99
+ no momento em que foi moderado.
100
+ search_users:
101
+ form_label: Buscar usuários
102
+ form_placeholder: :thredded.moderation.search_users.form_label
103
+ no_results_message: Nenhum usuário com o nome começando com %{query}
104
+ results_message: Os usuários com nomes começando com %{query}
105
+ user:
106
+ name: Usuário
107
+ nav:
108
+ all_messageboards: Todos os Fóruns de Mensagens
109
+ edit_messageboard: Editar Fórum de Mensagem
110
+ edit_post: Editar Post
111
+ edit_private_topic: :thredded.nav.edit_topic
112
+ edit_topic: Editar
113
+ mark_all_read: Marcar Como Lido
114
+ moderation: Moderação
115
+ moderation_activity: Atividade
116
+ moderation_history: História
117
+ moderation_pending: Pendente
118
+ moderation_users: Usuários
119
+ private_topics: Mensagens Privadas
120
+ settings: Configurações de Notificação
121
+ null_user_name: Usuário deletado
122
+ posts:
123
+ delete: Remover Post
124
+ delete_confirm: Você tem certeza que deseja remover este post?
125
+ deleted_notice: Seu post foi removido.
126
+ edit: :thredded.nav.edit_post
127
+ form:
128
+ content_label: Conteúdo
129
+ create_btn: Enviar Resposta
130
+ create_btn_submitting: Postando...
131
+ title_label: Adicionar um post
132
+ update_btn: Atualizar Post
133
+ update_btn_submitting: :thredded.form.update_btn_submitting
134
+ pending_moderation_notice: O envio da mensagem será publicada quando foi revisado por um moderador.
135
+ quote_btn: Citar
136
+ preferences:
137
+ edit:
138
+ page_title: :thredded.nav.settings
139
+ form:
140
+ auto_follow_topics:
141
+ hint: siga automaticamente todos os novos temas. Alterar essa configuração vai mudá-lo para todos os messageboards.
142
+ label: Siga todos os novos temas
143
+ follow_topics_on_mention:
144
+ hint: >-
145
+ Quando alguém mencionar você através do seu usuário (ex.: @sam) você irá receber um e-mail com o conteúdo
146
+ deste post.
147
+ label: Siga os tópicos que são mencionados na
148
+ messageboard_auto_follow_topics:
149
+ hint: siga automaticamente todos os novos tópicos neste messageboard. Isso substitui a respectiva definição
150
+ acima.
151
+ label: Siga todos os novos temas
152
+ messageboard_follow_topics_on_mention:
153
+ hint: >-
154
+ Quando alguém mencionar você através do seu usuário (ex.: @sam) neste fórum de mensagens, você irá receber
155
+ um e-mail com o conteúdo deste post.
156
+ label: :thredded.preferences.form.follow_topics_on_mention.label
157
+ messageboard_notifications_for_followed_topics:
158
+ label: :thredded.preferences.form.notifications_for_followed_topics.label
159
+ notifications_for_followed_topics:
160
+ label: Notificações para tópicos seguido
161
+ notifications_for_private_topics:
162
+ label: Notificações de mensagens privadas
163
+ submit_btn: Atualizar Configurações
164
+ update_btn_submitting: :thredded.form.update_btn_submitting
165
+ global_preferences_title: Configurações Globais
166
+ messageboard_preferences_nav_title: Configurações por Fórum de Mensagem
167
+ messageboard_preferences_title_html: Configurações de Notificação para <em>%{messageboard}</em>
168
+ updated_notice: Suas configurações foram atualizadas.
169
+ private_posts:
170
+ form:
171
+ content_label: Mensagem
172
+ create_btn: Enviar Mensagem
173
+ create_btn_submitting: Enviando...
174
+ update_btn_submitting: :thredded.form.update_btn_submitting
175
+ private_topics:
176
+ create: :thredded.private_topics.form.create_btn
177
+ edit: Editar
178
+ errors:
179
+ user_ids_length: Por favor, especifique pelo menos mais um usuário.
180
+ form:
181
+ content_label: :thredded.private_posts.form.content_label
182
+ create_btn: :thredded.private_posts.form.create_btn
183
+ create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
184
+ title_label: :thredded.topics.form.title_label
185
+ title_placeholder_new: Escreva o assunto desta conversa
186
+ title_placeholder_start: Iniciar uma nova conversa
187
+ update_btn: Atualizar
188
+ update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
189
+ users_label: Participantes
190
+ users_placeholder: Selecione usuários para participar desta conversa
191
+ no_private_topics:
192
+ create_btn: Inicie sua primeira conversa privada
193
+ title: Você não possui mensagens privadas.
194
+ updated_notice: Título atualizado
195
+ recent_activity: Atividade recente
196
+ search:
197
+ form:
198
+ btn_submit: :thredded.search.form.label
199
+ label: Buscar
200
+ placeholder: Buscar Tópicos e Posts
201
+ time_ago: há %{time}
202
+ topics:
203
+ create: :thredded.topics.form.create_btn
204
+ delete_confirm: Você tem certeza que deseja remover este tópico? Isto não pode ser desfeito.
205
+ delete_topic: Remover Tópico
206
+ deleted_notice: Tópico removido
207
+ edit: Editar Tópico
208
+ follow: Siga este tópico
209
+ followed_by: 'Seguido por:'
210
+ followed_by_noone: Ninguém está seguindo este tópico
211
+ followed_notice: Você agora está seguindo este tópico
212
+ following:
213
+ auto: Você está seguindo este tópico porque o auto-follow está ativado.
214
+ manual: Você está seguindo este tópico.
215
+ mentioned: Você está seguindo este tópico porque você foi mencionado nele.
216
+ posted: Você está seguindo este tópico porque foi você que o publicou.
217
+ form:
218
+ categories_placeholder: Categorias
219
+ content_label: :thredded.posts.form.content_label
220
+ create_btn: Criar Novo Tópico
221
+ messageboard_label: Fórum
222
+ title_label: Título
223
+ title_placeholder: :thredded.topics.form.title_label
224
+ title_placeholder_start: Iniciar um novo tópico
225
+ update_btn: Atualizar Tópico
226
+ locked:
227
+ label: Trancado
228
+ message: Este tópico foi bloqueado por um moderador.
229
+ mark_as_unread: Marca não lida a partir daqui
230
+ not_following: Você não está seguindo este tema.
231
+ search:
232
+ no_results_in_messageboard_message_html: Não há resultados para sua busca <q>%{query}</q> em %{messageboard}
233
+ no_results_message_html: Nenhum resultado encontrado para sua busca <q>%{query}</q>
234
+ page_title: Tópicos dos Resultados da Busca
235
+ results_in_messageboard_message_html: Resultados da pesquisa para <q>%{query}</q> em %{messageboard}
236
+ results_message_html: Resultados de busca para <q>%{query}</q>
237
+ search_in_all_messageboards_btn: Buscar em todos os lugares
238
+ started_by_html: Iniciado %{time_ago} por %{user}
239
+ sticky:
240
+ label: Pegajoso
241
+ unfollow: Pare de seguir
242
+ unfollowed_notice: Você não está mais seguindo este tópico
243
+ updated_notice: Tópico atualizado
244
+ users:
245
+ currently_online: Atualmente Online
246
+ last_active_html: Última %{time_ago} ativa
247
+ posted_in_topic_html: Postou em %{topic_link}
248
+ posts_count:
249
+ one: Postado uma vez
250
+ other: vezes %{count} Publicado
251
+ recent_activity: :thredded.recent_activity
252
+ started_topic_html: Começou %{topic_link}
253
+ started_topics_count:
254
+ one: Começou um tópico
255
+ other: tópicos iniciados %{count}
256
+ user_posted_in_topic_html: "%{user_link} postou em %{topic_link}"
257
+ user_since_html: Utilizador desde %{time_ago}
258
+ user_started_topic_html: "%{user_link} começou %{topic_link}"