Commit Graph

4205 Commits

Author SHA1 Message Date
Michael Stenta ede70d0358 Pass geometry for farm_movement_create() instead of using farm_map_geofield_populate() because that doesn't populate movement geometries. 2020-07-03 08:48:18 -04:00
Michael Stenta 8bab415caa Allow a custom geometry to be provided with farm_movement_create(). 2020-07-03 08:48:18 -04:00
paul121 01c7147ddb Remove the current location layer if an asset has no location. 2020-07-03 08:48:18 -04:00
paul121 19db0bd560 Move next location ajax logic to form builder function. 2020-07-03 08:48:18 -04:00
paul121 948944e6bf Move current location ajax logic to form builder function. 2020-07-03 08:48:18 -04:00
paul121 64b4860a42 Rename ajax function to farm_livestock_move_form_current_location_ajax. 2020-07-03 08:48:18 -04:00
paul121 ec7aa6c19b Use log_save() method instead of $log->save(). 2020-07-03 08:48:18 -04:00
paul121 9b07b45d86 Call access callback with array of permissions as the first argument. 2020-07-03 08:48:18 -04:00
paul121 419d52cabd Display the movement geometry with orange color. 2020-07-03 08:48:18 -04:00
paul121 1bb243b576 Zoom to all vector layers when auto-updating the map. 2020-07-03 08:48:18 -04:00
paul121 6f231744f1 Create an editable Movement layer that updates with area geometry. 2020-07-03 08:48:18 -04:00
paul121 baa8fd5329 Display the assets current location on the map. 2020-07-03 08:48:18 -04:00
paul121 69ca698238 Link post grazing logs to area(s) animals are moving from. 2020-07-03 08:48:18 -04:00
paul121 f4d6aaabfb Create post grazing observation log before movement log. 2020-07-03 08:48:18 -04:00
paul121 f0dd507f80 Link pre grazing logs to the area animals are moving to. 2020-07-03 08:48:18 -04:00
paul121 544ef28f5a Create pre and post grazing observation logs. 2020-07-03 08:48:18 -04:00
paul121 b818781b5c Validate pasture height and forage quality are numbers. 2020-07-03 08:48:18 -04:00
paul121 75bb72069e Determine pasture height unit based on system of measurement. 2020-07-03 08:48:18 -04:00
paul121 208ffb4ed0 Create movement activity logs with optional precise geometry. 2020-07-03 08:48:18 -04:00
paul121 7fcc984e41 Validate animal or group asset. 2020-07-03 08:48:18 -04:00
paul121 5580aa9e85 Make the movement form a tree. 2020-07-03 08:48:18 -04:00
paul121 bfbed98499 Add movement date field. 2020-07-03 08:48:18 -04:00
Michael Stenta 292bc23b44 Initial sketch of post/pre-grazing observation fields. 2020-07-03 08:47:03 -04:00
Michael Stenta be0fa3b336 Add geometry field. 2020-07-03 08:45:28 -04:00
Michael Stenta 588796769b Initial animal move quick form sketch. 2020-07-03 08:43:14 -04:00
Michael Stenta be8fb3ef5e Require "create animal farm_asset entities" permission for the birth quick form. 2020-07-03 07:52:40 -04:00
Michael Stenta 4efe9c1488 Allow requiring multiple permissions for quick form access. 2020-07-03 07:52:40 -04:00
Michael Stenta 69b56c41e4 Patch Bootstrap to fix Issue #3155198: Nested collapsed fieldsets scroll to parent when expanded 2020-06-26 15:34:26 -04:00
Michael Stenta b77da615a4 Only apply farm_theme_map_collapse JS behavior to fieldsets that contain a map. 2020-06-26 10:07:02 -04:00
Michael Stenta e92be80c33 Display active plans on the dashboard #316 2020-06-25 10:34:08 -04:00
paul121 29665c3c0f Remove limit to display all active plans in block view. 2020-06-25 10:29:54 -04:00
paul121 8c1a5eb179 Display the dashboard plans group in the right column above metrics. 2020-06-25 10:29:54 -04:00
paul121 046f3688bd Display active plans in a dashboard pane. 2020-06-25 10:29:54 -04:00
paul121 d041760e51 Add block_active_plans display to farm_plan view. 2020-06-25 10:29:54 -04:00
Michael Stenta 0e6b7c125a Update Drush to 8.3.5 in dev Dockerfile. 2020-06-18 10:29:09 -04:00
Michael Stenta 04b5c94766 Pass area descriptions through check_plain() when exporting KML to ensure that ampersands are escaped. See https://stackoverflow.com/questions/48207963/the-kml-file-contains-invalid-or-unsupported-data-or-the-file-is-too-large-to-p 2020-06-18 09:14:57 -04:00
Michael Stenta 322cff29c5 Update Drupal core to 7.72. 2020-06-17 15:17:10 -04:00
Michael Stenta d72f15947a Make core patch comments consistent. 2020-06-10 09:46:20 -04:00
Michael Stenta 2f6dc90b5c Patch Drupal core to fix Issue #1327224: Access denied to taxonomy term image 2020-06-10 09:46:11 -04:00
Michael Stenta cee33bb6e9 Update Localization Update module to 7.x-2.4. 2020-06-03 12:41:05 -04:00
Michael Stenta 5ce903ec79 Update Drupal core to 7.71. 2020-06-03 12:40:56 -04:00
Michael Stenta e65a47ffd9 Use default file scheme when saving KML export files (use private directory if that is the default). 2020-06-03 07:45:29 -04:00
Michael Stenta 05e10e67bc Issue #3142918: Show seedings/transplantings on area records 2020-06-02 08:46:32 -04:00
Michael Stenta 8158d9535e Use farm_term() in place of taxonomy_get_term_by_name(). 2020-06-02 08:43:25 -04:00
Michael Stenta be723c1149 Remove farm_map.js detach() method to fix map instances being destroyed before they should be. 2020-06-01 15:52:20 -04:00
Michael Stenta 785b296cbd Fix PHP Notice: Undefined variable: soil_names in farm_soil_nrcs_soil_name_lookup_submit() 2020-06-01 12:19:53 -04:00
Michael Stenta 7d9e6bb4a1 Display archived animals in livestock weight report #296 2020-06-01 10:04:17 -04:00
paul121 4f5e1b655d Add spaces to table headers. 2020-06-01 10:02:27 -04:00
paul121 23be7573a0 Add archived label to archived animals in result table. 2020-06-01 10:02:27 -04:00
paul121 a94def9208 Add checkbox to include archived animals in weight report. 2020-06-01 10:02:27 -04:00