Commit Graph

3356 Commits

Author SHA1 Message Date
Michael Stenta c31f839fcf farmOS 7.x-1.0-rc2. 2019-01-16 14:03:19 -05:00
Michael Stenta 1ac5e98ca4 Prepare for release of farmOS 7.x-1.0-rc2. 2019-01-16 14:02:02 -05:00
Michael Stenta b2df59d77e Update Drupal core to 7.62. 2019-01-16 13:57:41 -05:00
Michael Stenta e3ad9650e2 Create a separate function that defined farmOS modules during profile installation. 2019-01-16 13:57:04 -05:00
Michael Stenta 50e12487f9 Move taxonomy_terms_per_page_admin variable to hook_install()+hook_update_N(). 2019-01-14 09:54:51 -05:00
Michael Stenta dbd395ef66 Issue #3025774: Can't rearrange area hierarchy across multiple pages 2019-01-14 09:31:22 -05:00
Michael Stenta 1d1e82cbb8 Issue #3023724: Add location to planting quick form asset naming pattern 2019-01-08 15:17:29 -05:00
Michael Stenta ad7386e18e Clarify how location is chosen in comment and description. 2019-01-08 15:12:48 -05:00
Michael Stenta 8201836df3 Move implode()s closer together so it's easier to see how the planting name is assembled. 2019-01-08 15:12:04 -05:00
Michael Stenta a71764d840 Coding standards: whitespace. 2019-01-08 15:10:56 -05:00
Paul Weidner 4102776dff Add location to comment 2019-01-08 11:12:03 -08:00
Paul Weidner 39a84a4db8 Add description to the planting asset name field 2019-01-08 11:09:22 -08:00
Paul Weidner 5846276626 Autofill location in the asset name 2019-01-08 11:09:04 -08:00
Michael Stenta 1fddda90ac Issue #3023723: Planting quick form asset name override 2019-01-08 13:37:49 -05:00
Michael Stenta 33937bc2f7 Comments: add punctuation, minor rewording. 2019-01-08 13:33:30 -05:00
Michael Stenta f6f3c73ade Move $form_values alias to the top and replace other usages. 2019-01-08 13:30:13 -05:00
Paul Weidner f33dc32ca1 Use the default season that is already stored 2019-01-08 10:00:59 -08:00
Paul Weidner b041422c0a Fix bug, the input changes were not included with the submitted form. Set the default value, not value. 2019-01-08 09:57:50 -08:00
Paul Weidner 9e4b966b88 Update the planting asset name to be submitted 2019-01-08 09:55:03 -08:00
Paul Weidner 4b85217004 Add callback to the Season and Crop fields to update the Planting Name. 2019-01-08 09:26:46 -08:00
Paul Weidner f29a527542 Add planting asset name text field 2019-01-07 20:51:30 -08: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 08a3e1915a Update COPYRIGHT.txt year - Happy New Year! 2019-01-07 11:12:12 -05:00
Michael Stenta b382961764 Issue #3021472: Soil disturbance quick form 2019-01-04 14:07:23 -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 959ceffc6c farm_log_create(): truncate log names that are too long automatically. 2019-01-03 14:37:28 -05:00
Michael Stenta bf4392eda3 Fix example hook_farm_dashboard_panes() implementation. 2019-01-03 13:31:07 -05:00
Michael Stenta a14d6a5526 Make the planting quick form checkboxes purpose more clear with "Add [type]". 2019-01-03 10:25:30 -05:00
Michael Stenta 7df21a07f7 Patch restws module to add ability to filter by entity bundle. 2018-12-28 15:13:45 -05:00
Michael Stenta 0b1b2b9ca2 Merge branch 'farm_access_roles' into 7.x-1.x 2018-12-27 10:44:24 -05:00
Michael Stenta e07f160929 Move default roles (Manager, Worker, Viewer) to separate module. 2018-12-27 10:42:37 -05:00
Michael Stenta 72334e1991 Refactor other modules to use high-level access rules instead of explicit roles. 2018-12-27 10:42:37 -05:00
Michael Stenta fcb3dda0fa Remove redundant quantity term permissions. 2018-12-27 10:42:37 -05:00