blacklight-spotlight 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/app/assets/javascripts/spotlight/blocks/link_to_search_block.js +16 -0
- data/app/assets/javascripts/spotlight/exhibits.js +16 -5
- data/app/assets/javascripts/spotlight/form_observer.js +2 -2
- data/app/assets/javascripts/spotlight/pages.js.erb +3 -2
- data/app/assets/javascripts/spotlight/sir-trevor/locales.js +6 -0
- data/app/controllers/spotlight/concerns/application_controller.rb +4 -8
- data/app/controllers/spotlight/contact_email_controller.rb +22 -0
- data/app/controllers/spotlight/searches_controller.rb +3 -1
- data/app/models/concerns/spotlight/blacklight_configuration_defaults.rb +4 -4
- data/app/models/sir_trevor_rails/blocks/browse_block.rb +7 -1
- data/app/models/sir_trevor_rails/blocks/featured_pages_block.rb +3 -1
- data/app/models/sir_trevor_rails/blocks/link_to_search_block.rb +15 -0
- data/app/models/spotlight/ability.rb +1 -1
- data/app/models/spotlight/blacklight_configuration.rb +8 -7
- data/app/models/spotlight/exhibit.rb +2 -0
- data/app/models/spotlight/resource.rb +8 -2
- data/app/services/spotlight/carrierwave_file_resolver.rb +5 -0
- data/app/services/spotlight/upload_solr_document_builder.rb +2 -2
- data/app/views/spotlight/appearances/edit.html.erb +1 -1
- data/app/views/spotlight/exhibits/_confirmation_status.html.erb +1 -1
- data/app/views/spotlight/exhibits/_contact.html.erb +15 -10
- data/app/views/spotlight/exhibits/_exhibit_card_back.html.erb +2 -2
- data/app/views/spotlight/exhibits/_form.html.erb +7 -6
- data/app/views/spotlight/metadata_configurations/edit.html.erb +1 -1
- data/app/views/spotlight/pages/_form.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_facets.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_search_fields.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_sort.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +23 -0
- data/config/locales/spotlight.en.yml +9 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20171005231502_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb +23 -0
- data/lib/spotlight/engine.rb +4 -3
- data/lib/spotlight/version.rb +1 -1
- data/spec/controllers/application_controller_spec.rb +1 -1
- data/spec/controllers/spotlight/about_pages_controller_spec.rb +15 -15
- data/spec/controllers/spotlight/admin_users_controller_spec.rb +4 -4
- data/spec/controllers/spotlight/appearances_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/application_controller_spec.rb +1 -1
- data/spec/controllers/spotlight/attachments_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/browse_controller_spec.rb +4 -4
- data/spec/controllers/spotlight/catalog_controller_spec.rb +15 -15
- data/spec/controllers/spotlight/confirmations_controller_spec.rb +1 -1
- data/spec/controllers/spotlight/contact_email_controller_spec.rb +63 -0
- data/spec/controllers/spotlight/contact_forms_controller_spec.rb +1 -1
- data/spec/controllers/spotlight/contacts_controller_spec.rb +5 -5
- data/spec/controllers/spotlight/custom_fields_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/dashboards_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/exhibits_controller_spec.rb +4 -4
- data/spec/controllers/spotlight/feature_pages_controller_spec.rb +12 -12
- data/spec/controllers/spotlight/featured_images_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/filters_controller_spec.rb +4 -4
- data/spec/controllers/spotlight/home_pages_controller_spec.rb +5 -5
- data/spec/controllers/spotlight/metadata_configurations_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/resources/csv_upload_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/resources/upload_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/resources_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/roles_controller_spec.rb +4 -4
- data/spec/controllers/spotlight/search_configurations_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/searches_controller_spec.rb +10 -11
- data/spec/controllers/spotlight/sites_controller_spec.rb +5 -5
- data/spec/controllers/spotlight/solr_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/tags_controller_spec.rb +3 -3
- data/spec/controllers/spotlight/versions_controller_spec.rb +7 -7
- data/spec/controllers/spotlight/view_configurations_controller_spec.rb +3 -3
- data/spec/examples.txt +1154 -1136
- data/spec/factories/contact_emails.rb +6 -0
- data/spec/factories/contact_images.rb +1 -1
- data/spec/factories/contacts.rb +1 -1
- data/spec/factories/custom_fields.rb +1 -1
- data/spec/factories/exhibit_thumbnails.rb +1 -1
- data/spec/factories/exhibits.rb +2 -2
- data/spec/factories/featured_images.rb +1 -1
- data/spec/factories/pages.rb +2 -2
- data/spec/factories/reindexing_log_entries.rb +1 -1
- data/spec/factories/resources.rb +1 -1
- data/spec/factories/roles.rb +2 -2
- data/spec/factories/searches.rb +3 -3
- data/spec/factories/tags.rb +3 -3
- data/spec/factories/users.rb +2 -2
- data/spec/features/about_page_spec.rb +6 -6
- data/spec/features/add_contacts_spec.rb +3 -3
- data/spec/features/add_custom_field_metadata_spec.rb +4 -4
- data/spec/features/add_iiif_manifest_spec.rb +2 -2
- data/spec/features/add_items_spec.rb +4 -4
- data/spec/features/autocomplete_typeahead_spec.rb +3 -4
- data/spec/features/browse_category_admin_spec.rb +3 -3
- data/spec/features/browse_category_spec.rb +3 -3
- data/spec/features/catalog_spec.rb +3 -3
- data/spec/features/confirm_email_spec.rb +1 -1
- data/spec/features/create_exhibit_spec.rb +1 -1
- data/spec/features/create_page_spec.rb +5 -5
- data/spec/features/curator_items.rb +2 -2
- data/spec/features/dashboard_spec.rb +4 -4
- data/spec/features/edit_contact_spec.rb +4 -4
- data/spec/features/edit_search_fields_spec.rb +2 -2
- data/spec/features/exhibit_masthead_spec.rb +2 -2
- data/spec/features/exhibit_themes_spec.rb +2 -2
- data/spec/features/exhibits/add_tags_spec.rb +3 -3
- data/spec/features/exhibits/administration_spec.rb +78 -4
- data/spec/features/exhibits/custom_metadata_fields_spec.rb +2 -2
- data/spec/features/exhibits/edit_metadata_fields_spec.rb +2 -2
- data/spec/features/exhibits_index_spec.rb +3 -3
- data/spec/features/feature_page_spec.rb +9 -9
- data/spec/features/home_page_spec.rb +4 -4
- data/spec/features/import_exhibit_spec.rb +2 -2
- data/spec/features/item_admin_spec.rb +2 -2
- data/spec/features/javascript/about_page_admin_spec.rb +2 -2
- data/spec/features/javascript/block_controls_spec.rb +2 -2
- data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +5 -5
- data/spec/features/javascript/blocks/featured_pages_block_spec.rb +4 -4
- data/spec/features/javascript/blocks/link_to_search_block_spec.rb +44 -0
- data/spec/features/javascript/{rule_block_spec.rb → blocks/rule_block_spec.rb} +4 -4
- data/spec/features/javascript/blocks/search_result_block_spec.rb +4 -4
- data/spec/features/javascript/blocks/solr_documents_block_spec.rb +5 -6
- data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +3 -4
- data/spec/features/javascript/edit_in_place_spec.rb +2 -2
- data/spec/features/javascript/feature_page_admin_spec.rb +26 -7
- data/spec/features/javascript/home_page_edit_spec.rb +3 -3
- data/spec/features/javascript/metadata_admin_spec.rb +2 -2
- data/spec/features/javascript/multi_image_select_spec.rb +6 -6
- data/spec/features/javascript/reindex_monitor_spec.rb +4 -4
- data/spec/features/javascript/roles_admin_spec.rb +3 -3
- data/spec/features/javascript/search_config_admin_spec.rb +2 -3
- data/spec/features/javascript/search_context_spec.rb +6 -6
- data/spec/features/main_navigation_spec.rb +2 -2
- data/spec/features/metadata_admin_spec.rb +2 -2
- data/spec/features/report_a_problem_spec.rb +2 -2
- data/spec/features/site_admin_management_spec.rb +4 -4
- data/spec/features/site_masthead_spec.rb +1 -1
- data/spec/features/slideshow_spec.rb +4 -3
- data/spec/features/tags_admin_spec.rb +3 -3
- data/spec/features/user_admin_spec.rb +2 -2
- data/spec/helpers/spotlight/application_helper_spec.rb +2 -2
- data/spec/helpers/spotlight/crud_link_helpers_spec.rb +1 -1
- data/spec/helpers/spotlight/main_app_helpers_spec.rb +3 -3
- data/spec/helpers/spotlight/meta_helper_spec.rb +1 -1
- data/spec/helpers/spotlight/pages_helper_spec.rb +2 -2
- data/spec/jobs/spotlight/add_uploads_from_csv_spec.rb +3 -3
- data/spec/jobs/spotlight/reindex_job_spec.rb +3 -3
- data/spec/jobs/spotlight/rename_sidecar_field_job_spec.rb +1 -1
- data/spec/lib/migration/iiif_spec.rb +3 -3
- data/spec/lib/spotlight/controller_spec.rb +3 -3
- data/spec/models/sir_trevor_rails/blocks/browse_block_spec.rb +19 -1
- data/spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb +9 -1
- data/spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb +1 -1
- data/spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb +1 -1
- data/spec/models/solr_document_spec.rb +2 -2
- data/spec/models/spotlight/ability_spec.rb +9 -9
- data/spec/models/spotlight/about_page_spec.rb +1 -1
- data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +1 -1
- data/spec/models/spotlight/blacklight_configuration_spec.rb +15 -1
- data/spec/models/spotlight/contact_email_spec.rb +1 -1
- data/spec/models/spotlight/contact_form_spec.rb +1 -1
- data/spec/models/spotlight/contact_spec.rb +1 -1
- data/spec/models/spotlight/custom_field_spec.rb +5 -5
- data/spec/models/spotlight/exhibit_spec.rb +20 -16
- data/spec/models/spotlight/feature_page_spec.rb +14 -14
- data/spec/models/spotlight/field_metadata_spec.rb +1 -1
- data/spec/models/spotlight/home_page_spec.rb +1 -1
- data/spec/models/spotlight/main_navigation_spec.rb +1 -1
- data/spec/models/spotlight/page_spec.rb +12 -8
- data/spec/models/spotlight/reindex_progress_spec.rb +4 -4
- data/spec/models/spotlight/reindexing_log_entry_spec.rb +8 -8
- data/spec/models/spotlight/resource_spec.rb +12 -1
- data/spec/models/spotlight/resources/iiif_harvester_spec.rb +1 -1
- data/spec/models/spotlight/resources/iiif_manifest_spec.rb +1 -1
- data/spec/models/spotlight/resources/upload_spec.rb +3 -3
- data/spec/models/spotlight/role_spec.rb +3 -3
- data/spec/models/spotlight/search_spec.rb +7 -7
- data/spec/models/spotlight/sitemap_spec.rb +6 -6
- data/spec/models/spotlight/solr_document_sidecar_spec.rb +1 -1
- data/spec/presenters/spotlight/iiif_manifest_presenter_spec.rb +1 -1
- data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +20 -20
- data/spec/services/spotlight/carrierwave_file_resolver_spec.rb +1 -1
- data/spec/services/spotlight/iiif_resource_resolver_spec.rb +1 -1
- data/spec/services/spotlight/solr_document_builder_spec.rb +3 -3
- data/spec/spec_helper.rb +4 -5
- data/spec/support/features/test_features_helpers.rb +2 -2
- data/spec/uploaders/spotlight/featured_image_uploader_spec.rb +1 -1
- data/spec/views/_user_util_links.html.erb_spec.rb +1 -1
- data/spec/views/shared/_exhibit_navbar.html.erb_spec.rb +9 -9
- data/spec/views/shared/_masthead.html.erb_spec.rb +3 -3
- data/spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb +4 -4
- data/spec/views/spotlight/browse/_search.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/browse/index.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/browse/show.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/contacts/edit.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb +6 -6
- data/spec/views/spotlight/dashboards/analytics.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/exhibits/edit.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/exhibits/index.html.erb_spec.rb +6 -6
- data/spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb +8 -8
- data/spec/views/spotlight/home_pages/_empty.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/pages/_form.html.erb_spec.rb +18 -0
- data/spec/views/spotlight/roles/index.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb +14 -2
- data/spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb +9 -2
- data/spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb +10 -1
- data/spec/views/spotlight/searches/_search.html.erb_spec.rb +8 -8
- data/spec/views/spotlight/searches/edit.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb +18 -0
- data/spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/tags/index.html.erb_spec.rb +3 -3
- metadata +226 -200
- data/app/assets/stylesheets/spotlight/application.scss +0 -5
- data/vendor/assets/javascripts/leaflet.js +0 -9
- data/vendor/assets/stylesheets/leaflet.css +0 -624
@@ -1,5 +1,5 @@
|
|
1
1
|
describe 'shared/_masthead', type: :view do
|
2
|
-
let(:exhibit) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit, subtitle: 'Some exhibit') }
|
3
3
|
let(:masthead) { nil }
|
4
4
|
|
5
5
|
before do
|
@@ -33,7 +33,7 @@ describe 'shared/_masthead', type: :view do
|
|
33
33
|
context 'with an exhibit masthead' do
|
34
34
|
let(:iiif_url) { 'http://test.host/1/10,10,130,1210/1800,180/0/default.jpg' }
|
35
35
|
let(:masthead) do
|
36
|
-
|
36
|
+
FactoryBot.create(:masthead, iiif_tilesource: 'http://test.host/1', iiif_region: '10,10,130,1210')
|
37
37
|
end
|
38
38
|
|
39
39
|
before do
|
@@ -55,7 +55,7 @@ describe 'shared/_masthead', type: :view do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
context 'with a resource masthead' do
|
58
|
-
let(:masthead) {
|
58
|
+
let(:masthead) { FactoryBot.create(:masthead) }
|
59
59
|
|
60
60
|
before do
|
61
61
|
allow(view).to receive_messages(resource_masthead?: true)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/about_pages/_sidebar.html.erb', type: :view do
|
3
|
-
let(:exhibit) {
|
4
|
-
let!(:page1) {
|
5
|
-
let!(:page2) {
|
6
|
-
let!(:page3) {
|
3
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
4
|
+
let!(:page1) { FactoryBot.create(:about_page, title: 'One', weight: 4, exhibit: exhibit) }
|
5
|
+
let!(:page2) { FactoryBot.create(:about_page, exhibit: exhibit, title: 'Two', published: false) }
|
6
|
+
let!(:page3) { FactoryBot.create(:about_page, exhibit: exhibit, title: 'Three', weight: 3) }
|
7
7
|
|
8
8
|
before do
|
9
9
|
allow(view).to receive_messages(current_exhibit: exhibit)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/browse/search', type: :view do
|
3
|
-
let(:search) {
|
4
|
-
let(:exhibit) {
|
3
|
+
let(:search) { FactoryBot.create(:search) }
|
4
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
5
5
|
before do
|
6
6
|
allow(search).to receive_messages(documents: double(size: 15))
|
7
7
|
allow(search).to receive_message_chain(:thumbnail, iiif_url: '/some/image')
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/browse/index', type: :view do
|
3
|
-
let(:search) {
|
4
|
-
let(:another_search) {
|
3
|
+
let(:search) { FactoryBot.create(:search) }
|
4
|
+
let(:another_search) { FactoryBot.create(:search) }
|
5
5
|
|
6
6
|
it 'has a title' do
|
7
7
|
render
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/browse/show', type: :view do
|
3
|
-
let(:search) {
|
4
|
-
let(:exhibit) {
|
3
|
+
let(:search) { FactoryBot.create(:published_search) }
|
4
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
5
5
|
|
6
6
|
before do
|
7
7
|
allow(view).to receive_messages(resource_masthead?: false)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/dashboards/_analytics.html.erb', type: :view do
|
3
|
-
let(:current_exhibit) {
|
3
|
+
let(:current_exhibit) { FactoryBot.create(:exhibit) }
|
4
4
|
let(:ga_data) { OpenStruct.new(pageviews: 1, users: 2, sessions: 3) }
|
5
5
|
let(:page_data) { [OpenStruct.new(pageTitle: 'title', pagePath: '/path', pageviews: '123')] }
|
6
6
|
before do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
describe 'spotlight/dashboards/_reindexing_activity.html.erb', type: :view do
|
2
2
|
# recent reindexing entries should be sorted by start_time in descending order, so mock that behavior
|
3
3
|
let(:recent_reindexing) do
|
4
|
-
[
|
4
|
+
[FactoryBot.build(:unstarted_reindexing_log_entry)] + # nil start_time is trouble for the sort_by used to create the rest of the fixture's rows
|
5
5
|
[
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
FactoryBot.build(:reindexing_log_entry),
|
7
|
+
FactoryBot.build(:in_progress_reindexing_log_entry),
|
8
|
+
FactoryBot.build(:recent_reindexing_log_entry),
|
9
|
+
FactoryBot.build(:failed_reindexing_log_entry)
|
10
10
|
].sort_by(&:start_time).reverse
|
11
11
|
end
|
12
12
|
let(:p) { 'spotlight/dashboards/reindexing_activity' }
|
@@ -73,7 +73,7 @@ describe 'spotlight/dashboards/_reindexing_activity.html.erb', type: :view do
|
|
73
73
|
|
74
74
|
context 'a reindexing log entry has a null user' do
|
75
75
|
it 'displays blank in the user field and renders without error' do
|
76
|
-
assign(:recent_reindexing, [
|
76
|
+
assign(:recent_reindexing, [FactoryBot.build(:reindexing_log_entry_no_user)])
|
77
77
|
expect { render p }.not_to raise_error
|
78
78
|
|
79
79
|
# we expect one blank table cell for the user, and values for everything else
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/dashboards/analytics.html.erb', type: :view do
|
3
|
-
let(:current_exhibit) {
|
3
|
+
let(:current_exhibit) { FactoryBot.create(:exhibit) }
|
4
4
|
|
5
5
|
before do
|
6
6
|
allow(view).to receive_messages(current_exhibit: current_exhibit, exhibit_root_path: '/some/path')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/exhibits/_exhibit_card_front.html.erb', type: :view do
|
3
|
-
let(:exhibit) {
|
3
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
4
4
|
let(:p) { 'spotlight/exhibits/exhibit_card_front' }
|
5
5
|
|
6
6
|
context 'for an exhibit without a thumbnail' do
|
@@ -12,9 +12,9 @@ describe 'spotlight/exhibits/index', type: :view do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
context 'with published exhibits' do
|
15
|
-
let!(:exhibit_a) {
|
16
|
-
let!(:exhibit_b) {
|
17
|
-
let!(:exhibit_c) {
|
15
|
+
let!(:exhibit_a) { FactoryBot.create(:exhibit, published: true) }
|
16
|
+
let!(:exhibit_b) { FactoryBot.create(:exhibit, published: true) }
|
17
|
+
let!(:exhibit_c) { FactoryBot.create(:exhibit, published: false) }
|
18
18
|
|
19
19
|
let(:exhibits) { Spotlight::Exhibit.all }
|
20
20
|
|
@@ -79,7 +79,7 @@ describe 'spotlight/exhibits/index', type: :view do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
context 'with an exhibit admin' do
|
82
|
-
let(:user) {
|
82
|
+
let(:user) { FactoryBot.create(:exhibit_admin) }
|
83
83
|
|
84
84
|
it 'includes a tab with the exhibits curated by the user' do
|
85
85
|
render
|
@@ -98,7 +98,7 @@ describe 'spotlight/exhibits/index', type: :view do
|
|
98
98
|
end
|
99
99
|
|
100
100
|
context 'with a site admin' do
|
101
|
-
let(:user) {
|
101
|
+
let(:user) { FactoryBot.create(:site_admin) }
|
102
102
|
|
103
103
|
before do
|
104
104
|
allow(view).to receive_messages(can?: true, new_exhibit_path: '/exhibits/new')
|
@@ -115,7 +115,7 @@ describe 'spotlight/exhibits/index', type: :view do
|
|
115
115
|
end
|
116
116
|
|
117
117
|
context 'with an authorized user' do
|
118
|
-
let(:user) {
|
118
|
+
let(:user) { FactoryBot.build(:site_admin) }
|
119
119
|
|
120
120
|
before do
|
121
121
|
allow(view).to receive_messages(can?: true,
|
@@ -1,13 +1,13 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/feature_pages/_sidebar.html.erb', type: :view do
|
3
|
-
let(:exhibit) {
|
4
|
-
let!(:parent1) {
|
5
|
-
let!(:parent2) {
|
6
|
-
let!(:child1) {
|
7
|
-
let!(:child2) {
|
8
|
-
let!(:child3) {
|
9
|
-
let!(:child4) {
|
10
|
-
let!(:child5) {
|
3
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
4
|
+
let!(:parent1) { FactoryBot.create(:feature_page, exhibit: exhibit, title: 'Parent Page') }
|
5
|
+
let!(:parent2) { FactoryBot.create(:feature_page, exhibit: exhibit, title: 'Two') }
|
6
|
+
let!(:child1) { FactoryBot.create(:feature_page, exhibit: exhibit, parent_page: parent1, title: 'Three', weight: 4) }
|
7
|
+
let!(:child2) { FactoryBot.create(:feature_page, exhibit: exhibit, parent_page: parent2, title: 'Four') }
|
8
|
+
let!(:child3) { FactoryBot.create(:feature_page, exhibit: exhibit, parent_page: parent1, title: 'Five', weight: 2) }
|
9
|
+
let!(:child4) { FactoryBot.create(:feature_page, exhibit: exhibit, parent_page: parent1, title: 'Six', published: false) }
|
10
|
+
let!(:child5) { FactoryBot.create(:feature_page, exhibit: FactoryBot.create(:exhibit), title: 'Seven') }
|
11
11
|
|
12
12
|
before do
|
13
13
|
allow(view).to receive_messages(current_exhibit: parent1.exhibit)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
describe 'spotlight/home_pages/_empty.html.erb', type: :view do
|
3
3
|
describe 'resource providers' do
|
4
4
|
before do
|
5
|
-
allow(view).to receive_messages(current_exhibit:
|
5
|
+
allow(view).to receive_messages(current_exhibit: FactoryBot.create(:exhibit),
|
6
6
|
can?: true,
|
7
7
|
edit_exhibit_path: '/',
|
8
8
|
edit_exhibit_appearance_path: '/',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
describe 'spotlight/metadata_configurations/_metadata_field', type: :view do
|
2
|
-
let(:exhibit) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
3
3
|
let(:p) { 'spotlight/metadata_configurations/metadata_field.html.erb' }
|
4
4
|
before do
|
5
5
|
assign(:exhibit, exhibit)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
describe 'spotlight/metadata_configurations/edit', type: :view do
|
2
|
-
let(:exhibit) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
3
3
|
before do
|
4
4
|
assign(:exhibit, exhibit)
|
5
5
|
assign(:blacklight_configuration, exhibit.blacklight_configuration)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
describe 'spotlight/pages/edit', type: :view do
|
2
|
+
let(:exhibit) { stub_model(Spotlight::Exhibit) }
|
3
|
+
let(:page) { stub_model(Spotlight::FeaturePage, exhibit: exhibit) }
|
4
|
+
let :blacklight_config do
|
5
|
+
Blacklight::Configuration.new
|
6
|
+
end
|
7
|
+
before do
|
8
|
+
assign(:page, page)
|
9
|
+
allow(view).to receive_messages(blacklight_config: blacklight_config,
|
10
|
+
available_index_fields: [],
|
11
|
+
available_view_fields: [],
|
12
|
+
featured_images_path: '/foo')
|
13
|
+
end
|
14
|
+
it 'contains data-block-types attribute needed for SirTrevor instantiation' do
|
15
|
+
render
|
16
|
+
expect(rendered).to have_css '.js-st-instance[data-block-types]'
|
17
|
+
end
|
18
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
describe 'spotlight/roles/index', type: :view do
|
2
2
|
let(:user) { stub_model(Spotlight::Engine.user_class, email: 'jane@example.com') }
|
3
|
-
let(:exhibit) {
|
4
|
-
let(:admin_role) {
|
3
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
4
|
+
let(:admin_role) { FactoryBot.create(:role, role: 'admin', user: user, resource: exhibit) }
|
5
5
|
let(:roles) { [admin_role] }
|
6
6
|
|
7
7
|
before do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
describe 'spotlight/search_configurations/_facets', type: :view do
|
2
|
-
let(:exhibit) {
|
3
|
-
let!(:custom_field) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
3
|
+
let!(:custom_field) { FactoryBot.create(:custom_field, exhibit: exhibit, label: 'Foobar', field_type: 'vocab') }
|
4
4
|
let(:config) do
|
5
5
|
exhibit.blacklight_configuration
|
6
6
|
end
|
@@ -37,4 +37,16 @@ describe 'spotlight/search_configurations/_facets', type: :view do
|
|
37
37
|
it 'hides the config for the empty genre facet' do
|
38
38
|
expect(rendered).not_to have_content 'Genre'
|
39
39
|
end
|
40
|
+
|
41
|
+
describe do
|
42
|
+
before do
|
43
|
+
original_config = Spotlight::Engine.blacklight_config.deep_dup
|
44
|
+
allow(Spotlight::Engine).to receive(:blacklight_config).and_return(original_config)
|
45
|
+
original_config.add_facet_field 'some_hidden_field', if: ->(*_args) { false }
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'hides the config facets configured not to display' do
|
49
|
+
expect(rendered).not_to have_content 'Some hidden field'
|
50
|
+
end
|
51
|
+
end
|
40
52
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
describe 'spotlight/search_configurations/_search_fields', type: :view do
|
2
|
-
let(:exhibit) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
3
3
|
let(:f) do
|
4
4
|
form_helper = nil
|
5
5
|
controller.view_context.bootstrap_form_for(exhibit.blacklight_configuration, url: '/update') do |f|
|
@@ -9,6 +9,9 @@ describe 'spotlight/search_configurations/_search_fields', type: :view do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
before do
|
12
|
+
original_config = Spotlight::Engine.blacklight_config.deep_dup
|
13
|
+
allow(Spotlight::Engine).to receive(:blacklight_config).and_return(original_config)
|
14
|
+
original_config.add_search_field 'some_field_with_a_condition', if: ->(*_args) { false }
|
12
15
|
assign(:exhibit, exhibit)
|
13
16
|
assign(:blacklight_configuration, exhibit.blacklight_configuration)
|
14
17
|
allow(view).to receive_messages(current_exhibit: exhibit)
|
@@ -39,7 +42,11 @@ describe 'spotlight/search_configurations/_search_fields', type: :view do
|
|
39
42
|
expect(rendered).not_to have_selector "input[name='blacklight_configuration[search_fields][some_hidden_field][enabled]']"
|
40
43
|
end
|
41
44
|
|
42
|
-
it '
|
45
|
+
it 'excludes search options that have if/unless configuration that causes them not to be displayed' do
|
46
|
+
expect(rendered).not_to have_selector "input[name='blacklight_configuration[search_fields][some_field_with_a_condition][enabled]']"
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'parameterizes the data-id attribute for search field key' do
|
43
50
|
expect(rendered).to have_selector '[data-id="some_field-with_a_space-id"]'
|
44
51
|
end
|
45
52
|
end
|
@@ -1,6 +1,10 @@
|
|
1
1
|
describe 'spotlight/search_configurations/_sort', type: :view do
|
2
|
-
let(:exhibit) {
|
2
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
3
|
+
|
3
4
|
before do
|
5
|
+
original_config = Spotlight::Engine.blacklight_config.deep_dup
|
6
|
+
allow(Spotlight::Engine).to receive(:blacklight_config).and_return(original_config)
|
7
|
+
original_config.add_sort_field 'some_disabled_field', if: ->(*_args) { false }
|
4
8
|
exhibit.blacklight_config.add_sort_field 'sort_title_ssi asc, plus_another_field desc', label: 'TestSort'
|
5
9
|
assign(:exhibit, exhibit)
|
6
10
|
assign(:blacklight_configuration, exhibit.blacklight_configuration)
|
@@ -27,4 +31,9 @@ describe 'spotlight/search_configurations/_sort', type: :view do
|
|
27
31
|
render partial: 'spotlight/search_configurations/sort', locals: { f: f }
|
28
32
|
expect(rendered).to have_css('[data-id="sort_title_ssi-asc-plus_another_field-desc-id"]')
|
29
33
|
end
|
34
|
+
|
35
|
+
it 'hides fields that are configured not to display' do
|
36
|
+
render partial: 'spotlight/search_configurations/sort', locals: { f: f }
|
37
|
+
expect(rendered).not_to have_css('[data-id="some_disabled_field-id"]')
|
38
|
+
end
|
30
39
|
end
|
@@ -1,14 +1,14 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/searches/_search.html.erb', type: :view do
|
3
3
|
let(:search) do
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
FactoryBot.build_stubbed(:search, exhibit: FactoryBot.create(:exhibit),
|
5
|
+
id: 99,
|
6
|
+
title: 'Title1',
|
7
|
+
query_params: {
|
8
|
+
f: {
|
9
|
+
genre_ssim: ['xyz']
|
10
|
+
}
|
11
|
+
})
|
12
12
|
end
|
13
13
|
let(:thumbnail) { double(id: '7777', iiif_url: '/images/7777/full/400,300/0/default.jpg') }
|
14
14
|
|
@@ -4,7 +4,7 @@ describe 'spotlight/searches/edit.html.erb', type: :view do
|
|
4
4
|
config.add_facet_field :some_field
|
5
5
|
end
|
6
6
|
end
|
7
|
-
let(:exhibit) {
|
7
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
8
8
|
let(:search) do
|
9
9
|
stub_model(Spotlight::Search, exhibit: exhibit,
|
10
10
|
id: 99, title: 'Title1', query_params: { f: { 'some_field' => ['xyz'] } })
|
@@ -2,7 +2,7 @@
|
|
2
2
|
describe 'spotlight/sir_trevor/blocks/_browse_block.html.erb', type: :view do
|
3
3
|
let(:p) { 'spotlight/sir_trevor/blocks/browse_block.html.erb' }
|
4
4
|
let(:page) { double('Page', display_sidebar?: true) }
|
5
|
-
let(:search) {
|
5
|
+
let(:search) { FactoryBot.create(:search) }
|
6
6
|
let(:block) do
|
7
7
|
assign(:page, page)
|
8
8
|
SirTrevorRails::Blocks::BrowseBlock.new({ type: 'block', data: {} }, page)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
describe 'spotlight/sir_trevor/blocks/_link_to_search_block.html.erb', type: :view do
|
2
|
+
let(:p) { 'spotlight/sir_trevor/blocks/link_to_search_block.html.erb' }
|
3
|
+
let(:page) { double('Page', display_sidebar?: true) }
|
4
|
+
let(:search) { FactoryBot.create(:search, query_params: { a: 1 }) }
|
5
|
+
let(:block) do
|
6
|
+
assign(:page, page)
|
7
|
+
SirTrevorRails::Blocks::LinkToSearchBlock.new({ type: 'block', data: {} }, page)
|
8
|
+
end
|
9
|
+
|
10
|
+
before do
|
11
|
+
allow(block).to receive(:searches).and_return([search])
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'links to the search' do
|
15
|
+
render partial: p, locals: { link_to_search_block: block }
|
16
|
+
expect(rendered).to have_link search.title, href: spotlight.search_exhibit_catalog_path(search.exhibit, a: 1)
|
17
|
+
end
|
18
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
describe 'spotlight/sites/edit_exhibits', type: :view do
|
2
|
-
let!(:exhibit_a) {
|
3
|
-
let!(:exhibit_b) {
|
2
|
+
let!(:exhibit_a) { FactoryBot.create(:exhibit) }
|
3
|
+
let!(:exhibit_b) { FactoryBot.create(:exhibit) }
|
4
4
|
|
5
5
|
before do
|
6
6
|
assign(:site, Spotlight::Site.instance)
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
describe 'spotlight/tags/index.html.erb', type: :view do
|
3
|
-
let(:exhibit) {
|
4
|
-
let!(:tag1) {
|
5
|
-
let!(:tag2) {
|
3
|
+
let(:exhibit) { FactoryBot.create(:exhibit) }
|
4
|
+
let!(:tag1) { FactoryBot.create(:tagging, tagger: exhibit, taggable: exhibit) }
|
5
|
+
let!(:tag2) { FactoryBot.create(:tagging, tagger: exhibit, taggable: exhibit) }
|
6
6
|
before do
|
7
7
|
assign(:exhibit, exhibit)
|
8
8
|
assign(:tags, exhibit.owned_tags)
|
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.1.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-11-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -475,6 +475,20 @@ dependencies:
|
|
475
475
|
- - ">="
|
476
476
|
- !ruby/object:Gem::Version
|
477
477
|
version: '0'
|
478
|
+
- !ruby/object:Gem::Dependency
|
479
|
+
name: leaflet-rails
|
480
|
+
requirement: !ruby/object:Gem::Requirement
|
481
|
+
requirements:
|
482
|
+
- - ">="
|
483
|
+
- !ruby/object:Gem::Version
|
484
|
+
version: '0'
|
485
|
+
type: :runtime
|
486
|
+
prerelease: false
|
487
|
+
version_requirements: !ruby/object:Gem::Requirement
|
488
|
+
requirements:
|
489
|
+
- - ">="
|
490
|
+
- !ruby/object:Gem::Version
|
491
|
+
version: '0'
|
478
492
|
- !ruby/object:Gem::Dependency
|
479
493
|
name: sqlite3
|
480
494
|
requirement: !ruby/object:Gem::Requirement
|
@@ -630,7 +644,7 @@ dependencies:
|
|
630
644
|
- !ruby/object:Gem::Version
|
631
645
|
version: '0'
|
632
646
|
- !ruby/object:Gem::Dependency
|
633
|
-
name:
|
647
|
+
name: factory_bot
|
634
648
|
requirement: !ruby/object:Gem::Requirement
|
635
649
|
requirements:
|
636
650
|
- - "~>"
|
@@ -753,6 +767,7 @@ files:
|
|
753
767
|
- app/assets/javascripts/spotlight/blocks/block.js
|
754
768
|
- app/assets/javascripts/spotlight/blocks/browse_block.js
|
755
769
|
- app/assets/javascripts/spotlight/blocks/iframe_block.js
|
770
|
+
- app/assets/javascripts/spotlight/blocks/link_to_search_block.js
|
756
771
|
- app/assets/javascripts/spotlight/blocks/oembed_block.js
|
757
772
|
- app/assets/javascripts/spotlight/blocks/pages_block.js
|
758
773
|
- app/assets/javascripts/spotlight/blocks/resources_block.js
|
@@ -821,7 +836,6 @@ files:
|
|
821
836
|
- app/assets/stylesheets/spotlight/_uploaded_items_block.scss
|
822
837
|
- app/assets/stylesheets/spotlight/_variables.scss
|
823
838
|
- app/assets/stylesheets/spotlight/_variables_bootstrap.scss
|
824
|
-
- app/assets/stylesheets/spotlight/application.scss
|
825
839
|
- app/assets/stylesheets/spotlight/typeahead.css
|
826
840
|
- app/builders/spotlight/bootstrap_breadcrumbs_builder.rb
|
827
841
|
- app/controllers/concerns/spotlight/base.rb
|
@@ -838,6 +852,7 @@ files:
|
|
838
852
|
- app/controllers/spotlight/concerns/application_controller.rb
|
839
853
|
- app/controllers/spotlight/concerns/catalog_search_context.rb
|
840
854
|
- app/controllers/spotlight/confirmations_controller.rb
|
855
|
+
- app/controllers/spotlight/contact_email_controller.rb
|
841
856
|
- app/controllers/spotlight/contact_forms_controller.rb
|
842
857
|
- app/controllers/spotlight/contacts_controller.rb
|
843
858
|
- app/controllers/spotlight/custom_fields_controller.rb
|
@@ -900,6 +915,7 @@ files:
|
|
900
915
|
- app/models/sir_trevor_rails/blocks/browse_block.rb
|
901
916
|
- app/models/sir_trevor_rails/blocks/displayable.rb
|
902
917
|
- app/models/sir_trevor_rails/blocks/featured_pages_block.rb
|
918
|
+
- app/models/sir_trevor_rails/blocks/link_to_search_block.rb
|
903
919
|
- app/models/sir_trevor_rails/blocks/oembed_block.rb
|
904
920
|
- app/models/sir_trevor_rails/blocks/search_results_block.rb
|
905
921
|
- app/models/sir_trevor_rails/blocks/solr_documents_block.rb
|
@@ -1103,6 +1119,7 @@ files:
|
|
1103
1119
|
- app/views/spotlight/sir_trevor/blocks/_heading_block.html.erb
|
1104
1120
|
- app/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb
|
1105
1121
|
- app/views/spotlight/sir_trevor/blocks/_image_block.html.erb
|
1122
|
+
- app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb
|
1106
1123
|
- app/views/spotlight/sir_trevor/blocks/_list_block.html.erb
|
1107
1124
|
- app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb
|
1108
1125
|
- app/views/spotlight/sir_trevor/blocks/_quote_block.html.erb
|
@@ -1178,6 +1195,7 @@ files:
|
|
1178
1195
|
- db/migrate/20170204091234_add_theme_to_spotlight_exhibits.rb
|
1179
1196
|
- db/migrate/20170803152134_migrate_tags_to_sidecars.rb
|
1180
1197
|
- db/migrate/20170821165811_change_index_status_to_longblob.rb
|
1198
|
+
- db/migrate/20171005231502_add_missing_indexes_on_taggings.acts_as_taggable_on_engine.rb
|
1181
1199
|
- lib/blacklight/spotlight.rb
|
1182
1200
|
- lib/generators/spotlight/install_generator.rb
|
1183
1201
|
- lib/generators/spotlight/scaffold_resource_generator.rb
|
@@ -1204,6 +1222,7 @@ files:
|
|
1204
1222
|
- spec/controllers/spotlight/browse_controller_spec.rb
|
1205
1223
|
- spec/controllers/spotlight/catalog_controller_spec.rb
|
1206
1224
|
- spec/controllers/spotlight/confirmations_controller_spec.rb
|
1225
|
+
- spec/controllers/spotlight/contact_email_controller_spec.rb
|
1207
1226
|
- spec/controllers/spotlight/contact_forms_controller_spec.rb
|
1208
1227
|
- spec/controllers/spotlight/contacts_controller_spec.rb
|
1209
1228
|
- spec/controllers/spotlight/custom_fields_controller_spec.rb
|
@@ -1226,6 +1245,7 @@ files:
|
|
1226
1245
|
- spec/controllers/spotlight/versions_controller_spec.rb
|
1227
1246
|
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1228
1247
|
- spec/examples.txt
|
1248
|
+
- spec/factories/contact_emails.rb
|
1229
1249
|
- spec/factories/contact_images.rb
|
1230
1250
|
- spec/factories/contacts.rb
|
1231
1251
|
- spec/factories/custom_fields.rb
|
@@ -1270,6 +1290,8 @@ files:
|
|
1270
1290
|
- spec/features/javascript/block_controls_spec.rb
|
1271
1291
|
- spec/features/javascript/blocks/featured_browse_categories_block_spec.rb
|
1272
1292
|
- spec/features/javascript/blocks/featured_pages_block_spec.rb
|
1293
|
+
- spec/features/javascript/blocks/link_to_search_block_spec.rb
|
1294
|
+
- spec/features/javascript/blocks/rule_block_spec.rb
|
1273
1295
|
- spec/features/javascript/blocks/search_result_block_spec.rb
|
1274
1296
|
- spec/features/javascript/blocks/solr_documents_block_spec.rb
|
1275
1297
|
- spec/features/javascript/blocks/uploaded_items_block_spec.rb
|
@@ -1280,7 +1302,6 @@ files:
|
|
1280
1302
|
- spec/features/javascript/multi_image_select_spec.rb
|
1281
1303
|
- spec/features/javascript/reindex_monitor_spec.rb
|
1282
1304
|
- spec/features/javascript/roles_admin_spec.rb
|
1283
|
-
- spec/features/javascript/rule_block_spec.rb
|
1284
1305
|
- spec/features/javascript/search_config_admin_spec.rb
|
1285
1306
|
- spec/features/javascript/search_context_spec.rb
|
1286
1307
|
- spec/features/main_navigation_spec.rb
|
@@ -1412,6 +1433,7 @@ files:
|
|
1412
1433
|
- spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
|
1413
1434
|
- spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
|
1414
1435
|
- spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
|
1436
|
+
- spec/views/spotlight/pages/_form.html.erb_spec.rb
|
1415
1437
|
- spec/views/spotlight/pages/edit.html.erb_spec.rb
|
1416
1438
|
- spec/views/spotlight/pages/index.html.erb_spec.rb
|
1417
1439
|
- spec/views/spotlight/pages/new.html.erb_spec.rb
|
@@ -1428,6 +1450,7 @@ files:
|
|
1428
1450
|
- spec/views/spotlight/searches/index.html.erb_spec.rb
|
1429
1451
|
- spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
|
1430
1452
|
- spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
|
1453
|
+
- spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
|
1431
1454
|
- spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
|
1432
1455
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
|
1433
1456
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
|
@@ -1445,7 +1468,6 @@ files:
|
|
1445
1468
|
- vendor/assets/javascripts/jquery.serializejson.js
|
1446
1469
|
- vendor/assets/javascripts/jquery.waitforimages.min.js
|
1447
1470
|
- vendor/assets/javascripts/leaflet-iiif.js
|
1448
|
-
- vendor/assets/javascripts/leaflet.js
|
1449
1471
|
- vendor/assets/javascripts/nestable.js
|
1450
1472
|
- vendor/assets/javascripts/parameterize.js
|
1451
1473
|
- vendor/assets/javascripts/polyfill.min.js
|
@@ -1453,7 +1475,6 @@ files:
|
|
1453
1475
|
- vendor/assets/javascripts/typeahead.bundle.min.js
|
1454
1476
|
- vendor/assets/stylesheets/bootstrap-tagsinput.css
|
1455
1477
|
- vendor/assets/stylesheets/leaflet-areaselect.css
|
1456
|
-
- vendor/assets/stylesheets/leaflet.css
|
1457
1478
|
- vendor/assets/stylesheets/sir-trevor/_icons.scss
|
1458
1479
|
- vendor/assets/stylesheets/sir-trevor/_variables.scss
|
1459
1480
|
- vendor/assets/stylesheets/sir-trevor/base.scss
|
@@ -1489,250 +1510,255 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1489
1510
|
version: '0'
|
1490
1511
|
requirements: []
|
1491
1512
|
rubyforge_project:
|
1492
|
-
rubygems_version: 2.6.
|
1513
|
+
rubygems_version: 2.6.11
|
1493
1514
|
signing_key:
|
1494
1515
|
specification_version: 4
|
1495
1516
|
summary: Enable librarians, curators, and others who are responsible for digital collections
|
1496
1517
|
to create attractive, feature-rich websites that feature these collections.
|
1497
1518
|
test_files:
|
1498
|
-
- spec/
|
1499
|
-
- spec/
|
1500
|
-
- spec/
|
1501
|
-
- spec/
|
1502
|
-
- spec/controllers/spotlight/application_controller_spec.rb
|
1503
|
-
- spec/controllers/spotlight/attachments_controller_spec.rb
|
1504
|
-
- spec/controllers/spotlight/browse_controller_spec.rb
|
1505
|
-
- spec/controllers/spotlight/catalog_controller_spec.rb
|
1506
|
-
- spec/controllers/spotlight/confirmations_controller_spec.rb
|
1507
|
-
- spec/controllers/spotlight/contact_forms_controller_spec.rb
|
1508
|
-
- spec/controllers/spotlight/contacts_controller_spec.rb
|
1509
|
-
- spec/controllers/spotlight/custom_fields_controller_spec.rb
|
1510
|
-
- spec/controllers/spotlight/dashboards_controller_spec.rb
|
1511
|
-
- spec/controllers/spotlight/exhibits_controller_spec.rb
|
1512
|
-
- spec/controllers/spotlight/feature_pages_controller_spec.rb
|
1513
|
-
- spec/controllers/spotlight/featured_images_controller_spec.rb
|
1514
|
-
- spec/controllers/spotlight/filters_controller_spec.rb
|
1515
|
-
- spec/controllers/spotlight/home_pages_controller_spec.rb
|
1516
|
-
- spec/controllers/spotlight/metadata_configurations_controller_spec.rb
|
1517
|
-
- spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
|
1518
|
-
- spec/controllers/spotlight/resources/upload_controller_spec.rb
|
1519
|
-
- spec/controllers/spotlight/resources_controller_spec.rb
|
1520
|
-
- spec/controllers/spotlight/roles_controller_spec.rb
|
1521
|
-
- spec/controllers/spotlight/search_configurations_controller_spec.rb
|
1522
|
-
- spec/controllers/spotlight/searches_controller_spec.rb
|
1523
|
-
- spec/controllers/spotlight/sites_controller_spec.rb
|
1524
|
-
- spec/controllers/spotlight/solr_controller_spec.rb
|
1525
|
-
- spec/controllers/spotlight/tags_controller_spec.rb
|
1526
|
-
- spec/controllers/spotlight/versions_controller_spec.rb
|
1527
|
-
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1519
|
+
- spec/uploaders/spotlight/featured_image_uploader_spec.rb
|
1520
|
+
- spec/uploaders/spotlight/attachment_uploader_spec.rb
|
1521
|
+
- spec/spec_helper.rb
|
1522
|
+
- spec/mailers/spotlight/indexing_complete_mailer_spec.rb
|
1528
1523
|
- spec/examples.txt
|
1529
|
-
- spec/
|
1530
|
-
- spec/
|
1531
|
-
- spec/
|
1532
|
-
- spec/factories/exhibit_thumbnails.rb
|
1533
|
-
- spec/factories/exhibits.rb
|
1534
|
-
- spec/factories/featured_images.rb
|
1535
|
-
- spec/factories/pages.rb
|
1536
|
-
- spec/factories/reindexing_log_entries.rb
|
1537
|
-
- spec/factories/resources.rb
|
1538
|
-
- spec/factories/roles.rb
|
1539
|
-
- spec/factories/searches.rb
|
1540
|
-
- spec/factories/tags.rb
|
1541
|
-
- spec/factories/users.rb
|
1542
|
-
- spec/features/about_page_spec.rb
|
1543
|
-
- spec/features/add_contacts_spec.rb
|
1544
|
-
- spec/features/add_custom_field_metadata_spec.rb
|
1545
|
-
- spec/features/add_iiif_manifest_spec.rb
|
1524
|
+
- spec/features/confirm_email_spec.rb
|
1525
|
+
- spec/features/exhibit_themes_spec.rb
|
1526
|
+
- spec/features/exhibits_index_spec.rb
|
1546
1527
|
- spec/features/add_items_spec.rb
|
1547
|
-
- spec/features/
|
1528
|
+
- spec/features/site_admin_management_spec.rb
|
1529
|
+
- spec/features/tags_admin_spec.rb
|
1530
|
+
- spec/features/slideshow_spec.rb
|
1548
1531
|
- spec/features/browse_category_admin_spec.rb
|
1549
|
-
- spec/features/browse_category_spec.rb
|
1550
|
-
- spec/features/catalog_spec.rb
|
1551
|
-
- spec/features/confirm_email_spec.rb
|
1552
|
-
- spec/features/create_exhibit_spec.rb
|
1553
|
-
- spec/features/create_page_spec.rb
|
1554
1532
|
- spec/features/curator_items.rb
|
1533
|
+
- spec/features/item_admin_spec.rb
|
1534
|
+
- spec/features/add_contacts_spec.rb
|
1535
|
+
- spec/features/create_page_spec.rb
|
1536
|
+
- spec/features/site_masthead_spec.rb
|
1555
1537
|
- spec/features/dashboard_spec.rb
|
1556
|
-
- spec/features/
|
1557
|
-
- spec/features/
|
1538
|
+
- spec/features/main_navigation_spec.rb
|
1539
|
+
- spec/features/about_page_spec.rb
|
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
|
1558
1545
|
- spec/features/exhibit_masthead_spec.rb
|
1559
|
-
- spec/features/exhibit_themes_spec.rb
|
1560
1546
|
- spec/features/exhibits/add_tags_spec.rb
|
1561
1547
|
- spec/features/exhibits/administration_spec.rb
|
1562
1548
|
- spec/features/exhibits/custom_metadata_fields_spec.rb
|
1563
1549
|
- spec/features/exhibits/edit_metadata_fields_spec.rb
|
1564
|
-
- spec/features/
|
1550
|
+
- spec/features/browse_category_spec.rb
|
1551
|
+
- spec/features/create_exhibit_spec.rb
|
1565
1552
|
- spec/features/feature_page_spec.rb
|
1553
|
+
- spec/features/user_admin_spec.rb
|
1566
1554
|
- spec/features/home_page_spec.rb
|
1567
|
-
- spec/features/import_exhibit_spec.rb
|
1568
|
-
- spec/features/item_admin_spec.rb
|
1569
|
-
- spec/features/javascript/about_page_admin_spec.rb
|
1570
|
-
- spec/features/javascript/block_controls_spec.rb
|
1571
1555
|
- spec/features/javascript/blocks/featured_browse_categories_block_spec.rb
|
1556
|
+
- spec/features/javascript/blocks/link_to_search_block_spec.rb
|
1572
1557
|
- spec/features/javascript/blocks/featured_pages_block_spec.rb
|
1573
1558
|
- spec/features/javascript/blocks/search_result_block_spec.rb
|
1574
|
-
- spec/features/javascript/blocks/solr_documents_block_spec.rb
|
1575
1559
|
- spec/features/javascript/blocks/uploaded_items_block_spec.rb
|
1576
|
-
- spec/features/javascript/
|
1560
|
+
- spec/features/javascript/blocks/rule_block_spec.rb
|
1561
|
+
- spec/features/javascript/blocks/solr_documents_block_spec.rb
|
1577
1562
|
- spec/features/javascript/feature_page_admin_spec.rb
|
1563
|
+
- spec/features/javascript/search_config_admin_spec.rb
|
1578
1564
|
- 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
|
1579
1567
|
- spec/features/javascript/metadata_admin_spec.rb
|
1568
|
+
- spec/features/javascript/roles_admin_spec.rb
|
1580
1569
|
- spec/features/javascript/multi_image_select_spec.rb
|
1570
|
+
- spec/features/javascript/about_page_admin_spec.rb
|
1581
1571
|
- spec/features/javascript/reindex_monitor_spec.rb
|
1582
|
-
- spec/features/javascript/roles_admin_spec.rb
|
1583
|
-
- spec/features/javascript/rule_block_spec.rb
|
1584
|
-
- spec/features/javascript/search_config_admin_spec.rb
|
1585
1572
|
- spec/features/javascript/search_context_spec.rb
|
1586
|
-
- spec/features/
|
1587
|
-
- spec/features/
|
1588
|
-
- spec/features/
|
1589
|
-
- spec/features/
|
1590
|
-
- spec/
|
1591
|
-
- spec/features/slideshow_spec.rb
|
1592
|
-
- spec/features/tags_admin_spec.rb
|
1593
|
-
- spec/features/user_admin_spec.rb
|
1594
|
-
- spec/fixtures/800x600.png
|
1595
|
-
- spec/fixtures/avatar.png
|
1596
|
-
- spec/fixtures/csv-upload-fixture.csv
|
1597
|
-
- spec/fixtures/gk446cj2442-manifest.json
|
1598
|
-
- spec/fixtures/iiif_responses.rb
|
1599
|
-
- spec/fixtures/json-upload-fixture.json
|
1600
|
-
- spec/fixtures/sample_solr_documents.yml
|
1601
|
-
- spec/helpers/spotlight/application_helper_spec.rb
|
1602
|
-
- spec/helpers/spotlight/browse_helper_spec.rb
|
1603
|
-
- spec/helpers/spotlight/crop_helper_spec.rb
|
1604
|
-
- spec/helpers/spotlight/crud_link_helpers_spec.rb
|
1605
|
-
- spec/helpers/spotlight/main_app_helpers_spec.rb
|
1606
|
-
- spec/helpers/spotlight/meta_helper_spec.rb
|
1607
|
-
- spec/helpers/spotlight/navbar_helper_spec.rb
|
1608
|
-
- spec/helpers/spotlight/pages_helper_spec.rb
|
1609
|
-
- spec/helpers/spotlight/roles_helper_spec.rb
|
1610
|
-
- spec/helpers/spotlight/search_configurations_helper_spec.rb
|
1611
|
-
- spec/helpers/spotlight/title_helper_spec.rb
|
1612
|
-
- spec/jobs/spotlight/add_uploads_from_csv_spec.rb
|
1613
|
-
- spec/jobs/spotlight/default_thumbnail_job_spec.rb
|
1614
|
-
- spec/jobs/spotlight/reindex_job_spec.rb
|
1615
|
-
- spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
|
1616
|
-
- spec/lib/migration/iiif_spec.rb
|
1617
|
-
- spec/lib/spotlight/catalog_spec.rb
|
1618
|
-
- spec/lib/spotlight/controller_spec.rb
|
1619
|
-
- spec/mailers/spotlight/indexing_complete_mailer_spec.rb
|
1620
|
-
- spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
|
1621
|
-
- spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
|
1622
|
-
- spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
|
1623
|
-
- spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
|
1624
|
-
- spec/models/sir_trevor_rails/blocks/textable_spec.rb
|
1625
|
-
- spec/models/solr_document_spec.rb
|
1626
|
-
- spec/models/spotlight/ability_spec.rb
|
1627
|
-
- spec/models/spotlight/about_page_spec.rb
|
1628
|
-
- spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
|
1629
|
-
- spec/models/spotlight/analytics/ga_spec.rb
|
1630
|
-
- spec/models/spotlight/blacklight_configuration_spec.rb
|
1631
|
-
- spec/models/spotlight/contact_email_spec.rb
|
1632
|
-
- spec/models/spotlight/contact_form_spec.rb
|
1633
|
-
- spec/models/spotlight/contact_image_spec.rb
|
1573
|
+
- spec/features/autocomplete_typeahead_spec.rb
|
1574
|
+
- spec/features/add_iiif_manifest_spec.rb
|
1575
|
+
- spec/features/edit_contact_spec.rb
|
1576
|
+
- spec/features/edit_search_fields_spec.rb
|
1577
|
+
- spec/models/spotlight/reindex_progress_spec.rb
|
1634
1578
|
- spec/models/spotlight/contact_spec.rb
|
1635
1579
|
- spec/models/spotlight/custom_field_spec.rb
|
1636
1580
|
- spec/models/spotlight/exhibit_spec.rb
|
1637
|
-
- spec/models/spotlight/exhibit_thumbnail_spec.rb
|
1638
|
-
- spec/models/spotlight/feature_page_spec.rb
|
1639
1581
|
- spec/models/spotlight/featured_image_spec.rb
|
1640
|
-
- spec/models/spotlight/
|
1641
|
-
- spec/models/spotlight/
|
1642
|
-
- spec/models/spotlight/
|
1643
|
-
- spec/models/spotlight/
|
1644
|
-
- spec/models/spotlight/
|
1645
|
-
- spec/models/spotlight/page_spec.rb
|
1646
|
-
- spec/models/spotlight/reindex_progress_spec.rb
|
1647
|
-
- spec/models/spotlight/reindexing_log_entry_spec.rb
|
1648
|
-
- spec/models/spotlight/resource_spec.rb
|
1649
|
-
- spec/models/spotlight/resources/iiif_harvester_spec.rb
|
1650
|
-
- spec/models/spotlight/resources/iiif_manifest_spec.rb
|
1582
|
+
- spec/models/spotlight/ability_spec.rb
|
1583
|
+
- spec/models/spotlight/site_spec.rb
|
1584
|
+
- spec/models/spotlight/solr_document_sidecar_spec.rb
|
1585
|
+
- spec/models/spotlight/search_spec.rb
|
1586
|
+
- spec/models/spotlight/contact_image_spec.rb
|
1651
1587
|
- spec/models/spotlight/resources/iiif_service_spec.rb
|
1652
1588
|
- spec/models/spotlight/resources/open_graph_spec.rb
|
1653
|
-
- spec/models/spotlight/resources/upload_spec.rb
|
1654
1589
|
- spec/models/spotlight/resources/web_spec.rb
|
1655
|
-
- spec/models/spotlight/
|
1656
|
-
- spec/models/spotlight/
|
1657
|
-
- spec/models/spotlight/
|
1658
|
-
- spec/models/spotlight/
|
1590
|
+
- spec/models/spotlight/resources/upload_spec.rb
|
1591
|
+
- spec/models/spotlight/resources/iiif_harvester_spec.rb
|
1592
|
+
- spec/models/spotlight/resources/iiif_manifest_spec.rb
|
1593
|
+
- spec/models/spotlight/page_spec.rb
|
1594
|
+
- spec/models/spotlight/blacklight_configuration_spec.rb
|
1659
1595
|
- spec/models/spotlight/solr_document/atomic_updates_spec.rb
|
1660
1596
|
- spec/models/spotlight/solr_document/uploaded_resource_spec.rb
|
1661
|
-
- spec/models/spotlight/
|
1597
|
+
- spec/models/spotlight/resource_spec.rb
|
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
|
1662
1608
|
- 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
|
1663
1620
|
- spec/presenters/spotlight/iiif_manifest_presenter_spec.rb
|
1664
|
-
- spec/routing/spotlight/exhibit_catalog_spec.rb
|
1665
|
-
- spec/routing/spotlight/featured_images_spec.rb
|
1666
|
-
- spec/routing/spotlight/pages_routing_spec.rb
|
1667
1621
|
- spec/serializers/spotlight/exhibit_export_serializer_spec.rb
|
1668
|
-
- spec/services/spotlight/carrierwave_file_resolver_spec.rb
|
1669
|
-
- spec/services/spotlight/iiif_resource_resolver_spec.rb
|
1670
|
-
- spec/services/spotlight/solr_document_builder_spec.rb
|
1671
|
-
- spec/spec_helper.rb
|
1672
|
-
- spec/support/controllers/engine_helpers.rb
|
1673
1622
|
- spec/support/features/test_features_helpers.rb
|
1674
|
-
- spec/support/helpers/controller_level_helpers.rb
|
1675
1623
|
- spec/support/stub_iiif_response.rb
|
1624
|
+
- spec/support/controllers/engine_helpers.rb
|
1676
1625
|
- 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
|
1677
1642
|
- spec/test_app_templates/carrierwave.rb
|
1678
|
-
- spec/test_app_templates/catalog_controller.rb
|
1679
|
-
- spec/test_app_templates/fixture.css
|
1680
1643
|
- spec/test_app_templates/fixture.png
|
1681
|
-
- spec/test_app_templates/Gemfile.extra
|
1682
1644
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
1683
|
-
- spec/test_app_templates/
|
1684
|
-
- spec/
|
1685
|
-
- spec/
|
1686
|
-
- spec/
|
1687
|
-
- spec/
|
1688
|
-
- spec/
|
1689
|
-
- spec/
|
1690
|
-
- spec/
|
1691
|
-
- spec/
|
1692
|
-
- spec/
|
1693
|
-
- spec/
|
1694
|
-
- spec/
|
1695
|
-
- spec/
|
1696
|
-
- spec/
|
1697
|
-
- spec/
|
1698
|
-
- spec/
|
1699
|
-
- spec/
|
1700
|
-
- spec/
|
1701
|
-
- spec/
|
1702
|
-
- spec/
|
1703
|
-
- spec/
|
1704
|
-
- spec/
|
1705
|
-
- spec/
|
1706
|
-
- spec/
|
1707
|
-
- spec/
|
1708
|
-
- spec/
|
1709
|
-
- spec/
|
1710
|
-
- spec/
|
1711
|
-
- spec/
|
1712
|
-
- spec/
|
1713
|
-
- spec/
|
1714
|
-
- spec/
|
1715
|
-
- spec/
|
1716
|
-
- spec/
|
1717
|
-
- spec/
|
1718
|
-
- spec/
|
1719
|
-
- spec/
|
1720
|
-
- spec/
|
1721
|
-
- spec/
|
1722
|
-
- spec/
|
1645
|
+
- spec/test_app_templates/fixture.css
|
1646
|
+
- spec/test_app_templates/catalog_controller.rb
|
1647
|
+
- spec/test_app_templates/Gemfile.extra
|
1648
|
+
- spec/lib/spotlight/catalog_spec.rb
|
1649
|
+
- spec/lib/spotlight/controller_spec.rb
|
1650
|
+
- spec/lib/migration/iiif_spec.rb
|
1651
|
+
- spec/fixtures/gk446cj2442-manifest.json
|
1652
|
+
- spec/fixtures/json-upload-fixture.json
|
1653
|
+
- spec/fixtures/csv-upload-fixture.csv
|
1654
|
+
- spec/fixtures/avatar.png
|
1655
|
+
- spec/fixtures/sample_solr_documents.yml
|
1656
|
+
- spec/fixtures/iiif_responses.rb
|
1657
|
+
- spec/fixtures/800x600.png
|
1658
|
+
- spec/routing/spotlight/featured_images_spec.rb
|
1659
|
+
- spec/routing/spotlight/exhibit_catalog_spec.rb
|
1660
|
+
- spec/routing/spotlight/pages_routing_spec.rb
|
1661
|
+
- spec/jobs/spotlight/reindex_job_spec.rb
|
1662
|
+
- spec/jobs/spotlight/default_thumbnail_job_spec.rb
|
1663
|
+
- spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
|
1664
|
+
- spec/jobs/spotlight/add_uploads_from_csv_spec.rb
|
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
|
1723
1696
|
- spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
|
1724
1697
|
- spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
|
1725
1698
|
- spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
|
1726
|
-
- spec/views/spotlight/
|
1699
|
+
- spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
|
1727
1700
|
- spec/views/spotlight/searches/edit.html.erb_spec.rb
|
1701
|
+
- spec/views/spotlight/searches/_search.html.erb_spec.rb
|
1728
1702
|
- spec/views/spotlight/searches/index.html.erb_spec.rb
|
1729
|
-
- spec/views/spotlight/
|
1703
|
+
- spec/views/spotlight/contacts/edit.html.erb_spec.rb
|
1704
|
+
- spec/views/spotlight/catalog/edit.html.erb_spec.rb
|
1705
|
+
- spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
|
1706
|
+
- spec/views/spotlight/catalog/admin.html.erb_spec.rb
|
1707
|
+
- spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
|
1708
|
+
- spec/views/spotlight/resources/new.html.erb_spec.rb
|
1709
|
+
- spec/views/spotlight/roles/index.html.erb_spec.rb
|
1710
|
+
- spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
|
1711
|
+
- spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
|
1712
|
+
- spec/views/spotlight/tags/index.html.erb_spec.rb
|
1713
|
+
- spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
|
1714
|
+
- spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
|
1715
|
+
- spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
|
1716
|
+
- spec/views/spotlight/exhibits/edit.html.erb_spec.rb
|
1717
|
+
- spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
|
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
|
1730
1722
|
- spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
|
1731
|
-
- spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
|
1732
1723
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
|
1733
|
-
- spec/views/spotlight/sir_trevor/blocks/
|
1724
|
+
- spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
|
1734
1725
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb
|
1735
|
-
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
|
1736
1726
|
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
|
1737
|
-
- spec/views/spotlight/
|
1738
|
-
- spec/views/spotlight/
|
1727
|
+
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
|
1728
|
+
- spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
|
1729
|
+
- spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
|
1730
|
+
- spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
|
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
|