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

8066 commits

Author SHA1 Message Date
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 70eb37cbf9 Remove "All" from "Items per page" options in Views #776 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
Michael Stenta 6ccf2cda0d Provide a TextLongFieldItemNormalizer with an option to return processed text. 2024-02-02 19:49:54 -05:00
Michael Stenta 9995efd994 Provide an EntityReferenceFieldItemNormalizer with options to return content entity labels and config entity IDs. 2024-02-02 19:49:54 -05:00
Michael Stenta 59802748e8 Add logic for restricting columns to supported base and bundle field types. 2024-02-02 19:49:54 -05:00
Michael Stenta 410da5d812 Provide a ContentEntityNormalizer with an option to explicity include columns. 2024-02-02 19:49:54 -05:00
Michael Stenta 5fcb89a16f Initial farmOS CSV module. 2024-02-02 19:49:54 -05:00
Michael Stenta 21d022bfad Add farm_export_csv to optional modules. 2024-02-02 19:49:54 -05:00
Michael Stenta 3cc0c515ef Issue #3328886: Make it clear that CSV exports are limited 2024-02-02 19:49:54 -05:00
Michael Stenta 4e22c5fd83 Move CSV export action logic to a confirmation form. 2024-02-02 19:49:54 -05:00
Michael Stenta 60d2357fbc Provide CSV export actions for asset and log entities via new farm_export_csv module. 2024-02-02 19:49:54 -05:00
Michael Stenta 07882e177a Move KML export actions to new farm_export_kml module. 2024-02-02 19:49:54 -05:00
Michael Stenta 146719f363 Initial farmOS Export module. 2024-02-02 19:49:54 -05:00
Michael Stenta e869407d45 Edit form UI improvements #770 2024-02-02 19:49:11 -05:00
Michael Stenta 73c9eef921 Add CHANGELOG.md line for #770. 2024-02-02 19:46:57 -05:00
Michael Stenta 09677800a2 Put equipment field into asset field group of logs. 2024-02-02 19:46:57 -05:00
Michael Stenta c8b9fad4b6 Add a "Group membership" field group for group and is_group_assignment log fields. 2024-02-02 19:46:57 -05:00
Michael Stenta 067ea5fa05 Allow modules to add entity form field groups. 2024-02-02 19:46:57 -05:00
Paul Weidner bacf11f295 Preserve delete and other action buttons in sidebar 2024-02-02 19:46:57 -05:00
Paul Weidner fa5724e035 Remove the sidebar if the display is not using field groups. 2024-02-02 19:46:57 -05:00
Paul Weidner 0e0258b66c Increase weight of notes field in forms 2024-02-02 19:46:57 -05:00
Paul Weidner 0525fd5a49 Improve styling in content form 2024-02-02 19:46:57 -05:00
Paul Weidner 2f8b3e05e8 Add additional revision information 2024-02-02 19:46:57 -05:00
Paul Weidner 268412bd23 Add tabs specific to each entity 2024-02-02 19:46:57 -05:00
Paul Weidner c4d3f174d5 Render fields in field groups 2024-02-02 19:46:57 -05:00
Paul Weidner 55e999af27 Provide GinContentFormBase class for entity forms 2024-02-02 19:46:56 -05:00
Paul Weidner 6dc23e7054 Implement farm_ui_theme_field_group_items for core module base fields 2024-02-02 19:46:56 -05:00
Paul Weidner abd6ee9646 Add hook_farm_ui_theme_field_group_items to collect field group mappings 2024-02-02 19:46:56 -05:00
Paul Weidner 69d9ef713b Patch drupal/gin for issue 334216 2024-02-02 19:46:56 -05:00
Paul Weidner 71206d03d2 Implement gin content form for farm entities 2024-02-02 19:46:56 -05:00
Michael Stenta 1410fa5ea7 Add UI for creating instances of quick forms #785 2024-02-02 17:19:55 -05:00
Michael Stenta 359ee1e79c Add CHANGELOG.md line for #785. 2024-02-02 17:19:00 -05:00
Paul Weidner 52f968ef6c Implement save function to add message and redirect to collection page 2024-02-02 17:19:00 -05:00
Paul Weidner 1cee2cb2e1 Hide actions for disabled quick forms from views 2024-02-02 17:19:00 -05:00
Michael Stenta d67e4492d1 Sanitize quick form labels, descriptions, and help text with Html::escape(). 2024-02-02 17:19:00 -05:00
Paul Weidner 4d9bd96234 Update tests to use edit form 2024-02-02 17:19:00 -05:00
Paul Weidner 3972ea268f Add cache tags to quick form help text render array 2024-02-02 17:19:00 -05:00
Paul Weidner e23e5923dc Grant administer quick_form to config permissions 2024-02-02 17:19:00 -05:00