3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

1921 commits

Author SHA1 Message Date
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
Michael Stenta
1c5f3e3539 Move Mother field above Assets (Children) field in Birth logs. 2021-09-21 17:34:54 -04:00
Michael Stenta
f0e33e076a Document file entities in the data model. 2021-09-20 16:49:53 -04:00
Michael Stenta
a54e1c0a62 Add help text to /assets, /logs, /quantities, and /plans. 2021-09-20 16:42:36 -04:00
Michael Stenta
b966281d77 Put farm_map_mapbox into "farmOS Maps" group. 2021-09-20 16:10:52 -04:00
Michael Stenta
293717e95b Put modules into "farmOS (Defaults)" group: farm_land_types, farm_structure_types, farm_role_roles. 2021-09-20 16:10:19 -04:00
Michael Stenta
1343f2393e Include "interoperability" in the goals of the data model. 2021-09-20 16:09:28 -04:00
Michael Stenta
d59f587d37 Simplify reverse_proxy_addresses example in docs/development/environment/https.md. 2021-09-20 16:08:59 -04:00
Michael Stenta
37d04b2559 Merge branch '2.x-data_stream_misc' into 2.x 2021-09-20 15:17:16 -04:00
Michael Stenta
31ae3b0246 Do not show full data_stream entity summaries on sensor pages. 2021-09-20 15:10:37 -04:00
Michael Stenta
c9f316adbb Display all data in CSV export. 2021-09-20 15:07:26 -04:00
Michael Stenta
bfb1e3cfbf Add row summary count to data stream basic View footer. 2021-09-20 15:07:26 -04:00
Michael Stenta
78bc327fa7 Require cookie authentication for CSV display. 2021-09-20 15:07:26 -04:00