Commit Graph

133 Commits

Author SHA1 Message Date
Michael Stenta 87d9a97c84 Increase the character limit of Notes and Description fields in Views to 280. 2020-08-21 11:00:56 -04:00
Michael Stenta d5891a5557 Issue #3166556: Add asset reference field to soil and water test logs 2020-08-21 10:43:14 -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 e6ff32c146 Add a quick form for recording compost temperature observations. 2020-05-24 15:57:37 -04:00
Michael Stenta e22e419f2c Deprecate farm_area_parse_names() and use farm_term_parse_names() instead. 2020-05-24 15:56:42 -04:00
Michael Stenta 25520a794d Add translatable for Files field in soil tests View. 2020-04-23 14:59:43 -04:00
Michael Stenta 2e12d76553 Issue #3129409: Use click sorting instead of exposed sort in Views 2020-04-23 14:59:43 -04:00
Michael Stenta 6bd7c0aa84 Don't escape more variables that are being saved to log names. 2020-04-23 11:29:45 -04:00
Michael Stenta 9b1a87dcbe Translate untranslated drupal_set_message() function calls. 2020-04-23 10:46:19 -04:00
Michael Stenta 6cb3626faf Issue #2784911: Add quantity fields to soil test logs 2020-04-21 14:49:21 -04:00
Michael Stenta 5888a3410b Issue #3049153: Duplicate assets when filtering by multiple groups or location 2020-04-20 16:05:54 -04:00
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