geoblacklight 4.0.0 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +21 -6
  3. data/.solr_wrapper +1 -0
  4. data/.standard.yml +1 -0
  5. data/Gemfile +13 -11
  6. data/README.md +1 -1
  7. data/Rakefile +42 -50
  8. data/app/assets/images/blacklight/american-geographical-society-library-uwm-libraries.svg +26 -0
  9. data/app/assets/images/blacklight/arizona.svg +4 -0
  10. data/app/assets/images/blacklight/circle-info-solid.svg +1 -0
  11. data/app/assets/images/blacklight/fire-solid.svg +1 -0
  12. data/app/assets/images/blacklight/lightbulb-solid.svg +1 -0
  13. data/app/assets/images/blacklight/nebraska.svg +4 -0
  14. data/app/assets/images/blacklight/rutgers.svg +5 -0
  15. data/app/assets/images/blacklight/triangle-exclamation-solid.svg +1 -0
  16. data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +8 -0
  17. data/app/components/geoblacklight/display_note_component.html.erb +1 -0
  18. data/app/components/geoblacklight/display_note_component.rb +47 -0
  19. data/app/components/geoblacklight/icon_facet_item_component.rb +2 -2
  20. data/app/controllers/download_controller.rb +36 -37
  21. data/app/controllers/relation_controller.rb +1 -0
  22. data/app/controllers/wms_controller.rb +1 -0
  23. data/app/helpers/arcgis_helper.rb +2 -1
  24. data/app/helpers/blacklight_helper.rb +2 -1
  25. data/app/helpers/carto_helper.rb +3 -2
  26. data/app/helpers/geoblacklight/geoblacklight_helper_behavior.rb +2 -1
  27. data/app/helpers/geoblacklight_helper.rb +44 -36
  28. data/app/models/concerns/geoblacklight/bbox_filter_query.rb +1 -1
  29. data/app/models/concerns/geoblacklight/solr_document/arcgis.rb +1 -0
  30. data/app/models/concerns/geoblacklight/solr_document/carto.rb +1 -0
  31. data/app/models/concerns/geoblacklight/solr_document/citation.rb +3 -2
  32. data/app/models/concerns/geoblacklight/solr_document/finder.rb +1 -0
  33. data/app/models/concerns/geoblacklight/solr_document/inspection.rb +1 -0
  34. data/app/models/concerns/geoblacklight/solr_document.rb +17 -9
  35. data/app/models/concerns/geoblacklight/suppressed_records_search_behavior.rb +2 -1
  36. data/app/presenters/geoblacklight/document_presenter.rb +3 -2
  37. data/app/views/catalog/_show_default_display_note.html.erb +7 -0
  38. data/app/views/catalog/_show_sidebar.html.erb +1 -0
  39. data/app/views/catalog/_show_sidebar_static_map.html.erb +10 -0
  40. data/app/views/relation/index.json.jbuilder +1 -1
  41. data/config/initializers/new_gbl_settings_defaults_4.1.yml +104 -0
  42. data/config/initializers/rails_config.rb +5 -1
  43. data/config/locales/geoblacklight.en.yml +18 -10
  44. data/geoblacklight.gemspec +36 -40
  45. data/lib/generators/geoblacklight/assets_generator.rb +15 -15
  46. data/lib/generators/geoblacklight/install_generator.rb +24 -23
  47. data/lib/generators/geoblacklight/templates/catalog_controller.rb +66 -71
  48. data/lib/generators/geoblacklight/templates/settings.yml +74 -22
  49. data/lib/geoblacklight/bounding_box.rb +1 -0
  50. data/lib/geoblacklight/constants.rb +26 -25
  51. data/lib/geoblacklight/download/geojson_download.rb +10 -9
  52. data/lib/geoblacklight/download/geotiff_download.rb +6 -5
  53. data/lib/geoblacklight/download/hgl_download.rb +4 -3
  54. data/lib/geoblacklight/download/kmz_download.rb +11 -10
  55. data/lib/geoblacklight/download/shapefile_download.rb +10 -9
  56. data/lib/geoblacklight/download.rb +12 -11
  57. data/lib/geoblacklight/engine.rb +10 -9
  58. data/lib/geoblacklight/exceptions.rb +3 -0
  59. data/lib/geoblacklight/faraday_middleware/follow_redirects.rb +12 -11
  60. data/lib/geoblacklight/geometry.rb +6 -5
  61. data/lib/geoblacklight/item_viewer.rb +4 -3
  62. data/lib/geoblacklight/metadata/base.rb +4 -3
  63. data/lib/geoblacklight/metadata/fgdc.rb +1 -0
  64. data/lib/geoblacklight/metadata/html.rb +5 -4
  65. data/lib/geoblacklight/metadata/iso19139.rb +1 -0
  66. data/lib/geoblacklight/metadata.rb +1 -0
  67. data/lib/geoblacklight/metadata_transformer/base.rb +5 -4
  68. data/lib/geoblacklight/metadata_transformer/fgdc.rb +1 -0
  69. data/lib/geoblacklight/metadata_transformer/iso19139.rb +1 -0
  70. data/lib/geoblacklight/metadata_transformer.rb +6 -2
  71. data/lib/geoblacklight/reference.rb +3 -2
  72. data/lib/geoblacklight/references.rb +11 -6
  73. data/lib/geoblacklight/relation/ancestors.rb +4 -3
  74. data/lib/geoblacklight/relation/descendants.rb +4 -3
  75. data/lib/geoblacklight/relation/relation_response.rb +3 -2
  76. data/lib/geoblacklight/routes/downloadable.rb +3 -2
  77. data/lib/geoblacklight/routes/exportable.rb +4 -3
  78. data/lib/geoblacklight/routes/wms.rb +2 -1
  79. data/lib/geoblacklight/routes.rb +4 -3
  80. data/lib/geoblacklight/version.rb +2 -1
  81. data/lib/geoblacklight/view_helper_override.rb +3 -2
  82. data/lib/geoblacklight/wms_layer/feature_info_response.rb +5 -4
  83. data/lib/geoblacklight/wms_layer.rb +4 -3
  84. data/lib/geoblacklight.rb +32 -31
  85. data/lib/tasks/geoblacklight.rake +45 -44
  86. data/schema/geoblacklight-schema-aardvark.json +6 -0
  87. data/spec/components/geoblacklight/display_note_component_spec.rb +27 -0
  88. data/spec/components/geoblacklight/homepage_feature_facet_component_spec.rb +11 -10
  89. data/spec/components/geoblacklight/icon_facet_item_component_spec.rb +8 -7
  90. data/spec/config/initializers/rails_config_spec.rb +10 -9
  91. data/spec/controllers/catalog_controller_spec.rb +27 -26
  92. data/spec/controllers/download_controller_spec.rb +50 -49
  93. data/spec/controllers/relation_controller_spec.rb +5 -4
  94. data/spec/controllers/wms_controller_spec.rb +10 -9
  95. data/spec/factories/user.rb +3 -2
  96. data/spec/features/bookmarks_spec.rb +7 -6
  97. data/spec/features/configurable_basemap_spec.rb +12 -11
  98. data/spec/features/data_dictionary_download_spec.rb +11 -10
  99. data/spec/features/download_layer_spec.rb +64 -63
  100. data/spec/features/empty_search_spec.rb +6 -5
  101. data/spec/features/esri_viewer_spec.rb +33 -32
  102. data/spec/features/exports_spec.rb +18 -17
  103. data/spec/features/full_screen_controll_spec.rb +8 -8
  104. data/spec/features/help_text_spec.rb +6 -5
  105. data/spec/features/home_page_spec.rb +30 -29
  106. data/spec/features/iiif_viewer_spec.rb +6 -5
  107. data/spec/features/index_map_spec.rb +17 -16
  108. data/spec/features/layer_inspection_spec.rb +8 -7
  109. data/spec/features/layer_opacity_spec.rb +15 -14
  110. data/spec/features/layer_preview_spec.rb +11 -10
  111. data/spec/features/layer_with_no_references_spec.rb +5 -4
  112. data/spec/features/linkified_attribute_table_spec.rb +8 -7
  113. data/spec/features/metadata_panel_spec.rb +32 -31
  114. data/spec/features/missing_metadata_spec.rb +18 -17
  115. data/spec/features/multiple_downloads_spec.rb +11 -10
  116. data/spec/features/oembed_spec.rb +6 -5
  117. data/spec/features/relations_spec.rb +51 -26
  118. data/spec/features/saved_searches_spec.rb +7 -6
  119. data/spec/features/search_bar_spec.rb +9 -8
  120. data/spec/features/search_results_complex_geometry_spec.rb +12 -11
  121. data/spec/features/search_results_icons_spec.rb +10 -9
  122. data/spec/features/search_results_map_spec.rb +21 -20
  123. data/spec/features/search_results_overlap_ratio_spec.rb +17 -16
  124. data/spec/features/search_spec.rb +19 -18
  125. data/spec/features/show_page_download_spec.rb +15 -14
  126. data/spec/features/show_page_metadata_spec.rb +9 -8
  127. data/spec/features/show_page_sidebar_static_map_spec.rb +21 -0
  128. data/spec/features/sms_spec.rb +12 -11
  129. data/spec/features/split_view.html.erb_spec.rb +56 -55
  130. data/spec/features/suppressed_records_spec.rb +10 -9
  131. data/spec/features/tilejson_spec.rb +9 -8
  132. data/spec/features/tms_spec.rb +6 -5
  133. data/spec/features/web_services_modal_spec.rb +37 -36
  134. data/spec/features/wmts_spec.rb +16 -15
  135. data/spec/features/xyz_spec.rb +6 -5
  136. data/spec/fixtures/solr_documents/actual-papermap1.json +1 -1
  137. data/spec/fixtures/solr_documents/actual-point1.json +1 -1
  138. data/spec/fixtures/solr_documents/actual-polygon1.json +1 -1
  139. data/spec/fixtures/solr_documents/actual-raster1.json +1 -1
  140. data/spec/fixtures/solr_documents/baruch_ancestor1.json +1 -1
  141. data/spec/fixtures/solr_documents/baruch_ancestor2.json +1 -1
  142. data/spec/fixtures/solr_documents/baruch_documentation_download.json +2 -2
  143. data/spec/fixtures/solr_documents/cornell_html_metadata.json +1 -1
  144. data/spec/fixtures/solr_documents/display-note.json +52 -0
  145. data/spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json +1 -1
  146. data/spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json +1 -1
  147. data/spec/fixtures/solr_documents/esri-feature-layer.json +1 -1
  148. data/spec/fixtures/solr_documents/esri-image-map-layer.json +1 -1
  149. data/spec/fixtures/solr_documents/esri-tiled_map_layer.json +1 -1
  150. data/spec/fixtures/solr_documents/esri-wms-layer.json +1 -1
  151. data/spec/fixtures/solr_documents/harvard_raster.json +1 -1
  152. data/spec/fixtures/solr_documents/iiif-eastern-hemisphere.json +1 -1
  153. data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +1 -1
  154. data/spec/fixtures/solr_documents/index-map-polygon.json +1 -1
  155. data/spec/fixtures/solr_documents/index-map-stanford.json +1 -1
  156. data/spec/fixtures/solr_documents/index_map_point.json +1 -1
  157. data/spec/fixtures/solr_documents/princeton-parent.json +1 -1
  158. data/spec/fixtures/solr_documents/public_direct_download.json +1 -1
  159. data/spec/fixtures/solr_documents/public_iiif_princeton.json +1 -1
  160. data/spec/fixtures/solr_documents/restricted-line.json +1 -1
  161. data/spec/fixtures/solr_documents/tilejson.json +2 -2
  162. data/spec/fixtures/solr_documents/umn_metro_result1.json +2 -2
  163. data/spec/fixtures/solr_documents/umn_state_result1.json +1 -1
  164. data/spec/fixtures/solr_documents/umn_state_result2.json +1 -1
  165. data/spec/fixtures/solr_documents/uva_slug_colon.json +1 -1
  166. data/spec/fixtures/solr_documents/wmts-multiple.json +1 -1
  167. data/spec/fixtures/solr_documents/wmts-single-layer.json +6 -6
  168. data/spec/fixtures/solr_documents/xyz.json +3 -3
  169. data/spec/helpers/arcgis_helper_spec.rb +8 -7
  170. data/spec/helpers/carto_helper_spec.rb +6 -5
  171. data/spec/helpers/geoblacklight/geoblacklight_helper_behavior_spec.rb +10 -15
  172. data/spec/helpers/geoblacklight_helper_spec.rb +139 -138
  173. data/spec/lib/geoblacklight/bounding_box_spec.rb +14 -13
  174. data/spec/lib/geoblacklight/document_presenter_spec.rb +26 -25
  175. data/spec/lib/geoblacklight/download/geojson_download_spec.rb +8 -7
  176. data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +8 -7
  177. data/spec/lib/geoblacklight/download/hgl_download_spec.rb +16 -15
  178. data/spec/lib/geoblacklight/download/kmz_download_spec.rb +9 -8
  179. data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +8 -7
  180. data/spec/lib/geoblacklight/download_spec.rb +61 -60
  181. data/spec/lib/geoblacklight/geometry_spec.rb +29 -28
  182. data/spec/lib/geoblacklight/item_viewer_spec.rb +25 -24
  183. data/spec/lib/geoblacklight/metadata/base_spec.rb +44 -43
  184. data/spec/lib/geoblacklight/metadata/html_spec.rb +7 -6
  185. data/spec/lib/geoblacklight/metadata_spec.rb +15 -14
  186. data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +13 -12
  187. data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +8 -7
  188. data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +8 -7
  189. data/spec/lib/geoblacklight/metadata_transformer_spec.rb +15 -14
  190. data/spec/lib/geoblacklight/reference_spec.rb +28 -27
  191. data/spec/lib/geoblacklight/references_spec.rb +89 -76
  192. data/spec/lib/geoblacklight/relation/ancestors_spec.rb +17 -16
  193. data/spec/lib/geoblacklight/relation/descendants_spec.rb +17 -16
  194. data/spec/lib/geoblacklight/relation/relation_response_spec.rb +29 -28
  195. data/spec/lib/geoblacklight/view_helper_override_spec.rb +14 -13
  196. data/spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb +19 -18
  197. data/spec/lib/geoblacklight/wms_layer_spec.rb +31 -30
  198. data/spec/models/concerns/geoblacklight/bbox_filter_field_spec.rb +31 -31
  199. data/spec/models/concerns/geoblacklight/bbox_filter_query_spec.rb +32 -32
  200. data/spec/models/concerns/geoblacklight/solr_document/carto_spec.rb +16 -15
  201. data/spec/models/concerns/geoblacklight/solr_document/citation_spec.rb +7 -6
  202. data/spec/models/concerns/geoblacklight/solr_document/finder_spec.rb +16 -17
  203. data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +7 -6
  204. data/spec/models/concerns/geoblacklight/solr_document_spec.rb +121 -107
  205. data/spec/models/concerns/geoblacklight/suppressed_records_search_behavior_spec.rb +8 -7
  206. data/spec/presenters/geoblacklight/bbox_item_presenter_spec.rb +10 -10
  207. data/spec/routing/catalog_routing_spec.rb +4 -3
  208. data/spec/spec_helper.rb +34 -33
  209. data/spec/support/backport_test_helpers.rb +6 -5
  210. data/spec/support/features/session_helpers.rb +8 -7
  211. data/spec/support/features.rb +2 -1
  212. data/spec/support/fixtures.rb +2 -1
  213. data/spec/tasks/geoblacklight_spec.rb +10 -9
  214. data/spec/test_app_templates/lib/generators/test_app_generator.rb +16 -15
  215. data/spec/views/catalog/_document_split.html.erb_spec.rb +3 -2
  216. data/spec/views/catalog/_index_split.html.erb_spec.rb +3 -2
  217. data/spec/views/catalog/_results_pagination.html.erb_spec.rb +5 -4
  218. data/spec/views/catalog/_show_downloads.html.erb_spec.rb +11 -10
  219. data/spec/views/catalog/_show_tools.html.erb_spec.rb +13 -12
  220. data/template.rb +9 -8
  221. metadata +29 -212
  222. data/.gitmodules +0 -0
  223. data/.rubocop.yml +0 -111
  224. data/.rubocop_todo.yml +0 -437
  225. data/config/initializers/new_gbl_settings_defaults_3_4.yml +0 -6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoblacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Graves
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-09-15 00:00:00.000000000 Z
14
+ date: 2023-06-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -39,14 +39,14 @@ dependencies:
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.12'
42
+ version: '7.33'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '7.12'
49
+ version: '7.33'
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: config
52
52
  requirement: !ruby/object:Gem::Requirement
@@ -109,14 +109,14 @@ dependencies:
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '0.4'
112
+ version: '0.8'
113
113
  type: :runtime
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '0.4'
119
+ version: '0.8'
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: mime-types
122
122
  requirement: !ruby/object:Gem::Requirement
@@ -300,47 +300,19 @@ dependencies:
300
300
  - !ruby/object:Gem::Version
301
301
  version: '0'
302
302
  - !ruby/object:Gem::Dependency
303
- name: rubocop
303
+ name: standardrb
304
304
  requirement: !ruby/object:Gem::Requirement
305
305
  requirements:
306
- - - "~>"
307
- - !ruby/object:Gem::Version
308
- version: '1.25'
309
- type: :development
310
- prerelease: false
311
- version_requirements: !ruby/object:Gem::Requirement
312
- requirements:
313
- - - "~>"
314
- - !ruby/object:Gem::Version
315
- version: '1.25'
316
- - !ruby/object:Gem::Dependency
317
- name: rubocop-rails
318
- requirement: !ruby/object:Gem::Requirement
319
- requirements:
320
- - - "~>"
321
- - !ruby/object:Gem::Version
322
- version: '2.13'
323
- type: :development
324
- prerelease: false
325
- version_requirements: !ruby/object:Gem::Requirement
326
- requirements:
327
- - - "~>"
328
- - !ruby/object:Gem::Version
329
- version: '2.13'
330
- - !ruby/object:Gem::Dependency
331
- name: rubocop-rspec
332
- requirement: !ruby/object:Gem::Requirement
333
- requirements:
334
- - - "~>"
306
+ - - ">="
335
307
  - !ruby/object:Gem::Version
336
- version: '2.8'
308
+ version: '0'
337
309
  type: :development
338
310
  prerelease: false
339
311
  version_requirements: !ruby/object:Gem::Requirement
340
312
  requirements:
341
- - - "~>"
313
+ - - ">="
342
314
  - !ruby/object:Gem::Version
343
- version: '2.8'
315
+ version: '0'
344
316
  - !ruby/object:Gem::Dependency
345
317
  name: webmock
346
318
  requirement: !ruby/object:Gem::Requirement
@@ -371,19 +343,19 @@ files:
371
343
  - ".github/ISSUE_TEMPLATE.md"
372
344
  - ".github/workflows/ruby.yml"
373
345
  - ".gitignore"
374
- - ".gitmodules"
375
346
  - ".hound.yml"
376
347
  - ".jshintignore"
377
348
  - ".jshintrc"
378
- - ".rubocop.yml"
379
- - ".rubocop_todo.yml"
380
349
  - ".solr_wrapper"
350
+ - ".standard.yml"
381
351
  - CODE_OF_CONDUCT.md
382
352
  - CONTRIBUTING.md
383
353
  - Gemfile
384
354
  - LICENSE.txt
385
355
  - README.md
386
356
  - Rakefile
357
+ - app/assets/images/blacklight/american-geographical-society-library-uwm-libraries.svg
358
+ - app/assets/images/blacklight/arizona.svg
387
359
  - app/assets/images/blacklight/arrow-circle-down.svg
388
360
  - app/assets/images/blacklight/baruch-cuny.svg
389
361
  - app/assets/images/blacklight/berkeley.svg
@@ -392,6 +364,7 @@ files:
392
364
  - app/assets/images/blacklight/cd-rom.svg
393
365
  - app/assets/images/blacklight/chicago.svg
394
366
  - app/assets/images/blacklight/child-item.svg
367
+ - app/assets/images/blacklight/circle-info-solid.svg
395
368
  - app/assets/images/blacklight/citation.svg
396
369
  - app/assets/images/blacklight/collection.svg
397
370
  - app/assets/images/blacklight/collections.svg
@@ -401,6 +374,7 @@ files:
401
374
  - app/assets/images/blacklight/dvd-rom.svg
402
375
  - app/assets/images/blacklight/email.svg
403
376
  - app/assets/images/blacklight/esri-globe.svg
377
+ - app/assets/images/blacklight/fire-solid.svg
404
378
  - app/assets/images/blacklight/geoblacklight-icons.json
405
379
  - app/assets/images/blacklight/george-mason.svg
406
380
  - app/assets/images/blacklight/globe.svg
@@ -413,6 +387,7 @@ files:
413
387
  - app/assets/images/blacklight/iowa.svg
414
388
  - app/assets/images/blacklight/leaf.svg
415
389
  - app/assets/images/blacklight/lewis-clark.svg
390
+ - app/assets/images/blacklight/lightbulb-solid.svg
416
391
  - app/assets/images/blacklight/line.svg
417
392
  - app/assets/images/blacklight/logo.svg
418
393
  - app/assets/images/blacklight/map-marker.svg
@@ -430,6 +405,7 @@ files:
430
405
  - app/assets/images/blacklight/multilinestring.svg
431
406
  - app/assets/images/blacklight/multipoint.svg
432
407
  - app/assets/images/blacklight/multipolygon.svg
408
+ - app/assets/images/blacklight/nebraska.svg
433
409
  - app/assets/images/blacklight/nyu.svg
434
410
  - app/assets/images/blacklight/ohio-state.svg
435
411
  - app/assets/images/blacklight/pagelines-brands.svg
@@ -446,12 +422,14 @@ files:
446
422
  - app/assets/images/blacklight/purdue.svg
447
423
  - app/assets/images/blacklight/raster.svg
448
424
  - app/assets/images/blacklight/restricted.svg
425
+ - app/assets/images/blacklight/rutgers.svg
449
426
  - app/assets/images/blacklight/sms.svg
450
427
  - app/assets/images/blacklight/stanford.svg
451
428
  - app/assets/images/blacklight/table.svg
452
429
  - app/assets/images/blacklight/tags.svg
453
430
  - app/assets/images/blacklight/texas.svg
454
431
  - app/assets/images/blacklight/the-ohio-state-university.svg
432
+ - app/assets/images/blacklight/triangle-exclamation-solid.svg
455
433
  - app/assets/images/blacklight/tufts.svg
456
434
  - app/assets/images/blacklight/ucla.svg
457
435
  - app/assets/images/blacklight/university-of-chicago.svg
@@ -531,6 +509,8 @@ files:
531
509
  - app/assets/stylesheets/geoblacklight/modules/sidebar.scss
532
510
  - app/assets/stylesheets/geoblacklight/modules/toolbar.scss
533
511
  - app/assets/stylesheets/geoblacklight/modules/web_services.scss
512
+ - app/components/geoblacklight/display_note_component.html.erb
513
+ - app/components/geoblacklight/display_note_component.rb
534
514
  - app/components/geoblacklight/homepage_feature_facet_component.html.erb
535
515
  - app/components/geoblacklight/homepage_feature_facet_component.rb
536
516
  - app/components/geoblacklight/icon_facet_item_component.rb
@@ -566,11 +546,13 @@ files:
566
546
  - app/views/catalog/_relations_container.html.erb
567
547
  - app/views/catalog/_results_pagination.html.erb
568
548
  - app/views/catalog/_show_default_attribute_table.html.erb
549
+ - app/views/catalog/_show_default_display_note.html.erb
569
550
  - app/views/catalog/_show_default_viewer_container.html.erb
570
551
  - app/views/catalog/_show_default_viewer_information.html.erb
571
552
  - app/views/catalog/_show_downloads.html.erb
572
553
  - app/views/catalog/_show_header_default.html.erb
573
554
  - app/views/catalog/_show_sidebar.html.erb
555
+ - app/views/catalog/_show_sidebar_static_map.html.erb
574
556
  - app/views/catalog/_show_web_services.html.erb
575
557
  - app/views/catalog/_web_services.html.erb
576
558
  - app/views/catalog/_web_services_default.html.erb
@@ -588,7 +570,7 @@ files:
588
570
  - app/views/relation/index.json.jbuilder
589
571
  - app/views/shared/_header_navbar.html.erb
590
572
  - babel.config.json
591
- - config/initializers/new_gbl_settings_defaults_3_4.yml
573
+ - config/initializers/new_gbl_settings_defaults_4.1.yml
592
574
  - config/initializers/rails_config.rb
593
575
  - config/locales/geoblacklight.en.yml
594
576
  - geoblacklight.gemspec
@@ -662,6 +644,7 @@ files:
662
644
  - solr/conf/xslt/example_atom.xsl
663
645
  - solr/conf/xslt/example_rss.xsl
664
646
  - solr/conf/xslt/luke.xsl
647
+ - spec/components/geoblacklight/display_note_component_spec.rb
665
648
  - spec/components/geoblacklight/homepage_feature_facet_component_spec.rb
666
649
  - spec/components/geoblacklight/icon_facet_item_component_spec.rb
667
650
  - spec/config/initializers/rails_config_spec.rb
@@ -701,6 +684,7 @@ files:
701
684
  - spec/features/search_spec.rb
702
685
  - spec/features/show_page_download_spec.rb
703
686
  - spec/features/show_page_metadata_spec.rb
687
+ - spec/features/show_page_sidebar_static_map_spec.rb
704
688
  - spec/features/sms_spec.rb
705
689
  - spec/features/split_view.html.erb_spec.rb
706
690
  - spec/features/suppressed_records_spec.rb
@@ -732,6 +716,7 @@ files:
732
716
  - spec/fixtures/solr_documents/baruch_documentation_download.json
733
717
  - spec/fixtures/solr_documents/bbox-spans-180.json
734
718
  - spec/fixtures/solr_documents/cornell_html_metadata.json
719
+ - spec/fixtures/solr_documents/display-note.json
735
720
  - spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json
736
721
  - spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json
737
722
  - spec/fixtures/solr_documents/esri-feature-layer.json
@@ -870,172 +855,4 @@ rubygems_version: 3.2.22
870
855
  signing_key:
871
856
  specification_version: 4
872
857
  summary: A discovery platform for geospatial holdings
873
- test_files:
874
- - spec/components/geoblacklight/homepage_feature_facet_component_spec.rb
875
- - spec/components/geoblacklight/icon_facet_item_component_spec.rb
876
- - spec/config/initializers/rails_config_spec.rb
877
- - spec/controllers/catalog_controller_spec.rb
878
- - spec/controllers/download_controller_spec.rb
879
- - spec/controllers/relation_controller_spec.rb
880
- - spec/controllers/wms_controller_spec.rb
881
- - spec/factories/user.rb
882
- - spec/features/bookmarks_spec.rb
883
- - spec/features/configurable_basemap_spec.rb
884
- - spec/features/data_dictionary_download_spec.rb
885
- - spec/features/download_layer_spec.rb
886
- - spec/features/empty_search_spec.rb
887
- - spec/features/esri_viewer_spec.rb
888
- - spec/features/exports_spec.rb
889
- - spec/features/full_screen_controll_spec.rb
890
- - spec/features/help_text_spec.rb
891
- - spec/features/home_page_spec.rb
892
- - spec/features/iiif_viewer_spec.rb
893
- - spec/features/index_map_spec.rb
894
- - spec/features/layer_inspection_spec.rb
895
- - spec/features/layer_opacity_spec.rb
896
- - spec/features/layer_preview_spec.rb
897
- - spec/features/layer_with_no_references_spec.rb
898
- - spec/features/linkified_attribute_table_spec.rb
899
- - spec/features/metadata_panel_spec.rb
900
- - spec/features/missing_metadata_spec.rb
901
- - spec/features/multiple_downloads_spec.rb
902
- - spec/features/oembed_spec.rb
903
- - spec/features/relations_spec.rb
904
- - spec/features/saved_searches_spec.rb
905
- - spec/features/search_bar_spec.rb
906
- - spec/features/search_results_complex_geometry_spec.rb
907
- - spec/features/search_results_icons_spec.rb
908
- - spec/features/search_results_map_spec.rb
909
- - spec/features/search_results_overlap_ratio_spec.rb
910
- - spec/features/search_spec.rb
911
- - spec/features/show_page_download_spec.rb
912
- - spec/features/show_page_metadata_spec.rb
913
- - spec/features/sms_spec.rb
914
- - spec/features/split_view.html.erb_spec.rb
915
- - spec/features/suppressed_records_spec.rb
916
- - spec/features/tilejson_spec.rb
917
- - spec/features/tms_spec.rb
918
- - spec/features/web_services_modal_spec.rb
919
- - spec/features/wmts_spec.rb
920
- - spec/features/xyz_spec.rb
921
- - spec/fixtures/fgdc/harvard-g7064-s2-1834-k3.xml
922
- - spec/fixtures/iso19139/stanford-cg357zz0321.xml
923
- - spec/fixtures/manifests/tilejson.json
924
- - spec/fixtures/manifests/wmts-multiple.xml
925
- - spec/fixtures/manifests/wmts-single.xml
926
- - spec/fixtures/mods/fb897vt9938.mods
927
- - spec/fixtures/mods/stanford-cg357zz0321.mods
928
- - spec/fixtures/solr_documents/README.md
929
- - spec/fixtures/solr_documents/actual-papermap1.json
930
- - spec/fixtures/solr_documents/actual-point1.json
931
- - spec/fixtures/solr_documents/actual-polygon1.json
932
- - spec/fixtures/solr_documents/actual-raster1.json
933
- - spec/fixtures/solr_documents/all-relationships.json
934
- - spec/fixtures/solr_documents/b1g_wabash_child_15.json
935
- - spec/fixtures/solr_documents/b1g_wabash_child_16.json
936
- - spec/fixtures/solr_documents/b1g_wabash_child_17.json
937
- - spec/fixtures/solr_documents/b1g_wabash_child_18.json
938
- - spec/fixtures/solr_documents/b1g_wabash_parent.json
939
- - spec/fixtures/solr_documents/baruch_ancestor1.json
940
- - spec/fixtures/solr_documents/baruch_ancestor2.json
941
- - spec/fixtures/solr_documents/baruch_documentation_download.json
942
- - spec/fixtures/solr_documents/bbox-spans-180.json
943
- - spec/fixtures/solr_documents/cornell_html_metadata.json
944
- - spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json
945
- - spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json
946
- - spec/fixtures/solr_documents/esri-feature-layer.json
947
- - spec/fixtures/solr_documents/esri-image-map-layer.json
948
- - spec/fixtures/solr_documents/esri-tiled_map_layer.json
949
- - spec/fixtures/solr_documents/esri-wms-layer.json
950
- - spec/fixtures/solr_documents/harvard_raster.json
951
- - spec/fixtures/solr_documents/iiif-eastern-hemisphere.json
952
- - spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json
953
- - spec/fixtures/solr_documents/index-map-polygon.json
954
- - spec/fixtures/solr_documents/index-map-stanford.json
955
- - spec/fixtures/solr_documents/index_map_point.json
956
- - spec/fixtures/solr_documents/metadata_no_geom.json
957
- - spec/fixtures/solr_documents/metadata_no_provider.json
958
- - spec/fixtures/solr_documents/multiple-downloads.json
959
- - spec/fixtures/solr_documents/no_locn_geometry.json
960
- - spec/fixtures/solr_documents/no_spatial.json
961
- - spec/fixtures/solr_documents/oembed.json
962
- - spec/fixtures/solr_documents/princeton-child1.json
963
- - spec/fixtures/solr_documents/princeton-child2.json
964
- - spec/fixtures/solr_documents/princeton-child3.json
965
- - spec/fixtures/solr_documents/princeton-child4.json
966
- - spec/fixtures/solr_documents/princeton-parent.json
967
- - spec/fixtures/solr_documents/public_direct_download.json
968
- - spec/fixtures/solr_documents/public_iiif_princeton.json
969
- - spec/fixtures/solr_documents/public_polygon_mit.json
970
- - spec/fixtures/solr_documents/restricted-line.json
971
- - spec/fixtures/solr_documents/the-related-record.json
972
- - spec/fixtures/solr_documents/tilejson.json
973
- - spec/fixtures/solr_documents/tms.json
974
- - spec/fixtures/solr_documents/umn_metro_result1.json
975
- - spec/fixtures/solr_documents/umn_state_result1.json
976
- - spec/fixtures/solr_documents/umn_state_result2.json
977
- - spec/fixtures/solr_documents/uva_slug_colon.json
978
- - spec/fixtures/solr_documents/wmts-multiple.json
979
- - spec/fixtures/solr_documents/wmts-single-layer.json
980
- - spec/fixtures/solr_documents/xyz.json
981
- - spec/helpers/arcgis_helper_spec.rb
982
- - spec/helpers/carto_helper_spec.rb
983
- - spec/helpers/geoblacklight/geoblacklight_helper_behavior_spec.rb
984
- - spec/helpers/geoblacklight_helper_spec.rb
985
- - spec/javascripts/geoblacklight_spec.js
986
- - spec/javascripts/metadata_download_button_spec.js
987
- - spec/javascripts/util_spec.js
988
- - spec/lib/geoblacklight/bounding_box_spec.rb
989
- - spec/lib/geoblacklight/document_presenter_spec.rb
990
- - spec/lib/geoblacklight/download/geojson_download_spec.rb
991
- - spec/lib/geoblacklight/download/geotiff_download_spec.rb
992
- - spec/lib/geoblacklight/download/hgl_download_spec.rb
993
- - spec/lib/geoblacklight/download/kmz_download_spec.rb
994
- - spec/lib/geoblacklight/download/shapefile_download_spec.rb
995
- - spec/lib/geoblacklight/download_spec.rb
996
- - spec/lib/geoblacklight/geometry_spec.rb
997
- - spec/lib/geoblacklight/item_viewer_spec.rb
998
- - spec/lib/geoblacklight/metadata/base_spec.rb
999
- - spec/lib/geoblacklight/metadata/html_spec.rb
1000
- - spec/lib/geoblacklight/metadata_spec.rb
1001
- - spec/lib/geoblacklight/metadata_transformer/base_spec.rb
1002
- - spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb
1003
- - spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb
1004
- - spec/lib/geoblacklight/metadata_transformer_spec.rb
1005
- - spec/lib/geoblacklight/reference_spec.rb
1006
- - spec/lib/geoblacklight/references_spec.rb
1007
- - spec/lib/geoblacklight/relation/ancestors_spec.rb
1008
- - spec/lib/geoblacklight/relation/descendants_spec.rb
1009
- - spec/lib/geoblacklight/relation/relation_response_spec.rb
1010
- - spec/lib/geoblacklight/view_helper_override_spec.rb
1011
- - spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb
1012
- - spec/lib/geoblacklight/wms_layer_spec.rb
1013
- - spec/models/concerns/geoblacklight/bbox_filter_field_spec.rb
1014
- - spec/models/concerns/geoblacklight/bbox_filter_query_spec.rb
1015
- - spec/models/concerns/geoblacklight/solr_document/carto_spec.rb
1016
- - spec/models/concerns/geoblacklight/solr_document/citation_spec.rb
1017
- - spec/models/concerns/geoblacklight/solr_document/finder_spec.rb
1018
- - spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb
1019
- - spec/models/concerns/geoblacklight/solr_document_spec.rb
1020
- - spec/models/concerns/geoblacklight/suppressed_records_search_behavior_spec.rb
1021
- - spec/presenters/geoblacklight/bbox_item_presenter_spec.rb
1022
- - spec/routing/catalog_routing_spec.rb
1023
- - spec/spec_helper.rb
1024
- - spec/support/backport_test_helpers.rb
1025
- - spec/support/features.rb
1026
- - spec/support/features/session_helpers.rb
1027
- - spec/support/fixtures.rb
1028
- - spec/support/view_component_capybara_test_helpers.rb
1029
- - spec/tasks/geoblacklight_spec.rb
1030
- - spec/test_app_templates/Gemfile.extra
1031
- - spec/test_app_templates/lib/generators/test_app_generator.rb
1032
- - spec/test_app_templates/metadata/fgdc.html
1033
- - spec/test_app_templates/metadata/fgdc.xml
1034
- - spec/test_app_templates/metadata/iso.html
1035
- - spec/test_app_templates/metadata/iso.xml
1036
- - spec/test_app_templates/solr_documents
1037
- - spec/views/catalog/_document_split.html.erb_spec.rb
1038
- - spec/views/catalog/_index_split.html.erb_spec.rb
1039
- - spec/views/catalog/_results_pagination.html.erb_spec.rb
1040
- - spec/views/catalog/_show_downloads.html.erb_spec.rb
1041
- - spec/views/catalog/_show_tools.html.erb_spec.rb
858
+ test_files: []
data/.gitmodules DELETED
File without changes
data/.rubocop.yml DELETED
@@ -1,111 +0,0 @@
1
- require:
2
- - rubocop-rails
3
- - rubocop-rspec
4
-
5
- inherit_from: .rubocop_todo.yml
6
-
7
- AllCops:
8
- TargetRubyVersion: 2.7
9
- DisplayCopNames: true
10
- NewCops: enable
11
- Exclude:
12
- - '.internal_test_app/**/*'
13
- - 'db/**/*'
14
- - 'geoblacklight.gemspec'
15
- - 'Gemfile'
16
- - 'lib/generators/geoblacklight/templates/**/*'
17
- - 'tmp/**/*'
18
- - 'vendor/**/*'
19
- - 'Rakefile'
20
- - 'lib/tasks/geoblacklight.rake'
21
-
22
- Layout/DotPosition:
23
- Description: Checks the position of the dot in multi-line method calls.
24
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
25
- Enabled: true
26
- EnforcedStyle: leading
27
- SupportedStyles:
28
- - leading
29
- - trailing
30
-
31
- Layout/LineLength:
32
- Max: 115
33
- Exclude:
34
- - 'app/models/concerns/geoblacklight/bbox_filter_query.rb'
35
- - 'app/models/concerns/geoblacklight/spatial_search_behavior.rb'
36
- - 'bin/coverage.rb'
37
- - 'lib/generators/geoblacklight/install_generator.rb'
38
- - 'lib/geoblacklight/relation/ancestors.rb'
39
- - 'lib/geoblacklight/relation/relation_response.rb'
40
- - 'lib/tasks/geoblacklight.rake'
41
- - 'Rakefile'
42
- - 'spec/**/*'
43
-
44
- Metrics/BlockLength:
45
- Exclude:
46
- - 'lib/tasks/geoblacklight.rake'
47
- - 'Rakefile'
48
- - 'spec/**/*'
49
-
50
- Metrics/MethodLength:
51
- Max: 16
52
- Exclude:
53
- - 'lib/geoblacklight/metadata/base.rb'
54
-
55
- Metrics/ModuleLength:
56
- Exclude:
57
- - 'app/helpers/geoblacklight_helper.rb'
58
-
59
- # TODO: Add top-level class and module documentation.
60
- Style/Documentation:
61
- Enabled: false
62
-
63
- # geoblacklight references in solr_document_spec are
64
- # difficult to mock because of the use of 'method_missing'.
65
- # https://relishapp.com/rspec/rspec-mocks/docs/verifying-doubles/dynamic-classes
66
- RSpec/AnyInstance:
67
- Exclude:
68
- - 'spec/models/concerns/geoblacklight/solr_document_spec.rb'
69
- - 'spec/helpers/geoblacklight_helper_spec.rb'
70
- - 'spec/models/concerns/geoblacklight/solr_document/finder_spec.rb'
71
- - 'spec/features/download_layer_spec.rb'
72
-
73
- RSpec/Capybara/SpecificMatcher:
74
- Exclude:
75
- - spec/components/geoblacklight/*
76
- - spec/features/*
77
-
78
- RSpec/DescribeClass:
79
- Exclude:
80
- - spec/tasks/*
81
-
82
- RSpec/ExampleLength:
83
- Enabled: false
84
-
85
- RSpec/MultipleExpectations:
86
- Exclude:
87
- - 'spec/features/split_view.html.erb_spec.rb'
88
-
89
- RSpec/VerifiedDoubles:
90
- Exclude:
91
- - 'spec/lib/geoblacklight/download/hgl_download_spec.rb'
92
- - 'spec/lib/geoblacklight/document_presenter_spec.rb'
93
- - 'spec/lib/geoblacklight/references_spec.rb'
94
-
95
- # TODO: Investigate use of OpenStruct in specs
96
- Style/OpenStructUse:
97
- Enabled: false
98
-
99
- Style/SignalException:
100
- EnforcedStyle: semantic
101
-
102
- Style/StringLiterals:
103
- Description: Checks if uses of quotes match the configured preference.
104
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
105
- Enabled: true
106
- EnforcedStyle: single_quotes
107
-
108
- Style/SafeNavigation:
109
- Exclude:
110
- - 'app/models/concerns/geoblacklight/solr_document/arcgis.rb'
111
- - 'app/models/concerns/geoblacklight/solr_document.rb'