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

1075 commits

Author SHA1 Message Date
Michael Stenta
274b510d2e Set the views data handler class for logs to FarmLogViewsData. 2021-03-11 07:38:15 -05:00
Michael Stenta
dae3ccd80c Add Views integration for Quantity Value field, filter, and sort using fraction decimal handlers. 2021-03-11 07:38:15 -05:00
Michael Stenta
3c9087a3d0 The Quantity value field is not required.
This was dependent on https://www.drupal.org/project/fraction/issues/3202832
2021-03-11 07:38:15 -05: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
3d1d3fb2e4 Merge branch '2.x-quantity_inline_form' into 2.x 2021-03-11 07:36:40 -05:00
paul121
06c03f1073 Always render the Quantity type field. 2021-03-09 09:12:05 -08:00
paul121
bdd4e66714 Render the quantity entity in quantity inline entity forms. 2021-03-09 08:58:41 -08:00
paul121
7727048c6f Allow the quantity type label to be viewed without the administer bundle permission.
https://www.drupal.org/project/entity/issues/2943571
2021-03-09 08:23:28 -08:00
paul121
19a2169ac1 Add quantity permissions to managed roles. 2021-03-09 08:21:28 -08:00
Michael Stenta
2cd058167f Issue #3196825 by paul121, m.stenta: Quantity types 2021-03-08 10:09:52 -05:00
Michael Stenta
19b5705f41 Use quantity_base_fields instead of standard_quantity_fields to avoid confusion with standard bundle. 2021-03-08 10:09:22 -05:00
Michael Stenta
11f370e4c5 Remove standard quantity template (use default). 2021-03-08 10:01:42 -05:00
Michael Stenta
85f979a439 Do not include quantity type in default template. 2021-03-08 10:01:42 -05:00
Michael Stenta
c394b7bacf Fix "Call to a member function setRequirement() on null" for entity types that do not expose bundle admin UI. 2021-03-08 09:43:14 -05:00
Michael Stenta
8fbf8def75 Remove unimplemented quantity entity type annotations and related unused classes. 2021-03-08 09:42:33 -05:00
Michael Stenta
07c6e32d14 Revert "Make farm_migrate depend on farm_entity."
This reverts commit 6dc2f82c24aae2c4b11f037e73f15ccf81d167e0.
2021-03-05 14:16:06 -05:00
Michael Stenta
c8cf3ae94d Revert "The farm_migrate module depends on farm_quantity_standard."
This reverts commit 04f3af4dc530998815b60048befb3da61bb439b3.
2021-03-05 14:16:06 -05:00
Michael Stenta
07d03f617b Move farm_migrate_quantity_standard to optional config. 2021-03-05 14:16:06 -05:00
paul121
97b744207e The farm_migrate module depends on farm_quantity_standard. 2021-03-05 14:16:06 -05:00
paul121
0a55030f33 The farm_quantity_standard module depends on farm_entity. 2021-03-05 14:16:06 -05:00
paul121
e6836d4229 Provide a quantity--standard template. 2021-03-05 14:16:06 -05:00
paul121
5491b83fb2 Remove devel and standard quantity reference from template. 2021-03-05 14:16:06 -05:00
Michael Stenta
dd910c1d95 The farm_entity module depends on quantity, not farm_quantity_standard. 2021-03-05 14:16:06 -05:00
Michael Stenta
b5d87d4e81 Make farm_quantity_standard a default module during farmOS installation. 2021-03-05 14:16:05 -05:00
Michael Stenta
078826205a Rename quantity migration to farm_migrate_quantity_standard. 2021-03-05 14:16:05 -05:00
paul121
d942781100 Render the quantity type label if it is not the standard type. 2021-03-05 14:16:05 -05:00
paul121
65d2348b93 Document that the quantity variable is available in template. 2021-03-05 14:16:05 -05:00
paul121
a5d1e7eeef Only display other quantity field labels if they are not hidden. 2021-03-05 14:16:05 -05:00
paul121
91aef36db3 Do not add clearfix to quantity fields. 2021-03-05 14:16:05 -05:00
paul121
b7caa132c7 Move the quantity label to the bottom of the form. 2021-03-05 14:16:05 -05:00
paul121
b8f8a7402f Migrate quantities to the standard quantity type. 2021-03-05 14:16:05 -05:00
paul121
1840292885 Make farm_migrate depend on farm_entity. 2021-03-05 14:16:05 -05:00
paul121
0fc69793a0 Require the standard quantity type. 2021-03-05 14:16:05 -05:00
paul121
7cb97689cf Provide a standard quantity type. 2021-03-05 14:16:05 -05:00
paul121
c6a2d1daf1 Make the default quantity template compatible with all bundles. 2021-03-05 14:16:05 -05:00
paul121
d4037fc0f5 Add field__quantity__field theme hook suggestion. 2021-03-05 14:16:05 -05:00
paul121
d258e05c2e Add theme suggestions for each quantity bundle. 2021-03-05 14:16:05 -05:00
paul121
1b3dbe6540 Enable bundle plugins for the quantity entity. 2021-03-05 14:16:05 -05:00
paul121
fd1496448d Enable bundles on Quantity entities. 2021-03-05 14:16:05 -05:00
Michael Stenta
83c5e14217 Merge branch '2.x-group-logic' into 2.x 2021-03-05 14:15:42 -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
aaaa291c14 Issue #2991380: Migrate group membership field from Field Collection to Log 2021-03-01 09:56:21 -05:00
Michael Stenta
aff6c154fc Add log migration processing for the group and is_group_assignment fields. 2021-03-01 09:55:58 -05:00