Commit Graph

1470 Commits

Author SHA1 Message Date
Michael Stenta 51562201ee Move farm_dashboard to farm_ui_dashboard. 2021-06-05 21:34:09 -04:00
Michael Stenta 69638f33ec Add a Farm UI Help module. 2021-06-05 16:56:15 -04:00
Michael Stenta 4d59cd69c7 Do not archive areas without an area type during migration. 2021-06-05 14:53:17 -04:00
Michael Stenta 5c6856fe0c Add "Migrated from farmOS 1.x on [date]" revision log messages to migrated records. 2021-06-05 14:53:17 -04:00
pcambra 0f87c085ea Issue #3216766: Revisions are not supported on JSON API 2021-06-04 22:45:01 -04:00
Michael Stenta e000ef821b Include asset name in asset/%/children and asset/%/assets page titles. 2021-06-04 22:45:01 -04:00
Michael Stenta 00720477f2 Include asset name in asset/%/logs page title. 2021-06-04 22:18:20 -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 ec71d8fb62 Issue #3216843 by paul121: Views of logs that reference location assets 2021-06-04 22:04:17 -04:00
paul121 8fb00a69f3 Ensure the table is joined. 2021-06-04 21:41:09 -04:00
paul121 25abf02a75 Simplify the where expression to not include the asset ID. 2021-06-04 21:41:09 -04:00
paul121 f2b3ffc07f Include asset references via the log.location field in access check. 2021-06-04 21:41:09 -04:00
Paul Weidner 44fbca2491 Use the asset_or_location argument plugin for the page_asset display. 2021-06-04 21:41:09 -04:00
Paul Weidner 2f6f945efc Add the asset_or_location as an available argument for the log_field_data views table. 2021-06-04 21:41:08 -04:00
Paul Weidner 6a14fe5809 Implement an asset_or_location views argument plugin. 2021-06-04 21:36:11 -04:00
Michael Stenta 238fb66b85 Ensure an empty array is not used in SQL WHERE IN (). 2021-06-04 21:28:18 -04:00
Michael Stenta c41d943760 Only show "Children" tab if the asset has children. 2021-06-04 21:17:41 -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 e783ff7604 Issue #3217184: View of assets in group 2021-06-04 21:17:30 -04:00
Michael Stenta f88b58e0d0 Only show "Members" tab on group assets. 2021-06-04 21:17:01 -04:00
Michael Stenta ef2481d544 Add a "Members" tab to asset pages that uses the Views contextual filter to show assets in the group. 2021-06-04 21:17:01 -04:00
Michael Stenta 390d69fe3e Provide a Views argument handler for filtering assets by group. 2021-06-04 21:17:01 -04:00
Michael Stenta b04d5eba6b Issue #3217168: View of assets in location 2021-06-04 21:16:47 -04:00
Michael Stenta bde8a08c85 Only show "Assets" tab on Location assets. 2021-06-04 21:15:25 -04:00
Michael Stenta 45cfc85608 Add an "Assets" tab to asset pages that uses the Views contextual filter to show assets in the location. 2021-06-04 21:15:25 -04:00
Michael Stenta 2ac1a0d41e Provide a Views argument handler for filtering assets by location. 2021-06-04 21:15:25 -04:00
Michael Stenta fda3f325ac Add an isLocation() method to the asset.location service. 2021-06-04 21:15:25 -04:00
Michael Stenta bab926b199 Reformat farm_location_views_data_alter() to make it easier to extend. 2021-06-04 21:13:30 -04:00
Michael Stenta 34706f92c5 Issue #3217159: Query a list of assets in a location 2021-06-04 21:13:01 -04:00
Michael Stenta 2849b5f9f4 Automated tests for GroupAssetLocation::getAssetsByLocation(). 2021-06-04 21:12:37 -04:00
Michael Stenta 90fe4498a0 Add getAssetsByLocation() method to GroupAssetLocation. 2021-06-04 21:12:37 -04:00
Michael Stenta ce152ddd31 Do not filter out archived assets - this should be the responsibility of downstream code. 2021-06-04 21:12:37 -04:00
Michael Stenta f6aadf4cd7 Automated tests for getAssetsByLocation() method. 2021-06-04 21:12:37 -04:00
Michael Stenta 8a5f2a0caa Document asset.location service's getAssetsByLocation() method. 2021-06-04 21:12:37 -04:00
Michael Stenta cc9e0a8a6c Add a getAssetsByLocation() method to the asset.location service. 2021-06-04 21:12:37 -04:00
Michael Stenta 2c0cd65b77 Issue #3217183: Query a list of assets in a group 2021-06-04 21:12:22 -04:00
Michael Stenta 8f0838fad5 Document group.membership service's getGroupMembers() method. 2021-06-04 21:10:41 -04:00
Michael Stenta bd9f63bed7 Automated tests for getGroupMembers() method. 2021-06-04 21:10:41 -04:00
Michael Stenta 9f841e0183 Fix farm_ui_views RouteSubscriber docblock. 2021-06-04 16:07:40 -04:00
Michael Stenta f68ec88102 Add a getGroupMembers() method to the group.membership service. 2021-06-04 16:07:40 -04:00
Michael Stenta a860653c76 Fix AssetLocation @param $asset docblocks. 2021-06-04 14:49:03 -04:00
Michael Stenta 814499d8ab Add $options to log.query service documentation for consistency. 2021-06-04 07:18:57 -04:00
Michael Stenta 462d94cd2c Fix group.membership service documentation. 2021-06-04 07:18:57 -04:00
Paul Weidner eae26e5e7f Issue #3216789: Remove the local task plugin definition for farm entity collection links. 2021-06-01 20:21:16 -04:00
Michael Stenta 9ea2c71628 Patch GeoPHP: Use BCMath (where available) for all float arithmetic 2021-05-31 09:59:45 -04:00
Michael Stenta 9092ee65a6 Merge branch '2.x-asset-group-views-field' into 2.x 2021-05-27 15:00:18 -04:00
Michael Stenta d766578731 Sort the "Group" field before the "Location" field. 2021-05-27 14:59:33 -04:00
Michael Stenta f9f3305260 Allow sorting a field before another field (default is after). 2021-05-27 14:59:33 -04:00
Michael Stenta 9adf6ea30e Set $preserve_keys argument to TRUE in both array_slice() calls. 2021-05-27 14:59:33 -04:00
Michael Stenta 596b8c8959 Split Views field sorting logic out to a helper function. 2021-05-27 14:59:33 -04:00