elabs 4.0.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (313) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +9 -0
  3. data/.node-version +1 -1
  4. data/.rubocop.yml +4 -0
  5. data/.stylelintrc.yml +12 -2
  6. data/CHANGELOG.md +81 -12
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +96 -94
  9. data/README.md +2 -0
  10. data/ROADMAP.md +4 -2
  11. data/app/assets/config/elabs_manifest.js +2 -1
  12. data/app/assets/fonts/elabs/FontAwesome/fa-brands-400.eot +0 -0
  13. data/app/assets/fonts/elabs/FontAwesome/fa-brands-400.svg +1148 -0
  14. data/app/assets/fonts/elabs/FontAwesome/fa-brands-400.ttf +0 -0
  15. data/app/assets/fonts/elabs/FontAwesome/fa-brands-400.woff +0 -0
  16. data/app/assets/fonts/elabs/FontAwesome/fa-brands-400.woff2 +0 -0
  17. data/app/assets/fonts/elabs/FontAwesome/fa-regular-400.eot +0 -0
  18. data/app/assets/fonts/elabs/FontAwesome/fa-regular-400.svg +467 -0
  19. data/app/assets/fonts/elabs/FontAwesome/fa-regular-400.ttf +0 -0
  20. data/app/assets/fonts/elabs/FontAwesome/fa-regular-400.woff +0 -0
  21. data/app/assets/fonts/elabs/FontAwesome/fa-regular-400.woff2 +0 -0
  22. data/app/assets/fonts/elabs/FontAwesome/fa-solid-900.eot +0 -0
  23. data/app/assets/fonts/elabs/FontAwesome/fa-solid-900.svg +2231 -0
  24. data/app/assets/fonts/elabs/FontAwesome/fa-solid-900.ttf +0 -0
  25. data/app/assets/fonts/elabs/FontAwesome/fa-solid-900.woff +0 -0
  26. data/app/assets/fonts/elabs/FontAwesome/fa-solid-900.woff2 +0 -0
  27. data/app/assets/fonts/elabs/OpenSans/Apache License.txt +201 -0
  28. data/app/assets/fonts/elabs/OpenSans/OpenSans-Bold.ttf +0 -0
  29. data/app/assets/fonts/elabs/OpenSans/OpenSans-Light.ttf +0 -0
  30. data/app/assets/fonts/elabs/OpenSans/OpenSans-Regular.ttf +0 -0
  31. data/app/assets/fonts/elabs/OpenSans/OpenSans-Semibold.ttf +0 -0
  32. data/app/assets/fonts/elabs/license-icons/license-icons.eot +0 -0
  33. data/app/assets/fonts/elabs/license-icons/license-icons.svg +51 -0
  34. data/app/assets/fonts/elabs/license-icons/license-icons.ttf +0 -0
  35. data/app/assets/fonts/elabs/license-icons/license-icons.woff +0 -0
  36. data/app/assets/fonts/elabs/license-icons/license-icons.woff2 +0 -0
  37. data/app/assets/images/elabs/preview_placeholder.png +0 -0
  38. data/app/assets/images/elabs/preview_placeholder_nsfw.png +0 -0
  39. data/app/assets/javascripts/elabs/announcements.js +33 -0
  40. data/app/assets/javascripts/elabs/application.js.erb +17 -14
  41. data/app/assets/javascripts/elabs/forms.js +0 -1
  42. data/app/assets/javascripts/elabs/helpers-markdown.js +2 -2
  43. data/app/assets/javascripts/elabs/helpers.js +17 -0
  44. data/app/assets/javascripts/elabs/menu.js +5 -0
  45. data/app/assets/stylesheets/elabs/_fonts.scss +32 -0
  46. data/app/assets/stylesheets/elabs/_variables.scss +286 -5
  47. data/app/assets/stylesheets/elabs/app/components/_act.scss +83 -0
  48. data/app/assets/stylesheets/elabs/app/components/_announcement.scss +41 -0
  49. data/app/assets/stylesheets/elabs/app/components/_classifier_types.scss +43 -0
  50. data/app/assets/stylesheets/elabs/app/components/_comment.scss +29 -0
  51. data/app/assets/stylesheets/elabs/app/components/_content_relations.scss +53 -0
  52. data/app/assets/stylesheets/elabs/app/components/_content_statuses.scss +39 -0
  53. data/app/assets/stylesheets/elabs/app/components/_content_types.scss +41 -0
  54. data/app/assets/stylesheets/elabs/app/components/_git_cards.scss +122 -0
  55. data/app/assets/stylesheets/elabs/app/elements/_alerts.scss +3 -0
  56. data/app/assets/stylesheets/elabs/app/elements/_badges.scss +17 -0
  57. data/app/assets/stylesheets/elabs/app/elements/_buttons.scss +34 -0
  58. data/app/assets/stylesheets/elabs/app/elements/_dropdowns.scss +78 -0
  59. data/app/assets/stylesheets/elabs/app/elements/_empty.scss +31 -0
  60. data/app/assets/stylesheets/elabs/app/elements/_errors.scss +15 -0
  61. data/app/assets/stylesheets/elabs/app/elements/_filter_link.scss +23 -0
  62. data/app/assets/stylesheets/elabs/app/elements/_fixed_links.scss +19 -0
  63. data/app/assets/stylesheets/elabs/app/elements/_forms.scss +123 -0
  64. data/app/assets/stylesheets/elabs/app/elements/_icons.scss +74 -0
  65. data/app/assets/stylesheets/elabs/app/{_medias.scss → elements/_medias.scss} +2 -0
  66. data/app/assets/stylesheets/elabs/app/{_modals.scss → elements/_modals.scss} +8 -4
  67. data/app/assets/stylesheets/elabs/app/elements/_nsfw.scss +41 -0
  68. data/app/assets/stylesheets/elabs/app/{_pagination.scss → elements/_pagination.scss} +0 -0
  69. data/app/assets/stylesheets/elabs/app/{_tables.scss → elements/_tables.scss} +2 -2
  70. data/app/assets/stylesheets/elabs/app/elements/_tabs.scss +73 -0
  71. data/app/assets/stylesheets/elabs/app/helpers/_cards.scss +80 -0
  72. data/app/assets/stylesheets/elabs/app/helpers/_containers.scss +7 -0
  73. data/app/assets/stylesheets/elabs/app/helpers/_states.scss +3 -0
  74. data/app/assets/stylesheets/elabs/app/{_helpers.scss → helpers/_typo.scss} +6 -4
  75. data/app/assets/stylesheets/elabs/app/layouts/_acts.scss +25 -0
  76. data/app/assets/stylesheets/elabs/app/layouts/_classifiers.scss +32 -0
  77. data/app/assets/stylesheets/elabs/app/{_comments.scss → layouts/_comments.scss} +0 -2
  78. data/app/assets/stylesheets/elabs/app/layouts/_devise.scss +65 -0
  79. data/app/assets/stylesheets/elabs/app/layouts/_layout.scss +40 -0
  80. data/app/assets/stylesheets/elabs/app/layouts/_page.scss +14 -0
  81. data/app/assets/stylesheets/elabs/app/layouts/_page_content.scss +13 -0
  82. data/app/assets/stylesheets/elabs/app/layouts/_page_footer.scss +20 -0
  83. data/app/assets/stylesheets/elabs/app/layouts/_page_header.scss +146 -0
  84. data/app/assets/stylesheets/elabs/app/layouts/_page_menu.scss +232 -0
  85. data/app/assets/stylesheets/elabs/app/layouts/_page_messages.scss +4 -0
  86. data/app/assets/stylesheets/elabs/app/layouts/_private_layout.scss +78 -0
  87. data/app/assets/stylesheets/elabs/app/{_typo.scss → layouts/_typo.scss} +3 -0
  88. data/app/assets/stylesheets/elabs/app/mixins/_classifier_card.scss +43 -0
  89. data/app/assets/stylesheets/elabs/app/mixins/_content_card.scss +103 -0
  90. data/app/assets/stylesheets/elabs/app/mixins/_content_full.scss +158 -0
  91. data/app/assets/stylesheets/elabs/app/mixins/{_content-inline.scss → _content_inline.scss} +0 -0
  92. data/app/assets/stylesheets/elabs/lib/_codemirror.scss +2 -2
  93. data/app/assets/stylesheets/elabs/{_colors.scss → lib/_colors_reference.scss} +0 -52
  94. data/app/assets/stylesheets/elabs/lib/_license_icons.scss +121 -0
  95. data/app/assets/stylesheets/elabs/lib/fontawesome/_fontawesome.scss +1 -1
  96. data/app/assets/stylesheets/elabs/lib/fontawesome/_fonts.scss +18 -18
  97. data/app/assets/stylesheets/elabs/lib/knacss/_knacss.scss +1 -1
  98. data/app/assets/stylesheets/elabs/lib/knacss/_knacss_variables.scss +227 -0
  99. data/app/assets/stylesheets/elabs/style.scss +62 -57
  100. data/app/controllers/elabs/admin/admin_application_controller.rb +1 -1
  101. data/app/controllers/elabs/admin/announcements_controller.rb +71 -0
  102. data/app/controllers/elabs/concerns/elabs_controller.rb +3 -0
  103. data/app/controllers/elabs/content_application_controller.rb +4 -0
  104. data/app/controllers/elabs/elabs_public_controller.rb +15 -0
  105. data/app/controllers/elabs/languages_controller.rb +1 -5
  106. data/app/controllers/elabs/member/comments_controller.rb +42 -0
  107. data/app/controllers/elabs/member/member_application_controller.rb +1 -1
  108. data/app/controllers/elabs/reports_controller.rb +2 -0
  109. data/app/helpers/elabs/acts_helper.rb +7 -2
  110. data/app/helpers/elabs/application_helper.rb +8 -50
  111. data/app/helpers/elabs/content_filters_helper.rb +17 -24
  112. data/app/helpers/elabs/content_helper.rb +8 -35
  113. data/app/helpers/elabs/content_renderer_helper.rb +4 -112
  114. data/app/helpers/elabs/form_helper.rb +11 -11
  115. data/app/helpers/elabs/icons_helper.rb +63 -0
  116. data/app/helpers/elabs/{admin_content_helper.rb → links_admin_helper.rb} +1 -1
  117. data/app/helpers/elabs/links_helper.rb +58 -0
  118. data/app/helpers/elabs/{member_content_helper.rb → links_member_helper.rb} +2 -2
  119. data/app/helpers/elabs/notification_helper.rb +17 -3
  120. data/app/helpers/elabs/shortcodes_helper.rb +108 -0
  121. data/app/helpers/elabs/thumbnails_helper.rb +1 -1
  122. data/app/models/elabs/album.rb +14 -0
  123. data/app/models/elabs/announcement.rb +33 -0
  124. data/app/models/elabs/article.rb +14 -0
  125. data/app/models/elabs/comment.rb +10 -4
  126. data/app/models/elabs/note.rb +14 -0
  127. data/app/models/elabs/project.rb +12 -0
  128. data/app/models/elabs/report.rb +1 -0
  129. data/app/models/elabs/upload.rb +16 -0
  130. data/app/models/elabs/user.rb +2 -1
  131. data/app/views/elabs/acts/_filters.html.haml +3 -2
  132. data/app/views/elabs/acts/index.html.haml +2 -13
  133. data/app/views/elabs/admin/announcements/_announcement.json.jbuilder +10 -0
  134. data/app/views/elabs/admin/announcements/_form.html.haml +52 -0
  135. data/app/views/elabs/admin/announcements/edit.html.haml +3 -0
  136. data/app/views/elabs/admin/announcements/index.html.haml +28 -0
  137. data/app/views/elabs/admin/announcements/index.json.jbuilder +1 -0
  138. data/app/views/elabs/admin/announcements/new.html.haml +3 -0
  139. data/app/views/elabs/admin/licenses/index.html.haml +2 -2
  140. data/app/views/elabs/admin/uploads/_upload.json.jbuilder +3 -3
  141. data/app/views/elabs/albums/_card_content.html.haml +8 -0
  142. data/app/views/elabs/albums/_filters.html.haml +5 -3
  143. data/app/views/elabs/albums/index.html.haml +1 -1
  144. data/app/views/elabs/albums/show.html.haml +38 -29
  145. data/app/views/elabs/articles/_filters.html.haml +5 -3
  146. data/app/views/elabs/articles/index.html.haml +1 -1
  147. data/app/views/elabs/articles/show.html.haml +33 -25
  148. data/app/views/elabs/auth/confirmations/new.html.haml +1 -1
  149. data/app/views/elabs/auth/passwords/edit.html.haml +1 -1
  150. data/app/views/elabs/auth/passwords/new.html.haml +1 -1
  151. data/app/views/elabs/auth/registrations/new.html.haml +7 -2
  152. data/app/views/elabs/auth/sessions/_new.html.haml +1 -1
  153. data/app/views/elabs/auth/unlocks/new.html.haml +1 -1
  154. data/app/views/elabs/comments/_comments.html.haml +29 -20
  155. data/app/views/elabs/comments/_form.html.haml +40 -36
  156. data/app/views/elabs/languages/_filters.html.haml +3 -5
  157. data/app/views/elabs/languages/index.html.haml +12 -13
  158. data/app/views/elabs/languages/show.html.haml +36 -31
  159. data/app/views/elabs/layouts/_announcements.html.haml +9 -0
  160. data/app/views/elabs/layouts/_content_associations.html.haml +89 -0
  161. data/app/views/elabs/layouts/_content_card.html.haml +41 -0
  162. data/app/views/elabs/layouts/_flash_messages.html.haml +4 -0
  163. data/app/views/elabs/layouts/_footer.html.haml +18 -10
  164. data/app/views/elabs/layouts/_form_honeypot.html.haml +12 -0
  165. data/app/views/elabs/layouts/_hidden_entry.html.haml +1 -1
  166. data/app/views/elabs/layouts/_hidden_entry_full.html.haml +4 -2
  167. data/app/views/elabs/layouts/_hidden_entry_inline.html.haml +1 -1
  168. data/app/views/elabs/layouts/_language_menu.html.haml +2 -2
  169. data/app/views/elabs/layouts/_menu.html.haml +58 -75
  170. data/app/views/elabs/layouts/_menu_admin.html.haml +40 -0
  171. data/app/views/elabs/layouts/_menu_member.html.haml +57 -0
  172. data/app/views/elabs/layouts/application.html.haml +24 -13
  173. data/app/views/elabs/layouts/application_admin.html.haml +33 -0
  174. data/app/views/elabs/layouts/application_member.html.haml +36 -0
  175. data/app/views/elabs/layouts/{lists → content_classifiers_lists}/_albums.html.haml +0 -0
  176. data/app/views/elabs/layouts/{lists → content_classifiers_lists}/_projects.html.haml +0 -0
  177. data/app/views/elabs/layouts/{lists → content_classifiers_lists}/_tags.html.haml +0 -0
  178. data/app/views/elabs/layouts/{_shortcode_infinite_loop.html.haml → shortcodes/_infinite_loop.html.haml} +1 -1
  179. data/app/views/elabs/layouts/{_shortcode_infinite_loop_inline.html.haml → shortcodes/_infinite_loop_inline.html.haml} +0 -0
  180. data/app/views/elabs/layouts/{_shortcode_missing_content.html.haml → shortcodes/_missing_content.html.haml} +1 -1
  181. data/app/views/elabs/layouts/{_shortcode_missing_content_inline.html.haml → shortcodes/_missing_content_inline.html.haml} +0 -0
  182. data/app/views/elabs/layouts/shortcodes/_open_to_see.html.haml +2 -0
  183. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_github_repo_card.html.haml +1 -1
  184. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_github_repo_inline.html.haml +0 -0
  185. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_github_user_card.html.haml +0 -0
  186. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_gitlab_group_card.html.haml +1 -1
  187. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_gitlab_repo_card.html.haml +1 -1
  188. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_gitlab_repo_inline.html.haml +0 -0
  189. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/_gitlab_user_card.html.haml +1 -1
  190. data/app/views/elabs/layouts/shortcodes/widgets/vue/_all_widgets.html.haml +5 -0
  191. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/vue/_github_repo_card_vue.html.haml +8 -8
  192. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/vue/_github_user_card_vue.html.haml +5 -5
  193. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/vue/_gitlab_group_card_vue.html.haml +5 -5
  194. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/vue/_gitlab_repo_card_vue.html.haml +8 -8
  195. data/app/views/elabs/layouts/{widgets → shortcodes/widgets}/vue/_gitlab_user_card_vue.html.haml +4 -4
  196. data/app/views/elabs/licenses/_filters.html.haml +3 -2
  197. data/app/views/elabs/licenses/index.html.haml +14 -12
  198. data/app/views/elabs/licenses/show.html.haml +40 -34
  199. data/app/views/elabs/member/albums/_form.html.haml +1 -43
  200. data/app/views/elabs/member/articles/_form.html.haml +1 -39
  201. data/app/views/elabs/member/layouts/_form_commons.html.haml +55 -0
  202. data/app/views/elabs/member/notes/_form.html.haml +1 -39
  203. data/app/views/elabs/member/preferences/edit.html.haml +1 -2
  204. data/app/views/elabs/member/projects/_form.html.haml +3 -38
  205. data/app/views/elabs/member/uploads/_form.html.haml +1 -42
  206. data/app/views/elabs/member/uploads/_upload.json.jbuilder +3 -3
  207. data/app/views/elabs/member/users/edit.html.haml +3 -4
  208. data/app/views/elabs/notes/_filters.html.haml +5 -3
  209. data/app/views/elabs/notes/index.html.haml +1 -1
  210. data/app/views/elabs/notes/show.html.haml +33 -25
  211. data/app/views/elabs/projects/_filters.html.haml +5 -3
  212. data/app/views/elabs/projects/index.html.haml +1 -1
  213. data/app/views/elabs/projects/show.html.haml +68 -62
  214. data/app/views/elabs/reports/_form.html.haml +2 -0
  215. data/app/views/elabs/tags/_filters.html.haml +3 -2
  216. data/app/views/elabs/tags/index.html.haml +11 -11
  217. data/app/views/elabs/tags/show.html.haml +31 -28
  218. data/app/views/elabs/uploads/_filters.html.haml +5 -3
  219. data/app/views/elabs/uploads/_preview.html.haml +5 -4
  220. data/app/views/elabs/uploads/_thumbnail.html.haml +9 -0
  221. data/app/views/elabs/uploads/_upload.json.jbuilder +3 -3
  222. data/app/views/elabs/uploads/index.html.haml +1 -1
  223. data/app/views/elabs/uploads/show.html.haml +45 -39
  224. data/app/views/elabs/users/_filters.html.haml +3 -2
  225. data/app/views/elabs/users/_user.html.haml +3 -3
  226. data/app/views/elabs/users/show.html.haml +48 -43
  227. data/config/routes.rb +13 -8
  228. data/db/migrate/20181025084232_add_archived_field_to_comments.rb +5 -0
  229. data/db/migrate/20181026071743_delete_comment_notifications.rb +5 -0
  230. data/db/migrate/20181030063505_create_announcements.rb +14 -0
  231. data/docs/CODEOWNERS +10 -0
  232. data/docs/migrating.md +16 -1
  233. data/docs/shortcodes_guide.md +51 -0
  234. data/lib/assets/javascripts/README-highlight.js.md +5 -5
  235. data/lib/assets/javascripts/highlight.js-9.13.1/highlight.pack.js +2 -0
  236. data/lib/assets/stylesheets/{highlight.js-9.12.0 → highlight.js-9.13.1}/styles/atelier-sulphurpool-light.css +0 -0
  237. data/lib/elabs.rb +8 -0
  238. data/lib/elabs/version.rb +1 -1
  239. data/lib/generators/elabs/{devise_views_generator.rb → devise_mailer_views_generator.rb} +2 -2
  240. data/lib/generators/elabs/images_generator.rb +24 -0
  241. data/lib/generators/elabs/required_assets_generator.rb +0 -2
  242. data/lib/generators/templates/elabs.rb +3 -0
  243. data/locale/app.pot +132 -19
  244. data/locale/en/app.edit.po +130 -17
  245. data/locale/en/app.po +130 -17
  246. data/locale/fr/app.edit.po +145 -28
  247. data/locale/fr/app.po +141 -27
  248. data/package.json +10 -12
  249. data/yarn.lock +885 -668
  250. metadata +136 -97
  251. data/app/assets/stylesheets/elabs/_icons.scss +0 -17
  252. data/app/assets/stylesheets/elabs/app/_acts.scss +0 -69
  253. data/app/assets/stylesheets/elabs/app/_alerts.scss +0 -3
  254. data/app/assets/stylesheets/elabs/app/_badges.scss +0 -11
  255. data/app/assets/stylesheets/elabs/app/_buttons.scss +0 -29
  256. data/app/assets/stylesheets/elabs/app/_content.scss +0 -25
  257. data/app/assets/stylesheets/elabs/app/_content_statuses.scss +0 -32
  258. data/app/assets/stylesheets/elabs/app/_content_uploads.scss +0 -39
  259. data/app/assets/stylesheets/elabs/app/_empty.scss +0 -19
  260. data/app/assets/stylesheets/elabs/app/_errors.scss +0 -9
  261. data/app/assets/stylesheets/elabs/app/_filter_links.scss +0 -27
  262. data/app/assets/stylesheets/elabs/app/_forms.scss +0 -74
  263. data/app/assets/stylesheets/elabs/app/_languages.scss +0 -6
  264. data/app/assets/stylesheets/elabs/app/_layout.scss +0 -206
  265. data/app/assets/stylesheets/elabs/app/_licenses.scss +0 -6
  266. data/app/assets/stylesheets/elabs/app/_link-to-top.scss +0 -8
  267. data/app/assets/stylesheets/elabs/app/_tabs.scss +0 -54
  268. data/app/assets/stylesheets/elabs/app/_tags.scss +0 -6
  269. data/app/assets/stylesheets/elabs/app/_toolbars.scss +0 -3
  270. data/app/assets/stylesheets/elabs/app/_users.scss +0 -21
  271. data/app/assets/stylesheets/elabs/app/admin-members/_forms.scss +0 -13
  272. data/app/assets/stylesheets/elabs/app/admin-members/_indexes.scss +0 -46
  273. data/app/assets/stylesheets/elabs/app/admin-members/_layout.scss +0 -17
  274. data/app/assets/stylesheets/elabs/app/areas/_devise.scss +0 -31
  275. data/app/assets/stylesheets/elabs/app/components/_cards.scss +0 -16
  276. data/app/assets/stylesheets/elabs/app/components/_container.scss +0 -4
  277. data/app/assets/stylesheets/elabs/app/mixins/_classifier-card.scss +0 -16
  278. data/app/assets/stylesheets/elabs/app/mixins/_content-card.scss +0 -72
  279. data/app/assets/stylesheets/elabs/app/mixins/_content-full.scss +0 -77
  280. data/app/assets/stylesheets/elabs/app/widgets/_git-cards.scss +0 -88
  281. data/app/assets/stylesheets/elabs/lib/fontawesome/_icons.scss +0 -1118
  282. data/app/assets/stylesheets/elabs/lib/knacss/_knacss-variables.scss +0 -239
  283. data/app/views/elabs/albums/_album.html.haml +0 -38
  284. data/app/views/elabs/articles/_article.html.haml +0 -30
  285. data/app/views/elabs/languages/_associations.html.haml +0 -61
  286. data/app/views/elabs/layouts/_shortcode_open_to_see.html.haml +0 -2
  287. data/app/views/elabs/layouts/admin_application.html.haml +0 -21
  288. data/app/views/elabs/layouts/member_application.html.haml +0 -24
  289. data/app/views/elabs/layouts/widgets/vue/_all_widgets.html.haml +0 -5
  290. data/app/views/elabs/licenses/_associations.html.haml +0 -61
  291. data/app/views/elabs/notes/_note.html.haml +0 -31
  292. data/app/views/elabs/projects/_associations.html.haml +0 -54
  293. data/app/views/elabs/projects/_project.html.haml +0 -29
  294. data/app/views/elabs/tags/_associations.html.haml +0 -61
  295. data/app/views/elabs/uploads/_upload.html.haml +0 -41
  296. data/app/views/elabs/users/_associations.html.haml +0 -61
  297. data/db/seeds.rb +0 -10
  298. data/db/seeds_development.rb +0 -21
  299. data/db/seeds_production.rb +0 -0
  300. data/lib/assets/javascripts/codemirror-5.39.2/addon/mode/overlay.js +0 -90
  301. data/lib/assets/javascripts/codemirror-5.39.2/lib/codemirror.js +0 -9684
  302. data/lib/assets/javascripts/codemirror-5.39.2/mode/clike/clike.js +0 -834
  303. data/lib/assets/javascripts/codemirror-5.39.2/mode/css/css.js +0 -832
  304. data/lib/assets/javascripts/codemirror-5.39.2/mode/gfm/gfm.js +0 -129
  305. data/lib/assets/javascripts/codemirror-5.39.2/mode/htmlmixed/htmlmixed.js +0 -152
  306. data/lib/assets/javascripts/codemirror-5.39.2/mode/javascript/javascript.js +0 -896
  307. data/lib/assets/javascripts/codemirror-5.39.2/mode/markdown/markdown.js +0 -882
  308. data/lib/assets/javascripts/codemirror-5.39.2/mode/meta.js +0 -217
  309. data/lib/assets/javascripts/codemirror-5.39.2/mode/xml/xml.js +0 -402
  310. data/lib/assets/javascripts/highlight.js-9.12.0/highlight.pack.js +0 -2
  311. data/lib/assets/stylesheets/codemirror-5.39.2/lib/codemirror.css +0 -346
  312. data/lib/assets/stylesheets/codemirror-5.39.2/theme/base16-dark.css +0 -38
  313. data/lib/assets/stylesheets/codemirror-5.39.2/theme/base16-light.css +0 -38
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Tancoigne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-10 00:00:00.000000000 Z
11
+ date: 2018-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,69 +52,107 @@ files:
52
52
  - ROADMAP.md
53
53
  - Rakefile
54
54
  - app/assets/config/elabs_manifest.js
55
+ - app/assets/fonts/elabs/FontAwesome/fa-brands-400.eot
56
+ - app/assets/fonts/elabs/FontAwesome/fa-brands-400.svg
57
+ - app/assets/fonts/elabs/FontAwesome/fa-brands-400.ttf
58
+ - app/assets/fonts/elabs/FontAwesome/fa-brands-400.woff
59
+ - app/assets/fonts/elabs/FontAwesome/fa-brands-400.woff2
60
+ - app/assets/fonts/elabs/FontAwesome/fa-regular-400.eot
61
+ - app/assets/fonts/elabs/FontAwesome/fa-regular-400.svg
62
+ - app/assets/fonts/elabs/FontAwesome/fa-regular-400.ttf
63
+ - app/assets/fonts/elabs/FontAwesome/fa-regular-400.woff
64
+ - app/assets/fonts/elabs/FontAwesome/fa-regular-400.woff2
65
+ - app/assets/fonts/elabs/FontAwesome/fa-solid-900.eot
66
+ - app/assets/fonts/elabs/FontAwesome/fa-solid-900.svg
67
+ - app/assets/fonts/elabs/FontAwesome/fa-solid-900.ttf
68
+ - app/assets/fonts/elabs/FontAwesome/fa-solid-900.woff
69
+ - app/assets/fonts/elabs/FontAwesome/fa-solid-900.woff2
70
+ - app/assets/fonts/elabs/OpenSans/Apache License.txt
71
+ - app/assets/fonts/elabs/OpenSans/OpenSans-Bold.ttf
72
+ - app/assets/fonts/elabs/OpenSans/OpenSans-Light.ttf
73
+ - app/assets/fonts/elabs/OpenSans/OpenSans-Regular.ttf
74
+ - app/assets/fonts/elabs/OpenSans/OpenSans-Semibold.ttf
75
+ - app/assets/fonts/elabs/license-icons/license-icons.eot
76
+ - app/assets/fonts/elabs/license-icons/license-icons.svg
77
+ - app/assets/fonts/elabs/license-icons/license-icons.ttf
78
+ - app/assets/fonts/elabs/license-icons/license-icons.woff
79
+ - app/assets/fonts/elabs/license-icons/license-icons.woff2
80
+ - app/assets/images/elabs/preview_placeholder.png
81
+ - app/assets/images/elabs/preview_placeholder_nsfw.png
82
+ - app/assets/javascripts/elabs/announcements.js
55
83
  - app/assets/javascripts/elabs/application.js.erb
56
84
  - app/assets/javascripts/elabs/forms.js
57
85
  - app/assets/javascripts/elabs/helpers-codemirror.js
58
86
  - app/assets/javascripts/elabs/helpers-markdown.js
59
87
  - app/assets/javascripts/elabs/helpers.js
60
88
  - app/assets/javascripts/elabs/hljs.js
89
+ - app/assets/javascripts/elabs/menu.js
61
90
  - app/assets/javascripts/elabs/modals.js
62
91
  - app/assets/javascripts/elabs/tabs.js
63
- - app/assets/stylesheets/elabs/_colors.scss
64
92
  - app/assets/stylesheets/elabs/_fixes.scss
65
- - app/assets/stylesheets/elabs/_icons.scss
93
+ - app/assets/stylesheets/elabs/_fonts.scss
66
94
  - app/assets/stylesheets/elabs/_variables.scss
67
- - app/assets/stylesheets/elabs/app/_acts.scss
68
- - app/assets/stylesheets/elabs/app/_alerts.scss
69
- - app/assets/stylesheets/elabs/app/_badges.scss
70
- - app/assets/stylesheets/elabs/app/_buttons.scss
71
- - app/assets/stylesheets/elabs/app/_comments.scss
72
- - app/assets/stylesheets/elabs/app/_content.scss
73
- - app/assets/stylesheets/elabs/app/_content_statuses.scss
74
- - app/assets/stylesheets/elabs/app/_content_uploads.scss
75
- - app/assets/stylesheets/elabs/app/_empty.scss
76
- - app/assets/stylesheets/elabs/app/_errors.scss
77
- - app/assets/stylesheets/elabs/app/_filter_links.scss
78
- - app/assets/stylesheets/elabs/app/_forms.scss
79
- - app/assets/stylesheets/elabs/app/_helpers.scss
80
- - app/assets/stylesheets/elabs/app/_languages.scss
81
- - app/assets/stylesheets/elabs/app/_layout.scss
82
- - app/assets/stylesheets/elabs/app/_licenses.scss
83
- - app/assets/stylesheets/elabs/app/_link-to-top.scss
84
- - app/assets/stylesheets/elabs/app/_medias.scss
85
- - app/assets/stylesheets/elabs/app/_modals.scss
86
- - app/assets/stylesheets/elabs/app/_pagination.scss
87
- - app/assets/stylesheets/elabs/app/_tables.scss
88
- - app/assets/stylesheets/elabs/app/_tabs.scss
89
- - app/assets/stylesheets/elabs/app/_tags.scss
90
- - app/assets/stylesheets/elabs/app/_toolbars.scss
91
- - app/assets/stylesheets/elabs/app/_typo.scss
92
- - app/assets/stylesheets/elabs/app/_users.scss
93
- - app/assets/stylesheets/elabs/app/admin-members/_forms.scss
94
- - app/assets/stylesheets/elabs/app/admin-members/_indexes.scss
95
- - app/assets/stylesheets/elabs/app/admin-members/_layout.scss
96
- - app/assets/stylesheets/elabs/app/areas/_devise.scss
97
- - app/assets/stylesheets/elabs/app/components/_cards.scss
98
- - app/assets/stylesheets/elabs/app/components/_container.scss
99
- - app/assets/stylesheets/elabs/app/mixins/_classifier-card.scss
100
- - app/assets/stylesheets/elabs/app/mixins/_content-card.scss
101
- - app/assets/stylesheets/elabs/app/mixins/_content-full.scss
102
- - app/assets/stylesheets/elabs/app/mixins/_content-inline.scss
95
+ - app/assets/stylesheets/elabs/app/components/_act.scss
96
+ - app/assets/stylesheets/elabs/app/components/_announcement.scss
97
+ - app/assets/stylesheets/elabs/app/components/_classifier_types.scss
98
+ - app/assets/stylesheets/elabs/app/components/_comment.scss
99
+ - app/assets/stylesheets/elabs/app/components/_content_relations.scss
100
+ - app/assets/stylesheets/elabs/app/components/_content_statuses.scss
101
+ - app/assets/stylesheets/elabs/app/components/_content_types.scss
102
+ - app/assets/stylesheets/elabs/app/components/_git_cards.scss
103
+ - app/assets/stylesheets/elabs/app/elements/_alerts.scss
104
+ - app/assets/stylesheets/elabs/app/elements/_badges.scss
105
+ - app/assets/stylesheets/elabs/app/elements/_buttons.scss
106
+ - app/assets/stylesheets/elabs/app/elements/_dropdowns.scss
107
+ - app/assets/stylesheets/elabs/app/elements/_empty.scss
108
+ - app/assets/stylesheets/elabs/app/elements/_errors.scss
109
+ - app/assets/stylesheets/elabs/app/elements/_filter_link.scss
110
+ - app/assets/stylesheets/elabs/app/elements/_fixed_links.scss
111
+ - app/assets/stylesheets/elabs/app/elements/_forms.scss
112
+ - app/assets/stylesheets/elabs/app/elements/_icons.scss
113
+ - app/assets/stylesheets/elabs/app/elements/_medias.scss
114
+ - app/assets/stylesheets/elabs/app/elements/_modals.scss
115
+ - app/assets/stylesheets/elabs/app/elements/_nsfw.scss
116
+ - app/assets/stylesheets/elabs/app/elements/_pagination.scss
117
+ - app/assets/stylesheets/elabs/app/elements/_tables.scss
118
+ - app/assets/stylesheets/elabs/app/elements/_tabs.scss
119
+ - app/assets/stylesheets/elabs/app/helpers/_cards.scss
120
+ - app/assets/stylesheets/elabs/app/helpers/_containers.scss
121
+ - app/assets/stylesheets/elabs/app/helpers/_states.scss
122
+ - app/assets/stylesheets/elabs/app/helpers/_typo.scss
123
+ - app/assets/stylesheets/elabs/app/layouts/_acts.scss
124
+ - app/assets/stylesheets/elabs/app/layouts/_classifiers.scss
125
+ - app/assets/stylesheets/elabs/app/layouts/_comments.scss
126
+ - app/assets/stylesheets/elabs/app/layouts/_devise.scss
127
+ - app/assets/stylesheets/elabs/app/layouts/_layout.scss
128
+ - app/assets/stylesheets/elabs/app/layouts/_page.scss
129
+ - app/assets/stylesheets/elabs/app/layouts/_page_content.scss
130
+ - app/assets/stylesheets/elabs/app/layouts/_page_footer.scss
131
+ - app/assets/stylesheets/elabs/app/layouts/_page_header.scss
132
+ - app/assets/stylesheets/elabs/app/layouts/_page_menu.scss
133
+ - app/assets/stylesheets/elabs/app/layouts/_page_messages.scss
134
+ - app/assets/stylesheets/elabs/app/layouts/_private_layout.scss
135
+ - app/assets/stylesheets/elabs/app/layouts/_typo.scss
136
+ - app/assets/stylesheets/elabs/app/mixins/_classifier_card.scss
137
+ - app/assets/stylesheets/elabs/app/mixins/_content_card.scss
138
+ - app/assets/stylesheets/elabs/app/mixins/_content_full.scss
139
+ - app/assets/stylesheets/elabs/app/mixins/_content_inline.scss
103
140
  - app/assets/stylesheets/elabs/app/mixins/_icon.scss
104
- - app/assets/stylesheets/elabs/app/widgets/_git-cards.scss
105
141
  - app/assets/stylesheets/elabs/application.css
106
142
  - app/assets/stylesheets/elabs/lib/_codemirror.scss
143
+ - app/assets/stylesheets/elabs/lib/_colors_reference.scss
107
144
  - app/assets/stylesheets/elabs/lib/_hljs.scss
145
+ - app/assets/stylesheets/elabs/lib/_license_icons.scss
108
146
  - app/assets/stylesheets/elabs/lib/fontawesome/_fontawesome.scss
109
147
  - app/assets/stylesheets/elabs/lib/fontawesome/_fonts.scss
110
- - app/assets/stylesheets/elabs/lib/fontawesome/_icons.scss
111
- - app/assets/stylesheets/elabs/lib/knacss/_knacss-variables.scss
112
148
  - app/assets/stylesheets/elabs/lib/knacss/_knacss.scss
149
+ - app/assets/stylesheets/elabs/lib/knacss/_knacss_variables.scss
113
150
  - app/assets/stylesheets/elabs/style.scss
114
151
  - app/controllers/elabs/acts_controller.rb
115
152
  - app/controllers/elabs/admin/admin_application_controller.rb
116
153
  - app/controllers/elabs/admin/admin_content_application_controller.rb
117
154
  - app/controllers/elabs/admin/albums_controller.rb
155
+ - app/controllers/elabs/admin/announcements_controller.rb
118
156
  - app/controllers/elabs/admin/articles_controller.rb
119
157
  - app/controllers/elabs/admin/languages_controller.rb
120
158
  - app/controllers/elabs/admin/licenses_controller.rb
@@ -142,6 +180,7 @@ files:
142
180
  - app/controllers/elabs/licenses_controller.rb
143
181
  - app/controllers/elabs/member/albums_controller.rb
144
182
  - app/controllers/elabs/member/articles_controller.rb
183
+ - app/controllers/elabs/member/comments_controller.rb
145
184
  - app/controllers/elabs/member/markdown_previewer_controller.rb
146
185
  - app/controllers/elabs/member/member_application_controller.rb
147
186
  - app/controllers/elabs/member/member_content_application_controller.rb
@@ -158,15 +197,18 @@ files:
158
197
  - app/controllers/elabs/uploads_controller.rb
159
198
  - app/controllers/elabs/users_controller.rb
160
199
  - app/helpers/elabs/acts_helper.rb
161
- - app/helpers/elabs/admin_content_helper.rb
162
200
  - app/helpers/elabs/application_helper.rb
163
201
  - app/helpers/elabs/content_filters_helper.rb
164
202
  - app/helpers/elabs/content_helper.rb
165
203
  - app/helpers/elabs/content_renderer_helper.rb
166
204
  - app/helpers/elabs/form_helper.rb
167
- - app/helpers/elabs/member_content_helper.rb
205
+ - app/helpers/elabs/icons_helper.rb
206
+ - app/helpers/elabs/links_admin_helper.rb
207
+ - app/helpers/elabs/links_helper.rb
208
+ - app/helpers/elabs/links_member_helper.rb
168
209
  - app/helpers/elabs/notification_helper.rb
169
210
  - app/helpers/elabs/rss_helper.rb
211
+ - app/helpers/elabs/shortcodes_helper.rb
170
212
  - app/helpers/elabs/thumbnails_helper.rb
171
213
  - app/helpers/elabs/time_helper.rb
172
214
  - app/helpers/elabs/uploads_helper.rb
@@ -176,6 +218,7 @@ files:
176
218
  - app/models/elabs/album.rb
177
219
  - app/models/elabs/albums_tag.rb
178
220
  - app/models/elabs/albums_upload.rb
221
+ - app/models/elabs/announcement.rb
179
222
  - app/models/elabs/application_content_record.rb
180
223
  - app/models/elabs/application_record.rb
181
224
  - app/models/elabs/article.rb
@@ -214,6 +257,12 @@ files:
214
257
  - app/views/elabs/admin/albums/_album.json.jbuilder
215
258
  - app/views/elabs/admin/albums/index.html.haml
216
259
  - app/views/elabs/admin/albums/index.json.jbuilder
260
+ - app/views/elabs/admin/announcements/_announcement.json.jbuilder
261
+ - app/views/elabs/admin/announcements/_form.html.haml
262
+ - app/views/elabs/admin/announcements/edit.html.haml
263
+ - app/views/elabs/admin/announcements/index.html.haml
264
+ - app/views/elabs/admin/announcements/index.json.jbuilder
265
+ - app/views/elabs/admin/announcements/new.html.haml
217
266
  - app/views/elabs/admin/articles/_article.json.jbuilder
218
267
  - app/views/elabs/admin/articles/index.html.haml
219
268
  - app/views/elabs/admin/articles/index.json.jbuilder
@@ -251,17 +300,16 @@ files:
251
300
  - app/views/elabs/admin/users/index.json.jbuilder
252
301
  - app/views/elabs/admin/users/show.html.haml
253
302
  - app/views/elabs/admin/users/show.json.jbuilder
254
- - app/views/elabs/albums/_album.html.haml
255
303
  - app/views/elabs/albums/_album.json.jbuilder
256
304
  - app/views/elabs/albums/_album.rss.builder
257
305
  - app/views/elabs/albums/_album_inline.html.haml
306
+ - app/views/elabs/albums/_card_content.html.haml
258
307
  - app/views/elabs/albums/_filters.html.haml
259
308
  - app/views/elabs/albums/index.html.haml
260
309
  - app/views/elabs/albums/index.json.jbuilder
261
310
  - app/views/elabs/albums/index.rss.builder
262
311
  - app/views/elabs/albums/show.html.haml
263
312
  - app/views/elabs/albums/show.json.jbuilder
264
- - app/views/elabs/articles/_article.html.haml
265
313
  - app/views/elabs/articles/_article.json.jbuilder
266
314
  - app/views/elabs/articles/_article.rss.builder
267
315
  - app/views/elabs/articles/_article_inline.html.haml
@@ -283,47 +331,52 @@ files:
283
331
  - app/views/elabs/comments/_comment.json.jbuilder
284
332
  - app/views/elabs/comments/_comments.html.haml
285
333
  - app/views/elabs/comments/_form.html.haml
286
- - app/views/elabs/languages/_associations.html.haml
287
334
  - app/views/elabs/languages/_filters.html.haml
288
335
  - app/views/elabs/languages/_language.json.jbuilder
289
336
  - app/views/elabs/languages/index.html.haml
290
337
  - app/views/elabs/languages/index.json.jbuilder
291
338
  - app/views/elabs/languages/show.html.haml
292
339
  - app/views/elabs/languages/show.json.jbuilder
340
+ - app/views/elabs/layouts/_announcements.html.haml
341
+ - app/views/elabs/layouts/_content_associations.html.haml
342
+ - app/views/elabs/layouts/_content_card.html.haml
293
343
  - app/views/elabs/layouts/_empty.html.haml
344
+ - app/views/elabs/layouts/_flash_messages.html.haml
294
345
  - app/views/elabs/layouts/_footer.html.haml
346
+ - app/views/elabs/layouts/_form_honeypot.html.haml
295
347
  - app/views/elabs/layouts/_hidden_entry.html.haml
296
348
  - app/views/elabs/layouts/_hidden_entry_full.html.haml
297
349
  - app/views/elabs/layouts/_hidden_entry_inline.html.haml
298
350
  - app/views/elabs/layouts/_language_menu.html.haml
299
351
  - app/views/elabs/layouts/_menu.html.haml
300
- - app/views/elabs/layouts/_shortcode_infinite_loop.html.haml
301
- - app/views/elabs/layouts/_shortcode_infinite_loop_inline.html.haml
302
- - app/views/elabs/layouts/_shortcode_missing_content.html.haml
303
- - app/views/elabs/layouts/_shortcode_missing_content_inline.html.haml
304
- - app/views/elabs/layouts/_shortcode_open_to_see.html.haml
305
- - app/views/elabs/layouts/admin_application.html.haml
352
+ - app/views/elabs/layouts/_menu_admin.html.haml
353
+ - app/views/elabs/layouts/_menu_member.html.haml
306
354
  - app/views/elabs/layouts/application.html.haml
307
- - app/views/elabs/layouts/lists/_albums.html.haml
308
- - app/views/elabs/layouts/lists/_projects.html.haml
309
- - app/views/elabs/layouts/lists/_tags.html.haml
355
+ - app/views/elabs/layouts/application_admin.html.haml
356
+ - app/views/elabs/layouts/application_member.html.haml
357
+ - app/views/elabs/layouts/content_classifiers_lists/_albums.html.haml
358
+ - app/views/elabs/layouts/content_classifiers_lists/_projects.html.haml
359
+ - app/views/elabs/layouts/content_classifiers_lists/_tags.html.haml
310
360
  - app/views/elabs/layouts/mailer.html.haml
311
361
  - app/views/elabs/layouts/mailer.text.haml
312
- - app/views/elabs/layouts/member_application.html.haml
313
- - app/views/elabs/layouts/widgets/_github_repo_card.html.haml
314
- - app/views/elabs/layouts/widgets/_github_repo_inline.html.haml
315
- - app/views/elabs/layouts/widgets/_github_user_card.html.haml
316
- - app/views/elabs/layouts/widgets/_gitlab_group_card.html.haml
317
- - app/views/elabs/layouts/widgets/_gitlab_repo_card.html.haml
318
- - app/views/elabs/layouts/widgets/_gitlab_repo_inline.html.haml
319
- - app/views/elabs/layouts/widgets/_gitlab_user_card.html.haml
320
- - app/views/elabs/layouts/widgets/vue/_all_widgets.html.haml
321
- - app/views/elabs/layouts/widgets/vue/_github_repo_card_vue.html.haml
322
- - app/views/elabs/layouts/widgets/vue/_github_user_card_vue.html.haml
323
- - app/views/elabs/layouts/widgets/vue/_gitlab_group_card_vue.html.haml
324
- - app/views/elabs/layouts/widgets/vue/_gitlab_repo_card_vue.html.haml
325
- - app/views/elabs/layouts/widgets/vue/_gitlab_user_card_vue.html.haml
326
- - app/views/elabs/licenses/_associations.html.haml
362
+ - app/views/elabs/layouts/shortcodes/_infinite_loop.html.haml
363
+ - app/views/elabs/layouts/shortcodes/_infinite_loop_inline.html.haml
364
+ - app/views/elabs/layouts/shortcodes/_missing_content.html.haml
365
+ - app/views/elabs/layouts/shortcodes/_missing_content_inline.html.haml
366
+ - app/views/elabs/layouts/shortcodes/_open_to_see.html.haml
367
+ - app/views/elabs/layouts/shortcodes/widgets/_github_repo_card.html.haml
368
+ - app/views/elabs/layouts/shortcodes/widgets/_github_repo_inline.html.haml
369
+ - app/views/elabs/layouts/shortcodes/widgets/_github_user_card.html.haml
370
+ - app/views/elabs/layouts/shortcodes/widgets/_gitlab_group_card.html.haml
371
+ - app/views/elabs/layouts/shortcodes/widgets/_gitlab_repo_card.html.haml
372
+ - app/views/elabs/layouts/shortcodes/widgets/_gitlab_repo_inline.html.haml
373
+ - app/views/elabs/layouts/shortcodes/widgets/_gitlab_user_card.html.haml
374
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_all_widgets.html.haml
375
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_github_repo_card_vue.html.haml
376
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_github_user_card_vue.html.haml
377
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_gitlab_group_card_vue.html.haml
378
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_gitlab_repo_card_vue.html.haml
379
+ - app/views/elabs/layouts/shortcodes/widgets/vue/_gitlab_user_card_vue.html.haml
327
380
  - app/views/elabs/licenses/_filters.html.haml
328
381
  - app/views/elabs/licenses/_license.json.jbuilder
329
382
  - app/views/elabs/licenses/index.html.haml
@@ -343,6 +396,7 @@ files:
343
396
  - app/views/elabs/member/articles/index.json.jbuilder
344
397
  - app/views/elabs/member/articles/new.html.haml
345
398
  - app/views/elabs/member/layouts/_empty.html.haml
399
+ - app/views/elabs/member/layouts/_form_commons.html.haml
346
400
  - app/views/elabs/member/layouts/_markdown-preview.html.haml
347
401
  - app/views/elabs/member/markdown_previewer/preview.json.jbuilder
348
402
  - app/views/elabs/member/notes/_form.html.haml
@@ -371,7 +425,6 @@ files:
371
425
  - app/views/elabs/member/users/_form.html.haml
372
426
  - app/views/elabs/member/users/edit.html.haml
373
427
  - app/views/elabs/notes/_filters.html.haml
374
- - app/views/elabs/notes/_note.html.haml
375
428
  - app/views/elabs/notes/_note.json.jbuilder
376
429
  - app/views/elabs/notes/_note.rss.builder
377
430
  - app/views/elabs/notes/_note_inline.haml
@@ -380,9 +433,7 @@ files:
380
433
  - app/views/elabs/notes/index.rss.builder
381
434
  - app/views/elabs/notes/show.html.haml
382
435
  - app/views/elabs/notes/show.json.jbuilder
383
- - app/views/elabs/projects/_associations.html.haml
384
436
  - app/views/elabs/projects/_filters.html.haml
385
- - app/views/elabs/projects/_project.html.haml
386
437
  - app/views/elabs/projects/_project.json.jbuilder
387
438
  - app/views/elabs/projects/_project.rss.builder
388
439
  - app/views/elabs/projects/_project_inline.html.haml
@@ -392,7 +443,6 @@ files:
392
443
  - app/views/elabs/projects/show.html.haml
393
444
  - app/views/elabs/projects/show.json.jbuilder
394
445
  - app/views/elabs/reports/_form.html.haml
395
- - app/views/elabs/tags/_associations.html.haml
396
446
  - app/views/elabs/tags/_filters.html.haml
397
447
  - app/views/elabs/tags/_tag.json.jbuilder
398
448
  - app/views/elabs/tags/index.html.haml
@@ -402,7 +452,7 @@ files:
402
452
  - app/views/elabs/uploads/_filters.html.haml
403
453
  - app/views/elabs/uploads/_player.html.haml
404
454
  - app/views/elabs/uploads/_preview.html.haml
405
- - app/views/elabs/uploads/_upload.html.haml
455
+ - app/views/elabs/uploads/_thumbnail.html.haml
406
456
  - app/views/elabs/uploads/_upload.json.jbuilder
407
457
  - app/views/elabs/uploads/_upload.rss.builder
408
458
  - app/views/elabs/uploads/_upload_inline.html.haml
@@ -411,7 +461,6 @@ files:
411
461
  - app/views/elabs/uploads/index.rss.builder
412
462
  - app/views/elabs/uploads/show.html.haml
413
463
  - app/views/elabs/uploads/show.json.jbuilder
414
- - app/views/elabs/users/_associations.html.haml
415
464
  - app/views/elabs/users/_filters.html.haml
416
465
  - app/views/elabs/users/_user.html.haml
417
466
  - app/views/elabs/users/_user.json.jbuilder
@@ -448,37 +497,27 @@ files:
448
497
  - db/migrate/20180917133442_add_urls_to_projects.rb
449
498
  - db/migrate/20181005105642_add_reason_to_acts.rb
450
499
  - db/migrate/20181006073541_add_slugs.rb
451
- - db/seeds.rb
452
- - db/seeds_development.rb
453
- - db/seeds_production.rb
500
+ - db/migrate/20181025084232_add_archived_field_to_comments.rb
501
+ - db/migrate/20181026071743_delete_comment_notifications.rb
502
+ - db/migrate/20181030063505_create_announcements.rb
503
+ - docs/CODEOWNERS
454
504
  - docs/contributing.md
455
505
  - docs/cucumber_terms.md
456
506
  - docs/migrating.md
457
507
  - docs/overriding.md
458
508
  - docs/setup.md
509
+ - docs/shortcodes_guide.md
459
510
  - docs/tips.md
460
511
  - elabs.gemspec
461
512
  - lib/assets/javascripts/README-highlight.js.md
462
- - lib/assets/javascripts/codemirror-5.39.2/addon/mode/overlay.js
463
- - lib/assets/javascripts/codemirror-5.39.2/lib/codemirror.js
464
- - lib/assets/javascripts/codemirror-5.39.2/mode/clike/clike.js
465
- - lib/assets/javascripts/codemirror-5.39.2/mode/css/css.js
466
- - lib/assets/javascripts/codemirror-5.39.2/mode/gfm/gfm.js
467
- - lib/assets/javascripts/codemirror-5.39.2/mode/htmlmixed/htmlmixed.js
468
- - lib/assets/javascripts/codemirror-5.39.2/mode/javascript/javascript.js
469
- - lib/assets/javascripts/codemirror-5.39.2/mode/markdown/markdown.js
470
- - lib/assets/javascripts/codemirror-5.39.2/mode/meta.js
471
- - lib/assets/javascripts/codemirror-5.39.2/mode/xml/xml.js
472
- - lib/assets/javascripts/highlight.js-9.12.0/highlight.pack.js
473
- - lib/assets/stylesheets/codemirror-5.39.2/lib/codemirror.css
474
- - lib/assets/stylesheets/codemirror-5.39.2/theme/base16-dark.css
475
- - lib/assets/stylesheets/codemirror-5.39.2/theme/base16-light.css
476
- - lib/assets/stylesheets/highlight.js-9.12.0/styles/atelier-sulphurpool-light.css
513
+ - lib/assets/javascripts/highlight.js-9.13.1/highlight.pack.js
514
+ - lib/assets/stylesheets/highlight.js-9.13.1/styles/atelier-sulphurpool-light.css
477
515
  - lib/elabs.rb
478
516
  - lib/elabs/engine.rb
479
517
  - lib/elabs/version.rb
480
518
  - lib/generators/elabs/assets_generator.rb
481
- - lib/generators/elabs/devise_views_generator.rb
519
+ - lib/generators/elabs/devise_mailer_views_generator.rb
520
+ - lib/generators/elabs/images_generator.rb
482
521
  - lib/generators/elabs/install_generator.rb
483
522
  - lib/generators/elabs/required_assets_generator.rb
484
523
  - lib/generators/elabs/views_generator.rb
@@ -1,17 +0,0 @@
1
- // Icons in this file are only fontawesome icons with a more semantic name
2
-
3
- .#{$fa-css-prefix}-amount:before { content: fa-content($fa-var-hashtag); }
4
-
5
- .#{$fa-css-prefix}-is-sfw:before { content: fa-content($fa-var-check); }
6
-
7
- .#{$fa-css-prefix}-is-nsfw:before { content: fa-content($fa-var-times); }
8
-
9
- .#{$fa-css-prefix}-license:before { content: fa-content($fa-var-balance-scale); }
10
-
11
- .#{$fa-css-prefix}-experience:before { content: fa-content($fa-var-flask); }
12
-
13
- .#{$fa-css-prefix}-mime-type:before { content: fa-content($fa-var-wrench); }
14
-
15
- .#{$fa-css-prefix}-group:before { content: fa-content($fa-var-box); }
16
-
17
- .#{$fa-css-prefix}-permalink:before { content: fa-content($fa-var-link); }
@@ -1,69 +0,0 @@
1
- .acts-list {
2
-
3
- .date {
4
- display: inline-block;
5
- @include font-size('h3');
6
- padding: $spacer-small 0;
7
- margin-left: 25%;
8
- transform: translateX(-50%);
9
- }
10
-
11
- .act {
12
- @include grid(4, $spacer-small);
13
-
14
- &__time {
15
- grid-column: auto / span 1;
16
- text-align: right;
17
- font-size: .8em;
18
- margin-top: $spacer-tiny;
19
-
20
- &:after {
21
- content: '';
22
- display: inline-block;
23
- width: 20px;
24
- height: 20px;
25
- background-color: $color-brand;
26
- margin-left: $spacer-small;
27
- border: 3px solid $color-white;
28
- border-radius: 10px;
29
- transform: translateY($spacer-tiny);
30
- }
31
- }
32
-
33
- &__content {
34
- grid-column: auto / span 3;
35
- }
36
-
37
- &-action {
38
- @extend %card;
39
- background-color: $gray-100;
40
-
41
- &--update:before {
42
- @include icon($fa-var-sync, true);
43
- }
44
-
45
- &--unpublish:before {
46
- @include icon($fa-var-eye-slash, true);
47
- }
48
-
49
- &--lock:before {
50
- @include icon($fa-var-lock, true);
51
- }
52
-
53
- &--unlock:before {
54
- @include icon($fa-var-unlock, true);
55
- }
56
-
57
- q {
58
-
59
- &:before {
60
- content: '';
61
- }
62
-
63
- &:after {
64
- content: '';
65
- }
66
- }
67
- }
68
- }
69
- }