Commit Graph

1911 Commits

Author SHA1 Message Date
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
Michael Stenta 1e714a2453 Rename View display from rest_export to csv, and override footer for all displays, for consistency. 2021-09-20 15:07:26 -04:00
Michael Stenta 4570ccd975 Use full pager for data stream basic View and limit to 100 records per page. 2021-09-20 15:07:25 -04:00
Michael Stenta 7933934261 Improve "public" field description. 2021-09-20 15:07:25 -04:00
Michael Stenta 55a7cf3571 Remove @todo Include link to updated user guide. 2021-09-20 15:07:25 -04:00
Michael Stenta 5478293d2b Translate labels in developer information. 2021-09-20 15:07:25 -04:00
Michael Stenta 9947062f0c Add a link to the legacy API endpoint in developer information fieldset. 2021-09-20 15:07:25 -04:00
Michael Stenta 4a236b1a86 Delete data_stream references from sensor assets during migration rollback. 2021-09-20 15:07:25 -04:00
Michael Stenta 09eb532f87 Document sensor data migration steps and considerations. 2021-09-20 15:07:25 -04:00
Michael Stenta f9ecfbbf91 Popup name is required to show popup.
This fixes an issue introduced in commit fcf32771bd
which broke cluster popups. This still works to fix the issue
that the previous commit sought to fix (do not show popups
while drawing).
2021-09-20 15:07:24 -04:00
Michael Stenta 4d1c14b14b Render the data stream entity references and developer information in the bottom region of asset pages. 2021-09-20 15:07:24 -04:00