hyrax 3.0.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +46 -13
  3. data/.dassie/Gemfile +11 -6
  4. data/.dassie/app/controllers/catalog_controller.rb +6 -0
  5. data/.dassie/config/initializers/hyrax.rb +5 -0
  6. data/.dassie/config/initializers/riiif.rb +22 -20
  7. data/.dassie/config/role_map.yml +2 -0
  8. data/.dassie/db/seeds.rb +1 -1
  9. data/.dassie/package.json +3 -5
  10. data/.dockerignore +3 -0
  11. data/.env +1 -2
  12. data/.rubocop.yml +4 -0
  13. data/CONTAINERS.md +21 -1
  14. data/Dockerfile +42 -17
  15. data/Gemfile +21 -27
  16. data/app/actors/hyrax/actors/base_actor.rb +2 -2
  17. data/app/actors/hyrax/actors/collections_membership_actor.rb +3 -3
  18. data/app/actors/hyrax/actors/create_with_remote_files_actor.rb +85 -63
  19. data/app/actors/hyrax/actors/create_with_remote_files_ordered_members_actor.rb +7 -42
  20. data/app/actors/hyrax/actors/file_set_actor.rb +12 -5
  21. data/app/assets/stylesheets/hyrax/_styles.scss +5 -0
  22. data/app/controllers/concerns/hyrax/collections_controller_behavior.rb +30 -10
  23. data/app/controllers/concerns/hyrax/controller.rb +13 -2
  24. data/app/controllers/concerns/hyrax/embargoes_controller_behavior.rb +21 -9
  25. data/app/controllers/concerns/hyrax/leases_controller_behavior.rb +14 -5
  26. data/app/controllers/concerns/hyrax/works_controller_behavior.rb +22 -3
  27. data/app/controllers/hyrax/admin/admin_sets_controller.rb +2 -19
  28. data/app/controllers/hyrax/admin/permission_template_accesses_controller.rb +5 -6
  29. data/app/controllers/hyrax/admin/workflows_controller.rb +8 -2
  30. data/app/controllers/hyrax/collections_controller.rb +3 -1
  31. data/app/controllers/hyrax/dashboard/collection_members_controller.rb +24 -17
  32. data/app/controllers/hyrax/dashboard/collections_controller.rb +99 -35
  33. data/app/controllers/hyrax/dashboard/nest_collections_controller.rb +75 -39
  34. data/app/controllers/hyrax/file_sets_controller.rb +49 -13
  35. data/app/controllers/hyrax/my_controller.rb +4 -4
  36. data/app/controllers/hyrax/permissions_controller.rb +3 -4
  37. data/app/controllers/hyrax/workflow_actions_controller.rb +11 -6
  38. data/app/forms/hyrax/forms/administrative_set_form.rb +62 -0
  39. data/app/forms/hyrax/forms/collection_form.rb +14 -8
  40. data/app/forms/hyrax/forms/dashboard/nest_collection_form.rb +38 -6
  41. data/app/forms/hyrax/forms/file_set_form.rb +46 -0
  42. data/app/forms/hyrax/forms/pcdm_collection_form.rb +64 -0
  43. data/app/forms/hyrax/forms/permission.rb +23 -0
  44. data/app/forms/hyrax/forms/permission_template_form.rb +8 -2
  45. data/app/forms/hyrax/forms/resource_form.rb +34 -26
  46. data/app/forms/hyrax/forms/work_form.rb +5 -2
  47. data/app/forms/hyrax/forms/workflow_action_form.rb +4 -0
  48. data/app/helpers/hyrax/batch_edits_helper.rb +3 -1
  49. data/app/helpers/hyrax/collections_helper.rb +88 -2
  50. data/app/helpers/hyrax/dashboard_helper_behavior.rb +16 -5
  51. data/app/helpers/hyrax/embargo_helper.rb +4 -0
  52. data/app/helpers/hyrax/file_set_helper.rb +25 -6
  53. data/app/helpers/hyrax/hyrax_helper_behavior.rb +9 -0
  54. data/app/helpers/hyrax/lease_helper.rb +4 -0
  55. data/app/helpers/hyrax/url_helper.rb +4 -1
  56. data/app/helpers/hyrax/work_form_helper.rb +53 -0
  57. data/app/indexers/hyrax/administrative_set_indexer.rb +18 -0
  58. data/app/indexers/hyrax/pcdm_collection_indexer.rb +2 -0
  59. data/app/indexers/hyrax/valkyrie_file_set_indexer.rb +2 -0
  60. data/app/indexers/hyrax/valkyrie_indexer.rb +4 -3
  61. data/app/indexers/hyrax/valkyrie_work_indexer.rb +1 -1
  62. data/app/inputs/controlled_vocabulary_input.rb +2 -5
  63. data/app/jobs/attach_files_to_work_job.rb +19 -10
  64. data/app/jobs/attach_files_to_work_with_ordered_members_job.rb +6 -5
  65. data/app/jobs/ingest_local_file_job.rb +18 -2
  66. data/app/jobs/inherit_permissions_job.rb +9 -5
  67. data/app/models/admin_set.rb +22 -30
  68. data/app/models/collection_branding_info.rb +25 -9
  69. data/app/models/concerns/hyrax/ability/admin_set_ability.rb +31 -7
  70. data/app/models/concerns/hyrax/ability/collection_ability.rb +35 -20
  71. data/app/models/concerns/hyrax/ability/collection_type_ability.rb +1 -1
  72. data/app/models/concerns/hyrax/ability.rb +5 -3
  73. data/app/models/concerns/hyrax/collection_behavior.rb +17 -44
  74. data/app/models/concerns/hyrax/embargoable.rb +24 -0
  75. data/app/models/concerns/hyrax/file_set/characterization.rb +18 -12
  76. data/app/models/concerns/hyrax/solr_document_behavior.rb +11 -54
  77. data/app/models/concerns/hyrax/suppressible.rb +5 -0
  78. data/app/models/concerns/hyrax/user.rb +9 -3
  79. data/app/models/concerns/hyrax/work_behavior.rb +1 -1
  80. data/app/models/hyrax/administrative_set.rb +7 -1
  81. data/app/models/hyrax/file_set.rb +6 -0
  82. data/app/models/hyrax/pcdm_collection.rb +1 -0
  83. data/app/models/hyrax/permission.rb +1 -1
  84. data/app/models/hyrax/permission_template.rb +112 -12
  85. data/app/models/hyrax/virus_scanner.rb +27 -18
  86. data/app/models/hyrax/work.rb +1 -0
  87. data/app/models/hyrax/workflow_action_info.rb +16 -0
  88. data/app/models/sipity/agent.rb +1 -0
  89. data/app/models/sipity/comment.rb +17 -0
  90. data/app/models/sipity/entity.rb +30 -8
  91. data/app/models/sipity/workflow.rb +1 -0
  92. data/app/models/sipity.rb +53 -2
  93. data/app/presenters/hyrax/admin_set_options_presenter.rb +12 -8
  94. data/app/presenters/hyrax/admin_set_presenter.rb +13 -4
  95. data/app/presenters/hyrax/admin_set_selection_presenter.rb +116 -0
  96. data/app/presenters/hyrax/collection_presenter.rb +44 -23
  97. data/app/presenters/hyrax/file_set_presenter.rb +6 -1
  98. data/app/presenters/hyrax/file_usage.rb +3 -2
  99. data/app/presenters/hyrax/pcdm_member_presenter_factory.rb +119 -0
  100. data/app/presenters/hyrax/stats_usage_presenter.rb +2 -1
  101. data/app/presenters/hyrax/trophy_presenter.rb +33 -4
  102. data/app/presenters/hyrax/user_profile_presenter.rb +11 -1
  103. data/app/presenters/hyrax/version_list_presenter.rb +19 -0
  104. data/app/presenters/hyrax/version_presenter.rb +3 -2
  105. data/app/presenters/hyrax/work_show_presenter.rb +32 -6
  106. data/app/presenters/hyrax/work_usage.rb +5 -3
  107. data/app/renderers/hyrax/renderers/attribute_renderer.rb +10 -2
  108. data/app/search_builders/hyrax/abstract_type_relation.rb +4 -2
  109. data/app/search_builders/hyrax/admin_set_search_builder.rb +1 -1
  110. data/app/search_builders/hyrax/collection_member_search_builder.rb +6 -1
  111. data/app/search_builders/hyrax/dashboard/collections_search_builder.rb +1 -1
  112. data/app/search_builders/hyrax/exposed_models_relation.rb +1 -1
  113. data/app/search_builders/hyrax/filter_by_type.rb +1 -2
  114. data/app/search_builders/hyrax/my/collections_search_builder.rb +2 -2
  115. data/app/search_builders/hyrax/nested_collections_parent_search_builder.rb +1 -1
  116. data/app/search_builders/hyrax/single_collection_search_builder.rb +1 -1
  117. data/app/services/hyrax/admin_set_create_service.rb +136 -52
  118. data/app/services/hyrax/collection_types/permissions_service.rb +1 -1
  119. data/app/services/hyrax/collections/collection_member_search_service.rb +72 -0
  120. data/app/services/hyrax/collections/collection_member_service.rb +122 -27
  121. data/app/services/hyrax/collections/migration_service.rb +4 -2
  122. data/app/services/hyrax/collections/nested_collection_persistence_service.rb +12 -13
  123. data/app/services/hyrax/collections/nested_collection_query_service.rb +2 -0
  124. data/app/services/hyrax/collections/permissions_create_service.rb +82 -78
  125. data/app/services/hyrax/collections/permissions_service.rb +1 -1
  126. data/app/services/hyrax/contextual_path.rb +24 -1
  127. data/app/services/hyrax/curation_concern.rb +24 -2
  128. data/app/services/hyrax/custom_queries/find_file_metadata.rb +7 -5
  129. data/app/services/hyrax/custom_queries/navigators/parent_collections_navigator.rb +46 -0
  130. data/app/services/hyrax/default_middleware_stack.rb +11 -0
  131. data/app/services/hyrax/edit_permissions_service.rb +74 -41
  132. data/app/services/hyrax/ensure_well_formed_admin_set_service.rb +3 -3
  133. data/app/services/hyrax/find_objects_via_solr_service.rb +31 -0
  134. data/app/services/hyrax/listeners/active_fedora_acl_index_listener.rb +1 -0
  135. data/app/services/hyrax/listeners/member_cleanup_listener.rb +26 -0
  136. data/app/services/hyrax/listeners/metadata_index_listener.rb +25 -9
  137. data/app/services/hyrax/listeners/object_lifecycle_listener.rb +1 -1
  138. data/app/services/hyrax/listeners/trophy_cleanup_listener.rb +17 -0
  139. data/app/services/hyrax/listeners.rb +2 -0
  140. data/app/services/hyrax/multiple_membership_checker.rb +53 -29
  141. data/app/services/hyrax/permission_manager.rb +4 -4
  142. data/app/services/hyrax/persist_derivatives.rb +3 -1
  143. data/app/services/hyrax/resource_status.rb +7 -0
  144. data/app/services/hyrax/search_service.rb +4 -2
  145. data/app/services/hyrax/solr_query_builder_service.rb +45 -8
  146. data/app/services/hyrax/solr_query_service.rb +224 -0
  147. data/app/services/hyrax/solr_service.rb +9 -2
  148. data/app/services/hyrax/statistics/collections/over_time.rb +2 -1
  149. data/app/services/hyrax/statistics/depositors/summary.rb +2 -1
  150. data/app/services/hyrax/thumbnail_path_service.rb +1 -1
  151. data/app/services/hyrax/visibility_intention.rb +20 -2
  152. data/app/services/hyrax/visibility_propagator.rb +30 -1
  153. data/app/services/hyrax/work_uploads_handler.rb +17 -2
  154. data/app/services/hyrax/workflow/abstract_notification.rb +2 -2
  155. data/app/services/hyrax/workflow/action_taken_service.rb +16 -4
  156. data/app/services/hyrax/workflow/actionable_objects.rb +70 -0
  157. data/app/services/hyrax/workflow/activate_object.rb +5 -4
  158. data/app/services/hyrax/workflow/changes_required_notification.rb +5 -4
  159. data/app/services/hyrax/workflow/deactivate_object.rb +7 -5
  160. data/app/services/hyrax/workflow/deposited_notification.rb +8 -4
  161. data/app/services/hyrax/workflow/grant_edit_to_depositor.rb +7 -3
  162. data/app/services/hyrax/workflow/grant_read_to_depositor.rb +10 -3
  163. data/app/services/hyrax/workflow/object_in_workflow_decorator.rb +31 -0
  164. data/app/services/hyrax/workflow/revoke_edit_from_depositor.rb +8 -2
  165. data/app/services/hyrax/workflow/status_list_service.rb +43 -13
  166. data/app/services/hyrax/workflow/workflow_action_service.rb +4 -1
  167. data/app/views/hyrax/admin/admin_sets/_form.html.erb +1 -1
  168. data/app/views/hyrax/base/_form_child_work_relationships.html.erb +1 -1
  169. data/app/views/hyrax/base/_form_relationships.html.erb +1 -2
  170. data/app/views/hyrax/base/_form_rendering.html.erb +1 -1
  171. data/app/views/hyrax/base/_form_representative.html.erb +1 -1
  172. data/app/views/hyrax/base/_form_thumbnail.html.erb +1 -1
  173. data/app/views/hyrax/base/_form_visibility_error.html.erb +2 -0
  174. data/app/views/hyrax/base/_guts4form.html.erb +3 -3
  175. data/app/views/hyrax/base/_representative_media.html.erb +1 -1
  176. data/app/views/hyrax/base/_show_actions.html.erb +2 -2
  177. data/app/views/hyrax/base/_work_button_row.html.erb +1 -1
  178. data/app/views/hyrax/batch_uploads/_form.html.erb +1 -1
  179. data/app/views/hyrax/collections/show.html.erb +1 -1
  180. data/app/views/hyrax/dashboard/collections/_collection_title.html.erb +1 -1
  181. data/app/views/hyrax/dashboard/collections/_form.html.erb +4 -4
  182. data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +1 -1
  183. data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +1 -1
  184. data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +1 -1
  185. data/app/views/hyrax/dashboard/collections/edit.html.erb +4 -2
  186. data/app/views/hyrax/dashboard/collections/new.html.erb +4 -2
  187. data/app/views/hyrax/dashboard/collections/show.html.erb +1 -1
  188. data/app/views/hyrax/file_sets/_actions.html.erb +10 -0
  189. data/app/views/hyrax/file_sets/edit.html.erb +1 -1
  190. data/app/views/hyrax/file_sets/media_display/_audio.html.erb +1 -1
  191. data/app/views/hyrax/file_sets/media_display/_default.html.erb +1 -1
  192. data/app/views/hyrax/file_sets/media_display/_image.html.erb +1 -1
  193. data/app/views/hyrax/file_sets/media_display/_office_document.html.erb +1 -1
  194. data/app/views/hyrax/file_sets/media_display/_pdf.html.erb +1 -1
  195. data/app/views/hyrax/file_sets/media_display/_video.html.erb +1 -1
  196. data/app/views/hyrax/file_sets/show.html.erb +1 -1
  197. data/app/views/hyrax/homepage/index.html.erb +1 -1
  198. data/app/views/hyrax/my/_admin_set_action_menu.html.erb +0 -11
  199. data/app/views/hyrax/my/_collection_action_menu.html.erb +1 -2
  200. data/app/views/hyrax/my/collections/_list_collections.html.erb +1 -1
  201. data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +3 -5
  202. data/app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb +1 -1
  203. data/app/views/layouts/hyrax/dashboard.html.erb +1 -0
  204. data/app/views/layouts/hyrax.html.erb +1 -0
  205. data/app/views/shared/_read_only.html.erb +5 -0
  206. data/bin/db-migrate-seed.sh +3 -1
  207. data/bin/hyrax-entrypoint.sh +0 -14
  208. data/bin/solrcloud-assign-configset.sh +11 -3
  209. data/bin/solrcloud-upload-configset.sh +17 -6
  210. data/chart/hyrax/Chart.yaml +9 -5
  211. data/chart/hyrax/README.md +52 -5
  212. data/chart/hyrax/templates/_helpers.tpl +23 -1
  213. data/chart/hyrax/templates/branding-pvc.yaml +14 -0
  214. data/chart/hyrax/templates/configmap-env.yaml +14 -3
  215. data/chart/hyrax/templates/deployment-worker.yaml +129 -0
  216. data/chart/hyrax/templates/deployment.yaml +95 -0
  217. data/chart/hyrax/templates/derivatives-pvc.yaml +14 -0
  218. data/chart/hyrax/templates/ingress.yaml +13 -4
  219. data/chart/hyrax/templates/secrets.yaml +9 -0
  220. data/chart/hyrax/templates/uploads-pvc.yaml +14 -0
  221. data/chart/hyrax/values.yaml +114 -1
  222. data/config/brakeman.ignore +2 -2
  223. data/config/features.rb +50 -43
  224. data/config/initializers/1_healthz.rb +1 -0
  225. data/config/initializers/listeners.rb +4 -1
  226. data/config/initializers/valkryrie_storage.rb +7 -0
  227. data/config/locales/hyrax.de.yml +1 -1
  228. data/config/locales/hyrax.en.yml +2 -1
  229. data/config/locales/hyrax.es.yml +1 -1
  230. data/config/locales/hyrax.fr.yml +1 -1
  231. data/config/locales/hyrax.it.yml +1 -1
  232. data/config/locales/hyrax.pt-BR.yml +1 -1
  233. data/config/locales/hyrax.zh.yml +1 -1
  234. data/db/seeds.rb +1 -1
  235. data/docker-compose.yml +39 -8
  236. data/documentation/developing-your-hyrax-based-app.md +3 -3
  237. data/documentation/legacyREADME.md +3 -3
  238. data/hyrax.gemspec +1 -1
  239. data/lib/generators/hyrax/templates/catalog_controller.rb +3 -1
  240. data/lib/generators/hyrax/templates/config/initializers/hyrax.rb +15 -0
  241. data/lib/generators/hyrax/templates/config/initializers/riiif.rb +22 -20
  242. data/lib/generators/hyrax/work/templates/feature_spec.rb.erb +1 -1
  243. data/lib/generators/hyrax/work_resource/templates/indexer_spec.rb.erb +1 -0
  244. data/lib/hyrax/active_fedora_dummy_model.rb +62 -0
  245. data/lib/hyrax/collection_name.rb +6 -2
  246. data/lib/hyrax/configuration.rb +56 -0
  247. data/lib/hyrax/engine.rb +3 -1
  248. data/lib/hyrax/errors.rb +2 -0
  249. data/lib/hyrax/form_fields.rb +1 -0
  250. data/lib/hyrax/publisher.rb +12 -0
  251. data/lib/hyrax/resource_name.rb +1 -0
  252. data/lib/hyrax/resource_sync/change_list_writer.rb +2 -2
  253. data/lib/hyrax/resource_sync/resource_list_writer.rb +2 -2
  254. data/lib/hyrax/specs/capybara.rb +5 -3
  255. data/lib/hyrax/specs/shared_specs/hydra_works.rb +2 -0
  256. data/lib/hyrax/specs/shared_specs/indexers.rb +6 -0
  257. data/lib/hyrax/specs/shared_specs/valkyrie_storage_versions.rb +9 -0
  258. data/lib/hyrax/transactions/collection_create.rb +25 -0
  259. data/lib/hyrax/transactions/collection_update.rb +20 -0
  260. data/lib/hyrax/transactions/container.rb +47 -0
  261. data/lib/hyrax/transactions/file_set_destroy.rb +21 -0
  262. data/lib/hyrax/transactions/steps/add_file_sets.rb +3 -2
  263. data/lib/hyrax/transactions/steps/add_to_collections.rb +13 -1
  264. data/lib/hyrax/transactions/steps/add_to_parent.rb +36 -0
  265. data/lib/hyrax/transactions/steps/apply_collection_type_permissions.rb +29 -0
  266. data/lib/hyrax/transactions/steps/remove_file_set_from_work.rb +47 -0
  267. data/lib/hyrax/transactions/steps/save.rb +18 -6
  268. data/lib/hyrax/transactions/steps/set_collection_type_gid.rb +35 -0
  269. data/lib/hyrax/transactions/work_create.rb +2 -1
  270. data/lib/hyrax/valkyrie_can_can_adapter.rb +3 -0
  271. data/lib/hyrax/valkyrie_simple_path_generator.rb +20 -0
  272. data/lib/hyrax/version.rb +1 -1
  273. data/lib/hyrax.rb +9 -0
  274. data/lib/tasks/collection_type_global_id.rake +1 -1
  275. data/lib/tasks/default_admin_set.rake +12 -11
  276. data/lib/tasks/regenerate_derivatives.rake +12 -0
  277. data/lib/wings/active_fedora_converter/default_work.rb +15 -0
  278. data/lib/wings/converter_value_mapper.rb +2 -2
  279. data/lib/wings/model_transformer.rb +17 -1
  280. data/lib/wings/orm_converter.rb +18 -2
  281. data/lib/wings/setup.rb +2 -0
  282. data/lib/wings/valkyrie/persister.rb +7 -5
  283. data/lib/wings/valkyrie/query_service.rb +60 -17
  284. data/lib/wings/valkyrie/storage.rb +56 -1
  285. data/lib/wings.rb +0 -21
  286. data/template.rb +1 -1
  287. metadata +42 -9
@@ -4,21 +4,21 @@
4
4
  <div class="panel panel-default tabs" role="main">
5
5
  <!-- Nav tabs -->
6
6
  <ul class="nav nav-tabs" role="tablist">
7
- <% tabs.each_with_index do | tab, i | %>
7
+ <% (tabs - ['share']).each_with_index do | tab, i | %>
8
8
  <% if i == 0 %>
9
9
  <li role="presentation" class="active">
10
10
  <% else %>
11
11
  <li role="presentation">
12
12
  <% end %>
13
13
  <a href="#<%= tab %>" aria-controls="<%= tab %>" role="tab" data-toggle="tab">
14
- <%= t("hyrax.works.form.tab.#{tab}") %>
14
+ <%= form_tab_label_for(form: f.object, tab: tab) %>
15
15
  </a>
16
16
  </li>
17
17
  <% end %>
18
18
 
19
19
  <li role="presentation" id="tab-share" class="hidden">
20
20
  <a href="#share" aria-controls="share" role="tab" data-toggle="tab">
21
- <%= t("hyrax.works.form.tab.share") %>
21
+ <%= form_tab_label_for(form: f.object, tab: 'share') %>
22
22
  </a>
23
23
  </li>
24
24
  </ul>
@@ -2,7 +2,7 @@
2
2
  <% if defined?(viewer) && viewer %>
3
3
  <%= iiif_viewer_display presenter %>
4
4
  <% else %>
5
- <%= media_display presenter.representative_presenter %>
5
+ <%= render media_display_partial(presenter.representative_presenter), file_set: presenter.representative_presenter %>
6
6
  <% end %>
7
7
  <% else %>
8
8
  <%= image_tag 'default.png', class: "canonical-image", alt: 'default representative image' %>
@@ -27,7 +27,7 @@
27
27
  <div class="col-sm-6 text-right">
28
28
  <% if presenter.editor? && !workflow_restriction?(presenter) %>
29
29
  <%= link_to t('.edit'), edit_polymorphic_path([main_app, presenter]), class: 'btn btn-default' %>
30
- <% if presenter.member_presenters.size > 1 %>
30
+ <% if presenter.member_count > 1 %>
31
31
  <%= link_to t("hyrax.file_manager.link_text"), polymorphic_path([main_app, :file_manager, presenter]), class: 'btn btn-default' %>
32
32
  <% end %>
33
33
  <% if presenter.valid_child_concerns.length > 0 %>
@@ -37,7 +37,7 @@
37
37
  <ul class="dropdown-menu">
38
38
  <% presenter.valid_child_concerns.each do |concern| %>
39
39
  <li>
40
- <%= link_to "Attach #{concern.human_readable_type}", polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular], parent_id: presenter.id) %>
40
+ <%= link_to "Attach #{concern.human_readable_type}", polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular.to_sym], parent_id: presenter.id) %>
41
41
  </li>
42
42
  <% end %>
43
43
  </ul>
@@ -12,7 +12,7 @@
12
12
  <ul class="dropdown-menu">
13
13
  <% presenter.valid_child_concerns.each do |concern| %>
14
14
  <li>
15
- <%= link_to t(".attach", type: concern.human_readable_type), polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular], parent_id: presenter.id) %>
15
+ <%= link_to t(".attach", type: concern.human_readable_type), polymorphic_path([main_app, :new, :hyrax, :parent, concern.model_name.singular.to_sym], parent_id: presenter.id) %>
16
16
  </li>
17
17
  <% end %>
18
18
  </ul>
@@ -7,7 +7,7 @@
7
7
  <% provide :files_tab do %>
8
8
  <p class="instructions"><%= t("hyrax.batch_uploads.files.instructions") %></p>
9
9
  <p class="switch-upload-type"><%= t("hyrax.batch_uploads.files.upload_type_instructions") %>
10
- <%= link_to t("hyrax.batch_uploads.files.button_label"), [main_app, :new, Hyrax.primary_work_type.model_name.singular_route_key] %>
10
+ <%= link_to t("hyrax.batch_uploads.files.button_label"), [main_app, :new, Hyrax.primary_work_type.model_name.singular_route_key.to_sym] %>
11
11
  </p>
12
12
  <% end %>
13
13
  <%= render 'hyrax/base/guts4form', f: f, tabs: form_tabs_for(form: f.object) %>
@@ -3,7 +3,7 @@
3
3
  <div class="row hyc-header">
4
4
  <div class="col-md-12">
5
5
 
6
- <% unless @presenter.banner_file.blank? %>
6
+ <% if @presenter.banner_file.present? %>
7
7
  <div class="hyc-banner" style="background-image:url(<%= @presenter.banner_file %>)">
8
8
  <% else %>
9
9
  <div class="hyc-generic">
@@ -3,7 +3,7 @@
3
3
  <section class="collection-title-row-wrapper"
4
4
  data-source="my"
5
5
  data-id="<%= id %>"
6
- data-colls-hash="<%= presenter.available_parent_collections(scope: controller) %>"
6
+ data-colls-hash="<%= available_parent_collections_data(collection: presenter) %>"
7
7
  data-post-url="<%= hyrax.dashboard_create_nest_collection_within_path(id) %>"
8
8
  data-post-delete-url="<%= hyrax.dashboard_collection_path(id) %>">
9
9
 
@@ -5,17 +5,17 @@
5
5
  <a href="#description" role="tab" data-toggle="tab" class="nav-safety-confirm"><%= t('.tabs.description') %></a>
6
6
  </li>
7
7
  <% if @form.persisted? %>
8
- <% if @collection.brandable? %>
8
+ <% if collection_brandable?(collection: @collection) %>
9
9
  <li>
10
10
  <a href="#branding" role="tab" data-toggle="tab" class="nav-safety-confirm"><%= t('.tabs.branding') %></a>
11
11
  </li>
12
12
  <% end %>
13
- <% if @collection.discoverable? %>
13
+ <% if collection_discoverable?(collection: @collection) %>
14
14
  <li>
15
15
  <a href="#discovery" role="tab" data-toggle="tab" class="nav-safety-confirm"><%= t('.tabs.discovery') %></a>
16
16
  </li>
17
17
  <% end %>
18
- <% if @collection.sharable? %>
18
+ <% if collection_sharable?(collection: @collection) %>
19
19
  <li>
20
20
  <a href="#sharing" role="tab" data-toggle="tab" class="nav-safety-confirm"><%= t('.tabs.sharing') %></a>
21
21
  </li>
@@ -37,7 +37,7 @@
37
37
  <% if f.object.persisted? %>
38
38
  <%# we're loading these values dynamically to speed page load %>
39
39
  <%= f.input :thumbnail_id,
40
- input_html: { data: { text: f.object.thumbnail_title } } %>
40
+ input_html: { data: { text: thumbnail_label_for(object: f.object) } } %>
41
41
  <% end %>
42
42
  </div>
43
43
  <% if f.object.display_additional_fields? %>
@@ -60,7 +60,7 @@
60
60
  <div class="banner-image">
61
61
  <i><%= image_tag(f.object.banner_info[:relative_path],
62
62
  size: "800x100",
63
- alt: "Unable to display banner: #{f.object.banner_info[:file]}") %></i>
63
+ alt: f.object.banner_info[:alttext].presence || f.object.banner_info[:file]) %></i>
64
64
  </div>
65
65
  <% end %>
66
66
  </div> <!-- end banner -->
@@ -2,7 +2,7 @@
2
2
  <% id = collection_presenter.id %>
3
3
  <tr id="document_<%= id %>"
4
4
  data-id="<%= id %>"
5
- data-colls-hash="<%= collection_presenter.available_parent_collections(scope: controller) %>"
5
+ data-colls-hash="<%= available_parent_collections_data(collection: collection_presenter) %>"
6
6
  data-post-url="<%= hyrax.dashboard_create_nest_collection_within_path(id) %>"
7
7
  data-post-delete-url="<%= is_admin_set ? hyrax.admin_admin_set_path(id) : hyrax.dashboard_collection_path(id) %>">
8
8
 
@@ -23,7 +23,7 @@
23
23
  <button class="btn btn-info"><span class="glyphicon glyphicon-refresh"></span> <%= t('helpers.action.refresh') %></button>
24
24
  </fieldset>
25
25
  <div class="col-sm-3">
26
- <%= render 'view_type_group' %>
26
+ <%= render 'hyrax/collections/view_type_group' %>
27
27
  </div>
28
28
  </div>
29
29
  <% end %>
@@ -1,7 +1,9 @@
1
- <% provide :page_title, construct_page_title( t('.header', type_title: @collection.collection_type.title, title: @form.title.first) ) %>
1
+ <% type_title = collection_type_label_for(collection: @collection) %>
2
+
3
+ <% provide :page_title, construct_page_title( t('.header', type_title: type_title, title: @form.title.first) ) %>
2
4
 
3
5
  <% provide :page_header do %>
4
- <h1><span class="fa fa-edit" aria-hidden="true"></span><%= t('.header', type_title: @collection.collection_type.title, title: @form.title.first) %></h1>
6
+ <h1><span class="fa fa-edit" aria-hidden="true"></span><%= t('.header', type_title: type_title, title: @form.title.first) %></h1>
5
7
  <% end %>
6
8
 
7
9
  <div class="row">
@@ -1,6 +1,8 @@
1
- <% provide :page_title, construct_page_title( t('.header', type_title: @collection.collection_type.title) ) %>
1
+ <% type_title = collection_type_label_for(collection: @collection) %>
2
+
3
+ <% provide :page_title, construct_page_title( t('.header', type_title: type_title)) %>
2
4
  <% provide :page_header do %>
3
- <h1><span class="fa fa-edit" aria-hidden="true"></span> <%= t('.header', type_title: @collection.collection_type.title) %> </h1>
5
+ <h1><span class="fa fa-edit" aria-hidden="true"></span> <%= t('.header', type_title: type_title) %> </h1>
4
6
  <% end %>
5
7
 
6
8
  <div class="row">
@@ -96,7 +96,7 @@
96
96
 
97
97
  <% if @presenter.collection_type_is_nestable? && !collection_search_parameters? %>
98
98
  <%= render 'hyrax/my/collections/modal_add_to_collection', source: 'show' %>
99
- <%= render 'hyrax/my/collections/modal_add_subcollection', id: @presenter.id, source: 'show' %>
99
+ <%= render 'hyrax/my/collections/modal_add_subcollection', id: @presenter.id, presenter: @presenter, source: 'show' %>
100
100
  <%= render 'hyrax/dashboard/collections/modal_parent_collection_remove_deny', source: 'show' %>
101
101
  <% end %>
102
102
 
@@ -1,4 +1,13 @@
1
1
  <% if (can?(:download, file_set.id) || can?(:destroy, file_set.id) || can?(:edit, file_set.id)) && !workflow_restriction?(file_set.parent) %>
2
+ <% if can?(:download, file_set.id) && !(can?(:edit, file_set.id) || can?(:destroy, file_set.id)) %>
3
+ <%= link_to t('.download'),
4
+ hyrax.download_path(file_set),
5
+ class: 'btn btn-default btn-sm',
6
+ title: t('.download_title', file_set: file_set),
7
+ target: "_blank",
8
+ id: "file_download",
9
+ data: { label: file_set.id } %>
10
+ <% else %>
2
11
  <div class="btn-group">
3
12
  <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button" id="dropdownMenu_<%= file_set.id %>" aria-haspopup="true" aria-expanded="false">
4
13
  <span class="sr-only"><%= t('.press_to') %> </span>
@@ -40,4 +49,5 @@
40
49
 
41
50
  </ul>
42
51
  </div>
52
+ <% end %>
43
53
  <% end %>
@@ -6,7 +6,7 @@
6
6
 
7
7
  <div class="row">
8
8
  <div class="col-xs-12 col-sm-4">
9
- <%= media_display curation_concern.to_presenter %>
9
+ <%= render media_display_partial(curation_concern.to_presenter), file_set: curation_concern.to_presenter %>
10
10
  </div>
11
11
  <div class="col-xs-12 col-sm-8">
12
12
  <div class="panel panel-default tabs">
@@ -1,4 +1,4 @@
1
- <% if Hyrax.config.display_media_download_link? && !workflow_restriction?(file_set.try(:parent)) %>
1
+ <% if display_media_download_link?(file_set: file_set) %>
2
2
  <div>
3
3
  <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
4
4
  <audio controls="controls" class="audiojs" style="width:100%" controlsList="nodownload" preload="auto">
@@ -1,6 +1,6 @@
1
1
  <div class="no-preview">
2
2
  <%= t('hyrax.works.show.no_preview') %>
3
- <% if Hyrax.config.display_media_download_link? && !workflow_restriction?(file_set.try(:parent)) %>
3
+ <% if display_media_download_link?(file_set: file_set) %>
4
4
  <p /><%= link_to t('hyrax.file_set.show.download'),
5
5
  hyrax.download_path(file_set),
6
6
  id: "file_download",
@@ -1,4 +1,4 @@
1
- <% if Hyrax.config.display_media_download_link? && can?(:download, file_set.id) && !workflow_restriction?(file_set.try(:parent)) %>
1
+ <% if display_media_download_link?(file_set: file_set) %>
2
2
  <div>
3
3
  <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
4
4
  <%= image_tag thumbnail_url(file_set),
@@ -1,4 +1,4 @@
1
- <% if Hyrax.config.display_media_download_link? && !workflow_restriction?(file_set.try(:parent)) %>
1
+ <% if display_media_download_link?(file_set: file_set) %>
2
2
  <div>
3
3
  <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
4
4
  <%= image_tag thumbnail_url(file_set),
@@ -1,4 +1,4 @@
1
- <% if Hyrax.config.display_media_download_link? && !workflow_restriction?(file_set.try(:parent)) %>
1
+ <% if display_media_download_link?(file_set: file_set) %>
2
2
  <div>
3
3
  <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
4
4
  <%= image_tag thumbnail_url(file_set),
@@ -1,4 +1,4 @@
1
- <% if Hyrax.config.display_media_download_link? && !workflow_restriction?(file_set.try(:parent)) %>
1
+ <% if display_media_download_link?(file_set: file_set) %>
2
2
  <div>
3
3
  <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
4
4
  <video controls="controls" class="video-js vjs-default-skin" style="width:100%" data-setup="{}" controlsList="nodownload" preload="auto">
@@ -2,7 +2,7 @@
2
2
  <div class="container-fluid">
3
3
  <div class="row">
4
4
  <div class="col-xs-12 col-sm-4">
5
- <%= media_display @presenter %>
5
+ <%= render media_display_partial(@presenter), file_set: @presenter %>
6
6
  <%= render 'show_actions', presenter: @presenter %>
7
7
  <%= render 'single_use_links', presenter: @presenter if @presenter.editor? %>
8
8
  </div>
@@ -1,6 +1,6 @@
1
1
  <% provide :page_title, application_name %>
2
2
 
3
- <% if @presenter.display_share_button? %>
3
+ <% if @presenter.display_share_button? && !Flipflop.read_only? %>
4
4
  <div class="home-share-work text-center">
5
5
  <% if signed_in? %>
6
6
  <% if @presenter.create_many_work_types? %>
@@ -41,16 +41,5 @@
41
41
  <%= t("hyrax.dashboard.my.action.delete_admin_set") %>
42
42
  <% end %>
43
43
  </li>
44
- <% if Hyrax::CollectionType.any_nestable? %>
45
- <li role="menuitem" tabindex="-1">
46
- <%= link_to "#",
47
- class: 'itemicon add-to-collection',
48
- title: t("hyrax.dashboard.my.action.add_to_collection"),
49
- data: { nestable: false,
50
- hasaccess: (can?(:deposit, admin_set_presenter.solr_document)) } do %>
51
- <%= t("hyrax.dashboard.my.action.add_to_collection") %>
52
- <% end %>
53
- </li>
54
- <% end %>
55
44
  </ul>
56
45
  </div>
@@ -6,7 +6,6 @@
6
6
  <span class="sr-only"><%= t("hyrax.dashboard.my.sr.press_to") %> </span>
7
7
  <%= t("hyrax.dashboard.my.action.select") %> <span class="caret" aria-hidden="true"></span>
8
8
  </button>
9
-
10
9
  <ul role="menu" id="<%= ul_id %>" class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu_<%= id %>">
11
10
  <li role="menuitem" tabindex="-1">
12
11
  <%= link_to hyrax.dashboard_collection_path(id),
@@ -43,7 +42,7 @@
43
42
  <% end %>
44
43
  </li>
45
44
 
46
- <% if Hyrax::CollectionType.any_nestable? %>
45
+ <% if collection_presenter.collection_type_is_nestable? %>
47
46
  <% # The user should have deposit access to the parent we are adding, and read access to the child (the collection we are linking here). %>
48
47
  <li role="menuitem" tabindex="-1">
49
48
  <%= link_to "#",
@@ -4,7 +4,7 @@
4
4
  <tr id="document_<%= id %>"
5
5
  data-source="my"
6
6
  data-id="<%= id %>"
7
- data-colls-hash="<%= collection_presenter.available_parent_collections(scope: controller) %>"
7
+ data-colls-hash="<%= available_parent_collections_data(collection: collection_presenter) %>"
8
8
  data-post-url="<%= hyrax.dashboard_create_nest_collection_within_path(id) %>"
9
9
  data-post-delete-url="<%= is_admin_set ? hyrax.admin_admin_set_path(id) : hyrax.dashboard_collection_path(id) %>">
10
10
 
@@ -1,5 +1,4 @@
1
1
  <div class="modal fade disable-unless-selected" id="add-subcollection-modal-<%= id %>" tabindex="-1" role="dialog" aria-labelledby="add-subcollection-label">
2
- <% collection = ::Collection.find id %>
3
2
  <div class="modal-dialog" role="document">
4
3
  <div class="modal-content">
5
4
 
@@ -14,10 +13,9 @@
14
13
  <input type="hidden" name="source" value="<%= source %>" />
15
14
  <select name="child_id">
16
15
  <option value="none"><%= t("hyrax.dashboard.my.action.select") %></option>
17
- <% colls = Hyrax::Collections::NestedCollectionQueryService.available_child_collections(parent: collection, scope: controller, limit_to_id: nil) %>
18
- <% colls.each {|coll| %>
16
+ <% available_child_collections(collection: presenter).each do |coll| %>
19
17
  <option value="<%= coll.id %>"><%= coll.title.first %></option>
20
- <% } %>
18
+ <% end %>
21
19
  </select>
22
20
  </div>
23
21
 
@@ -28,7 +26,7 @@
28
26
  disabled
29
27
  type="button"
30
28
  class="btn btn-primary modal-add-button modal-submit-button"
31
- data-post-url="<%= dashboard_create_nest_collection_under_path(collection.id) %>"
29
+ data-post-url="<%= dashboard_create_nest_collection_under_path(presenter.id) %>"
32
30
  data-source="<%= source %>">
33
31
  <%= t('hyrax.collection.actions.nest_collections.button_label') %>
34
32
  </button>
@@ -12,7 +12,7 @@
12
12
  <% @collection_type_list_presenter.each do |row_presenter| %>
13
13
  <div class="radio radio-button-list">
14
14
  <label>
15
- <input type="radio" name="collection_type"
15
+ <input type="radio" name="collection_type" value="<%= row_presenter.title.gsub(/\s+/, '') %>"
16
16
  <% if row_presenter.admin_set? %>
17
17
  data-path="<%= new_admin_admin_set_path %>"
18
18
  <% else %>
@@ -27,6 +27,7 @@
27
27
  <% end %>
28
28
 
29
29
  <a name="skip-to-content" id="skip-to-content"></a>
30
+ <%= render 'shared/read_only' if Flipflop.read_only? %>
30
31
  <%= content_for?(:content) ? yield(:content) : yield %>
31
32
 
32
33
  </div>
@@ -24,6 +24,7 @@
24
24
  <% end %>
25
25
 
26
26
  <a name="skip-to-content" id="skip-to-content"></a>
27
+ <%= render 'shared/read_only' if Flipflop.read_only? %>
27
28
  <%= content_for?(:content) ? yield(:content) : yield %>
28
29
  </div><!-- /#content-wrapper -->
29
30
  <%= render 'shared/footer' %>
@@ -0,0 +1,5 @@
1
+ <div class="row">
2
+ <div class="col-md-12 read-only text-center alert alert-warning">
3
+ <%= t('hyrax.read_only') %>
4
+ </div>
5
+ </div>
@@ -5,7 +5,9 @@ db-wait.sh "$DB_HOST:$DB_PORT"
5
5
  bundle exec rails db:create
6
6
  bundle exec rails db:migrate
7
7
 
8
- db-wait.sh "$FCREPO_HOST:$FCREPO_PORT"
8
+ if [ "$FCREPO_HOST" ]; then
9
+ db-wait.sh "$FCREPO_HOST:$FCREPO_PORT"
10
+ fi
9
11
  db-wait.sh "$SOLR_HOST:$SOLR_PORT"
10
12
 
11
13
  bundle exec rails db:seed
@@ -1,20 +1,6 @@
1
1
  #!/bin/sh
2
2
  set -e
3
3
 
4
- # Make sure common volume points have the app permission
5
- chown -fR app:app /app/samvera/hyrax-webapp/tmp
6
- chown -fR app:app /app/samvera/hyrax-webapp/public
7
-
8
- if [ -v HYRAX_DERIVITIVES_PATH ]; then
9
- mkdir -p $HYRAX_DERIVITIVES_PATH
10
- chown -f -R app:app $HYRAX_DERIVATIVES_PATH
11
- fi
12
-
13
- if [ -v HYRAX_UPLOAD_PATH ]; then
14
- mkdir -p $HYRAX_UPLOAD_PATH
15
- chown -f -R app:app $HYRAX_UPLOAD_PATH
16
- fi
17
-
18
4
  mkdir -p /app/samvera/hyrax-webapp/tmp/pids
19
5
  rm -f /app/samvera/hyrax-webapp/tmp/pids/*
20
6
 
@@ -5,17 +5,25 @@ if [ "$SOLR_ADMIN_USER" ]; then
5
5
  solr_user_settings="--user $SOLR_ADMIN_USER:$SOLR_ADMIN_PASSWORD"
6
6
  fi
7
7
 
8
+ solr_config_name="${SOLR_CONFIGSET_NAME:-solrconfig}"
9
+ solr_collection_name="${SOLR_COLLECTION_NAME:-hyrax}"
10
+
8
11
  # Solr Cloud Collection API URLs
9
12
  solr_collection_list_url="$SOLR_HOST:$SOLR_PORT/solr/admin/collections?action=LIST"
10
- solr_collection_modify_url="$SOLR_HOST:$SOLR_PORT/solr/admin/collections?action=MODIFYCOLLECTION&collection=$SOLR_COLLECTION_NAME&collection.configName=$SOLR_CONFIGSET_NAME"
13
+ solr_collection_modify_url="$SOLR_HOST:$SOLR_PORT/solr/admin/collections?action=MODIFYCOLLECTION&collection=${solr_collection_name}&collection.configName=${solr_config_name}"
11
14
 
12
15
  while [ $COUNTER -lt 30 ]; do
13
16
  if nc -z "${SOLR_HOST}" "${SOLR_PORT}"; then
14
- if curl --silent $solr_user_settings "$solr_collection_list_url" | grep -q "$SOLR_COLLECTION_NAME"; then
15
- echo "-- Collection ${SOLR_COLLECTION_NAME} exists; setting ${SOLR_CONFIGSET_NAME} ConfigSet ..."
17
+ if curl --silent $solr_user_settings "$solr_collection_list_url" | grep -q "$solr_collection_name"; then
18
+ echo "-- Collection ${solr_collection_name} exists; setting ${solr_config_name} ConfigSet ..."
16
19
  echo $solr_collection_modify_url
17
20
  curl $solr_user_settings "$solr_collection_modify_url"
18
21
  exit
22
+ else
23
+ echo "-- Collection ${solr_collection_name} does not exist; creating and setting ${solr_config_name} ConfigSet ..."
24
+ solr_collection_create_url="$SOLR_HOST:$SOLR_PORT/solr/admin/collections?action=CREATE&name=${solr_collection_name}&collection.configName=${solr_config_name}&numShards=1"
25
+ curl $solr_user_settings "$solr_collection_create_url"
26
+ exit
19
27
  fi
20
28
  fi
21
29
  echo "-- Looking for Solr (${SOLR_HOST}:${SOLR_PORT})..."
@@ -8,20 +8,31 @@ if [ "$SOLR_ADMIN_USER" ]; then
8
8
  solr_user_settings="--user $SOLR_ADMIN_USER:$SOLR_ADMIN_PASSWORD"
9
9
  fi
10
10
 
11
+ solr_config_name="${SOLR_CONFIGSET_NAME:-solrconfig}"
12
+
11
13
  # Solr Cloud ConfigSet API URLs
12
14
  solr_config_list_url="http://$SOLR_HOST:$SOLR_PORT/api/cluster/configs?omitHeader=true"
13
- solr_config_upload_url="http://$SOLR_HOST:$SOLR_PORT/solr/admin/configs?action=UPLOAD&name=$SOLR_CONFIGSET_NAME"
15
+ solr_config_upload_url="http://$SOLR_HOST:$SOLR_PORT/solr/admin/configs?action=UPLOAD&name=${solr_config_name}"
14
16
 
15
17
  while [ $COUNTER -lt 30 ]; do
16
18
  echo "-- Looking for Solr (${SOLR_HOST}:${SOLR_PORT})..."
17
19
  if nc -z "${SOLR_HOST}" "${SOLR_PORT}"; then
18
- if curl --silent $solr_user_settings "$solr_config_list_url" | grep -q "$SOLR_CONFIGSET_NAME"; then
19
- echo "-- ConfigSet already exists; skipping creation ...";
20
+ # shellcheck disable=SC2143,SC2086
21
+ if curl --silent --user 'fake:fake' "$solr_config_list_url" | grep -q '401'; then
22
+ # the solr pods come up and report available before they are ready to accept trusted configs
23
+ # only try to upload the config if auth is on.
24
+ if curl --silent $solr_user_settings "$solr_config_list_url" | grep -q "$solr_config_name"; then
25
+ echo "-- ConfigSet already exists; skipping creation ...";
26
+ else
27
+ echo "-- ConfigSet for ${CONFDIR} does not exist; creating ..."
28
+ (cd "$CONFDIR" && zip -r - *) | curl -X POST $solr_user_settings --header "Content-Type:application/octet-stream" --data-binary @- "$solr_config_upload_url"
29
+ fi
30
+ exit
20
31
  else
21
- echo "-- ConfigSet for ${CONFDIR} does not exist; creating ..."
22
- (cd "$CONFDIR" && zip -r - *) | curl -X POST $solr_user_settings --header "Content-Type:application/octet-stream" --data-binary @- "$solr_config_upload_url"
32
+ echo "-- Solr at $solr_config_list_url is accepting unauthorized connections; we can't upload a trusted ConfigSet."
33
+ echo "-- It's possible SolrCloud is bootstrapping its configuration, so this process will retry."
34
+ echo "-- see: https://solr.apache.org/guide/8_6/configsets-api.html#configsets-upload"
23
35
  fi
24
- exit
25
36
  fi
26
37
  COUNTER=$(( COUNTER+1 ));
27
38
  sleep 5s
@@ -2,17 +2,21 @@ apiVersion: v2
2
2
  name: hyrax
3
3
  description: An open-source, Samvera-powered digital repository system
4
4
  type: application
5
- version: 0.6.0
6
- appVersion: 3.0.0
5
+ version: 1.0.0
6
+ appVersion: 3.1.0
7
7
  dependencies:
8
8
  - name: fcrepo
9
- version: 0.6.0
10
- repository: https://samvera-labs.github.com/fcrepo-charts
9
+ version: 0.8.0
10
+ repository: oci://ghcr.io/samvera
11
11
  condition: fcrepo.enabled
12
12
  - name: memcached
13
13
  version: 4.2.21
14
14
  repository: https://charts.bitnami.com/bitnami
15
15
  condition: memcached.enabled
16
+ - name: minio
17
+ version: 6.7.2
18
+ repository: https://charts.bitnami.com/bitnami
19
+ condition: minio.enabled
16
20
  - name: postgresql
17
21
  version: 10.3.13
18
22
  repository: https://charts.bitnami.com/bitnami
@@ -22,6 +26,6 @@ dependencies:
22
26
  repository: https://charts.bitnami.com/bitnami
23
27
  condition: redis.enabled
24
28
  - name: solr
25
- version: 0.2.2
29
+ version: 1.0.1
26
30
  repository: https://charts.bitnami.com/bitnami
27
31
  condition: solr.enabled