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

move file related listeners to their own space #6743

Merged
merged 2 commits into from
Mar 28, 2024
Merged

move file related listeners to their own space #6743

merged 2 commits into from
Mar 28, 2024

Conversation

no-reply
Copy link
Contributor

these listener methods don't have to do with FileMetadata, so they should be reorganized out into their own class. this makes it easier for downstream apps to override behaviors that are only related to files.

@samvera/hyrax-code-reviewers

lib/hyrax/publisher.rb Outdated Show resolved Hide resolved
tamsin woo and others added 2 commits March 26, 2024 13:45
these listener methods don't have to do with `FileMetadata`, so they should be
reorganized out into their own class. this makes it easier for downstream apps
to override behaviors that are only related to files.
@dlpierce dlpierce merged commit b1789c0 into main Mar 28, 2024
6 checks passed
@dlpierce dlpierce deleted the file-listener branch March 28, 2024 19:11
jeremyf added a commit that referenced this pull request Apr 2, 2024
* main:
  prepare release 5.0.1
  fix blueimp file upload progress bars
  Pin sprockets to fix feature specs (#6762)
  move file related listeners to their own space (#6743)
  Fix “::Collection” definition with autoloading
  use the `Hyrax::FileSetFileService` to determine "primary file"
  make `default_workflow_spec.rb` order independent
  Fix typo for the raise statement
  chart: add support for startupProbe
  use `find_files(file_set: file_set)` in various specs
  avoid n+1 query on file_metadata delete
  ♻️ Liberating Factories
  Prevent current_ability from failing when SingleUseLink doesn't exist, and make current user available via current_ability
  Add failing tests for current_user in single use links viewer controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants