blacklight-spotlight 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -9
  3. data/app/assets/javascripts/spotlight/blocks/browse_block.js +1 -0
  4. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +1 -1
  5. data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +2 -0
  6. data/app/assets/stylesheets/spotlight/_pages.scss +7 -1
  7. data/app/controllers/spotlight/contact_forms_controller.rb +1 -5
  8. data/app/controllers/spotlight/searches_controller.rb +7 -1
  9. data/app/helpers/spotlight/browse_helper.rb +16 -1
  10. data/app/helpers/spotlight/searches_helper.rb +8 -0
  11. data/app/mailers/spotlight/contact_mailer.rb +9 -0
  12. data/app/models/spotlight/analytics/ga.rb +14 -16
  13. data/app/models/spotlight/blacklight_configuration.rb +6 -6
  14. data/app/models/spotlight/contact_form.rb +12 -10
  15. data/app/services/spotlight/carrierwave_file_resolver.rb +8 -0
  16. data/app/views/spotlight/browse/show.html.erb +5 -1
  17. data/app/views/spotlight/contact_mailer/report_problem.html.erb +14 -0
  18. data/app/views/spotlight/dashboards/analytics.html.erb +1 -3
  19. data/app/views/spotlight/searches/_form.html.erb +5 -0
  20. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +4 -3
  21. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +3 -2
  22. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +3 -2
  23. data/config/locales/spotlight.en.yml +1 -0
  24. data/db/migrate/20160711121314_add_default_view_to_spotlight_searches.rb +5 -0
  25. data/lib/generators/spotlight/install_generator.rb +6 -0
  26. data/lib/generators/spotlight/templates/config/initializers/riiif.rb +7 -0
  27. data/lib/spotlight/version.rb +1 -1
  28. data/spec/controllers/application_controller_spec.rb +0 -2
  29. data/spec/controllers/spotlight/about_pages_controller_spec.rb +0 -2
  30. data/spec/controllers/spotlight/admin_users_controller_spec.rb +0 -2
  31. data/spec/controllers/spotlight/appearances_controller_spec.rb +0 -1
  32. data/spec/controllers/spotlight/application_controller_spec.rb +0 -2
  33. data/spec/controllers/spotlight/attachments_controller_spec.rb +0 -2
  34. data/spec/controllers/spotlight/browse_controller_spec.rb +0 -2
  35. data/spec/controllers/spotlight/catalog_controller_spec.rb +0 -2
  36. data/spec/controllers/spotlight/confirmations_controller_spec.rb +0 -2
  37. data/spec/controllers/spotlight/contact_forms_controller_spec.rb +5 -2
  38. data/spec/controllers/spotlight/contacts_controller_spec.rb +0 -2
  39. data/spec/controllers/spotlight/custom_fields_controller_spec.rb +0 -1
  40. data/spec/controllers/spotlight/dashboards_controller_spec.rb +0 -1
  41. data/spec/controllers/spotlight/exhibits_controller_spec.rb +1 -1
  42. data/spec/controllers/spotlight/feature_pages_controller_spec.rb +0 -1
  43. data/spec/controllers/spotlight/filters_controller_spec.rb +0 -2
  44. data/spec/controllers/spotlight/home_pages_controller_spec.rb +0 -2
  45. data/spec/controllers/spotlight/metadata_configurations_controller_spec.rb +0 -1
  46. data/spec/controllers/spotlight/resources_controller_spec.rb +0 -2
  47. data/spec/controllers/spotlight/roles_controller_spec.rb +0 -2
  48. data/spec/controllers/spotlight/search_configurations_controller_spec.rb +0 -1
  49. data/spec/controllers/spotlight/searches_controller_spec.rb +0 -2
  50. data/spec/controllers/spotlight/sites_controller_spec.rb +0 -2
  51. data/spec/controllers/spotlight/solr_controller_spec.rb +0 -2
  52. data/spec/controllers/spotlight/tags_controller_spec.rb +0 -2
  53. data/spec/controllers/spotlight/versions_controller_spec.rb +0 -2
  54. data/spec/controllers/spotlight/view_configurations_controller_spec.rb +0 -1
  55. data/spec/features/about_page_spec.rb +0 -2
  56. data/spec/features/add_contacts_spec.rb +0 -2
  57. data/spec/features/add_custom_field_metadata_spec.rb +0 -2
  58. data/spec/features/add_items_spec.rb +0 -2
  59. data/spec/features/browse_category_admin_spec.rb +13 -2
  60. data/spec/features/browse_category_spec.rb +27 -2
  61. data/spec/features/catalog_spec.rb +0 -2
  62. data/spec/features/confirm_email_spec.rb +0 -2
  63. data/spec/features/create_exhibit_spec.rb +0 -2
  64. data/spec/features/create_page_spec.rb +0 -2
  65. data/spec/features/curator_items.rb +0 -3
  66. data/spec/features/dashboard_spec.rb +0 -2
  67. data/spec/features/edit_contact_spec.rb +0 -3
  68. data/spec/features/edit_search_fields_spec.rb +0 -2
  69. data/spec/features/exhibit_masthead_spec.rb +0 -2
  70. data/spec/features/exhibits/add_tags_spec.rb +0 -1
  71. data/spec/features/exhibits/administration_spec.rb +0 -1
  72. data/spec/features/exhibits/custom_metadata_fields_spec.rb +0 -1
  73. data/spec/features/exhibits/edit_metadata_fields_spec.rb +0 -1
  74. data/spec/features/exhibits_index_spec.rb +0 -2
  75. data/spec/features/feature_page_spec.rb +0 -2
  76. data/spec/features/home_page_spec.rb +0 -1
  77. data/spec/features/import_exhibit_spec.rb +0 -1
  78. data/spec/features/item_admin_spec.rb +0 -2
  79. data/spec/features/javascript/about_page_admin_spec.rb +0 -2
  80. data/spec/features/javascript/block_controls_spec.rb +0 -2
  81. data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +8 -0
  82. data/spec/features/javascript/edit_in_place_spec.rb +0 -2
  83. data/spec/features/javascript/feature_page_admin_spec.rb +0 -2
  84. data/spec/features/javascript/home_page_edit_spec.rb +0 -2
  85. data/spec/features/javascript/metadata_admin_spec.rb +0 -2
  86. data/spec/features/javascript/multi_image_select_spec.rb +0 -2
  87. data/spec/features/javascript/preview_block_spec.rb +0 -2
  88. data/spec/features/javascript/reindex_monitor_spec.rb +0 -2
  89. data/spec/features/javascript/roles_admin_spec.rb +0 -2
  90. data/spec/features/javascript/rule_block_spec.rb +0 -2
  91. data/spec/features/javascript/search_config_admin_spec.rb +0 -2
  92. data/spec/features/javascript/search_context_spec.rb +0 -2
  93. data/spec/features/main_navigation_spec.rb +0 -2
  94. data/spec/features/metadata_admin_spec.rb +0 -2
  95. data/spec/features/report_a_problem_spec.rb +0 -2
  96. data/spec/features/site_admin_management_spec.rb +0 -2
  97. data/spec/features/site_masthead_spec.rb +0 -6
  98. data/spec/features/slideshow_spec.rb +0 -2
  99. data/spec/features/tags_admin_spec.rb +0 -2
  100. data/spec/features/user_admin_spec.rb +0 -2
  101. data/spec/helpers/spotlight/application_helper_spec.rb +0 -1
  102. data/spec/helpers/spotlight/browse_helper_spec.rb +0 -1
  103. data/spec/helpers/spotlight/crud_link_helpers_spec.rb +0 -1
  104. data/spec/helpers/spotlight/jcrop_helper_spec.rb +0 -1
  105. data/spec/helpers/spotlight/main_app_helpers_spec.rb +0 -1
  106. data/spec/helpers/spotlight/navbar_helper_spec.rb +0 -1
  107. data/spec/helpers/spotlight/pages_helper_spec.rb +0 -1
  108. data/spec/helpers/spotlight/roles_helper_spec.rb +0 -1
  109. data/spec/helpers/spotlight/search_configurations_helper_spec.rb +0 -1
  110. data/spec/helpers/spotlight/title_helper_spec.rb +0 -1
  111. data/spec/jobs/spotlight/default_thumbnail_job_spec.rb +0 -1
  112. data/spec/jobs/spotlight/reindex_job_spec.rb +0 -1
  113. data/spec/jobs/spotlight/rename_sidecar_field_job_spec.rb +0 -1
  114. data/spec/lib/spotlight/controller_spec.rb +0 -1
  115. data/spec/mailers/spotlight/indexing_complete_mailer_spec.rb +0 -1
  116. data/spec/models/solr_document_spec.rb +0 -2
  117. data/spec/models/spotlight/ability_spec.rb +0 -1
  118. data/spec/models/spotlight/about_page_spec.rb +0 -2
  119. data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +0 -2
  120. data/spec/models/spotlight/blacklight_configuration_spec.rb +10 -2
  121. data/spec/models/spotlight/contact_email_spec.rb +0 -8
  122. data/spec/models/spotlight/contact_form_spec.rb +0 -2
  123. data/spec/models/spotlight/contact_spec.rb +0 -2
  124. data/spec/models/spotlight/custom_field_spec.rb +0 -1
  125. data/spec/models/spotlight/default_thumbnailable_concern_spec.rb +0 -2
  126. data/spec/models/spotlight/exhibit_spec.rb +0 -2
  127. data/spec/models/spotlight/feature_page_spec.rb +0 -2
  128. data/spec/models/spotlight/featured_image_spec.rb +0 -2
  129. data/spec/models/spotlight/field_metadata_spec.rb +0 -2
  130. data/spec/models/spotlight/filter_spec.rb +0 -2
  131. data/spec/models/spotlight/home_page_spec.rb +0 -2
  132. data/spec/models/spotlight/image_derivatives_spec.rb +0 -2
  133. data/spec/models/spotlight/main_navigation_spec.rb +0 -2
  134. data/spec/models/spotlight/masthead_spec.rb +0 -2
  135. data/spec/models/spotlight/page_spec.rb +0 -2
  136. data/spec/models/spotlight/reindex_progress_spec.rb +0 -2
  137. data/spec/models/spotlight/resource_spec.rb +0 -2
  138. data/spec/models/spotlight/role_spec.rb +0 -2
  139. data/spec/models/spotlight/search_spec.rb +0 -2
  140. data/spec/models/spotlight/site_spec.rb +0 -2
  141. data/spec/models/spotlight/sitemap_spec.rb +0 -1
  142. data/spec/models/spotlight/solr_document_sidecar_spec.rb +0 -2
  143. data/spec/models/spotlight/user_spec.rb +0 -2
  144. data/spec/routing/spotlight/exhibit_catalog_spec.rb +0 -1
  145. data/spec/routing/spotlight/pages_routing_spec.rb +30 -34
  146. data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +0 -2
  147. data/spec/services/spotlight/carrierwave_file_resolver_spec.rb +14 -0
  148. data/spec/spec_helper.rb +8 -2
  149. data/spec/uploaders/spotlight/item_uploader_spec.rb +0 -1
  150. data/spec/views/_user_util_links.html.erb_spec.rb +70 -74
  151. data/spec/views/shared/_analytics.html.erb_spec.rb +10 -15
  152. data/spec/views/shared/_exhibit_navbar.html.erb_spec.rb +0 -2
  153. data/spec/views/shared/_footer.html.erb_spec.rb +15 -19
  154. data/spec/views/shared/_header_navbar.html.erb_spec.rb +7 -12
  155. data/spec/views/shared/_masthead.html.erb_spec.rb +0 -13
  156. data/spec/views/spotlight/roles/index.html.erb_spec.rb +6 -5
  157. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb +1 -1
  158. metadata +37 -30
  159. data/app/views/spotlight/contact_forms/show.html.erb +0 -4
@@ -1,5 +1,3 @@
1
- require 'spec_helper'
2
-
3
1
  describe 'shared/_exhibit_navbar', type: :view do
4
2
  let(:current_exhibit) { FactoryGirl.create(:exhibit) }
5
3
  let(:feature_page) { FactoryGirl.create(:feature_page, exhibit: current_exhibit) }
@@ -1,24 +1,20 @@
1
- require 'spec_helper'
1
+ describe 'shared/_footer', type: :view do
2
+ let(:current_exhibit) { double(title: 'Some title', subtitle: 'Subtitle') }
2
3
 
3
- module Spotlight
4
- describe 'shared/_footer', type: :view do
5
- let(:current_exhibit) { double(title: 'Some title', subtitle: 'Subtitle') }
6
-
7
- before do
8
- allow(view).to receive_messages(current_exhibit: current_exhibit)
9
- end
4
+ before do
5
+ allow(view).to receive_messages(current_exhibit: current_exhibit)
6
+ end
10
7
 
11
- it 'includes analytics reporting' do
12
- stub_template 'shared/_analytics.html.erb' => 'analytics'
13
- render
14
- expect(rendered).to have_content 'analytics'
15
- end
8
+ it 'includes analytics reporting' do
9
+ stub_template 'shared/_analytics.html.erb' => 'analytics'
10
+ render
11
+ expect(rendered).to have_content 'analytics'
12
+ end
16
13
 
17
- it 'displays social media links' do
18
- render
19
- expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Twitter"]')
20
- expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Facebook"]')
21
- expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Google+"]')
22
- end
14
+ it 'displays social media links' do
15
+ render
16
+ expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Twitter"]')
17
+ expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Facebook"]')
18
+ expect(rendered).to have_selector('footer .social-share-button a.ssb-icon[title="Google+"]')
23
19
  end
24
20
  end
@@ -1,14 +1,9 @@
1
- require 'spec_helper'
2
-
3
- module Spotlight
4
- describe 'shared/_header_navbar', type: :view do
5
- before do
6
- stub_template '_user_util_links.html.erb' => 'links'
7
- end
8
-
9
- it 'has nav links' do
10
- render
11
- expect(rendered).to have_selector '#user-util-collapse', text: 'links'
12
- end
1
+ describe 'shared/_header_navbar', type: :view do
2
+ before do
3
+ stub_template '_user_util_links.html.erb' => 'links'
4
+ end
5
+ it 'has nav links' do
6
+ render
7
+ expect(rendered).to have_selector '#user-util-collapse', text: 'links'
13
8
  end
14
9
  end
@@ -1,12 +1,9 @@
1
- require 'spec_helper'
2
-
3
1
  describe 'shared/_masthead', type: :view do
4
2
  let(:exhibit) { FactoryGirl.create(:exhibit, subtitle: 'Some exhibit') }
5
3
  let(:masthead) { nil }
6
4
 
7
5
  before do
8
6
  stub_template 'shared/_exhibit_navbar.html.erb' => 'navbar'
9
-
10
7
  allow(view).to receive_messages(current_exhibit: exhibit,
11
8
  current_masthead: masthead,
12
9
  resource_masthead?: false)
@@ -14,7 +11,6 @@ describe 'shared/_masthead', type: :view do
14
11
 
15
12
  it 'has the site title and subtitle' do
16
13
  render
17
-
18
14
  expect(rendered).to have_selector '.h1', text: exhibit.title
19
15
  expect(rendered).to have_selector 'small', text: exhibit.subtitle
20
16
  end
@@ -23,17 +19,14 @@ describe 'shared/_masthead', type: :view do
23
19
  before do
24
20
  exhibit.update(subtitle: nil)
25
21
  end
26
-
27
22
  it 'does not include the subtitle' do
28
23
  render
29
-
30
24
  expect(rendered).not_to have_selector 'small'
31
25
  end
32
26
  end
33
27
 
34
28
  it 'includes a navbar' do
35
29
  render
36
-
37
30
  expect(rendered).to have_content 'navbar'
38
31
  end
39
32
 
@@ -47,16 +40,13 @@ describe 'shared/_masthead', type: :view do
47
40
 
48
41
  it 'adds a class to the masthead' do
49
42
  render
50
-
51
43
  expect(rendered).to have_selector '.masthead.image-masthead'
52
44
  end
53
45
 
54
46
  it 'has a background image' do
55
47
  render
56
-
57
48
  expect(rendered).to have_selector '.background-container'
58
49
  expect(rendered).to have_selector '.background-container-gradient'
59
-
60
50
  expect(rendered).to match(/background-image: url\('#{masthead.image.cropped.url}'\)/)
61
51
  end
62
52
  end
@@ -70,13 +60,10 @@ describe 'shared/_masthead', type: :view do
70
60
 
71
61
  it 'adds a class to the masthead' do
72
62
  render
73
-
74
63
  expect(rendered).to have_selector '.masthead.resource-masthead'
75
64
  end
76
-
77
65
  it 'puts the navbar before the title' do
78
66
  render
79
-
80
67
  expect(rendered.index('navbar')).to be < rendered.index(exhibit.title)
81
68
  end
82
69
  end
@@ -17,11 +17,12 @@ module Spotlight
17
17
  it 'renders the index page form' do
18
18
  render
19
19
 
20
- assert_select 'form[action=?][method=?]', spotlight.update_all_exhibit_roles_path(exhibit), 'post' do
21
- assert_select 'tr[data-show-for=?]', admin_role.id
22
- assert_select 'tr[data-edit-for=?]', admin_role.id, 2
23
- assert_select "input[type='submit'][data-behavior='destroy-user'][data-target=?]", admin_role.id
24
- assert_select "input[type='hidden'][data-destroy-for=?]", admin_role.id
20
+ action = spotlight.update_all_exhibit_roles_path(exhibit)
21
+ assert_select "form[action='#{action}'][method='post']" do
22
+ assert_select "tr[data-show-for='#{admin_role.id}']"
23
+ assert_select "tr[data-edit-for='#{admin_role.id}']"
24
+ assert_select "input[type='submit'][data-behavior='destroy-user'][data-target='#{admin_role.id}']"
25
+ assert_select "input[type='hidden'][data-destroy-for='#{admin_role.id}']"
25
26
  assert_select "a[data-behavior='cancel-edit']"
26
27
  assert_select "input[type='submit'][value='Save changes']"
27
28
  end
@@ -14,7 +14,7 @@ describe 'spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb',
14
14
  ])
15
15
  allow(block).to receive_messages(documents?: true)
16
16
  allow(view).to receive_messages(solr_documents_carousel_block: block)
17
- allow(view).to receive_messages(has_thumbnail?: true, render_thumbnail_tag: 'thumb')
17
+ allow(view).to receive_messages(has_thumbnail?: true, render_thumbnail_tag: 'thumb', blacklight_config: Blacklight::Configuration.new)
18
18
  end
19
19
 
20
20
  it 'has a slideshow block' do
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: 0.18.0
4
+ version: 0.19.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: 2016-07-06 00:00:00.000000000 Z
14
+ date: 2016-07-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -145,26 +145,6 @@ dependencies:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
147
  version: '2.2'
148
- - !ruby/object:Gem::Dependency
149
- name: mail_form
150
- requirement: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - "~>"
153
- - !ruby/object:Gem::Version
154
- version: '1.5'
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- version: 1.5.1
158
- type: :runtime
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '1.5'
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: 1.5.1
168
148
  - !ruby/object:Gem::Dependency
169
149
  name: acts-as-taggable-on
170
150
  requirement: !ruby/object:Gem::Requirement
@@ -253,14 +233,14 @@ dependencies:
253
233
  name: devise
254
234
  requirement: !ruby/object:Gem::Requirement
255
235
  requirements:
256
- - - "~>"
236
+ - - ">="
257
237
  - !ruby/object:Gem::Version
258
238
  version: '3.0'
259
239
  type: :runtime
260
240
  prerelease: false
261
241
  version_requirements: !ruby/object:Gem::Requirement
262
242
  requirements:
263
- - - "~>"
243
+ - - ">="
264
244
  - !ruby/object:Gem::Version
265
245
  version: '3.0'
266
246
  - !ruby/object:Gem::Dependency
@@ -404,19 +384,19 @@ dependencies:
404
384
  - !ruby/object:Gem::Version
405
385
  version: '0'
406
386
  - !ruby/object:Gem::Dependency
407
- name: google-api-client
387
+ name: signet
408
388
  requirement: !ruby/object:Gem::Requirement
409
389
  requirements:
410
- - - "~>"
390
+ - - ">="
411
391
  - !ruby/object:Gem::Version
412
- version: 0.8.0
392
+ version: '0'
413
393
  type: :runtime
414
394
  prerelease: false
415
395
  version_requirements: !ruby/object:Gem::Requirement
416
396
  requirements:
417
- - - "~>"
397
+ - - ">="
418
398
  - !ruby/object:Gem::Version
419
- version: 0.8.0
399
+ version: '0'
420
400
  - !ruby/object:Gem::Dependency
421
401
  name: oauth2
422
402
  requirement: !ruby/object:Gem::Requirement
@@ -550,6 +530,9 @@ dependencies:
550
530
  - - "~>"
551
531
  - !ruby/object:Gem::Version
552
532
  version: '0.41'
533
+ - - ">="
534
+ - !ruby/object:Gem::Version
535
+ version: 0.41.2
553
536
  type: :development
554
537
  prerelease: false
555
538
  version_requirements: !ruby/object:Gem::Requirement
@@ -557,6 +540,9 @@ dependencies:
557
540
  - - "~>"
558
541
  - !ruby/object:Gem::Version
559
542
  version: '0.41'
543
+ - - ">="
544
+ - !ruby/object:Gem::Version
545
+ version: 0.41.2
560
546
  - !ruby/object:Gem::Dependency
561
547
  name: rubocop-rspec
562
548
  requirement: !ruby/object:Gem::Requirement
@@ -683,6 +669,20 @@ dependencies:
683
669
  - - ">="
684
670
  - !ruby/object:Gem::Version
685
671
  version: '0'
672
+ - !ruby/object:Gem::Dependency
673
+ name: riiif
674
+ requirement: !ruby/object:Gem::Requirement
675
+ requirements:
676
+ - - "~>"
677
+ - !ruby/object:Gem::Version
678
+ version: 0.4.0
679
+ type: :development
680
+ prerelease: false
681
+ version_requirements: !ruby/object:Gem::Requirement
682
+ requirements:
683
+ - - "~>"
684
+ - !ruby/object:Gem::Version
685
+ version: 0.4.0
686
686
  description:
687
687
  email:
688
688
  - exhibits-feedback@lists.stanford.edu
@@ -842,12 +842,14 @@ files:
842
842
  - app/helpers/spotlight/pages_helper.rb
843
843
  - app/helpers/spotlight/roles_helper.rb
844
844
  - app/helpers/spotlight/search_configurations_helper.rb
845
+ - app/helpers/spotlight/searches_helper.rb
845
846
  - app/helpers/spotlight/title_helper.rb
846
847
  - app/jobs/spotlight/add_uploads_from_csv.rb
847
848
  - app/jobs/spotlight/default_thumbnail_job.rb
848
849
  - app/jobs/spotlight/reindex_job.rb
849
850
  - app/jobs/spotlight/rename_sidecar_field_job.rb
850
851
  - app/mailers/spotlight/confirmation_mailer.rb
852
+ - app/mailers/spotlight/contact_mailer.rb
851
853
  - app/mailers/spotlight/indexing_complete_mailer.rb
852
854
  - app/models/ability.rb
853
855
  - app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb
@@ -910,6 +912,7 @@ files:
910
912
  - app/serializers/spotlight/featured_image_representer.rb
911
913
  - app/serializers/spotlight/main_navigation_representer.rb
912
914
  - app/serializers/spotlight/page_representer.rb
915
+ - app/services/spotlight/carrierwave_file_resolver.rb
913
916
  - app/uploaders/spotlight/attachment_uploader.rb
914
917
  - app/uploaders/spotlight/avatar_uploader.rb
915
918
  - app/uploaders/spotlight/featured_image_uploader.rb
@@ -969,7 +972,7 @@ files:
969
972
  - app/views/spotlight/catalog/edit.html.erb
970
973
  - app/views/spotlight/confirmation_mailer/confirmation_instructions.html.erb
971
974
  - app/views/spotlight/contact_forms/new.html.erb
972
- - app/views/spotlight/contact_forms/show.html.erb
975
+ - app/views/spotlight/contact_mailer/report_problem.html.erb
973
976
  - app/views/spotlight/contacts/_form.html.erb
974
977
  - app/views/spotlight/contacts/edit.html.erb
975
978
  - app/views/spotlight/contacts/new.html.erb
@@ -1122,9 +1125,11 @@ files:
1122
1125
  - db/migrate/20151215192845_add_index_status_to_resources.rb
1123
1126
  - db/migrate/20151217211019_create_spotlight_exhibit_filters.rb
1124
1127
  - db/migrate/20160329215014_add_readonly_to_custom_fields.rb
1128
+ - db/migrate/20160711121314_add_default_view_to_spotlight_searches.rb
1125
1129
  - lib/blacklight/spotlight.rb
1126
1130
  - lib/generators/spotlight/install_generator.rb
1127
1131
  - lib/generators/spotlight/templates/catalog_controller.rb
1132
+ - lib/generators/spotlight/templates/config/initializers/riiif.rb
1128
1133
  - lib/generators/spotlight/templates/config/initializers/social_share_button.rb
1129
1134
  - lib/generators/spotlight/templates/config/sitemap.rb
1130
1135
  - lib/generators/spotlight/templates/jetty.rake
@@ -1287,6 +1292,7 @@ files:
1287
1292
  - spec/routing/spotlight/exhibit_catalog_spec.rb
1288
1293
  - spec/routing/spotlight/pages_routing_spec.rb
1289
1294
  - spec/serializers/spotlight/exhibit_export_serializer_spec.rb
1295
+ - spec/services/spotlight/carrierwave_file_resolver_spec.rb
1290
1296
  - spec/spec_helper.rb
1291
1297
  - spec/support/controllers/engine_helpers.rb
1292
1298
  - spec/support/features/test_features_helpers.rb
@@ -1534,6 +1540,7 @@ test_files:
1534
1540
  - spec/routing/spotlight/exhibit_catalog_spec.rb
1535
1541
  - spec/routing/spotlight/pages_routing_spec.rb
1536
1542
  - spec/serializers/spotlight/exhibit_export_serializer_spec.rb
1543
+ - spec/services/spotlight/carrierwave_file_resolver_spec.rb
1537
1544
  - spec/spec_helper.rb
1538
1545
  - spec/support/controllers/engine_helpers.rb
1539
1546
  - spec/support/features/test_features_helpers.rb
@@ -1,4 +0,0 @@
1
- <div class="row"><%= @contact_form.name %></div>
2
- <div class="row">From: <%= %("#{@contact_form.name}" <#{@contact_form.email}>) %></div>
3
-
4
- <div class="row"><%= @contact_form.message %></div>