Release Highlights
- Read-only mode feature flipper added
- Collection Model configurable so that Collection class can be named something other than "Collection"
- Continued Valkyrie work behind the scenes getting closer to MVP - still in progress!
Enhancements
- Add read only mode feature (#5159)
- healthz: add okcomputer check for pending migrations (#5146)
- add feature tests for creating admin sets and collections (#5093)
- sipity: add debug-level logging to #Entity (#5107)
- add a listener for collection.metadata.updated to reindex collection (#5143)
- sipity: don't generate
true
comments (#5154) - add config for setting admin set model (#5175)
- add a publishable event for collection membership changes (#5186)
- add a file download event to
Hyrax.publisher
(#5212) - add a spec for DeepIndexingService (#5252)
Collection Model Selection
- make the Collection model class to use configurable (#5161)
- respect new collection model configuration throughout (#5167)
- don't hardcode collection class in WorkSearchBuilder specs (#5171)
- update CollectionSearchBuilder spec to tolerate model configuration (#5173)
- use both
::Collection
and any configured class for filter queries (#5174) - adjust stubs in WorkShowPresenter specs (#5180)
- don't hardcode collection class expectations in some specs (#5187)
- apply general curation_concerns permissions to configured collection (#5190)
- only test models that exist in collection abilities (#5206)
- add param_key and plural to
Hyrax::CollectionName
(#5219) - find legacy collections in CollectionsSearchBuilder (#5215)
- map SolrDocument#collection? to configured class (#5214)
- test AdminAdminSetMemberSearchBuilder for collection search (#5229)
Deprecations
- remove deprecated call to method (#5103)
Bug Fixes
- use correct/configured user_key in Workflow::DepositedNotification (#5120)
- use correct/configured user_key in Workflow::ChangesRequiredNotification (#5123)
- coerce
Hyrax::Permission#mode
to Symbol (#5140) - allow collection_type_ability to pass ability to PermissionsService (#5144)
- add Hyrax::Permissions to admin set to support acl connection (#5150)
- Use blank? instead of nil? for parent_collections in CollectionPresenter (#5164)
- fix MethodGenerator test flagged as flaky by CircleCI (#5168)
- maybe this template has never worked; what the heck? NOW WITH FIX (#5181)
- switch call to deprecated presenter method with a helper call (#5179)
- only skip loading resource for ActiveFedora in CollectionsController (#5191)
- don't fall through to 204 No Content when unsure of model type (#5221)
- fix bug in Hyrax::Ability#download_permissions SolrDocument handling (#5250)
- Set file label to original_filename when present (#5092)
- Update .dassie to ruby 2.7.4 (#5092)
Refactors
- remove
Collection
dependency fromHyrax::CollectionName
(#5110) - refactor WorkflowActionForm specs (#5105)
- remove dependency on collection.collection_type in dashboard/collections_controller (#5111)
- refactor specs GrantReadToDepositor workflow action (#5116)
- refactor collection members controller specs (#5160)
- in CollectionMembersController don't query for Collection to get id (#5162)
- use CanCan tooling to load resource for
WorkflowActionsController
(#5149) - let CanCan adapters load resource in CollectionsControllerBehavior (#5163)
- use AbstractTypeRelation for collection stats (#5170)
- load collection from CanCan tooling in CollectionMembersController (#5182)
- don't look up destination collection for 'move' action to access id (#5185)
- remove superflouous
subject
definitions from SolrDocument specs (#5194) - refactor
NestCollectionsController
andNestCollectionsForm
(#5200) - use collection’s permission create service instead of duplicating the process in admin set’s create service (#5202)
- helperize resolution of thumbnail labels (#5217)
- refactor AdminSetCreateService specs (#5227)
- simplify _relationships partial view spec (#5231)
- refactor dashboard collections form template (#5251)
- refactor specs for permission template access deletion (#5220)
Valkyrie Work
- add Valkyrie support to PermissionTemplate#reset_accss_controls_for (#5109)
- support valkyrie in WorkflowActionsController (#5112)
- check in on Hyrax::Workflow::ActivateObject for valkyrie (#5114)
- refactor specs for ActionTakenService to use Valkyrie (#5113)
- check in on Hyrax::Workflow::DeactivateObject for valkyrie (#5115)
- Add valkyrie support to Hyrax::Workflow::GrantReadToDepositor (#5118)
- Add valkyrie support to Hyrax::Workflow::RevokeEditFromDepositor (#5119)
- add factories for invalid admin set and default admin set (#5121)
- use AdminSetCreateService to create default admin set (#5124)
- use changesets for ActionTakenService (#5125)
- ensure we set Hyrax::Permission to Symbol (#5126)
- create an initial Form object for Valkyrie collections support (#5128)
- test Valkyrie (monograph) metadata edit (#5139)
- add transactions related to creating collections (#5147)
- update collection ability to work with Hyrax::PcdmCollection (#5148)
- add validations for required fields (#5158)
- apply more targeted handling for transactional save failures (#5153)
- support edit on Valkyrie native models when thumbnail and representative are set (#5156)
- update admin set ability to work with Hyrax::AdministrativeSet (#5151)
- refactor Dashboard::CollectionsController spec setup for Valkyrie (#5165)
- allow Hyrax::PcdmCollection to use the existing Collection i18n (#5172)
- add basic required metadata to the pcdm collection form (#5176)
- Add administrative set form with minimal metadata (#5177)
- include core metadata in administrative sets (#5178)
- change ManagedCollectionsServiceSpec to use valkyrie models in setup (#5183)
- update WorkSearchBuilder specs for Valkyrie (#5184)
- allow ResourceForm
s
#for` factory method to find Collection forms (#5189) - don't override a ChangeSet's existing data with a generic default (#5188)
- only set reindex-extent on AF collections (#5196)
- skip CollectionsMembershipActor specs if using Valkyrie collections (#5197)
- use valkyrie for PermissionsCreateService (#5195)
- add valkyrie handling for Dashboard::CollectionsController actions (#5193)
- update the ResourceSync list writer to support Valkyrie collections (#5199)
- Allow ExposedModelsRelation to support Valkryie collections (#5201)
- add depositor when collection is a valkyrie resource (#5204)
- apply permissions to collection from collection_type (#5203)
- skip CollectionForm specs if ActiveFedora isn't used for Collections (#5216)
- skip ActiveFedora indexing if Wings is disabled (#5218)
- Fix failure of new Valkyrie shared specs for storage adapters (#5225)
- Refactor AdminSetCreateService to work with both AdminSet and AdministrativeSet (#5224)
- respect hyrax index adapter config (#5223)
- include module for PermissionTemplate (#5238)
- add depositor to pcdm collection indexer (#5239)
- Fix admin set valkyrie create (#5240)
- Allow work form to display when wings is disabled (#5242)
- generated indexer test requires resource variable (#5249)
Documentation
- document WorkflowActionInfo (#5106)
- add some contextual documentation for
DefaultMiddlewareStack
. (#5226) - add see documentation to
Hyrax::Controller#transactions
(#5228)
Deployment
- bump alpine linux to 3.14 to fix imagemagick pyramidal tiffs (#5092)
- add hooks for init containers for pre-setup on DB and Solr (#5142)
- chart: bump version to 1.0.0 (#5145)
Full Changelog: v3.1.0...v3.2.0