Commit Graph

1983 Commits

Author SHA1 Message Date
Michael Stenta c26ac4f5a2 Bump Gin to alpha36. 2021-09-24 09:41:46 -04:00
paul121 585f3eaecb Add missing default_measure key for material quantity. #448 2021-09-24 07:30:32 -04:00
Michael Stenta e0e34d6e01 The farm_geo module depends on geofield for the geofield.geophp service. 2021-09-23 16:54:55 -04:00
Michael Stenta bc7af7bd47 Issue #3220627: Optionally apply configuration changes automatically 2021-09-23 10:05:49 -04:00
Michael Stenta 74bbbd180f Document that it may be necessary to clear caches after farmOS updates. 2021-09-23 10:01:41 -04:00
Michael Stenta db40dc13a6 Exclude system.performance config from automatic updates. 2021-09-23 09:55:41 -04:00
Michael Stenta b08c9ab1b5 Exclude user.role.anonymous and user.role.authenticated config from automatic updates. 2021-09-23 09:55:41 -04:00
Michael Stenta 7eccc896cd Document farmOS Update module's automatic configuration updates and exclusion options. 2021-09-23 09:55:41 -04:00
Michael Stenta d51176aef1 Automated tests of farmOS Update module. 2021-09-23 09:55:41 -04:00
Michael Stenta f575b0039f Exclude farm_update.settings config from automatic updates, just to be safe. 2021-09-23 09:55:41 -04:00
Michael Stenta f881bea2e3 Allow additional config exclusions to be defined in farm_update.settings. 2021-09-23 09:55:41 -04:00
Michael Stenta e36ac7a33f Exclude quantity.settings config from automatic updates. 2021-09-23 09:55:41 -04:00
Michael Stenta 938fb5926c Exclude config that we override in hook_install(). 2021-09-23 09:55:41 -04:00
Michael Stenta a46c0923a0 Exclude core configuration items from automatic updates. 2021-09-23 09:55:41 -04:00
Michael Stenta 24d158341f Add a hook_farm_update_exclude_config() to allow modules to exclude config from automatic updates. 2021-09-23 09:55:41 -04:00
Michael Stenta 95702e5be4 Log when reverting config fails. 2021-09-23 09:55:41 -04:00
Michael Stenta 8d034c5186 Revert overridden configuration on rebuild().
Inspired by ConfigUpdateUiCliService.
2021-09-23 09:55:41 -04:00
Michael Stenta 59dd58a962 Provide a farm_update:rebuild Drush command. 2021-09-23 09:55:41 -04:00
Michael Stenta 039eb0fbf5 Run FarmUpdate::rebuild() via hook_rebuild(). 2021-09-23 09:55:41 -04:00
Michael Stenta 2dd6a268f8 Initial farm.update service with rebuild() method. 2021-09-23 09:55:41 -04:00
Michael Stenta fbb589655d Initial farm_update module.
Installed with base modules.
2021-09-23 09:55:41 -04:00
Symbioquine cc01293168 Update testing docs to reflect recent changes #445
**Why?** The docs were out of date - not capturing the
need for a Chrome/Selenium container and including info
about an XDebug work-around that isn't needed any more.
2021-09-23 09:44:54 -04:00
Michael Stenta 9e7598955c Issue #3236712 by evamtinez, m.stenta: Allow render custom blocks in the dashboard 2021-09-22 15:18:49 -04:00
Michael Stenta 7092a0830f Refactor dashboard block handling to always expect block plugin ID. 2021-09-22 15:17:17 -04:00
Eva Martinez 3ea20c1d63 #3236712: Renamed block plugin variable and use the renamed dashboard pane key and simplify block access check. 2021-09-22 15:10:31 -04:00
Eva Martinez ddefa1e2c9 #3236712: Rename new dashboard pane key. 2021-09-22 15:10:31 -04:00
Eva Martinez af786a9abc #3236712: Added functionality to render custom blocks in dashboard. 2021-09-22 15:10:31 -04:00
Eva Martinez 62562def8f #3236712: Added new plugin block key to dashboard pane. 2021-09-22 15:10:31 -04:00
Michael Stenta 2170fd57c4 Issue #3196834 by s33a, paul121, m.stenta, Symbioquine: Material assets, types, quantities, inventory, and filtering 2021-09-22 14:45:37 -04:00
paul121 95c916b8e9 Add functional test of quantity type views filter. 2021-09-22 14:45:20 -04:00
Michael Stenta 51d3a40123 Move QuantityEventSubscriber to farm_material module. 2021-09-22 14:45:20 -04:00
Michael Stenta 219311568c Create material quantities after general log quantities.
The thought here is that the "important" quantities should be
"first" on the log.
2021-09-22 14:45:20 -04:00
paul121 c1c89c7ddc Add the log quantity material type filter to page_type and page_asset displays. 2021-09-22 14:45:20 -04:00
paul121 1170e81242 Add LogQuantitymaterialType views filter. 2021-09-22 14:45:20 -04:00
paul121 d4b24222ea Auto-populate material type term reference from a material inventory asset. 2021-09-22 14:45:20 -04:00
paul121 ae08790b56 Input logs default to the material quantity type. 2021-09-22 14:45:20 -04:00
Michael Stenta c4bd241ed3 Remove material term reference field from Input logs. 2021-09-22 14:45:20 -04:00
paul121 5fd89cf2f8 Migrate input log material term reference field to Material Quantities. 2021-09-22 14:45:20 -04:00
paul121 a847724a46 Save quantities as a pseudo field in the farm_migrate_log migration group.
This is necessary so that individual log types can use pseudo fields in
the "quantity" process if they override it themselves.

When a migration group defines shared_configuration processes that are
overwritten by a migration, the processes are still executed in the
order defined by the migration group. This prevents an individual
migration from using its own pseudo fields for a process that it
overrides.
2021-09-22 14:45:20 -04:00
Michael Stenta a95c487b9d Add a Material Quantity type with a Material type term reference field. 2021-09-22 14:45:20 -04:00
s33a 4b1b93efda Add a "Material type" reference field to Material assets. 2021-09-22 14:45:20 -04:00
s33a 13492129e6 Add a Material asset type. 2021-09-22 14:45:20 -04:00
s33a b88877b617 Rename "Material" taxonomy to "Material types".
This also changes the `material` term reference field on
Input logs to `material_type`, and updates all migrations
accordingly.
2021-09-22 14:45:20 -04:00
Michael Stenta ede1ed7605 Fix "entity.plan.collection does not exist" when plans module is not enabled. 2021-09-22 14:43:45 -04:00
Michael Stenta 08af6eb095 Merge branch '2.x-birth-logic' into 2.x
This replicates some of the automated logic for birth logs from 7.x-1.x.
2021-09-22 08:38:42 -04:00
Michael Stenta 320ec3d331 Add INSERT and UPDATE log events. 2021-09-21 17:34:54 -04:00
Michael Stenta d81c417ff5 Link animal birthdate field to birth log, if available. 2021-09-21 17:34:54 -04:00
Michael Stenta 92cef7f8f8 Validate that only one birth log can reference an asset. 2021-09-21 17:34:54 -04:00
Michael Stenta 3a649a8b42 When a birth log is saved, copy mother and date to children assets. 2021-09-21 17:34:54 -04:00
Michael Stenta f97029b010 Rename the Asset field to Children in Birth logs. 2021-09-21 17:34:54 -04:00