Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 i693 - controlled vocab location dropdown does not load #115

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/initializers/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@
# Also, we will continue to extract txt file's text using Adventist::TextFileTextExtractionService
config.extract_full_text = false
config.work_requires_files = false

# Location autocomplete uses geonames to search for named regions.
# Specify the user for connecting to geonames:
# Register here: http://www.geonames.org/manageaccount
config.geonames_username = ENV.fetch('HYKU_GEONAMES_USERNAME', 'jcoyne')
Copy link
Author

@ShanaLMoore ShanaLMoore Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jcoyne is the username that adventist production uses. I created a new account/username but jcoyne could be used as a fallback here.

the new username/password is in 1password if anyone ever needs access to geonames.org

end
1 change: 1 addition & 0 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ en:
title: A name to aid in identifying the Administrative Set and to distinguish it from other Administrative Sets in the repository.
collection:
based_near: A place name related to the collection, such as its site of publication, or the city, state, or country the collection contents are about. Calls upon the <a href='http://www.geonames.org'>GeoNames web service</a>.
based_near_label: A place name related to the work, such as its site of publication, or the city, state, or country the work contents are about. Calls upon the <a href='http://www.geonames.org'>GeoNames web service</a>.
contributor: A person or group you want to recognize for playing a role in the creation of the collection, but not the primary role.
creator: The person or group responsible for the collection. Usually this is the author of the content. Personal names should be entered with the last name first, e.g. &quot;Smith, John.&quot;.
date_created: The date on which the collection was created.
Expand Down
2 changes: 2 additions & 0 deletions ops/dev-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ extraEnvVars: &envVars
value: 'changeme@example.com'
- name: HYKU_DEFAULT_HOST
value: "%{tenant}.s2.adventistdigitallibrary.org"
- name: HYKU_GEONAMES_USERNAME
value: 'scientist'
- name: HYKU_MULTITENANT
value: "true"
- name: HYKU_ROOT_HOST
Expand Down
2 changes: 2 additions & 0 deletions ops/production-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ extraEnvVars: &envVars
value: "%{tenant}.b2.adventistdigitallibrary.org"
- name: HYKU_FILE_ACL
value: "false"
- name: HYKU_GEONAMES_USERNAME
value: 'scientist'
- name: HYKU_MULTITENANT
value: "true"
- name: HYKU_ROOT_HOST
Expand Down
2 changes: 2 additions & 0 deletions ops/staging-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ extraEnvVars: &envVars
value: "8080"
- name: FCREPO_REST_PATH
value: rest
- name: HYKU_GEONAMES_USERNAME
value: 'scientist'
# - name: GOOGLE_ANALYTICS_ID
# value: $GOOGLE_ANALYTICS_ID
# - name: GOOGLE_OAUTH_APP_NAME
Expand Down
Loading