Commit Graph

883 Commits

Author SHA1 Message Date
Michael Stenta 65b58591da Display all results in sensor data CSV export. 2019-04-23 17:48:33 -04:00
Michael Stenta e4f9f5764b Add equipment use logs to equipment page. 2019-04-18 16:23:34 -04:00
Michael Stenta a3b86164ed View of Equipment use logs, with an required contextual filter for the equipment asset. 2019-04-18 16:23:34 -04:00
Michael Stenta 49eb8f1938 Reformat group/inventory/movement log view titles: "[type] logs" (instead of "Logs of [type]"). 2019-04-18 16:23:03 -04:00
Michael Stenta dcc8ea8ffd Remove extraneous argument from farm_api_farm_info(). 2019-04-15 12:49:09 -04:00
Michael Stenta 42d284330d Minor comment fix. 2019-04-12 14:42:17 -04:00
Michael Stenta 294292511a Fix error submitting soil amendment quick form (inputs accept multiple materials). 2019-04-12 14:41:47 -04:00
Michael Stenta 7457cd8261 Show farm_asset_entityreference_view header with no results. 2019-04-11 00:00:39 -04:00
Michael Stenta 68b540cf61 Add a farm_equipment_entityreference_view. 2019-04-11 00:00:39 -04:00
Michael Stenta 5c89340268 Adjust field group weights for consistency. 2019-04-11 00:00:39 -04:00
Michael Stenta 5083faa63d Create an Equipment field group for the Equipment used field. 2019-04-11 00:00:39 -04:00
Michael Stenta d1bd600d4b remove features 2019-04-11 00:00:39 -04:00
Michael Stenta 611de73ee0 Refactor farm_equipment_field to use farm_dynamic_fields. 2019-04-11 00:00:39 -04:00
Michael Stenta d5324e9222 Move "Equipment used" field to its own module: farm_equipment_field. 2019-04-11 00:00:39 -04:00
Michael Stenta e561c22497 Alter field_group info to add the "Equipment used" field to Assets/General group. 2019-04-11 00:00:39 -04:00
Michael Stenta edb67fb77a Add "equipment used" field to logs on existing sites. 2019-04-11 00:00:39 -04:00
Michael Stenta e33e152f7a Add "Equipment used" field instance to all log types. 2019-04-11 00:00:39 -04:00
Michael Stenta 04e65772a3 Add a field_farm_equipment field base definition. 2019-04-11 00:00:39 -04:00
Michael Stenta b0cac436a4 Move implementations of hook_form_FORM_ID_alter() to farm_data_field.module. 2019-04-10 23:59:19 -04:00
Michael Stenta d53d67d047 Use farm_fields_dynamic to create the data field (in a new module). 2019-04-10 15:16:39 -04:00
Michael Stenta 749ac0458f Add a new farm_fields_dynamic module to standardize the creation of dynamic fields. 2019-04-10 15:09:43 -04:00
Michael Stenta c49cc37173 Remove "Quantity" label from Views definitions (Features were overridden with it). 2019-04-10 12:29:02 -04:00
Michael Stenta 32c9ad9290 Add data field to assets. 2019-04-09 14:38:56 -04:00
Michael Stenta 8a2ed36d3b Hide the data field in log forms. 2019-04-09 14:38:56 -04:00
Michael Stenta ab871b8d2b Add data field instances via update.php. 2019-04-09 14:38:56 -04:00
Michael Stenta 5d60859e1b Add data field instance to all log types. 2019-04-09 14:38:56 -04:00
Michael Stenta 9961334fe7 Add a field_farm_data field base definition. 2019-04-09 14:38:56 -04:00
Michael Stenta 5fab821aa3 Add timestamp to log name patterns. 2019-04-09 14:38:55 -04:00
Michael Stenta 66c926f37b Fix sensor Views Features export. 2019-04-09 14:38:55 -04:00
Michael Stenta 97e5022ff7 Add label to location and assets properties to fix PHP notice. 2019-04-09 14:35:52 -04:00
Michael Stenta ec94f32f7d Add "rate" to the list of quantity measures. 2019-04-08 15:49:27 -04:00
Michael Stenta f469e6d607 Add vocabulary ID to taxonomy_term resource bundles in farm.json (instead of duplicating as taxonomy_vocabulary resource). 2019-04-08 14:00:43 -04:00
Michael Stenta ec02c334e0 Describe missing taxonomies with hook_farm_ui_entities(): log categories, input materials, quantity units, season, and soil names. 2019-04-08 13:59:41 -04:00
Michael Stenta bbd45fe0a1 Issue #3043560: Add a computed assets property to areas. 2019-04-01 15:56:53 -04:00
Michael Stenta 886de46530 Add functions for getting the list of assets in an area (cloned from group membership functions). 2019-04-01 15:56:53 -04:00
Michael Stenta 4af676cc8b farm_group depends on farm_log. 2019-04-01 15:56:53 -04:00
Michael Stenta 7b506bc536 Add query tags in query helper functions. 2019-04-01 15:56:53 -04:00
Michael Stenta 218a048709 Issue #3043560: Add location property to assets 2019-04-01 15:56:53 -04:00
Michael Stenta 01f2da224e Bump the FARM_API_VERSION to 1.1. 2019-04-01 15:56:53 -04:00
Michael Stenta eb1cf2d826 Describe the available resources (entity types) in /farm.json. 2019-04-01 15:56:53 -04:00
Michael Stenta 686a5c96cf Invoke hook_farm_info() to collect info for /farm.json. 2019-04-01 15:56:53 -04:00
Michael Stenta bd0d8006c7 hook_farm_map_entity_geometries docblock. 2019-04-01 15:56:53 -04:00
Michael Stenta 29b7ad3fd3 Add a @todo to move farm_ui_entities() to farm_entity_info(). 2019-04-01 15:56:17 -04:00
Michael Stenta 130b9301a5 Add metrics for total number of areas, and total area of certain area types. 2019-04-01 15:56:17 -04:00
Michael Stenta 256abebdb4 Add a helper function for calculating the total area of all areas of a particular type. 2019-04-01 15:56:17 -04:00
Michael Stenta 19752aff93 Provide metrics for asset type counts. 2019-04-01 15:56:17 -04:00
Michael Stenta 986900255b Add a dashboard pane for displaying farm metrics, along with a hook that modules can use to provide metrics. 2019-03-30 09:37:50 -04:00
Michael Stenta bd75127d22 Use drupal_write_record() instead of db_query() in farm_soil_nrcs_insert_operations(). 2019-03-25 13:09:28 -04:00
Michael Stenta 829d6231bc Allow editing of seeding and transplanting log names. 2019-03-18 16:32:16 -04:00
Michael Stenta 858b7f9900 Make sure that farm_api's implementation of hook_restws_request_alter() runs before restws_file's. 2019-03-13 10:05:56 -04:00