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

2749 commits

Author SHA1 Message Date
Michael Stenta
7a2734b91c Patch Feeds to call field_attach_validate() before programmatic entity saves. 2017-07-21 14:51:17 -04:00
Michael Stenta
62986eb2d1 Set asset/log author to the user running the importer. 2017-07-21 14:21:48 -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
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
cd16fb7bf8 Add extra Feeds field mapping to plantings, animals, and equipment. 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
5503f91d92 Patch Fraction to provide Feeds integration. 2017-07-21 14:21:48 -04:00
Michael Stenta
bbf718e142 Patch Field Collection to add Feeds integration. 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
cd33745feb Patch Log module to integrate with Feeds. 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
b12434da94 Add Farm Import as a farmOS dependency and install on existing sites via an update hook. 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
da5fa1bf6d Revert "Remove hook_farm_ui_actions() because farm_ui is the only module implementing it now."
This reverts commit 0060a95262 and updates the code accordingly.
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
Michael Stenta
a4019ac9a4 Issue #2402193: Integrate Farm Asset with Feeds module 2017-07-21 14:21:48 -04:00
Michael Stenta
a489f2fac1 Add Feeds and Job Scheduler modules. 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
7b7e5268ea Fix water test area reference default value. 2017-07-21 14:20:48 -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
6b0fe1d259 Allow prepopulating log categories from query parameter. 2017-07-17 14:45:58 -04:00
Michael Stenta
13090d01c0 Merge farm_log_ids_from_url() into farm_log_prepopulate_log_form_references(). 2017-07-17 14:45:58 -04:00
Michael Stenta
4cc5523d08 Allow prepopulating log names from query parameter. 2017-07-17 14:45:58 -04:00
Michael Stenta
c81111fb6e Revert Issue #2893550: Use Entityreference View Widget for referencing areas 2017-07-13 08:59:41 -04:00
Michael Stenta
0220a48dbc Revert "Add an Entityreference View for Areas."
This reverts commit 67540bf1a9.
2017-07-13 08:59:13 -04:00
Michael Stenta
865d950880 Change area reference field widget on harvest logs to a select list. 2017-07-13 08:58:35 -04:00
Michael Stenta
6d438c381e Revert "Use the Entityreference View for the area reference field selection widget."
This reverts commit c2ed7b4b15.
2017-07-13 08:55:42 -04:00
Michael Stenta
60259c2ae0 Issue #2893550: Use Entityreference View Widget for referencing areas 2017-07-11 09:40:16 -04:00
Michael Stenta
4780101918 Add area reference field to harvest logs. 2017-07-11 09:32:23 -04:00
Michael Stenta
1ca2cfd3f4 Make area reference field descriptions consistent and grammatically correct. 2017-07-11 09:31:58 -04:00
Michael Stenta
c2ed7b4b15 Use the Entityreference View for the area reference field selection widget. 2017-07-11 09:31:00 -04:00
Michael Stenta
67540bf1a9 Add an Entityreference View for Areas. 2017-07-11 09:29:27 -04:00
Michael Stenta
6693255962 Sort area list by weight first, name second. 2017-07-11 08:45:48 -04:00
Michael Stenta
2dd87ab252 Fix empty check on entityreference_view_widget fields. 2017-07-11 08:24:55 -04:00
Michael Stenta
3fd34b6bfd Fix reference prepopulation for area fields. 2017-07-11 08:24:55 -04:00
Michael Stenta
f641a65631 Move entityreference prepopulation helper function from farm_log.module to farm_fields.module. 2017-07-11 08:24:55 -04:00
Michael Stenta
35dc4580c2 Consolidate log entityreference field prepopulation logic. 2017-07-11 08:24:55 -04:00
Michael Stenta
58fc9e86b4 Make log field prepopulation function params and returns consistent. 2017-07-11 08:24:55 -04:00
Michael Stenta
84bf16e237 Misc Views export fixes. 2017-07-11 08:23:31 -04:00
Michael Stenta
6f11a449d7 Update Filter/Sort markup to work with up/down arrows. 2017-07-10 09:41:30 -04:00
Michael Stenta
90b1dd5fb5 Add up/down arrow to collapsible panel headings. 2017-07-10 09:41:30 -04:00