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

104 commits

Author SHA1 Message Date
Michael Stenta f41b526278 Fix farm_entity_test and farm_entity_contrib_test module info. 2023-03-28 14:59:14 -04:00
Paul Weidner 9f85bf9e81 Move asset parent base field to new farm_parent module. 2022-11-16 10:57:37 -05:00
Paul Weidner 815678f711 Move log category base field to farm_log_category module 2022-11-16 10:44:02 -05:00
Michael Stenta 40eeb14244 Test presence of the owner field on assets. 2022-10-10 15:36:52 -04:00
Michael Stenta bef0400da4 Fix [warning] Invalid argument supplied for foreach() EntityViewsDataTaxonomyFilterTrait.php:26 #575 2022-09-27 13:11:45 -04:00
Michael Stenta be7405ebef Fix Call to deprecated method getImplementations() of class Drupal\Core\Extension\ModuleHandlerInterface. 2022-09-13 11:07:21 -04:00
Michael Stenta bafd1f0132 Fix Call to deprecated function module_load_include(). 2022-09-13 10:23:48 -04:00
Michael Stenta ff60b3164d Fix \Drupal calls should be avoided in classes, use dependency injection instead. 2022-09-13 10:12:45 -04:00
Michael Stenta 7508c8d4f8 Disable default field wrapper elements in entity_reference Views displays.
Before this, when using these Views in entity_autocomplete form
widgets, the form field content ends up with <span> tags wrapping
the entity label.
2022-01-14 11:05:51 -05:00
Michael Stenta fe0bc23f85 Re-export Views config per https://www.drupal.org/node/3230199 (no changes). 2022-01-14 11:05:51 -05:00
Michael Stenta 2175b57e2d Move asset reference field on logs to new farm_log_asset module. 2021-12-28 09:17:42 -05:00
Paul Weidner e65cc87a02 Add test for parent field constraints. 2021-12-10 15:40:09 -08:00
Paul Weidner ca3b6b6513 Test entity fields in a loop. 2021-12-10 15:29:55 -08:00
Paul Weidner e8bab25d24 Remove third_party_settings option from FarmFieldFactory. 2021-12-10 15:20:54 -08:00
Michael Stenta 6a7f123ae9 Change weight of Parents and ID Tags fields to 0. 2021-12-07 14:00:17 -05:00
Michael Stenta 9a454d383a Adjust default weight of Notes fields so it appears below 0 weight fields. 2021-12-07 14:00:17 -05:00
paul121 3a46ccb60b Issue #3239191 by paul121: Change farm_update to ignore simple config 2021-09-27 09:50:10 -04:00
Michael Stenta 20ceb84193 Move ID Tag base field to farm_id_tag. 2021-09-24 12:23:01 -04:00
Michael Stenta e9e523c095 Move flag base field, action, config, and logic to farm_flag. 2021-09-24 12:22:25 -04:00
Michael Stenta 0029cfbf01 Move Views stuff from farm_entity to new farm_entity_views sub-module. 2021-09-24 12:21:15 -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 0f84ff1575 Move Log Owner base field to dedicated farm_owner module. 2021-09-24 11:50:32 -04:00
Michael Stenta 938fb5926c Exclude config that we override in hook_install(). 2021-09-23 09:55:41 -04:00
Michael Stenta 505dc83130 Refactor farm_entity config_rewrite settings into hook_install(). 2021-09-16 19:08:58 -04:00
Michael Stenta 7fad319709 Add enforced dependency on farm_entity to asset_flag_action config. 2021-08-30 13:45:32 -04:00
paul121 5e4f66c896 Enable the flag action for asset log and plan entities. 2021-08-30 12:28:51 -04:00
Michael Stenta 313951c798 Move views.view.farm_asset_reference to optional config. 2021-07-30 12:40:41 -04:00
Michael Stenta b8b3d8c5d0 Add a dependency on drupal:taxonomy to farm_entity module. 2021-07-27 09:34:43 -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 f77ba74e2a Move LogEventSubscriber for cleaning up log quantities to the farm_log_quantity module. 2021-07-22 17:40:16 -04:00
Michael Stenta cdfe4dc5a4 Move log quantity base field definition to farm_log_quantity module.
The farm_inventory module had an implicit dependency on this
field, so by moving this out to its own module we can depend
on it explicitly without adding a dependency on farm_entity
as a whole.
2021-07-22 17:40:16 -04:00
Michael Stenta 8d66a98483 Remove @todo regarding plan and data_stream and alphabetize perms.
It's OK if managed roles have permissions that are not defined.
There's nothing more "todo" here.
2021-06-24 14:45:15 -04:00
paul121 cab9d25734 Add entity type view permissions for all managed farm roles. 2021-06-24 12:38:45 -04:00
paul121 06e922937a Use the contrib entity access and permission_provider handlers for farm entity bundle entity types. 2021-06-24 12:38:45 -04:00
Michael Stenta 380796b4c8 Move FarmBrowserTestBase to a farm_test module. 2021-06-17 09:42:43 -04:00
Michael Stenta b3be5b0755 If the new revision log message matches the original, then set a blank message. 2021-06-09 11:01:32 -04:00
Michael Stenta 4f31aa9ed1 Always set the revision user ID. 2021-06-09 10:10:12 -04:00
pcambra 0f87c085ea Issue #3216766: Revisions are not supported on JSON API 2021-06-04 22:45:01 -04:00
Michael Stenta 85e7815090 Enforce the integrity of entity references to data_stream and quantity entities. 2021-06-04 22:04:38 -04:00
Michael Stenta 187bd7abcb Move all Views hooks to *.views.inc and *.views_execution.inc include files. 2021-06-04 21:17:41 -04:00
Michael Stenta b27419ea68 Add EXIF Orientation module. 2021-05-26 12:33:26 -04:00
paul121 292d46878a Create reverse relationships for ER bundle fields after they are installed. 2021-05-20 17:31:59 -04:00
paul121 af805d4502 Extend from QuantityViewsData for quantity entities. 2021-04-21 14:26:25 -04:00
paul121 7358e4d64c Extend entity views data to configure the correct filter for all taxonomy_term reference fields. 2021-04-21 14:26:23 -04:00
paul121 e82ac54474 Allow access to the view label operation on bundle entity types. 2021-04-20 09:22:02 -07:00
paul121 f4c8a7116e Do not display the entity type field in entity forms. 2021-04-20 09:21:59 -07:00
paul121 0042e53bc2 Add entity type field to entity view pages. 2021-04-19 13:16:16 -04:00
Michael Stenta cec5058337 Issue #3200219 by paul121: Uninstalling a bundle removes field storage definitions that are used by other bundles
This fixes the incorrect commit message used for the previous merge (two
commits ago), so that future git blame history is correct.
2021-03-23 17:43:01 -04:00
Michael Stenta 3752976f1a Revert "Issue #2991394 by paul121: Move inventory fields to quantity measurements"
This reverts commit d8443dfa56, reversing
changes made to d40531cbbc.

I mistakenly copied and pasted the wrong commit message for the previous
merge commit. This reverts the entire merge. I will revert this revert,
and give it the correct commit message in the next commit so that git
blame history is corrected moving forward.
2021-03-23 17:41:05 -04:00
paul121 d4e0d26aef Add explicit test to ensure field storage definitions provided by hook_farm_entity_bundle_field_info are deleted. 2021-03-22 07:27:26 -04:00