blacklight-spotlight 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/spotlight/admin_users_controller.rb +1 -0
- data/app/controllers/spotlight/roles_controller.rb +1 -0
- data/app/models/spotlight/blacklight_configuration.rb +8 -1
- data/app/services/spotlight/invite_users_service.rb +15 -0
- data/lib/generators/spotlight/templates/catalog_controller.rb +3 -0
- data/lib/spotlight/version.rb +1 -1
- data/spec/examples.txt +1148 -1152
- data/spec/features/site_admin_management_spec.rb +11 -0
- data/spec/features/user_admin_spec.rb +15 -0
- data/spec/models/spotlight/blacklight_configuration_spec.rb +13 -0
- data/spec/services/spotlight/invite_users_service_spec.rb +45 -0
- metadata +202 -199
@@ -64,6 +64,17 @@ describe 'Site admin management', js: true do
|
|
64
64
|
expect(page).not_to have_css(:td, text: 'not-an-admin@example.com')
|
65
65
|
end
|
66
66
|
|
67
|
+
it 'sends an invitation email to users who do not exist' do
|
68
|
+
click_link 'Add new administrator'
|
69
|
+
|
70
|
+
fill_in 'user_email', with: 'a-user-that-did-not-exist@example.com'
|
71
|
+
|
72
|
+
expect do
|
73
|
+
click_button 'Add role'
|
74
|
+
end.to change { Devise::Mailer.deliveries.count }.by(1)
|
75
|
+
expect(User.where(email: 'a-user-that-did-not-exist@example.com').first.invitation_sent_at).to be_present
|
76
|
+
end
|
77
|
+
|
67
78
|
it 'does not provide a button for users to remove their own adminstrator privs' do
|
68
79
|
click_link 'Add new administrator'
|
69
80
|
|
@@ -10,5 +10,20 @@ describe 'User Administration', type: :feature do
|
|
10
10
|
expect(page).to have_css('td', text: role.role.humanize)
|
11
11
|
end
|
12
12
|
end
|
13
|
+
|
14
|
+
it 'invites new users to the exhibit', js: true do
|
15
|
+
visit spotlight.exhibit_roles_path(exhibit)
|
16
|
+
|
17
|
+
click_link 'Add a new user'
|
18
|
+
|
19
|
+
fill_in 'User key', with: 'a-user-being-invited@example.com'
|
20
|
+
|
21
|
+
expect do
|
22
|
+
click_button 'Save changes'
|
23
|
+
end.to change { Devise::Mailer.deliveries.count }.by(1)
|
24
|
+
expect(User.where(email: 'a-user-being-invited@example.com').first.invitation_sent_at).to be_present
|
25
|
+
|
26
|
+
expect(page).to have_css('.alert-info', text: 'User has been updated.', visible: true)
|
27
|
+
end
|
13
28
|
end
|
14
29
|
end
|
@@ -289,6 +289,19 @@ describe Spotlight::BlacklightConfiguration, type: :model do
|
|
289
289
|
|
290
290
|
expect(subject.blacklight_config.show_fields.keys).to eq %w(c a b)
|
291
291
|
end
|
292
|
+
|
293
|
+
context 'title only configuration' do
|
294
|
+
before do
|
295
|
+
blacklight_config.configure do |config|
|
296
|
+
config.view.gallery.title_only_by_default = true
|
297
|
+
config.add_index_field 'a'
|
298
|
+
end
|
299
|
+
end
|
300
|
+
it 'only shows titles (i.e., no metadata) for gallery view' do
|
301
|
+
expect(subject.blacklight_config.index_fields['a'][:list]).to eq true
|
302
|
+
expect(subject.blacklight_config.index_fields['a'][:gallery]).to eq false
|
303
|
+
end
|
304
|
+
end
|
292
305
|
end
|
293
306
|
|
294
307
|
describe 'a newly created instance' do
|
@@ -0,0 +1,45 @@
|
|
1
|
+
describe Spotlight::InviteUsersService do
|
2
|
+
subject { described_class.call(resource: resource) }
|
3
|
+
|
4
|
+
let(:resource) do
|
5
|
+
FactoryBot.create(:exhibit, roles: [FactoryBot.create(:role, user: user)])
|
6
|
+
end
|
7
|
+
|
8
|
+
context 'when the user was not created by an invite' do
|
9
|
+
let(:user) { FactoryBot.create(:user) }
|
10
|
+
|
11
|
+
it 'does not send an invite' do
|
12
|
+
expect do
|
13
|
+
subject
|
14
|
+
end.to change { Devise::Mailer.deliveries.count }.by(0)
|
15
|
+
expect(user.reload.invitation_sent_at).to be_nil
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
context 'when the user has already received an invite' do
|
20
|
+
let!(:user) do
|
21
|
+
User.invite!(email: 'a-user-that-does-not-exist@example.com', skip_invitation: true).tap do |u|
|
22
|
+
u.invitation_sent_at = Time.zone.now
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'does not send an invite' do
|
27
|
+
expect do
|
28
|
+
subject
|
29
|
+
end.to change { Devise::Mailer.deliveries.count }.by(0)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
context 'when the user was created by but not yet received an invite' do
|
34
|
+
let(:user) do
|
35
|
+
User.invite!(email: 'a-user-that-does-not-exist@example.com', skip_invitation: true)
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'sends an invite' do
|
39
|
+
expect do
|
40
|
+
subject
|
41
|
+
end.to change { Devise::Mailer.deliveries.count }.by(1)
|
42
|
+
expect(user.reload.invitation_sent_at).to be_present
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
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
|
+
version: 1.2.0
|
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: 2017-
|
14
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -966,6 +966,7 @@ files:
|
|
966
966
|
- app/serializers/spotlight/page_representer.rb
|
967
967
|
- app/services/spotlight/carrierwave_file_resolver.rb
|
968
968
|
- app/services/spotlight/iiif_resource_resolver.rb
|
969
|
+
- app/services/spotlight/invite_users_service.rb
|
969
970
|
- app/services/spotlight/resources/iiif_builder.rb
|
970
971
|
- app/services/spotlight/solr_document_builder.rb
|
971
972
|
- app/services/spotlight/upload_solr_document_builder.rb
|
@@ -1388,6 +1389,7 @@ files:
|
|
1388
1389
|
- spec/serializers/spotlight/exhibit_export_serializer_spec.rb
|
1389
1390
|
- spec/services/spotlight/carrierwave_file_resolver_spec.rb
|
1390
1391
|
- spec/services/spotlight/iiif_resource_resolver_spec.rb
|
1392
|
+
- spec/services/spotlight/invite_users_service_spec.rb
|
1391
1393
|
- spec/services/spotlight/solr_document_builder_spec.rb
|
1392
1394
|
- spec/spec_helper.rb
|
1393
1395
|
- spec/support/controllers/engine_helpers.rb
|
@@ -1516,249 +1518,250 @@ specification_version: 4
|
|
1516
1518
|
summary: Enable librarians, curators, and others who are responsible for digital collections
|
1517
1519
|
to create attractive, feature-rich websites that feature these collections.
|
1518
1520
|
test_files:
|
1519
|
-
- spec/
|
1520
|
-
- spec/
|
1521
|
-
- spec/
|
1522
|
-
- spec/
|
1521
|
+
- spec/controllers/application_controller_spec.rb
|
1522
|
+
- spec/controllers/spotlight/about_pages_controller_spec.rb
|
1523
|
+
- spec/controllers/spotlight/admin_users_controller_spec.rb
|
1524
|
+
- spec/controllers/spotlight/appearances_controller_spec.rb
|
1525
|
+
- spec/controllers/spotlight/application_controller_spec.rb
|
1526
|
+
- spec/controllers/spotlight/attachments_controller_spec.rb
|
1527
|
+
- spec/controllers/spotlight/browse_controller_spec.rb
|
1528
|
+
- spec/controllers/spotlight/catalog_controller_spec.rb
|
1529
|
+
- spec/controllers/spotlight/confirmations_controller_spec.rb
|
1530
|
+
- spec/controllers/spotlight/contact_email_controller_spec.rb
|
1531
|
+
- spec/controllers/spotlight/contact_forms_controller_spec.rb
|
1532
|
+
- spec/controllers/spotlight/contacts_controller_spec.rb
|
1533
|
+
- spec/controllers/spotlight/custom_fields_controller_spec.rb
|
1534
|
+
- spec/controllers/spotlight/dashboards_controller_spec.rb
|
1535
|
+
- spec/controllers/spotlight/exhibits_controller_spec.rb
|
1536
|
+
- spec/controllers/spotlight/feature_pages_controller_spec.rb
|
1537
|
+
- spec/controllers/spotlight/featured_images_controller_spec.rb
|
1538
|
+
- spec/controllers/spotlight/filters_controller_spec.rb
|
1539
|
+
- spec/controllers/spotlight/home_pages_controller_spec.rb
|
1540
|
+
- spec/controllers/spotlight/metadata_configurations_controller_spec.rb
|
1541
|
+
- spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
|
1542
|
+
- spec/controllers/spotlight/resources/upload_controller_spec.rb
|
1543
|
+
- spec/controllers/spotlight/resources_controller_spec.rb
|
1544
|
+
- spec/controllers/spotlight/roles_controller_spec.rb
|
1545
|
+
- spec/controllers/spotlight/search_configurations_controller_spec.rb
|
1546
|
+
- spec/controllers/spotlight/searches_controller_spec.rb
|
1547
|
+
- spec/controllers/spotlight/sites_controller_spec.rb
|
1548
|
+
- spec/controllers/spotlight/solr_controller_spec.rb
|
1549
|
+
- spec/controllers/spotlight/tags_controller_spec.rb
|
1550
|
+
- spec/controllers/spotlight/versions_controller_spec.rb
|
1551
|
+
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1523
1552
|
- spec/examples.txt
|
1524
|
-
- spec/
|
1525
|
-
- spec/
|
1526
|
-
- spec/
|
1553
|
+
- spec/factories/contact_emails.rb
|
1554
|
+
- spec/factories/contact_images.rb
|
1555
|
+
- spec/factories/contacts.rb
|
1556
|
+
- spec/factories/custom_fields.rb
|
1557
|
+
- spec/factories/exhibit_thumbnails.rb
|
1558
|
+
- spec/factories/exhibits.rb
|
1559
|
+
- spec/factories/featured_images.rb
|
1560
|
+
- spec/factories/pages.rb
|
1561
|
+
- spec/factories/reindexing_log_entries.rb
|
1562
|
+
- spec/factories/resources.rb
|
1563
|
+
- spec/factories/roles.rb
|
1564
|
+
- spec/factories/searches.rb
|
1565
|
+
- spec/factories/tags.rb
|
1566
|
+
- spec/factories/users.rb
|
1567
|
+
- spec/features/about_page_spec.rb
|
1568
|
+
- spec/features/add_contacts_spec.rb
|
1569
|
+
- spec/features/add_custom_field_metadata_spec.rb
|
1570
|
+
- spec/features/add_iiif_manifest_spec.rb
|
1527
1571
|
- spec/features/add_items_spec.rb
|
1528
|
-
- spec/features/
|
1529
|
-
- spec/features/tags_admin_spec.rb
|
1530
|
-
- spec/features/slideshow_spec.rb
|
1572
|
+
- spec/features/autocomplete_typeahead_spec.rb
|
1531
1573
|
- spec/features/browse_category_admin_spec.rb
|
1532
|
-
- spec/features/
|
1533
|
-
- spec/features/
|
1534
|
-
- spec/features/
|
1574
|
+
- spec/features/browse_category_spec.rb
|
1575
|
+
- spec/features/catalog_spec.rb
|
1576
|
+
- spec/features/confirm_email_spec.rb
|
1577
|
+
- spec/features/create_exhibit_spec.rb
|
1535
1578
|
- spec/features/create_page_spec.rb
|
1536
|
-
- spec/features/
|
1579
|
+
- spec/features/curator_items.rb
|
1537
1580
|
- spec/features/dashboard_spec.rb
|
1538
|
-
- spec/features/
|
1539
|
-
- spec/features/
|
1540
|
-
- spec/features/report_a_problem_spec.rb
|
1541
|
-
- spec/features/import_exhibit_spec.rb
|
1542
|
-
- spec/features/catalog_spec.rb
|
1543
|
-
- spec/features/add_custom_field_metadata_spec.rb
|
1544
|
-
- spec/features/metadata_admin_spec.rb
|
1581
|
+
- spec/features/edit_contact_spec.rb
|
1582
|
+
- spec/features/edit_search_fields_spec.rb
|
1545
1583
|
- spec/features/exhibit_masthead_spec.rb
|
1584
|
+
- spec/features/exhibit_themes_spec.rb
|
1546
1585
|
- spec/features/exhibits/add_tags_spec.rb
|
1547
1586
|
- spec/features/exhibits/administration_spec.rb
|
1548
1587
|
- spec/features/exhibits/custom_metadata_fields_spec.rb
|
1549
1588
|
- spec/features/exhibits/edit_metadata_fields_spec.rb
|
1550
|
-
- spec/features/
|
1551
|
-
- spec/features/create_exhibit_spec.rb
|
1589
|
+
- spec/features/exhibits_index_spec.rb
|
1552
1590
|
- spec/features/feature_page_spec.rb
|
1553
|
-
- spec/features/user_admin_spec.rb
|
1554
1591
|
- spec/features/home_page_spec.rb
|
1592
|
+
- spec/features/import_exhibit_spec.rb
|
1593
|
+
- spec/features/item_admin_spec.rb
|
1594
|
+
- spec/features/javascript/about_page_admin_spec.rb
|
1595
|
+
- spec/features/javascript/block_controls_spec.rb
|
1555
1596
|
- spec/features/javascript/blocks/featured_browse_categories_block_spec.rb
|
1556
|
-
- spec/features/javascript/blocks/link_to_search_block_spec.rb
|
1557
1597
|
- spec/features/javascript/blocks/featured_pages_block_spec.rb
|
1558
|
-
- spec/features/javascript/blocks/
|
1559
|
-
- spec/features/javascript/blocks/uploaded_items_block_spec.rb
|
1598
|
+
- spec/features/javascript/blocks/link_to_search_block_spec.rb
|
1560
1599
|
- spec/features/javascript/blocks/rule_block_spec.rb
|
1600
|
+
- spec/features/javascript/blocks/search_result_block_spec.rb
|
1561
1601
|
- spec/features/javascript/blocks/solr_documents_block_spec.rb
|
1602
|
+
- spec/features/javascript/blocks/uploaded_items_block_spec.rb
|
1603
|
+
- spec/features/javascript/edit_in_place_spec.rb
|
1562
1604
|
- spec/features/javascript/feature_page_admin_spec.rb
|
1563
|
-
- spec/features/javascript/search_config_admin_spec.rb
|
1564
1605
|
- spec/features/javascript/home_page_edit_spec.rb
|
1565
|
-
- spec/features/javascript/edit_in_place_spec.rb
|
1566
|
-
- spec/features/javascript/block_controls_spec.rb
|
1567
1606
|
- spec/features/javascript/metadata_admin_spec.rb
|
1568
|
-
- spec/features/javascript/roles_admin_spec.rb
|
1569
1607
|
- spec/features/javascript/multi_image_select_spec.rb
|
1570
|
-
- spec/features/javascript/about_page_admin_spec.rb
|
1571
1608
|
- spec/features/javascript/reindex_monitor_spec.rb
|
1609
|
+
- spec/features/javascript/roles_admin_spec.rb
|
1610
|
+
- spec/features/javascript/search_config_admin_spec.rb
|
1572
1611
|
- spec/features/javascript/search_context_spec.rb
|
1573
|
-
- spec/features/
|
1574
|
-
- spec/features/
|
1575
|
-
- spec/features/
|
1576
|
-
- spec/features/
|
1577
|
-
- spec/
|
1612
|
+
- spec/features/main_navigation_spec.rb
|
1613
|
+
- spec/features/metadata_admin_spec.rb
|
1614
|
+
- spec/features/report_a_problem_spec.rb
|
1615
|
+
- spec/features/site_admin_management_spec.rb
|
1616
|
+
- spec/features/site_masthead_spec.rb
|
1617
|
+
- spec/features/slideshow_spec.rb
|
1618
|
+
- spec/features/tags_admin_spec.rb
|
1619
|
+
- spec/features/user_admin_spec.rb
|
1620
|
+
- spec/fixtures/800x600.png
|
1621
|
+
- spec/fixtures/avatar.png
|
1622
|
+
- spec/fixtures/csv-upload-fixture.csv
|
1623
|
+
- spec/fixtures/gk446cj2442-manifest.json
|
1624
|
+
- spec/fixtures/iiif_responses.rb
|
1625
|
+
- spec/fixtures/json-upload-fixture.json
|
1626
|
+
- spec/fixtures/sample_solr_documents.yml
|
1627
|
+
- spec/helpers/spotlight/application_helper_spec.rb
|
1628
|
+
- spec/helpers/spotlight/browse_helper_spec.rb
|
1629
|
+
- spec/helpers/spotlight/crop_helper_spec.rb
|
1630
|
+
- spec/helpers/spotlight/crud_link_helpers_spec.rb
|
1631
|
+
- spec/helpers/spotlight/main_app_helpers_spec.rb
|
1632
|
+
- spec/helpers/spotlight/meta_helper_spec.rb
|
1633
|
+
- spec/helpers/spotlight/navbar_helper_spec.rb
|
1634
|
+
- spec/helpers/spotlight/pages_helper_spec.rb
|
1635
|
+
- spec/helpers/spotlight/roles_helper_spec.rb
|
1636
|
+
- spec/helpers/spotlight/search_configurations_helper_spec.rb
|
1637
|
+
- spec/helpers/spotlight/title_helper_spec.rb
|
1638
|
+
- spec/jobs/spotlight/add_uploads_from_csv_spec.rb
|
1639
|
+
- spec/jobs/spotlight/default_thumbnail_job_spec.rb
|
1640
|
+
- spec/jobs/spotlight/reindex_job_spec.rb
|
1641
|
+
- spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
|
1642
|
+
- spec/lib/migration/iiif_spec.rb
|
1643
|
+
- spec/lib/spotlight/catalog_spec.rb
|
1644
|
+
- spec/lib/spotlight/controller_spec.rb
|
1645
|
+
- spec/mailers/spotlight/indexing_complete_mailer_spec.rb
|
1646
|
+
- spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
|
1647
|
+
- spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
|
1648
|
+
- spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
|
1649
|
+
- spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
|
1650
|
+
- spec/models/sir_trevor_rails/blocks/textable_spec.rb
|
1651
|
+
- spec/models/solr_document_spec.rb
|
1652
|
+
- spec/models/spotlight/ability_spec.rb
|
1653
|
+
- spec/models/spotlight/about_page_spec.rb
|
1654
|
+
- spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
|
1655
|
+
- spec/models/spotlight/analytics/ga_spec.rb
|
1656
|
+
- spec/models/spotlight/blacklight_configuration_spec.rb
|
1657
|
+
- spec/models/spotlight/contact_email_spec.rb
|
1658
|
+
- spec/models/spotlight/contact_form_spec.rb
|
1659
|
+
- spec/models/spotlight/contact_image_spec.rb
|
1578
1660
|
- spec/models/spotlight/contact_spec.rb
|
1579
1661
|
- spec/models/spotlight/custom_field_spec.rb
|
1580
1662
|
- spec/models/spotlight/exhibit_spec.rb
|
1663
|
+
- spec/models/spotlight/exhibit_thumbnail_spec.rb
|
1664
|
+
- spec/models/spotlight/feature_page_spec.rb
|
1581
1665
|
- spec/models/spotlight/featured_image_spec.rb
|
1582
|
-
- spec/models/spotlight/
|
1583
|
-
- spec/models/spotlight/
|
1584
|
-
- spec/models/spotlight/
|
1585
|
-
- spec/models/spotlight/
|
1586
|
-
- spec/models/spotlight/
|
1666
|
+
- spec/models/spotlight/field_metadata_spec.rb
|
1667
|
+
- spec/models/spotlight/filter_spec.rb
|
1668
|
+
- spec/models/spotlight/home_page_spec.rb
|
1669
|
+
- spec/models/spotlight/main_navigation_spec.rb
|
1670
|
+
- spec/models/spotlight/masthead_spec.rb
|
1671
|
+
- spec/models/spotlight/page_spec.rb
|
1672
|
+
- spec/models/spotlight/reindex_progress_spec.rb
|
1673
|
+
- spec/models/spotlight/reindexing_log_entry_spec.rb
|
1674
|
+
- spec/models/spotlight/resource_spec.rb
|
1675
|
+
- spec/models/spotlight/resources/iiif_harvester_spec.rb
|
1676
|
+
- spec/models/spotlight/resources/iiif_manifest_spec.rb
|
1587
1677
|
- spec/models/spotlight/resources/iiif_service_spec.rb
|
1588
1678
|
- spec/models/spotlight/resources/open_graph_spec.rb
|
1589
|
-
- spec/models/spotlight/resources/web_spec.rb
|
1590
1679
|
- spec/models/spotlight/resources/upload_spec.rb
|
1591
|
-
- spec/models/spotlight/resources/
|
1592
|
-
- spec/models/spotlight/
|
1593
|
-
- spec/models/spotlight/
|
1594
|
-
- spec/models/spotlight/
|
1680
|
+
- spec/models/spotlight/resources/web_spec.rb
|
1681
|
+
- spec/models/spotlight/role_spec.rb
|
1682
|
+
- spec/models/spotlight/search_spec.rb
|
1683
|
+
- spec/models/spotlight/site_spec.rb
|
1684
|
+
- spec/models/spotlight/sitemap_spec.rb
|
1595
1685
|
- spec/models/spotlight/solr_document/atomic_updates_spec.rb
|
1596
1686
|
- spec/models/spotlight/solr_document/uploaded_resource_spec.rb
|
1597
|
-
- spec/models/spotlight/
|
1598
|
-
- spec/models/spotlight/main_navigation_spec.rb
|
1599
|
-
- spec/models/spotlight/about_page_spec.rb
|
1600
|
-
- spec/models/spotlight/exhibit_thumbnail_spec.rb
|
1601
|
-
- spec/models/spotlight/sitemap_spec.rb
|
1602
|
-
- spec/models/spotlight/masthead_spec.rb
|
1603
|
-
- spec/models/spotlight/contact_email_spec.rb
|
1604
|
-
- spec/models/spotlight/reindexing_log_entry_spec.rb
|
1605
|
-
- spec/models/spotlight/feature_page_spec.rb
|
1606
|
-
- spec/models/spotlight/field_metadata_spec.rb
|
1607
|
-
- spec/models/spotlight/home_page_spec.rb
|
1687
|
+
- spec/models/spotlight/solr_document_sidecar_spec.rb
|
1608
1688
|
- spec/models/spotlight/user_spec.rb
|
1609
|
-
- spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
|
1610
|
-
- spec/models/spotlight/role_spec.rb
|
1611
|
-
- spec/models/spotlight/filter_spec.rb
|
1612
|
-
- spec/models/spotlight/contact_form_spec.rb
|
1613
|
-
- spec/models/spotlight/analytics/ga_spec.rb
|
1614
|
-
- spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
|
1615
|
-
- spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
|
1616
|
-
- spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
|
1617
|
-
- spec/models/sir_trevor_rails/blocks/textable_spec.rb
|
1618
|
-
- spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
|
1619
|
-
- spec/models/solr_document_spec.rb
|
1620
1689
|
- spec/presenters/spotlight/iiif_manifest_presenter_spec.rb
|
1690
|
+
- spec/routing/spotlight/exhibit_catalog_spec.rb
|
1691
|
+
- spec/routing/spotlight/featured_images_spec.rb
|
1692
|
+
- spec/routing/spotlight/pages_routing_spec.rb
|
1621
1693
|
- spec/serializers/spotlight/exhibit_export_serializer_spec.rb
|
1694
|
+
- spec/services/spotlight/carrierwave_file_resolver_spec.rb
|
1695
|
+
- spec/services/spotlight/iiif_resource_resolver_spec.rb
|
1696
|
+
- spec/services/spotlight/invite_users_service_spec.rb
|
1697
|
+
- spec/services/spotlight/solr_document_builder_spec.rb
|
1698
|
+
- spec/spec_helper.rb
|
1699
|
+
- spec/support/controllers/engine_helpers.rb
|
1622
1700
|
- spec/support/features/test_features_helpers.rb
|
1701
|
+
- spec/support/helpers/controller_level_helpers.rb
|
1623
1702
|
- spec/support/stub_iiif_response.rb
|
1624
|
-
- spec/support/controllers/engine_helpers.rb
|
1625
1703
|
- spec/support/views/test_view_helpers.rb
|
1626
|
-
- spec/support/helpers/controller_level_helpers.rb
|
1627
|
-
- spec/factories/exhibits.rb
|
1628
|
-
- spec/factories/custom_fields.rb
|
1629
|
-
- spec/factories/exhibit_thumbnails.rb
|
1630
|
-
- spec/factories/contact_emails.rb
|
1631
|
-
- spec/factories/featured_images.rb
|
1632
|
-
- spec/factories/resources.rb
|
1633
|
-
- spec/factories/pages.rb
|
1634
|
-
- spec/factories/reindexing_log_entries.rb
|
1635
|
-
- spec/factories/searches.rb
|
1636
|
-
- spec/factories/contact_images.rb
|
1637
|
-
- spec/factories/contacts.rb
|
1638
|
-
- spec/factories/roles.rb
|
1639
|
-
- spec/factories/users.rb
|
1640
|
-
- spec/factories/tags.rb
|
1641
|
-
- spec/test_app_templates/spotlight_test.rake
|
1642
1704
|
- spec/test_app_templates/carrierwave.rb
|
1643
|
-
- spec/test_app_templates/fixture.png
|
1644
|
-
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
1645
|
-
- spec/test_app_templates/fixture.css
|
1646
1705
|
- spec/test_app_templates/catalog_controller.rb
|
1706
|
+
- spec/test_app_templates/fixture.css
|
1707
|
+
- spec/test_app_templates/fixture.png
|
1647
1708
|
- spec/test_app_templates/Gemfile.extra
|
1648
|
-
- spec/lib/
|
1649
|
-
- spec/
|
1650
|
-
- spec/
|
1651
|
-
- spec/
|
1652
|
-
- spec/
|
1653
|
-
- spec/
|
1654
|
-
- spec/
|
1655
|
-
- spec/
|
1656
|
-
- spec/
|
1657
|
-
- spec/
|
1658
|
-
- spec/
|
1659
|
-
- spec/
|
1660
|
-
- spec/
|
1661
|
-
- spec/
|
1662
|
-
- spec/
|
1663
|
-
- spec/
|
1664
|
-
- spec/
|
1665
|
-
- spec/controllers/spotlight/confirmations_controller_spec.rb
|
1666
|
-
- spec/controllers/spotlight/versions_controller_spec.rb
|
1667
|
-
- spec/controllers/spotlight/searches_controller_spec.rb
|
1668
|
-
- spec/controllers/spotlight/contact_forms_controller_spec.rb
|
1669
|
-
- spec/controllers/spotlight/roles_controller_spec.rb
|
1670
|
-
- spec/controllers/spotlight/featured_images_controller_spec.rb
|
1671
|
-
- spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
|
1672
|
-
- spec/controllers/spotlight/resources/upload_controller_spec.rb
|
1673
|
-
- spec/controllers/spotlight/metadata_configurations_controller_spec.rb
|
1674
|
-
- spec/controllers/spotlight/about_pages_controller_spec.rb
|
1675
|
-
- spec/controllers/spotlight/appearances_controller_spec.rb
|
1676
|
-
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1677
|
-
- spec/controllers/spotlight/filters_controller_spec.rb
|
1678
|
-
- spec/controllers/spotlight/resources_controller_spec.rb
|
1679
|
-
- spec/controllers/spotlight/catalog_controller_spec.rb
|
1680
|
-
- spec/controllers/spotlight/contacts_controller_spec.rb
|
1681
|
-
- spec/controllers/spotlight/home_pages_controller_spec.rb
|
1682
|
-
- spec/controllers/spotlight/dashboards_controller_spec.rb
|
1683
|
-
- spec/controllers/spotlight/attachments_controller_spec.rb
|
1684
|
-
- spec/controllers/spotlight/feature_pages_controller_spec.rb
|
1685
|
-
- spec/controllers/spotlight/search_configurations_controller_spec.rb
|
1686
|
-
- spec/controllers/spotlight/browse_controller_spec.rb
|
1687
|
-
- spec/controllers/spotlight/custom_fields_controller_spec.rb
|
1688
|
-
- spec/controllers/spotlight/exhibits_controller_spec.rb
|
1689
|
-
- spec/controllers/spotlight/sites_controller_spec.rb
|
1690
|
-
- spec/controllers/spotlight/contact_email_controller_spec.rb
|
1691
|
-
- spec/controllers/spotlight/tags_controller_spec.rb
|
1692
|
-
- spec/controllers/spotlight/application_controller_spec.rb
|
1693
|
-
- spec/controllers/spotlight/admin_users_controller_spec.rb
|
1694
|
-
- spec/controllers/spotlight/solr_controller_spec.rb
|
1695
|
-
- spec/controllers/application_controller_spec.rb
|
1696
|
-
- spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
|
1697
|
-
- spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
|
1698
|
-
- spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
|
1699
|
-
- spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
|
1700
|
-
- spec/views/spotlight/searches/edit.html.erb_spec.rb
|
1701
|
-
- spec/views/spotlight/searches/_search.html.erb_spec.rb
|
1702
|
-
- spec/views/spotlight/searches/index.html.erb_spec.rb
|
1703
|
-
- spec/views/spotlight/contacts/edit.html.erb_spec.rb
|
1704
|
-
- spec/views/spotlight/catalog/edit.html.erb_spec.rb
|
1709
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
1710
|
+
- spec/test_app_templates/spotlight_test.rake
|
1711
|
+
- spec/uploaders/spotlight/attachment_uploader_spec.rb
|
1712
|
+
- spec/uploaders/spotlight/featured_image_uploader_spec.rb
|
1713
|
+
- spec/views/_user_util_links.html.erb_spec.rb
|
1714
|
+
- spec/views/shared/_analytics.html.erb_spec.rb
|
1715
|
+
- spec/views/shared/_exhibit_navbar.html.erb_spec.rb
|
1716
|
+
- spec/views/shared/_footer.html.erb_spec.rb
|
1717
|
+
- spec/views/shared/_header_navbar.html.erb_spec.rb
|
1718
|
+
- spec/views/shared/_masthead.html.erb_spec.rb
|
1719
|
+
- spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
|
1720
|
+
- spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
|
1721
|
+
- spec/views/spotlight/about_pages/index.html.erb_spec.rb
|
1722
|
+
- spec/views/spotlight/browse/_search.html.erb_spec.rb
|
1723
|
+
- spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
|
1724
|
+
- spec/views/spotlight/browse/index.html.erb_spec.rb
|
1725
|
+
- spec/views/spotlight/browse/show.html.erb_spec.rb
|
1705
1726
|
- spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
|
1706
1727
|
- spec/views/spotlight/catalog/admin.html.erb_spec.rb
|
1728
|
+
- spec/views/spotlight/catalog/edit.html.erb_spec.rb
|
1729
|
+
- spec/views/spotlight/contacts/edit.html.erb_spec.rb
|
1730
|
+
- spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
|
1731
|
+
- spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
|
1732
|
+
- spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
|
1733
|
+
- spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
|
1734
|
+
- spec/views/spotlight/exhibits/edit.html.erb_spec.rb
|
1735
|
+
- spec/views/spotlight/exhibits/index.html.erb_spec.rb
|
1736
|
+
- spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
|
1737
|
+
- spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
|
1738
|
+
- spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
|
1739
|
+
- spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
|
1740
|
+
- spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
|
1741
|
+
- spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
|
1742
|
+
- spec/views/spotlight/pages/_form.html.erb_spec.rb
|
1743
|
+
- spec/views/spotlight/pages/edit.html.erb_spec.rb
|
1744
|
+
- spec/views/spotlight/pages/index.html.erb_spec.rb
|
1745
|
+
- spec/views/spotlight/pages/new.html.erb_spec.rb
|
1746
|
+
- spec/views/spotlight/pages/show.html.erb_spec.rb
|
1707
1747
|
- spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
|
1708
1748
|
- spec/views/spotlight/resources/new.html.erb_spec.rb
|
1709
1749
|
- spec/views/spotlight/roles/index.html.erb_spec.rb
|
1710
|
-
- spec/views/spotlight/
|
1711
|
-
- spec/views/spotlight/
|
1712
|
-
- spec/views/spotlight/
|
1713
|
-
- spec/views/spotlight/
|
1714
|
-
- spec/views/spotlight/
|
1715
|
-
- spec/views/spotlight/
|
1716
|
-
- spec/views/spotlight/
|
1717
|
-
- spec/views/spotlight/
|
1718
|
-
- spec/views/spotlight/exhibits/index.html.erb_spec.rb
|
1719
|
-
- spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
|
1720
|
-
- spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
|
1721
|
-
- spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
|
1750
|
+
- spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
|
1751
|
+
- spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
|
1752
|
+
- spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
|
1753
|
+
- spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
|
1754
|
+
- spec/views/spotlight/searches/_search.html.erb_spec.rb
|
1755
|
+
- spec/views/spotlight/searches/edit.html.erb_spec.rb
|
1756
|
+
- spec/views/spotlight/searches/index.html.erb_spec.rb
|
1757
|
+
- spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
|
1722
1758
|
- spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
|
1723
|
-
- spec/views/spotlight/sir_trevor/blocks/
|
1759
|
+
- spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
|
1724
1760
|
- spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
|
1761
|
+
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
|
1762
|
+
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
|
1725
1763
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb
|
1726
|
-
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
|
1727
1764
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
|
1728
|
-
- spec/views/spotlight/sir_trevor/blocks/
|
1729
|
-
- spec/views/spotlight/
|
1730
|
-
- spec/views/spotlight/
|
1731
|
-
- spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
|
1732
|
-
- spec/views/spotlight/about_pages/index.html.erb_spec.rb
|
1733
|
-
- spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
|
1734
|
-
- spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
|
1735
|
-
- spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
|
1736
|
-
- spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
|
1737
|
-
- spec/views/spotlight/browse/show.html.erb_spec.rb
|
1738
|
-
- spec/views/spotlight/browse/_search.html.erb_spec.rb
|
1739
|
-
- spec/views/spotlight/browse/index.html.erb_spec.rb
|
1740
|
-
- spec/views/spotlight/pages/_form.html.erb_spec.rb
|
1741
|
-
- spec/views/spotlight/pages/edit.html.erb_spec.rb
|
1742
|
-
- spec/views/spotlight/pages/show.html.erb_spec.rb
|
1743
|
-
- spec/views/spotlight/pages/new.html.erb_spec.rb
|
1744
|
-
- spec/views/spotlight/pages/index.html.erb_spec.rb
|
1745
|
-
- spec/views/shared/_header_navbar.html.erb_spec.rb
|
1746
|
-
- spec/views/shared/_exhibit_navbar.html.erb_spec.rb
|
1747
|
-
- spec/views/shared/_footer.html.erb_spec.rb
|
1748
|
-
- spec/views/shared/_masthead.html.erb_spec.rb
|
1749
|
-
- spec/views/shared/_analytics.html.erb_spec.rb
|
1750
|
-
- spec/views/_user_util_links.html.erb_spec.rb
|
1751
|
-
- spec/helpers/spotlight/crud_link_helpers_spec.rb
|
1752
|
-
- spec/helpers/spotlight/application_helper_spec.rb
|
1753
|
-
- spec/helpers/spotlight/pages_helper_spec.rb
|
1754
|
-
- spec/helpers/spotlight/meta_helper_spec.rb
|
1755
|
-
- spec/helpers/spotlight/title_helper_spec.rb
|
1756
|
-
- spec/helpers/spotlight/main_app_helpers_spec.rb
|
1757
|
-
- spec/helpers/spotlight/roles_helper_spec.rb
|
1758
|
-
- spec/helpers/spotlight/search_configurations_helper_spec.rb
|
1759
|
-
- spec/helpers/spotlight/browse_helper_spec.rb
|
1760
|
-
- spec/helpers/spotlight/crop_helper_spec.rb
|
1761
|
-
- spec/helpers/spotlight/navbar_helper_spec.rb
|
1762
|
-
- spec/services/spotlight/iiif_resource_resolver_spec.rb
|
1763
|
-
- spec/services/spotlight/solr_document_builder_spec.rb
|
1764
|
-
- spec/services/spotlight/carrierwave_file_resolver_spec.rb
|
1765
|
+
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
|
1766
|
+
- spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
|
1767
|
+
- spec/views/spotlight/tags/index.html.erb_spec.rb
|