Commit Graph

2076 Commits

Author SHA1 Message Date
Michael Stenta daa75281cd Issue #3246090 by paul121: Query assets from multiple groups/locations in a single query 2021-10-27 16:27:41 -04:00
paul121 9937730c14 Query assets from multiple locations in a single query. 2021-10-27 16:27:19 -04:00
paul121 50d7f643c2 Use dependency injection in views argument plugins. 2021-10-27 16:27:19 -04:00
paul121 937001a13a Optimize group member logic in the group log event subscriber. 2021-10-27 16:27:19 -04:00
paul121 0df2e5b471 Query group members from multiple groups in a single query. 2021-10-27 16:27:19 -04:00
Michael Stenta b6952c8557 Issue #3191246 by paul121, m.stenta, jgaehring: Serve Field Modules to Field Kit 2021-10-27 15:53:39 -04:00
Michael Stenta b2c9fc9792 Move farm_client_test module to modules directory and "Testing" package. 2021-10-27 15:53:29 -04:00
paul121 b417cf4a78 Add module for testing client modules. 2021-10-27 15:53:29 -04:00
paul121 59859f12b6 Grant the "view client_module" permission to managed roles with default permissions. 2021-10-27 15:53:29 -04:00
paul121 b827a46c9c Grant the "administer client_module" permission to managed roles with config permissions. 2021-10-27 15:53:29 -04:00
paul121 d398543082 Use the contrib entity access and permission_provider handlers. 2021-10-27 15:53:29 -04:00
paul121 01164d5d08 Create a controller to serve the client_module index.js 2021-10-27 15:53:29 -04:00
paul121 d0ae47e162 Define a client_module config entity. 2021-10-27 15:53:29 -04:00
Michael Stenta 47f4623629 Merge branch '2.x-quick' into 2.x 2021-10-27 15:31:00 -04:00
Michael Stenta 4a8fddd5af Dynamically add the "Quick forms" index menu item only if quick forms exist. 2021-10-27 15:22:34 -04:00
Michael Stenta adb53b1211 Translate 1.x quick form IDs to 2.x (placeholder).
This is just a placeholder. IDs can be added here as the 2.x
quick forms are built.
2021-10-27 15:22:34 -04:00
Michael Stenta 538d9cf24c Migrate quick form IDs from the 1.x {farm_quick_entity} table into the "quick" field on assets and logs. 2021-10-27 15:22:34 -04:00
Michael Stenta 282e3f221d Add a d7_farm_asset migration source plugin for all asset migrations. 2021-10-27 15:22:34 -04:00
Michael Stenta 07c6ff2193 Only check entity view access in QuickFormActionBase. 2021-10-27 15:22:34 -04:00
Michael Stenta a36bf06b4a Move QuickFormBase and QuickFormInterface to src/Plugin/QuickForm. 2021-10-27 15:22:34 -04:00
paul121 3bee8d4fb1 Provide a trait for loading prepopulated entity references. 2021-10-27 15:22:34 -04:00
paul121 560cd37168 Provide a base class for quick form action plugins. 2021-10-27 15:22:34 -04:00
paul121 ac1679841d Provide a route for each quick form. 2021-10-27 15:22:34 -04:00
paul121 b3428fc737 Only implement ContainerFactoryPluginInterface in QuickFormBase. 2021-10-27 15:22:34 -04:00
paul121 ba3011a5e6 QuickForms are provided under the Plugin/QuickForms directory. 2021-10-27 15:22:33 -04:00
Michael Stenta 68e4f83c52 Document how modules can provide quick forms. 2021-10-27 15:22:33 -04:00
Michael Stenta 93dd920391 Track which quick form created assets/logs. 2021-10-27 15:22:33 -04:00
Michael Stenta f165683c65 Add a field to assets and logs for tracking which quick form(s) created them. 2021-10-27 15:22:33 -04:00
Michael Stenta 926ae97372 Add automated tests of all quick form helper traits/methods. 2021-10-27 13:45:18 -04:00
Michael Stenta cec091b720 Use the createQuantity() helper method in the createLog() helper method. 2021-10-27 13:45:18 -04:00
Michael Stenta a52fd0b5ae Provide traits with helper methods for creating quantities and terms. 2021-10-27 13:45:18 -04:00
Michael Stenta 78fa65945b If not specified, set the log's status to "done". 2021-10-27 13:45:18 -04:00
Michael Stenta c680e5c24b Display a message with a link to the entity when an asset or log is created. 2021-10-27 13:45:18 -04:00
Michael Stenta d5a4407301 Provide traits with helper methods for creating assets and logs. 2021-10-27 13:45:18 -04:00
Michael Stenta f14a6efd07 Add automated tests for quick forms.
Test plugin discovery and access control.
2021-10-27 13:45:18 -04:00
Michael Stenta c407ff70ac Move farm.quick menu link under farm.base and style the toolbar icon. 2021-10-27 13:45:18 -04:00
Michael Stenta 2eba7516ec Generate menu links for all quick forms and the index. 2021-10-27 13:45:18 -04:00
Michael Stenta 54c8ef4fce Add help text to individual quick forms. 2021-10-27 13:45:18 -04:00
Michael Stenta bf8731cc18 Add help text to quick form index. 2021-10-27 13:45:18 -04:00
Michael Stenta 2219a712cc Allow quick forms to control access via permissions and/or an access() method. 2021-10-27 13:45:18 -04:00
Michael Stenta c7ac62e239 Add a page controller at /quick that displays an index of quick forms. 2021-10-27 13:45:18 -04:00
Michael Stenta 2f6e556d01 Add a form wrapper class for rendering quick forms at /quick/{id} 2021-10-27 13:45:18 -04:00
Michael Stenta f0778dd1b3 Provide a quick form plugin manager. 2021-10-27 13:45:18 -04:00
Michael Stenta 072c030379 Initial commit of the farmOS Quick Forms module. 2021-10-27 13:45:18 -04:00
Michael Stenta a6646175e8 Patch drupal/jsonapi_schema to fix Issue #3246251: Change format "utc-millisec" to "date-time" 2021-10-27 12:40:35 -04:00
Michael Stenta 5da75606a1 Revert "Update drupal/core patch for Issue #2429699: Add Views EntityReference filter to be available for all entity reference fields"
This reverts commit f69640bde6.
2021-10-22 15:00:38 -04:00
Michael Stenta f69640bde6 Update drupal/core patch for Issue #2429699: Add Views EntityReference filter to be available for all entity reference fields 2021-10-22 11:12:16 -04:00
paul121 daa09b5c54 Patch drupal/gin issue #3245203: Sticky region has inconsistent z-index. 2021-10-22 07:03:18 -04:00
paul121 c7b6d7ea48 Bump gin to alpha37. 2021-10-22 07:03:18 -04:00
paul121 b14e91f195 Fix Uncaught PHP Exception Twig\\Error\\RuntimeError: "The "filter" filter expects an array or "Traversable", got "NULL"."
Initialize the content variable so it exists in quantity.html.twig
when the quantity has no populated fields.
2021-10-21 09:59:02 -07:00