Commit Graph

193 Commits

Author SHA1 Message Date
Michael Stenta e7fb82709b Add Materials field and filter to View of Input logs. 2020-12-30 05:56:26 -05:00
Michael Stenta 87d9a97c84 Increase the character limit of Notes and Description fields in Views to 280. 2020-08-21 11:00:56 -04:00
Paul Weidner 5f80906a23 Use correct order of parameters in implode function. 2020-07-15 11:56:18 -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 fcc1a2d708 Sort "Upcoming tasks" by timestamp ascending. 2020-05-13 10:00:29 -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 8f01b05a58 Add note to farm_log_entity_label_summary() emphasizing that it is the responsibility of downstream code to sanitize entity labels. 2020-04-23 11:30:02 -04:00
Michael Stenta 9b1a87dcbe Translate untranslated drupal_set_message() function calls. 2020-04-23 10:46:19 -04:00
Michael Stenta 7069c8eff9 Generalize "Archive assets" importer target and add to all log type importers. 2020-04-23 08:26:49 -04:00
Michael Stenta 8bbc67a784 Only archive assets that are not already archived. 2020-04-23 07:39:39 -04:00
pcambra 202a34f291 Issue #3128665 by pcambra: Archive assets via Harvest log CSV importer 2020-04-23 07:38:42 -04:00
Michael Stenta b1a961ae86 Remove Openlayers modules, patches, dependencies, configuration, and related code. 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 d47db78086 Trim whitespace from CSV fields: Asset names, Parent names, Areas, Categories, Crop/variety, Nicknames, Material. 2019-10-09 12:38:25 -04:00
Michael Stenta 74e2e091ed Support importing multiple Materials with input log CSVs. 2019-10-09 12:38:25 -04:00
Michael Stenta 2818877ea1 Autocreate Materials when importing input logs. 2019-10-09 12:38:25 -04:00
Michael Stenta bcc0a55039 Be more explicit with $type parameter docblock in log query functions. 2019-06-26 14:28:21 -04:00
Michael Stenta 97119dbd5a Allow filtering to find logs that are not done with farm_log_query(). 2019-06-26 14:27:47 -04:00
Michael Stenta 5c89340268 Adjust field group weights for consistency. 2019-04-11 00:00:39 -04:00
Michael Stenta c49cc37173 Remove "Quantity" label from Views definitions (Features were overridden with it). 2019-04-10 12:29:02 -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 7b506bc536 Add query tags in query helper functions. 2019-04-01 15:56:53 -04:00
Michael Stenta a9ba0db61e Issue #2873158: Multiple materials in one input log 2019-01-22 13:01:34 -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 3e03174c61 Create an internal machine name for farm access roles. 2018-12-27 10:42:37 -05:00
Michael Stenta 41ab19cbe0 Add dependency to farm_log: log. 2018-11-29 15:05:45 -05:00
Michael Stenta 8eee53de2f Add help text to the log timestamp field. 2018-11-14 11:54:03 -05:00
Michael Stenta f630236dc9 Change farm_log hook_form_alter() to hook_form_FORM_ID_alter(). 2018-11-14 11:46:36 -05:00
Michael Stenta 84d31b87b4 Auto populate log owner on presave(), so that API requests are also covered. 2018-11-09 15:46:49 -05:00
Michael Stenta b48294b4b0 Fix overridden farm_log_harvest feature. 2018-11-09 00:17:20 -05:00
Michael Stenta 22cb8b280f Refactor dashboard so that modules can implement a hook to add panes. 2018-10-27 08:21:55 -04:00
Michael Stenta a798e64cd0 Use new farm_term() function where possible. 2018-10-01 14:49:24 -04:00
Michael Stenta b7fb426fff Move Sale log to new Farm Ledger module. 2018-09-10 11:09:43 -04:00
Michael Stenta 7be4c7e19c Add the asset and log IDs to entity view pages. 2018-09-05 14:22:43 -04:00
Michael Stenta ed67950aa5 Add the ability to filter by log type in farm_log_query() and farm_log_asset_query(). 2018-09-05 14:08:14 -04:00
Michael Stenta 6566d88e1f Add the ability to pass notes and log categories into farm_log_create() and farm_quantity_log_create(). 2018-08-01 13:38:00 -04:00
Michael Stenta 06bc4a24bc Add asset, log, and plan types to entity view pages so it's clear what you're looking at. 2018-06-13 13:00:10 -04:00
Michael Stenta a0928554f4 Add Areas contextual filter to Harvests View. 2018-06-09 12:30:04 -04:00
Michael Stenta 10321b1de9 Indicate that harvest logs apply to areas, so that UI elements are created. 2018-06-09 12:22:58 -04:00
Michael Stenta c1fb41daea Add KML button to all Views that need it. 2018-05-30 16:36:14 -04:00
Michael Stenta 9929e12cb3 Add exposed "Areas" filter to all log Views. 2018-04-25 11:54:11 -04:00
Michael Stenta e5d68d9b2b Only include log types with field_farm_asset in "Add log" action configuration form. 2018-04-24 08:37:46 -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 6ac30f5b88 Add a helper function for generating a summary of entity labels for use in a log name. 2018-04-23 16:25:28 -04:00
Michael Stenta f2af8972af Add a generic helper function for creating a farm log. 2018-04-17 13:47:32 -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 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