Michael Ritter [Tue, 27 Jan 2026 21:43:11 +0000 (14:43 -0700)]
DRYD-1837: TermRef Export Fixes (#491)
* Create enum for capturing the type of field being processed
* Differentiate between auth and term refs
* Use FieldType in order to test both isRefName and the type of ref
* Fix issue of multiple parts not deurning
Michael Ritter [Tue, 18 Nov 2025 23:43:48 +0000 (16:43 -0700)]
DRYD-1939: Search > Update AdvancedSearch to Spec (#487)
* Update advanced search xsd to match spec
* Update natural history extension to match stored data
* Add NAGPRA extension xsd
* Create additional classes to map CollectionObject data to the AdvancedSearchListItem fields
Michael Ritter [Tue, 4 Nov 2025 17:43:13 +0000 (10:43 -0700)]
DRYD-1837: New Authority CSV Export Format (#485)
* Add new parameter includeauthority to csv export service
* Update CSV Export to export authorities for fields when requested
* Add displayName to service binding xsd
Michael Ritter [Mon, 13 Oct 2025 20:56:04 +0000 (14:56 -0600)]
DRYD-1902: Update Strategy for AdvancedSearch Query (#478)
* Create DocumentModelHandler for retrieving full views for list requests
* Allow setting of DocumentModelHandler class in Resources
* Add xsd for collectionspace_core
* Update to avoid multiple CO Resource queries
* Create jaxb context for AdvancedSearch
* Replace Client pattern in AdvancedSearch
* Cleanup/removal of dead code
This is primarily to update the AdvancedSearch API in order to fetch the CollectionObjectCommon and CollectionSpaceCore documents directly without the need to call the CollectionObjectResource multiple times.
Spiros Dimopulos [Mon, 13 Oct 2025 06:58:17 +0000 (09:58 +0300)]
DRYD-1818: Implement image ordering functionality for public browser (#479)
* DRYD-1818: added denormRelatedObjects in DefaultESDocumentWriter to add objectCsid field holding media related objects.
* DRYD-1818: mapped identificationNumber, title as sortable keywords; mapped updatedAt as sortable date field; mapped objectCsid as filterable keyword;
Anthony Bucci [Thu, 28 Aug 2025 19:24:39 +0000 (15:24 -0400)]
Prototype advanced search endpoint (#474)
* initial stub of advancedsearch
* added advancedsearch to WAR
* added advancedsearch to jax rs application
* advanced search xsd
* 'model' abstraction for converting CollectionObject subobjects into a format more convenient to send back over the wire
* more robust extraction of brief description, object name, title, and responsible department
* retrieve CollectionObjectCommon from CollectionResource
Anthony Bucci [Thu, 15 May 2025 17:46:17 +0000 (17:46 +0000)]
DRYD-1747: Add update_userid function to database (#463)
* DRYD-1747: added update_userid_function.sql SQL script
* DRYD-1747: modified build.xml to copy new update_userid_function script to tomcat during deploy
* DRYD-1747: modified build.xml to run update_userid function creation during database creation
Co-authored-by: Anthony Bucci <abucci@bucci.onl>
* Include XSAny when searching for candidate usernames
* Add unit tests for findSamlAssertionCandidateUsernames
* DRYD-1687: Load NAGPRA reports in only core and anthro (#453)
* Update Version to 8.1.1 (#454)
* Update build release to 8.1.1
* Update cspace-ui release in build properties
* SAML SSO unit tests etc. (#455)
* Added two unit tests to SecurityUtilsTest to verify the found email address is correct
* Removed unused imports in SecurityUtilsTest
* Added unit tests for ServicesConfigReader while investigating DRYD-1702
* cleaned up leftover printlns in SecurityUtilsTest
* cleaned up imports in SecurityUtilsTest
* reorganized methods in ServicesConfigReaderImplTest
* refactored findUser method to make it easier to test and prepare it for deprecation of ReponseToken
* refactored some useful common code out of SecurityUtilsTest into AbstractSecurityTestBase
* refactored some of the SAML-object-creating utility methods
* made 'parse' methods public so they can be tested
* added unit test to check that 'identifier' probe assertions correctly pull out attribute values
* source cleanup: organizing imports, formatting
* added .mvn to .gitignore to ignore local, per-developer maven properties
---------
Co-authored-by: Anthony Bucci <abucci@bucci.onl>
* DRYD-1714: controlling when JAXB code generation runs, using a user-settable property controlling <phase> in the plugin execution
---------
Co-authored-by: Michael Ritter <mikejritter@users.noreply.github.com> Co-authored-by: Anthony Bucci <abucci@bucci.onl>
Anthony Bucci [Fri, 21 Mar 2025 19:59:28 +0000 (15:59 -0400)]
DRYD-1716: set the antrun plugin that runs check-env-vars to <inherited>false</inherited> (#456)
DRYD-1716: set the antrun plugin that runs check-env-vars to <inherited>false</inherited> to prevent child projects from running this check. It is now only run once.
Anthony Bucci [Fri, 21 Mar 2025 19:52:01 +0000 (15:52 -0400)]
DRYD-1712/DRYD-1715: only run `git-commit-id-plugin` once (#457)
* DRYD-1712/DRYD-1715: removed git-commit-id-plugin from topmost pom, which was inherited by all child poms, and instead placed it in JaxRsServiceProvider. This is the only project that needs it, since this is where the WAR is created and that's where systeminfo picks it up.
Anthony Bucci [Thu, 20 Mar 2025 18:58:33 +0000 (14:58 -0400)]
SAML SSO unit tests etc. (#455)
* Added two unit tests to SecurityUtilsTest to verify the found email address is correct
* Removed unused imports in SecurityUtilsTest
* Added unit tests for ServicesConfigReader while investigating DRYD-1702
* cleaned up leftover printlns in SecurityUtilsTest
* cleaned up imports in SecurityUtilsTest
* reorganized methods in ServicesConfigReaderImplTest
* refactored findUser method to make it easier to test and prepare it for deprecation of ReponseToken
* refactored some useful common code out of SecurityUtilsTest into AbstractSecurityTestBase
* refactored some of the SAML-object-creating utility methods
* made 'parse' methods public so they can be tested
* added unit test to check that 'identifier' probe assertions correctly pull out attribute values
* source cleanup: organizing imports, formatting
* added .mvn to .gitignore to ignore local, per-developer maven properties
Co-authored-by: Anthony Bucci <abucci@bucci.onl>
* Include XSAny when searching for candidate usernames
* Add unit tests for findSamlAssertionCandidateUsernames
Michael Ritter [Thu, 19 Dec 2024 23:14:58 +0000 (18:14 -0500)]
8.1 Reports QA (#444)
* Use objectproductionpeople for related culutres - summary; inventory
* Fix location for mni and afo counts - inventory
* Add collectors to description text - intent to repatriate
* Pull multiple involved parties - intent to repatriate
* Deurn objectproductionpeople - exhibition basic list
* Make header text more consistent for 8.1 reports
* Adjust header spacing and height for 8.1 reports
* Add 8.1 report descriptions
Michael Ritter [Fri, 13 Dec 2024 22:51:50 +0000 (15:51 -0700)]
Consultation Report QA (#443)
* All - Use LocalDate for date formatting
* All - Adjust header height for text which was clipped
* Inventory - Include date with status when available
* Inventory - Remove 'Lot' from AFO Count header
* Summary - Join related sites on collection objects
* Repatriation - Add field collection sites
* Repatriation - Remove 'Lot' from AFO Count header
Michael Ritter [Fri, 13 Dec 2024 22:26:49 +0000 (15:26 -0700)]
NAGPRA Reports QA (#442)
* Notice of Inventory - Fix join for object counts
* Notice of Inventory - Fix join for acquisition date
* Notice of Inventory - Coalesce for better null handling
* Notice of Inventory - Switch to JavaScript templating
* Notice of Inventory - Adjust spacing and increase header height
* Notice of Inventory - Add noData section when result set is empty
* Notice of Repatriation - Increase header height