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
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,51 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <font id="license-icons" horiz-adv-x="512">
6
+ <font-face font-family="license-icons"
7
+ units-per-em="512" ascent="512"
8
+ descent="0" />
9
+ <missing-glyph horiz-adv-x="0" />
10
+ <glyph glyph-name="agpl"
11
+ unicode="&#xEA01;"
12
+ horiz-adv-x="512" d="M256 469.9514960629921C137.715905511811 469.9514960629921 41.484094488189 374.0018897637796 41.484094488189 256C41.484094488189 207.9042519685039 57.6907086614173 163.5981102362204 84.6211023622047 127.7984251968504L93.5307086614173 164.1222047244095A185.61007874015755 185.61007874015755 0 0 0 154.3256692913386 412.2204724409449L158.7603149606299 430.1203149606299H190.1253543307087A187.06141732283467 187.06141732283467 0 0 0 256 442.2148031496063C279.2617322834646 442.2148031496063 301.3946456692913 437.8204724409449 321.9149606299212 430.1203149606299H379.5653543307086A211.49228346456695 211.49228346456695 0 0 1 256 469.9514960629921zM427.0563779527559 383.4759055118111L418.3886614173228 348.0390551181103A185.65039370078742 185.65039370078742 0 0 0 357.7549606299213 99.860157480315L353.3606299212598 81.8796850393701L322.0762204724409 81.96031496063A187.06141732283467 187.06141732283467 0 0 0 255.9999999999999 69.7851968503937A187.06141732283467 187.06141732283467 0 0 0 188.9965354330708 82.2828346456693L131.0639370078739 82.403779527559A213.508031496063 213.508031496063 0 0 1 255.9999999999999 42.0888188976377C372.2280314960629 42.0888188976377 466.0409448818897 135.0551181102362 469.3467716535432 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535432 261.9262992125984A213.91118110236218 213.91118110236218 0 0 1 427.0563779527559 383.475905511811zM173.8784251968504 412.2204724409449C149.9313385826772 307.8853543307087 125.7826771653544 204.8 101.875905511811 100.3842519685039L338.2425196850394 99.7392125984251C362.1896062992127 204.0743307086614 386.2173228346457 307.7644094488189 410.1240944881891 412.180157480315zM273.1338582677165 386.7414173228347H291.4368503937008L264.3855118110236 270.9568503937008H249.3077165354331L256.9675590551181 304.2973228346457H210.0006299212599L178.0711811023622 270.9568503937008H161.0179527559055zM317.0771653543307 385.9351181102362V385.8948031496063H367.2289763779528C371.4620472440945 385.8948031496063 374.7275590551181 385.0885039370079 377.0658267716535 383.475905511811C379.363779527559 381.8633070866142 380.2507086614173 379.8475590551181 379.6862992125984 377.3077165354331L373.80031496063 350.740157480315H356.3842519685039L362.1089763779528 376.6223622047244H318.488188976378L297.0406299212599 279.6648818897638H340.6211023622048L340.6614173228347 279.8664566929134L349.4097637795276 319.2944881889764H328.9297637795276L330.9051968503937 328.1637795275591H368.8012598425197L357.916220472441 278.9795275590552A6.934173228346457 6.934173228346457 0 0 0 357.1502362204725 277.044409448819A10.925354330708663 10.925354330708663 0 0 0 352.5543307086615 272.8113385826772A22.979527559055118 22.979527559055118 0 0 0 341.6692913385828 270.4730708661418H292.2834645669292A17.21448818897638 17.21448818897638 0 0 0 282.4466141732284 272.8113385826772C280.1486614173229 274.4239370078741 279.2214173228346 276.4396850393702 279.8261417322834 278.9795275590552L301.5962204724409 377.348031496063C302.1606299212599 379.8878740157481 303.8941732283464 381.984251968504 306.9581102362205 383.5565354330709L307.2806299212599 383.6774803149607A22.777952755905513 22.777952755905513 0 0 0 317.0368503937008 385.9351181102363zM275.2302362204724 374.1228346456693S241.0431496062992 336.7508661417323 221.4097637795276 316.2305511811024H259.8702362204724C264.708031496063 335.4204724409449 269.1426771653543 356.2633070866142 275.1899212598425 374.1228346456693zM186.2551181102363 242.171968503937H248.4611023622048C252.6538582677166 242.171968503937 255.9193700787402 241.3656692913386 258.2576377952757 239.7530708661418C260.5959055118111 238.1404724409449 261.4828346456693 236.1247244094489 260.9184251968504 233.5848818897638L249.3077165354331 181.0948031496063C248.7433070866142 178.5952755905512 246.9694488188977 176.5795275590551 243.9055118110237 174.9669291338583A22.737637795275596 22.737637795275596 0 0 0 233.1011023622048 172.548031496063H187.908031496063L179.1596850393701 133.1200000000001L177.7083464566929 126.6696062992127H160.6954330708661L161.9855118110236 132.5152755905512zM272.2066141732284 242.171968503937H289.2598425196851L265.7159055118111 135.8614173228347H306.5146456692914C306.9177952755906 132.7571653543307 307.4418897637796 129.6932283464566 307.9659842519686 126.6696062992126H246.6469291338583L272.2066141732284 242.171968503937zM201.2522834645669 232.8995275590551L189.9237795275591 181.8204724409449H232.4157480314961L243.703937007874 232.8592125984252z" />
13
+ <glyph glyph-name="apache"
14
+ unicode="&#xEA02;"
15
+ horiz-adv-x="512" d="M256 469.9514960629921C137.715905511811 469.9514960629921 41.484094488189 374.0018897637796 41.484094488189 256A213.6692913385827 213.6692913385827 0 0 1 135.5792125984252 79.0576377952756C138.4012598425197 87.6447244094488 141.4248818897638 96.4333858267716 144.8516535433071 106.4718110236221A185.4488188976378 185.4488188976378 0 0 0 69.1804724409449 256A186.29543307086618 186.29543307086618 0 0 0 273.3757480314961 441.368188976378C279.7455118110237 449.5118110236221 286.6796850393701 457.8973228346456 293.7751181102363 466.3634645669291A213.6692913385827 213.6692913385827 0 0 1 256 469.9514960629921zM386.0157480314961 425.4034645669292A119.61448818897641 119.61448818897641 0 0 0 384.8062992125984 415.4053543307087C383.6371653543307 408.592125984252 383.5968503937007 405.7297637795276 380.1700787401574 398.352125984252L379.1218897637795 395.9735433070867A185.28755905511815 185.28755905511815 0 0 0 442.900157480315 256A186.37606299212604 186.37606299212604 0 0 0 256 69.7448818897638A187.46456692913384 187.46456692913384 0 0 0 193.8343307086614 80.5089763779528C189.6818897637795 69.3417322834645 187.3839370078739 62.7703937007874 184.3603149606298 54.5864566929133C206.815748031496 46.6444094488188 230.8434645669291 42.0888188976377 255.9999999999999 42.0888188976377C372.2280314960629 42.0888188976377 466.0409448818897 135.0551181102362 469.3467716535432 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535432 261.9262992125984A214.2740157480315 214.2740157480315 0 0 1 386.015748031496 425.4034645669291zM339.8551181102362 469.3467716535433C330.8648818897638 471.4834645669291 323.4469291338583 463.2995275590551 317.3996850393701 456.204094488189C177.5874015748032 291.7190551181102 185.0456692913386 190.8510236220473 185.1666141732284 191.2541732283464C180.207874015748 199.9218897637795 172.9511811023622 204.3565354330709 164.5656692913386 207.7026771653543C173.1527559055118 198.9946456692913 184.0781102362205 181.0948031496063 186.3357480314961 164.847874015748C168.7987401574803 164.7269291338582 162.9530708661417 160.1310236220472 152.9549606299213 157.147716535433C162.9127559055118 156.8655118110236 178.2324409448819 156.623622047244 185.8922834645669 151.1004724409448A1813.165354330709 1813.165354330709 0 0 1 150.3344881889764 43.983622047244C150.0925984251968 43.1773228346456 153.2371653543307 40.5971653543306 154.2853543307086 44.1448818897637C164.2028346456693 78.7351181102362 246.4453543307087 321.3102362204724 326.4302362204724 431.2491338582677C270.7955905511811 341.3870866141732 233.2623622047244 244.8730708661417 194.3584251968504 148.8428346456693C204.7193700787402 142.7955905511811 210.444094488189 132.3137007874016 216.8138582677165 122.1946456692914C215.7253543307086 127.8387401574804 213.0645669291338 141.344251968504 206.0900787401575 150.9392125984252C233.3026771653543 147.7140157480316 252.1700787401575 171.2176377952757 262.127874015748 181.820472440945C251.1218897637795 176.0957480314961 246.243779527559 168.2746456692914 229.9162204724409 169.8872440944883C245.7196850393701 174.0396850393702 259.7492913385826 189.4400000000001 274.2626771653543 201.5748031496064C274.2626771653543 201.5748031496064 320.5442519685039 328.8894488188978 357.7146456692913 408.7937007874017C360.2948031496063 414.4377952755907 371.3411023622047 461.848188976378 339.8954330708662 469.3064566929135z" />
16
+ <glyph glyph-name="bsd"
17
+ unicode="&#xEA03;"
18
+ horiz-adv-x="512" d="M256 469.9111811023622C137.715905511811 469.9111811023622 41.484094488189 374.0018897637796 41.484094488189 256S137.715905511811 42.0888188976377 256 42.0888188976377C372.228031496063 42.0888188976377 466.0409448818898 135.0551181102362 469.3467716535433 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535433 261.9262992125984C466.0006299212599 377.0255118110236 372.1877165354331 469.9514960629921 256 469.9514960629921zM256 442.2148031496063A186.37606299212604 186.37606299212604 0 0 0 442.900157480315 256A186.37606299212604 186.37606299212604 0 0 0 256 69.7448818897638A186.29543307086618 186.29543307086618 0 0 0 69.1804724409448 256C69.1804724409448 359.0047244094489 152.6324409448818 442.2551181102363 256 442.2551181102363zM248.9851968503937 353.2396850393701C230.5209448818898 353.2396850393701 217.7411023622048 341.5483464566929 211.0488188976378 329.3329133858268C204.316220472441 317.1174803149607 202.6633070866142 303.128188976378 204.1952755905512 292.8478740157481C206.7351181102362 274.8674015748032 216.9348031496063 261.8053543307087 229.1905511811024 252.7748031496064C241.8897637795276 243.5023622047244 250.3559055118111 237.8582677165355 260.2330708661418 230.8434645669292C268.0541732283465 225.3606299212599 275.3108661417323 216.2091338582677 272.9725984251969 206.5335433070866C267.2478740157481 182.7477165354331 246.3647244094489 183.271811023622 231.0450393700788 196.1725984251969C213.8708661417323 210.6456692913386 203.6711811023622 186.4970078740158 214.6771653543307 172.4270866141732C218.8296062992126 167.1055118110236 234.9152755905513 160.2922834645669 242.6960629921261 158.0346456692914C267.4091338582678 152.3905511811024 288.6954330708662 171.4192125984253 293.3719685039371 191.7782677165355C297.2825196850394 208.9927559055119 296.8793700787402 234.7540157480315 279.1811023622048 249.2674015748032C268.4976377952757 258.0560629921261 256.3628346456694 266.4012598425197 246.7275590551182 273.8595275590552C237.0519685039371 281.2774803149607 227.7795275590552 290.5096062992127 227.2554330708662 297.5647244094489C225.1993700787403 326.188346456693 253.2585826771654 326.6318110236221 265.6755905511812 316.4724409448819C280.9952755905512 303.9344881889764 289.7839370078741 323.4872440944883 283.3738582677166 334.7351181102363C276.9234645669292 345.9426771653544 262.168188976378 353.2396850393701 248.9851968503937 353.2396850393701zM133.2812598425197 352.7155905511811C115.6233070866142 343.4431496062992 103.1659842519685 326.6318110236221 103.1659842519685 305.7889763779528C103.1659842519685 265.715905511811 101.5533858267717 212.0970078740157 101.4727559055118 172.8705511811023V172.6689763779527C101.875905511811 162.7111811023622 107.0765354330709 159.6472440944881 114.3735433070866 156.623622047244H164.2028346456693C192.3426771653543 156.5429921259842 206.5335433070866 187.9080314960629 207.4607874015748 215.3222047244094V215.4834645669291C207.4607874015748 238.4629921259842 199.4784251968504 259.1848818897637 184.4812598425197 268.6992125984251C189.964094488189 277.9313385826771 191.8588976377953 287.7681889763779 191.8588976377953 300.4270866141732C191.8588976377953 326.7527559055117 179.7644094488189 348.8050393700787 159.768188976378 353.8040944881889C151.2214173228347 355.9004724409448 140.2557480314961 356.343937007874 133.2812598425197 352.7155905511811zM151.8261417322835 325.7851968503937C165.5332283464567 325.7851968503937 169.9678740157481 312.1184251968504 170.491968503937 301.0318110236221C171.1370078740158 288.3729133858268 163.1546456692914 275.955905511811 155.0916535433071 275.955905511811L127.9596850393701 275.9155905511811C126.7502362204725 275.9155905511811 124.3313385826772 277.5281889763779 124.3313385826772 279.3423622047244V298.4516535433071C125.2585826771654 311.5540157480315 132.1927559055118 325.7851968503937 143.1584251968504 325.7851968503937H151.8261417322835zM126.8711811023622 247.0903937007874H163.9609448818898C179.7644094488189 243.0588976377953 186.9001574803149 232.1738582677166 186.9001574803149 217.3782677165355C186.9001574803149 204.8806299212598 180.731968503937 186.376062992126 166.7426771653543 186.376062992126C153.5596850393701 186.376062992126 137.5949606299212 186.859842519685 124.8957480314961 186.859842519685C124.8957480314961 201.2925984251969 124.3716535433071 244.228031496063 124.3716535433071 244.228031496063C124.411968503937 246.8485039370079 125.5811023622047 247.0500787401575 126.8711811023622 247.0500787401575zM325.0192125984252 350.0144881889764C312.9247244094488 350.0144881889764 304.4585826771654 332.5984251968504 304.4585826771654 318.7703937007874V174.5637795275591C304.4585826771654 164.4447244094489 308.731968503937 159.8488188976378 315.2226771653543 159.8488188976378H342.2740157480315C391.8614173228347 159.8488188976378 410.5272440944883 221.8532283464567 410.5272440944883 254.8711811023623C410.5272440944883 305.0229921259843 382.1858267716537 350.0144881889765 342.1127559055119 350.0144881889765zM329.6554330708662 323.9307086614174H346.9505511811024C370.2929133858268 323.9307086614174 389.2812598425197 291.0337007874016 389.2812598425197 254.8308661417323C389.2812598425197 218.9505511811024 370.4944881889764 185.892283464567 347.5149606299213 185.892283464567H329.8570078740157C326.6721259842519 185.892283464567 326.9543307086614 190.0447244094488 326.9543307086614 192.4233070866142V200.204094488189H326.8737007874015V317.44C326.8737007874015 321.8746456692914 328.204094488189 323.9307086614174 329.695748031496 323.9307086614174z" />
19
+ <glyph glyph-name="cc"
20
+ unicode="&#xEA04;"
21
+ horiz-adv-x="512" d="M255.5968503937008 469.3467716535433C315.2629921259843 469.3467716535433 366.0598425196851 448.503937007874 407.9874015748032 406.8585826771654A205.2031496062992 205.2031496062992 0 0 0 453.7045669291339 338.0812598425197C464.1058267716536 312.2796850393701 469.3467716535433 284.9461417322834 469.3467716535433 256A217.70078740157487 217.70078740157487 0 0 0 453.9061417322835 173.9187401574803A195.85007874015747 195.85007874015747 0 0 0 408.3502362204724 106.2702362204724C387.5477165354331 85.7096062992125 363.9634645669292 69.9867716535432 337.5168503937008 59.0614173228346A212.37921259842526 212.37921259842526 0 0 0 255.6371653543307 42.6532283464567C227.4166929133858 42.6532283464567 200.4459842519685 48.0554330708662 174.6847244094488 58.8598425196851A214.59653543307087 214.59653543307087 0 0 0 105.3429921259842 105.7058267716536A209.23464566929138 209.23464566929138 0 0 0 42.6935433070866 256C42.6935433070866 284.2204724409449 48.0554330708661 311.312125984252 58.8195275590551 337.3152755905512A214.2337007874016 214.2337007874016 0 0 0 105.9074015748032 407.2214173228347C146.5448818897638 448.6248818897638 196.4548031496063 469.3064566929134 255.5968503937009 469.3064566929134zM256.4031496062992 430.8459842519685C207.6220472440945 430.8459842519685 166.6217322834646 413.8330708661417 133.3215748031496 379.8072440944882A183.43307086614175 183.43307086614175 0 0 1 94.6595275590551 322.4793700787402A168.03275590551183 168.03275590551183 0 0 1 81.1137007874015 255.9596850393701C81.1137007874015 233.1414173228347 85.6289763779527 211.0891338582677 94.6595275590551 189.8834645669291C103.6900787401575 168.6777952755906 116.5505511811023 149.7700787401574 133.3618897637795 133.12A175.7732283464567 175.7732283464567 0 0 1 190.0850393700787 95.0223622047244C211.1697637795275 86.2740157480315 233.2623622047244 81.8796850393701 256.4031496062992 81.8796850393701C279.2214173228346 81.8796850393701 301.3946456692913 86.3143307086615 322.8825196850394 95.1836220472441A184.23937007874017 184.23937007874017 0 0 1 380.936062992126 133.684409448819C414.236220472441 166.1782677165355 430.8459842519685 206.9366929133859 430.8459842519685 256C430.8459842519685 279.584251968504 426.532283464567 301.9590551181103 417.9048818897637 323.0437795275591A170.57259842519684 170.57259842519684 0 0 1 380.1700787401575 379.363779527559C345.8620472440945 413.6314960629922 304.5795275590551 430.8056692913386 256.3628346456693 430.8056692913386zM253.7020472440946 291.4771653543308L225.1187401574804 276.5606299212599A29.30897637795276 29.30897637795276 0 0 1 213.9111811023622 289.9451968503937A25.317795275590555 25.317795275590555 0 0 1 201.4941732283465 293.7348031496063C182.4655118110237 293.7348031496063 172.9511811023622 281.1565354330709 172.9511811023622 256.04031496063C172.9511811023622 244.5908661417323 175.3700787401575 235.4796850393701 180.1675590551182 228.6261417322835C185.0053543307087 221.7725984251969 192.1007874015749 218.3055118110236 201.5344881889765 218.3055118110236C213.9514960629922 218.3055118110236 222.6998425196851 224.3930708661418 227.8198425196851 236.6085039370079L254.0648818897639 223.2642519685039A62.68976377952755 62.68976377952755 0 0 0 198.0674015748032 189.7222047244094C179.0387401574804 189.7222047244094 163.6787401574804 195.567874015748 151.9874015748033 207.2592125984252C140.2960629921261 218.9505511811024 134.4503937007875 235.1974803149606 134.4503937007875 256.04031496063C134.4503937007875 276.3187401574803 140.3766929133859 292.4447244094489 152.1889763779528 304.4182677165354C164.0012598425198 316.3111811023622 178.9177952755906 322.3181102362205 196.9385826771655 322.3181102362205C223.3448818897639 322.3181102362205 242.2929133858269 312.0377952755906 253.7020472440946 291.4771653543308zM376.7433070866142 291.4771653543308L348.5631496062993 276.5606299212599A29.30897637795276 29.30897637795276 0 0 1 337.3152755905512 289.9451968503937A25.92251968503938 25.92251968503938 0 0 1 324.5757480314961 293.7348031496063C305.5067716535433 293.7348031496063 295.952125984252 281.1565354330709 295.952125984252 256.04031496063C295.952125984252 244.5908661417323 298.3710236220473 235.4796850393701 303.2088188976378 228.6261417322835C308.0466141732284 221.7725984251969 315.1420472440945 218.3055118110236 324.5757480314961 218.3055118110236C336.9927559055118 218.3055118110236 345.7814173228347 224.3930708661418 350.8207874015748 236.6085039370079L377.5092913385828 223.2642519685039C371.6636220472442 212.8226771653543 363.8022047244095 204.6387401574803 353.8847244094489 198.672125984252A61.560944881889775 61.560944881889775 0 0 0 321.5118110236221 189.7222047244094C302.2009448818898 189.7222047244094 286.8006299212599 195.567874015748 275.2302362204726 207.2592125984252C263.6598425196852 218.9505511811024 257.8948031496064 235.1974803149606 257.8948031496064 256.04031496063C257.8948031496064 276.3187401574803 263.7807874015749 292.4447244094489 275.6333858267718 304.4182677165354C287.4053543307088 316.3111811023622 302.3218897637796 322.3181102362205 320.3829921259844 322.3181102362205C346.7892913385828 322.3181102362205 365.5760629921262 312.0377952755906 376.7433070866143 291.4771653543308z" />
22
+ <glyph glyph-name="cc-0"
23
+ unicode="&#xEA05;"
24
+ horiz-adv-x="512" d="M256 378.7993700787402C185.5697637795275 378.7993700787402 167.8714960629921 312.3200000000001 167.8714960629921 256C167.8714960629921 199.6396850393701 185.5697637795275 133.2006299212599 256 133.2006299212599C326.4302362204725 133.2006299212599 344.1285039370079 199.6396850393701 344.1285039370079 256C344.1285039370079 312.3200000000001 326.3899212598425 378.7993700787402 256 378.7993700787402zM256 332.4774803149607C258.8220472440945 332.4774803149607 261.4828346456693 332.0743307086614 263.9017322834646 331.4292913385827C268.9814173228347 327.0752755905512 271.4809448818898 321.028031496063 266.6028346456693 312.6425196850394L219.7165354330709 226.4088188976378A228.34393700787402 228.34393700787402 0 0 0 218.0636220472441 256C218.0636220472441 280.8340157480315 219.7568503937008 332.4774803149607 256 332.4774803149607zM291.0740157480315 292.7672440944882C293.6138582677165 279.543937007874 293.9363779527559 265.715905511811 293.9363779527559 256C293.9363779527559 231.1659842519685 292.2431496062992 179.4822047244094 256.0403149606299 179.4822047244094A32.65511811023623 32.65511811023623 0 0 0 244.5102362204724 181.5785826771654C236.4472440944882 185.0053543307087 231.3675590551181 191.2541732283464 238.6645669291339 202.219842519685zM255.5565354330709 469.3467716535433C196.3741732283465 469.3467716535433 146.5045669291339 448.7458267716536 105.8670866141733 407.3423622047244A216.49133858267717 216.49133858267717 0 0 1 58.6582677165355 337.1137007874016A210.96818897637795 210.96818897637795 0 0 1 42.6532283464567 256C42.6532283464567 227.5376377952756 47.9748031496063 200.5266141732283 58.6582677165355 174.8862992125984A215.68503937007867 215.68503937007867 0 0 1 105.1011023622048 105.5445669291339A221.3291338582677 221.3291338582677 0 0 1 174.4428346456693 58.6582677165354A212.94362204724408 212.94362204724408 0 0 1 337.5974803149607 59.1017322834646A219.0311811023622 219.0311811023622 0 0 1 408.3905511811024 106.2702362204724A193.67307086614176 193.67307086614176 0 0 1 453.7851968503937 173.6768503937008A216.81385826771657 216.81385826771657 0 0 1 469.3467716535433 256A216.49133858267717 216.49133858267717 0 0 1 453.7851968503937 338.0006299212598A204.31622047244096 204.31622047244096 0 0 1 408.108346456693 406.8988976377953C366.1807874015749 448.544251968504 315.2226771653544 469.3467716535433 255.5565354330709 469.3467716535433zM256.4434645669292 430.9266141732284C304.7004724409449 430.9266141732284 345.8620472440945 413.8330708661417 380.1297637795277 379.5653543307087C396.6588976377954 363.036220472441 409.3177952755907 344.1285039370079 417.9451968503938 323.084094488189C426.572598425197 301.9993700787402 430.9266141732285 279.6245669291339 430.9266141732285 256C430.9266141732285 206.9770078740157 414.1555905511812 166.2992125984251 380.8957480314962 133.8053543307086A183.43307086614175 183.43307086614175 0 0 0 322.6406299212599 95.2642519685039A173.39464566929135 173.39464566929135 0 0 0 190.1253543307087 94.9417322834645A182.14299212598425 182.14299212598425 0 0 0 94.4982677165354 189.8834645669291A170.33070866141733 170.33070866141733 0 0 0 94.4982677165354 322.3584251968504C103.6497637795276 343.7253543307087 116.5908661417323 362.8749606299213 133.3618897637795 379.8878740157481C166.6217322834646 413.8733858267717 207.6220472440945 430.9669291338583 256.4031496062992 430.9669291338583z" />
25
+ <glyph glyph-name="cc-pd"
26
+ unicode="&#xEA06;"
27
+ horiz-adv-x="512" d="M256 469.3467716535433A213.34677165354333 213.34677165354333 0 1 1 256 42.6532283464567A213.34677165354333 213.34677165354333 0 0 1 256 469.3467716535433zM256 82.6859842519685C160.4535433070866 82.6859842519685 82.6456692913386 160.4132283464567 82.6456692913386 256.0000000000001C82.6456692913386 275.996220472441 86.1127559055118 295.2264566929134 92.3615748031496 313.0859842519686L160.1713385826772 282.9303937007875C158.3571653543307 273.8595275590552 157.3492913385827 264.3855118110237 157.3492913385827 254.5889763779528C157.3492913385827 169.4437795275591 220.9259842519685 145.4563779527559 260.9587401574803 145.4563779527559A104.01259842519686 104.01259842519686 0 0 1 329.211968503937 170.8548031496064L298.1291338582677 208.5896062992126A36.16251968503938 36.16251968503938 0 0 0 295.3070866141732 205.6869291338583C283.2125984251968 194.2374803149607 269.9086614173229 194.2374803149607 266.9253543307086 194.2374803149607C234.3508661417323 194.2374803149607 220.7647244094488 228.5455118110237 220.5631496062992 256.04031496063L407.4229921259842 172.8705511811024C407.6245669291339 172.8705511811024 407.8261417322834 172.8705511811024 407.9874015748031 172.7899212598426A173.39464566929135 173.39464566929135 0 0 0 255.9999999999999 82.6859842519686zM423.0248818897638 211.6938582677166L230.3193700787402 297.7259842519685C237.2938582677166 310.304251968504 248.340157480315 319.7782677165354 264.9096062992126 319.7782677165354A40.879370078740166 40.879370078740166 0 0 0 294.5814173228346 307.1596850393701L329.3329133858268 342.9190551181103C305.9905511811024 362.9959055118111 279.4633070866142 366.583937007874 262.1278740157481 366.583937007874C221.3694488188977 366.583937007874 192.503937007874 348.9662992125984 175.5313385826771 322.1971653543307L111.067716535433 350.9417322834646A173.3140157480315 173.3140157480315 0 0 0 256 429.3543307086615A173.51559055118113 173.51559055118113 0 0 0 423.468346456693 211.2503937007874L423.0651968503937 211.6938582677166z" />
28
+ <glyph glyph-name="copyright"
29
+ unicode="&#xEA07;"
30
+ horiz-adv-x="512" d="M255.9982221102363 469.92771023622C137.7003882834646 469.9260976377948 41.4768781102363 374.0039055118105 41.4779021102362 255.9999999999995C41.4789261102362 137.9960944881884 137.7003882834646 42.0718866141727 255.9982221102363 42.0718866141727C372.2410653228347 42.0726929133854 466.0698910236221 135.0442330708656 469.3333467716535 250.2224629921255A13.843867615748033 13.843867615748033 0 0 1 470.5186066141732 255.9999999999995A13.843867615748033 13.843867615748033 0 0 1 469.3333467716535 261.9258960629917C465.992445984252 377.0367999999995 372.1922801889764 469.9289196850389 255.9982221102362 469.92771023622zM255.9982221102363 442.2240755905507C359.3799155905513 442.2248818897633 442.8868938582678 358.9958551181097 442.8887080314961 255.9999999999995C442.8887080314961 153.0041448818893 359.3799155905513 69.7763275590546 255.9982221102363 69.7759244094483C152.616512503937 69.775521259842 69.182717984252 153.0041448818892 69.1818471811024 255.9999999999995C69.1809360629921 358.9958551181097 152.616512503937 442.2224629921255 255.9982221102363 442.2240755905507zM257.135418456693 112.6533039370091C296.4149135118111 112.6533039370091 342.0152420787402 131.6158488188989 369.5560365354331 169.9924661417335C367.7500875590552 174.0558110236233 361.8807332283465 178.5706834645682 357.3658486929135 178.5706834645682C328.470588472441 145.1604661417335 294.6089605039371 131.1643212598438 256.6839312125985 131.1643212598438C195.2815087874017 131.1643212598438 156.9049922519686 193.4698834645682 156.9049922519686 256.2265700787414C156.9049922519686 335.6885669291352 205.2142523464568 382.1918740157493 256.232443968504 382.1918740157493C312.2170073700788 382.1918740157493 339.3063105511812 348.3301291338596 349.6905453858268 311.3080944881903C354.6569171653544 309.5019842519698 359.6232889448819 310.8565669291351 364.138173480315 313.5657322834658C362.3322245039371 335.6885669291351 358.720314456693 356.4572220472454 355.1084044094489 379.93463937008C334.3399387716536 382.1922771653556 310.8625416062993 399.3483086614186 260.7473285039371 399.3483086614186C176.3189961574804 399.3483086614186 113.1106166929135 329.3679874015761 113.1106166929135 248.0998803149619C113.1106166929135 174.9588661417336 166.8377398425198 112.6533039370091 257.135418456693 112.6533039370091z" />
31
+ <glyph glyph-name="gpl"
32
+ unicode="&#xEA08;"
33
+ horiz-adv-x="512" d="M256 469.9514960629921C187.1420472440945 469.9514960629921 125.9036220472441 437.2963779527559 86.6368503937008 386.8220472440945H123.0009448818898A186.4970078740158 186.4970078740158 0 0 0 256 442.2551181102363C308.1272440944882 442.2551181102363 355.1748031496063 421.0494488188977 389.0393700787402 386.8623622047244H424.5165354330709A212.33889763779533 212.33889763779533 0 0 1 256 469.9918110236221zM80.0655118110236 378.0737007874016A212.17763779527561 212.17763779527561 0 0 1 44.3464566929134 221.2485039370079L80.0655118110236 378.0737007874016zM467.2503937007874 285.4299212598425L433.9905511811024 138.5222047244094C455.196220472441 170.7741732283464 468.1373228346457 209.0733858267717 469.3064566929134 250.1946456692913A13.828031496062996 13.828031496062996 0 0 1 470.5159055118111 256A13.828031496062996 13.828031496062996 0 0 1 469.3064566929134 261.9262992125984A216.08818897637798 216.08818897637798 0 0 1 467.2503937007874 285.4299212598425zM86.6368503937008 125.1779527559055A214.2740157480315 214.2740157480315 0 0 1 256 42.0485039370078C324.7773228346457 42.0485039370078 385.4916535433071 74.743937007874 424.476220472441 125.1779527559055H388.9990551181102A186.5776377952756 186.5776377952756 0 0 0 256 69.7448818897637A186.4970078740158 186.4970078740158 0 0 0 123.0009448818898 125.1376377952755H86.6368503937008zM95.1836220472441 370.4944881889764L42.6532283464567 141.5055118110237H416.776062992126L469.3467716535433 370.4944881889765C469.024251968504 370.2525984251969 131.9911811023622 370.4944881889765 131.9911811023622 370.4944881889765zM124.2103937007874 333.9288188976379H193.9552755905512C199.8412598425197 333.9288188976379 204.3968503937008 332.8 207.6623622047244 330.6229921259843C210.8472440944882 328.3653543307087 212.0566929133858 325.5029921259843 211.2907086614173 321.9955905511811L203.1067716535433 284.9864566929134H178.8774803149606L186.8195275590551 321.028031496063H126.1858267716536L104.2544881889764 222.0144881889764L96.3527559055118 186.1341732283464H156.9461417322835L157.0267716535433 186.4163779527559L169.1615748031496 241.2447244094488H140.6992125984252L143.4406299212599 253.6214173228347H196.132283464567L181.0141732283465 185.1666141732284A9.393385826771654 9.393385826771654 0 0 0 179.9659842519685 182.4655118110236A15.077795275590551 15.077795275590551 0 0 0 173.5155905511811 176.619842519685A32.05039370078741 32.05039370078741 0 0 0 158.4377952755906 173.3140157480315H89.7411023622047A24.027716535433072 24.027716535433072 0 0 0 76.0743307086614 176.619842519685C72.8491338582677 178.8371653543307 71.6396850393701 181.6592125984252 72.4459842519685 185.1666141732283L102.6822047244095 321.9955905511811C103.4885039370079 325.5029921259843 105.9074015748032 328.3653543307087 110.1404724409449 330.6229921259843A31.848818897637802 31.848818897637802 0 0 0 124.2103937007874 333.9691338582677zM231.931968503937 333.9288188976379H318.4478740157481C324.2532283464567 333.9288188976379 328.8088188976378 332.8 332.0340157480315 330.6229921259843C335.2592125984252 328.3653543307087 336.5492913385827 325.5029921259843 335.7429921259843 321.9955905511811L319.6170078740158 249.0255118110237C318.8107086614174 245.5584251968504 316.3514960629922 242.696062992126 312.1184251968504 240.4787401574804A31.768188976377964 31.768188976377964 0 0 0 297.0406299212599 237.1325984251969H234.1492913385827L222.0548031496063 182.3042519685039L220.0390551181103 173.3140157480315H196.3741732283465L198.148031496063 181.4576377952756zM351.4255118110237 333.9288188976379H375.1307086614173L348.3212598425197 212.6614173228346L342.4755905511812 186.1744881889764H399.1181102362205C399.6825196850394 181.8204724409449 400.408188976378 177.5470866141732 401.1338582677166 173.3140157480315H315.8677165354331L322.60031496063 203.751811023622zM252.7748031496063 321.028031496063L237.051968503937 250.0333858267717H296.1133858267716L311.8362204724409 320.9877165354331z" />
34
+ <glyph glyph-name="lgpl"
35
+ unicode="&#xEA09;"
36
+ horiz-adv-x="512" d="M256 469.9514960629921C137.715905511811 469.9514960629921 41.484094488189 374.0018897637796 41.484094488189 256C41.484094488189 207.863937007874 57.6907086614173 163.5981102362204 84.6211023622047 127.7984251968504L93.5307086614173 164.0818897637796A185.65039370078742 185.65039370078742 0 0 0 154.3256692913386 412.180157480315L158.7603149606299 430.1203149606299H190.1253543307087A187.06141732283467 187.06141732283467 0 0 0 256 442.2148031496063C279.2617322834646 442.2148031496063 301.3946456692913 437.780157480315 321.8746456692914 430.1203149606299H379.5653543307086A211.49228346456695 211.49228346456695 0 0 1 256 469.9514960629921zM427.0563779527559 383.4355905511811L418.3886614173228 348.0390551181103A185.65039370078742 185.65039370078742 0 0 0 357.7549606299213 99.8601574803149L353.3606299212598 81.87968503937L322.0762204724409 81.9603149606298A187.06141732283467 187.06141732283467 0 0 0 255.9999999999999 69.7448818897637A187.06141732283467 187.06141732283467 0 0 0 188.9965354330708 82.2425196850393L131.0639370078739 82.403779527559A213.508031496063 213.508031496063 0 0 1 255.9999999999999 42.0888188976377C372.2280314960629 42.0888188976377 466.0409448818897 135.0551181102362 469.3467716535432 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535432 261.9262992125984A213.91118110236218 213.91118110236218 0 0 1 427.0563779527559 383.475905511811zM173.8381102362205 412.2204724409449C149.9716535433071 307.8853543307087 125.8229921259843 204.8 101.875905511811 100.3842519685039L338.2425196850394 99.7392125984251C362.1896062992127 204.0743307086614 386.2173228346457 307.7644094488189 410.1240944881891 412.180157480315zM207.0576377952756 384.5644094488189H222.216062992126L199.3574803149607 284.3414173228347H258.2576377952756L255.3146456692913 271.5212598425198H181.256062992126zM304.0151181102363 382.3874015748031H353.0381102362205C357.1502362204725 382.3874015748031 360.2948031496063 381.5811023622047 362.5927559055118 380.0491338582678C364.8503937007875 378.4768503937008 365.6970078740158 376.4611023622047 365.1729133858268 374.0018897637795L359.407874015748 348.0390551181103H342.4352755905512L347.9987401574803 373.3165354330709H305.4261417322835L290.0258267716536 303.8135433070866L284.4623622047244 278.6570078740158H327.0349606299213L327.0752755905512 278.8182677165354L335.6220472440945 317.3190551181102H315.5855118110236L317.5206299212598 326.0270866141732H354.5297637795275L343.8866141732284 277.9313385826772A6.772913385826772 6.772913385826772 0 0 0 343.1609448818898 276.0365354330709A10.602834645669292 10.602834645669292 0 0 0 338.6456692913386 271.9647244094488A22.495748031496067 22.495748031496067 0 0 0 328.0025196850394 269.6264566929134H279.8261417322835A16.851653543307087 16.851653543307087 0 0 0 270.2311811023622 271.9647244094488C267.9735433070867 273.4966929133858 267.1269291338583 275.472125984252 267.6913385826772 277.9313385826772L288.9373228346457 374.0018897637795C289.5017322834646 376.4611023622047 291.1949606299213 378.4768503937008 294.1782677165355 380.0491338582678L294.4604724409449 380.1700787401575A22.173228346456696 22.173228346456696 0 0 0 304.0151181102363 382.3470866141733zM186.2551181102363 242.1316535433071H248.4611023622048C252.6135433070867 242.1316535433071 255.9193700787402 241.3253543307087 258.2576377952757 239.7530708661418C260.5959055118111 238.1404724409449 261.4828346456693 236.1247244094489 260.9184251968504 233.5848818897638L249.3077165354331 181.0948031496063C248.7836220472441 178.5952755905512 246.9694488188977 176.5795275590551 243.9055118110237 174.9669291338583A22.737637795275596 22.737637795275596 0 0 0 233.1011023622048 172.548031496063H187.908031496063L179.1596850393701 133.1200000000001L177.7486614173228 126.6696062992127H160.6954330708661L161.9855118110236 132.4749606299213zM272.2066141732284 242.1316535433071H289.2598425196851L265.6755905511812 135.8614173228347H306.4743307086615A245.92125984251965 245.92125984251965 0 0 1 307.9256692913387 126.6696062992126H246.6066141732284L272.2066141732284 242.1316535433071zM201.2522834645669 232.8592125984252L189.8834645669292 181.8204724409449H232.4157480314961L243.7039370078741 232.8592125984252z" />
37
+ <glyph glyph-name="mit"
38
+ unicode="&#xEA0A;"
39
+ horiz-adv-x="512" d="M256 469.9111811023622C137.715905511811 469.9111811023622 41.484094488189 374.0018897637796 41.484094488189 256S137.715905511811 42.0888188976377 256 42.0888188976377C372.228031496063 42.0888188976377 466.0409448818898 135.0551181102362 469.3467716535433 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535433 261.9262992125984C466.0006299212599 377.0255118110236 372.1877165354331 469.9514960629921 256 469.9514960629921zM256 442.2148031496063A186.37606299212604 186.37606299212604 0 0 0 442.900157480315 256A186.37606299212604 186.37606299212604 0 0 0 256 69.7448818897638A186.29543307086618 186.29543307086618 0 0 0 69.1804724409448 256C69.1804724409448 359.0047244094489 152.6324409448818 442.2551181102363 256 442.2551181102363zM100.6664566929134 338.1215748031497H137.7965354330709V173.8784251968504H100.6664566929134zM156.2204724409449 338.1215748031497H193.3908661417323V226.3685039370079H156.2204724409449zM211.8148031496063 338.1215748031497H248.9045669291339V173.8784251968504H211.8148031496063zM267.3688188976378 283.4544881889764H304.4988976377953V173.8784251968504H267.3688188976378zM322.9228346456694 283.4544881889764H360.0529133858268V173.8784251968504H322.9631496062993zM322.9228346456694 300.9511811023623V338.1215748031497H411.3335433070867V300.9511811023623zM267.3688188976378 338.1215748031497H304.4988976377953V300.9511811023623H267.3688188976378z" />
40
+ <glyph glyph-name="mpl"
41
+ unicode="&#xEA0B;"
42
+ horiz-adv-x="512" d="M256 469.9111811023622C137.715905511811 469.9111811023622 41.484094488189 374.0018897637796 41.484094488189 256S137.715905511811 42.0888188976377 256 42.0888188976377C372.228031496063 42.0888188976377 466.0409448818898 135.0551181102362 469.3467716535433 250.2349606299213A13.828031496062996 13.828031496062996 0 0 1 470.5562204724409 256A13.828031496062996 13.828031496062996 0 0 1 469.3467716535433 261.9262992125984C466.0006299212599 377.0255118110236 372.1877165354331 469.9514960629921 256 469.9514960629921zM256 442.2148031496063A186.37606299212604 186.37606299212604 0 0 0 442.900157480315 256A186.37606299212604 186.37606299212604 0 0 0 256 69.7448818897638A186.29543307086618 186.29543307086618 0 0 0 69.1804724409448 256C69.1804724409448 359.0047244094489 152.6324409448818 442.2551181102363 256 442.2551181102363zM387.9105511811024 207.5414173228347H410.1240944881891V171.2579527559055H340.5404724409449V264.8692913385827C340.5404724409449 293.7348031496063 330.9455118110236 304.8617322834646 312.0781102362205 304.8617322834646C289.0985826771654 304.8617322834646 279.8664566929134 288.5744881889764 279.8664566929134 265.2321259842519V207.1785826771653H302.0396850393701V170.8951181102361H232.1738582677166V264.8692913385827C232.1738582677166 293.7348031496063 222.5385826771654 304.8617322834646 203.6711811023622 304.8617322834646C180.731968503937 304.8617322834646 171.4998425196851 288.5744881889764 171.4998425196851 265.2321259842519V207.1785826771653H203.3083464566929V170.8951181102361H101.875905511811V207.1785826771653H124.0491338582677V301.5155905511811H101.875905511811V337.7990551181103H171.8223622047245V312.6022047244095C181.8204724409449 330.3407874015748 199.2365354330709 341.1048818897638 222.4982677165355 341.1048818897638C246.5662992125985 341.1048818897638 268.7798425196851 329.6554330708662 276.9234645669292 305.2245669291339C286.1959055118111 327.3977952755905 305.0229921259843 341.1048818897638 331.308346456693 341.1048818897638C361.2623622047245 341.1048818897638 388.676535433071 322.9631496062993 388.676535433071 283.3738582677165V207.5414173228346z" />
43
+ <glyph glyph-name="whitespace"
44
+ unicode="&#xEA0C;"
45
+ horiz-adv-x="512" d="" />
46
+ <glyph glyph-name="wtfpl"
47
+ unicode="&#xEA0D;"
48
+ horiz-adv-x="512" d="M195.7291338582678 409.0355905511812A153.03559055118112 153.03559055118112 0 1 1 255.9596850393702 115.3411023622047A153.07590551181104 153.07590551181104 0 1 1 255.9596850393702 396.6588976377953A152.4711811023622 152.4711811023622 0 0 1 195.7291338582678 409.0355905511812zM192.7055118110236 360.980157480315C215.8059842519686 360.980157480315 237.1729133858268 353.5622047244095 254.5486614173229 341.024251968504A105.90740157480315 105.90740157480315 0 1 0 254.5486614173229 169.1615748031496A105.90740157480315 105.90740157480315 0 1 0 192.7055118110236 361.0204724409449zM209.3152755905512 323.9307086614174H158.9618897637796C125.0166929133859 253.5811023622047 153.4387401574803 205.7272440944882 175.8941732283465 195.7694488188976C198.3496062992126 185.851968503937 235.0765354330709 179.5225196850394 255.516220472441 216.3300787401574C272.2469291338583 184.844094488189 310.3445669291339 182.9896062992126 335.6623622047245 194.6809448818897C361.0204724409449 206.3722834645669 385.572283464567 259.588031496063 353.3606299212599 323.9307086614174H302.1606299212599C319.496062992126 284.1398425196851 319.8185826771654 229.8355905511811 302.1606299212599 228.2229921259843C284.5026771653544 226.6103937007875 279.4229921259843 232.4963779527559 281.3984251968504 294.944251968504L231.2466141732284 295.1055118110237C234.9959055118111 233.5042519685039 223.5867716535433 222.8207874015748 208.1461417322835 229.5533858267717C192.7055118110236 236.3262992125985 193.3908661417323 271.9244094488189 209.3555905511811 323.8903937007874z" />
49
+ </font>
50
+ </defs>
51
+ </svg>
@@ -0,0 +1,33 @@
1
+ // eslint-disable-next-line no-unused-vars
2
+ function hideAnnounce (id) {
3
+ var announces = localStorage.getItem('hiddenAnnounces')
4
+
5
+ if (announces) {
6
+ announces = JSON.parse(announces)
7
+ } else {
8
+ announces = []
9
+ }
10
+
11
+ announces.push(id)
12
+
13
+ localStorage.setItem('hiddenAnnounces', JSON.stringify(announces))
14
+ addClass(document.getElementById('announce-' + id), 'hidden')
15
+ }
16
+
17
+ function hideAnnounces () {
18
+ var announces = localStorage.getItem('hiddenAnnounces')
19
+
20
+ if (!announces) return
21
+
22
+ announces = JSON.parse(announces)
23
+
24
+ for (var a in announces) {
25
+ var element = document.getElementById('announce-' + announces[a])
26
+ if (element) addClass(element, 'hidden')
27
+ }
28
+ }
29
+
30
+ // eslint-disable-next-line no-undef
31
+ documentReady(function () {
32
+ hideAnnounces()
33
+ })
@@ -14,29 +14,32 @@
14
14
  <%
15
15
  require_asset 'rails-ujs'
16
16
  require_asset 'activestorage'
17
- # Node_modules files
18
- require_asset 'codemirror-5.39.2/lib/codemirror.js'
19
- require_asset 'codemirror-5.39.2/addon/mode/overlay.js'
20
- require_asset 'codemirror-5.39.2/mode/xml/xml.js'
21
- require_asset 'codemirror-5.39.2/mode/markdown/markdown.js'
22
- require_asset 'codemirror-5.39.2/mode/javascript/javascript.js'
23
- require_asset 'codemirror-5.39.2/mode/css/css.js'
24
- require_asset 'codemirror-5.39.2/mode/htmlmixed/htmlmixed.js'
25
- require_asset 'codemirror-5.39.2/mode/clike/clike.js'
26
- require_asset 'codemirror-5.39.2/mode/meta.js'
27
- require_asset 'codemirror-5.39.2/mode/gfm/gfm.js'
28
- require_asset 'highlight.js-9.12.0/highlight.pack.js'
17
+ # lib/assets
18
+ require_asset 'codemirror/lib/codemirror.js'
19
+ require_asset 'codemirror/addon/mode/overlay.js'
20
+ require_asset 'codemirror/mode/xml/xml.js'
21
+ require_asset 'codemirror/mode/markdown/markdown.js'
22
+ require_asset 'codemirror/mode/javascript/javascript.js'
23
+ require_asset 'codemirror/mode/css/css.js'
24
+ require_asset 'codemirror/mode/htmlmixed/htmlmixed.js'
25
+ require_asset 'codemirror/mode/clike/clike.js'
26
+ require_asset 'codemirror/mode/meta.js'
27
+ require_asset 'codemirror/mode/gfm/gfm.js'
28
+ require_asset 'highlight.js-9.13.1/highlight.pack.js'
29
29
  if Rails.env.development?
30
30
  require_asset "vue/dist/vue"
31
31
  else
32
32
  require_asset "vue/dist/vue.min"
33
33
  end
34
- # Current folder files
35
- require_asset './forms'
34
+ # Methods used in other scripts
36
35
  require_asset './helpers'
36
+ # JS
37
+ require_asset './announcements'
38
+ require_asset './forms'
37
39
  require_asset './helpers-codemirror'
38
40
  require_asset './helpers-markdown'
39
41
  require_asset './hljs'
42
+ require_asset './menu'
40
43
  require_asset './modals'
41
44
  require_asset './tabs'
42
45
  %>
@@ -1,7 +1,6 @@
1
1
  // eslint-disable-next-line no-unused-vars
2
2
  function toggleUpdateMessageField (event, element) {
3
3
  var checked = event.target.checked
4
- console.log(event, element, checked)
5
4
  if (checked) {
6
5
  document.getElementById(element).setAttribute('disabled', 'disabled')
7
6
  } else {
@@ -10,9 +10,9 @@ function createMDPreviewer (cmInstance) {
10
10
  ajax('POST', '/member/markdown_previewer', data, function (request) {
11
11
  targetElement.innerHTML = JSON.parse(request.responseText).html_content
12
12
  }, function () {
13
- targetElement.innerHTML = 'Something bad happened on our side. Sorry for that...'
13
+ targetElement.innerHTML = 'Something bad happened on our side. Sorry for that'
14
14
  }, function () {
15
- targetElement.innerHTML = 'Something bad happened on our side. Sorry for that...'
15
+ targetElement.innerHTML = 'Something bad happened on our side. Sorry for that'
16
16
  })
17
17
 
18
18
  openModal('content-preview-modal')
@@ -16,6 +16,23 @@ function addClass (element, className) {
16
16
  }
17
17
  }
18
18
 
19
+ // eslint-disable-next-line no-unused-vars
20
+ function hasClass (element, className) {
21
+ if (element.classList) {
22
+ return element.classList.contains(className)
23
+ }
24
+ return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1
25
+ }
26
+
27
+ // eslint-disable-next-line no-unused-vars
28
+ function toggleClass (element, className) {
29
+ if (hasClass(element, className)) {
30
+ removeClass(element, className)
31
+ } else {
32
+ addClass(element, className)
33
+ }
34
+ }
35
+
19
36
  // eslint-disable-next-line no-unused-vars
20
37
  function documentReady (fn) {
21
38
  if (document.attachEvent ? document.readyState === 'complete' : document.readyState !== 'loading') {
@@ -0,0 +1,5 @@
1
+ // eslint-disable-next-line no-unused-vars
2
+ function toggleSecondaryMenu () {
3
+ // eslint-disable-next-line no-undef
4
+ toggleClass(document.getElementById('secondary-menu'), 'visible')
5
+ }
@@ -0,0 +1,32 @@
1
+ @font-face {
2
+ font: {
3
+ family: 'Open Sans';
4
+ weight: 200;
5
+ style: normal;
6
+ }
7
+ src: font-url('elabs/OpenSans/OpenSans-Light.ttf') format('truetype');
8
+ }
9
+ @font-face {
10
+ font: {
11
+ family: 'Open Sans';
12
+ weight: 400;
13
+ style: normal;
14
+ }
15
+ src: font-url('elabs/OpenSans/OpenSans-Regular.ttf') format('truetype');
16
+ }
17
+ @font-face {
18
+ font: {
19
+ family: 'Open Sans';
20
+ weight: 500;
21
+ style: normal;
22
+ }
23
+ src: font-url('elabs/OpenSans/OpenSans-Semibold.ttf') format('truetype');
24
+ }
25
+ @font-face {
26
+ font: {
27
+ family:'Open Sans';
28
+ weight:700;
29
+ style: normal;
30
+ }
31
+ src: font-url('elabs/OpenSans/OpenSans-Bold.ttf') format('truetype');
32
+ }