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

423 commits

Author SHA1 Message Date
Michael Stenta c0c577232b Add dependencies on field_group_easy_responsive_tabs module. 2017-12-05 12:31:47 -05:00
Michael Stenta 380a9f2e15 Add bulk operations to "Group members" View. 2017-11-29 15:51:15 -05:00
Michael Stenta 39fc94bc65 Add support for Feeds Tamper plugin: Unix timestamp to date. 2017-11-27 16:29:12 -05:00
Michael Stenta 770a37d636 Implement hook_feeds_processor_targets() to provide Feeds mapping targets for all asset properties declared by modules. 2017-11-27 16:25:42 -05:00
Michael Stenta b5dcccd4ae When a module is uninstalled, delete any asset properties that were maintained by it. 2017-11-27 16:25:01 -05:00
Michael Stenta 7721bbb9b4 Add hook_farm_asset_property() for modules to declare the properties they manage. 2017-11-27 16:24:31 -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 894d67aea7 Do not include movement logs that are marked as deleted in query. 2017-11-24 21:08:35 -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 6eaa952dc5 Prevent deletion of constrained entities via REST. 2017-11-24 21:06:42 -05:00
Michael Stenta 1b6605c735 Prevent deleting taxonomy terms that have children. 2017-11-24 21:06:42 -05:00
Michael Stenta c8a0663c92 Add constraint validation to Views Bulk Operations delete action to prevent referenced entities from being deleted. 2017-11-24 21:06:42 -05:00
Michael Stenta 4e8adf786d Include entity bundle in hook_farm_constraint(). 2017-11-24 21:06:42 -05:00
Michael Stenta bab595ee09 Allow field reference lookup to be limited for better performance. 2017-11-24 21:06:42 -05:00
Michael Stenta c071f19fcb Break field reference lookup out to a separate function. 2017-11-24 21:06:42 -05:00
Michael Stenta d373726fa0 Build an array of field reference information instead of just counting them. 2017-11-24 21:06:42 -05:00
Michael Stenta a978f7caa1 Only include field references that have not been deleted. 2017-11-24 21:06:42 -05:00
Michael Stenta ece6fb0ec3 Implement hook_farm_constraint() on behalf of all entity and term reference fields. 2017-11-24 21:06:42 -05:00
Michael Stenta 918ec851c1 Implement hook_hook_info() to allow farm_constraint hooks to be put into [modulename].farm_constraint.inc. 2017-11-24 21:06:42 -05:00
Michael Stenta 8a53e71ce8 Prevent entity deletion if constraints are found in asset, log, taxonomy term, and user delete forms. 2017-11-24 21:06:42 -05:00
Michael Stenta 45667038e4 Add a function that asks other modules if a constraint exists on an entity (via a new hook_farm_constraint()). 2017-11-24 21:06:42 -05:00
Michael Stenta ca2ef347bd Initial commit of farm_constraint module. 2017-11-24 21:06:42 -05:00
Michael Stenta 201beb816d Fix selector for second step of farmOS intro tour. 2017-11-24 21:05:52 -05:00
Michael Stenta 76e23143e0 Change Farm Calendar menu item so it appears in the user menu. 2017-11-24 21:04:07 -05:00
Michael Stenta e63642175a Display list of log assets as a tooltip when hovering over a calendar item. 2017-11-24 21:04:07 -05:00
Michael Stenta aff39a3d86 Add check mark next to calendar items that are done. 2017-11-24 21:04:07 -05:00
Michael Stenta ddd7bddf43 Link "Today is" in dashboard to calendar day page. 2017-11-24 21:04:07 -05:00
Michael Stenta 082e5f0fe2 Change "Farm" tab to "Dashboard". 2017-11-24 21:04:07 -05:00
Michael Stenta 2b33df7d45 Farm Calendar module: provides a calendar view of farmOS logs. 2017-11-24 21:04:07 -05:00
Michael Stenta 44f112575d Rename "View" tab to "Plan", and "Edit" tab to "Settings". 2017-11-24 21:00:23 -05:00
Michael Stenta 588f949445 Only create the Farm breadcrumb if there are more than 2 trail items already. 2017-11-24 21:00:23 -05:00
Michael Stenta a8f8e455dd Add an "All plans" link to the "Plans" menu. 2017-11-24 21:00:23 -05:00
Michael Stenta 8818b1aad5 Add support for farm plan entity permissions in farm_access module. 2017-11-24 21:00:23 -05:00
Michael Stenta cb25b4070f Add support for plan entities in the farm_ui module. 2017-11-24 21:00:23 -05:00
Michael Stenta 57ab97c736 Initial commit of Farm Plan module: provides a farm_plan asset type. Copied and modified from farm_asset module. 2017-11-24 21:00:23 -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 ef6a04614d Use is_numeric() instead of is_int() when checking log timestamps and entity IDs. 2017-11-24 20:59:17 -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 11875dd3d4 Add a validation handler for the "Group" VBO action that checks for circular membership. 2017-11-24 20:58:33 -05:00
Michael Stenta 5a2574dabb Create a form helper function for validating against circular memberships. 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 1aa05c49a6 Add an action for assigning assets to groups in bulk. 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 6eb6884345 Put inventory and group membership in the right column with location. 2017-11-24 20:58:33 -05:00
Michael Stenta 8ecda9d08f Remove old animal group column. 2017-11-24 20:58:33 -05:00