Michael Stenta
|
4d31e7033e
|
Do not add birth log mother to animal assets that already have parents #655
|
2023-03-16 14:58:57 -04:00 |
|
Michael Stenta
|
f9a96bb781
|
Fix variable hints in BirthTest.php.
|
2023-03-11 11:13:59 -05:00 |
|
Eric Larese
|
69f12631e2
|
Remove un-needed phpstan ignores.
See https://github.com/mglaman/phpstan-drupal/issues/474
|
2023-01-27 14:55:09 -05:00 |
|
Michael Stenta
|
d5a87aa3e8
|
Wrap table names in curly braces.
|
2022-12-02 08:06:50 -05:00 |
|
Michael Stenta
|
70fa979440
|
Fix update hook for converting lab to taxonomy #606
|
2022-11-26 08:22:01 -05:00 |
|
Michael Stenta
|
8b49a232e2
|
Add tissue lab test type #605
|
2022-11-25 12:03:39 -05:00 |
|
Michael Stenta
|
80f75ebcb2
|
Change "Lab" quantity to "Test" quantity to be more general.
|
2022-11-25 12:02:38 -05:00 |
|
Michael Stenta
|
21c0fb4163
|
Use lab quantity as default in lab_test logs.
|
2022-11-25 12:02:38 -05:00 |
|
Michael Stenta
|
347de7aac7
|
Convert lab field to term reference on lab test logs #603
|
2022-11-25 12:02:38 -05:00 |
|
Michael Stenta
|
fbd754e867
|
Add "Date received" and "Date processed" fields to lab test logs #602
|
2022-11-25 12:02:38 -05:00 |
|
Michael Stenta
|
c100569bf7
|
Rearrange lab test log field definitions to match their weights.
|
2022-11-25 12:02:38 -05:00 |
|
Michael Stenta
|
114f6edfbf
|
All log modules depend on log:log.
|
2022-11-22 16:20:40 -05:00 |
|
Michael Stenta
|
305f430dfc
|
The log.type.input config depends on farm_quantity_material.
|
2022-11-22 16:20:40 -05:00 |
|
Paul Weidner
|
9f85bf9e81
|
Move asset parent base field to new farm_parent module.
|
2022-11-16 10:57:37 -05:00 |
|
Michael Stenta
|
9e829fc374
|
Use @phpstan-ignore-next-line on getAggregateQuery() lines to fix "Missing explicit access check on entity query" errors.
This is a temporary workaround pending resolution of this upstream issue:
https://github.com/mglaman/phpstan-drupal/issues/474
|
2022-09-13 10:23:48 -04:00 |
|
Michael Stenta
|
1cd9df9fab
|
Fix "Access to an undefined property" PHPStan errors.
|
2022-09-13 10:23:48 -04:00 |
|
Michael Stenta
|
597e984fb4
|
Fix "always exists and is not falsy" PHPStan errors.
|
2022-09-12 19:46:27 -04:00 |
|
Michael Stenta
|
1a35a65c66
|
Consistently provide *_options() helpers for all uses of *_allowed_values().
|
2022-02-28 14:20:37 -05:00 |
|
Michael Stenta
|
b3a2b5d6f6
|
Birth log tests depend on farm_log_asset.
|
2021-12-28 12:58:03 -05:00 |
|
Michael Stenta
|
3a6d85e63c
|
Modules with log event subscribers can depend on log instead of farm_log now that events are provided upstream.
See Issue #3243163: Dispatch a LogEvent for log save, delete and clone operations
|
2021-12-27 17:32:12 -05:00 |
|
Paul Weidner
|
7af4618ba1
|
Issue #3253430 by paul121: Define all callback_allowed_values_function parameters
Accidentally merged the wrong commit earlier.
|
2021-12-14 09:13:10 -05:00 |
|
Paul Weidner
|
d15bdc5e37
|
Define all callback_allowed_values_function parameters.
|
2021-12-14 06:58:07 -05:00 |
|
Michael Stenta
|
d3b3bd862d
|
Use upstream \Drupal\log\Event\LogEvent instead of custom event.
|
2021-10-18 15:23:26 -04:00 |
|
paul121
|
a8cfea7b5e
|
Update farm_birth LogEventSubscriber service name and description.
|
2021-10-18 10:12:44 -04:00 |
|
Michael Stenta
|
1a7582b8ab
|
Only perform UniqueBirthLogContraint validation on birth logs.
|
2021-10-14 09:53:22 -04:00 |
|
paul121
|
7ef59222e5
|
Allow birth logs to be modified after being created.
|
2021-10-01 13:19:38 -04:00 |
|
paul121
|
02fa75c4ee
|
Use an aggregate query to count birth logs.
|
2021-10-01 13:14:00 -04:00 |
|
paul121
|
3604cf9483
|
Use EntityReferenceFieldItemList to iterate over entities.
|
2021-10-01 13:14:00 -04:00 |
|
paul121
|
10fec240cc
|
Include the delta in the violation path.
|
2021-10-01 13:14:00 -04:00 |
|
paul121
|
a328446b72
|
Fail validation if more than 0 birth logs reference the asset.
|
2021-10-01 13:14:00 -04:00 |
|
Michael Stenta
|
5d0dc727f2
|
Do not check log access when searching for birth logs in UniqueBirthLogConstraintValidator.
|
2021-10-01 10:46:16 -04:00 |
|
paul121
|
b9f41d7d69
|
Explicitly enable access checking on content entity queries.
Not calling ::accessCheck() is deprecated in Drupal 9.2. See
https://www.drupal.org/node/3201242
|
2021-10-01 10:46:16 -04:00 |
|
Michael Stenta
|
9e26868112
|
Move base field definitions from farm_entity to new farm_entity_fields sub-module.
|
2021-09-24 12:21:15 -04:00 |
|
Michael Stenta
|
1f0c254e79
|
Remove explicit dependency on farm_flag from farm_maintenance.
|
2021-09-24 11:50:02 -04:00 |
|
paul121
|
95c916b8e9
|
Add functional test of quantity type views filter.
|
2021-09-22 14:45:20 -04:00 |
|
paul121
|
c1c89c7ddc
|
Add the log quantity material type filter to page_type and page_asset displays.
|
2021-09-22 14:45:20 -04:00 |
|
paul121
|
1170e81242
|
Add LogQuantitymaterialType views filter.
|
2021-09-22 14:45:20 -04:00 |
|
paul121
|
ae08790b56
|
Input logs default to the material quantity type.
|
2021-09-22 14:45:20 -04:00 |
|
Michael Stenta
|
c4bd241ed3
|
Remove material term reference field from Input logs.
|
2021-09-22 14:45:20 -04:00 |
|
paul121
|
5fd89cf2f8
|
Migrate input log material term reference field to Material Quantities.
|
2021-09-22 14:45:20 -04:00 |
|
s33a
|
b88877b617
|
Rename "Material" taxonomy to "Material types".
This also changes the `material` term reference field on
Input logs to `material_type`, and updates all migrations
accordingly.
|
2021-09-22 14:45:20 -04:00 |
|
Michael Stenta
|
d81c417ff5
|
Link animal birthdate field to birth log, if available.
|
2021-09-21 17:34:54 -04:00 |
|
Michael Stenta
|
92cef7f8f8
|
Validate that only one birth log can reference an asset.
|
2021-09-21 17:34:54 -04:00 |
|
Michael Stenta
|
3a649a8b42
|
When a birth log is saved, copy mother and date to children assets.
|
2021-09-21 17:34:54 -04:00 |
|
Michael Stenta
|
f97029b010
|
Rename the Asset field to Children in Birth logs.
|
2021-09-21 17:34:54 -04:00 |
|
Michael Stenta
|
1c5f3e3539
|
Move Mother field above Assets (Children) field in Birth logs.
|
2021-09-21 17:34:54 -04:00 |
|
Michael Stenta
|
89996482be
|
Issue #3220623: Split Sale/Purchase/Price bundles out to contrib
|
2021-09-17 15:59:27 -04:00 |
|
Michael Stenta
|
6c1af891be
|
Move default_quantity_type third-party setting and logic to farm_log_quantity.
|
2021-07-22 17:40:16 -04:00 |
|
Michael Stenta
|
360e133164
|
Add Birth log type and migration.
|
2021-05-26 12:19:05 -04:00 |
|
Michael Stenta
|
864d90aa29
|
Fix Seeding Log field descriptions.
|
2021-04-01 11:22:26 -04:00 |
|