commonwealth-vlr-engine 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +91 -0
  3. data/.gitmodules +3 -0
  4. data/Gemfile +20 -0
  5. data/LICENSE +202 -0
  6. data/README.md +38 -0
  7. data/Rakefile +43 -0
  8. data/app/assets/images/commonwealth-vlr-engine/bplLoginButton.png +0 -0
  9. data/app/assets/images/commonwealth-vlr-engine/dc_audio-icon.png +0 -0
  10. data/app/assets/images/commonwealth-vlr-engine/dc_collection-icon.png +0 -0
  11. data/app/assets/images/commonwealth-vlr-engine/dc_image-icon.png +0 -0
  12. data/app/assets/images/commonwealth-vlr-engine/dc_institution-icon.png +0 -0
  13. data/app/assets/images/commonwealth-vlr-engine/dc_moving-image-icon.png +0 -0
  14. data/app/assets/images/commonwealth-vlr-engine/dc_text-icon.png +0 -0
  15. data/app/assets/images/commonwealth-vlr-engine/facebookLoginButton.png +0 -0
  16. data/app/assets/images/commonwealth-vlr-engine/loading-wdl-grid.gif +0 -0
  17. data/app/assets/images/commonwealth-vlr-engine/loading-wdl.gif +0 -0
  18. data/app/assets/images/commonwealth-vlr-engine/loading.gif +0 -0
  19. data/app/assets/images/commonwealth-vlr-engine/openseadragon/fullpage_grouphover.png +0 -0
  20. data/app/assets/images/commonwealth-vlr-engine/openseadragon/fullpage_hover.png +0 -0
  21. data/app/assets/images/commonwealth-vlr-engine/openseadragon/fullpage_pressed.png +0 -0
  22. data/app/assets/images/commonwealth-vlr-engine/openseadragon/fullpage_rest.png +0 -0
  23. data/app/assets/images/commonwealth-vlr-engine/openseadragon/home_grouphover.png +0 -0
  24. data/app/assets/images/commonwealth-vlr-engine/openseadragon/home_hover.png +0 -0
  25. data/app/assets/images/commonwealth-vlr-engine/openseadragon/home_pressed.png +0 -0
  26. data/app/assets/images/commonwealth-vlr-engine/openseadragon/home_rest.png +0 -0
  27. data/app/assets/images/commonwealth-vlr-engine/openseadragon/next_grouphover.png +0 -0
  28. data/app/assets/images/commonwealth-vlr-engine/openseadragon/next_hover.png +0 -0
  29. data/app/assets/images/commonwealth-vlr-engine/openseadragon/next_pressed.png +0 -0
  30. data/app/assets/images/commonwealth-vlr-engine/openseadragon/next_rest.png +0 -0
  31. data/app/assets/images/commonwealth-vlr-engine/openseadragon/previous_grouphover.png +0 -0
  32. data/app/assets/images/commonwealth-vlr-engine/openseadragon/previous_hover.png +0 -0
  33. data/app/assets/images/commonwealth-vlr-engine/openseadragon/previous_pressed.png +0 -0
  34. data/app/assets/images/commonwealth-vlr-engine/openseadragon/previous_rest.png +0 -0
  35. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateleft_grouphover.png +0 -0
  36. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateleft_hover.png +0 -0
  37. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateleft_pressed.png +0 -0
  38. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateleft_rest.png +0 -0
  39. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateright_grouphover.png +0 -0
  40. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateright_hover.png +0 -0
  41. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateright_pressed.png +0 -0
  42. data/app/assets/images/commonwealth-vlr-engine/openseadragon/rotateright_rest.png +0 -0
  43. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomin_grouphover.png +0 -0
  44. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomin_hover.png +0 -0
  45. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomin_pressed.png +0 -0
  46. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomin_rest.png +0 -0
  47. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomout_grouphover.png +0 -0
  48. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomout_hover.png +0 -0
  49. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomout_pressed.png +0 -0
  50. data/app/assets/images/commonwealth-vlr-engine/openseadragon/zoomout_rest.png +0 -0
  51. data/app/assets/images/commonwealth-vlr-engine/vlr_logo_img.png +0 -0
  52. data/app/assets/javascripts/blacklight_gallery.js +1 -0
  53. data/app/assets/javascripts/blacklight_google_analytics/blacklight_google_analytics.js.erb +165 -0
  54. data/app/assets/javascripts/bootstrap-accessibility-plugin/bootstrap-accessibility.js +586 -0
  55. data/app/assets/javascripts/commonwealth-vlr-engine.js +22 -0
  56. data/app/assets/javascripts/commonwealth-vlr-engine/collection_facets.js +5 -0
  57. data/app/assets/javascripts/commonwealth-vlr-engine/disable_dropdown_nav.js +21 -0
  58. data/app/assets/javascripts/commonwealth-vlr-engine/feedback_alerts.js.erb +19 -0
  59. data/app/assets/javascripts/commonwealth-vlr-engine/folder_tools.js +26 -0
  60. data/app/assets/javascripts/commonwealth-vlr-engine/multi_img_viewer.js.erb +20 -0
  61. data/app/assets/javascripts/commonwealth-vlr-engine/ocr_search_utils.js.erb +32 -0
  62. data/app/assets/javascripts/commonwealth-vlr-engine/volumes_list.js +5 -0
  63. data/app/assets/javascripts/openseadragon.js +2 -0
  64. data/app/assets/javascripts/respond/respond.min.js +6 -0
  65. data/app/assets/javascripts/wdl-viewer/fd-slider.js +1303 -0
  66. data/app/assets/javascripts/wdl-viewer/jquery-deparam.js +113 -0
  67. data/app/assets/javascripts/wdl-viewer/jquery.ba-throttle-debounce.min.js +9 -0
  68. data/app/assets/javascripts/wdl-viewer/jquery.hammer.min.js +7 -0
  69. data/app/assets/javascripts/wdl-viewer/modernizr-wdl.min.js +3 -0
  70. data/app/assets/javascripts/wdl-viewer/wdl-search.js +33 -0
  71. data/app/assets/javascripts/wdl-viewer/wdl-viewer_commonwealth.js +1147 -0
  72. data/app/assets/stylesheets/blacklight_advanced_search.css +5 -0
  73. data/app/assets/stylesheets/blacklight_gallery.css +1 -0
  74. data/app/assets/stylesheets/blacklight_maps.css +1 -0
  75. data/app/assets/stylesheets/bootstrap-accessibility-plugin/bootstrap-accessibility.css +105 -0
  76. data/app/assets/stylesheets/commonwealth-vlr-engine/advanced_search.scss +139 -0
  77. data/app/assets/stylesheets/commonwealth-vlr-engine/basic_search.scss +47 -0
  78. data/app/assets/stylesheets/commonwealth-vlr-engine/book_viewer.scss +576 -0
  79. data/app/assets/stylesheets/commonwealth-vlr-engine/carousel.scss +94 -0
  80. data/app/assets/stylesheets/commonwealth-vlr-engine/cmmnwlth_defaults.scss +45 -0
  81. data/app/assets/stylesheets/commonwealth-vlr-engine/cmmnwlth_shared.scss +75 -0
  82. data/app/assets/stylesheets/commonwealth-vlr-engine/collections.scss +563 -0
  83. data/app/assets/stylesheets/commonwealth-vlr-engine/commonwealth-vlr-engine.css +32 -0
  84. data/app/assets/stylesheets/commonwealth-vlr-engine/facets.scss +111 -0
  85. data/app/assets/stylesheets/commonwealth-vlr-engine/feedback.scss +10 -0
  86. data/app/assets/stylesheets/commonwealth-vlr-engine/folders.scss +276 -0
  87. data/app/assets/stylesheets/commonwealth-vlr-engine/footer.scss +47 -0
  88. data/app/assets/stylesheets/commonwealth-vlr-engine/header.scss +329 -0
  89. data/app/assets/stylesheets/commonwealth-vlr-engine/home.scss +269 -0
  90. data/app/assets/stylesheets/commonwealth-vlr-engine/index.scss +580 -0
  91. data/app/assets/stylesheets/commonwealth-vlr-engine/institutions.scss +246 -0
  92. data/app/assets/stylesheets/commonwealth-vlr-engine/pages.scss +31 -0
  93. data/app/assets/stylesheets/commonwealth-vlr-engine/search_inside.scss +172 -0
  94. data/app/assets/stylesheets/commonwealth-vlr-engine/searches.scss +55 -0
  95. data/app/assets/stylesheets/commonwealth-vlr-engine/show.scss +840 -0
  96. data/app/assets/stylesheets/commonwealth-vlr-engine/signin.scss +43 -0
  97. data/app/assets/stylesheets/commonwealth-vlr-engine/users.scss +18 -0
  98. data/app/assets/stylesheets/commonwealth-vlr-engine/vlr_dependencies.css +8 -0
  99. data/app/assets/stylesheets/ie_fixes.css +16 -0
  100. data/app/assets/stylesheets/openseadragon.css +1 -0
  101. data/app/assets/stylesheets/wdl-viewer/fd-slider.min.css +2 -0
  102. data/app/controllers/blacklight_advanced_search/advanced_controller.rb +66 -0
  103. data/app/controllers/bookmarks_controller.rb +38 -0
  104. data/app/controllers/collections_controller.rb +128 -0
  105. data/app/controllers/commonwealth_vlr_engine/application_controller.rb +8 -0
  106. data/app/controllers/feedback_controller.rb +39 -0
  107. data/app/controllers/folder_items_actions_controller.rb +72 -0
  108. data/app/controllers/folder_items_controller.rb +90 -0
  109. data/app/controllers/folders_controller.rb +132 -0
  110. data/app/controllers/iiif_manifest_controller.rb +74 -0
  111. data/app/controllers/image_viewer_controller.rb +34 -0
  112. data/app/controllers/institutions_controller.rb +62 -0
  113. data/app/controllers/ocr_search_controller.rb +78 -0
  114. data/app/controllers/pages_controller.rb +5 -0
  115. data/app/controllers/users/omniauth_callbacks_controller.rb +10 -0
  116. data/app/controllers/users/registrations_controller.rb +3 -0
  117. data/app/controllers/users/sessions_controller.rb +3 -0
  118. data/app/controllers/users_controller.rb +27 -0
  119. data/app/helpers/blacklight_maps_helper.rb +3 -0
  120. data/app/helpers/collections_helper.rb +3 -0
  121. data/app/helpers/commonwealth_vlr_engine/application_helper.rb +200 -0
  122. data/app/helpers/commonwealth_vlr_engine/blacklight_helper.rb +35 -0
  123. data/app/helpers/commonwealth_vlr_engine/blacklight_url_helper.rb +53 -0
  124. data/app/helpers/commonwealth_vlr_engine/catalog_helper.rb +414 -0
  125. data/app/helpers/commonwealth_vlr_engine/collections_helper_behavior.rb +19 -0
  126. data/app/helpers/commonwealth_vlr_engine/component_helper.rb +22 -0
  127. data/app/helpers/commonwealth_vlr_engine/facets_helper.rb +20 -0
  128. data/app/helpers/commonwealth_vlr_engine/feedback_helper_behavior.rb +14 -0
  129. data/app/helpers/commonwealth_vlr_engine/folders_helper_behavior.rb +9 -0
  130. data/app/helpers/commonwealth_vlr_engine/image_viewer_helper_behavior.rb +14 -0
  131. data/app/helpers/commonwealth_vlr_engine/institutions_helper_behavior.rb +31 -0
  132. data/app/helpers/commonwealth_vlr_engine/layout_helper.rb +22 -0
  133. data/app/helpers/commonwealth_vlr_engine/ocr_search_helper_behavior.rb +48 -0
  134. data/app/helpers/commonwealth_vlr_engine/pages_helper_behavior.rb +38 -0
  135. data/app/helpers/commonwealth_vlr_engine/vlr_blacklight_maps_helper_behavior.rb +59 -0
  136. data/app/helpers/feedback_helper.rb +3 -0
  137. data/app/helpers/folders_helper.rb +3 -0
  138. data/app/helpers/image_viewer_helper.rb +3 -0
  139. data/app/helpers/institutions_helper.rb +3 -0
  140. data/app/helpers/ocr_search_helper.rb +3 -0
  141. data/app/helpers/pages_helper.rb +3 -0
  142. data/app/mailers/notifier.rb +5 -0
  143. data/app/models/carousel_slide.rb +7 -0
  144. data/app/models/record_mailer.rb +18 -0
  145. data/app/models/user.rb +15 -0
  146. data/app/views/advanced/_advanced_search_date.html.erb +23 -0
  147. data/app/views/advanced/_advanced_search_facets.html.erb +5 -0
  148. data/app/views/advanced/_advanced_search_fields.html.erb +39 -0
  149. data/app/views/advanced/_advanced_search_form.html.erb +51 -0
  150. data/app/views/advanced/_advanced_search_help.html.erb +13 -0
  151. data/app/views/advanced/_facet_layout.html.erb +9 -0
  152. data/app/views/advanced/_facet_limit.html.erb +15 -0
  153. data/app/views/advanced/index.html.erb +29 -0
  154. data/app/views/blacklight_advanced_search/_facet_limit.html.erb +12 -0
  155. data/app/views/bookmarks/_tools.html.erb +25 -0
  156. data/app/views/bookmarks/index.html.erb +64 -0
  157. data/app/views/bookmarks/update.js.erb +1 -0
  158. data/app/views/bpluser/folders/_folder.html.erb +36 -0
  159. data/app/views/catalog/_add_this.html.erb +10 -0
  160. data/app/views/catalog/_az_links.html.erb +15 -0
  161. data/app/views/catalog/_basic_search.html.erb +67 -0
  162. data/app/views/catalog/_citation.html.erb +50 -0
  163. data/app/views/catalog/_constraints.html.erb +26 -0
  164. data/app/views/catalog/_document_collections_gallery.html.erb +7 -0
  165. data/app/views/catalog/_facet_limit_series.html.erb +21 -0
  166. data/app/views/catalog/_facets.html.erb +31 -0
  167. data/app/views/catalog/_facets_series.html.erb +4 -0
  168. data/app/views/catalog/_folder_item_control.html.erb +64 -0
  169. data/app/views/catalog/_index_collections_gallery.html.erb +12 -0
  170. data/app/views/catalog/_index_gallery.html.erb +11 -0
  171. data/app/views/catalog/_index_header_default.html.erb +22 -0
  172. data/app/views/catalog/_index_list_collection.html.erb +33 -0
  173. data/app/views/catalog/_index_list_default.html.erb +13 -0
  174. data/app/views/catalog/_index_map_institutions.html.erb +10 -0
  175. data/app/views/catalog/_index_masonry.html.erb +8 -0
  176. data/app/views/catalog/_index_slideshow.html.erb +18 -0
  177. data/app/views/catalog/_more_like_this.html.erb +9 -0
  178. data/app/views/catalog/_opengraph.html.erb +16 -0
  179. data/app/views/catalog/_previous_next_doc.html.erb +22 -0
  180. data/app/views/catalog/_results_pagination.html.erb +9 -0
  181. data/app/views/catalog/_search_form.html.erb +23 -0
  182. data/app/views/catalog/_search_header.html.erb +5 -0
  183. data/app/views/catalog/_show_default.html.erb +75 -0
  184. data/app/views/catalog/_show_main_content.html.erb +27 -0
  185. data/app/views/catalog/_show_more_like_this.html.erb +15 -0
  186. data/app/views/catalog/_show_partials/_show_book_viewer_link.html.erb +25 -0
  187. data/app/views/catalog/_show_partials/_show_default_img.html.erb +32 -0
  188. data/app/views/catalog/_show_partials/_show_default_metadata.html.erb +486 -0
  189. data/app/views/catalog/_show_partials/_show_default_simple_img_viewer.html.erb +45 -0
  190. data/app/views/catalog/_show_partials/_show_downloads.html.erb +14 -0
  191. data/app/views/catalog/_show_partials/_show_flagged_notice.html.erb +29 -0
  192. data/app/views/catalog/_show_partials/_show_multi_img.html.erb +42 -0
  193. data/app/views/catalog/_show_partials/_show_multi_img_pagination.html.erb +20 -0
  194. data/app/views/catalog/_show_partials/_show_oai_item_img.html.erb +5 -0
  195. data/app/views/catalog/_show_partials/_show_oai_item_link.html.erb +8 -0
  196. data/app/views/catalog/_show_partials/_show_prev_next_carousel_links.html.erb +17 -0
  197. data/app/views/catalog/_show_partials/_show_volumes.html.erb +52 -0
  198. data/app/views/catalog/_show_sidebar.html.erb +1 -0
  199. data/app/views/catalog/_show_tools.html.erb +42 -0
  200. data/app/views/catalog/_zero_results.html.erb +20 -0
  201. data/app/views/catalog/email.html.erb +6 -0
  202. data/app/views/catalog/index.html.erb +17 -0
  203. data/app/views/catalog/metadata_view.html.erb +7 -0
  204. data/app/views/catalog/show.html.erb +13 -0
  205. data/app/views/collections/_search_form_collection.html.erb +23 -0
  206. data/app/views/collections/index.html.erb +30 -0
  207. data/app/views/collections/show.html.erb +116 -0
  208. data/app/views/devise/confirmations/new.html.erb +14 -0
  209. data/app/views/devise/mailer/reset_password_instructions.html.erb +13 -0
  210. data/app/views/devise/passwords/edit.html.erb +33 -0
  211. data/app/views/devise/passwords/new.html.erb +31 -0
  212. data/app/views/devise/registrations/edit.html.erb +83 -0
  213. data/app/views/devise/registrations/new.html.erb +53 -0
  214. data/app/views/devise/sessions/new.html.erb +75 -0
  215. data/app/views/devise/shared/_links.erb +29 -0
  216. data/app/views/feedback/complete.html.erb +9 -0
  217. data/app/views/feedback/show.html.erb +61 -0
  218. data/app/views/folder_items/create.js.erb +1 -0
  219. data/app/views/folder_items/destroy.js.erb +1 -0
  220. data/app/views/folder_items/item_actions.js.erb +2 -0
  221. data/app/views/folder_items/update.js.erb +1 -0
  222. data/app/views/folders/_in_folder.html.erb +2 -0
  223. data/app/views/folders/_new_edit_form_fields.html.erb +36 -0
  224. data/app/views/folders/edit.html.erb +25 -0
  225. data/app/views/folders/index.html.erb +73 -0
  226. data/app/views/folders/new.html.erb +27 -0
  227. data/app/views/folders/public_list.html.erb +44 -0
  228. data/app/views/folders/show.html.erb +98 -0
  229. data/app/views/image_viewer/_book_viewer_help.html.erb +125 -0
  230. data/app/views/image_viewer/_render_book_viewer.html.erb +185 -0
  231. data/app/views/image_viewer/book_viewer.html.erb +57 -0
  232. data/app/views/image_viewer/show.js.erb +19 -0
  233. data/app/views/institutions/_intro_text.html.erb +1 -0
  234. data/app/views/institutions/_map_institutions_search.html.erb +9 -0
  235. data/app/views/institutions/_search_form_institution.html.erb +24 -0
  236. data/app/views/institutions/index.html.erb +31 -0
  237. data/app/views/institutions/show.html.erb +104 -0
  238. data/app/views/layouts/_google_analytics.html.erb +9 -0
  239. data/app/views/layouts/book_viewer.html.erb +37 -0
  240. data/app/views/layouts/commonwealth-vlr-engine.html.erb +59 -0
  241. data/app/views/notifier/feedback.text.erb +6 -0
  242. data/app/views/ocr_search/_index_ocr_list.html.erb +17 -0
  243. data/app/views/ocr_search/_search_form_ocr.html.erb +23 -0
  244. data/app/views/ocr_search/_snippets_more.html.erb +15 -0
  245. data/app/views/ocr_search/_zero_results_ocr.html.erb +9 -0
  246. data/app/views/ocr_search/index.html.erb +49 -0
  247. data/app/views/pages/_carousel.html.erb +46 -0
  248. data/app/views/pages/_home_partials/_banner.html.erb +23 -0
  249. data/app/views/pages/_home_partials/_browse.html.erb +55 -0
  250. data/app/views/pages/_home_partials/_context.html.erb +24 -0
  251. data/app/views/pages/_home_partials/_home_content.html.erb +14 -0
  252. data/app/views/pages/about.html.erb +10 -0
  253. data/app/views/pages/about_site.html.erb +6 -0
  254. data/app/views/pages/explore.html.erb +32 -0
  255. data/app/views/pages/home.html.erb +3 -0
  256. data/app/views/record_mailer/email_record.text.erb +7 -0
  257. data/app/views/saved_searches/index.html.erb +60 -0
  258. data/app/views/search_history/index.html.erb +59 -0
  259. data/app/views/shared/_error_messages.html.erb +9 -0
  260. data/app/views/shared/_flash_msg_maintenance.html.erb +6 -0
  261. data/app/views/shared/_folder_item_actions.html.erb +66 -0
  262. data/app/views/shared/_folder_tools.html.erb +4 -0
  263. data/app/views/shared/_footer.html.erb +14 -0
  264. data/app/views/shared/_header_navbar.html.erb +34 -0
  265. data/app/views/shared/_nav_links.html.erb +58 -0
  266. data/app/views/shared/_search_form_header.html.erb +16 -0
  267. data/app/views/shared/_tools.html.erb +14 -0
  268. data/app/views/shared/_user_util_links.html.erb +43 -0
  269. data/app/views/users/show.html.erb +33 -0
  270. data/commonwealth-vlr-engine.gemspec +47 -0
  271. data/config/initializers/patch_blacklight_advanced_search.rb +74 -0
  272. data/config/initializers/patch_blacklight_maps.rb +20 -0
  273. data/config/jetty.yml +7 -0
  274. data/config/locales/commonwealth-vlr-engine.en.yml +463 -0
  275. data/config/routes.rb +92 -0
  276. data/lib/commonwealth-vlr-engine.rb +55 -0
  277. data/lib/commonwealth-vlr-engine/commonwealth_search_builder.rb +66 -0
  278. data/lib/commonwealth-vlr-engine/controller.rb +69 -0
  279. data/lib/commonwealth-vlr-engine/controller_override.rb +238 -0
  280. data/lib/commonwealth-vlr-engine/engine.rb +40 -0
  281. data/lib/commonwealth-vlr-engine/finder.rb +285 -0
  282. data/lib/commonwealth-vlr-engine/iiif_manifest.rb +189 -0
  283. data/lib/commonwealth-vlr-engine/notifier.rb +33 -0
  284. data/lib/commonwealth-vlr-engine/pages.rb +33 -0
  285. data/lib/commonwealth-vlr-engine/render_constraints_override.rb +57 -0
  286. data/lib/commonwealth-vlr-engine/route_sets.rb +49 -0
  287. data/lib/commonwealth-vlr-engine/routes.rb +21 -0
  288. data/lib/commonwealth-vlr-engine/version.rb +3 -0
  289. data/lib/generators/commonwealth_vlr_engine/controller_generator.rb +92 -0
  290. data/lib/generators/commonwealth_vlr_engine/environment_generator.rb +49 -0
  291. data/lib/generators/commonwealth_vlr_engine/install_generator.rb +57 -0
  292. data/lib/generators/commonwealth_vlr_engine/localassets_generator.rb +29 -0
  293. data/lib/generators/commonwealth_vlr_engine/model_generator.rb +65 -0
  294. data/lib/generators/commonwealth_vlr_engine/routes_generator.rb +39 -0
  295. data/lib/generators/commonwealth_vlr_engine/templates/commonwealth_vlr_engine.css.scss +4 -0
  296. data/lib/generators/commonwealth_vlr_engine/templates/config/contact_emails.yml.sample +13 -0
  297. data/lib/generators/commonwealth_vlr_engine/templates/config/fedora.yml.sample +6 -0
  298. data/lib/generators/commonwealth_vlr_engine/templates/config/geojson_static_file.yml.sample +11 -0
  299. data/lib/generators/commonwealth_vlr_engine/templates/config/google_analytics.yml.sample +10 -0
  300. data/lib/generators/commonwealth_vlr_engine/templates/config/iiif_server.yml.sample +10 -0
  301. data/lib/generators/commonwealth_vlr_engine/templates/config/initializers/a_load_commonwealth_vlr_configs.rb +14 -0
  302. data/lib/generators/commonwealth_vlr_engine/templates/config/initializers/devise.rb +269 -0
  303. data/lib/generators/commonwealth_vlr_engine/templates/config/initializers/secret_token.rb +8 -0
  304. data/lib/generators/commonwealth_vlr_engine/templates/config/locales/blacklight.en.yml +44 -0
  305. data/lib/generators/commonwealth_vlr_engine/templates/config/locales/devise.en.yml +12 -0
  306. data/lib/generators/commonwealth_vlr_engine/templates/config/omniauth-facebook.yml.sample +14 -0
  307. data/lib/generators/commonwealth_vlr_engine/templates/config/omniauth-polaris.yml.sample +20 -0
  308. data/lib/generators/commonwealth_vlr_engine/templates/config/vlr.yml +13 -0
  309. data/lib/generators/commonwealth_vlr_engine/yml_generator.rb +29 -0
  310. data/lib/railties/commonwealth_vlr_engine.rake +6 -0
  311. data/solr_conf/conf/schema.xml +476 -0
  312. data/solr_conf/conf/solrconfig.xml +286 -0
  313. data/spec/controllers/catalog_controller_spec.rb +67 -0
  314. data/spec/controllers/collections_controller_spec.rb +127 -0
  315. data/spec/controllers/feedback_controller_spec.rb +51 -0
  316. data/spec/controllers/folder_items_actions_controller_spec.rb +99 -0
  317. data/spec/controllers/folder_items_controller_spec.rb +90 -0
  318. data/spec/controllers/folders_controller_spec.rb +368 -0
  319. data/spec/controllers/iiif_manifest_controller_spec.rb +85 -0
  320. data/spec/controllers/image_viewer_controller_spec.rb +50 -0
  321. data/spec/controllers/institutions_controller_spec.rb +64 -0
  322. data/spec/controllers/ocr_search_controller_spec.rb +71 -0
  323. data/spec/controllers/pages_controller_spec.rb +58 -0
  324. data/spec/controllers/users_controller_spec.rb +62 -0
  325. data/spec/features/catalog/_az_links_spec.rb +27 -0
  326. data/spec/features/catalog/_show_partials/_show_book_viewer_link_spec.rb +47 -0
  327. data/spec/features/catalog/_show_partials/_show_default_simple_img_viewer_spec.rb +19 -0
  328. data/spec/features/catalog/_show_partials/_show_flagged_notice_spec.rb +23 -0
  329. data/spec/features/catalog/_show_partials/_show_multi_img_spec.rb +18 -0
  330. data/spec/features/catalog/_show_partials/_show_volumes_spec.rb +24 -0
  331. data/spec/features/collections/index_spec.rb +35 -0
  332. data/spec/features/feedback/show_spec.rb +47 -0
  333. data/spec/features/image_viewer/book_viewer_spec.rb +67 -0
  334. data/spec/features/institutions/index_spec.rb +31 -0
  335. data/spec/features/institutions/map_view_spec.rb +37 -0
  336. data/spec/features/more_like_this_search_spec.rb +23 -0
  337. data/spec/features/ocr_search/index_spec.rb +89 -0
  338. data/spec/fixtures/sample_rss_feed.xml +56 -0
  339. data/spec/fixtures/sample_solr_documents.yml +2748 -0
  340. data/spec/helpers/application_helper_spec.rb +114 -0
  341. data/spec/helpers/catalog_helper_spec.rb +386 -0
  342. data/spec/helpers/collections_helper_spec.rb +28 -0
  343. data/spec/helpers/component_helper_spec.rb +34 -0
  344. data/spec/helpers/folders_helper_spec.rb +31 -0
  345. data/spec/helpers/image_viewer_helper_spec.rb +15 -0
  346. data/spec/helpers/institutions_helper_spec.rb +53 -0
  347. data/spec/helpers/ocr_search_helper_spec.rb +70 -0
  348. data/spec/helpers/pages_helper_spec.rb +21 -0
  349. data/spec/lib/commonwealth-vlr-engine/commonwealth_search_builder_spec.rb +101 -0
  350. data/spec/lib/commonwealth-vlr-engine/controller_override_spec.rb +41 -0
  351. data/spec/lib/commonwealth-vlr-engine/controller_spec.rb +33 -0
  352. data/spec/lib/commonwealth-vlr-engine/finder_spec.rb +140 -0
  353. data/spec/lib/commonwealth-vlr-engine/iiif_manifest_spec.rb +157 -0
  354. data/spec/lib/commonwealth-vlr-engine/render_constraints_override_spec.rb +97 -0
  355. data/spec/mailers/notifier_spec.rb +31 -0
  356. data/spec/models/carousel_slide_spec.rb +38 -0
  357. data/spec/spec_helper.rb +40 -0
  358. data/spec/tasks/vlr_engine_rake_spec.rb +28 -0
  359. data/spec/test_app_templates/lib/generators/test_app_generator.rb +23 -0
  360. data/tasks/vlr_engine.rake +46 -0
  361. metadata +788 -0
@@ -0,0 +1,39 @@
1
+ require 'rails/generators'
2
+
3
+ module CommonwealthVlrEngine
4
+ class RoutesGenerator < Rails::Generators::Base
5
+
6
+ source_root File.expand_path('../templates', __FILE__)
7
+
8
+ desc """
9
+ This generator makes the following changes to your application:
10
+ 1. Injects route declarations into your routes.rb
11
+ 2. Removes default routes from basic Blacklight install.
12
+ Thank you for installing Commonwealth VLR.
13
+ """
14
+
15
+ # Add CommonwealthVlrEngine to the routes
16
+ def inject_vlr_routes
17
+ unless IO.read("config/routes.rb").include?('CommonwealthVlrEngine::Engine')
18
+ marker = 'Rails.application.routes.draw do'
19
+ insert_into_file "config/routes.rb", :after => marker do
20
+ %q{
21
+
22
+ root :to => 'pages#home'
23
+
24
+ # routes for CommonwealthVlrEngine
25
+ mount CommonwealthVlrEngine::Engine => '/commonwealth-vlr-engine'
26
+
27
+ # user authentication
28
+ devise_for :users, :controllers => {:omniauth_callbacks => "users/omniauth_callbacks", :registrations => "users/registrations", :sessions => "users/sessions"}
29
+ }
30
+ end
31
+
32
+ bl_root_marker = 'root to: "catalog#index"'
33
+ gsub_file("config/routes.rb", bl_root_marker, "")
34
+
35
+ end
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,4 @@
1
+ /* this file imports the styles for commonwealth-vlr-engine */
2
+ /* $header_logo_image: 'your_header_logo_file.png'; /* uncomment this line to use local image for header */
3
+ /* $footer_logo_image: 'your_footer_logo_file.png'; /* uncomment this line to use local image for footer */
4
+ @import 'commonwealth-vlr-engine/commonwealth-vlr-engine';
@@ -0,0 +1,13 @@
1
+ # stores contact emails for BPL and DC contacts
2
+
3
+ development:
4
+ site_admin: site_admin_email_address@example.org
5
+ image_requests: image_requests_email_address@example.org
6
+
7
+ test:
8
+ site_admin: site_admin_email_address@example.org
9
+ image_requests: image_requests_email_address@example.org
10
+
11
+ production:
12
+ site_admin: site_admin_email_address@example.org
13
+ image_requests: image_requests_email_address@example.org
@@ -0,0 +1,6 @@
1
+ development:
2
+ url: http://127.0.0.1:8983/fedora
3
+ test: &TEST
4
+ url: <%= "http://127.0.0.1:#{ENV['TEST_JETTY_PORT'] || 8983}/fedora-test" %>
5
+ production:
6
+ url: http://your.production.server:8080/fedora
@@ -0,0 +1,11 @@
1
+ # stores path to static file with GeoJSON FeatureCollection for catalog#map
2
+ # Rails.root.to_s + '/' must be appended by methods calling this value (makes specs easier)
3
+
4
+ development:
5
+ filepath: 'lib/assets/static_geojson_catalog-map.json'
6
+
7
+ test:
8
+ filepath: 'lib/assets/static_geojson_catalog-map.json'
9
+
10
+ production:
11
+ filepath: 'lib/assets/static_geojson_catalog-map.json'
@@ -0,0 +1,10 @@
1
+ # stores Google Analytics web property id
2
+
3
+ development:
4
+ web_property_id:
5
+
6
+ test:
7
+ web_property_id:
8
+
9
+ production:
10
+ web_property_id:
@@ -0,0 +1,10 @@
1
+ # stores IIIF image server url
2
+
3
+ development:
4
+ url: http://iiifserver.example.org/
5
+
6
+ test:
7
+ url:
8
+
9
+ production:
10
+ url:
@@ -0,0 +1,14 @@
1
+ # various app-specific config settings
2
+ # use file name "a_load_commonwealth_vlr_configs" so Rails loads this file before other initializers
3
+
4
+ FEDORA_URL = YAML.load_file(Rails.root.join('config', 'fedora.yml'))[Rails.env]
5
+
6
+ GOOGLE_ANALYTICS = YAML.load_file(Rails.root.join('config', 'google_analytics.yml'))[Rails.env]
7
+
8
+ CONTACT_EMAILS = YAML.load_file(Rails.root.join('config', 'contact_emails.yml'))[Rails.env]
9
+
10
+ IIIF_SERVER = YAML.load_file(Rails.root.join('config', 'iiif_server.yml'))[Rails.env]
11
+
12
+ GEOJSON_STATIC_FILE = YAML.load_file(Rails.root.join('config', 'geojson_static_file.yml'))[Rails.env]
13
+
14
+ SECRETS = YAML.load_file(Rails.root.join('config', 'secrets.yml'))[Rails.env]
@@ -0,0 +1,269 @@
1
+ # Use this hook to configure devise mailer, warden hooks and so forth.
2
+ # Many of these configuration options can be set straight in your model.
3
+ Devise.setup do |config|
4
+
5
+ # Rails 4 upgrade
6
+ config.secret_key = SECRETS['devise_secret_key']
7
+
8
+ # ==> Mailer Configuration
9
+ # Configure the e-mail address which will be shown in Devise::Mailer,
10
+ # note that it will be overwritten if you use your own mailer class with default "from" parameter.
11
+ config.mailer_sender = CONTACT_EMAILS['site_admin']
12
+
13
+ # Configure the class responsible to send e-mails.
14
+ # config.mailer = "Devise::Mailer"
15
+
16
+ # ==> ORM configuration
17
+ # Load and configure the ORM. Supports :active_record (default) and
18
+ # :mongoid (bson_ext recommended) by default. Other ORMs may be
19
+ # available as additional gems.
20
+ require 'devise/orm/active_record'
21
+
22
+ # ==> Configuration for any authentication mechanism
23
+ # Configure which keys are used when authenticating a user. The default is
24
+ # just :email. You can configure it to use [:username, :subdomain], so for
25
+ # authenticating a user, both parameters are required. Remember that those
26
+ # parameters are used only when authenticating and not when retrieving from
27
+ # session. If you need permissions, you should implement that in a before filter.
28
+ # You can also supply a hash where the value is a boolean determining whether
29
+ # or not authentication should be aborted when the value is not present.
30
+
31
+ # fix-login fix!
32
+ # config.authentication_keys = [ :uid, :provider ]
33
+ config.authentication_keys = [ :uid ]
34
+
35
+ # Configure parameters from the request object used for authentication. Each entry
36
+ # given should be a request method and it will automatically be passed to the
37
+ # find_for_authentication method and considered in your model lookup. For instance,
38
+ # if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
39
+ # The same considerations mentioned for authentication_keys also apply to request_keys.
40
+ # config.request_keys = []
41
+
42
+ # Configure which authentication keys should be case-insensitive.
43
+ # These keys will be downcased upon creating or modifying a user and when used
44
+ # to authenticate or find a user. Default is :email.
45
+
46
+ # fix-login fix!
47
+ # config.case_insensitive_keys = [ :uid, :provider ]
48
+ config.case_insensitive_keys = [ :uid ]
49
+
50
+ # Configure which authentication keys should have whitespace stripped.
51
+ # These keys will have whitespace before and after removed upon creating or
52
+ # modifying a user and when used to authenticate or find a user. Default is :email.
53
+
54
+ # fix-login fix!
55
+ # config.strip_whitespace_keys = [ :uid, :provider ]
56
+ config.strip_whitespace_keys = [ :uid ]
57
+
58
+ # Tell if authentication through request.params is enabled. True by default.
59
+ # It can be set to an array that will enable params authentication only for the
60
+ # given strategies, for example, `config.params_authenticatable = [:database]` will
61
+ # enable it only for database (email + password) authentication.
62
+ # config.params_authenticatable = true
63
+
64
+ # Tell if authentication through HTTP Basic Auth is enabled. False by default.
65
+ # It can be set to an array that will enable http authentication only for the
66
+ # given strategies, for example, `config.http_authenticatable = [:token]` will
67
+ # enable it only for token authentication.
68
+ # config.http_authenticatable = false
69
+
70
+ # If http headers should be returned for AJAX requests. True by default.
71
+ # config.http_authenticatable_on_xhr = true
72
+
73
+ # The realm used in Http Basic Authentication. "Application" by default.
74
+ # config.http_authentication_realm = "Application"
75
+
76
+ # It will change confirmation, password recovery and other workflows
77
+ # to behave the same regardless if the e-mail provided was right or wrong.
78
+ # Does not affect registerable.
79
+ # config.paranoid = true
80
+
81
+ # By default Devise will store the user in session. You can skip storage for
82
+ # :http_auth and :token_auth by adding those symbols to the array below.
83
+ # Notice that if you are skipping storage for all authentication paths, you
84
+ # may want to disable generating routes to Devise's sessions controller by
85
+ # passing :skip => :sessions to `devise_for` in your config/routes.rb
86
+ config.skip_session_storage = [:http_auth]
87
+
88
+ # ==> Configuration for :database_authenticatable
89
+ # For bcrypt, this is the cost for hashing the password and defaults to 10. If
90
+ # using other encryptors, it sets how many times you want the password re-encrypted.
91
+ #
92
+ # Limiting the stretches to just one in testing will increase the performance of
93
+ # your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
94
+ # a value less than 10 in other environments.
95
+ config.stretches = Rails.env.test? ? 1 : 10
96
+
97
+ # Setup a pepper to generate the encrypted password.
98
+ # config.pepper = "9f1215eee7c0a54ea396a8127aa2b80279e6d60d7df395f39d01ea32db6e073c9617d18c098817a3a60bda550f07feab9ceed36d2f66c9294725d74b3c8b645d"
99
+
100
+ # ==> Configuration for :confirmable
101
+ # A period that the user is allowed to access the website even without
102
+ # confirming his account. For instance, if set to 2.days, the user will be
103
+ # able to access the website for two days without confirming his account,
104
+ # access will be blocked just in the third day. Default is 0.days, meaning
105
+ # the user cannot access the website without confirming his account.
106
+ # config.allow_unconfirmed_access_for = 2.days
107
+
108
+ # If true, requires any email changes to be confirmed (exactly the same way as
109
+ # initial account confirmation) to be applied. Requires additional unconfirmed_email
110
+ # db field (see migrations). Until confirmed new email is stored in
111
+ # unconfirmed email column, and copied to email column on successful confirmation.
112
+ config.reconfirmable = true
113
+
114
+ # Defines which key will be used when confirming an account
115
+ # config.confirmation_keys = [ :email ]
116
+
117
+ # ==> Configuration for :rememberable
118
+ # The time the user will be remembered without asking for credentials again.
119
+ # config.remember_for = 2.weeks
120
+
121
+ # If true, extends the user's remember period when remembered via cookie.
122
+ # config.extend_remember_period = false
123
+
124
+ # Options to be passed to the created cookie. For instance, you can set
125
+ # :secure => true in order to force SSL only cookies.
126
+ # config.rememberable_options = {}
127
+
128
+ # ==> Configuration for :validatable
129
+ # Range for password length. Default is 6..128.
130
+
131
+ # fix-login fix
132
+ # config.password_length = 6..128
133
+ config.password_length = 6..128
134
+
135
+ # Email regex used to validate email formats. It simply asserts that
136
+ # an one (and only one) @ exists in the given string. This is mainly
137
+ # to give user feedback and not to assert the e-mail validity.
138
+ # config.email_regexp = /\A[^@]+@[^@]+\z/
139
+
140
+ # ==> Configuration for :timeoutable
141
+ # The time you want to timeout the user session without activity. After this
142
+ # time the user will be asked for credentials again. Default is 30 minutes.
143
+ # config.timeout_in = 30.minutes
144
+
145
+ # If true, expires auth token on session timeout.
146
+ # config.expire_auth_token_on_timeout = false
147
+
148
+ # ==> Configuration for :lockable
149
+ # Defines which strategy will be used to lock an account.
150
+ # :failed_attempts = Locks an account after a number of failed attempts to sign in.
151
+ # :none = No lock strategy. You should handle locking by yourself.
152
+ # config.lock_strategy = :failed_attempts
153
+
154
+ # Defines which key will be used when locking and unlocking an account
155
+ # config.unlock_keys = [ :email ]
156
+
157
+ # Defines which strategy will be used to unlock an account.
158
+ # :email = Sends an unlock link to the user email
159
+ # :time = Re-enables login after a certain amount of time (see :unlock_in below)
160
+ # :both = Enables both strategies
161
+ # :none = No unlock strategy. You should handle unlocking by yourself.
162
+ # config.unlock_strategy = :both
163
+
164
+ # Number of authentication tries before locking an account if lock_strategy
165
+ # is failed attempts.
166
+ # config.maximum_attempts = 20
167
+
168
+ # Time interval to unlock the account if :time is enabled as unlock_strategy.
169
+ # config.unlock_in = 1.hour
170
+
171
+ # ==> Configuration for :recoverable
172
+ #
173
+ # Defines which key will be used when recovering the password for an account
174
+ # config.reset_password_keys = [ :email ]
175
+
176
+ # Time interval you can reset your password with a reset password key.
177
+ # Don't put a too small interval or your users won't have the time to
178
+ # change their passwords.
179
+ config.reset_password_within = 6.hours
180
+
181
+ # ==> Configuration for :encryptable
182
+ # Allow you to use another encryption algorithm besides bcrypt (default). You can use
183
+ # :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
184
+ # :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
185
+ # and :restful_authentication_sha1 (then you should set stretches to 10, and copy
186
+ # REST_AUTH_SITE_KEY to pepper)
187
+ # config.encryptor = :sha512
188
+
189
+ # ==> Configuration for :token_authenticatable
190
+ # Defines name of the authentication token params key
191
+ # config.token_authentication_key = :auth_token
192
+
193
+ # ==> Scopes configuration
194
+ # Turn scoped views on. Before rendering "sessions/new", it will first check for
195
+ # "users/sessions/new". It's turned off by default because it's slower if you
196
+ # are using only default views.
197
+ # config.scoped_views = false
198
+
199
+ # Configure the default scope given to Warden. By default it's the first
200
+ # devise role declared in your routes (usually :user).
201
+ # config.default_scope = :user
202
+
203
+ # Set this configuration to false if you want /users/sign_out to sign out
204
+ # only the current scope. By default, Devise signs out all scopes.
205
+ # config.sign_out_all_scopes = true
206
+
207
+ # ==> Navigation configuration
208
+ # Lists the formats that should be treated as navigational. Formats like
209
+ # :html, should redirect to the sign in page when the user does not have
210
+ # access, but formats like :xml or :json, should return 401.
211
+ #
212
+ # If you have any extra navigational formats, like :iphone or :mobile, you
213
+ # should add them to the navigational formats lists.
214
+ #
215
+ # The "*/*" below is required to match Internet Explorer requests.
216
+ # config.navigational_formats = ["*/*", :html]
217
+
218
+ # The default HTTP method used to sign out a resource. Default is :delete.
219
+ config.sign_out_via = :get
220
+
221
+ # ==> OmniAuth
222
+ # Add a new OmniAuth provider. Check the wiki for more information on setting
223
+ # up on your models and hooks.
224
+ # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
225
+ #config.omniauth :ldap, :title => 'BPL admin ldap',
226
+ # :host => Hydra::LDAP.ldap_config[:host],
227
+ # :base => Hydra::LDAP.ldap_config[:base],
228
+ # :uid => Hydra::LDAP.ldap_config[:uid],
229
+ # :port => Hydra::LDAP.ldap_config[:port],
230
+ # :bind_dn => Hydra::LDAP.ldap_config[:username],
231
+ # :password => Hydra::LDAP.ldap_config[:password]
232
+
233
+ # fix-login fix
234
+ #config.omniauth :password, :title => 'BPL local account login',
235
+ # :login_field => :username
236
+
237
+ OMNIAUTH_POLARIS_GLOBAL = YAML.load_file(Rails.root.join('config', 'omniauth-polaris.yml'))[Rails.env]
238
+ config.omniauth :polaris, :title => OMNIAUTH_POLARIS_GLOBAL['title'],
239
+ :http_uri => OMNIAUTH_POLARIS_GLOBAL['http_uri'],
240
+ :access_key => OMNIAUTH_POLARIS_GLOBAL['access_key'],
241
+ :access_id => OMNIAUTH_POLARIS_GLOBAL['access_id'],
242
+ :method => OMNIAUTH_POLARIS_GLOBAL['method']
243
+
244
+ OMNIAUTH_FACEBOOK_GLOBAL = YAML.load_file(Rails.root.join('config', 'omniauth-facebook.yml'))[Rails.env]
245
+ config.omniauth :facebook, OMNIAUTH_FACEBOOK_GLOBAL['facebook_key'], OMNIAUTH_FACEBOOK_GLOBAL['facebook_secret'], :scope=>OMNIAUTH_FACEBOOK_GLOBAL['facebook_scope']
246
+
247
+ # ==> Warden configuration
248
+ # If you want to use other strategies, that are not supported by Devise, or
249
+ # change the failure app, you can configure them inside the config.warden block.
250
+ #
251
+ # config.warden do |manager|
252
+ # manager.intercept_401 = false
253
+ # manager.default_strategies(:scope => :user).unshift :some_external_strategy
254
+ # end
255
+
256
+ # ==> Mountable engine configurations
257
+ # When using Devise inside an engine, let's call it `MyEngine`, and this engine
258
+ # is mountable, there are some extra configurations to be taken into account.
259
+ # The following options are available, assuming the engine is mounted as:
260
+ #
261
+ # mount MyEngine, at: "/my_engine"
262
+ #
263
+ # The router that invoked `devise_for`, in the example above, would be:
264
+ # config.router_name = :my_engine
265
+ #
266
+ # When using omniauth, Devise cannot automatically set Omniauth path,
267
+ # so you need to do it manually. For the users scope, it would be:
268
+ # config.omniauth_path_prefix = "/my_engine/users/auth"
269
+ end
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+
8
+ Rails.application.config.secret_key_base = SECRETS['secret_key_base']
@@ -0,0 +1,44 @@
1
+ # this file contains site-specific values
2
+ en:
3
+
4
+ blacklight:
5
+
6
+ application_name: 'Totally Awesome Library Digital Collections'
7
+ application_desc: 'This site provides access to materials of historical interest from this totally awesome library.'
8
+
9
+ email:
10
+ reply_to: 'reply_to_email_address@exmaple.org'
11
+ record_mailer:
12
+ name: 'Totally Awesome Library'
13
+ email: 'reply_to_email_address@exmaple.org'
14
+ text:
15
+ subject: 'Totally Awesome Library E-mail: link to item'
16
+
17
+ feedback:
18
+ text:
19
+ subject: 'Totally Awesome Library Digital Collections: contact email'
20
+
21
+ footer:
22
+ address: '123 Main Street, Anywhere, MA 01234'
23
+
24
+ home:
25
+ banner:
26
+ center_text: 'Explore historical collections from this totally awesome library.'
27
+ browse:
28
+ maps:
29
+ enabled: true
30
+ collections:
31
+ enabled: true
32
+ institutions:
33
+ enabled: false
34
+ formats:
35
+ enabled: true
36
+ context:
37
+ about:
38
+ title: 'About This Site'
39
+ text: 'This site provides access to materials of historical interest from this totally awesome library.'
40
+ news:
41
+ title: 'News & Announcements'
42
+ rss_link: 'http://awesomelibrary.org/blog?feed=rss2'
43
+ blog_title: 'This Awesome Library Blog'
44
+ blog_url: 'https://awesomelibrary.org/blog'