hyrax 4.0.0.beta2 → 4.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +126 -53
  3. data/.dassie/Gemfile +1 -1
  4. data/.dassie/app/controllers/catalog_controller.rb +1 -1
  5. data/.dassie/config/initializers/hyrax.rb +4 -0
  6. data/.github/CONTRIBUTING.md +39 -27
  7. data/.github/SUPPORT.md +2 -3
  8. data/.github/workflows/main.yml +4 -4
  9. data/.github/workflows/release.yml +10 -4
  10. data/.koppie/Gemfile +1 -2
  11. data/.koppie/app/controllers/catalog_controller.rb +1 -1
  12. data/.koppie/config/authorities/licenses.yml +7 -7
  13. data/.koppie/config/initializers/file_services.rb +4 -0
  14. data/.koppie/db/schema.rb +2 -2
  15. data/.koppie/yarn.lock +1 -1
  16. data/.regen +1 -1
  17. data/CONTAINERS.md +5 -5
  18. data/CONTRIBUTING.md +2 -2
  19. data/Dockerfile +21 -9
  20. data/README.md +24 -97
  21. data/app/actors/hyrax/actors/create_with_files_actor.rb +1 -1
  22. data/app/assets/stylesheets/hyrax/_catalog.scss +4 -0
  23. data/app/assets/stylesheets/hyrax/_forms.scss +4 -0
  24. data/app/controllers/concerns/hyrax/controller.rb +3 -24
  25. data/app/controllers/concerns/hyrax/works_controller_behavior.rb +1 -0
  26. data/app/controllers/hyrax/admin/strategies_controller.rb +2 -2
  27. data/app/controllers/hyrax/dashboard/collections_controller.rb +1 -1
  28. data/app/controllers/hyrax/downloads_controller.rb +16 -1
  29. data/app/controllers/hyrax/file_sets_controller.rb +9 -2
  30. data/app/controllers/hyrax/my/works_controller.rb +3 -1
  31. data/app/controllers/hyrax/transfers_controller.rb +4 -1
  32. data/app/controllers/hyrax/workflow_actions_controller.rb +3 -2
  33. data/app/forms/hyrax/forms/administrative_set_form.rb +1 -1
  34. data/app/forms/hyrax/forms/file_set_edit_form.rb +1 -1
  35. data/app/forms/hyrax/forms/file_set_form.rb +8 -35
  36. data/app/forms/hyrax/forms/pcdm_collection_form.rb +2 -2
  37. data/app/forms/hyrax/forms/pcdm_object_form.rb +46 -0
  38. data/app/forms/hyrax/forms/permission.rb +2 -2
  39. data/app/forms/hyrax/forms/resource_form.rb +19 -44
  40. data/app/forms/hyrax/forms/work_embargo_form.rb +3 -3
  41. data/app/forms/hyrax/forms/work_lease_form.rb +3 -3
  42. data/app/helpers/hyrax/content_block_helper_behavior.rb +1 -1
  43. data/app/helpers/hyrax/hyrax_helper_behavior.rb +1 -1
  44. data/app/helpers/hyrax/iiif_helper.rb +1 -1
  45. data/app/indexers/hyrax/valkyrie_file_set_indexer.rb +1 -1
  46. data/app/jobs/characterize_job.rb +3 -2
  47. data/app/jobs/valkyrie_create_derivatives_job.rb +0 -2
  48. data/app/models/collection_branding_info.rb +7 -13
  49. data/app/models/concerns/hyrax/ability.rb +1 -1
  50. data/app/models/concerns/hyrax/collection_behavior.rb +0 -47
  51. data/app/models/concerns/hyrax/solr_document/metadata.rb +1 -0
  52. data/app/models/concerns/hyrax/suppressible.rb +0 -8
  53. data/app/models/file_download_stat.rb +4 -4
  54. data/app/models/hyrax/collection_type.rb +0 -16
  55. data/app/models/hyrax/file_metadata.rb +5 -12
  56. data/app/models/hyrax/file_set.rb +1 -9
  57. data/app/models/hyrax/permission_template.rb +1 -1
  58. data/app/models/hyrax/statistic.rb +4 -4
  59. data/app/models/sipity.rb +27 -6
  60. data/app/presenters/hyrax/collection_presenter.rb +1 -1
  61. data/app/presenters/hyrax/iiif_manifest_presenter.rb +15 -5
  62. data/app/presenters/hyrax/presenter_factory.rb +2 -2
  63. data/app/presenters/hyrax/work_show_presenter.rb +1 -1
  64. data/app/presenters/hyrax/workflow_presenter.rb +1 -1
  65. data/app/search_builders/hyrax/collection_search_builder.rb +1 -0
  66. data/app/search_builders/hyrax/filter_suppressed_with_roles.rb +1 -1
  67. data/app/services/hyrax/admin_set_service.rb +1 -1
  68. data/app/services/hyrax/collections/nested_collection_query_service.rb +2 -2
  69. data/app/services/hyrax/database_migrator.rb +1 -1
  70. data/app/services/hyrax/edit_permissions_service.rb +21 -3
  71. data/app/services/hyrax/restriction_service.rb +1 -1
  72. data/app/services/hyrax/solr_query_service.rb +10 -2
  73. data/app/services/hyrax/solr_service.rb +24 -18
  74. data/app/services/hyrax/thumbnail_path_service.rb +10 -2
  75. data/app/services/hyrax/valkyrie_persist_derivatives.rb +26 -15
  76. data/app/services/hyrax/valkyrie_upload.rb +23 -30
  77. data/app/services/hyrax/visibility_propagator.rb +5 -5
  78. data/app/services/hyrax/visibility_reader.rb +1 -1
  79. data/app/services/hyrax/visibility_writer.rb +1 -1
  80. data/app/services/hyrax/workflow/permission_query.rb +5 -5
  81. data/app/services/hyrax/workflow/status_list_service.rb +1 -1
  82. data/app/validators/hyrax/collection_membership_validator.rb +2 -2
  83. data/app/views/hyrax/base/_attribute_rows.html.erb +2 -0
  84. data/app/views/hyrax/dashboard/collections/_form_for_select_collection.html.erb +1 -1
  85. data/app/views/hyrax/file_sets/_permission.html.erb +1 -1
  86. data/app/views/hyrax/file_sets/edit.html.erb +1 -1
  87. data/app/views/hyrax/file_sets/media_display/_audio.html.erb +1 -1
  88. data/app/views/hyrax/file_sets/media_display/_default.html.erb +1 -1
  89. data/app/views/hyrax/file_sets/media_display/_image.html.erb +1 -1
  90. data/app/views/hyrax/file_sets/media_display/_office_document.html.erb +1 -1
  91. data/app/views/hyrax/file_sets/media_display/_pdf.html.erb +1 -1
  92. data/app/views/hyrax/file_sets/media_display/_video.html.erb +1 -1
  93. data/app/views/hyrax/uploads/_js_templates.html.erb +8 -8
  94. data/app/views/hyrax/uploads/_js_templates_branding.html.erb +2 -2
  95. data/app/views/hyrax/users/_vitals.html.erb +4 -4
  96. data/chart/hyrax/Chart.yaml +7 -7
  97. data/chart/hyrax/README.md +5 -0
  98. data/chart/hyrax/templates/_helpers.tpl +14 -6
  99. data/chart/hyrax/templates/cron-embargo.yaml +1 -1
  100. data/chart/hyrax/templates/cron-lease.yaml +1 -1
  101. data/chart/hyrax/templates/deployment-worker.yaml +2 -2
  102. data/chart/hyrax/templates/extra-list.yaml +8 -0
  103. data/chart/hyrax/templates/secrets.yaml +3 -3
  104. data/chart/hyrax/values.yaml +22 -15
  105. data/config/initializers/kaminari_engine_patch.rb +16 -0
  106. data/config/locales/hyrax.de.yml +7 -7
  107. data/config/locales/hyrax.es.yml +7 -7
  108. data/config/locales/hyrax.fr.yml +8 -8
  109. data/config/locales/hyrax.it.yml +7 -7
  110. data/config/locales/hyrax.pt-BR.yml +7 -7
  111. data/config/locales/hyrax.zh.yml +8 -8
  112. data/config/metadata/file_set_metadata.yaml +130 -0
  113. data/documentation/MAINTENANCE.md +77 -0
  114. data/documentation/developing-your-hyrax-based-app.md +2 -2
  115. data/documentation/legacyREADME.md +3 -3
  116. data/hyrax.gemspec +7 -10
  117. data/lib/generators/hyrax/templates/catalog_controller.rb +1 -1
  118. data/lib/hyrax/configuration.rb +16 -0
  119. data/lib/hyrax/controlled_vocabularies/resource_label_caching.rb +1 -1
  120. data/lib/hyrax/engine.rb +2 -1
  121. data/lib/hyrax/transactions/container.rb +0 -2
  122. data/lib/hyrax/transactions/steps/save_collection_banner.rb +1 -1
  123. data/lib/hyrax/transactions/steps/save_collection_logo.rb +1 -1
  124. data/lib/hyrax/transactions/transaction.rb +3 -2
  125. data/lib/hyrax/version.rb +1 -1
  126. data/lib/hyrax.rb +0 -1
  127. data/lib/valkyrie/indexing/solr/indexing_adapter.rb +1 -1
  128. data/lib/wings/active_fedora_converter/file_metadata_node.rb +1 -1
  129. data/lib/wings/valkyrie/storage.rb +4 -1
  130. data/samvera-fall-TM3.svg +376 -0
  131. data/template.rb +1 -1
  132. metadata +43 -85
  133. data/app/conversions/power_converters/polymorphic_type.rb +0 -9
  134. data/app/conversions/power_converters/sipity_action.rb +0 -11
  135. data/app/conversions/power_converters/sipity_action_name.rb +0 -10
  136. data/app/conversions/power_converters/sipity_agent.rb +0 -9
  137. data/app/conversions/power_converters/sipity_entity.rb +0 -14
  138. data/app/conversions/power_converters/sipity_role.rb +0 -10
  139. data/app/conversions/power_converters/sipity_workflow_id.rb +0 -17
  140. data/app/conversions/power_converters/sipity_workflow_state.rb +0 -13
  141. data/app/conversions/power_converters.rb +0 -7
@@ -37,7 +37,7 @@
37
37
  <!-- The template to display the banner once upload is complete -->
38
38
  <script id="template-download" type="text/x-tmpl">
39
39
  {% for (var i=0, file; file=o.files[i]; i++) { %}
40
- <span class="template-download fade">
40
+ <span class="template-download fade show">
41
41
  <div id="banner">
42
42
  <div class="row branding-banner-row">
43
43
  <div class="col-sm-3">
@@ -69,7 +69,7 @@
69
69
  <!-- The template to display logo in the table once upload is complete -->
70
70
  <script id="logo-template-download" type="text/x-tmpl">
71
71
  {% for (var i=0, file; file=o.files[i]; i++) { %}
72
- <span class="template-download fade">
72
+ <span class="template-download fade show">
73
73
  <div class="row branding-logo-row">
74
74
  <div class="col-sm-3">
75
75
  <span class="preview">
@@ -3,16 +3,16 @@
3
3
  </div>
4
4
 
5
5
  <div class="list-group-item">
6
- <span class="badge"><%= number_of_collections(user) %></span>
6
+ <span class="badge dark-text"><%= number_of_collections(user) %></span>
7
7
  <span class="fa fa-folder-open" aria-hidden="true"></span> <%= link_to_field('', '', t("hyrax.dashboard.stats.collections"), {generic_type: "Collection", depositor: user.to_s}) %>
8
8
  </div>
9
9
 
10
10
  <div class="list-group-item">
11
- <span class="badge"><%= number_of_works(user) %></span>
11
+ <span class="badge dark-text"><%= number_of_works(user) %></span>
12
12
  <span class="fa fa-upload" aria-hidden="true"></span> <%= link_to_field('', '', t("hyrax.dashboard.stats.works"), {generic_type: "Work", depositor: user.to_s}) %>
13
13
 
14
14
  <ul class="views-downloads-dashboard list-unstyled">
15
- <li><span class="badge badge-optional"><%= user.total_file_views %></span> <%= t("hyrax.dashboard.stats.file_views").pluralize(user.total_file_views) %></li>
16
- <li><span class="badge badge-optional"><%= user.total_file_downloads %></span> <%= t("hyrax.dashboard.stats.file_downloads").pluralize(user.total_file_downloads) %></li>
15
+ <li><span class="badge badge-optional dark-text"><%= user.total_file_views %></span> <%= t("hyrax.dashboard.stats.file_views").pluralize(user.total_file_views) %></li>
16
+ <li><span class="badge badge-optional dark-text"><%= user.total_file_downloads %></span> <%= t("hyrax.dashboard.stats.file_downloads").pluralize(user.total_file_downloads) %></li>
17
17
  </ul>
18
18
  </div>
@@ -2,7 +2,7 @@ apiVersion: v2
2
2
  name: hyrax
3
3
  description: An open-source, Samvera-powered digital repository system
4
4
  type: application
5
- version: 1.6.0
5
+ version: 3.1.0
6
6
  appVersion: 3.3.0
7
7
  dependencies:
8
8
  - name: fcrepo
@@ -10,26 +10,26 @@ dependencies:
10
10
  repository: oci://ghcr.io/samvera
11
11
  condition: fcrepo.enabled
12
12
  - name: memcached
13
- version: 4.2.21
13
+ version: 6.3.13
14
14
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
15
15
  condition: memcached.enabled
16
16
  - name: minio
17
- version: 6.7.2
17
+ version: 12.1.14
18
18
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
19
19
  condition: minio.enabled
20
20
  - name: postgresql
21
- version: 10.3.13
21
+ version: 12.2.5
22
22
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
23
23
  condition: postgresql.enabled
24
24
  - name: redis
25
- version: 10.7.16
25
+ version: 17.8.7
26
26
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
27
27
  condition: redis.enabled
28
28
  - name: solr
29
- version: 1.0.1
29
+ version: 7.2.1
30
30
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
31
31
  condition: solr.enabled
32
32
  - name: nginx
33
- version: 9.8.0
33
+ version: 13.2.30
34
34
  repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
35
35
  condition: nginx.enabled
@@ -11,6 +11,11 @@ production-ready setup for Hyrax applications. By default it deploys:
11
11
  - Solr (in a cloud configuration, including Apache Zookeeper)
12
12
  - Redis
13
13
 
14
+ ## Minimum requirements
15
+
16
+ - Kubernetes 1.21
17
+ - Helm 3
18
+
14
19
  ## A base Hyrax deployment
15
20
 
16
21
  Because Hyrax is a [Rails Engine][engine]---not a stand-alone application---
@@ -51,6 +51,14 @@ app.kubernetes.io/name: {{ include "hyrax.name" . }}
51
51
  app.kubernetes.io/instance: {{ .Release.Name }}
52
52
  {{- end }}
53
53
 
54
+ {{/*
55
+ Worker Selector labels
56
+ */}}
57
+ {{- define "hyrax.workerSelectorLabels" -}}
58
+ app.kubernetes.io/name: {{ include "hyrax.name" . }}-worker
59
+ app.kubernetes.io/instance: {{ .Release.Name }}
60
+ {{- end }}
61
+
54
62
  {{/*
55
63
  Create the name of the service account to use
56
64
  */}}
@@ -100,7 +108,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
100
108
 
101
109
  {{- define "hyrax.postgresql.database" -}}
102
110
  {{- if .Values.postgresql.enabled }}
103
- {{- .Values.postgresql.postgresqlDatabase }}
111
+ {{- .Values.postgresql.auth.database }}
104
112
  {{- else }}
105
113
  {{- .Values.externalPostgresql.database | default ( include "hyrax.fullname" . ) }}
106
114
  {{- end }}
@@ -108,7 +116,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
108
116
 
109
117
  {{- define "hyrax.postgresql.username" -}}
110
118
  {{- if .Values.postgresql.enabled }}
111
- {{- .Values.postgresql.postgresqlUsername }}
119
+ {{- .Values.postgresql.auth.username }}
112
120
  {{- else }}
113
121
  {{- .Values.externalPostgresql.username | default "postgres" }}
114
122
  {{- end }}
@@ -116,7 +124,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
116
124
 
117
125
  {{- define "hyrax.postgresql.password" -}}
118
126
  {{- if .Values.postgresql.enabled }}
119
- {{- .Values.postgresql.postgresqlPassword }}
127
+ {{- .Values.postgresql.auth.password }}
120
128
  {{- else }}
121
129
  {{- .Values.externalPostgresql.password }}
122
130
  {{- end }}
@@ -149,7 +157,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
149
157
 
150
158
  {{- define "hyrax.solr.username" -}}
151
159
  {{- if .Values.solr.enabled }}
152
- {{- .Values.solr.authentication.adminUsername }}
160
+ {{- .Values.solr.auth.adminUsername }}
153
161
  {{- else }}
154
162
  {{- .Values.externalSolrUser }}
155
163
  {{- end }}
@@ -157,7 +165,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
157
165
 
158
166
  {{- define "hyrax.solr.password" -}}
159
167
  {{- if .Values.solr.enabled }}
160
- {{- .Values.solr.authentication.adminPassword }}
168
+ {{- .Values.solr.auth.adminPassword }}
161
169
  {{- else }}
162
170
  {{- .Values.externalSolrPassword }}
163
171
  {{- end }}
@@ -180,7 +188,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
180
188
  {{- end -}}
181
189
 
182
190
  {{- define "hyrax.redis.url" -}}
183
- {{- printf "redis://:%s@%s:%s" .Values.redis.password (include "hyrax.redis.host" .) "6379/0" -}}
191
+ {{- printf "redis://:%s@%s:%s" .Values.redis.auth.password (include "hyrax.redis.host" .) "6379/0" -}}
184
192
  {{- end -}}
185
193
 
186
194
  {{- define "hyrax.nginx.host" -}}
@@ -1,5 +1,5 @@
1
1
  {{- if .Values.embargoRelease.enabled }}
2
- apiVersion: batch/v1beta1
2
+ apiVersion: batch/v1
3
3
  kind: CronJob
4
4
  metadata:
5
5
  metadata:
@@ -1,5 +1,5 @@
1
1
  {{- if .Values.leaseRelease.enabled }}
2
- apiVersion: batch/v1beta1
2
+ apiVersion: batch/v1
3
3
  kind: CronJob
4
4
  metadata:
5
5
  metadata:
@@ -9,7 +9,7 @@ spec:
9
9
  replicas: {{ .Values.worker.replicaCount }}
10
10
  selector:
11
11
  matchLabels:
12
- {{- include "hyrax.selectorLabels" . | nindent 6 }}
12
+ {{- include "hyrax.workerSelectorLabels" . | nindent 6 }}
13
13
  template:
14
14
  metadata:
15
15
  {{- with .Values.podAnnotations }}
@@ -17,7 +17,7 @@ spec:
17
17
  {{- toYaml . | nindent 8 }}
18
18
  {{- end }}
19
19
  labels:
20
- {{- include "hyrax.selectorLabels" . | nindent 8 }}
20
+ {{- include "hyrax.workerSelectorLabels" . | nindent 8 }}
21
21
  spec:
22
22
  initContainers:
23
23
  - name: db-wait
@@ -0,0 +1,8 @@
1
+ {{- range .Values.extraDeploy }}
2
+ ---
3
+ {{- if typeIs "string" . }}
4
+ {{- tpl . $ }}
5
+ {{- else }}
6
+ {{- tpl (. | toYaml) $ }}
7
+ {{- end }}
8
+ {{- end }}
@@ -10,13 +10,13 @@ data:
10
10
  DB_PASSWORD: {{ include "hyrax.postgresql.password" . | b64enc }}
11
11
  DATABASE_URL: {{ printf "postgresql://%s:%s@%s/%s?pool=5" ( include "hyrax.postgresql.username" . ) ( include "hyrax.postgresql.password" . ) ( include "hyrax.postgresql.host" . ) ( include "hyrax.postgresql.database" . ) | b64enc }}
12
12
  {{- if .Values.minio.enabled }}
13
- MINIO_ACCESS_KEY: {{ .Values.minio.accessKey.password | b64enc}}
14
- MINIO_SECRET_KEY: {{ .Values.minio.secretKey.password | b64enc}}
13
+ MINIO_ACCESS_KEY: {{ .Values.minio.auth.rootUser | b64enc}}
14
+ MINIO_SECRET_KEY: {{ .Values.minio.auth.rootPassword | b64enc}}
15
15
  {{- end }}
16
16
  {{- if not .Values.solrExistingSecret }}
17
17
  SOLR_ADMIN_PASSWORD: {{ include "hyrax.solr.password" . | b64enc }}
18
18
  {{- end }}
19
19
  {{- if .Values.redis.enabled }}
20
- REDIS_PASSWORD: {{ .Values.redis.password | b64enc}}
20
+ REDIS_PASSWORD: {{ .Values.redis.auth.password | b64enc}}
21
21
  SIDEKIQ_REDIS_URL: {{ include "hyrax.redis.url" . | b64enc }}
22
22
  {{- end }}
@@ -66,6 +66,10 @@ extraEnvFrom: []
66
66
  # tty: true
67
67
  extraContainerConfiguration: []
68
68
 
69
+ ## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template)
70
+ ##
71
+ extraDeploy: []
72
+
69
73
  # an existing volume containing a Hyrax-based application
70
74
  # must be a ReadWriteMany volume if worker is enabled
71
75
  applicationExistingClaim: ""
@@ -229,10 +233,9 @@ memcached:
229
233
 
230
234
  minio:
231
235
  enabled: false
232
- accessKey:
233
- password: hyrax-access-key
234
- secretKey:
235
- password: hyrax-secret-key
236
+ auth:
237
+ rootUser: hyrax-access-key
238
+ rootPassword: hyrax-secret-key
236
239
  persistence:
237
240
  enabled: false
238
241
  # defaultBuckets: bucketOne;bucketTwo
@@ -242,15 +245,18 @@ postgresql:
242
245
  image:
243
246
  repository: bitnami/postgresql
244
247
  tag: 12.3.0
245
- postgresqlUsername: hyrax
246
- postgresqlPassword: hyrax_pass
247
- postgresqlDatabase: hyrax
248
- servicePort: 5432
249
- # cpu: 1000m
250
- # memory: 1Gi
251
- # persistence:
252
- # size: 10Gi
253
-
248
+ auth:
249
+ database: hyrax
250
+ password: hyrax_pass
251
+ username: hyrax
252
+ primary:
253
+ service:
254
+ ports:
255
+ postgresql: 5432
256
+ readReplicas:
257
+ service:
258
+ ports:
259
+ postgresql: 5432
254
260
 
255
261
  ## Nginx proxy is used to keep puma from having to serve static assets
256
262
  ## and to act as an auth proxy for Cantelope
@@ -391,14 +397,15 @@ nginx:
391
397
 
392
398
  redis:
393
399
  enabled: true
394
- password: mysecret
400
+ auth:
401
+ password: mysecret
395
402
 
396
403
  solr:
397
404
  enabled: true
398
405
  image:
399
406
  repository: bitnami/solr
400
407
  tag: 8.11.1
401
- authentication:
408
+ auth:
402
409
  enabled: true
403
410
  adminUsername: admin
404
411
  adminPassword: admin
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Add support for engine routes to kaminari
4
+ Rails.application.config.to_prepare do
5
+ Kaminari::Helpers::Tag.class_eval do
6
+ def page_url_for(page)
7
+ params = params_for(page)
8
+ params[:only_path] = true
9
+ if @options[:route_set]
10
+ @options[:route_set].url_for params
11
+ else
12
+ @template.url_for params
13
+ end
14
+ end
15
+ end
16
+ end
@@ -589,7 +589,7 @@ de:
589
589
  depositor: Deponent
590
590
  directions: Unabhängig von den Sichtbarkeitseinstellungen für diese Arbeit können Sie sie auch für andere Benutzer und Gruppen freigeben.
591
591
  group: Gruppe
592
- permissions_save_note_html: Berechtigungen werden <strong> nicht </ strong> gespeichert, bis die Option & quot; Speichern & quot; Die Taste wird unten auf der Seite gedrückt.
592
+ permissions_save_note_html: Berechtigungen werden <strong> nicht </strong> gespeichert, bis die Option & quot; Speichern & quot; Die Taste wird unten auf der Seite gedrückt.
593
593
  use_add_button: Verwenden Sie die Schaltfläche "Hinzufügen", um Zugriff auf jeweils eine %{account_label} zu gewähren (diese wird der folgenden Liste hinzugefügt). Wählen Sie den Benutzer nach Name oder %{account_label} \ aus. Wählen Sie dann die Zugriffsebene aus, die Sie gewähren möchten, und klicken Sie auf Add this %{account_label}, um das Hinzufügen der Berechtigung abzuschließen.
594
594
  form_thumbnail:
595
595
  help_html: Wählen Sie die Datei aus, die als Miniaturansicht für diese Arbeit verwendet werden soll.
@@ -1405,14 +1405,14 @@ de:
1405
1405
  count:
1406
1406
  collections:
1407
1407
  collections_listing: Auflistung der Sammlungen
1408
- in_repo: "<strong> %{total_count} Sammlungen </ strong> im Repository"
1409
- you_manage: "<strong> %{total_count} Sammlungen </ strong>, die Sie im Repository verwalten können"
1410
- you_own: "<strong> %{total_count} Sammlungen </ strong>, die Sie im Repository besitzen"
1408
+ in_repo: "<strong> %{total_count} Sammlungen </strong> im Repository"
1409
+ you_manage: "<strong> %{total_count} Sammlungen </strong>, die Sie im Repository verwalten können"
1410
+ you_own: "<strong> %{total_count} Sammlungen </strong>, die Sie im Repository besitzen"
1411
1411
  works:
1412
- in_repo: "<strong> %{total_count} Arbeiten </ strong> im Repository"
1412
+ in_repo: "<strong> %{total_count} Arbeiten </strong> im Repository"
1413
1413
  works_listing: Auflistung der Arbeiten
1414
- you_manage: "<strong> %{total_count} Arbeiten </ strong>, das Sie im Repository verwalten können"
1415
- you_own: "<strong> %{total_count} Arbeiten </ strong>, das Sie im Repository besitzen"
1414
+ you_manage: "<strong> %{total_count} Arbeiten </strong>, das Sie im Repository verwalten können"
1415
+ you_own: "<strong> %{total_count} Arbeiten </strong>, das Sie im Repository besitzen"
1416
1416
  sort_and_per_page:
1417
1417
  number_of_results_to_display_per_page: Anzahl der anzuzeigenden Ergebnisse pro Seite
1418
1418
  nav_safety:
@@ -1412,14 +1412,14 @@ es:
1412
1412
  count:
1413
1413
  collections:
1414
1414
  collections_listing: Listado de colecciones
1415
- in_repo: "<strong> colecciones %{total_count} </ strong> en el repositorio"
1416
- you_manage: "<strong> colecciones %{total_count} </ strong> puede administrar en el repositorio"
1417
- you_own: "<strong> colecciones %{total_count} </ strong> que posee en el repositorio"
1415
+ in_repo: "<strong> colecciones %{total_count} </strong> en el repositorio"
1416
+ you_manage: "<strong> colecciones %{total_count} </strong> puede administrar en el repositorio"
1417
+ you_own: "<strong> colecciones %{total_count} </strong> que posee en el repositorio"
1418
1418
  works:
1419
- in_repo: "<strong> %{total_count} funciona </ strong> en el repositorio"
1419
+ in_repo: "<strong> %{total_count} funciona </strong> en el repositorio"
1420
1420
  works_listing: Listado de obras
1421
- you_manage: "<strong> %{total_count} funciona </ strong> puedes administrar en el repositorio"
1422
- you_own: "<strong> %{total_count} funciona </ strong> en el repositorio"
1421
+ you_manage: "<strong> %{total_count} funciona </strong> puedes administrar en el repositorio"
1422
+ you_own: "<strong> %{total_count} funciona </strong> en el repositorio"
1423
1423
  sort_and_per_page:
1424
1424
  number_of_results_to_display_per_page: Número de resultados a mostrar por página
1425
1425
  nav_safety:
@@ -1840,4 +1840,4 @@ es:
1840
1840
  html: <span class="badge badge-info required-tag">obligatorio</span>
1841
1841
  total_view:
1842
1842
  one: Este trabajo tiene 1 vista total
1843
- other: Este trabajo tiene un total de %{count} visualizaciones
1843
+ other: Este trabajo tiene un total de %{count} visualizaciones
@@ -595,7 +595,7 @@ fr:
595
595
  depositor: Déposant
596
596
  directions: Indépendamment des paramètres de visibilité pour ce travail, vous pouvez également le partager avec d'autres utilisateurs et groupes.
597
597
  group: Groupe
598
- permissions_save_note_html: Les autorisations ne sont <strong> pas </ strong> enregistrées tant que le & quot; Enregistrer & quot; bouton est enfoncé en bas de la page.
598
+ permissions_save_note_html: Les autorisations ne sont <strong> pas </strong> enregistrées tant que le & quot; Enregistrer & quot; bouton est enfoncé en bas de la page.
599
599
  use_add_button: Utilisez le bouton Ajouter pour donner accès à un %{account_label} à la fois (il sera ajouté à la liste ci-dessous). Sélectionnez l'utilisateur, par son nom ou par %{account_label} \. Ensuite, sélectionnez le niveau d'accès que vous souhaitez accorder et cliquez sur Ajouter ce %{account_label} pour terminer l'ajout de l'autorisation.
600
600
  form_thumbnail:
601
601
  help_html: Sélectionnez le fichier à utiliser comme vignette pour ce travail.
@@ -1411,14 +1411,14 @@ fr:
1411
1411
  count:
1412
1412
  collections:
1413
1413
  collections_listing: Liste des collections
1414
- in_repo: "<strong> Collections %{total_count} </ strong> dans le référentiel"
1415
- you_manage: "<strong> collections %{total_count} </ strong> que vous pouvez gérer dans le référentiel"
1416
- you_own: "<strong> collections %{total_count} </ strong> que vous possédez dans le référentiel"
1414
+ in_repo: "<strong> Collections %{total_count} </strong> dans le référentiel"
1415
+ you_manage: "<strong> collections %{total_count} </strong> que vous pouvez gérer dans le référentiel"
1416
+ you_own: "<strong> collections %{total_count} </strong> que vous possédez dans le référentiel"
1417
1417
  works:
1418
- in_repo: "<strong> %{total_count} fonctionne </ strong> dans le référentiel"
1418
+ in_repo: "<strong> %{total_count} fonctionne </strong> dans le référentiel"
1419
1419
  works_listing: Liste des travaux
1420
- you_manage: "<strong> %{total_count} fonctionne </ strong> vous pouvez gérer dans le référentiel"
1421
- you_own: "<strong> %{total_count} fonctionne </ strong> que vous possédez dans le référentiel"
1420
+ you_manage: "<strong> %{total_count} fonctionne </strong> vous pouvez gérer dans le référentiel"
1421
+ you_own: "<strong> %{total_count} fonctionne </strong> que vous possédez dans le référentiel"
1422
1422
  sort_and_per_page:
1423
1423
  number_of_results_to_display_per_page: Nombre de résultats à afficher par page
1424
1424
  nav_safety:
@@ -1839,4 +1839,4 @@ fr:
1839
1839
  html: <span class="badge badge-info required-tag">Champs obligatoires</span>
1840
1840
  total_view:
1841
1841
  one: Ce travail a 1 vue totale
1842
- other: Ce travail a zxzxxx0 vues au total
1842
+ other: Ce travail a zxzxxx0 vues au total
@@ -1410,14 +1410,14 @@ it:
1410
1410
  count:
1411
1411
  collections:
1412
1412
  collections_listing: Elenco delle collezioni
1413
- in_repo: "<strong> collezioni %{total_count} </ strong> nel repository"
1414
- you_manage: "<strong> collezioni %{total_count} </ strong> che puoi gestire nel repository"
1415
- you_own: "<strong> collezioni %{total_count} </ strong> che possiedi nel repository"
1413
+ in_repo: "<strong> collezioni %{total_count} </strong> nel repository"
1414
+ you_manage: "<strong> collezioni %{total_count} </strong> che puoi gestire nel repository"
1415
+ you_own: "<strong> collezioni %{total_count} </strong> che possiedi nel repository"
1416
1416
  works:
1417
- in_repo: "<strong> %{total_count} funziona </ strong> nel repository"
1417
+ in_repo: "<strong> %{total_count} funziona </strong> nel repository"
1418
1418
  works_listing: Elenco delle opere
1419
- you_manage: "<strong> %{total_count} funziona </ strong> che puoi gestire nel repository"
1420
- you_own: "<strong> %{total_count} funziona </ strong> nel repository"
1419
+ you_manage: "<strong> %{total_count} funziona </strong> che puoi gestire nel repository"
1420
+ you_own: "<strong> %{total_count} funziona </strong> nel repository"
1421
1421
  sort_and_per_page:
1422
1422
  number_of_results_to_display_per_page: Numero di risultati da visualizzare per pagina
1423
1423
  nav_safety:
@@ -1838,4 +1838,4 @@ it:
1838
1838
  html: <span class="badge badge-info required-tag">necessario</span>
1839
1839
  total_view:
1840
1840
  one: Quest'opera ha 1 vista totale
1841
- other: Questo lavoro ha %{count} visualizzazioni totali
1841
+ other: Questo lavoro ha %{count} visualizzazioni totali
@@ -1405,14 +1405,14 @@ pt-BR:
1405
1405
  count:
1406
1406
  collections:
1407
1407
  collections_listing: Listagem de coleções
1408
- in_repo: "<strong> coleções %{total_count} </ strong> no repositório"
1409
- you_manage: "<strong> %{total_count} coleções</ strong> que você pode curatelar no repositório"
1410
- you_own: "<strong> %{total_count} coleções </ strong> que você possui no repositório"
1408
+ in_repo: "<strong> coleções %{total_count} </strong> no repositório"
1409
+ you_manage: "<strong> %{total_count} coleções</strong> que você pode curatelar no repositório"
1410
+ you_own: "<strong> %{total_count} coleções </strong> que você possui no repositório"
1411
1411
  works:
1412
- in_repo: "<strong> %{total_count} obras </ strong> no repositório"
1412
+ in_repo: "<strong> %{total_count} obras </strong> no repositório"
1413
1413
  works_listing: Lista de obras
1414
- you_manage: "<strong> %{total_count} obras </ strong> que você pode curatelar no repositório"
1415
- you_own: "<strong> %{total_count} obras </ strong> que você possui no repositório"
1414
+ you_manage: "<strong> %{total_count} obras </strong> que você pode curatelar no repositório"
1415
+ you_own: "<strong> %{total_count} obras </strong> que você possui no repositório"
1416
1416
  sort_and_per_page:
1417
1417
  number_of_results_to_display_per_page: Número de resultados a serem exibidos por página
1418
1418
  nav_safety:
@@ -1833,4 +1833,4 @@ pt-BR:
1833
1833
  html: <span class="badge badge-info required-tag">obrigatórios</span>
1834
1834
  total_view:
1835
1835
  one: Este trabalho tem 1 visualização total
1836
- other: Este trabalho tem %{count} visualizações totais
1836
+ other: Este trabalho tem %{count} visualizações totais
@@ -592,7 +592,7 @@ zh:
592
592
  depositor: 储户
593
593
  directions: 无论此工作的可见性设置如何,您也可以与其他用户和组共享。
594
594
  group: 组
595
- permissions_save_note_html: 权限<strong> </ strong>保存,直到“保存”为止。按钮在页面底部按下。
595
+ permissions_save_note_html: 权限<strong> </strong>保存,直到“保存”为止。按钮在页面底部按下。
596
596
  use_add_button: 使用添加按钮一次可以访问一个%{account_label}(它将被添加到下面的列表中)。按名称或%{account_label} \选择用户。然后选择您要授予的访问级别,并单击“添加此%{account_label}”以完成添加权限。
597
597
  form_thumbnail:
598
598
  help_html: 选择要用作此作品缩略图的文件。
@@ -1408,14 +1408,14 @@ zh:
1408
1408
  count:
1409
1409
  collections:
1410
1410
  collections_listing: 收藏清单
1411
- in_repo: 存储库中的<strong> %{total_count}集合</ strong>
1412
- you_manage: 您可以在存储库中管理<strong> %{total_count}集合</ strong>
1413
- you_own: 您在存储库中拥有<strong> %{total_count}集合</ strong>
1411
+ in_repo: 存储库中的<strong> %{total_count}集合</strong>
1412
+ you_manage: 您可以在存储库中管理<strong> %{total_count}集合</strong>
1413
+ you_own: 您在存储库中拥有<strong> %{total_count}集合</strong>
1414
1414
  works:
1415
- in_repo: 存储库中的<strong> %{total_count}有效</ strong>
1415
+ in_repo: 存储库中的<strong> %{total_count}有效</strong>
1416
1416
  works_listing: 作品清单
1417
- you_manage: 您可以在存储库中管理<strong> %{total_count}作品</ strong>
1418
- you_own: 您在存储库中拥有<strong> %{total_count}作品</ strong>
1417
+ you_manage: 您可以在存储库中管理<strong> %{total_count}作品</strong>
1418
+ you_own: 您在存储库中拥有<strong> %{total_count}作品</strong>
1419
1419
  sort_and_per_page:
1420
1420
  number_of_results_to_display_per_page: 每页显示的结果数
1421
1421
  nav_safety:
@@ -1836,4 +1836,4 @@ zh:
1836
1836
  html: <span class="badge badge-info required-tag">需要的</span>
1837
1837
  total_view:
1838
1838
  one: 该作品共有 1 次浏览
1839
- other: 此作品总浏览量为 %{count}
1839
+ other: 此作品总浏览量为 %{count}
@@ -0,0 +1,130 @@
1
+ # This is the metadata used for `Hyrax::FileSet`s.` It is similar to
2
+ # `basic_metadata.yaml`, but not exactly the same.
3
+ #
4
+ # Terms which are already present in `core_metadata.yaml` are not repeated here.
5
+ attributes:
6
+ # Required attributes:
7
+ creator:
8
+ type: string
9
+ multiple: true
10
+ form:
11
+ required: true
12
+ primary: true
13
+ index_keys:
14
+ - "creator_tesim"
15
+ license:
16
+ type: string
17
+ multiple: true
18
+ form:
19
+ required: true
20
+ primary: true
21
+
22
+ # Other attributes:
23
+ abstract:
24
+ type: string
25
+ multiple: true
26
+ # form:
27
+ # primary: false
28
+ # missing: access_right
29
+ # missing: alternative_title
30
+ based_near:
31
+ type: string
32
+ multiple: true
33
+ form:
34
+ primary: false
35
+ index_keys:
36
+ - "based_near_sim"
37
+ - "based_near_tesim"
38
+ # missing: bibliograpic_citation
39
+ contributor:
40
+ type: string
41
+ multiple: true
42
+ form:
43
+ primary: false
44
+ # required: creator
45
+ date_created:
46
+ type: date_time
47
+ multiple: true
48
+ form:
49
+ primary: false
50
+ index_keys:
51
+ - "date_created_tesim"
52
+ description:
53
+ type: string
54
+ multiple: true
55
+ form:
56
+ primary: false
57
+ index_keys:
58
+ - "description_tesim"
59
+ identifier:
60
+ type: string
61
+ multiple: true
62
+ form:
63
+ primary: false
64
+ # missing: import_url
65
+ keyword:
66
+ type: string
67
+ multiple: true
68
+ form:
69
+ primary: false
70
+ index_keys:
71
+ - "keyword_sim"
72
+ - "keyword_tesim"
73
+ # missing: publisher
74
+ label:
75
+ type: string
76
+ # form:
77
+ # primary: false
78
+ language:
79
+ type: string
80
+ multiple: true
81
+ form:
82
+ primary: false
83
+ # required: license
84
+ publisher:
85
+ type: string
86
+ multiple: true
87
+ form:
88
+ primary: false
89
+ related_url:
90
+ type: string
91
+ multiple: true
92
+ form:
93
+ primary: false
94
+ index_keys:
95
+ - "related_url_tesim"
96
+ relative_path:
97
+ type: string
98
+ resource_type:
99
+ type: string
100
+ multiple: true
101
+ # form:
102
+ # primary: false
103
+ index_keys:
104
+ - "resource_type_sim"
105
+ - "resource_type_tesim"
106
+ rights_notes:
107
+ type: string
108
+ multiple: true
109
+ # form:
110
+ # primary: false
111
+ rights_statement:
112
+ type: string
113
+ multiple: true
114
+ # form:
115
+ # primary: true
116
+ index_keys:
117
+ - "rights_statement_tesim"
118
+ source:
119
+ type: string
120
+ multiple: true
121
+ # form:
122
+ # primary: false
123
+ subject:
124
+ type: string
125
+ multiple: true
126
+ form:
127
+ primary: false
128
+ index_keys:
129
+ - "subject_sim"
130
+ - "subject_tesim"