3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

50 commits

Author SHA1 Message Date
Michael Stenta 21c3c6a657 Issue #2958831: Update animal weights in bulk 2018-04-17 15:34:58 -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 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 2aa4e58123 Move quantity log query functions into a new module to fix hidden circular dependency between farm_area and farm_quantity. 2018-03-21 11:45:32 -04:00
Michael Stenta c0bf169207 When a birth log is saved, sync the date of birth and mother reference to the children assets. 2018-03-02 12:20:43 -05:00
Michael Stenta 3edaa183de Show birth logs on mother assets. 2018-03-02 12:20:43 -05:00
Michael Stenta 065d14a0d3 In birth log forms, farm_asset query parameter should populate field_farm_mother, not field_farm_asset. 2018-03-02 12:20:43 -05:00
Michael Stenta a0e93dac4e Add/alter feeds field mappings on birth logs. 2018-03-02 12:20:43 -05:00
Michael Stenta fadfb29a1c Prepopulate birth logs with the "Animals" category. 2018-03-02 12:20:43 -05:00
Michael Stenta 2c439c8184 Add UI entity support for birth logs. 2018-03-02 12:20:43 -05:00
Michael Stenta 09f0031900 Use new boolean_default tamper plugin for all boolean import columns. 2017-12-29 16:05:20 -05:00
Michael Stenta 97350bb708 Fix argument type in docblock. 2017-12-16 10:42:27 -05:00
Michael Stenta dc8e0dd7c9 Return the logs created by helper functions (movements, group, inventory, weight). 2017-11-24 21:00:10 -05:00
Michael Stenta 08209a5b0e Add a special Weight field to animal asset forms for setting their current weight. 2017-11-24 20:59:34 -05:00
Michael Stenta 0b7fdc78ad Add a function for creating a weight measurement log associated with an animal. 2017-11-24 20:59:34 -05:00
Michael Stenta 27b07719cb Display an animal's current weight when viewing the animal record. 2017-11-24 20:59:34 -05:00
Michael Stenta 2b38b944d8 Add a function for getting an animal's current weight. 2017-11-24 20:59:34 -05:00
Michael Stenta dab82ea3f1 Migrate group terms to assets and egg logs to harvest logs. 2017-11-24 20:58:33 -05:00
Michael Stenta 181e157b78 Remove feeds tamper that makes animal sex field required. 2017-11-14 13:44:22 -05:00
Michael Stenta 8d121ad75e Autopopulate categories on certain log types. 2017-08-06 13:52:23 -04:00
Michael Stenta 7706d5b479 Convert "male" to "M" and "female" to "F". 2017-08-06 13:41:25 -04:00
Michael Stenta 0651fa0c7c Add tamper plugins for planting and animal imports. 2017-07-21 14:21:48 -04:00
Michael Stenta cd16fb7bf8 Add extra Feeds field mapping to plantings, animals, and equipment. 2017-07-21 14:21:48 -04:00
Michael Stenta 411dd57e53 Automatically add asset Views to other taxonomy terms provided by modules. 2017-06-27 15:39:31 -04:00
Michael Stenta 913e499e72 Automatically add movements View to all assets. 2017-06-27 15:39:31 -04:00
Michael Stenta fa31b85145 Automatically add children View to all assets (will only display if children exist). 2017-06-27 15:39:31 -04:00
Michael Stenta fc5d645ec6 Automatically generate a list of asset Views to display on areas. 2017-06-27 15:39:31 -04:00
Michael Stenta 3f16718b4a Merge hook_farm_ui_asset_views() and hook_farm_ui_taxonomy_views(). 2017-06-27 15:39:31 -04:00
Michael Stenta 642e1187e1 Automatically generate a list of log Views to display on assets. 2017-06-27 15:39:31 -04:00
Michael Stenta 0fb73ffcad Move hooks for adding Views to asset and term pages to farm_ui module. 2017-06-27 15:39:31 -04:00
Michael Stenta 2a185e5133 Consolidate all asset cluster map rendering into farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta ee811350e3 Automatically generate area links for all asset types. 2017-06-27 15:39:30 -04:00
Michael Stenta 386e967317 Automate allowed asset reference type handling so that hook_farm_ui_allowed_asset_reference_type() is no longer necessary. 2017-06-27 15:39:30 -04:00
Michael Stenta 01710232b4 Move allowed asset reference type handling from farm_log to farm_ui. 2017-06-27 15:39:30 -04:00
Michael Stenta 9130864f89 Add log action links to asset view pages. 2017-06-27 15:39:30 -04:00
Michael Stenta 8a83ed5791 Build breadcrumbs and action links for log entities in farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta 7b5c9f4358 Generalize entity action link creation to work for all entity types. 2017-06-27 15:39:30 -04:00
Michael Stenta cc7ce2b21d Use entity UI info to build breadcrumbs instead of hook_farm_ui_taxonomy_breadcrumb(). 2017-06-27 15:39:30 -04:00
Michael Stenta f0fc9e170e Move taxonomy breadcrumb handling into farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta 4718a89963 For each asset type, create an action link on its listing page. 2017-06-27 15:39:30 -04:00
Michael Stenta 10112e66c3 Use entity UI info to build breadcrumbs instead of hook_farm_ui_asset_breadcrumb(). 2017-06-27 15:39:30 -04:00
Michael Stenta 8c69f16503 Move asset breadcrumb handling to farm_ui module. 2017-06-27 15:39:30 -04:00
Michael Stenta da33181cd1 Consolidate default taxonomy term CRUD permissions for all vocabularies in farm_taxonomy.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 930c8a2cc9 Consolidate default log CRUD permissions for all log types in farm_log.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 3f6b77ef6a Consolidate default asset CRUD permissions for all asset types in farm_asset.module. 2017-06-27 15:39:29 -04:00
Michael Stenta 449a465c98 Move hook_farm_admin_actions() to new farm_ui module as hook_farm_ui_action(). 2017-06-27 15:39:29 -04:00
Michael Stenta 2955f923f3 Implement hook_farm_log_categories() to provide categories: "Animals", "Plantings", "Equipment", "Sensors", and "Soil". 2017-05-31 09:53:08 -04:00
Michael Stenta bfa1dd4a34 Move to modules/farm/farm_livestock in preparation for #2876992. 2017-05-26 09:57:32 -04:00
Renamed from farm_livestock.module (Browse further)