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

2006 commits

Author SHA1 Message Date
paul121
00eb75ea71 Only invalidate cache of assets if the movement log timestamp is in the past. 2021-10-18 10:12:44 -04:00
paul121
72771af905 Test that deleting a group's location log updates the group members' location. 2021-10-18 10:12:44 -04:00
paul121
84a1d11eb2 Invalidate group member cache when the group location changes. 2021-10-18 10:12:44 -04:00
paul121
5a8ee98294 Refactor the location log event subscriber to use an isActiveMovementLog helper method. 2021-10-18 10:12:44 -04:00
paul121
ac04de8597 Test that deleting a group membership log updates the asset's group. 2021-10-18 10:12:44 -04:00
paul121
6821e32a14 Invalidate asset cache when group membership changes. 2021-10-18 10:12:44 -04:00
paul121
3c4a5cfeea Add trait for testing entity cache invalidation. 2021-10-18 10:12:44 -04:00
Paul Weidner
59673a5b64 Only change the www-data ID right before it is needed. #457 2021-10-18 09:10:17 -04:00
Michael Stenta
1a7582b8ab Only perform UniqueBirthLogContraint validation on birth logs. 2021-10-14 09:53:22 -04:00
Michael Stenta
44eb865048 Stub crop family reference terms.
If the crop family migration happens after plant type migration
then these references would not be populated. This shouldn't
happen, because plant type depends on crop family, but it may
be possible. Better to know that something happened than to
silently end up with empty references.
2021-10-14 09:42:13 -04:00
Michael Stenta
6d63bfbafb Correction in migration docs (farm_migrate:import). 2021-10-14 09:40:30 -04:00
Michael Stenta
c7d2fce98e Remove forum_container field processing from taxonomy term migration group.
We don't need this for anything.
2021-10-11 15:46:08 -04:00
Michael Stenta
7f2e56bd61 Issue #3242468: Validation error migrating taxonomy terms that are parents of other terms 2021-10-11 15:45:56 -04:00
Michael Stenta
ccbb206d56 Remove request_time migrate process plugin - no longer used. 2021-10-11 14:44:54 -04:00
Michael Stenta
70e391c864 Do not archive areas without an area type during migration.
This was supposed to be included with the previous commit:
4d59cd69c7
2021-10-11 14:42:43 -04:00
paul121
d86c21cff2 Issue #3241690 by paul121: User 1 cannot use the refresh_token grant type
Load all roles for user 1 so they can be granted all possible scopes.
2021-10-08 19:29:03 -04:00
paul121
703f31d0e1 Issue #3241652 by paul121: Depend on drupal/subrequests 2021-10-08 17:46:51 -04:00
Michael Stenta
463096d42d Update Entity Reference Integrity to 8.x-1.1 and remove patches that were merged upstream.
This reverts commit 4c30aca7c5, reversing
changes made to e6b76a7446.
2021-10-07 10:17:36 -04:00
Michael Stenta
840307e36d Remove unnecessary remember_roles from Views config. 2021-10-04 19:21:00 -04:00
Michael Stenta
4c30aca7c5 Issue #3192238 by paul121: 500 error when using VBO to delete an asset referenced by a log 2021-10-04 19:19:18 -04:00
Michael Stenta
3b5fa75731 Patch entity_reference_integrity to fix Issue #2831365: Make action confirm_form_route_name forms that delete entities disabled when protected 2021-10-04 16:30:29 -04:00
Michael Stenta
fb9b7fd1d6 Patch entity_reference_integrity to fix Issue #3195039: 500 error when deleting referenced entities via JSONAPI 2021-10-04 16:30:29 -04:00
paul121
e6b76a7446 Issue #3240330 by paul121: Computed bundle fields break page_type views
Default to the entity type's base table if the table mapping does not find a table for the bundle field.
2021-10-04 16:28:29 -04:00
Michael Stenta
83d1a66b8c Issue #3240350: Farm report module 2021-10-04 12:24:16 -04:00
Michael Stenta
6207d09d9d Style the reports toolbar icon with a Gin SVG. 2021-10-04 12:24:08 -04:00
Michael Stenta
0defc4d966 Move the farm.report menu link to the farm.base parent via farm_ui_menu. 2021-10-04 12:24:08 -04:00
Michael Stenta
f2da5c96c8 Grant report index access to managed roles with config-level access. 2021-10-04 12:24:08 -04:00
Michael Stenta
b5360d91be Add an index of reports at /report. 2021-10-04 12:24:08 -04:00
Michael Stenta
dccaa1f43a Initial farm_report module. 2021-10-04 12:24:08 -04:00
Michael Stenta
0777434466 Issue #3185188 by paul121, m.stenta: Views exposed filters for Entity References 2021-10-04 12:23:24 -04:00
Michael Stenta
cafd8bd760 Limit Views Entity Reference exposed filters by View or target_bundles. 2021-10-04 12:02:37 -04:00
paul121
254c303e33 Remove log.asset and log.location filters from the page_asset display. 2021-10-04 10:30:41 -04:00
paul121
99b1ca5637 Add default exposed filters for log.asset and log.location. 2021-10-04 10:30:41 -04:00
paul121
46553e7b5f Patch Drupal core issue #2429699: Add Views EntityReference filter to be available for all entity reference fields. 2021-10-04 10:30:41 -04:00
paul121
f4dc0d72eb Create release with softprops/action-gh-release v0.1.13. #452 2021-10-04 10:27:49 -04:00
Michael Stenta
986c7a8331 Issue #3239940: UniqueBirthLogConstraint allows creating two birth logs for the same child 2021-10-01 13:55:07 -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
a4fe7d5139 Issue #3239929 by paul121, m.stenta: Specify access checking in content entity queries 2021-10-01 13:13:35 -04:00
paul121
8127e751a8 Specify accessCheck(FALSE) in LoqQueryTest. 2021-10-01 10:01:35 -07:00
Michael Stenta
2ebeef595e Require explicit use of accessCheck() on the result of farm.log_query service. 2021-10-01 12:44:07 -04:00
Michael Stenta
3fa2cb6777 Fix documented log query service name. 2021-10-01 10:46:16 -04:00
Michael Stenta
e22bf3e576 Document that access checking is not performed in farmOS services. 2021-10-01 10:46:16 -04:00
Michael Stenta
f462573b4e Do not check access in log entity queries in asset.location and group.membership services. 2021-10-01 10:46:16 -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
Michael Stenta
26f7be7b73 Document the farm.log_query service access_check option. 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