Commit Graph

8102 Commits

Author SHA1 Message Date
Michael Stenta 05bec09dba Render comment fields in the bottom region via hook_farm_ui_theme_region_items(). 2024-02-21 09:56:36 -05:00
Michael Stenta 8a5483d1d7 Enable comments on assets and logs. 2024-02-21 09:56:36 -05:00
Michael Stenta 4da5ba6ce4 Grant comment permissions to managed roles. 2024-02-21 09:56:36 -05:00
Michael Stenta e59aac082f Initial commit of farmOS comment module. 2024-02-21 09:56:36 -05:00
Michael Stenta c13d8fee32 Add CHANGELOG.md line for #801. 2024-02-21 09:53:45 -05:00
Paul Weidner 34c6034331 Update to itamair/geophp 1.6 #801 2024-02-21 07:30:20 -05:00
Michael Stenta 238a789e22 Set COMPOSER_ALLOW_SUPERUSER=1 to allow plugins to run as root/super user #799 2024-02-21 07:28:09 -05:00
Paul Weidner 5aba80aaee Check for correct update operation access in location hierarchy form #800 2024-02-13 15:00:58 -08:00
Michael Stenta fb6fd0d0bc Use $this->entityTypeManager() instead of Drupal::entityTypeManager() in entity classes #796 2024-02-09 07:19:10 -05:00
Michael Stenta 6abe3e73b0 farmOS 3.1.1 2024-02-08 05:18:39 -05:00
Michael Stenta 92c558dde3 Use plain strings in submitForm() calls in functional tests.
This fixes failing tests after upgrading to Drupal 10.2.3.
See https://www.drupal.org/project/drupal/issues/3399413
2024-02-08 05:05:39 -05:00
Michael Stenta cec7ed04d0 Update Drupal core to 10.2.3. 2024-02-07 20:30:55 -05:00
Paul Weidner a9a6d8008f Correct gin issue #3342164 2024-02-07 20:13:01 -05:00
Paul Weidner 38271bf84f Patch Gin to fix Issue #3419904: Help text is cutoff at xsmall breakpoint #793 2024-02-07 20:12:34 -05:00
Michael Stenta dadf79c8f0 Update Migrate Tools to 6.0.3 for SA-CONTRIB-2024-008. 2024-02-07 14:47:06 -05:00
Paul Weidner 462c82d6ca Grant config permissions create quick_form permission #791
This permission is required on the quick form add_page and add_form routes.
2024-02-05 05:59:32 -05:00
Michael Stenta 96bf17bc69 farmOS 3.1.0 2024-02-02 20:00:34 -05:00
Michael Stenta 1e2c7c2e47 Update drupal/gin to 3.0-rc9. 2024-02-02 19:56:18 -05:00
Michael Stenta ee71b28ae6 Provide a plan_record entity type for plan record relationships with metadata #781 2024-02-02 19:55:41 -05:00
Michael Stenta 98130dec1c Add CHANGELOG.md line for #781. 2024-02-02 19:55:15 -05:00
Paul Weidner 06b930886a Add PlanRecordInterface::getPlan() 2024-02-02 19:55:15 -05:00
Michael Stenta bd091b7d39 Expose a plan_record edit form at /plan/record/%id/edit. 2024-02-02 19:55:15 -05:00
Michael Stenta a79a2989a8 Add a simple access handler for plan_record entities that checks plan entity access. 2024-02-02 19:55:14 -05:00
Michael Stenta 8bf87f00fe Merge plan_record module into plan module. 2024-02-02 19:55:14 -05:00
Michael Stenta 36fc154c47 Patch drupal/entity_reference_integrity to fix Issue #3418000: Delete action only overridden on first entity type 2024-02-02 19:55:14 -05:00
Michael Stenta 8d25b32b01 Enforce entity reference integrity on plan reference fields. 2024-02-02 19:55:14 -05:00
Michael Stenta 4f4f666c28 Add a required single-value plan entity reference base field. 2024-02-02 19:55:14 -05:00
Michael Stenta 79704c3c7c Add plan record type bundle plugin support via the farm_entity module. 2024-02-02 19:55:14 -05:00
Michael Stenta 9d31aa5ce7 Add a simple Plan record relationship entity type (with bundles). 2024-02-02 19:55:14 -05:00
Michael Stenta 9c6d597404 Initial Plan Record module. 2024-02-02 19:54:20 -05:00
Michael Stenta 9058e39f7c Show map on /locations #779 2024-02-02 19:53:31 -05:00
Michael Stenta 70eb37cbf9 Remove "All" from "Items per page" options in Views #776 2024-02-02 19:52:09 -05:00
Michael Stenta 471e2cda6a Add CHANGELOG.md line for #779. 2024-02-02 19:52:09 -05:00
Michael Stenta dc00956117 Issue #2551091: Show map on /locations 2024-02-02 19:52:09 -05:00
Michael Stenta 1b2ce0b075 Add a locations map behavior and refactor dashboard map logic to use it. 2024-02-02 19:52:09 -05:00
Michael Stenta 433747d0ff Add a MapRenderEvent::getMapBehaviors() method. 2024-02-02 19:52:09 -05:00
Michael Stenta f7e6318026 Make map behavior library optional. 2024-02-02 19:52:09 -05:00
Michael Stenta cce51328c0 Fix MapBlock::build() map #behaviors.
$this->configuration['map_behaviors'] will already be an
array of values, not an associative array of behavior machine
names and their labels. The necessary form value conversion
using array_keys() happens in MapBlock::blockSubmit().
2024-02-02 19:52:09 -05:00
Michael Stenta efc6797899 Remove hard dependency on farm_ui_dashboard from farm_ui_map.
We implement hook_farm_dashboard_panes() but that will only
run if farm_ui_dashboard is enabled. It doesn't depend on it.
Removing this hard dependency allows farm_ui_dashboard to be
disabled without disabling farm_ui_map.
2024-02-02 19:52:09 -05:00
Michael Stenta 3e891a880d Improve asset and log CSV exports #783 2024-02-02 19:51:14 -05:00
Michael Stenta c0cc0a92b5 Add CHANGELOG.md line for #783. 2024-02-02 19:49:55 -05:00
Paul Weidner 65c0159e79 Implement BaseFormIdInterface 2024-02-02 19:49:55 -05:00
Paul Weidner 28b2d3b83d Use strict type checking for context variables that should be TRUE 2024-02-02 19:49:55 -05:00
Paul Weidner 604ce5f88e Change export warning message 2024-02-02 19:49:55 -05:00
Paul Weidner 0bb5facc66 Simplify and include count in CSV export question 2024-02-02 19:49:55 -05:00
Michael Stenta 4d05465f7c Update export docs to describe the difference between asset, log, quantity exports. 2024-02-02 19:49:55 -05:00
Michael Stenta 8b8ac5bb20 Remove CSV REST export displays from log, asset, plan Views. 2024-02-02 19:49:55 -05:00
Michael Stenta 22024a8f86 Install the farm_export_csv module on sites that have farm_ui_views installed. 2024-02-02 19:49:54 -05:00
Michael Stenta ee34ca660a Configure CSV export normalizers to flatten values. 2024-02-02 19:49:54 -05:00
Michael Stenta 0a3a5084c1 Provide a TimestampItemNormalizer with an option to return RFC3339 formatted date. 2024-02-02 19:49:54 -05:00