Commit Graph

2850 Commits

Author SHA1 Message Date
Michael Stenta 21bb2f0bff Add a Feeds Tamper plugin that will convert a text value to a boolean (from a list of multiple allowed values), with a default value. 2017-12-29 16:04:21 -05:00
Michael Stenta 02685fa3c2 Add importer columns for quantity measure and label fields. 2017-12-29 14:58:14 -05:00
Michael Stenta 2e3c959826 Patch Feeds to allow importing list field values by label. 2017-12-29 14:57:47 -05:00
Michael Stenta 96efe03401 Validate that the "Group membership" field in asset edit forms can't create circular memberships. 2017-12-28 14:03:57 -05:00
Michael Stenta c525bf8c08 Be specific with the Openlayers revision. 2017-12-28 12:35:07 -05:00
Michael Stenta 1c8439d9f2 Change to a drupal.org repo + patch approach with Openlayers (again, to appease the drupal.org gods). 2017-12-28 12:28:58 -05:00
Michael Stenta 63a767498a Change to ZIP download of Openlayers to appease drupal.org. 2017-12-28 12:11:27 -05:00
Michael Stenta a7969c8017 Add Openlayers branch to appease drupal.org. 2017-12-28 12:06:37 -05:00
Michael Stenta 284b6dedc6 Rename asset "owner" to "author" in the UI. 2017-12-28 11:22:53 -05:00
Michael Stenta bdb5562f09 Move farm_asset ctools, feeds, and views code into includes directory (for consistency with log module). 2017-12-28 11:19:42 -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 f1d775f6bb Update Log module to 1.10. 2017-12-28 11:09:39 -05:00
Michael Stenta 5a5194af05 Change "Name" to "Log name" in log importers. 2017-12-28 11:03:18 -05:00
Michael Stenta 5d2dd3c17e Misc Views export updates. 2017-12-27 17:37:38 -05:00
Michael Stenta 5aa8a8858e Add "Movement to" exposed filters to Seedings and Transplantings lists. 2017-12-27 17:36:58 -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 da0030f4ee Limit farm_group_members() to active assets by default. 2017-12-16 09:35:57 -05:00
Michael Stenta e14a748d53 Issue #2929661: Fatal error reducing multiple GeometryCollections 2017-12-09 16:16:46 -05:00
Michael Stenta 29c1eda881 Fix farm_group_members() and farm_group_members_query() so that they only return assets currently in the group. Previously they were loading ALL logs assigning assets to the group, so an asset would appear in the group even if it was moved to a different group. 2017-12-07 17:38:53 -05:00
Michael Stenta 6536414772 Make $asset_id parameter optional in farm_log_asset_query(). 2017-12-07 17:38:53 -05:00
Michael Stenta 1af21d48b9 Use innerJoin()s where possible. 2017-12-07 17:38:52 -05:00
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 92546e4edb Merge branch 'farm_asset_property_feeds' into 7.x-1.x 2017-11-27 16:26:34 -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 11c82e337e Remove farm_livestock_eggs from optional install modules. 2017-11-24 23:36:53 -05:00
Michael Stenta d5a9469f70 Update Field Group module and Bootstrap theme. 2017-11-24 23:07:10 -05:00
Michael Stenta 3745dc6b10 Update and unpatch Feeds module. 2017-11-24 23:07:10 -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 ba4c29915a Fix menu dividers when farm_plan is not enabled. 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 1dbf64920b Issue #2705549: Delete areas, assets, logs in bulk 2017-11-24 21:07:55 -05:00
Michael Stenta 29e2540731 Amend theme logic for hiding other page elements during VBO actions so it also happens in confirm forms. 2017-11-24 21:07:47 -05:00
Michael Stenta c28232ae21 Display VBO checkboxes inline in Views Tree displays. 2017-11-24 21:07:47 -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 36590c2cd9 Add "Delete" button styles and always put it at the end. 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 a75e53a5c4 Issue #2378327: Referenced entities can be deleted 2017-11-24 21:06:57 -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