Commit Graph

288 Commits

Author SHA1 Message Date
Michael Stenta e38a4ebaf9 Add new "Birth" log type to the Livestock module. 2018-03-02 12:20:43 -05:00
Michael Stenta 364c4990c4 Add "Archive" and "Unarchive" VBO buttons to all asset Views. 2018-02-26 22:18:53 -05:00
Michael Stenta 09fed34247 Reorganize log field groups into "Assets" and "Location". 2018-02-21 16:32:02 -05:00
Michael Stenta ca0ad53caf Update all Views to use new 'archived' field/filter/sort. 2018-01-31 09:36:51 -05:00
Michael Stenta b6722da8fb Fix asset field weights so that name is always at top. 2017-12-30 16:50:50 -05:00
Michael Stenta 13f70c6aee Add dependencies on farm_asset_views. 2017-12-30 16:39:07 -05:00
Michael Stenta 52af43b8a7 Add Group filter to all asset Views. 2017-12-30 13:13:51 -05:00
Michael Stenta cd8965a577 Fix log field weights so that timestamp is always at top under name. 2017-12-29 17:00:16 -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 64bdb4701d More misc Views updates (remove old translations). 2017-12-28 11:12:05 -05:00
Michael Stenta e385792096 Remove secondary log ID sorts (this is done automatically in Log module now). 2017-12-28 11:10:11 -05:00
Michael Stenta 5d2dd3c17e Misc Views export updates. 2017-12-27 17:37:38 -05:00
Michael Stenta c3a6c9c556 Change "Name/Search" column to "Log name" and add exposed "Log name" and "Log type" filters and sorts to log Views. 2017-12-27 17:34:43 -05:00
Michael Stenta 97350bb708 Fix argument type in docblock. 2017-12-16 10:42:27 -05:00
Michael Stenta c0c577232b Add dependencies on field_group_easy_responsive_tabs module. 2017-12-05 12:31:47 -05:00
Michael Stenta a334b27a51 Fix animal group migration to work with membership field collections. 2017-11-24 23:07:10 -05:00
Michael Stenta ae9ca7d069 Add views-tree CSS class to Views that use a tree display. 2017-11-24 21:07:47 -05:00
Michael Stenta 6a0a5bc2ab Add bulk delete operation to asset, log, and area Views. 2017-11-24 21:07:47 -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 cdf5f7672e Convert group reference to a Field Collection in Activity and Observation logs. 2017-11-24 20:58:33 -05:00
Michael Stenta 638589a3c1 Add "Group" VBO action button to all asset Views. 2017-11-24 20:58:33 -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 8ecda9d08f Remove old animal group column. 2017-11-24 20:58:33 -05:00
Michael Stenta 35b7a77915 Add Group column to all asset Views. 2017-11-24 20:58:33 -05:00
Michael Stenta b0f8ceb439 Move areas, movement, and inventory field displays relative to assets, and other field display consistency fixes. 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 515f2cb27e Improvements to asset form help text to support non-individual animals. 2017-11-14 13:44:22 -05:00
Michael Stenta c79cc63c59 Move Animal birthdate, sex, castrated, and nickname fields to new Individual fieldset. Make sex field optional. 2017-11-14 13:44:22 -05:00
Michael Stenta cc534563ad Add inventory column to Animals list. 2017-11-14 13:44:22 -05:00
Michael Stenta e340995f64 Enable inventory tracking for animal assets, and treat them as individuals by default. 2017-11-14 13:44:22 -05:00
Michael Stenta f9dc1a65c0 Add Inventory field collection to log types: Input, Activity, Harvest, Seeding, Transplanting, Medical, Observation, Sale, Maintenance. 2017-11-14 13:43:11 -05:00
Michael Stenta 7dc626a450 Issue #2915011: Move farm_log_movement to farm_movement 2017-10-10 18:07:50 -04:00
Michael Stenta 01f95f3058 Fix farm_log dependencies. Stop using it to automatically install activity, harvest, input, and observation modules. 2017-10-10 17:59:32 -04:00
Michael Stenta 66b88adb3b Reorganize all asset and log fields into Easy Responsive Tabs. 2017-09-26 13:30:08 -04:00
Michael Stenta cb2e8716e3 Change "Owner" to "Assigned to" in log field instances and views. 2017-09-04 11:51:19 -04:00
Michael Stenta 82d29d81dd Issue #2906277: Can't enter new animal birth dates before 2014 2017-09-01 21:06:52 -04:00
Michael Stenta 28c00de93e Misc log Views update: add skip_permission_check setting. 2017-08-30 09:18:06 -04:00
Michael Stenta 73d2d276ad Misc log Views update: make rows clickable. 2017-08-30 09:17:40 -04:00
Michael Stenta 705e370065 Add "Assign" button to all log Views. 2017-08-30 09:16:01 -04:00
Michael Stenta 22094d799a Fix "Owner" field in Views so that it shows multiple owners. 2017-08-30 09:11:32 -04:00
Michael Stenta ddaa96921e Change animal birthdate field widget to select. 2017-08-06 13:52:23 -04:00
Michael Stenta 8d121ad75e Autopopulate categories on certain log types. 2017-08-06 13:52:23 -04:00
Michael Stenta 5208f4b5bf Misc Views updates: rearranging fields for importer consistency, updating export code, etc. 2017-08-06 13:51:02 -04:00
Michael Stenta 175dca99ac Add Description and Active fields to all asset Views. 2017-08-06 13:51:01 -04:00
Michael Stenta 02de0315b4 Add Notes field to all Log Views. 2017-08-06 13:51:01 -04:00
Michael Stenta c9be834848 Change "Category" to "Categories" in Views for consistency with Feeds importers. 2017-08-06 13:51:01 -04:00
Michael Stenta 1b7f7d32b2 Use "Name" for all log name fields in Views. 2017-08-06 13:50:05 -04:00
Michael Stenta 7706d5b479 Convert "male" to "M" and "female" to "F". 2017-08-06 13:41:25 -04:00
Michael Stenta 6ba444c322 Add extra field mappings and tamper plugins for all log types. 2017-07-21 14:21:48 -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 1e555ed0fa Consolidate file and image field file extensions in a helper function. 2017-07-21 14:21:20 -04:00
Michael Stenta ff99ed518a Add Category field to all logs that don't already have it. 2017-07-21 14:20:41 -04:00
Michael Stenta ba964a5dbb Change Animal "Type" to "Species/breed". 2017-07-10 08:57:24 -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 fd3cc92ea5 Fix order of field groups in water test and egg logs. 2017-06-15 13:01:32 -04:00
Michael Stenta 6be845f382 Add log owner column, filter, sort to all Views. 2017-06-13 15:55:04 -04:00
Michael Stenta 4ae857bde6 Add "Owner" field and "Assignment" field group to all log types. 2017-06-13 15:55:04 -04:00
Michael Stenta 286bc41550 Change all instances of "Photo(s)" to "Photos". 2017-05-31 14:59:21 -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 a3ac05d10c Delete readme files from all the merged modules and farm_theme (except for some of farm_access/README.md, which is useful to keep). 2017-05-26 10:53:02 -04:00
Michael Stenta bfa1dd4a34 Move to modules/farm/farm_livestock in preparation for #2876992. 2017-05-26 09:57:32 -04:00