arclight 0.1.4 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. checksums.yaml +5 -5
  2. data/.all-contributorsrc +450 -0
  3. data/.babelrc +3 -0
  4. data/.codeclimate.yml +5 -0
  5. data/.eslintrc +3 -0
  6. data/.gitignore +1 -0
  7. data/.rubocop.yml +20 -42
  8. data/.rubocop_todo.yml +139 -0
  9. data/.travis.yml +24 -20
  10. data/CONTRIBUTORS.md +79 -0
  11. data/README.md +34 -23
  12. data/Rakefile +0 -1
  13. data/app/assets/images/blacklight/bookmark.svg +1 -0
  14. data/app/assets/images/blacklight/collection.svg +5 -0
  15. data/app/assets/images/blacklight/compact.svg +1 -25
  16. data/app/assets/images/blacklight/container.svg +5 -0
  17. data/app/assets/images/blacklight/ead.svg +1 -0
  18. data/app/assets/images/blacklight/file.svg +5 -0
  19. data/app/assets/images/blacklight/folder.svg +1 -0
  20. data/app/assets/images/blacklight/list.svg +1 -0
  21. data/app/assets/images/blacklight/minus.svg +1 -0
  22. data/app/assets/images/blacklight/online.svg +5 -0
  23. data/app/assets/images/blacklight/pdf.svg +1 -0
  24. data/app/assets/images/blacklight/plus.svg +1 -0
  25. data/app/assets/images/blacklight/repository.svg +1 -0
  26. data/app/assets/javascripts/arclight/arclight.js +1 -2
  27. data/app/assets/javascripts/arclight/collection_navigation.js +36 -50
  28. data/app/assets/javascripts/arclight/collection_scrollspy.js +1 -1
  29. data/app/assets/javascripts/arclight/context_navigation.js +386 -0
  30. data/app/assets/javascripts/arclight/oembed_viewer.js +11 -4
  31. data/app/assets/javascripts/arclight/truncator.js.erb +8 -2
  32. data/app/assets/stylesheets/arclight/application.scss +4 -1
  33. data/app/assets/stylesheets/arclight/bootstrap_overrides.scss +23 -0
  34. data/app/assets/stylesheets/arclight/modules/context_navigation.scss +75 -0
  35. data/app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss +34 -38
  36. data/app/assets/stylesheets/arclight/modules/highlights.scss +2 -1
  37. data/app/assets/stylesheets/arclight/modules/icons.scss +4 -0
  38. data/app/assets/stylesheets/arclight/modules/layout.scss +149 -11
  39. data/app/assets/stylesheets/arclight/modules/mastheads.scss +60 -5
  40. data/app/assets/stylesheets/arclight/modules/repositories.scss +1 -5
  41. data/app/assets/stylesheets/arclight/modules/repository_card.scss +6 -7
  42. data/app/assets/stylesheets/arclight/modules/search_results.scss +145 -24
  43. data/app/assets/stylesheets/arclight/modules/show_collection.scss +38 -59
  44. data/app/assets/stylesheets/arclight/responsive.scss +13 -0
  45. data/app/assets/stylesheets/arclight/variables.scss +21 -1
  46. data/app/controllers/concerns/arclight/ead_format_helpers.rb +225 -0
  47. data/app/controllers/concerns/arclight/field_config_helpers.rb +23 -7
  48. data/app/factories/blacklight_field_configuration_factory.rb +1 -0
  49. data/app/helpers/arclight_helper.rb +198 -36
  50. data/app/models/arclight/document_downloads.rb +125 -0
  51. data/app/models/arclight/parent.rb +4 -2
  52. data/app/models/arclight/parents.rb +6 -4
  53. data/app/models/arclight/requests/aeon_external_request.rb +42 -0
  54. data/app/models/arclight/requests/aeon_web_ead.rb +47 -0
  55. data/app/models/arclight/requests/google_form.rb +2 -2
  56. data/app/models/concerns/arclight/catalog.rb +14 -2
  57. data/app/models/concerns/arclight/search_behavior.rb +27 -12
  58. data/app/models/concerns/arclight/solr_document.rb +29 -7
  59. data/app/views/arclight/_requests.html.erb +7 -0
  60. data/app/views/arclight/repositories/_in_person_repository.html.erb +2 -2
  61. data/app/views/arclight/repositories/_repository.html.erb +2 -2
  62. data/app/views/arclight/repositories/_repository_contact.html.erb +9 -0
  63. data/app/views/arclight/repositories/index.html.erb +3 -0
  64. data/app/views/arclight/repositories/show.html.erb +5 -4
  65. data/app/views/arclight/requests/_aeon_external_request_endpoint.html.erb +9 -0
  66. data/app/views/arclight/requests/_aeon_web_ead.html.erb +7 -0
  67. data/app/views/arclight/requests/_google_form.html.erb +2 -1
  68. data/app/views/arclight/viewers/_oembed.html.erb +2 -1
  69. data/app/views/catalog/_access_contents.html.erb +15 -0
  70. data/app/views/catalog/_arclight_abstract_or_scope.html.erb +5 -0
  71. data/app/views/catalog/_arclight_bookmark_control.html.erb +38 -0
  72. data/app/views/catalog/_arclight_document_header_icon.html.erb +1 -0
  73. data/app/views/catalog/_arclight_index_compact_default.html.erb +18 -11
  74. data/app/views/catalog/_arclight_index_default.html.erb +45 -0
  75. data/app/views/catalog/_arclight_index_group_document_compact_default.html.erb +19 -0
  76. data/app/views/catalog/_arclight_index_group_document_default.html.erb +18 -0
  77. data/app/views/catalog/_arclight_online_content_indicator.html.erb +1 -3
  78. data/app/views/catalog/_collection_contents.html.erb +2 -10
  79. data/app/views/catalog/_collection_context.html.erb +15 -0
  80. data/app/views/catalog/_collection_context_nav.html.erb +12 -0
  81. data/app/views/catalog/_collection_online_contents.html.erb +3 -3
  82. data/app/views/catalog/_component_context.html.erb +5 -0
  83. data/app/views/catalog/_containers.html.erb +3 -0
  84. data/app/views/catalog/_context_card.html.erb +1 -1
  85. data/app/views/catalog/_context_sidebar.html.erb +2 -2
  86. data/app/views/catalog/_custom_metadata.html.erb +1 -1
  87. data/app/views/catalog/_document_downloads.html.erb +14 -0
  88. data/app/views/catalog/_group.html.erb +21 -0
  89. data/app/views/catalog/_group_header_compact_default.html.erb +15 -0
  90. data/app/views/catalog/_group_header_default.html.erb +20 -0
  91. data/app/views/catalog/_group_toggle.html.erb +10 -0
  92. data/app/views/catalog/_home.html.erb +1 -1
  93. data/app/views/catalog/_index_breadcrumb_default.html.erb +5 -2
  94. data/app/views/catalog/_index_collection_context_default.html.erb +53 -0
  95. data/app/views/catalog/_index_default.html.erb +1 -1
  96. data/app/views/catalog/_index_header.html.erb +3 -3
  97. data/app/views/catalog/_index_online_contents_default.html.erb +1 -1
  98. data/app/views/catalog/_online_content_label.html.erb +5 -0
  99. data/app/views/catalog/_search_form.html.erb +34 -0
  100. data/app/views/catalog/_search_results.html.erb +1 -4
  101. data/app/views/catalog/_show_actions_box_default.html.erb +27 -0
  102. data/app/views/catalog/_show_breadcrumbs_default.html.erb +5 -6
  103. data/app/views/catalog/_show_collection.html.erb +42 -24
  104. data/app/views/catalog/_show_default.html.erb +64 -26
  105. data/app/views/catalog/_show_upper_metadata_collection.html.erb +1 -0
  106. data/app/views/catalog/_show_upper_metadata_default.html.erb +14 -0
  107. data/app/views/catalog/_sort_and_per_page.html.erb +8 -0
  108. data/app/views/catalog/_within_collection_dropdown.html.erb +26 -0
  109. data/app/views/shared/_breadcrumbs.html.erb +4 -4
  110. data/app/views/shared/_context_sidebar.html.erb +2 -2
  111. data/app/views/shared/_header_navbar.html.erb +51 -43
  112. data/app/views/shared/_main_menu_links.html.erb +1 -1
  113. data/app/views/shared/_show_breadcrumbs.html.erb +27 -0
  114. data/arclight.gemspec +15 -12
  115. data/config/i18n-tasks.yml +133 -0
  116. data/config/locales/arclight.en.yml +89 -55
  117. data/config/repositories.yml +0 -0
  118. data/lib/arclight/engine.rb +23 -12
  119. data/lib/arclight/hash_absolute_xpath.rb +61 -0
  120. data/lib/arclight/level_label.rb +46 -0
  121. data/lib/arclight/missing_id_strategy.rb +21 -0
  122. data/lib/arclight/normalized_date.rb +21 -12
  123. data/lib/arclight/normalized_id.rb +1 -0
  124. data/lib/arclight/normalized_title.rb +1 -0
  125. data/lib/arclight/repository.rb +61 -25
  126. data/lib/arclight/traject/ead2_config.rb +495 -0
  127. data/lib/arclight/traject/nokogiri_namespaceless_reader.rb +22 -0
  128. data/lib/arclight/version.rb +1 -1
  129. data/lib/arclight/viewers/oembed.rb +1 -0
  130. data/lib/arclight/year_range.rb +9 -1
  131. data/lib/generators/arclight/install_generator.rb +34 -3
  132. data/lib/generators/arclight/templates/catalog_controller.rb +162 -131
  133. data/lib/generators/arclight/templates/config/downloads.yml +12 -0
  134. data/lib/generators/arclight/templates/config/repositories.yml +20 -2
  135. data/lib/generators/arclight/update_generator.rb +1 -1
  136. data/lib/tasks/index.rake +19 -19
  137. data/package.json +8 -1
  138. data/solr/conf/schema.xml +56 -292
  139. data/solr/conf/solrconfig.xml +40 -125
  140. data/tasks/arclight.rake +6 -1
  141. data/template.rb +1 -1
  142. data/vendor/assets/javascripts/responsiveTruncator.js +2 -2
  143. metadata +159 -60
  144. data/app/assets/javascripts/arclight/collection_context.js +0 -18
  145. data/app/assets/javascripts/arclight/component_ancestors.js +0 -56
  146. data/app/assets/stylesheets/arclight/modules/sidebar.scss +0 -21
  147. data/app/views/catalog/_arclight_document_show_header.html.erb +0 -15
  148. data/app/views/catalog/_arclight_document_show_header_collection.html.erb +0 -12
  149. data/app/views/catalog/_collection_count.html.erb +0 -7
  150. data/app/views/catalog/_collection_downloads.html.erb +0 -15
  151. data/app/views/catalog/_collection_overview.html.erb +0 -7
  152. data/app/views/catalog/_component_overview.html.erb +0 -46
  153. data/app/views/catalog/_index_header_hierarchy_default.html.erb +0 -42
  154. data/app/views/catalog/_index_hierarchy_default.html.erb +0 -28
  155. data/app/views/catalog/_results_histogram.html.erb +0 -10
  156. data/app/views/catalog/_search_within_form.html.erb +0 -16
  157. data/app/views/catalog/_show_component_sidebar.html.erb +0 -12
  158. data/app/views/catalog/_show_header.html.erb +0 -5
  159. data/app/views/catalog/_show_sidebar.html.erb +0 -30
  160. data/lib/arclight/custom_component.rb +0 -99
  161. data/lib/arclight/custom_document.rb +0 -93
  162. data/lib/arclight/indexer.rb +0 -9
  163. data/lib/arclight/shared_indexing_behavior.rb +0 -97
  164. data/lib/arclight/shared_terminology_behavior.rb +0 -65
  165. data/lib/arclight/solr_ead_indexer_ext.rb +0 -159
  166. data/lib/generators/arclight/templates/arclight.js +0 -2
@@ -28,7 +28,7 @@
28
28
  that you fully re-index after changing this setting as it can
29
29
  affect both how text is indexed and queried.
30
30
  -->
31
- <luceneMatchVersion>5.0.0</luceneMatchVersion>
31
+ <luceneMatchVersion>8.2.0</luceneMatchVersion>
32
32
 
33
33
  <lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" />
34
34
  <lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" />
@@ -85,12 +85,47 @@
85
85
  -->
86
86
 
87
87
  <str name="qf">
88
+ collection_title_tesim^150
88
89
  title_tesim^100
89
- text^10
90
+ name_tesim^10
91
+ place_tesim^10
92
+ unitid_identifier_match^5
93
+ subject_tesim^2
94
+ text
90
95
  </str>
91
96
  <str name="pf">
97
+ collection_title_tesim^150
92
98
  title_tesim^100
93
- text^10
99
+ name_tesim^10
100
+ place_tesim^10
101
+ unitid_identifier_match^5
102
+ subject_tesim^2
103
+ text
104
+ </str>
105
+
106
+ <str name="qf_name">
107
+ name_tesim
108
+ </str>
109
+ <str name="pf_name">
110
+ name_tesim
111
+ </str>
112
+ <str name="qf_place">
113
+ place_tesim
114
+ </str>
115
+ <str name="pf_place">
116
+ place_tesim
117
+ </str>
118
+ <str name="qf_subject">
119
+ subject_tesim
120
+ </str>
121
+ <str name="pf_subject">
122
+ subject_tesim
123
+ </str>
124
+ <str name="qf_title">
125
+ title_tesim
126
+ </str>
127
+ <str name="pf_title">
128
+ title_tesim
94
129
  </str>
95
130
 
96
131
  <int name="ps">3</int>
@@ -103,6 +138,7 @@
103
138
  accessrestrict_ssm,
104
139
  child_component_count_isim,
105
140
  collection_ssm,
141
+ collection_unitid_ssm,
106
142
  containers_ssim,
107
143
  creator_ssm,
108
144
  extent_ssm,
@@ -116,7 +152,7 @@
116
152
  normalized_title_ssm,
117
153
  normalized_date_ssm,
118
154
  unitid_ssm,
119
- parent_ssm,
155
+ parent_ssim,
120
156
  parent_unittitles_ssm,
121
157
  ead_ssi,
122
158
  ref_ssm,
@@ -150,127 +186,6 @@
150
186
  </arr>
151
187
  </requestHandler>
152
188
 
153
- <!-- Field-based searches -->
154
- <requestHandler name="name_search" class="solr.SearchHandler">
155
- <lst name="defaults">
156
- <str name="defType">edismax</str>
157
- <str name="echoParams">explicit</str>
158
- <int name="rows">10</int>
159
- <str name="q.alt">*:*</str>
160
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
161
- <str name="df">name_tesim</str>
162
- <str name="q.op">AND</str>
163
-
164
- <str name="qf">
165
- name_tesim
166
- </str>
167
- <str name="pf">
168
- name_tesim
169
- </str>
170
-
171
- <str name="fl">*</str>
172
- <str name="facet">true</str>
173
- <str name="facet.mincount">1</str>
174
- <str name="facet.field">level_sim</str>
175
- <str name="facet.field">creator_sim</str>
176
- <str name="facet.field">date_range_sim</str>
177
- <str name="facet.field">names_sim</str>
178
- <str name="facet.field">geogname_sim</str>
179
- <str name="facet.field">access_subjects_sim</str>
180
- <str name="facet.field">repository_sim</str>
181
- </lst>
182
- </requestHandler>
183
-
184
- <requestHandler name="place_search" class="solr.SearchHandler">
185
- <lst name="defaults">
186
- <str name="defType">edismax</str>
187
- <str name="echoParams">explicit</str>
188
- <int name="rows">10</int>
189
- <str name="q.alt">*:*</str>
190
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
191
- <str name="df">place_tesim</str>
192
- <str name="q.op">AND</str>
193
-
194
- <str name="qf">
195
- place_tesim
196
- </str>
197
- <str name="pf">
198
- place_tesim
199
- </str>
200
-
201
- <str name="fl">*</str>
202
- <str name="facet">true</str>
203
- <str name="facet.mincount">1</str>
204
- <str name="facet.field">level_sim</str>
205
- <str name="facet.field">creator_sim</str>
206
- <str name="facet.field">date_range_sim</str>
207
- <str name="facet.field">names_sim</str>
208
- <str name="facet.field">geogname_sim</str>
209
- <str name="facet.field">access_subjects_sim</str>
210
- <str name="facet.field">repository_sim</str>
211
- </lst>
212
- </requestHandler>
213
-
214
- <requestHandler name="subject_search" class="solr.SearchHandler">
215
- <lst name="defaults">
216
- <str name="defType">edismax</str>
217
- <str name="echoParams">explicit</str>
218
- <int name="rows">10</int>
219
- <str name="q.alt">*:*</str>
220
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
221
- <str name="df">subject_tesim</str>
222
- <str name="q.op">AND</str>
223
-
224
- <str name="qf">
225
- subject_tesim
226
- </str>
227
- <str name="pf">
228
- subject_tesim
229
- </str>
230
-
231
- <str name="fl">*</str>
232
- <str name="facet">true</str>
233
- <str name="facet.mincount">1</str>
234
- <str name="facet.field">level_sim</str>
235
- <str name="facet.field">creator_sim</str>
236
- <str name="facet.field">date_range_sim</str>
237
- <str name="facet.field">names_sim</str>
238
- <str name="facet.field">geogname_sim</str>
239
- <str name="facet.field">access_subjects_sim</str>
240
- <str name="facet.field">repository_sim</str>
241
- </lst>
242
- </requestHandler>
243
-
244
- <requestHandler name="title_search" class="solr.SearchHandler">
245
- <lst name="defaults">
246
- <str name="defType">edismax</str>
247
- <str name="echoParams">explicit</str>
248
- <int name="rows">10</int>
249
- <str name="q.alt">*:*</str>
250
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
251
- <str name="df">title_tesim</str>
252
- <str name="q.op">AND</str>
253
-
254
- <str name="qf">
255
- title_tesim
256
- </str>
257
- <str name="pf">
258
- title_tesim
259
- </str>
260
-
261
- <str name="fl">*</str>
262
- <str name="facet">true</str>
263
- <str name="facet.mincount">1</str>
264
- <str name="facet.field">level_sim</str>
265
- <str name="facet.field">creator_sim</str>
266
- <str name="facet.field">date_range_sim</str>
267
- <str name="facet.field">names_sim</str>
268
- <str name="facet.field">geogname_sim</str>
269
- <str name="facet.field">access_subjects_sim</str>
270
- <str name="facet.field">repository_sim</str>
271
- </lst>
272
- </requestHandler>
273
-
274
189
  <!-- for requests to get a single document; use id=666 instead of q=id:666 -->
275
190
  <requestHandler name="document" class="solr.SearchHandler" >
276
191
  <lst name="defaults">
@@ -5,6 +5,8 @@ require 'engine_cart/rake_task'
5
5
  require 'rspec/core/rake_task'
6
6
  require 'arclight'
7
7
 
8
+ class DependencyNotInstalled < StandardError; end
9
+
8
10
  desc 'Run test suite'
9
11
  task ci: %w[arclight:generate] do
10
12
  SolrWrapper.wrap do |solr|
@@ -20,7 +22,9 @@ end
20
22
 
21
23
  desc 'Run Eslint'
22
24
  task :eslint do
23
- system './node_modules/.bin/eslint app/assets/javascripts'
25
+ raise DependencyNotInstalled, 'ESLint not found. Please run yarn install.' unless File.exist?('./node_modules/.bin/eslint')
26
+
27
+ exit 1 unless system './node_modules/.bin/eslint app/assets/javascripts'
24
28
  end
25
29
 
26
30
  namespace :arclight do
@@ -57,6 +61,7 @@ namespace :arclight do
57
61
  end
58
62
  Dir.glob('spec/fixtures/ead/*').each do |dir|
59
63
  next unless File.directory?(dir)
64
+
60
65
  system("REPOSITORY_ID=#{File.basename(dir)} " \
61
66
  'REPOSITORY_FILE=spec/fixtures/config/repositories.yml ' \
62
67
  "DIR=#{dir} " \
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  gem 'arclight', github: 'sul-dlss/arclight'
4
- gem 'blacklight_range_limit', '7.0.0.rc2'
4
+ gem 'blacklight_range_limit', '~> 7.1'
5
5
 
6
6
  run 'bundle install'
7
7
 
@@ -8,7 +8,7 @@
8
8
  **/
9
9
  (function( $ ){
10
10
  $.fn.responsiveTruncate = function(options){
11
- var $this = this;
11
+ var $this = this;
12
12
  $(window).bind("resize", function(){
13
13
  removeTruncation($this);
14
14
  addTruncation($this);
@@ -45,7 +45,7 @@
45
45
  toggle_link.click(function(){
46
46
  var text = toggle_link.text() == settings.more ? settings.less : settings.more;
47
47
  toggle_link.text(text);
48
- if(truncate.height() == truncate_height){
48
+ if(truncate.height() <= truncate_height){
49
49
  truncate.css({height: '100%'})
50
50
  }else{
51
51
  truncate.css({height: truncate_height})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arclight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Hardy
@@ -11,52 +11,58 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2018-07-12 00:00:00.000000000 Z
14
+ date: 2020-07-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - '='
20
+ - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 7.0.0.rc1
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '='
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 7.0.0.rc1
29
+ version: '7.2'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: blacklight_range_limit
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - '='
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: 7.0.0.rc2
36
+ version: '7.1'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - '='
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: 7.0.0.rc2
43
+ version: '7.1'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: rails
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
48
+ - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: '5.0'
50
+ version: 5.2.3
51
+ - - "<"
52
+ - !ruby/object:Gem::Version
53
+ version: '6.1'
51
54
  type: :runtime
52
55
  prerelease: false
53
56
  version_requirements: !ruby/object:Gem::Requirement
54
57
  requirements:
55
- - - "~>"
58
+ - - ">="
56
59
  - !ruby/object:Gem::Version
57
- version: '5.0'
60
+ version: 5.2.3
61
+ - - "<"
62
+ - !ruby/object:Gem::Version
63
+ version: '6.1'
58
64
  - !ruby/object:Gem::Dependency
59
- name: solr_ead
65
+ name: sprockets-bumble_d
60
66
  requirement: !ruby/object:Gem::Requirement
61
67
  requirements:
62
68
  - - ">="
@@ -70,35 +76,49 @@ dependencies:
70
76
  - !ruby/object:Gem::Version
71
77
  version: '0'
72
78
  - !ruby/object:Gem::Dependency
73
- name: bundler
79
+ name: traject
74
80
  requirement: !ruby/object:Gem::Requirement
75
81
  requirements:
76
82
  - - "~>"
77
83
  - !ruby/object:Gem::Version
78
- version: '1.14'
79
- type: :development
84
+ version: '3.0'
85
+ type: :runtime
80
86
  prerelease: false
81
87
  version_requirements: !ruby/object:Gem::Requirement
82
88
  requirements:
83
89
  - - "~>"
84
90
  - !ruby/object:Gem::Version
85
- version: '1.14'
91
+ version: '3.0'
86
92
  - !ruby/object:Gem::Dependency
87
- name: capybara
93
+ name: traject_plus
88
94
  requirement: !ruby/object:Gem::Requirement
89
95
  requirements:
90
- - - ">="
96
+ - - "~>"
91
97
  - !ruby/object:Gem::Version
92
- version: '0'
98
+ version: '1.2'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '1.2'
106
+ - !ruby/object:Gem::Dependency
107
+ name: bundler
108
+ requirement: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">"
111
+ - !ruby/object:Gem::Version
112
+ version: '1.14'
93
113
  type: :development
94
114
  prerelease: false
95
115
  version_requirements: !ruby/object:Gem::Requirement
96
116
  requirements:
97
- - - ">="
117
+ - - ">"
98
118
  - !ruby/object:Gem::Version
99
- version: '0'
119
+ version: '1.14'
100
120
  - !ruby/object:Gem::Dependency
101
- name: coveralls
121
+ name: capybara
102
122
  requirement: !ruby/object:Gem::Requirement
103
123
  requirements:
104
124
  - - ">="
@@ -126,7 +146,7 @@ dependencies:
126
146
  - !ruby/object:Gem::Version
127
147
  version: '0'
128
148
  - !ruby/object:Gem::Dependency
129
- name: poltergeist
149
+ name: i18n-tasks
130
150
  requirement: !ruby/object:Gem::Requirement
131
151
  requirements:
132
152
  - - ">="
@@ -153,48 +173,76 @@ dependencies:
153
173
  - - "~>"
154
174
  - !ruby/object:Gem::Version
155
175
  version: '12.0'
176
+ - !ruby/object:Gem::Dependency
177
+ name: rspec-rails
178
+ requirement: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
156
190
  - !ruby/object:Gem::Dependency
157
191
  name: rubocop
158
192
  requirement: !ruby/object:Gem::Requirement
159
193
  requirements:
160
194
  - - "~>"
161
195
  - !ruby/object:Gem::Version
162
- version: 0.48.1
196
+ version: 0.74.0
163
197
  type: :development
164
198
  prerelease: false
165
199
  version_requirements: !ruby/object:Gem::Requirement
166
200
  requirements:
167
201
  - - "~>"
168
202
  - !ruby/object:Gem::Version
169
- version: 0.48.1
203
+ version: 0.74.0
170
204
  - !ruby/object:Gem::Dependency
171
205
  name: rubocop-rspec
172
206
  requirement: !ruby/object:Gem::Requirement
173
207
  requirements:
174
208
  - - "~>"
175
209
  - !ruby/object:Gem::Version
176
- version: 1.15.0
210
+ version: '1.35'
177
211
  type: :development
178
212
  prerelease: false
179
213
  version_requirements: !ruby/object:Gem::Requirement
180
214
  requirements:
181
215
  - - "~>"
182
216
  - !ruby/object:Gem::Version
183
- version: 1.15.0
217
+ version: '1.35'
184
218
  - !ruby/object:Gem::Dependency
185
- name: rspec-rails
219
+ name: selenium-webdriver
186
220
  requirement: !ruby/object:Gem::Requirement
187
221
  requirements:
188
- - - "~>"
222
+ - - ">="
189
223
  - !ruby/object:Gem::Version
190
- version: '3.0'
224
+ version: '0'
191
225
  type: :development
192
226
  prerelease: false
193
227
  version_requirements: !ruby/object:Gem::Requirement
194
228
  requirements:
195
- - - "~>"
229
+ - - ">="
196
230
  - !ruby/object:Gem::Version
197
- version: '3.0'
231
+ version: '0'
232
+ - !ruby/object:Gem::Dependency
233
+ name: simplecov
234
+ requirement: !ruby/object:Gem::Requirement
235
+ requirements:
236
+ - - ">="
237
+ - !ruby/object:Gem::Version
238
+ version: '0'
239
+ type: :development
240
+ prerelease: false
241
+ version_requirements: !ruby/object:Gem::Requirement
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ version: '0'
198
246
  - !ruby/object:Gem::Dependency
199
247
  name: solr_wrapper
200
248
  requirement: !ruby/object:Gem::Requirement
@@ -209,6 +257,20 @@ dependencies:
209
257
  - - ">="
210
258
  - !ruby/object:Gem::Version
211
259
  version: '0'
260
+ - !ruby/object:Gem::Dependency
261
+ name: webdrivers
262
+ requirement: !ruby/object:Gem::Requirement
263
+ requirements:
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ version: '0'
267
+ type: :development
268
+ prerelease: false
269
+ version_requirements: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - ">="
272
+ - !ruby/object:Gem::Version
273
+ version: '0'
212
274
  description: ''
213
275
  email:
214
276
  - drh@stanford.edu
@@ -219,45 +281,67 @@ executables: []
219
281
  extensions: []
220
282
  extra_rdoc_files: []
221
283
  files:
284
+ - ".all-contributorsrc"
285
+ - ".babelrc"
286
+ - ".codeclimate.yml"
222
287
  - ".eslintrc"
223
288
  - ".gitignore"
224
289
  - ".rspec"
225
290
  - ".rubocop.yml"
291
+ - ".rubocop_todo.yml"
226
292
  - ".solr_wrapper"
227
293
  - ".travis.yml"
228
294
  - CONTRIBUTING.md
295
+ - CONTRIBUTORS.md
229
296
  - Gemfile
230
297
  - LICENSE.txt
231
298
  - README.md
232
299
  - Rakefile
300
+ - app/assets/images/blacklight/bookmark.svg
301
+ - app/assets/images/blacklight/collection.svg
233
302
  - app/assets/images/blacklight/compact.svg
303
+ - app/assets/images/blacklight/container.svg
304
+ - app/assets/images/blacklight/ead.svg
305
+ - app/assets/images/blacklight/file.svg
306
+ - app/assets/images/blacklight/folder.svg
307
+ - app/assets/images/blacklight/list.svg
234
308
  - app/assets/images/blacklight/logo.png
309
+ - app/assets/images/blacklight/minus.svg
310
+ - app/assets/images/blacklight/online.svg
311
+ - app/assets/images/blacklight/pdf.svg
312
+ - app/assets/images/blacklight/plus.svg
313
+ - app/assets/images/blacklight/repository.svg
235
314
  - app/assets/javascripts/arclight/arclight.js
236
- - app/assets/javascripts/arclight/collection_context.js
237
315
  - app/assets/javascripts/arclight/collection_navigation.js
238
316
  - app/assets/javascripts/arclight/collection_scrollspy.js
239
- - app/assets/javascripts/arclight/component_ancestors.js
317
+ - app/assets/javascripts/arclight/context_navigation.js
240
318
  - app/assets/javascripts/arclight/oembed_viewer.js
241
319
  - app/assets/javascripts/arclight/truncator.js.erb
242
320
  - app/assets/stylesheets/arclight/application.scss
243
321
  - app/assets/stylesheets/arclight/bootstrap_overrides.scss
244
322
  - app/assets/stylesheets/arclight/modules/collection_search.scss
323
+ - app/assets/stylesheets/arclight/modules/context_navigation.scss
245
324
  - app/assets/stylesheets/arclight/modules/hierarchy_and_online_contents.scss
246
325
  - app/assets/stylesheets/arclight/modules/highlights.scss
326
+ - app/assets/stylesheets/arclight/modules/icons.scss
247
327
  - app/assets/stylesheets/arclight/modules/layout.scss
248
328
  - app/assets/stylesheets/arclight/modules/mastheads.scss
249
329
  - app/assets/stylesheets/arclight/modules/repositories.scss
250
330
  - app/assets/stylesheets/arclight/modules/repository_card.scss
251
331
  - app/assets/stylesheets/arclight/modules/search_results.scss
252
332
  - app/assets/stylesheets/arclight/modules/show_collection.scss
253
- - app/assets/stylesheets/arclight/modules/sidebar.scss
333
+ - app/assets/stylesheets/arclight/responsive.scss
254
334
  - app/assets/stylesheets/arclight/variables.scss
255
335
  - app/controllers/arclight/repositories_controller.rb
336
+ - app/controllers/concerns/arclight/ead_format_helpers.rb
256
337
  - app/controllers/concerns/arclight/field_config_helpers.rb
257
338
  - app/factories/blacklight_field_configuration_factory.rb
258
339
  - app/helpers/arclight_helper.rb
340
+ - app/models/arclight/document_downloads.rb
259
341
  - app/models/arclight/parent.rb
260
342
  - app/models/arclight/parents.rb
343
+ - app/models/arclight/requests/aeon_external_request.rb
344
+ - app/models/arclight/requests/aeon_web_ead.rb
261
345
  - app/models/arclight/requests/google_form.rb
262
346
  - app/models/concerns/arclight/catalog.rb
263
347
  - app/models/concerns/arclight/search_behavior.rb
@@ -265,80 +349,96 @@ files:
265
349
  - app/presenters/arclight/index_presenter.rb
266
350
  - app/presenters/arclight/show_presenter.rb
267
351
  - app/views/arclight/.keep
352
+ - app/views/arclight/_requests.html.erb
268
353
  - app/views/arclight/repositories/_in_person_repository.html.erb
269
354
  - app/views/arclight/repositories/_repository.html.erb
355
+ - app/views/arclight/repositories/_repository_contact.html.erb
270
356
  - app/views/arclight/repositories/index.html.erb
271
357
  - app/views/arclight/repositories/show.html.erb
358
+ - app/views/arclight/requests/_aeon_external_request_endpoint.html.erb
359
+ - app/views/arclight/requests/_aeon_web_ead.html.erb
272
360
  - app/views/arclight/requests/_google_form.html.erb
273
361
  - app/views/arclight/viewers/_oembed.html.erb
362
+ - app/views/catalog/_access_contents.html.erb
363
+ - app/views/catalog/_arclight_abstract_or_scope.html.erb
364
+ - app/views/catalog/_arclight_bookmark_control.html.erb
365
+ - app/views/catalog/_arclight_document_header_icon.html.erb
274
366
  - app/views/catalog/_arclight_document_index_header.html.erb
275
367
  - app/views/catalog/_arclight_document_index_header_hierarchy_default.html.erb
276
368
  - app/views/catalog/_arclight_document_index_header_online_contents_default.html.erb
277
- - app/views/catalog/_arclight_document_show_header.html.erb
278
- - app/views/catalog/_arclight_document_show_header_collection.html.erb
279
369
  - app/views/catalog/_arclight_index_compact_default.html.erb
370
+ - app/views/catalog/_arclight_index_default.html.erb
371
+ - app/views/catalog/_arclight_index_group_document_compact_default.html.erb
372
+ - app/views/catalog/_arclight_index_group_document_default.html.erb
280
373
  - app/views/catalog/_arclight_online_content_indicator.html.erb
281
374
  - app/views/catalog/_arclight_rangelimit.html.erb
282
375
  - app/views/catalog/_arclight_viewer_default.html.erb
283
376
  - app/views/catalog/_collection_contents.html.erb
284
- - app/views/catalog/_collection_count.html.erb
285
- - app/views/catalog/_collection_downloads.html.erb
377
+ - app/views/catalog/_collection_context.html.erb
378
+ - app/views/catalog/_collection_context_nav.html.erb
286
379
  - app/views/catalog/_collection_online_contents.html.erb
287
- - app/views/catalog/_collection_overview.html.erb
288
- - app/views/catalog/_component_overview.html.erb
380
+ - app/views/catalog/_component_context.html.erb
381
+ - app/views/catalog/_containers.html.erb
289
382
  - app/views/catalog/_context_card.html.erb
290
383
  - app/views/catalog/_context_sidebar.html.erb
291
384
  - app/views/catalog/_custom_metadata.html.erb
385
+ - app/views/catalog/_document_downloads.html.erb
386
+ - app/views/catalog/_group.html.erb
387
+ - app/views/catalog/_group_header_compact_default.html.erb
388
+ - app/views/catalog/_group_header_default.html.erb
389
+ - app/views/catalog/_group_toggle.html.erb
292
390
  - app/views/catalog/_home.html.erb
293
391
  - app/views/catalog/_index_breadcrumb_default.html.erb
392
+ - app/views/catalog/_index_collection_context_default.html.erb
294
393
  - app/views/catalog/_index_default.html.erb
295
394
  - app/views/catalog/_index_header.html.erb
296
- - app/views/catalog/_index_header_hierarchy_default.html.erb
297
395
  - app/views/catalog/_index_header_online_contents_default.html.erb
298
- - app/views/catalog/_index_hierarchy_default.html.erb
299
396
  - app/views/catalog/_index_online_contents_default.html.erb
300
- - app/views/catalog/_results_histogram.html.erb
397
+ - app/views/catalog/_online_content_label.html.erb
398
+ - app/views/catalog/_search_form.html.erb
301
399
  - app/views/catalog/_search_results.html.erb
302
400
  - app/views/catalog/_search_results_repository.html.erb
303
- - app/views/catalog/_search_within_form.html.erb
401
+ - app/views/catalog/_show_actions_box_default.html.erb
304
402
  - app/views/catalog/_show_breadcrumbs_default.html.erb
305
403
  - app/views/catalog/_show_collection.html.erb
306
- - app/views/catalog/_show_component_sidebar.html.erb
307
404
  - app/views/catalog/_show_default.html.erb
308
- - app/views/catalog/_show_header.html.erb
309
- - app/views/catalog/_show_sidebar.html.erb
405
+ - app/views/catalog/_show_upper_metadata_collection.html.erb
406
+ - app/views/catalog/_show_upper_metadata_default.html.erb
407
+ - app/views/catalog/_sort_and_per_page.html.erb
408
+ - app/views/catalog/_within_collection_dropdown.html.erb
310
409
  - app/views/catalog/index.html.erb
311
410
  - app/views/layouts/catalog_result.html.erb
312
411
  - app/views/shared/_breadcrumbs.html.erb
313
412
  - app/views/shared/_context_sidebar.html.erb
314
413
  - app/views/shared/_header_navbar.html.erb
315
414
  - app/views/shared/_main_menu_links.html.erb
415
+ - app/views/shared/_show_breadcrumbs.html.erb
316
416
  - arclight.gemspec
317
417
  - bin/console
318
418
  - bin/rails
319
419
  - bin/setup
420
+ - config/i18n-tasks.yml
320
421
  - config/locales/arclight.en.yml
422
+ - config/repositories.yml
321
423
  - config/routes.rb
322
424
  - lib/arclight.rb
323
- - lib/arclight/custom_component.rb
324
- - lib/arclight/custom_document.rb
325
425
  - lib/arclight/digital_object.rb
326
426
  - lib/arclight/engine.rb
327
427
  - lib/arclight/exceptions.rb
328
- - lib/arclight/indexer.rb
428
+ - lib/arclight/hash_absolute_xpath.rb
429
+ - lib/arclight/level_label.rb
430
+ - lib/arclight/missing_id_strategy.rb
329
431
  - lib/arclight/normalized_date.rb
330
432
  - lib/arclight/normalized_id.rb
331
433
  - lib/arclight/normalized_title.rb
332
434
  - lib/arclight/repository.rb
333
- - lib/arclight/shared_indexing_behavior.rb
334
- - lib/arclight/shared_terminology_behavior.rb
335
- - lib/arclight/solr_ead_indexer_ext.rb
435
+ - lib/arclight/traject/ead2_config.rb
436
+ - lib/arclight/traject/nokogiri_namespaceless_reader.rb
336
437
  - lib/arclight/version.rb
337
438
  - lib/arclight/viewer.rb
338
439
  - lib/arclight/viewers/oembed.rb
339
440
  - lib/arclight/year_range.rb
340
441
  - lib/generators/arclight/install_generator.rb
341
- - lib/generators/arclight/templates/arclight.js
342
442
  - lib/generators/arclight/templates/arclight.scss
343
443
  - lib/generators/arclight/templates/catalog_controller.rb
344
444
  - lib/generators/arclight/templates/config/downloads.yml
@@ -385,8 +485,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
385
485
  - !ruby/object:Gem::Version
386
486
  version: '0'
387
487
  requirements: []
388
- rubyforge_project:
389
- rubygems_version: 2.6.11
488
+ rubygems_version: 3.1.2
390
489
  signing_key:
391
490
  specification_version: 4
392
491
  summary: ''