Commit Graph

122 Commits

Author SHA1 Message Date
Michael Stenta b1a961ae86 Remove Openlayers modules, patches, dependencies, configuration, and related code. 2020-02-10 14:27:50 -05:00
Michael Stenta 9f6bbb8253 Update farmOS-map library to v0.9.1 and add weights to behaviors. 2020-02-10 14:27:50 -05:00
Michael Stenta 4f30833bed Use farm_map_geofield widget in all geofields. 2020-02-10 14:27:49 -05:00
Michael Stenta 42ef0068a4 Use farm_map_geofield formatter in all geofield displays. 2020-02-10 14:27:49 -05:00
Michael Stenta 0eea90dec0 Refactor NRCS Soil Survey to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta 296bad2c4b Remove wildcard from NRCS STIR autocomplete path so that it can be used in anonymous forms. 2019-10-14 14:02:36 -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 5fab821aa3 Add timestamp to log name patterns. 2019-04-09 14:38:55 -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 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 763ae8da6c Add SOURCES.md to cite 2008 RUSLE2 manual for STIR operations. 2019-01-20 15:19:10 -05:00
Michael Stenta 3b626aecf5 Use db_query() instead of drupal_write_record() because the table may not be recognized by Drupal yet. 2019-01-07 11:45:57 -05:00
Michael Stenta a1713b6cf0 Insert NRCS STIR operations into database when installing new sites. 2019-01-07 11:43:16 -05:00
Michael Stenta f763ac9133 Move code for inserting NRCS STIR operations to a helper function. 2019-01-07 11:41:51 -05:00
Michael Stenta 21201f2602 Fix potential rounding in both amendment and disturbance code. 2019-01-04 14:05:38 -05:00
Michael Stenta e38e73806e Move area percentage field into area fieldset. 2019-01-04 14:00:51 -05:00
Michael Stenta 5019c90f6b Add descriptions to Activity and STIR fields. 2019-01-04 14:00:38 -05:00
Michael Stenta 1630018c20 Add a field for the STIR value, loaded from activity, saved as a log measurement. 2019-01-04 13:52:16 -05:00
Michael Stenta 165c3b31a5 Add the soil disturbance log to $form_state['storage'] so other submit functions can work with it. 2019-01-04 13:51:52 -05:00
Michael Stenta 248916c599 Alter the "Activity" field in Soil Disturbance quick form to use STIR autocomplete. 2019-01-03 14:37:47 -05:00
Michael Stenta 0713d25e00 Add an autocomplete callback path for looking up STIR operations. 2019-01-03 14:37:47 -05:00
Michael Stenta 7cf0424af3 Use hook_form_FORM_ID_alter() in farm_soil_nrcs.module. 2019-01-03 14:37:47 -05:00
Michael Stenta eb13015617 Populate the farm_soil_nrcs_stir table from a CSV file. 2019-01-03 14:37:47 -05:00
Michael Stenta 297d4570a8 Add a {farm_soil_nrcs_stir} database table. 2019-01-03 14:37:47 -05:00
Michael Stenta 89fa6ea2ce Add activity field (saved to log title and notes). 2019-01-03 14:37:46 -05:00
Michael Stenta 0f5dba4860 Add fields for entering the total areas size and the percentage of it that was disturbed. 2019-01-03 14:37:46 -05:00
Michael Stenta e901441e6e Add notes fields (copied from amendment form). 2019-01-03 14:37:46 -05:00
Michael Stenta ad771f8004 Initial disturbance log creation code (only timestamp and area name). 2019-01-03 14:37:46 -05:00
Michael Stenta 9299054ded Initial blank soil disturbance quick form. 2019-01-03 14:37:46 -05:00
Michael Stenta 077a4e634c Add a "Tillage" log category. 2019-01-03 14:37:46 -05:00
Michael Stenta 407ac14870 Fix rounding issue in soil amendment quick form's rate of application calculation. 2018-12-18 13:38:02 -05:00
Michael Stenta 9d010f6b94 Improve warning when "Lookup soil names" button is pressed without geodata. 2018-11-14 12:14:21 -05:00
Michael Stenta ceae1d20fb Add help text to soil test log form. 2018-11-14 12:14:05 -05:00
Michael Stenta 43b632cc76 Add soil amendment quick form. 2018-11-14 11:12:21 -05:00
Michael Stenta 0364de09bb Wrap "Sample points" field in a fieldset to fix ZoomToSource not firing. 2018-11-09 15:15:41 -05:00
Michael Stenta 532763ea2e Add a Files column to soil tests View for quickly getting to files. 2018-11-08 14:20:12 -05:00
Michael Stenta 4869de26d1 Oops. Revert "wip soil amendment quick form"
This reverts commit 92f2643a4a.
2018-10-01 14:54:13 -04:00
Michael Stenta 92f2643a4a wip soil amendment quick form 2018-10-01 14:49:24 -04:00
Michael Stenta bb722cdc20 Minor logic simplification. 2018-08-06 15:24:12 -04:00
Michael Stenta c1fb41daea Add KML button to all Views that need it. 2018-05-30 16:36:14 -04:00
Michael Stenta 6961cd4786 Add "Clone" button to all asset Views. 2018-05-23 12:33:16 -04:00
Michael Stenta 9929e12cb3 Add exposed "Areas" filter to all log Views. 2018-04-25 11:54:11 -04:00
Michael Stenta c516f917b6 Add a simple bulk action for adding a log to a set of assets. 2018-04-23 17:49:46 -04:00
Michael Stenta f9b85b8137 Add "Flag" bulk action button to area, asset, and log Views. 2018-04-17 09:30:56 -04:00
Michael Stenta 1f78378885 Fix default field weights in assets so that "Name" appears on top (again). 2018-04-16 13:48:58 -04:00
Michael Stenta e1adae3dda Issue #2907879: Add row counter to asset/log lists 2018-04-16 13:48:41 -04:00
Michael Stenta 1a3ca112f6 Add exposed "Items per page" option to all Views. 2018-04-16 13:46:53 -04:00
drupalgin 0e5a226627 Issue #2950316 by drupalgin: Fixed coding standards 2018-04-07 12:40:16 -04:00
Michael Stenta e7e808de70 Add exposed Group filter to all asset views. 2018-04-05 10:15:38 -04:00