Commit Graph

33 Commits

Author SHA1 Message Date
Michael Stenta 7069c8eff9 Generalize "Archive assets" importer target and add to all log type importers. 2020-04-23 08:26:49 -04:00
Michael Stenta 247bc024ad Trim whitespace from Asset IDs in CSV imports. 2020-04-23 07:41:47 -04:00
Michael Stenta d47db78086 Trim whitespace from CSV fields: Asset names, Parent names, Areas, Categories, Crop/variety, Nicknames, Material. 2019-10-09 12:38:25 -04:00
Michael Stenta 148eda32b0 Issue #3086611: Allow CSV imports to reference assets by name 2019-10-09 12:38:25 -04:00
Michael Stenta 72334e1991 Refactor other modules to use high-level access rules instead of explicit roles. 2018-12-27 10:42:37 -05:00
Michael Stenta 3e03174c61 Create an internal machine name for farm access roles. 2018-12-27 10:42:37 -05:00
Michael Stenta 2bb8ae303f Update default asset Feeds importer mapping and tamper plugins. 2018-01-31 16:20:26 -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 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 5a5194af05 Change "Name" to "Log name" in log importers. 2017-12-28 11:03:18 -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 b9c335734e Add missing dependencies to farm_import. 2017-08-22 14:17:13 -04:00
Michael Stenta e33f4fdea0 Issue #2902053: Access denied on log imports 2017-08-14 09:58:33 -04:00
Michael Stenta 2b7295fd23 Change "Category names" column to "Categories" in importer for consistency with Views exports. 2017-08-06 13:41:45 -04:00
Michael Stenta b2e41f4254 Fix undefined settings in log importer term mappings. 2017-08-06 13:41:36 -04:00
Michael Stenta 7706d5b479 Convert "male" to "M" and "female" to "F". 2017-08-06 13:41:25 -04:00
Michael Stenta 3f0ee87928 Default imported assets to active, and logs to done, if no value is provided. 2017-08-06 13:41:19 -04:00
Michael Stenta 0bcaf0673d Display message when required fields are omitted in Feeds. 2017-07-21 14:51:39 -04:00
Michael Stenta 1ac330a9ef Convert active and done to boolean. 2017-07-21 14:21:48 -04:00
Michael Stenta 8f693b5a8c Add a helper function for building Feeds Tamper plugins. 2017-07-21 14:21:48 -04:00
Michael Stenta 12f4222f42 Remove asset created mapping. 2017-07-21 14:21:48 -04:00
Michael Stenta b2c9d98d70 Convert log dates to timestamps. 2017-07-21 14:21:48 -04:00
Michael Stenta a52280e7e4 Minor simplification of tamper code. 2017-07-21 14:21:48 -04:00
Michael Stenta e886365d7d Do not allow updating of assets/logs via the CSV importers. Only create new. 2017-07-21 14:21:48 -04:00
Michael Stenta 1e98654344 Add action links to log importers on listing pages. 2017-07-21 14:21:48 -04:00
Michael Stenta 1efb0ec990 Add Quantity value and unit mappings, if the field exists. 2017-07-21 14:21:48 -04:00
Michael Stenta 691b4ab68c Automatically provide simple importers for each log type. 2017-07-21 14:21:48 -04:00
Michael Stenta bd3de50b0f Only add field mappings if the fields exist on the asset bundle. 2017-07-21 14:21:48 -04:00
Michael Stenta c3dc2e6076 Use Feeds Tamper to make asset name fields required and explode parent IDs into an array. 2017-07-21 14:21:48 -04:00
Michael Stenta 03fd5d4441 Grant farm managers access to Feeds importers. 2017-07-21 14:21:48 -04:00
Michael Stenta 822c9dbec0 Add action links to asset importers on asset listing pages. 2017-07-21 14:21:48 -04:00
Michael Stenta b385e336c4 Initial commit of Farm Import module: automatically provide simple importers for each asset type. 2017-07-21 14:21:48 -04:00