Commit Graph

3092 Commits

Author SHA1 Message Date
Michael Stenta bce07320e0 Move "Flag" action down the list. 2018-04-23 17:55:59 -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 0c80fc3787 Fix geometry issue when moving an asset to multiple areas. 2018-04-23 17:00:55 -04:00
Michael Stenta 8180f92213 Remove duplicate code from movement log creation function. 2018-04-23 17:00:41 -04:00
Michael Stenta 7aa2b74b69 Fix movement log names when log type is activity. 2018-04-23 16:43:08 -04:00
Michael Stenta 6b94592e87 Improve auto-generated log names for group membership, inventory, weight, and location. 2018-04-23 16:34:31 -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 66e1b8e843 Merge branch 'birth_form_improvements' into 7.x-1.x 2018-04-23 11:09:48 -04:00
Michael Stenta 1d8069b3bc Add the children to $form_state['storage'] so that other submit functions can work with them. 2018-04-23 11:05:33 -04:00
Michael Stenta f4be7e44a5 Add weights to child fields. 2018-04-23 11:05:20 -04:00
Michael Stenta e4ec1c47e0 Link animal's birthdate field to their birth log. 2018-04-23 10:17:36 -04:00
Michael Stenta 6d6840a063 Fix birth log message URLs. 2018-04-23 10:00:07 -04:00
Michael Stenta b049a83363 Validate that a child asset only has one birth log. 2018-04-23 10:00:01 -04:00
Michael Stenta 627fce2249 Add a shortcut link to the birth quick form when adding a new birth log. 2018-04-23 09:31:26 -04:00
Michael Stenta 4b716cb268 Improve mother/father field help text. 2018-04-23 09:22:23 -04:00
Michael Stenta a85ea349de Allow child name to be left blank if tag ID is set. 2018-04-23 09:19:08 -04:00
Michael Stenta 82855a881e Add fields for setting child animal weight in the birth form. 2018-04-23 09:18:46 -04:00
Michael Stenta deb5107d19 Show "Add asset/log" link on farm/assets/all and farm/logs/all. 2018-04-20 14:20:50 -04:00
Michael Stenta 7f241417a3 Update Bootstrap theme to 3.20. 2018-04-20 12:00:03 -04:00
Michael Stenta 8142339bd8 Update Views to 3.20. 2018-04-20 11:33:53 -04:00
Michael Stenta c05d61a0ed Issue #2905442: Bulk area geometry importer 2018-04-19 18:34:02 -04:00
Michael Stenta c2b9d330e6 Prevent validation from happening on Parse. 2018-04-19 18:26:55 -04:00
Michael Stenta 63346b7127 Add support for placemark descriptions (mapped to area description). 2018-04-19 18:26:49 -04:00
Michael Stenta 4e7ad12df4 Add support for multiple folders of placemarks. 2018-04-19 18:17:17 -04:00
Michael Stenta 910b9227f3 KML may have Document->Folder->Placemark, or it may just have Folder->Placemark. 2018-04-19 18:13:27 -04:00
Michael Stenta c9e14e3d2c Fix issue: AJAX not resetting output values. 2018-04-19 18:12:49 -04:00
Michael Stenta 3ac276e92a Create areas in submit function. 2018-04-19 17:13:10 -04:00
Michael Stenta 1ba4af11c8 Validate required fields and geometries. 2018-04-19 16:59:33 -04:00
Michael Stenta 3bf44956c4 Add area type select fields, confirm checkboxes, and submit button. 2018-04-19 16:59:10 -04:00
Michael Stenta e55c5704fb Initial commit of farm_area_import: simple parsing of KML content. 2018-04-19 16:26:04 -04:00
Michael Stenta 21c3c6a657 Issue #2958831: Update animal weights in bulk 2018-04-17 15:34:58 -04:00
Michael Stenta e97705060c Fix weight of "Individual" fieldset in animals. 2018-04-17 15:34:44 -04:00
Michael Stenta 1974345786 Show flags in area list. 2018-04-17 15:34:30 -04:00
Michael Stenta 226bf3f393 Validate animal weight field as a number. 2018-04-17 15:16:33 -04:00
Michael Stenta 52ef2cc038 Fix docblock type declaration. 2018-04-17 15:16:17 -04:00
Michael Stenta 3c16abea21 Merge branch 'farm_log_create' into 7.x-1.x 2018-04-17 14:56:39 -04:00
Michael Stenta 00749f7a80 Use new helper function in the birth and milk quick forms. 2018-04-17 14:55:07 -04:00
Michael Stenta 25b4525659 Use new helper function in farm_group_membership_set(). 2018-04-17 14:31:06 -04:00
Michael Stenta bb8cddaba5 Use new helper function in farm_movement_create(). 2018-04-17 14:23:58 -04:00
Michael Stenta b9fe906312 Use new helper function in farm_inventory_set(). 2018-04-17 14:16:48 -04:00
Michael Stenta ed4df61ebc Allow farm_livestock_weight_set() to accept multiple assets. 2018-04-17 14:06:08 -04:00
Michael Stenta 2b3419ec6f Use new helper function in farm_livestock_weight_set(). 2018-04-17 13:59:58 -04:00
Michael Stenta ca1beb79fe Add a generic helper function for creating a farm log with quantity measurements. 2018-04-17 13:56:50 -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 af3c0945dd Style flags in area details popup and use new helper function for loading them. 2018-04-17 10:17:03 -04:00
Michael Stenta 794dad91dd Add a helper function for loading a list of flags on an entity. 2018-04-17 10:16:37 -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 a04342611c Merge branch 'farm_flags' into 7.x-1.x 2018-04-16 20:26:20 -04:00
Michael Stenta 660a912780 Add bootstrap button styles to flags. 2018-04-16 20:25:41 -04:00
Michael Stenta 2604518198 Wrap rendered flags in a <span> with classes that other modules can alter. 2018-04-16 20:25:34 -04:00