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

I2194 address pr feedback and then some #2195

Merged
merged 9 commits into from
Apr 29, 2024
Merged

Conversation

ShanaLMoore
Copy link
Collaborator

@ShanaLMoore ShanaLMoore commented Apr 24, 2024

ref feedback:

I will also be correcting anything else wrong that I'm noticing, while spinning up the app.

After this gets merged, we will cut a new release of hyku!

FIXES INCLUDE:

  • PR feedback
  • defaults basic auth to samvera/hyku
  • sets favicon and updates view to support it
  • adds raise to has_matcher_decorator to alert user of missing geonames. This should be moved to bulkrax but we're leaving it here for now.
  • removes sidekiq.rake per Rob's request. It was intentionally removed from Hyku previously.
  • adds a Hyrax bug fix to location_indexer_decorator to pass a string and avoid based_near error when nil
  • Rob contributed back redis cache store setting in production.rb config
  • rubocop fix to recent_document partial.
  • spec updates

- Replace hardcoded authentication credentials in ApplicationController with class attributes.
- Introduce an initializer to set HTTP basic auth credentials dynamically from environment variables.
- Update the authenticate_if_needed method to utilize class attributes for username and password verification.
There was a mix of old + update code which caused the site to break on hyku.test, because of the favicon.

It has been updated to mostly match the way pals has it.
- scientist-softserv/palni-palci@3483da1
Rob left feedback confirming that sidekiq.rake was removed from hyku intentionally, so we shouldn't add it back.
@ShanaLMoore ShanaLMoore marked this pull request as draft April 24, 2024 00:09
@ShanaLMoore ShanaLMoore added the patch-ver for release notes label Apr 24, 2024
passing an obj instead of a string breaks and fails bulkrax imports, when based_near is nil.
This commit should fix the cause of spec failures in has_matchers_decorator_spec.rb
@ShanaLMoore ShanaLMoore marked this pull request as ready for review April 25, 2024 20:59
kirkkwang
kirkkwang previously approved these changes Apr 26, 2024
<link rel="icon" href="<%= Site&.favicon&.url(:v128) %>" sizes="128x128">
<link rel="icon" href="<%= Site&.favicon&.url(:v128) %>" sizes="192x192">
<link rel="icon" href="<%= Site&.favicon&.url(:v228) %>" sizes="228x228">
<link rel="icon" href="<%= favicon(:v32) %>" sizes="32x32">
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe the changes to this file may break the ability to upload the favicon through the Admin UI...

Copy link
Collaborator

@laritakr laritakr left a comment

Choose a reason for hiding this comment

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

I'm requesting either a change or verification that the favicon changes don't break existing ability.

@ShanaLMoore
Copy link
Collaborator Author

I'm requesting either a change or verification that the favicon changes don't break existing ability.

@laritakr I was still able to update the favicon from the admin dashboard:

It used to be the samvera tree, but I updated it on the hyku-local tenant, seen below. It seems like this is to set the default mainly for the proprietor page, unless the tenant specifies otherwise.

image image

laritakr
laritakr previously approved these changes Apr 26, 2024
@ShanaLMoore ShanaLMoore dismissed stale reviews from laritakr and kirkkwang via 087e287 April 29, 2024 15:04
@ShanaLMoore ShanaLMoore merged commit 13ebd18 into main Apr 29, 2024
4 checks passed
@ShanaLMoore ShanaLMoore deleted the i2194-address-pr-feedback branch April 29, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants