lcms-engine 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -1
  3. data/.dockerignore +25 -0
  4. data/.env.docker +1 -1
  5. data/.eslintignore +2 -1
  6. data/.eslintrc +23 -73
  7. data/.nvmrc +1 -1
  8. data/.overcommit.yml +8 -2
  9. data/.prettierrc +7 -0
  10. data/.rubocop.yml +12 -8
  11. data/.ruby-version +1 -1
  12. data/.stylelintignore +9 -0
  13. data/.stylelintrc +8 -0
  14. data/CHANGELOG.md +50 -1
  15. data/Dockerfile +3 -3
  16. data/Gemfile.lock +408 -322
  17. data/README.md +20 -17
  18. data/app/assets/config/lcms_engine_manifest.js +4 -2
  19. data/app/assets/javascripts/lcms/engine/admin/{application.js → lcms_engine_application.js} +1 -3
  20. data/app/assets/javascripts/lcms/engine/initializers/foundation.js +1 -1
  21. data/app/assets/javascripts/lcms/engine/{application.js → lcms_engine_application.js} +0 -0
  22. data/app/assets/stylesheets/lcms/engine/admin/collections.scss +2 -1
  23. data/app/assets/stylesheets/lcms/engine/admin/components.scss +60 -19
  24. data/app/assets/stylesheets/lcms/engine/admin/curriculums.scss +12 -10
  25. data/app/assets/stylesheets/lcms/engine/admin/lessons.scss +21 -15
  26. data/app/assets/stylesheets/lcms/engine/admin/materials.scss +25 -17
  27. data/app/assets/stylesheets/lcms/engine/admin/resources.scss +8 -7
  28. data/app/assets/stylesheets/lcms/engine/admin/standards.scss +4 -1
  29. data/app/assets/stylesheets/lcms/engine/admin/users.scss +1 -1
  30. data/app/assets/stylesheets/lcms/engine/base/_colors.scss +8 -10
  31. data/app/assets/stylesheets/lcms/engine/base/_ld-colors.scss +10 -10
  32. data/app/assets/stylesheets/lcms/engine/components/_assoc-picker.scss +4 -5
  33. data/app/assets/stylesheets/lcms/engine/components/lesson/_activity.scss +6 -2
  34. data/app/assets/stylesheets/lcms/engine/components/lesson/_callout.scss +19 -5
  35. data/app/assets/stylesheets/lcms/engine/components/lesson/_columns.scss +4 -3
  36. data/app/assets/stylesheets/lcms/engine/components/lesson/_curriculum-map.scss +16 -7
  37. data/app/assets/stylesheets/lcms/engine/components/lesson/_def.scss +2 -2
  38. data/app/assets/stylesheets/lcms/engine/components/lesson/_expand.scss +9 -9
  39. data/app/assets/stylesheets/lcms/engine/components/lesson/_foundational-divider.scss +0 -1
  40. data/app/assets/stylesheets/lcms/engine/components/lesson/_group.scss +3 -1
  41. data/app/assets/stylesheets/lcms/engine/components/lesson/_icons.scss +1 -1
  42. data/app/assets/stylesheets/lcms/engine/components/lesson/_image-wrap.scss +2 -2
  43. data/app/assets/stylesheets/lcms/engine/components/lesson/_inset.scss +7 -2
  44. data/app/assets/stylesheets/lcms/engine/components/lesson/_materials.scss +1 -1
  45. data/app/assets/stylesheets/lcms/engine/components/lesson/_multiple-choice.scss +4 -1
  46. data/app/assets/stylesheets/lcms/engine/components/lesson/_override.scss +28 -9
  47. data/app/assets/stylesheets/lcms/engine/components/lesson/_pd.scss +7 -7
  48. data/app/assets/stylesheets/lcms/engine/components/lesson/_pv.scss +5 -4
  49. data/app/assets/stylesheets/lcms/engine/components/lesson/_section.scss +10 -3
  50. data/app/assets/stylesheets/lcms/engine/components/lesson/_selection-control.scss +14 -8
  51. data/app/assets/stylesheets/lcms/engine/components/lesson/_sidebar.scss +25 -10
  52. data/app/assets/stylesheets/lcms/engine/components/lesson/_title.scss +3 -1
  53. data/app/assets/stylesheets/lcms/engine/components/lesson/_unit-map.scss +1 -1
  54. data/app/assets/stylesheets/lcms/engine/components/material/_material.scss +3 -3
  55. data/app/assets/stylesheets/lcms/engine/components/material/_overlay.scss +12 -4
  56. data/app/assets/stylesheets/lcms/engine/components/material/_preview.scss +1 -1
  57. data/app/assets/stylesheets/lcms/engine/components/support/_survey.scss +3 -1
  58. data/app/assets/stylesheets/lcms/engine/layout/_footer.scss +29 -11
  59. data/app/assets/stylesheets/lcms/engine/layout/_header.scss +5 -5
  60. data/app/assets/stylesheets/lcms/engine/layout/_navigation.scss +4 -6
  61. data/app/assets/stylesheets/lcms/engine/layout/_page.scss +2 -2
  62. data/app/assets/stylesheets/lcms/engine/{admin.scss → lcms_engine_admin.scss} +26 -15
  63. data/app/assets/stylesheets/lcms/engine/lcms_engine_application.scss +9 -0
  64. data/app/assets/stylesheets/lcms/engine/pdf.scss +5 -26
  65. data/app/assets/stylesheets/lcms/engine/pdf_plain.scss +5 -23
  66. data/app/assets/stylesheets/lcms/engine/print/_base.scss +41 -12
  67. data/app/assets/stylesheets/lcms/engine/print/_cover.scss +12 -12
  68. data/app/assets/stylesheets/lcms/engine/print/_footer.scss +8 -3
  69. data/app/assets/stylesheets/lcms/engine/print/_gdoc-base.scss +10 -37
  70. data/app/assets/stylesheets/lcms/engine/print/_helpers.scss +5 -2
  71. data/app/assets/stylesheets/lcms/engine/print/_lesson-base.scss +2 -14
  72. data/app/assets/stylesheets/lcms/engine/print/_material-base.scss +1 -3
  73. data/app/assets/stylesheets/lcms/engine/print/_print.scss +15 -8
  74. data/app/assets/stylesheets/lcms/engine/print/_toc.scss +24 -9
  75. data/app/assets/stylesheets/lcms/engine/print/gdoc/_base-typography.scss +24 -6
  76. data/app/assets/stylesheets/lcms/engine/print/gdoc/_base.scss +10 -3
  77. data/app/assets/stylesheets/lcms/engine/print/gdoc/_colors.scss +3 -3
  78. data/app/assets/stylesheets/lcms/engine/print/gdoc/_header.scss +2 -2
  79. data/app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss +1 -0
  80. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_activity.scss +1 -1
  81. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_agenda.scss +8 -2
  82. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_callout.scss +16 -6
  83. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_def.scss +1 -1
  84. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_dialogue.scss +3 -1
  85. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_expand.scss +5 -2
  86. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_image-wrap.scss +5 -3
  87. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_image.scss +1 -1
  88. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_optbreak.scss +1 -0
  89. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_section.scss +4 -1
  90. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_smp.scss +1 -0
  91. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_tables.scss +11 -3
  92. data/app/assets/stylesheets/lcms/engine/print/gdoc/material/_header.scss +5 -2
  93. data/app/assets/stylesheets/lcms/engine/print/lesson/_base-typography.scss +33 -9
  94. data/app/assets/stylesheets/lcms/engine/print/lesson/_group.scss +3 -1
  95. data/app/assets/stylesheets/lcms/engine/print/lesson/_image.scss +3 -1
  96. data/app/assets/stylesheets/lcms/engine/print/lesson/_materials.scss +1 -1
  97. data/app/assets/stylesheets/lcms/engine/print/lesson/_pd.scss +8 -4
  98. data/app/assets/stylesheets/lcms/engine/print/lesson/_section.scss +1 -1
  99. data/app/assets/stylesheets/lcms/engine/print/material/_header.scss +4 -1
  100. data/app/assets/stylesheets/lcms/engine/themes/_material.scss +11 -11
  101. data/app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss +15 -5
  102. data/app/assets/stylesheets/lcms/engine/utils/_functions.scss +1 -1
  103. data/app/assets/stylesheets/lcms/engine/utils/_helpers.scss +23 -11
  104. data/app/assets/stylesheets/lcms/engine/utils/_placeholders.scss +1 -1
  105. data/app/assets/stylesheets/lcms/engine/utils/_variables.scss +11 -11
  106. data/app/assets/stylesheets/lcms/engine/vendors/{mathjax.css → mathjax.scss} +0 -0
  107. data/app/assets/stylesheets/lcms/engine/vendors/react-tagsinput.css +48 -0
  108. data/app/controllers/concerns/lcms/engine/reimportable.rb +12 -2
  109. data/app/controllers/lcms/engine/admin/access_codes_controller.rb +8 -3
  110. data/app/controllers/lcms/engine/admin/admin_controller.rb +6 -40
  111. data/app/controllers/lcms/engine/admin/association_picker_controller.rb +4 -1
  112. data/app/controllers/lcms/engine/admin/batch_reimports_controller.rb +2 -2
  113. data/app/controllers/lcms/engine/admin/curriculums_controller.rb +21 -2
  114. data/app/controllers/lcms/engine/admin/documents_controller.rb +41 -14
  115. data/app/controllers/lcms/engine/admin/materials_controller.rb +32 -13
  116. data/app/controllers/lcms/engine/admin/resource_bulk_edits_controller.rb +2 -2
  117. data/app/controllers/lcms/engine/admin/resources_controller.rb +9 -7
  118. data/app/controllers/lcms/engine/admin/settings_controller.rb +1 -1
  119. data/app/controllers/lcms/engine/admin/standards_controller.rb +7 -2
  120. data/app/controllers/lcms/engine/admin/users_controller.rb +15 -7
  121. data/app/controllers/lcms/engine/application_controller.rb +1 -1
  122. data/app/controllers/lcms/engine/resources_controller.rb +5 -5
  123. data/app/controllers/lcms/engine/welcome_controller.rb +11 -0
  124. data/app/entities/lcms/engine/grades.rb +17 -6
  125. data/app/entities/lcms/engine/hierarchical_position.rb +1 -2
  126. data/app/entities/lcms/engine/media_embed.rb +2 -2
  127. data/app/entities/lcms/engine/pagination.rb +14 -10
  128. data/app/entities/lcms/engine/roman_numerals.rb +2 -2
  129. data/app/exceptions/lcms/engine/document_error.rb +8 -0
  130. data/app/exceptions/lcms/engine/material_error.rb +8 -0
  131. data/app/forms/lcms/engine/document_form.rb +19 -14
  132. data/app/forms/lcms/engine/material_form.rb +3 -2
  133. data/app/helpers/admin/components_helper.rb +3 -3
  134. data/app/helpers/lcms/engine/path_helper.rb +32 -0
  135. data/app/helpers/lcms/engine/resource_helper.rb +1 -1
  136. data/app/helpers/lcms/engine/view_helper.rb +1 -9
  137. data/app/interactors/lcms/engine/explore_curriculum_interactor.rb +2 -2
  138. data/app/javascript/components/admin/ImportStatus.jsx +90 -56
  139. data/app/javascript/components/admin/Initializer.jsx +33 -35
  140. data/app/javascript/components/admin/MultiSelectedOperation.jsx +43 -18
  141. data/app/javascript/components/admin/association-picker/AssociationPicker.jsx +68 -47
  142. data/app/javascript/components/admin/association-picker/AssociationPickerItem.jsx +18 -7
  143. data/app/javascript/components/admin/association-picker/AssociationPickerResults.jsx +42 -17
  144. data/app/javascript/components/admin/association-picker/AssociationPickerWindow.jsx +47 -27
  145. data/app/javascript/components/admin/curriculum/CurriculumEditor.jsx +54 -32
  146. data/app/javascript/components/admin/curriculum/DirectoryPicker.jsx +80 -53
  147. data/app/javascript/components/admin/picker/PickerButton.jsx +16 -11
  148. data/app/javascript/components/admin/picker/pickerModal.jsx +6 -6
  149. data/app/javascript/components/admin/picker/pickerWindowWrapper.jsx +61 -40
  150. data/app/javascript/components/admin/resource-picker/ResourcePicker.jsx +54 -39
  151. data/app/javascript/components/admin/resource-picker/ResourcePickerResource.jsx +14 -3
  152. data/app/javascript/components/admin/resource-picker/ResourcePickerWindow.jsx +50 -21
  153. data/app/javascript/components/paginate/PageView.jsx +20 -8
  154. data/app/javascript/components/paginate/PaginationBoxView.jsx +78 -66
  155. data/app/javascript/components/paginate/PaginationListView.jsx +59 -45
  156. data/app/javascript/packs/lcms_engine_admin.js +15 -0
  157. data/app/javascript/packs/{application.js → lcms_engine_application.js} +5 -4
  158. data/app/javascript/packs/server_rendering.js +1 -0
  159. data/app/javascript/vendor/jstree/jstree.min.js +6 -0
  160. data/app/javascript/vendor/jstree/themes/default/32px.png +0 -0
  161. data/app/javascript/vendor/jstree/themes/default/40px.png +0 -0
  162. data/app/javascript/vendor/jstree/themes/default/style.css +1106 -0
  163. data/app/javascript/vendor/jstree/themes/default/style.min.css +1 -0
  164. data/app/javascript/vendor/jstree/themes/default/throbber.gif +0 -0
  165. data/app/javascript/vendor/jstree/themes/default-dark/32px.png +0 -0
  166. data/app/javascript/vendor/jstree/themes/default-dark/40px.png +0 -0
  167. data/app/javascript/vendor/jstree/themes/default-dark/style.css +1150 -0
  168. data/app/javascript/vendor/jstree/themes/default-dark/style.min.css +1 -0
  169. data/app/javascript/vendor/jstree/themes/default-dark/throbber.gif +0 -0
  170. data/app/jobs/concerns/lcms/engine/nested_resque_job.rb +1 -4
  171. data/app/jobs/lcms/engine/document_generate_gdoc_job.rb +2 -2
  172. data/app/jobs/lcms/engine/document_generate_job.rb +2 -2
  173. data/app/jobs/lcms/engine/document_generate_pdf_job.rb +5 -5
  174. data/app/jobs/lcms/engine/document_parse_job.rb +1 -1
  175. data/app/jobs/lcms/engine/material_generate_pdf_job.rb +4 -4
  176. data/app/models/concerns/lcms/engine/navigable.rb +6 -10
  177. data/app/models/concerns/lcms/engine/searchable.rb +7 -0
  178. data/app/models/lcms/engine/document.rb +1 -1
  179. data/app/models/lcms/engine/download.rb +1 -1
  180. data/app/models/lcms/engine/resource.rb +1 -1
  181. data/app/models/lcms/engine/search/document.rb +4 -3
  182. data/app/models/lcms/engine/search/repository.rb +1 -1
  183. data/app/presenters/lcms/engine/content_presenter.rb +1 -1
  184. data/app/presenters/lcms/engine/curriculum_presenter.rb +21 -18
  185. data/app/presenters/lcms/engine/document_presenter.rb +5 -3
  186. data/app/presenters/lcms/engine/resource_presenter.rb +6 -3
  187. data/app/queries/lcms/engine/admin_documents_query.rb +2 -2
  188. data/app/queries/lcms/engine/admin_materials_query.rb +11 -2
  189. data/app/queries/lcms/engine/base_query.rb +1 -1
  190. data/app/serializers/lcms/engine/previews_material_serializer.rb +1 -0
  191. data/app/services/lcms/engine/document_build_service.rb +6 -0
  192. data/app/services/lcms/engine/document_generator.rb +2 -2
  193. data/app/services/lcms/engine/google/drive_service.rb +7 -15
  194. data/app/services/lcms/engine/google/script_service.rb +7 -3
  195. data/app/services/lcms/engine/html_sanitizer.rb +6 -6
  196. data/app/services/lcms/engine/lessons_gdoc_bundler.rb +1 -1
  197. data/app/services/lcms/engine/lti_exporter.rb +1 -1
  198. data/app/services/lcms/engine/material_build_service.rb +6 -2
  199. data/app/services/lcms/engine/material_preview_generator.rb +3 -3
  200. data/app/services/lcms/engine/react_materials_resolver.rb +3 -2
  201. data/app/services/lcms/engine/s3_service.rb +14 -2
  202. data/app/tasks/resource_tasks.rb +2 -2
  203. data/app/views/layouts/lcms/engine/admin.html.erb +3 -3
  204. data/app/views/layouts/lcms/engine/application.html.erb +2 -2
  205. data/app/views/layouts/lcms/engine/lti.html.erb +1 -1
  206. data/app/views/lcms/engine/admin/access_codes/_form.html.erb +1 -1
  207. data/app/views/lcms/engine/admin/access_codes/index.html.erb +3 -3
  208. data/app/views/lcms/engine/admin/batch_reimports/_search_form.html.erb +2 -2
  209. data/app/views/lcms/engine/admin/curriculums/edit.html.erb +5 -5
  210. data/app/views/lcms/engine/admin/documents/_materials_links.html.erb +2 -2
  211. data/app/views/lcms/engine/admin/documents/_reimport.html.erb +1 -1
  212. data/app/views/lcms/engine/admin/documents/_search_form.html.erb +2 -2
  213. data/app/views/lcms/engine/admin/documents/import.html.erb +1 -1
  214. data/app/views/lcms/engine/admin/documents/index.html.erb +7 -5
  215. data/app/views/lcms/engine/admin/documents/new.html.erb +6 -2
  216. data/app/views/lcms/engine/admin/materials/_reimport.html.erb +1 -1
  217. data/app/views/lcms/engine/admin/materials/_search_form.html.erb +2 -2
  218. data/app/views/lcms/engine/admin/materials/import.html.erb +1 -1
  219. data/app/views/lcms/engine/admin/materials/index.html.erb +26 -22
  220. data/app/views/lcms/engine/admin/materials/new.html.erb +5 -1
  221. data/app/views/lcms/engine/admin/resource_bulk_edits/new.html.erb +2 -2
  222. data/app/views/lcms/engine/admin/resources/_fields.html.erb +4 -0
  223. data/app/views/lcms/engine/admin/resources/_form.html.erb +1 -1
  224. data/app/views/lcms/engine/admin/resources/_search_form.html.erb +2 -2
  225. data/app/views/lcms/engine/admin/resources/index.html.erb +7 -5
  226. data/app/views/lcms/engine/admin/shared/_header.html.erb +12 -12
  227. data/app/views/lcms/engine/admin/standards/_form.html.erb +3 -1
  228. data/app/views/lcms/engine/admin/standards/_search_form.html.erb +1 -1
  229. data/app/views/lcms/engine/admin/users/_form.html.erb +1 -1
  230. data/app/views/lcms/engine/admin/users/_search_form.html.erb +1 -1
  231. data/app/views/lcms/engine/admin/users/index.html.erb +6 -6
  232. data/app/views/lcms/engine/documents/gdoc/_agenda.html.erb +1 -1
  233. data/app/views/lcms/engine/documents/show.html.erb +1 -1
  234. data/app/views/lcms/engine/materials/show.html.erb +1 -1
  235. data/app/views/lcms/engine/pages/not_found.html.erb +5 -0
  236. data/app/views/lcms/engine/resources/_download.html.erb +2 -2
  237. data/app/views/lcms/engine/resources/_unit_bundles.html.erb +2 -2
  238. data/app/views/lcms/engine/resources/generic.html.erb +0 -4
  239. data/app/views/lcms/engine/resources/media.html.erb +0 -4
  240. data/app/views/lcms/engine/resources/show.html.erb +0 -2
  241. data/config/initializers/airbrake.rb +62 -10
  242. data/config/initializers/bitly.rb +1 -1
  243. data/config/initializers/carrier_wave.rb +6 -4
  244. data/config/initializers/ckeditor.rb +6 -0
  245. data/config/initializers/elasticsearch.rb +1 -1
  246. data/config/initializers/resque.rb +2 -2
  247. data/config/locales/admin/en.yml +1 -2
  248. data/config/locales/ui/en.yml +1 -0
  249. data/config/routes.rb +5 -2
  250. data/db/migrate/.keep +0 -0
  251. data/db/schema.rb +280 -312
  252. data/db/seeds.rb +0 -1
  253. data/docker-compose.ror4.yml +32 -0
  254. data/docker-compose.yml +6 -3
  255. data/docs/env-variables.md +40 -40
  256. data/docs/google-cloud-platform-setup.md +45 -17
  257. data/docs/how-to-build-and-publish.md +1 -0
  258. data/lcms-engine.gemspec +28 -20
  259. data/lib/doc_template/document.rb +3 -4
  260. data/lib/doc_template/document_toc.rb +2 -2
  261. data/lib/doc_template/objects/activity_metadata.rb +1 -1
  262. data/lib/doc_template/objects/agenda_metadata.rb +1 -1
  263. data/lib/doc_template/objects/metadata_helpers.rb +1 -1
  264. data/lib/doc_template/objects/toc_helpers.rb +4 -4
  265. data/lib/doc_template/objects/toc_metadata.rb +4 -6
  266. data/lib/doc_template/tables/base.rb +3 -2
  267. data/lib/doc_template/tags/activity_metadata_type_tag.rb +1 -1
  268. data/lib/doc_template/tags/answer_space_tag.rb +2 -2
  269. data/lib/doc_template/tags/base_tag.rb +5 -5
  270. data/lib/doc_template/tags/block_tag.rb +1 -1
  271. data/lib/doc_template/tags/columns_tag.rb +1 -1
  272. data/lib/doc_template/tags/def_tag.rb +1 -1
  273. data/lib/doc_template/tags/expand_tag.rb +1 -0
  274. data/lib/doc_template/tags/heading_tag.rb +1 -1
  275. data/lib/doc_template/tags/inset_tag.rb +2 -2
  276. data/lib/doc_template/tags/latex_tag.rb +1 -1
  277. data/lib/doc_template/tags/page_break_tag.rb +1 -1
  278. data/lib/doc_template/tags/pd_tag.rb +4 -4
  279. data/lib/doc_template/tags/section_tag.rb +2 -2
  280. data/lib/doc_template/tags/standard_tag.rb +3 -3
  281. data/lib/doc_template/tags/table_preserve_alignment_tag.rb +1 -1
  282. data/lib/doc_template/tags/table_tag.rb +1 -1
  283. data/lib/doc_template/template.rb +1 -1
  284. data/lib/doc_template.rb +9 -9
  285. data/lib/document_exporter/gdoc/base.rb +6 -3
  286. data/lib/document_exporter/pdf/base.rb +1 -1
  287. data/lib/document_exporter/pdf/document.rb +2 -2
  288. data/lib/document_exporter/pdf/material.rb +2 -2
  289. data/lib/document_exporter/pdf/student_material.rb +2 -2
  290. data/lib/document_exporter/pdf/teacher_material.rb +2 -2
  291. data/lib/document_renderer/part.rb +4 -6
  292. data/lib/elasticsearch/persistence/repository/response/results.rb +1 -1
  293. data/lib/lcms/engine/engine.rb +10 -9
  294. data/lib/lcms/engine/version.rb +1 -1
  295. data/lib/lcms/engine.rb +0 -1
  296. data/lib/lt/lcms/metadata/base_service.rb +2 -1
  297. data/lib/lt/lcms/metadata/context.rb +58 -54
  298. data/lib/lt/lcms/metadata/service.rb +6 -3
  299. data/lib/resque_job.rb +3 -6
  300. data/lib/standard_importer.rb +4 -4
  301. data/lib/tasks/cloud66.rake +8 -6
  302. data/lib/tasks/document.rake +7 -7
  303. data/lib/tasks/google.rake +29 -14
  304. data/lib/tasks/lcms/engine_tasks.rake +1 -1
  305. data/package.json +31 -9
  306. data/postcss.config.js +12 -0
  307. data/spec/controllers/admin/association_picker_controller_spec.rb +6 -8
  308. data/spec/controllers/admin/curriculums_controller_spec.rb +23 -0
  309. data/spec/controllers/admin/documents_controller_spec.rb +25 -3
  310. data/spec/controllers/admin/materials_controller_spec.rb +17 -4
  311. data/spec/controllers/admin/resource_bulk_edit_controller_spec.rb +1 -1
  312. data/spec/controllers/admin/resources_controller_spec.rb +3 -3
  313. data/spec/controllers/admin/settings_controller_spec.rb +1 -1
  314. data/spec/controllers/admin/standards_controller_spec.rb +1 -1
  315. data/spec/controllers/admin/welcome_controller_spec.rb +12 -10
  316. data/spec/controllers/resources_controller_spec.rb +3 -3
  317. data/spec/controllers/welcome_controller_spec.rb +38 -0
  318. data/spec/dummy/.env.docker +5 -0
  319. data/spec/dummy/.traceroute.yaml +0 -2
  320. data/spec/dummy/bin/webpack +18 -0
  321. data/spec/dummy/bin/webpack-dev-server +18 -0
  322. data/spec/dummy/config/application.rb +1 -1
  323. data/spec/dummy/config/environments/production.rb +1 -1
  324. data/spec/dummy/config/environments/test.rb +1 -1
  325. data/spec/dummy/config/initializers/assets.rb +6 -0
  326. data/spec/dummy/config/lcms-admin.yml +3 -7
  327. data/spec/dummy/config/puma.rb +3 -3
  328. data/spec/dummy/config/routes.rb +6 -0
  329. data/spec/dummy/db/schema.rb +5 -5
  330. data/spec/entities/grades_spec.rb +12 -0
  331. data/spec/factories/documents.rb +1 -0
  332. data/spec/factories/downloads.rb +1 -1
  333. data/spec/factories/resources.rb +2 -2
  334. data/spec/features/admin/lessons/add_lesson_spec.rb +3 -3
  335. data/spec/features/admin/materials/add_material_spec.rb +5 -3
  336. data/spec/features/admin/users_spec.rb +2 -2
  337. data/spec/forms/document_form_spec.rb +11 -1
  338. data/spec/{controllers/admin/admin_controller_spec.rb → helpers/path_helper_spec.rb} +6 -6
  339. data/spec/lib/doc_template/objects/activity_metadata_spec.rb +1 -1
  340. data/spec/lib/doc_template/objects/agenda_metadata_spec.rb +2 -0
  341. data/spec/lib/doc_template/objects/toc_metadata_spec.rb +1 -1
  342. data/spec/lib/doc_template/tables/shared_examples/remove_table.rb +1 -1
  343. data/spec/lib/doc_template/tags/page_break_tag_spec.rb +1 -1
  344. data/spec/lib/doc_template/tags/pd_tag_spec.rb +1 -1
  345. data/spec/models/document_spec.rb +1 -1
  346. data/spec/models/standard_spec.rb +2 -0
  347. data/spec/queries/lcms/engine/admin_materials_query_spec.rb +34 -0
  348. data/spec/rails_helper.rb +8 -2
  349. data/spec/services/document_build_service_spec.rb +4 -11
  350. data/spec/services/s3_service_spec.rb +31 -0
  351. data/spec/support/concerns/navigable.rb +2 -0
  352. data/spec/support/routes.rb +4 -0
  353. data/spec/support/shared_examples/content_tag.rb +4 -4
  354. data/templates/routes.rb +0 -1
  355. data/yarn.lock +3447 -2993
  356. metadata +208 -303
  357. data/app/assets/stylesheets/lcms/engine/application.scss +0 -36
  358. data/app/assets/stylesheets/lcms/engine/vendors/jquery.tagsinput.css +0 -1
  359. data/app/exceptions/components_api_error.rb +0 -4
  360. data/app/exceptions/document_error.rb +0 -4
  361. data/app/exceptions/material_error.rb +0 -4
  362. data/app/javascript/packs/admin.js +0 -14
  363. data/app/models/lcms/engine/component.rb +0 -88
  364. data/app/presenters/lcms/engine/social_media_presenter.rb +0 -83
  365. data/app/views/lcms/engine/shared/_social_sharing.html.erb +0 -22
  366. data/db/migrate/20200217160930_change_document_parts_to_polymorphic.rb +0 -36
  367. data/db/migrate/20200218144849_drop_material_parts_table.rb +0 -7
  368. data/db/migrate/20200422130652_add_reimported_at_to_documents.rb +0 -7
  369. data/db/migrate/20200429130353_drop_pages.rb +0 -13
  370. data/db/seeds/pages.seeds.rb +0 -26
  371. data/lib/document_exporter.rb +0 -6
  372. data/lib/lcms/engine/migration.rb +0 -16
  373. data/spec/models/component_spec.rb +0 -60
  374. data/vendor/assets/javascripts/jquery.tagsinput.js +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lcms-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kuznetsov
@@ -10,64 +10,64 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-08-19 00:00:00.000000000 Z
13
+ date: 2022-09-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: active_model_serializers
16
+ name: activejob-retry
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.10.10
21
+ version: 0.6.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.10.10
28
+ version: 0.6.3
29
29
  - !ruby/object:Gem::Dependency
30
- name: activejob-retry
30
+ name: active_model_serializers
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: 0.6.3
35
+ version: 0.10.10
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: 0.6.3
42
+ version: 0.10.10
43
43
  - !ruby/object:Gem::Dependency
44
- name: acts-as-taggable-on
44
+ name: acts_as_list
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '6.5'
49
+ version: '1.0'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '6.5'
56
+ version: '1.0'
57
57
  - !ruby/object:Gem::Dependency
58
- name: acts_as_list
58
+ name: acts-as-taggable-on
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '1.0'
63
+ version: '7.0'
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '1.0'
70
+ version: '7.0'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: addressable
73
73
  requirement: !ruby/object:Gem::Requirement
@@ -88,14 +88,14 @@ dependencies:
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '10.0'
91
+ version: '13.0'
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '10.0'
98
+ version: '13.0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: autoprefixer-rails
101
101
  requirement: !ruby/object:Gem::Requirement
@@ -176,22 +176,22 @@ dependencies:
176
176
  name: bullet
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: 6.1.0
182
179
  - - "~>"
183
180
  - !ruby/object:Gem::Version
184
181
  version: '6.1'
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 6.1.0
185
185
  type: :runtime
186
186
  prerelease: false
187
187
  version_requirements: !ruby/object:Gem::Requirement
188
188
  requirements:
189
- - - ">="
190
- - !ruby/object:Gem::Version
191
- version: 6.1.0
192
189
  - - "~>"
193
190
  - !ruby/object:Gem::Version
194
191
  version: '6.1'
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 6.1.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: carrierwave
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '4.3'
215
+ version: '5.1'
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '4.3'
222
+ version: '5.1'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: closure_tree
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -402,16 +402,16 @@ dependencies:
402
402
  name: google-api-client
403
403
  requirement: !ruby/object:Gem::Requirement
404
404
  requirements:
405
- - - "~>"
405
+ - - "<"
406
406
  - !ruby/object:Gem::Version
407
- version: 0.37.1
407
+ version: '1'
408
408
  type: :runtime
409
409
  prerelease: false
410
410
  version_requirements: !ruby/object:Gem::Requirement
411
411
  requirements:
412
- - - "~>"
412
+ - - "<"
413
413
  - !ruby/object:Gem::Version
414
- version: 0.37.1
414
+ version: '1'
415
415
  - !ruby/object:Gem::Dependency
416
416
  name: hiredis
417
417
  requirement: !ruby/object:Gem::Requirement
@@ -500,28 +500,40 @@ dependencies:
500
500
  requirements:
501
501
  - - "~>"
502
502
  - !ruby/object:Gem::Version
503
- version: 0.1.1
503
+ version: '0.2'
504
+ - - ">="
505
+ - !ruby/object:Gem::Version
506
+ version: 0.2.3
504
507
  type: :runtime
505
508
  prerelease: false
506
509
  version_requirements: !ruby/object:Gem::Requirement
507
510
  requirements:
508
511
  - - "~>"
509
512
  - !ruby/object:Gem::Version
510
- version: 0.1.1
513
+ version: '0.2'
514
+ - - ">="
515
+ - !ruby/object:Gem::Version
516
+ version: 0.2.3
511
517
  - !ruby/object:Gem::Dependency
512
518
  name: lt-lcms
513
519
  requirement: !ruby/object:Gem::Requirement
514
520
  requirements:
515
521
  - - "~>"
516
522
  - !ruby/object:Gem::Version
517
- version: '0.3'
523
+ version: '0.4'
524
+ - - ">="
525
+ - !ruby/object:Gem::Version
526
+ version: 0.4.4
518
527
  type: :runtime
519
528
  prerelease: false
520
529
  version_requirements: !ruby/object:Gem::Requirement
521
530
  requirements:
522
531
  - - "~>"
523
532
  - !ruby/object:Gem::Version
524
- version: '0.3'
533
+ version: '0.4'
534
+ - - ">="
535
+ - !ruby/object:Gem::Version
536
+ version: 0.4.4
525
537
  - !ruby/object:Gem::Dependency
526
538
  name: migration_data
527
539
  requirement: !ruby/object:Gem::Requirement
@@ -590,20 +602,20 @@ dependencies:
590
602
  requirements:
591
603
  - - "~>"
592
604
  - !ruby/object:Gem::Version
593
- version: '1.10'
605
+ version: '1.11'
594
606
  - - ">="
595
607
  - !ruby/object:Gem::Version
596
- version: 1.10.8
608
+ version: 1.11.4
597
609
  type: :runtime
598
610
  prerelease: false
599
611
  version_requirements: !ruby/object:Gem::Requirement
600
612
  requirements:
601
613
  - - "~>"
602
614
  - !ruby/object:Gem::Version
603
- version: '1.10'
615
+ version: '1.11'
604
616
  - - ">="
605
617
  - !ruby/object:Gem::Version
606
- version: 1.10.8
618
+ version: 1.11.4
607
619
  - !ruby/object:Gem::Dependency
608
620
  name: oj
609
621
  requirement: !ruby/object:Gem::Requirement
@@ -724,40 +736,40 @@ dependencies:
724
736
  requirements:
725
737
  - - "~>"
726
738
  - !ruby/object:Gem::Version
727
- version: '1.1'
739
+ version: '2.3'
728
740
  - - ">="
729
741
  - !ruby/object:Gem::Version
730
- version: 1.1.6
742
+ version: 2.3.3
731
743
  type: :runtime
732
744
  prerelease: false
733
745
  version_requirements: !ruby/object:Gem::Requirement
734
746
  requirements:
735
747
  - - "~>"
736
748
  - !ruby/object:Gem::Version
737
- version: '1.1'
749
+ version: '2.3'
738
750
  - - ">="
739
751
  - !ruby/object:Gem::Version
740
- version: 1.1.6
752
+ version: 2.3.3
741
753
  - !ruby/object:Gem::Dependency
742
754
  name: rails
743
755
  requirement: !ruby/object:Gem::Requirement
744
756
  requirements:
745
757
  - - "~>"
746
758
  - !ruby/object:Gem::Version
747
- version: '5.2'
759
+ version: 6.1.6
748
760
  - - ">="
749
761
  - !ruby/object:Gem::Version
750
- version: 5.2.4
762
+ version: 6.1.6.1
751
763
  type: :runtime
752
764
  prerelease: false
753
765
  version_requirements: !ruby/object:Gem::Requirement
754
766
  requirements:
755
767
  - - "~>"
756
768
  - !ruby/object:Gem::Version
757
- version: '5.2'
769
+ version: 6.1.6
758
770
  - - ">="
759
771
  - !ruby/object:Gem::Version
760
- version: 5.2.4
772
+ version: 6.1.6.1
761
773
  - !ruby/object:Gem::Dependency
762
774
  name: ransack
763
775
  requirement: !ruby/object:Gem::Requirement
@@ -822,62 +834,76 @@ dependencies:
822
834
  name: resque
823
835
  requirement: !ruby/object:Gem::Requirement
824
836
  requirements:
825
- - - ">="
826
- - !ruby/object:Gem::Version
827
- version: 2.0.0
828
837
  - - "~>"
829
838
  - !ruby/object:Gem::Version
830
839
  version: '2.0'
840
+ - - ">="
841
+ - !ruby/object:Gem::Version
842
+ version: 2.0.0
831
843
  type: :runtime
832
844
  prerelease: false
833
845
  version_requirements: !ruby/object:Gem::Requirement
834
846
  requirements:
835
- - - ">="
836
- - !ruby/object:Gem::Version
837
- version: 2.0.0
838
847
  - - "~>"
839
848
  - !ruby/object:Gem::Version
840
849
  version: '2.0'
850
+ - - ">="
851
+ - !ruby/object:Gem::Version
852
+ version: 2.0.0
841
853
  - !ruby/object:Gem::Dependency
842
854
  name: resque-scheduler
843
855
  requirement: !ruby/object:Gem::Requirement
844
856
  requirements:
845
- - - ">="
846
- - !ruby/object:Gem::Version
847
- version: 4.4.0
848
857
  - - "~>"
849
858
  - !ruby/object:Gem::Version
850
859
  version: '4.4'
860
+ - - ">="
861
+ - !ruby/object:Gem::Version
862
+ version: 4.4.0
851
863
  type: :runtime
852
864
  prerelease: false
853
865
  version_requirements: !ruby/object:Gem::Requirement
854
866
  requirements:
855
- - - ">="
856
- - !ruby/object:Gem::Version
857
- version: 4.4.0
858
867
  - - "~>"
859
868
  - !ruby/object:Gem::Version
860
869
  version: '4.4'
870
+ - - ">="
871
+ - !ruby/object:Gem::Version
872
+ version: 4.4.0
861
873
  - !ruby/object:Gem::Dependency
862
874
  name: rest-client
863
875
  requirement: !ruby/object:Gem::Requirement
864
876
  requirements:
865
- - - ">="
866
- - !ruby/object:Gem::Version
867
- version: 2.1.0
868
877
  - - "~>"
869
878
  - !ruby/object:Gem::Version
870
879
  version: '2.1'
880
+ - - ">="
881
+ - !ruby/object:Gem::Version
882
+ version: 2.1.0
871
883
  type: :runtime
872
884
  prerelease: false
873
885
  version_requirements: !ruby/object:Gem::Requirement
874
886
  requirements:
887
+ - - "~>"
888
+ - !ruby/object:Gem::Version
889
+ version: '2.1'
875
890
  - - ">="
876
891
  - !ruby/object:Gem::Version
877
892
  version: 2.1.0
893
+ - !ruby/object:Gem::Dependency
894
+ name: retriable
895
+ requirement: !ruby/object:Gem::Requirement
896
+ requirements:
878
897
  - - "~>"
879
898
  - !ruby/object:Gem::Version
880
- version: '2.1'
899
+ version: '3.1'
900
+ type: :runtime
901
+ prerelease: false
902
+ version_requirements: !ruby/object:Gem::Requirement
903
+ requirements:
904
+ - - "~>"
905
+ - !ruby/object:Gem::Version
906
+ version: '3.1'
881
907
  - !ruby/object:Gem::Dependency
882
908
  name: ruby-progressbar
883
909
  requirement: !ruby/object:Gem::Requirement
@@ -936,22 +962,16 @@ dependencies:
936
962
  name: sass-rails
937
963
  requirement: !ruby/object:Gem::Requirement
938
964
  requirements:
939
- - - ">="
940
- - !ruby/object:Gem::Version
941
- version: 5.1.0
942
965
  - - "~>"
943
966
  - !ruby/object:Gem::Version
944
- version: '5.1'
967
+ version: '6'
945
968
  type: :runtime
946
969
  prerelease: false
947
970
  version_requirements: !ruby/object:Gem::Requirement
948
971
  requirements:
949
- - - ">="
950
- - !ruby/object:Gem::Version
951
- version: 5.1.0
952
972
  - - "~>"
953
973
  - !ruby/object:Gem::Version
954
- version: '5.1'
974
+ version: '6'
955
975
  - !ruby/object:Gem::Dependency
956
976
  name: simple_form
957
977
  requirement: !ruby/object:Gem::Requirement
@@ -1100,6 +1120,20 @@ dependencies:
1100
1120
  - - ">="
1101
1121
  - !ruby/object:Gem::Version
1102
1122
  version: 1.0.2
1123
+ - !ruby/object:Gem::Dependency
1124
+ name: with_advisory_lock
1125
+ requirement: !ruby/object:Gem::Requirement
1126
+ requirements:
1127
+ - - "~>"
1128
+ - !ruby/object:Gem::Version
1129
+ version: '4.6'
1130
+ type: :runtime
1131
+ prerelease: false
1132
+ version_requirements: !ruby/object:Gem::Requirement
1133
+ requirements:
1134
+ - - "~>"
1135
+ - !ruby/object:Gem::Version
1136
+ version: '4.6'
1103
1137
  - !ruby/object:Gem::Dependency
1104
1138
  name: capybara
1105
1139
  requirement: !ruby/object:Gem::Requirement
@@ -1146,16 +1180,16 @@ dependencies:
1146
1180
  name: email_spec
1147
1181
  requirement: !ruby/object:Gem::Requirement
1148
1182
  requirements:
1149
- - - "~>"
1183
+ - - '='
1150
1184
  - !ruby/object:Gem::Version
1151
- version: '2.1'
1185
+ version: 2.2.0
1152
1186
  type: :development
1153
1187
  prerelease: false
1154
1188
  version_requirements: !ruby/object:Gem::Requirement
1155
1189
  requirements:
1156
- - - "~>"
1190
+ - - '='
1157
1191
  - !ruby/object:Gem::Version
1158
- version: '2.1'
1192
+ version: 2.2.0
1159
1193
  - !ruby/object:Gem::Dependency
1160
1194
  name: factory_bot
1161
1195
  requirement: !ruby/object:Gem::Requirement
@@ -1190,14 +1224,14 @@ dependencies:
1190
1224
  requirements:
1191
1225
  - - "~>"
1192
1226
  - !ruby/object:Gem::Version
1193
- version: 0.49.1
1227
+ version: '0.57'
1194
1228
  type: :development
1195
1229
  prerelease: false
1196
1230
  version_requirements: !ruby/object:Gem::Requirement
1197
1231
  requirements:
1198
1232
  - - "~>"
1199
1233
  - !ruby/object:Gem::Version
1200
- version: 0.49.1
1234
+ version: '0.57'
1201
1235
  - !ruby/object:Gem::Dependency
1202
1236
  name: pry-byebug
1203
1237
  requirement: !ruby/object:Gem::Requirement
@@ -1232,42 +1266,70 @@ dependencies:
1232
1266
  requirements:
1233
1267
  - - "~>"
1234
1268
  - !ruby/object:Gem::Version
1235
- version: '3.8'
1269
+ version: 4.0.2
1236
1270
  type: :development
1237
1271
  prerelease: false
1238
1272
  version_requirements: !ruby/object:Gem::Requirement
1239
1273
  requirements:
1240
1274
  - - "~>"
1241
1275
  - !ruby/object:Gem::Version
1242
- version: '3.8'
1276
+ version: 4.0.2
1243
1277
  - !ruby/object:Gem::Dependency
1244
1278
  name: rubocop
1245
1279
  requirement: !ruby/object:Gem::Requirement
1246
1280
  requirements:
1247
1281
  - - "~>"
1248
1282
  - !ruby/object:Gem::Version
1249
- version: 0.59.2
1283
+ version: '1.17'
1284
+ type: :development
1285
+ prerelease: false
1286
+ version_requirements: !ruby/object:Gem::Requirement
1287
+ requirements:
1288
+ - - "~>"
1289
+ - !ruby/object:Gem::Version
1290
+ version: '1.17'
1291
+ - !ruby/object:Gem::Dependency
1292
+ name: safe_attributes
1293
+ requirement: !ruby/object:Gem::Requirement
1294
+ requirements:
1295
+ - - "~>"
1296
+ - !ruby/object:Gem::Version
1297
+ version: 1.0.10
1250
1298
  type: :development
1251
1299
  prerelease: false
1252
1300
  version_requirements: !ruby/object:Gem::Requirement
1253
1301
  requirements:
1254
1302
  - - "~>"
1255
1303
  - !ruby/object:Gem::Version
1256
- version: 0.59.2
1304
+ version: 1.0.10
1257
1305
  - !ruby/object:Gem::Dependency
1258
1306
  name: sdoc
1259
1307
  requirement: !ruby/object:Gem::Requirement
1260
1308
  requirements:
1261
1309
  - - "~>"
1262
1310
  - !ruby/object:Gem::Version
1263
- version: '1.1'
1311
+ version: '2'
1264
1312
  type: :development
1265
1313
  prerelease: false
1266
1314
  version_requirements: !ruby/object:Gem::Requirement
1267
1315
  requirements:
1268
1316
  - - "~>"
1269
1317
  - !ruby/object:Gem::Version
1270
- version: '1.1'
1318
+ version: '2'
1319
+ - !ruby/object:Gem::Dependency
1320
+ name: seedbank
1321
+ requirement: !ruby/object:Gem::Requirement
1322
+ requirements:
1323
+ - - "~>"
1324
+ - !ruby/object:Gem::Version
1325
+ version: '0.3'
1326
+ type: :development
1327
+ prerelease: false
1328
+ version_requirements: !ruby/object:Gem::Requirement
1329
+ requirements:
1330
+ - - "~>"
1331
+ - !ruby/object:Gem::Version
1332
+ version: '0.3'
1271
1333
  - !ruby/object:Gem::Dependency
1272
1334
  name: selenium-webdriver
1273
1335
  requirement: !ruby/object:Gem::Requirement
@@ -1275,6 +1337,9 @@ dependencies:
1275
1337
  - - "~>"
1276
1338
  - !ruby/object:Gem::Version
1277
1339
  version: '3.142'
1340
+ - - ">="
1341
+ - !ruby/object:Gem::Version
1342
+ version: 3.142.7
1278
1343
  type: :development
1279
1344
  prerelease: false
1280
1345
  version_requirements: !ruby/object:Gem::Requirement
@@ -1282,6 +1347,9 @@ dependencies:
1282
1347
  - - "~>"
1283
1348
  - !ruby/object:Gem::Version
1284
1349
  version: '3.142'
1350
+ - - ">="
1351
+ - !ruby/object:Gem::Version
1352
+ version: 3.142.7
1285
1353
  - !ruby/object:Gem::Dependency
1286
1354
  name: shoulda-matchers
1287
1355
  requirement: !ruby/object:Gem::Requirement
@@ -1296,6 +1364,20 @@ dependencies:
1296
1364
  - - "~>"
1297
1365
  - !ruby/object:Gem::Version
1298
1366
  version: '4.1'
1367
+ - !ruby/object:Gem::Dependency
1368
+ name: simplecov
1369
+ requirement: !ruby/object:Gem::Requirement
1370
+ requirements:
1371
+ - - "<"
1372
+ - !ruby/object:Gem::Version
1373
+ version: '0.18'
1374
+ type: :development
1375
+ prerelease: false
1376
+ version_requirements: !ruby/object:Gem::Requirement
1377
+ requirements:
1378
+ - - "<"
1379
+ - !ruby/object:Gem::Version
1380
+ version: '0.18'
1299
1381
  - !ruby/object:Gem::Dependency
1300
1382
  name: spring
1301
1383
  requirement: !ruby/object:Gem::Requirement
@@ -1358,14 +1440,14 @@ dependencies:
1358
1440
  requirements:
1359
1441
  - - "~>"
1360
1442
  - !ruby/object:Gem::Version
1361
- version: '4.0'
1443
+ version: '5.0'
1362
1444
  type: :development
1363
1445
  prerelease: false
1364
1446
  version_requirements: !ruby/object:Gem::Requirement
1365
1447
  requirements:
1366
1448
  - - "~>"
1367
1449
  - !ruby/object:Gem::Version
1368
- version: '4.0'
1450
+ version: '5.0'
1369
1451
  description: Implements common components and features for Rails-based LCMS systems
1370
1452
  email:
1371
1453
  - alexander@learningtapestry.com
@@ -1377,6 +1459,7 @@ extra_rdoc_files: []
1377
1459
  files:
1378
1460
  - ".babelrc"
1379
1461
  - ".codeclimate.yml"
1462
+ - ".dockerignore"
1380
1463
  - ".env.docker"
1381
1464
  - ".env.template"
1382
1465
  - ".eslintignore"
@@ -1384,10 +1467,13 @@ files:
1384
1467
  - ".gitignore"
1385
1468
  - ".nvmrc"
1386
1469
  - ".overcommit.yml"
1470
+ - ".prettierrc"
1387
1471
  - ".rspec"
1388
1472
  - ".rubocop.yml"
1389
1473
  - ".ruby-gemset"
1390
1474
  - ".ruby-version"
1475
+ - ".stylelintignore"
1476
+ - ".stylelintrc"
1391
1477
  - CHANGELOG.md
1392
1478
  - Dockerfile
1393
1479
  - Gemfile
@@ -1457,11 +1543,10 @@ files:
1457
1543
  - app/assets/images/lcms/engine/st_icon_m.svg
1458
1544
  - app/assets/images/lcms/engine/st_icon_plus.svg
1459
1545
  - app/assets/images/lcms/engine/st_icon_s.svg
1460
- - app/assets/javascripts/lcms/engine/admin/application.js
1461
- - app/assets/javascripts/lcms/engine/application.js
1546
+ - app/assets/javascripts/lcms/engine/admin/lcms_engine_application.js
1462
1547
  - app/assets/javascripts/lcms/engine/application_lti.js
1463
1548
  - app/assets/javascripts/lcms/engine/initializers/foundation.js
1464
- - app/assets/stylesheets/lcms/engine/admin.scss
1549
+ - app/assets/javascripts/lcms/engine/lcms_engine_application.js
1465
1550
  - app/assets/stylesheets/lcms/engine/admin/collections.scss
1466
1551
  - app/assets/stylesheets/lcms/engine/admin/components.scss
1467
1552
  - app/assets/stylesheets/lcms/engine/admin/curriculums.scss
@@ -1471,7 +1556,6 @@ files:
1471
1556
  - app/assets/stylesheets/lcms/engine/admin/standards.scss
1472
1557
  - app/assets/stylesheets/lcms/engine/admin/users.scss
1473
1558
  - app/assets/stylesheets/lcms/engine/admin/welcome.scss
1474
- - app/assets/stylesheets/lcms/engine/application.scss
1475
1559
  - app/assets/stylesheets/lcms/engine/base/_colors.scss
1476
1560
  - app/assets/stylesheets/lcms/engine/base/_ld-colors.scss
1477
1561
  - app/assets/stylesheets/lcms/engine/base/_typography.scss
@@ -1516,6 +1600,8 @@ files:
1516
1600
  - app/assets/stylesheets/lcms/engine/layout/_header.scss
1517
1601
  - app/assets/stylesheets/lcms/engine/layout/_navigation.scss
1518
1602
  - app/assets/stylesheets/lcms/engine/layout/_page.scss
1603
+ - app/assets/stylesheets/lcms/engine/lcms_engine_admin.scss
1604
+ - app/assets/stylesheets/lcms/engine/lcms_engine_application.scss
1519
1605
  - app/assets/stylesheets/lcms/engine/pdf.scss
1520
1606
  - app/assets/stylesheets/lcms/engine/pdf_plain.scss
1521
1607
  - app/assets/stylesheets/lcms/engine/print/_base.scss
@@ -1583,8 +1669,8 @@ files:
1583
1669
  - app/assets/stylesheets/lcms/engine/utils/_variables.scss
1584
1670
  - app/assets/stylesheets/lcms/engine/vendors/foundation_and_overrides-pdf.scss
1585
1671
  - app/assets/stylesheets/lcms/engine/vendors/foundation_and_overrides.scss
1586
- - app/assets/stylesheets/lcms/engine/vendors/jquery.tagsinput.css
1587
- - app/assets/stylesheets/lcms/engine/vendors/mathjax.css
1672
+ - app/assets/stylesheets/lcms/engine/vendors/mathjax.scss
1673
+ - app/assets/stylesheets/lcms/engine/vendors/react-tagsinput.css
1588
1674
  - app/controllers/concerns/lcms/engine/google_credentials.rb
1589
1675
  - app/controllers/concerns/lcms/engine/location_storable.rb
1590
1676
  - app/controllers/concerns/lcms/engine/nested_reimportable.rb
@@ -1621,9 +1707,8 @@ files:
1621
1707
  - app/entities/lcms/engine/pagination.rb
1622
1708
  - app/entities/lcms/engine/roman_numerals.rb
1623
1709
  - app/entities/lcms/engine/slug.rb
1624
- - app/exceptions/components_api_error.rb
1625
- - app/exceptions/document_error.rb
1626
- - app/exceptions/material_error.rb
1710
+ - app/exceptions/lcms/engine/document_error.rb
1711
+ - app/exceptions/lcms/engine/material_error.rb
1627
1712
  - app/forms/lcms/engine/curriculum_form.rb
1628
1713
  - app/forms/lcms/engine/document_form.rb
1629
1714
  - app/forms/lcms/engine/material_form.rb
@@ -1637,6 +1722,7 @@ files:
1637
1722
  - app/helpers/lcms/engine/download_helper.rb
1638
1723
  - app/helpers/lcms/engine/media_helper.rb
1639
1724
  - app/helpers/lcms/engine/pages_helper.rb
1725
+ - app/helpers/lcms/engine/path_helper.rb
1640
1726
  - app/helpers/lcms/engine/resource_helper.rb
1641
1727
  - app/helpers/lcms/engine/tags_helper.rb
1642
1728
  - app/helpers/lcms/engine/view_helper.rb
@@ -1663,9 +1749,20 @@ files:
1663
1749
  - app/javascript/components/paginate/PageView.jsx
1664
1750
  - app/javascript/components/paginate/PaginationBoxView.jsx
1665
1751
  - app/javascript/components/paginate/PaginationListView.jsx
1666
- - app/javascript/packs/admin.js
1667
- - app/javascript/packs/application.js
1752
+ - app/javascript/packs/lcms_engine_admin.js
1753
+ - app/javascript/packs/lcms_engine_application.js
1668
1754
  - app/javascript/packs/server_rendering.js
1755
+ - app/javascript/vendor/jstree/jstree.min.js
1756
+ - app/javascript/vendor/jstree/themes/default-dark/32px.png
1757
+ - app/javascript/vendor/jstree/themes/default-dark/40px.png
1758
+ - app/javascript/vendor/jstree/themes/default-dark/style.css
1759
+ - app/javascript/vendor/jstree/themes/default-dark/style.min.css
1760
+ - app/javascript/vendor/jstree/themes/default-dark/throbber.gif
1761
+ - app/javascript/vendor/jstree/themes/default/32px.png
1762
+ - app/javascript/vendor/jstree/themes/default/40px.png
1763
+ - app/javascript/vendor/jstree/themes/default/style.css
1764
+ - app/javascript/vendor/jstree/themes/default/style.min.css
1765
+ - app/javascript/vendor/jstree/themes/default/throbber.gif
1669
1766
  - app/jobs/concerns/lcms/engine/nested_resque_job.rb
1670
1767
  - app/jobs/concerns/lcms/engine/retry_delayed.rb
1671
1768
  - app/jobs/concerns/lcms/engine/retry_simple.rb
@@ -1687,7 +1784,6 @@ files:
1687
1784
  - app/models/lcms/engine/access_code.rb
1688
1785
  - app/models/lcms/engine/application_record.rb
1689
1786
  - app/models/lcms/engine/author.rb
1690
- - app/models/lcms/engine/component.rb
1691
1787
  - app/models/lcms/engine/copyright_attribution.rb
1692
1788
  - app/models/lcms/engine/curriculum.rb
1693
1789
  - app/models/lcms/engine/document.rb
@@ -1725,7 +1821,6 @@ files:
1725
1821
  - app/presenters/lcms/engine/material_presenter.rb
1726
1822
  - app/presenters/lcms/engine/media_presenter.rb
1727
1823
  - app/presenters/lcms/engine/resource_presenter.rb
1728
- - app/presenters/lcms/engine/social_media_presenter.rb
1729
1824
  - app/queries/lcms/engine/admin_documents_query.rb
1730
1825
  - app/queries/lcms/engine/admin_materials_query.rb
1731
1826
  - app/queries/lcms/engine/base_query.rb
@@ -1860,6 +1955,7 @@ files:
1860
1955
  - app/views/lcms/engine/explore_curriculum/index.html.erb
1861
1956
  - app/views/lcms/engine/find_lessons/index.html.erb
1862
1957
  - app/views/lcms/engine/materials/show.html.erb
1958
+ - app/views/lcms/engine/pages/not_found.html.erb
1863
1959
  - app/views/lcms/engine/resources/_children_list.html.erb
1864
1960
  - app/views/lcms/engine/resources/_copyright_icons_generic.html.erb
1865
1961
  - app/views/lcms/engine/resources/_download.html.erb
@@ -1881,7 +1977,6 @@ files:
1881
1977
  - app/views/lcms/engine/shared/_footer.html.erb
1882
1978
  - app/views/lcms/engine/shared/_header.html.erb
1883
1979
  - app/views/lcms/engine/shared/_lesson_svg.html
1884
- - app/views/lcms/engine/shared/_social_sharing.html.erb
1885
1980
  - app/views/lcms/engine/surveys/show.html.erb
1886
1981
  - app/views/lcms/engine/welcome/index.html.erb
1887
1982
  - bin/overcommit
@@ -1892,6 +1987,7 @@ files:
1892
1987
  - config/initializers/airbrake.rb
1893
1988
  - config/initializers/bitly.rb
1894
1989
  - config/initializers/carrier_wave.rb
1990
+ - config/initializers/ckeditor.rb
1895
1991
  - config/initializers/devise.rb
1896
1992
  - config/initializers/elasticsearch.rb
1897
1993
  - config/initializers/form_tag.rb
@@ -1917,10 +2013,7 @@ files:
1917
2013
  - config/webpack/production.js
1918
2014
  - config/webpack/test.js
1919
2015
  - config/webpacker.yml
1920
- - db/migrate/20200217160930_change_document_parts_to_polymorphic.rb
1921
- - db/migrate/20200218144849_drop_material_parts_table.rb
1922
- - db/migrate/20200422130652_add_reimported_at_to_documents.rb
1923
- - db/migrate/20200429130353_drop_pages.rb
2016
+ - db/migrate/.keep
1924
2017
  - db/schema.rb
1925
2018
  - db/seeds.rb
1926
2019
  - db/seeds/authors.seeds.rb
@@ -1928,11 +2021,12 @@ files:
1928
2021
  - db/seeds/development/grades.seeds.rb
1929
2022
  - db/seeds/development/users.seeds.rb
1930
2023
  - db/seeds/download_categories.seeds.rb
1931
- - db/seeds/pages.seeds.rb
1932
2024
  - db/seeds/subjects.seeds.rb
2025
+ - docker-compose.ror4.yml
1933
2026
  - docker-compose.yml
1934
2027
  - docs/env-variables.md
1935
2028
  - docs/google-cloud-platform-setup.md
2029
+ - docs/how-to-build-and-publish.md
1936
2030
  - lcms-engine.gemspec
1937
2031
  - lib/asset_helper.rb
1938
2032
  - lib/doc_template.rb
@@ -2042,7 +2136,6 @@ files:
2042
2136
  - lib/doc_template/templates/vocabulary.html.erb
2043
2137
  - lib/doc_template/templates/white-placeholder.html.erb
2044
2138
  - lib/doc_template/xpath_functions.rb
2045
- - lib/document_exporter.rb
2046
2139
  - lib/document_exporter/base.rb
2047
2140
  - lib/document_exporter/docx.rb
2048
2141
  - lib/document_exporter/gdoc/base.rb
@@ -2066,7 +2159,6 @@ files:
2066
2159
  - lib/generators/lcms/engine/install/templates/config/tags.yml
2067
2160
  - lib/lcms/engine.rb
2068
2161
  - lib/lcms/engine/engine.rb
2069
- - lib/lcms/engine/migration.rb
2070
2162
  - lib/lcms/engine/test/resource_helpers.rb
2071
2163
  - lib/lcms/engine/version.rb
2072
2164
  - lib/lt/lcms/metadata/base_service.rb
@@ -2092,7 +2184,7 @@ files:
2092
2184
  - lib/tasks/standards.rake
2093
2185
  - lib/text_to_image.rb
2094
2186
  - package.json
2095
- - spec/controllers/admin/admin_controller_spec.rb
2187
+ - postcss.config.js
2096
2188
  - spec/controllers/admin/association_picker_controller_spec.rb
2097
2189
  - spec/controllers/admin/curriculums_controller_spec.rb
2098
2190
  - spec/controllers/admin/documents_controller_spec.rb
@@ -2106,7 +2198,9 @@ files:
2106
2198
  - spec/controllers/admin/welcome_controller_spec.rb
2107
2199
  - spec/controllers/documents_controller_spec.rb
2108
2200
  - spec/controllers/resources_controller_spec.rb
2201
+ - spec/controllers/welcome_controller_spec.rb
2109
2202
  - spec/dummy/.env
2203
+ - spec/dummy/.env.docker
2110
2204
  - spec/dummy/.ruby-gemset
2111
2205
  - spec/dummy/.ruby-version
2112
2206
  - spec/dummy/.traceroute.yaml
@@ -2131,6 +2225,8 @@ files:
2131
2225
  - spec/dummy/bin/setup
2132
2226
  - spec/dummy/bin/spring
2133
2227
  - spec/dummy/bin/update
2228
+ - spec/dummy/bin/webpack
2229
+ - spec/dummy/bin/webpack-dev-server
2134
2230
  - spec/dummy/bin/yarn
2135
2231
  - spec/dummy/config.ru
2136
2232
  - spec/dummy/config/application.rb
@@ -2213,6 +2309,7 @@ files:
2213
2309
  - spec/fixtures/tables/document-metadata-2spans.html
2214
2310
  - spec/fixtures/tables/document-metadata.html
2215
2311
  - spec/forms/document_form_spec.rb
2312
+ - spec/helpers/path_helper_spec.rb
2216
2313
  - spec/lib/doc_template/objects/activity_metadata_spec.rb
2217
2314
  - spec/lib/doc_template/objects/agenda_metadata_spec.rb
2218
2315
  - spec/lib/doc_template/objects/base_metadata_spec.rb
@@ -2249,7 +2346,6 @@ files:
2249
2346
  - spec/lib/lt/lcms/metadata/context_spec.rb
2250
2347
  - spec/lib/lt/lcms/metadata/service_spec.rb
2251
2348
  - spec/lib/text_to_image_spec.rb
2252
- - spec/models/component_spec.rb
2253
2349
  - spec/models/document_bundle_spec.rb
2254
2350
  - spec/models/document_part_spec.rb
2255
2351
  - spec/models/document_spec.rb
@@ -2265,11 +2361,13 @@ files:
2265
2361
  - spec/models/standard_spec.rb
2266
2362
  - spec/models/tag_spec.rb
2267
2363
  - spec/models/tagging_spec.rb
2364
+ - spec/queries/lcms/engine/admin_materials_query_spec.rb
2268
2365
  - spec/rails_helper.rb
2269
2366
  - spec/requests/admin/curriculum_spec.rb
2270
2367
  - spec/services/document_build_service_spec.rb
2271
2368
  - spec/services/embed_equations_spec.rb
2272
2369
  - spec/services/html_sanitizer_spec.rb
2370
+ - spec/services/s3_service_spec.rb
2273
2371
  - spec/spec_helper.rb
2274
2372
  - spec/support/bullet.rb
2275
2373
  - spec/support/capybara.rb
@@ -2286,14 +2384,14 @@ files:
2286
2384
  - spec/support/shoulda_matchers.rb
2287
2385
  - templates/routes.rb
2288
2386
  - vendor/assets/javascripts/html.sortable.min.js
2289
- - vendor/assets/javascripts/jquery.tagsinput.js
2290
2387
  - vendor/assets/javascripts/selectize.min.js
2291
2388
  - vendor/assets/stylesheets/selectize.scss
2292
2389
  - yarn.lock
2293
2390
  homepage: https://github.com/learningtapestry/lcms-engine
2294
2391
  licenses:
2295
2392
  - Apache-2.0
2296
- metadata: {}
2393
+ metadata:
2394
+ rubygems_mfa_required: 'true'
2297
2395
  post_install_message:
2298
2396
  rdoc_options: []
2299
2397
  require_paths:
@@ -2302,208 +2400,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
2302
2400
  requirements:
2303
2401
  - - ">="
2304
2402
  - !ruby/object:Gem::Version
2305
- version: '2.5'
2403
+ version: '2.7'
2306
2404
  required_rubygems_version: !ruby/object:Gem::Requirement
2307
2405
  requirements:
2308
2406
  - - ">="
2309
2407
  - !ruby/object:Gem::Version
2310
2408
  version: '0'
2311
2409
  requirements: []
2312
- rubyforge_project:
2313
- rubygems_version: 2.7.8
2410
+ rubygems_version: 3.1.6
2314
2411
  signing_key:
2315
2412
  specification_version: 4
2316
2413
  summary: Rails engine for LCMS applications
2317
- test_files:
2318
- - spec/controllers/admin/admin_controller_spec.rb
2319
- - spec/controllers/admin/association_picker_controller_spec.rb
2320
- - spec/controllers/admin/curriculums_controller_spec.rb
2321
- - spec/controllers/admin/documents_controller_spec.rb
2322
- - spec/controllers/admin/materials_controller_spec.rb
2323
- - spec/controllers/admin/resource_bulk_edit_controller_spec.rb
2324
- - spec/controllers/admin/resources_controller_spec.rb
2325
- - spec/controllers/admin/settings_controller_spec.rb
2326
- - spec/controllers/admin/sketch_compilers_controller_spec.rb
2327
- - spec/controllers/admin/standards_controller_spec.rb
2328
- - spec/controllers/admin/users_controller_spec.rb
2329
- - spec/controllers/admin/welcome_controller_spec.rb
2330
- - spec/controllers/documents_controller_spec.rb
2331
- - spec/controllers/resources_controller_spec.rb
2332
- - spec/dummy/.env
2333
- - spec/dummy/.ruby-gemset
2334
- - spec/dummy/.ruby-version
2335
- - spec/dummy/.traceroute.yaml
2336
- - spec/dummy/Rakefile
2337
- - spec/dummy/app/assets/config/manifest.js
2338
- - spec/dummy/app/assets/images/.keep
2339
- - spec/dummy/app/assets/javascripts/application.js
2340
- - spec/dummy/app/assets/stylesheets/application.css
2341
- - spec/dummy/app/controllers/application_controller.rb
2342
- - spec/dummy/app/controllers/concerns/.keep
2343
- - spec/dummy/app/helpers/application_helper.rb
2344
- - spec/dummy/app/jobs/application_job.rb
2345
- - spec/dummy/app/mailers/application_mailer.rb
2346
- - spec/dummy/app/models/concerns/.keep
2347
- - spec/dummy/app/views/layouts/application.html.erb
2348
- - spec/dummy/app/views/layouts/mailer.html.erb
2349
- - spec/dummy/app/views/layouts/mailer.text.erb
2350
- - spec/dummy/bin/bundle
2351
- - spec/dummy/bin/rails
2352
- - spec/dummy/bin/rake
2353
- - spec/dummy/bin/rspec
2354
- - spec/dummy/bin/setup
2355
- - spec/dummy/bin/spring
2356
- - spec/dummy/bin/update
2357
- - spec/dummy/bin/yarn
2358
- - spec/dummy/config.ru
2359
- - spec/dummy/config/application.rb
2360
- - spec/dummy/config/boot.rb
2361
- - spec/dummy/config/database.yml
2362
- - spec/dummy/config/environment.rb
2363
- - spec/dummy/config/environments/development.rb
2364
- - spec/dummy/config/environments/production.rb
2365
- - spec/dummy/config/environments/test.rb
2366
- - spec/dummy/config/initializers/application_controller_renderer.rb
2367
- - spec/dummy/config/initializers/assets.rb
2368
- - spec/dummy/config/initializers/backtrace_silencers.rb
2369
- - spec/dummy/config/initializers/content_security_policy.rb
2370
- - spec/dummy/config/initializers/cookies_serializer.rb
2371
- - spec/dummy/config/initializers/filter_parameter_logging.rb
2372
- - spec/dummy/config/initializers/inflections.rb
2373
- - spec/dummy/config/initializers/mime_types.rb
2374
- - spec/dummy/config/initializers/wrap_parameters.rb
2375
- - spec/dummy/config/lcms-admin.yml
2376
- - spec/dummy/config/lcms.yml
2377
- - spec/dummy/config/locales/en.yml
2378
- - spec/dummy/config/materials_rules.yml
2379
- - spec/dummy/config/pdf.yml
2380
- - spec/dummy/config/puma.rb
2381
- - spec/dummy/config/routes.rb
2382
- - spec/dummy/config/secrets.yml
2383
- - spec/dummy/config/spring.rb
2384
- - spec/dummy/config/tags.yml
2385
- - spec/dummy/config/webpack/development.js
2386
- - spec/dummy/config/webpack/environment.js
2387
- - spec/dummy/config/webpack/production.js
2388
- - spec/dummy/config/webpack/test.js
2389
- - spec/dummy/config/webpacker.yml
2390
- - spec/dummy/db/schema.rb
2391
- - spec/dummy/lib/assets/.keep
2392
- - spec/dummy/log/.keep
2393
- - spec/dummy/package.json
2394
- - spec/dummy/public/404.html
2395
- - spec/dummy/public/422.html
2396
- - spec/dummy/public/500.html
2397
- - spec/dummy/public/apple-touch-icon-precomposed.png
2398
- - spec/dummy/public/apple-touch-icon.png
2399
- - spec/dummy/public/favicon.ico
2400
- - spec/entities/breadcrumbs_spec.rb
2401
- - spec/entities/filterbar_spec.rb
2402
- - spec/entities/grades_spec.rb
2403
- - spec/entities/pagination_spec.rb
2404
- - spec/factories/access_code.rb
2405
- - spec/factories/authors.rb
2406
- - spec/factories/curriculums.rb
2407
- - spec/factories/document_bundles.rb
2408
- - spec/factories/document_parts.rb
2409
- - spec/factories/documents.rb
2410
- - spec/factories/downloads.rb
2411
- - spec/factories/leadership_posts.rb
2412
- - spec/factories/materials.rb
2413
- - spec/factories/resource_additional_resources.rb
2414
- - spec/factories/resources.rb
2415
- - spec/factories/settings.rb
2416
- - spec/factories/social_thumbnails.rb
2417
- - spec/factories/staff_members.rb
2418
- - spec/factories/standard_links.rb
2419
- - spec/factories/standards.rb
2420
- - spec/factories/taggings.rb
2421
- - spec/factories/tags.rb
2422
- - spec/factories/users.rb
2423
- - spec/features/admin/lessons/add_lesson_spec.rb
2424
- - spec/features/admin/lessons/sample-lessons/ela-g2.html
2425
- - spec/features/admin/lessons/sample-lessons/ela-g6.html
2426
- - spec/features/admin/lessons/sample-lessons/math-g4.html
2427
- - spec/features/admin/lessons/sample-lessons/math-g7.html
2428
- - spec/features/admin/materials/add_material_spec.rb
2429
- - spec/features/admin/materials/sample-materials/vocabulary-chart.html
2430
- - spec/features/admin/materials/sample-materials/vocabulary-chart.pdf
2431
- - spec/features/admin/users_spec.rb
2432
- - spec/features/users/login_logout_spec.rb
2433
- - spec/features/welcome_spec.rb
2434
- - spec/fixtures/tables/activity-metadata-3activities.html
2435
- - spec/fixtures/tables/document-metadata-2paragpraphs.html
2436
- - spec/fixtures/tables/document-metadata-2spans.html
2437
- - spec/fixtures/tables/document-metadata.html
2438
- - spec/forms/document_form_spec.rb
2439
- - spec/lib/doc_template/objects/activity_metadata_spec.rb
2440
- - spec/lib/doc_template/objects/agenda_metadata_spec.rb
2441
- - spec/lib/doc_template/objects/base_metadata_spec.rb
2442
- - spec/lib/doc_template/objects/toc_metadata_spec.rb
2443
- - spec/lib/doc_template/tables/activity_spec.rb
2444
- - spec/lib/doc_template/tables/base_spec.rb
2445
- - spec/lib/doc_template/tables/metadata_spec.rb
2446
- - spec/lib/doc_template/tables/shared_examples/remove_table.rb
2447
- - spec/lib/doc_template/tags/answer_space_tag_spec.rb
2448
- - spec/lib/doc_template/tags/base_tag_spec.rb
2449
- - spec/lib/doc_template/tags/columns_tag_spec.rb
2450
- - spec/lib/doc_template/tags/dialogue_tag_spec.rb
2451
- - spec/lib/doc_template/tags/gls_tag_spec.rb
2452
- - spec/lib/doc_template/tags/inset_tag_spec.rb
2453
- - spec/lib/doc_template/tags/language_arts_objectives_tag_spec.rb
2454
- - spec/lib/doc_template/tags/latex_tag_spec.rb
2455
- - spec/lib/doc_template/tags/materials_tag_spec.rb
2456
- - spec/lib/doc_template/tags/multiple_choice_tag_spec.rb
2457
- - spec/lib/doc_template/tags/opt_break_spec.rb
2458
- - spec/lib/doc_template/tags/page_break_tag_spec.rb
2459
- - spec/lib/doc_template/tags/pd_tag_spec.rb
2460
- - spec/lib/doc_template/tags/pv_tag_spec.rb
2461
- - spec/lib/doc_template/tags/smp_tag_spec.rb
2462
- - spec/lib/doc_template/tags/stadard_tag_spec.rb
2463
- - spec/lib/doc_template/tags/table_preserve_alignment_tag_spec.rb
2464
- - spec/lib/doc_template/tags/task_tag_spec.rb
2465
- - spec/lib/doc_template/tags/vocab_tag_spec.rb
2466
- - spec/lib/doc_template/tags/white_placeholder_tag_spec.rb
2467
- - spec/lib/doc_template/tags_spec.rb
2468
- - spec/lib/doc_template/template_spec.rb
2469
- - spec/lib/doc_template_spec.rb
2470
- - spec/lib/document_exporter/docx_spec.rb
2471
- - spec/lib/document_exporter/gdoc_spec.rb
2472
- - spec/lib/lt/lcms/metadata/context_spec.rb
2473
- - spec/lib/lt/lcms/metadata/service_spec.rb
2474
- - spec/lib/text_to_image_spec.rb
2475
- - spec/models/component_spec.rb
2476
- - spec/models/document_bundle_spec.rb
2477
- - spec/models/document_part_spec.rb
2478
- - spec/models/document_spec.rb
2479
- - spec/models/download_spec.rb
2480
- - spec/models/material_spec.rb
2481
- - spec/models/resource_additional_resource_spec.rb
2482
- - spec/models/resource_spec.rb
2483
- - spec/models/search/document_spec.rb
2484
- - spec/models/search/elastic_search_document_spec.rb
2485
- - spec/models/settings_spec.rb
2486
- - spec/models/social_thumbnail_spec.rb
2487
- - spec/models/standard_link_spec.rb
2488
- - spec/models/standard_spec.rb
2489
- - spec/models/tag_spec.rb
2490
- - spec/models/tagging_spec.rb
2491
- - spec/rails_helper.rb
2492
- - spec/requests/admin/curriculum_spec.rb
2493
- - spec/services/document_build_service_spec.rb
2494
- - spec/services/embed_equations_spec.rb
2495
- - spec/services/html_sanitizer_spec.rb
2496
- - spec/spec_helper.rb
2497
- - spec/support/bullet.rb
2498
- - spec/support/capybara.rb
2499
- - spec/support/concerns/navigable.rb
2500
- - spec/support/concerns/searchable.rb
2501
- - spec/support/database_cleaner.rb
2502
- - spec/support/devise.rb
2503
- - spec/support/factory_bot.rb
2504
- - spec/support/feature_helper.rb
2505
- - spec/support/fixture_helper.rb
2506
- - spec/support/resources.rb
2507
- - spec/support/routes.rb
2508
- - spec/support/shared_examples/content_tag.rb
2509
- - spec/support/shoulda_matchers.rb
2414
+ test_files: []