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

39 commits

Author SHA1 Message Date
Michael Stenta
380796b4c8 Move FarmBrowserTestBase to a farm_test module. 2021-06-17 09:42:43 -04:00
Michael Stenta
a7f2ea885f Hide more fields in map popups: group, id_tag, parent, season, status. 2021-06-09 11:33:35 -04:00
paul121
77102245f3 Add map_popup entity_view_display config for assets. 2021-06-09 11:33:35 -04:00
Michael Stenta
2e43c1a7f2 Remove old color config, logic, and schema. 2021-04-16 08:09:27 -04:00
Michael Stenta
709e8daa02 Refactor asset type and land/structure type layer color logic to use layer style definitions. 2021-04-16 07:47:25 -04:00
Michael Stenta
48bd659273 Set map layer colors for all asset types. 2021-04-14 08:57:21 -04:00
Michael Stenta
cfa95587a2 Move Equipment field definition (and tests) back to Equipment module. 2020-12-27 09:36:37 -05:00
paul121
2028e84dc4 Use dependency injection for farm_field.factory service. 2020-12-14 15:53:06 -08:00
paul121
f31d1ae20c Add the StringTranslationTrait to FarmAssetType base class. 2020-12-14 15:13:13 -08:00
Michael Stenta
00d1786ccf Rename farm_field to farm_entity. 2020-12-14 10:07:58 -05:00
Michael Stenta
79eb5fb323 Convert Equipment used field to a bundle field. Move tests to farm_field module. 2020-12-14 10:07:58 -05:00
Michael Stenta
28ee05b41a Add FarmAssetType, FarmLogType, and FarmPlanType entity bundle plugin base classes. 2020-12-14 10:07:58 -05:00
Michael Stenta
4febd4da5f Delete all asset and log form/view display config. 2020-12-13 08:34:49 -05:00
Michael Stenta
273daf9697 Move field definition functions to farm_field.factory service. 2020-12-13 08:34:49 -05:00
Michael Stenta
bd6faab922 Add support for log bundle plugins. 2020-12-13 08:34:49 -05:00
Michael Stenta
46dab75f09 Add a farm_field_bundle_field_definition() function that uses Entity API's BundleFieldDefinition instead of core BaseFieldDefinition. 2020-12-12 07:16:41 -05:00
Michael Stenta
f80345cc3e Convert all asset config fields to bundle fields. 2020-12-12 07:16:41 -05:00
Michael Stenta
f1fd5b0dfb Add support for asset bundle plugins. 2020-12-12 07:16:41 -05:00
Michael Stenta
ed230fceda Delete config rewrites for equipment field form/view displays. 2020-12-12 07:16:41 -05:00
Michael Stenta
c66a775dca Add a test to confirm that the Equipment used field is visible in log form/view displays. 2020-12-12 07:16:41 -05:00
Michael Stenta
ee915a815f Add form/view display weights to equipment base field definition. 2020-12-12 07:16:41 -05:00
Michael Stenta
ac8ca2b57a Fix Error: Call to undefined function farm_field_base_field_definition(). 2020-11-23 16:21:51 -05:00
Michael Stenta
07044f48f4 Rewrite equipment field into display config for all log types. 2020-11-20 11:35:47 -05:00
Michael Stenta
ea121e4772 Implement hook_entity_base_field_info() in farm_equipment.module and convert equipment field to a base field. 2020-11-20 11:35:47 -05:00
Michael Stenta
bb17aacbbf Provide field form/view display config for all asset and log types. 2020-11-20 11:35:47 -05:00
Michael Stenta
28f4f032cb Implement hook_entity_base_field_info() in farm_id_tag.module and convert ID tag field to a base field. 2020-11-20 11:35:47 -05:00
Michael Stenta
e659ac5baf Implement hook_entity_base_field_info() in farm_flag.module and convert flag field to a base field. 2020-11-20 11:35:47 -05:00
Michael Stenta
a23434bdc3 Convert file and image fields to base fields. 2020-11-20 11:35:47 -05:00
Michael Stenta
c92740eb91 Convert notes field to a base field. 2020-11-20 11:35:47 -05:00
Michael Stenta
7ccb2ac455 Convert data field to a base field. 2020-11-20 11:35:47 -05:00
Michael Stenta
096aefe56b Add "ID tags" field to compost, equipment, plant, and sensor assets. 2020-10-15 15:33:10 -04:00
Michael Stenta
f3c48ab4f2 Move field.storage.log.equipment to Equipment module. 2020-10-15 14:18:28 -04:00
Michael Stenta
edc84de53f Add "Manufacturer", "Model", and "Serial number" fields to Equipment assets (with migrations). 2020-10-11 12:17:23 -04:00
Michael Stenta
e08f3cfd0a Move all optional equipment reference field config to the farm_equipment module. 2020-10-07 10:47:45 -04:00
Michael Stenta
4ecbcccc81 Add "Files" and "Images" fields to all asset types. 2020-10-01 23:45:45 -04:00
Michael Stenta
efc3fb0781 Add "Notes" field to all asset types. 2020-10-01 23:45:45 -04:00
Michael Stenta
36c0fb4e58 Add "Data" field to all asset types. 2020-10-01 23:45:43 -04:00
Michael Stenta
2488bff344 Add "Flags" field to all asset types. 2020-10-01 23:44:26 -04:00
Michael Stenta
8e3a27aefa Initial asset types: Animal, Compost, Equipment, Group, Plant, Sensor. 2020-10-01 23:41:40 -04:00