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

100 commits

Author SHA1 Message Date
Michael Stenta
0b56e1469d Move migration source for the d7 sensor asset to farm_migrate. 2021-04-01 11:22:27 -04:00
paul121
2419039339 Move farm_sensor_listener to data_stream/legacy. 2021-04-01 11:22:27 -04:00
paul121
58d2631ead Move data_stream field to sensor bundle plugin. 2021-04-01 11:22:27 -04:00
paul121
8bce65a7e9 farm_sensor depends on data_stream. 2021-04-01 11:22:27 -04:00
paul121
5d42be6412 Rename listener to basic. 2021-04-01 11:22:27 -04:00
paul121
0981588bb6 Fix fraction field schema error. 2021-04-01 11:22:27 -04:00
paul121
d9a2a858cf View private and public key labels inline, standardize field definition. 2021-04-01 11:22:27 -04:00
paul121
01b38c3204 Use a default value callback method to set the private key. 2021-04-01 11:22:27 -04:00
paul121
f20acf011d Fix enforced module dependency. 2021-04-01 11:22:27 -04:00
paul121
783d547cc0 Use the contrib entity bundle class instead of custom data stream plugin. 2021-04-01 11:22:27 -04:00
paul121
41058a4b57 Fix phpcs errors. 2021-04-01 11:22:27 -04:00
paul121
956d9eb315 Display legacy listener data on entity view page. 2021-04-01 11:22:27 -04:00
paul121
85cd3f8b93 Add a block view with table and CSV export of legacy listener data. 2021-04-01 11:22:27 -04:00
paul121
a035e8d3fb Describe the data_stream_data_legacy table to use in views. 2021-04-01 11:22:27 -04:00
paul121
4296abc4be Delete data when legacy_listener data streams are deleted. 2021-04-01 11:22:27 -04:00
paul121
18122423e7 Create a migration source for sensor listener data. 2021-04-01 11:22:27 -04:00
paul121
17afd4fc59 Create a migration source for d7 Sensor Assets. 2021-04-01 11:22:27 -04:00
paul121
e9e5c599ec Move the processRequest method to DataStreamTestbase. 2021-04-01 11:22:27 -04:00
paul121
95229caed8 Add test for legacy listener API. 2021-04-01 11:22:27 -04:00
paul121
15158f2ea1 Remove "data stream" from plugin labels. 2021-04-01 11:22:27 -04:00
paul121
6d9b67afb0 Render a public_key field in the legacy listener configuration form. 2021-04-01 11:22:27 -04:00
paul121
6efecc0916 Respond to legacy requests at /farm/sensor/listener/{pub_key}. 2021-04-01 11:22:27 -04:00
paul121
371bed6651 Provide a legacy_listener data stream type. 2021-04-01 11:22:27 -04:00
paul121
44cf1a6f32 Create farm_sensor_listener module with separate table for legacy data. 2021-04-01 11:22:27 -04:00
Michael Stenta
319fcad256 Make the asset field in test modules a BaseFieldDefinition and allow multiple values. 2021-03-25 08:43:13 -04:00
Michael Stenta
19f742f55b Remove "Other" from description of Default Land Types. 2021-03-19 08:06:05 -04:00
Michael Stenta
92bd9aa212 Make "Other" a default land type, provided by the Land module. 2021-03-11 07:38:15 -05:00
Michael Stenta
6819f22090 Automated tests for group asset location logic. 2021-03-05 14:15:33 -05:00
Michael Stenta
bbf8866a27 Override the getMovementLog() method of the asset.location service to take group membership into account. 2021-03-05 14:15:32 -05:00
Michael Stenta
e206bd3539 Add group.membership service to the asset.location service. 2021-03-05 14:15:32 -05:00
Michael Stenta
c24b2692cb Alter the asset.location service to use the GroupAssetLocation class. 2021-03-05 14:15:32 -05:00
Michael Stenta
cc42e0ff05 Automated tests for asset group membership. 2021-03-05 14:15:32 -05:00
Michael Stenta
07e71a12e7 Add a computed "Group membership" field to assets. 2021-03-05 14:15:32 -05:00
Michael Stenta
33f5a242b2 Add a group.membership service for getting an asset's group membership.
This was largely copied/modified from asset.location service.
2021-03-04 09:01:52 -05:00
Michael Stenta
739cffaf5e Convert group log bundle fields to base fields. 2021-03-04 09:01:43 -05:00
Michael Stenta
70ac50134a Add an "Is group assignment" and a Group reference field to logs. 2021-03-01 09:05:04 -05:00
Michael Stenta
b0726ce09c Add third party settings to asset types to allow them to be designated as fixed locations by default. 2021-02-25 15:20:58 -05:00
paul121
4046c61ce1 Hide the asset.is_castrated field if false. 2021-02-23 09:02:46 -05:00
Michael Stenta
aca2b14f2d Always auto_create the same target_bundle. 2021-02-05 14:48:48 -05:00
paul121
69fd609a2d Auto create plant asset plant_type and season terms. 2021-02-05 14:41:48 -05:00
paul121
0bf6217680 Auto create animal asset animal_type terms. 2021-02-05 14:41:48 -05:00
Michael Stenta
c504a1b645 Use "Plant types" and "Animal types" as vocabulary names. 2021-01-05 15:08:28 -05:00
Michael Stenta
1f1c4618dc Plant type field is required. 2021-01-04 10:53:17 -05:00
Michael Stenta
48c968f7a6 Allow a Plant asset to reference multiple plant types. 2021-01-04 10:53:17 -05:00
Michael Stenta
38c7f9e2d5 Standardize plant type field label description (for consistency with animal type). 2021-01-04 10:53:17 -05:00
Michael Stenta
f6a8a9d0ae Merge farm_plant_type module into farm_plant module. 2021-01-04 10:28:18 -05:00
paul121
1fd87bc12f Add the plant_type field to planting assets. 2021-01-04 09:07:02 -05:00
Michael Stenta
cec9ebbbd5 Animal type field is required. 2021-01-04 08:29:56 -05:00
Michael Stenta
67574e842d Merge farm_animal_type module into farm_animal module. 2021-01-04 08:28:48 -05:00
paul121
fb56a79bd7 Add animal_type field to animal assets. 2021-01-04 08:28:48 -05:00