Commit Graph

835 Commits

Author SHA1 Message Date
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
Michael Stenta 30710d5d9a Add an api_version property to /farm.json. 2019-03-07 12:28:36 -05:00
Michael Stenta 2a98a288ee Issue #2991398: Remove field_farm_ namespace from field names in API requests. 2019-03-07 12:28:36 -05:00
Michael Stenta 3f17afcf63 Implement hook_restws_field_collection_info() for field collections: Group Memberships, Inventory Adjustments, Animal Tag IDs, Movements, and Quantity Measurements. 2019-03-06 17:35:11 -05:00
Michael Stenta a1e0e41cde Install the restws_field_collection module on new and existing sites. 2019-03-06 17:35:11 -05:00
Michael Stenta 1c39bb754d Add information about the currently authenticated user to /farm.json. 2019-02-18 12:01:49 -05:00
Michael Stenta 033f10cea1 Remove email address from farm_people View. 2019-02-18 12:01:32 -05:00
Michael Stenta 1176a2f958 Add farm_access submit function to permissions form if any farm roles exist. 2019-02-17 20:01:45 -05:00
Michael Stenta f3200d50ca Do not grant the "administer users" permission. 2019-02-17 20:00:22 -05:00
Michael Stenta b7965ef655 Remove role_delegation permissions. 2019-02-17 20:00:22 -05:00
Michael Stenta c9aad82bde Check action link path validity (including user access). 2019-02-17 20:00:22 -05:00
Michael Stenta f8d44ba8e4 Remove bulk operations and edit column from /farm/people View. 2019-02-17 20:00:22 -05:00
Jamie Gaehring 598f7ef3fb grant access to files via restws 2019-02-14 17:43:35 -05:00
Michael Stenta ca898a9ad3 Issue #3032496: SQL syntax error breaking asset type lists (crops/varieties, species/breeds, etc) 2019-02-12 15:56:23 -05:00
Michael Stenta 25921a38da Grant access to the /user.json path for farm roles. 2019-02-07 12:43:27 -05:00
Michael Stenta e6a87e7112 Fix farm.json endpoint access permission on farm access roles. 2019-02-05 13:01:16 -05:00
Michael Stenta b30ca150ac Issue #3029581: API endpoint for general farm info 2019-01-30 17:32:37 -05:00
Michael Stenta b8489b3ac0 Do not allow null timestamp values in sensor data table. 2019-01-26 11:20:24 -05:00
Michael Stenta a9ba0db61e Issue #2873158: Multiple materials in one input log 2019-01-22 13:01:34 -05:00
Michael Stenta 71a9cd3cd4 Issue #3027067: API can't filter archived assets 2019-01-21 13:19:38 -05:00
Michael Stenta 98d1547729 Fix exported translatables in quantity report view. 2019-01-21 12:44:30 -05:00
Michael Stenta b3fb37cb11 Add area field and filter to quantity report view. 2019-01-21 12:44:16 -05: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 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 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 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 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