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

32 commits

Author SHA1 Message Date
Michael Stenta
f6d195d9c8 Issue #3382598: Deprecate farmOS v1 migrations 2023-10-06 14:49:10 -04:00
Michael Stenta
44cd6076e5 Do not allow any classes in SensorAsset migration source unserialize() function.
Fixes coding standard warnings introduced by slevomat/coding-standard.
2022-01-31 07:48:10 -05:00
Michael Stenta
538d9cf24c Migrate quick form IDs from the 1.x {farm_quick_entity} table into the "quick" field on assets and logs. 2021-10-27 15:22:34 -04:00
Michael Stenta
282e3f221d Add a d7_farm_asset migration source plugin for all asset migrations. 2021-10-27 15:22:34 -04:00
Michael Stenta
5d29318e67 Move SensorListenerDataNames migrate d7 source plugin to farm_migrate module. 2021-09-20 15:07:24 -04:00
paul121
5ed294b630 Allow the sensor type to be specified in the d7_sensor_asset source plugin. 2021-09-20 15:07:24 -04:00
Michael Stenta
0b56e1469d Move migration source for the d7 sensor asset to farm_migrate. 2021-04-01 11:22:27 -04:00
paul121
38a9597296 Alias field_data_field_farm_inventory as fdffi. 2021-03-29 08:35:18 -07:00
paul121
54ddd93277 Fix class description. 2021-03-27 14:43:53 -04:00
paul121
039ece7f93 Migrate log inventories. 2021-03-27 14:43:53 -04:00
paul121
d44751e7a0 Provide a migration source for log inventories. 2021-03-27 14:43:53 -04:00
paul121
5a6ba4d55b Include log_inventories in the FarmLog source plugin. 2021-03-25 18:31:09 -04:00
Michael Stenta
f3c735b5c9 Issue #3176503: Migrate soil names field data (concat to notes). 2021-03-17 08:17:16 -04:00
Michael Stenta
b70f2f8b45 Load group assignment information in the FarmLog D7 migration source. 2021-03-01 09:55:58 -05:00
Michael Stenta
9bb01ab1ef Split FarmLog::prepareRow() method into prepareMovement() and prepareQuantity() methods. 2021-03-01 09:55:58 -05:00
Michael Stenta
9023567026 Run parent::prepareRow($row) before performing our own modifications in FarmLog.php. 2021-02-16 09:49:27 -05:00
Michael Stenta
6fcc4c4c58 If a migrated log has movement geometry but no areas, save the geometry, store a message, and allow the migration to continue. 2021-02-16 09:38:44 -05:00
Michael Stenta
c645cc4718 Remove redundant call to getFieldValues(). 2021-02-16 08:55:50 -05:00
Michael Stenta
063173d459 Fix queries in D7 FarmLog migration areas/geometry lookup to prevent cross-referencing unintended entity types. 2021-02-16 08:53:22 -05:00
Michael Stenta
14e4912420 Link to "Movement logs" section of migration docs from warning message. 2021-02-16 06:06:09 -05:00
Symbioquine
3c7886dbc5 Fix quantity queries in migration to avoid extraneous rows
**Why?** Drupal 7 allows field re-use which means there may
be extra unrelated rows in addition to the ones pertaining
to the core logs.
2021-02-14 14:07:41 -05:00
Michael Stenta
6010d3af8f Create a dedicated migration for Quantities. 2021-02-05 12:23:20 -05:00
paul121
667531d3d3 Inherit log uid, created and changed properties when migrating quantities. 2021-02-05 12:23:20 -05:00
paul121
53fcd57041 Extend the log source plugin to include quantity values. 2021-02-05 12:23:20 -05:00
Michael Stenta
3d6b8fa5c5 Rename log movement field to is_movement. 2020-12-29 12:27:35 -05:00
Michael Stenta
1fd0a1fafe Add an option to include "any" area types (including null). 2020-12-29 12:15:28 -05:00
Michael Stenta
2baf024d84 Add a migration for areas without a type. Set their type to "Other" and archive them automatically. 2020-12-29 12:15:28 -05:00
Michael Stenta
d9bea90c25 Save warning messages when movement areas/geometry are overwritten. 2020-12-29 12:15:28 -05:00
Michael Stenta
342e0d8935 Allow movement log area/geometry data to be discarded via settings.php. 2020-12-29 06:55:38 -05:00
Michael Stenta
00321bedd1 Migrate movement and location fields on logs using custom d7_farm_log migrate source plugin. 2020-12-29 06:55:38 -05:00
Michael Stenta
70b5ce06ce Migrate Area terms to Land/Structure/Water assets using a custom d7_farm_area source plugin that extends from d7_taxonomy_term. 2020-12-29 06:55:38 -05:00
Michael Stenta
7869fb48b4 Migrate animal tags to ID tags using custom d7_animal_asset source. 2020-10-15 15:33:10 -04:00