blacklight-spotlight 1.4.1 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -1
  3. data/app/assets/javascripts/spotlight/blocks/resources_block.js +3 -2
  4. data/app/assets/javascripts/spotlight/crop.es6 +2 -0
  5. data/app/assets/javascripts/spotlight/multi_image_selector.js +5 -4
  6. data/app/assets/javascripts/spotlight/reindex_monitor.js +16 -3
  7. data/app/controllers/concerns/spotlight/controller.rb +6 -1
  8. data/app/controllers/spotlight/browse_controller.rb +27 -0
  9. data/app/controllers/spotlight/catalog_controller.rb +2 -2
  10. data/app/helpers/spotlight/browse_helper.rb +0 -29
  11. data/app/helpers/spotlight/title_helper.rb +2 -2
  12. data/app/models/concerns/spotlight/custom_translation_extension.rb +23 -0
  13. data/app/models/concerns/spotlight/solr_document/atomic_updates.rb +4 -2
  14. data/app/models/spotlight/blacklight_configuration.rb +2 -2
  15. data/app/models/spotlight/exhibit.rb +1 -1
  16. data/app/views/layouts/spotlight/spotlight.html.erb +1 -0
  17. data/app/views/spotlight/dashboards/_analytics.html.erb +4 -4
  18. data/app/views/spotlight/search_configurations/_search_fields.html.erb +1 -1
  19. data/db/migrate/20180306142612_create_translations.rb +18 -0
  20. data/lib/generators/spotlight/install_generator.rb +4 -0
  21. data/lib/generators/spotlight/templates/config/initializers/translation.rb +17 -0
  22. data/lib/spotlight/engine.rb +1 -0
  23. data/lib/spotlight/version.rb +1 -1
  24. data/spec/controllers/spotlight/browse_controller_spec.rb +32 -0
  25. data/spec/controllers/spotlight/confirmations_controller_spec.rb +1 -1
  26. data/spec/controllers/spotlight/filters_controller_spec.rb +0 -1
  27. data/spec/controllers/spotlight/roles_controller_spec.rb +17 -0
  28. data/spec/controllers/spotlight/tags_controller_spec.rb +6 -1
  29. data/spec/examples.txt +1280 -1167
  30. data/spec/factories/translation.rb +6 -0
  31. data/spec/features/add_iiif_manifest_spec.rb +2 -0
  32. data/spec/features/browse_category_spec.rb +28 -0
  33. data/spec/features/edit_search_fields_spec.rb +1 -2
  34. data/spec/features/exhibit_masthead_spec.rb +2 -2
  35. data/spec/features/exhibit_themes_spec.rb +1 -1
  36. data/spec/features/exhibits/add_tags_spec.rb +1 -1
  37. data/spec/features/item_admin_spec.rb +1 -1
  38. data/spec/features/javascript/blocks/solr_documents_block_spec.rb +41 -28
  39. data/spec/features/javascript/multi_image_select_spec.rb +1 -1
  40. data/spec/features/javascript/reindex_monitor_spec.rb +1 -1
  41. data/spec/features/javascript/search_config_admin_spec.rb +16 -29
  42. data/spec/features/site_masthead_spec.rb +1 -1
  43. data/spec/features/slideshow_spec.rb +1 -2
  44. data/spec/features/translation_scope_spec.rb +24 -0
  45. data/spec/models/spotlight/ability_spec.rb +7 -10
  46. data/spec/models/spotlight/contact_email_spec.rb +1 -1
  47. data/spec/models/spotlight/contact_form_spec.rb +1 -1
  48. data/spec/models/spotlight/resources/iiif_harvester_spec.rb +3 -0
  49. data/spec/models/spotlight/solr_document/atomic_updates_spec.rb +2 -2
  50. data/spec/spec_helper.rb +12 -4
  51. data/spec/support/disable_friendly_id_deprecation_warnings.rb +8 -0
  52. data/spec/support/features/capybara_default_max_wait_metadata_helper.rb +16 -0
  53. data/spec/support/features/test_features_helpers.rb +12 -2
  54. data/spec/views/spotlight/browse/show.html.erb_spec.rb +0 -7
  55. data/spec/views/spotlight/roles/index.html.erb_spec.rb +2 -0
  56. data/spec/views/spotlight/tags/index.html.erb_spec.rb +1 -0
  57. data/vendor/assets/javascripts/Leaflet.Editable.js +22 -11
  58. data/vendor/assets/javascripts/leaflet-iiif.js +91 -23
  59. metadata +246 -227
  60. data/spec/features/curator_items.rb +0 -10
  61. data/spec/features/tags_admin_spec.rb +0 -27
  62. data/spec/features/user_admin_spec.rb +0 -29
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-03-05 00:00:00.000000000 Z
14
+ date: 2018-04-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -167,20 +167,6 @@ dependencies:
167
167
  - - "~>"
168
168
  - !ruby/object:Gem::Version
169
169
  version: '3.0'
170
- - !ruby/object:Gem::Dependency
171
- name: blacklight-gallery
172
- requirement: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- version: 0.3.0
177
- type: :runtime
178
- prerelease: false
179
- version_requirements: !ruby/object:Gem::Requirement
180
- requirements:
181
- - - ">="
182
- - !ruby/object:Gem::Version
183
- version: 0.3.0
184
170
  - !ruby/object:Gem::Dependency
185
171
  name: blacklight-oembed
186
172
  requirement: !ruby/object:Gem::Requirement
@@ -503,6 +489,20 @@ dependencies:
503
489
  - - ">="
504
490
  - !ruby/object:Gem::Version
505
491
  version: '0'
492
+ - !ruby/object:Gem::Dependency
493
+ name: i18n-active_record
494
+ requirement: !ruby/object:Gem::Requirement
495
+ requirements:
496
+ - - ">="
497
+ - !ruby/object:Gem::Version
498
+ version: '0'
499
+ type: :runtime
500
+ prerelease: false
501
+ version_requirements: !ruby/object:Gem::Requirement
502
+ requirements:
503
+ - - ">="
504
+ - !ruby/object:Gem::Version
505
+ version: '0'
506
506
  - !ruby/object:Gem::Dependency
507
507
  name: sqlite3
508
508
  requirement: !ruby/object:Gem::Requirement
@@ -591,44 +591,44 @@ dependencies:
591
591
  name: capybara
592
592
  requirement: !ruby/object:Gem::Requirement
593
593
  requirements:
594
- - - ">="
594
+ - - "~>"
595
595
  - !ruby/object:Gem::Version
596
- version: 2.5.0
596
+ version: '3'
597
597
  type: :development
598
598
  prerelease: false
599
599
  version_requirements: !ruby/object:Gem::Requirement
600
600
  requirements:
601
- - - ">="
601
+ - - "~>"
602
602
  - !ruby/object:Gem::Version
603
- version: 2.5.0
603
+ version: '3'
604
604
  - !ruby/object:Gem::Dependency
605
605
  name: rubocop
606
606
  requirement: !ruby/object:Gem::Requirement
607
607
  requirements:
608
608
  - - "~>"
609
609
  - !ruby/object:Gem::Version
610
- version: 0.49.0
610
+ version: '0.54'
611
611
  type: :development
612
612
  prerelease: false
613
613
  version_requirements: !ruby/object:Gem::Requirement
614
614
  requirements:
615
615
  - - "~>"
616
616
  - !ruby/object:Gem::Version
617
- version: 0.49.0
617
+ version: '0.54'
618
618
  - !ruby/object:Gem::Dependency
619
619
  name: rubocop-rspec
620
620
  requirement: !ruby/object:Gem::Requirement
621
621
  requirements:
622
622
  - - "~>"
623
623
  - !ruby/object:Gem::Version
624
- version: 1.15.1
624
+ version: '1.25'
625
625
  type: :development
626
626
  prerelease: false
627
627
  version_requirements: !ruby/object:Gem::Requirement
628
628
  requirements:
629
629
  - - "~>"
630
630
  - !ruby/object:Gem::Version
631
- version: 1.15.1
631
+ version: '1.25'
632
632
  - !ruby/object:Gem::Dependency
633
633
  name: chromedriver-helper
634
634
  requirement: !ruby/object:Gem::Requirement
@@ -677,14 +677,14 @@ dependencies:
677
677
  requirements:
678
678
  - - "~>"
679
679
  - !ruby/object:Gem::Version
680
- version: '1.0'
680
+ version: '2.0'
681
681
  type: :development
682
682
  prerelease: false
683
683
  version_requirements: !ruby/object:Gem::Requirement
684
684
  requirements:
685
685
  - - "~>"
686
686
  - !ruby/object:Gem::Version
687
- version: '1.0'
687
+ version: '2.0'
688
688
  - !ruby/object:Gem::Dependency
689
689
  name: database_cleaner
690
690
  requirement: !ruby/object:Gem::Requirement
@@ -755,6 +755,20 @@ dependencies:
755
755
  - - ">="
756
756
  - !ruby/object:Gem::Version
757
757
  version: '0'
758
+ - !ruby/object:Gem::Dependency
759
+ name: webmock
760
+ requirement: !ruby/object:Gem::Requirement
761
+ requirements:
762
+ - - ">="
763
+ - !ruby/object:Gem::Version
764
+ version: '0'
765
+ type: :development
766
+ prerelease: false
767
+ version_requirements: !ruby/object:Gem::Requirement
768
+ requirements:
769
+ - - ">="
770
+ - !ruby/object:Gem::Version
771
+ version: '0'
758
772
  description:
759
773
  email:
760
774
  - exhibits-feedback@lists.stanford.edu
@@ -916,6 +930,7 @@ files:
916
930
  - app/models/ability.rb
917
931
  - app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb
918
932
  - app/models/concerns/spotlight/blacklight_configuration_defaults.rb
933
+ - app/models/concerns/spotlight/custom_translation_extension.rb
919
934
  - app/models/concerns/spotlight/exhibit_analytics.rb
920
935
  - app/models/concerns/spotlight/exhibit_defaults.rb
921
936
  - app/models/concerns/spotlight/exhibit_documents.rb
@@ -1214,12 +1229,14 @@ files:
1214
1229
  - db/migrate/20170821165811_change_index_status_to_longblob.rb
1215
1230
  - db/migrate/20171005231502_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb
1216
1231
  - db/migrate/20180119193632_add_search_box_to_spotlight_searches.rb
1232
+ - db/migrate/20180306142612_create_translations.rb
1217
1233
  - lib/blacklight/spotlight.rb
1218
1234
  - lib/generators/spotlight/install_generator.rb
1219
1235
  - lib/generators/spotlight/scaffold_resource_generator.rb
1220
1236
  - lib/generators/spotlight/templates/catalog_controller.rb
1221
1237
  - lib/generators/spotlight/templates/config/initializers/riiif.rb
1222
1238
  - lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb
1239
+ - lib/generators/spotlight/templates/config/initializers/translation.rb
1223
1240
  - lib/generators/spotlight/templates/config/sitemap.rb
1224
1241
  - lib/generators/spotlight/templates/solr/config/schema.xml
1225
1242
  - lib/generators/spotlight/templates/solr/config/solrconfig.xml
@@ -1276,6 +1293,7 @@ files:
1276
1293
  - spec/factories/roles.rb
1277
1294
  - spec/factories/searches.rb
1278
1295
  - spec/factories/tags.rb
1296
+ - spec/factories/translation.rb
1279
1297
  - spec/factories/users.rb
1280
1298
  - spec/features/about_page_spec.rb
1281
1299
  - spec/features/add_contacts_spec.rb
@@ -1289,7 +1307,6 @@ files:
1289
1307
  - spec/features/confirm_email_spec.rb
1290
1308
  - spec/features/create_exhibit_spec.rb
1291
1309
  - spec/features/create_page_spec.rb
1292
- - spec/features/curator_items.rb
1293
1310
  - spec/features/dashboard_spec.rb
1294
1311
  - spec/features/edit_contact_spec.rb
1295
1312
  - spec/features/edit_search_fields_spec.rb
@@ -1328,8 +1345,7 @@ files:
1328
1345
  - spec/features/site_admin_management_spec.rb
1329
1346
  - spec/features/site_masthead_spec.rb
1330
1347
  - spec/features/slideshow_spec.rb
1331
- - spec/features/tags_admin_spec.rb
1332
- - spec/features/user_admin_spec.rb
1348
+ - spec/features/translation_scope_spec.rb
1333
1349
  - spec/fixtures/800x600.png
1334
1350
  - spec/fixtures/avatar.png
1335
1351
  - spec/fixtures/csv-upload-fixture.csv
@@ -1410,6 +1426,8 @@ files:
1410
1426
  - spec/services/spotlight/solr_document_builder_spec.rb
1411
1427
  - spec/spec_helper.rb
1412
1428
  - spec/support/controllers/engine_helpers.rb
1429
+ - spec/support/disable_friendly_id_deprecation_warnings.rb
1430
+ - spec/support/features/capybara_default_max_wait_metadata_helper.rb
1413
1431
  - spec/support/features/test_features_helpers.rb
1414
1432
  - spec/support/helpers/controller_level_helpers.rb
1415
1433
  - spec/support/stub_iiif_response.rb
@@ -1535,250 +1553,251 @@ specification_version: 4
1535
1553
  summary: Enable librarians, curators, and others who are responsible for digital collections
1536
1554
  to create attractive, feature-rich websites that feature these collections.
1537
1555
  test_files:
1538
- - spec/controllers/application_controller_spec.rb
1539
- - spec/controllers/spotlight/about_pages_controller_spec.rb
1540
- - spec/controllers/spotlight/admin_users_controller_spec.rb
1541
- - spec/controllers/spotlight/appearances_controller_spec.rb
1542
- - spec/controllers/spotlight/application_controller_spec.rb
1543
- - spec/controllers/spotlight/attachments_controller_spec.rb
1544
- - spec/controllers/spotlight/browse_controller_spec.rb
1545
- - spec/controllers/spotlight/catalog_controller_spec.rb
1546
- - spec/controllers/spotlight/confirmations_controller_spec.rb
1547
- - spec/controllers/spotlight/contact_email_controller_spec.rb
1548
- - spec/controllers/spotlight/contact_forms_controller_spec.rb
1549
- - spec/controllers/spotlight/contacts_controller_spec.rb
1550
- - spec/controllers/spotlight/custom_fields_controller_spec.rb
1551
- - spec/controllers/spotlight/dashboards_controller_spec.rb
1552
- - spec/controllers/spotlight/exhibits_controller_spec.rb
1553
- - spec/controllers/spotlight/feature_pages_controller_spec.rb
1554
- - spec/controllers/spotlight/featured_images_controller_spec.rb
1555
- - spec/controllers/spotlight/filters_controller_spec.rb
1556
- - spec/controllers/spotlight/home_pages_controller_spec.rb
1557
- - spec/controllers/spotlight/metadata_configurations_controller_spec.rb
1558
- - spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
1559
- - spec/controllers/spotlight/resources/upload_controller_spec.rb
1560
- - spec/controllers/spotlight/resources_controller_spec.rb
1561
- - spec/controllers/spotlight/roles_controller_spec.rb
1562
- - spec/controllers/spotlight/search_configurations_controller_spec.rb
1563
- - spec/controllers/spotlight/searches_controller_spec.rb
1564
- - spec/controllers/spotlight/sites_controller_spec.rb
1565
- - spec/controllers/spotlight/solr_controller_spec.rb
1566
- - spec/controllers/spotlight/tags_controller_spec.rb
1567
- - spec/controllers/spotlight/versions_controller_spec.rb
1568
- - spec/controllers/spotlight/view_configurations_controller_spec.rb
1556
+ - spec/uploaders/spotlight/featured_image_uploader_spec.rb
1557
+ - spec/uploaders/spotlight/attachment_uploader_spec.rb
1558
+ - spec/spec_helper.rb
1559
+ - spec/mailers/spotlight/indexing_complete_mailer_spec.rb
1569
1560
  - spec/examples.txt
1570
- - spec/factories/contact_emails.rb
1571
- - spec/factories/contact_images.rb
1572
- - spec/factories/contacts.rb
1573
- - spec/factories/custom_fields.rb
1574
- - spec/factories/exhibit_thumbnails.rb
1575
- - spec/factories/exhibits.rb
1576
- - spec/factories/featured_images.rb
1577
- - spec/factories/pages.rb
1578
- - spec/factories/reindexing_log_entries.rb
1579
- - spec/factories/resources.rb
1580
- - spec/factories/roles.rb
1581
- - spec/factories/searches.rb
1582
- - spec/factories/tags.rb
1583
- - spec/factories/users.rb
1584
- - spec/features/about_page_spec.rb
1585
- - spec/features/add_contacts_spec.rb
1586
- - spec/features/add_custom_field_metadata_spec.rb
1587
- - spec/features/add_iiif_manifest_spec.rb
1561
+ - spec/features/confirm_email_spec.rb
1562
+ - spec/features/exhibit_themes_spec.rb
1563
+ - spec/features/exhibits_index_spec.rb
1588
1564
  - spec/features/add_items_spec.rb
1589
- - spec/features/autocomplete_typeahead_spec.rb
1565
+ - spec/features/site_admin_management_spec.rb
1566
+ - spec/features/slideshow_spec.rb
1590
1567
  - spec/features/browse_category_admin_spec.rb
1591
- - spec/features/browse_category_spec.rb
1592
- - spec/features/catalog_spec.rb
1593
- - spec/features/confirm_email_spec.rb
1594
- - spec/features/create_exhibit_spec.rb
1568
+ - spec/features/item_admin_spec.rb
1569
+ - spec/features/add_contacts_spec.rb
1570
+ - spec/features/translation_scope_spec.rb
1595
1571
  - spec/features/create_page_spec.rb
1596
- - spec/features/curator_items.rb
1572
+ - spec/features/site_masthead_spec.rb
1597
1573
  - spec/features/dashboard_spec.rb
1598
- - spec/features/edit_contact_spec.rb
1599
- - spec/features/edit_search_fields_spec.rb
1574
+ - spec/features/main_navigation_spec.rb
1575
+ - spec/features/about_page_spec.rb
1576
+ - spec/features/report_a_problem_spec.rb
1577
+ - spec/features/import_exhibit_spec.rb
1578
+ - spec/features/catalog_spec.rb
1579
+ - spec/features/add_custom_field_metadata_spec.rb
1580
+ - spec/features/metadata_admin_spec.rb
1600
1581
  - spec/features/exhibit_masthead_spec.rb
1601
- - spec/features/exhibit_themes_spec.rb
1602
1582
  - spec/features/exhibits/add_tags_spec.rb
1603
1583
  - spec/features/exhibits/administration_spec.rb
1604
1584
  - spec/features/exhibits/custom_metadata_fields_spec.rb
1605
1585
  - spec/features/exhibits/edit_metadata_fields_spec.rb
1606
- - spec/features/exhibits_index_spec.rb
1586
+ - spec/features/browse_category_spec.rb
1587
+ - spec/features/create_exhibit_spec.rb
1607
1588
  - spec/features/feature_page_spec.rb
1608
1589
  - spec/features/home_page_spec.rb
1609
- - spec/features/import_exhibit_spec.rb
1610
- - spec/features/item_admin_spec.rb
1611
- - spec/features/javascript/about_page_admin_spec.rb
1612
- - spec/features/javascript/block_controls_spec.rb
1613
1590
  - spec/features/javascript/blocks/featured_browse_categories_block_spec.rb
1614
- - spec/features/javascript/blocks/featured_pages_block_spec.rb
1615
1591
  - spec/features/javascript/blocks/link_to_search_block_spec.rb
1616
- - spec/features/javascript/blocks/rule_block_spec.rb
1592
+ - spec/features/javascript/blocks/featured_pages_block_spec.rb
1617
1593
  - spec/features/javascript/blocks/search_result_block_spec.rb
1618
- - spec/features/javascript/blocks/solr_documents_block_spec.rb
1619
1594
  - spec/features/javascript/blocks/uploaded_items_block_spec.rb
1620
- - spec/features/javascript/edit_in_place_spec.rb
1595
+ - spec/features/javascript/blocks/rule_block_spec.rb
1596
+ - spec/features/javascript/blocks/solr_documents_block_spec.rb
1621
1597
  - spec/features/javascript/feature_page_admin_spec.rb
1598
+ - spec/features/javascript/search_config_admin_spec.rb
1622
1599
  - spec/features/javascript/home_page_edit_spec.rb
1600
+ - spec/features/javascript/edit_in_place_spec.rb
1601
+ - spec/features/javascript/block_controls_spec.rb
1623
1602
  - spec/features/javascript/metadata_admin_spec.rb
1603
+ - spec/features/javascript/roles_admin_spec.rb
1624
1604
  - spec/features/javascript/multi_image_select_spec.rb
1605
+ - spec/features/javascript/about_page_admin_spec.rb
1625
1606
  - spec/features/javascript/reindex_monitor_spec.rb
1626
- - spec/features/javascript/roles_admin_spec.rb
1627
- - spec/features/javascript/search_config_admin_spec.rb
1628
1607
  - spec/features/javascript/search_context_spec.rb
1629
- - spec/features/main_navigation_spec.rb
1630
- - spec/features/metadata_admin_spec.rb
1631
- - spec/features/report_a_problem_spec.rb
1632
- - spec/features/site_admin_management_spec.rb
1633
- - spec/features/site_masthead_spec.rb
1634
- - spec/features/slideshow_spec.rb
1635
- - spec/features/tags_admin_spec.rb
1636
- - spec/features/user_admin_spec.rb
1637
- - spec/fixtures/800x600.png
1638
- - spec/fixtures/avatar.png
1639
- - spec/fixtures/csv-upload-fixture.csv
1640
- - spec/fixtures/gk446cj2442-manifest.json
1641
- - spec/fixtures/iiif_responses.rb
1642
- - spec/fixtures/json-upload-fixture.json
1643
- - spec/fixtures/sample_solr_documents.yml
1644
- - spec/helpers/spotlight/application_helper_spec.rb
1645
- - spec/helpers/spotlight/browse_helper_spec.rb
1646
- - spec/helpers/spotlight/crop_helper_spec.rb
1647
- - spec/helpers/spotlight/crud_link_helpers_spec.rb
1648
- - spec/helpers/spotlight/main_app_helpers_spec.rb
1649
- - spec/helpers/spotlight/meta_helper_spec.rb
1650
- - spec/helpers/spotlight/navbar_helper_spec.rb
1651
- - spec/helpers/spotlight/pages_helper_spec.rb
1652
- - spec/helpers/spotlight/roles_helper_spec.rb
1653
- - spec/helpers/spotlight/search_configurations_helper_spec.rb
1654
- - spec/helpers/spotlight/title_helper_spec.rb
1655
- - spec/jobs/spotlight/add_uploads_from_csv_spec.rb
1656
- - spec/jobs/spotlight/default_thumbnail_job_spec.rb
1657
- - spec/jobs/spotlight/reindex_job_spec.rb
1658
- - spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
1659
- - spec/lib/migration/iiif_spec.rb
1660
- - spec/lib/spotlight/catalog_spec.rb
1661
- - spec/lib/spotlight/controller_spec.rb
1662
- - spec/mailers/spotlight/indexing_complete_mailer_spec.rb
1663
- - spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
1664
- - spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
1665
- - spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
1666
- - spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
1667
- - spec/models/sir_trevor_rails/blocks/textable_spec.rb
1668
- - spec/models/solr_document_spec.rb
1669
- - spec/models/spotlight/ability_spec.rb
1670
- - spec/models/spotlight/about_page_spec.rb
1671
- - spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
1672
- - spec/models/spotlight/analytics/ga_spec.rb
1673
- - spec/models/spotlight/blacklight_configuration_spec.rb
1674
- - spec/models/spotlight/contact_email_spec.rb
1675
- - spec/models/spotlight/contact_form_spec.rb
1676
- - spec/models/spotlight/contact_image_spec.rb
1608
+ - spec/features/autocomplete_typeahead_spec.rb
1609
+ - spec/features/add_iiif_manifest_spec.rb
1610
+ - spec/features/edit_contact_spec.rb
1611
+ - spec/features/edit_search_fields_spec.rb
1612
+ - spec/models/spotlight/reindex_progress_spec.rb
1677
1613
  - spec/models/spotlight/contact_spec.rb
1678
1614
  - spec/models/spotlight/custom_field_spec.rb
1679
1615
  - spec/models/spotlight/exhibit_spec.rb
1680
- - spec/models/spotlight/exhibit_thumbnail_spec.rb
1681
- - spec/models/spotlight/feature_page_spec.rb
1682
1616
  - spec/models/spotlight/featured_image_spec.rb
1683
- - spec/models/spotlight/field_metadata_spec.rb
1684
- - spec/models/spotlight/filter_spec.rb
1685
- - spec/models/spotlight/home_page_spec.rb
1686
- - spec/models/spotlight/main_navigation_spec.rb
1687
- - spec/models/spotlight/masthead_spec.rb
1688
- - spec/models/spotlight/page_spec.rb
1689
- - spec/models/spotlight/reindex_progress_spec.rb
1690
- - spec/models/spotlight/reindexing_log_entry_spec.rb
1691
- - spec/models/spotlight/resource_spec.rb
1692
- - spec/models/spotlight/resources/iiif_harvester_spec.rb
1693
- - spec/models/spotlight/resources/iiif_manifest_spec.rb
1617
+ - spec/models/spotlight/ability_spec.rb
1618
+ - spec/models/spotlight/site_spec.rb
1619
+ - spec/models/spotlight/solr_document_sidecar_spec.rb
1620
+ - spec/models/spotlight/search_spec.rb
1621
+ - spec/models/spotlight/contact_image_spec.rb
1694
1622
  - spec/models/spotlight/resources/iiif_service_spec.rb
1695
1623
  - spec/models/spotlight/resources/open_graph_spec.rb
1696
- - spec/models/spotlight/resources/upload_spec.rb
1697
1624
  - spec/models/spotlight/resources/web_spec.rb
1698
- - spec/models/spotlight/role_spec.rb
1699
- - spec/models/spotlight/search_spec.rb
1700
- - spec/models/spotlight/site_spec.rb
1701
- - spec/models/spotlight/sitemap_spec.rb
1625
+ - spec/models/spotlight/resources/upload_spec.rb
1626
+ - spec/models/spotlight/resources/iiif_harvester_spec.rb
1627
+ - spec/models/spotlight/resources/iiif_manifest_spec.rb
1628
+ - spec/models/spotlight/page_spec.rb
1629
+ - spec/models/spotlight/blacklight_configuration_spec.rb
1702
1630
  - spec/models/spotlight/solr_document/atomic_updates_spec.rb
1703
1631
  - spec/models/spotlight/solr_document/uploaded_resource_spec.rb
1704
- - spec/models/spotlight/solr_document_sidecar_spec.rb
1632
+ - spec/models/spotlight/resource_spec.rb
1633
+ - spec/models/spotlight/main_navigation_spec.rb
1634
+ - spec/models/spotlight/about_page_spec.rb
1635
+ - spec/models/spotlight/exhibit_thumbnail_spec.rb
1636
+ - spec/models/spotlight/sitemap_spec.rb
1637
+ - spec/models/spotlight/masthead_spec.rb
1638
+ - spec/models/spotlight/contact_email_spec.rb
1639
+ - spec/models/spotlight/reindexing_log_entry_spec.rb
1640
+ - spec/models/spotlight/feature_page_spec.rb
1641
+ - spec/models/spotlight/field_metadata_spec.rb
1642
+ - spec/models/spotlight/home_page_spec.rb
1705
1643
  - spec/models/spotlight/user_spec.rb
1644
+ - spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
1645
+ - spec/models/spotlight/role_spec.rb
1646
+ - spec/models/spotlight/filter_spec.rb
1647
+ - spec/models/spotlight/contact_form_spec.rb
1648
+ - spec/models/spotlight/analytics/ga_spec.rb
1649
+ - spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
1650
+ - spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
1651
+ - spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
1652
+ - spec/models/sir_trevor_rails/blocks/textable_spec.rb
1653
+ - spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
1654
+ - spec/models/solr_document_spec.rb
1706
1655
  - spec/presenters/spotlight/iiif_manifest_presenter_spec.rb
1707
- - spec/routing/spotlight/exhibit_catalog_spec.rb
1708
- - spec/routing/spotlight/featured_images_spec.rb
1709
- - spec/routing/spotlight/pages_routing_spec.rb
1710
1656
  - spec/serializers/spotlight/exhibit_export_serializer_spec.rb
1711
- - spec/services/spotlight/carrierwave_file_resolver_spec.rb
1712
- - spec/services/spotlight/iiif_resource_resolver_spec.rb
1713
- - spec/services/spotlight/invite_users_service_spec.rb
1714
- - spec/services/spotlight/solr_document_builder_spec.rb
1715
- - spec/spec_helper.rb
1716
- - spec/support/controllers/engine_helpers.rb
1657
+ - spec/support/features/capybara_default_max_wait_metadata_helper.rb
1717
1658
  - spec/support/features/test_features_helpers.rb
1718
- - spec/support/helpers/controller_level_helpers.rb
1719
1659
  - spec/support/stub_iiif_response.rb
1660
+ - spec/support/disable_friendly_id_deprecation_warnings.rb
1661
+ - spec/support/controllers/engine_helpers.rb
1720
1662
  - spec/support/views/test_view_helpers.rb
1663
+ - spec/support/helpers/controller_level_helpers.rb
1664
+ - spec/factories/exhibits.rb
1665
+ - spec/factories/custom_fields.rb
1666
+ - spec/factories/exhibit_thumbnails.rb
1667
+ - spec/factories/contact_emails.rb
1668
+ - spec/factories/featured_images.rb
1669
+ - spec/factories/translation.rb
1670
+ - spec/factories/resources.rb
1671
+ - spec/factories/pages.rb
1672
+ - spec/factories/reindexing_log_entries.rb
1673
+ - spec/factories/searches.rb
1674
+ - spec/factories/contact_images.rb
1675
+ - spec/factories/contacts.rb
1676
+ - spec/factories/roles.rb
1677
+ - spec/factories/users.rb
1678
+ - spec/factories/tags.rb
1679
+ - spec/test_app_templates/spotlight_test.rake
1721
1680
  - spec/test_app_templates/carrierwave.rb
1722
- - spec/test_app_templates/catalog_controller.rb
1723
- - spec/test_app_templates/fixture.css
1724
1681
  - spec/test_app_templates/fixture.png
1725
- - spec/test_app_templates/Gemfile.extra
1726
1682
  - spec/test_app_templates/lib/generators/test_app_generator.rb
1727
- - spec/test_app_templates/spotlight_test.rake
1728
- - spec/uploaders/spotlight/attachment_uploader_spec.rb
1729
- - spec/uploaders/spotlight/featured_image_uploader_spec.rb
1730
- - spec/views/_user_util_links.html.erb_spec.rb
1731
- - spec/views/shared/_analytics.html.erb_spec.rb
1732
- - spec/views/shared/_exhibit_navbar.html.erb_spec.rb
1733
- - spec/views/shared/_footer.html.erb_spec.rb
1734
- - spec/views/shared/_header_navbar.html.erb_spec.rb
1735
- - spec/views/shared/_masthead.html.erb_spec.rb
1736
- - spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
1737
- - spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
1738
- - spec/views/spotlight/about_pages/index.html.erb_spec.rb
1739
- - spec/views/spotlight/browse/_search.html.erb_spec.rb
1740
- - spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
1741
- - spec/views/spotlight/browse/index.html.erb_spec.rb
1742
- - spec/views/spotlight/browse/show.html.erb_spec.rb
1743
- - spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
1744
- - spec/views/spotlight/catalog/admin.html.erb_spec.rb
1745
- - spec/views/spotlight/catalog/edit.html.erb_spec.rb
1746
- - spec/views/spotlight/contacts/edit.html.erb_spec.rb
1747
- - spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
1748
- - spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
1749
- - spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
1750
- - spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
1751
- - spec/views/spotlight/exhibits/edit.html.erb_spec.rb
1752
- - spec/views/spotlight/exhibits/index.html.erb_spec.rb
1753
- - spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
1754
- - spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
1755
- - spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
1756
- - spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
1757
- - spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
1758
- - spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
1759
- - spec/views/spotlight/pages/_form.html.erb_spec.rb
1760
- - spec/views/spotlight/pages/edit.html.erb_spec.rb
1761
- - spec/views/spotlight/pages/index.html.erb_spec.rb
1762
- - spec/views/spotlight/pages/new.html.erb_spec.rb
1763
- - spec/views/spotlight/pages/show.html.erb_spec.rb
1764
- - spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
1765
- - spec/views/spotlight/resources/new.html.erb_spec.rb
1766
- - spec/views/spotlight/roles/index.html.erb_spec.rb
1767
- - spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
1683
+ - spec/test_app_templates/fixture.css
1684
+ - spec/test_app_templates/catalog_controller.rb
1685
+ - spec/test_app_templates/Gemfile.extra
1686
+ - spec/lib/spotlight/catalog_spec.rb
1687
+ - spec/lib/spotlight/controller_spec.rb
1688
+ - spec/lib/migration/iiif_spec.rb
1689
+ - spec/fixtures/gk446cj2442-manifest.json
1690
+ - spec/fixtures/json-upload-fixture.json
1691
+ - spec/fixtures/csv-upload-fixture.csv
1692
+ - spec/fixtures/avatar.png
1693
+ - spec/fixtures/sample_solr_documents.yml
1694
+ - spec/fixtures/iiif_responses.rb
1695
+ - spec/fixtures/800x600.png
1696
+ - spec/routing/spotlight/featured_images_spec.rb
1697
+ - spec/routing/spotlight/exhibit_catalog_spec.rb
1698
+ - spec/routing/spotlight/pages_routing_spec.rb
1699
+ - spec/jobs/spotlight/reindex_job_spec.rb
1700
+ - spec/jobs/spotlight/default_thumbnail_job_spec.rb
1701
+ - spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
1702
+ - spec/jobs/spotlight/add_uploads_from_csv_spec.rb
1703
+ - spec/controllers/spotlight/confirmations_controller_spec.rb
1704
+ - spec/controllers/spotlight/versions_controller_spec.rb
1705
+ - spec/controllers/spotlight/searches_controller_spec.rb
1706
+ - spec/controllers/spotlight/contact_forms_controller_spec.rb
1707
+ - spec/controllers/spotlight/roles_controller_spec.rb
1708
+ - spec/controllers/spotlight/featured_images_controller_spec.rb
1709
+ - spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
1710
+ - spec/controllers/spotlight/resources/upload_controller_spec.rb
1711
+ - spec/controllers/spotlight/metadata_configurations_controller_spec.rb
1712
+ - spec/controllers/spotlight/about_pages_controller_spec.rb
1713
+ - spec/controllers/spotlight/appearances_controller_spec.rb
1714
+ - spec/controllers/spotlight/view_configurations_controller_spec.rb
1715
+ - spec/controllers/spotlight/filters_controller_spec.rb
1716
+ - spec/controllers/spotlight/resources_controller_spec.rb
1717
+ - spec/controllers/spotlight/catalog_controller_spec.rb
1718
+ - spec/controllers/spotlight/contacts_controller_spec.rb
1719
+ - spec/controllers/spotlight/home_pages_controller_spec.rb
1720
+ - spec/controllers/spotlight/dashboards_controller_spec.rb
1721
+ - spec/controllers/spotlight/attachments_controller_spec.rb
1722
+ - spec/controllers/spotlight/feature_pages_controller_spec.rb
1723
+ - spec/controllers/spotlight/search_configurations_controller_spec.rb
1724
+ - spec/controllers/spotlight/browse_controller_spec.rb
1725
+ - spec/controllers/spotlight/custom_fields_controller_spec.rb
1726
+ - spec/controllers/spotlight/exhibits_controller_spec.rb
1727
+ - spec/controllers/spotlight/sites_controller_spec.rb
1728
+ - spec/controllers/spotlight/contact_email_controller_spec.rb
1729
+ - spec/controllers/spotlight/tags_controller_spec.rb
1730
+ - spec/controllers/spotlight/application_controller_spec.rb
1731
+ - spec/controllers/spotlight/admin_users_controller_spec.rb
1732
+ - spec/controllers/spotlight/solr_controller_spec.rb
1733
+ - spec/controllers/application_controller_spec.rb
1768
1734
  - spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
1769
1735
  - spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
1770
1736
  - spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
1771
- - spec/views/spotlight/searches/_search.html.erb_spec.rb
1737
+ - spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
1772
1738
  - spec/views/spotlight/searches/edit.html.erb_spec.rb
1739
+ - spec/views/spotlight/searches/_search.html.erb_spec.rb
1773
1740
  - spec/views/spotlight/searches/index.html.erb_spec.rb
1774
- - spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
1741
+ - spec/views/spotlight/contacts/edit.html.erb_spec.rb
1742
+ - spec/views/spotlight/catalog/edit.html.erb_spec.rb
1743
+ - spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
1744
+ - spec/views/spotlight/catalog/admin.html.erb_spec.rb
1745
+ - spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
1746
+ - spec/views/spotlight/resources/new.html.erb_spec.rb
1747
+ - spec/views/spotlight/roles/index.html.erb_spec.rb
1748
+ - spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
1749
+ - spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
1750
+ - spec/views/spotlight/tags/index.html.erb_spec.rb
1751
+ - spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
1752
+ - spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
1753
+ - spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
1754
+ - spec/views/spotlight/exhibits/edit.html.erb_spec.rb
1755
+ - spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
1756
+ - spec/views/spotlight/exhibits/index.html.erb_spec.rb
1757
+ - spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
1758
+ - spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
1759
+ - spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
1775
1760
  - spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
1776
- - spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
1777
- - spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
1778
1761
  - spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
1779
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
1762
+ - spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
1780
1763
  - spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb
1781
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
1782
1764
  - spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
1783
- - spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
1784
- - spec/views/spotlight/tags/index.html.erb_spec.rb
1765
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
1766
+ - spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
1767
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
1768
+ - spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
1769
+ - spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
1770
+ - spec/views/spotlight/about_pages/index.html.erb_spec.rb
1771
+ - spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
1772
+ - spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
1773
+ - spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
1774
+ - spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
1775
+ - spec/views/spotlight/browse/show.html.erb_spec.rb
1776
+ - spec/views/spotlight/browse/_search.html.erb_spec.rb
1777
+ - spec/views/spotlight/browse/index.html.erb_spec.rb
1778
+ - spec/views/spotlight/pages/_form.html.erb_spec.rb
1779
+ - spec/views/spotlight/pages/edit.html.erb_spec.rb
1780
+ - spec/views/spotlight/pages/show.html.erb_spec.rb
1781
+ - spec/views/spotlight/pages/new.html.erb_spec.rb
1782
+ - spec/views/spotlight/pages/index.html.erb_spec.rb
1783
+ - spec/views/shared/_header_navbar.html.erb_spec.rb
1784
+ - spec/views/shared/_exhibit_navbar.html.erb_spec.rb
1785
+ - spec/views/shared/_footer.html.erb_spec.rb
1786
+ - spec/views/shared/_masthead.html.erb_spec.rb
1787
+ - spec/views/shared/_analytics.html.erb_spec.rb
1788
+ - spec/views/_user_util_links.html.erb_spec.rb
1789
+ - spec/helpers/spotlight/crud_link_helpers_spec.rb
1790
+ - spec/helpers/spotlight/application_helper_spec.rb
1791
+ - spec/helpers/spotlight/pages_helper_spec.rb
1792
+ - spec/helpers/spotlight/meta_helper_spec.rb
1793
+ - spec/helpers/spotlight/title_helper_spec.rb
1794
+ - spec/helpers/spotlight/main_app_helpers_spec.rb
1795
+ - spec/helpers/spotlight/roles_helper_spec.rb
1796
+ - spec/helpers/spotlight/search_configurations_helper_spec.rb
1797
+ - spec/helpers/spotlight/browse_helper_spec.rb
1798
+ - spec/helpers/spotlight/crop_helper_spec.rb
1799
+ - spec/helpers/spotlight/navbar_helper_spec.rb
1800
+ - spec/services/spotlight/invite_users_service_spec.rb
1801
+ - spec/services/spotlight/iiif_resource_resolver_spec.rb
1802
+ - spec/services/spotlight/solr_document_builder_spec.rb
1803
+ - spec/services/spotlight/carrierwave_file_resolver_spec.rb