Michael Stenta
9ae8dbed32
Issue #3224684 : Allow managed roles access to entity revisions tab
2021-07-22 10:01:44 -04:00
paul121
3d9da53f6b
Issue #3223642 by paul121: Geofield validation issues
2021-07-21 08:27:03 -04:00
Michael Stenta
1c1254ca75
Issue #3194233 by paul121: Upload files via the API
2021-07-13 16:49:11 -04:00
paul121
1fc54816b0
Add API documentation for uploading files.
2021-07-13 16:43:17 -04:00
paul121
f4f48f2d25
Include link to JSON:API module documentation.
2021-07-13 16:43:17 -04:00
paul121
2beac45df9
Add the Content-Disposition header to the list of allowed CORS headers.
...
This header is used to specify filenames when uploading files via API.
2021-07-13 16:43:17 -04:00
Paul Weidner
2109ed4cd7
Correct the farmOS version that had areas.
2021-07-13 16:24:08 -04:00
Michael Stenta
177c1b3f98
Set the default value of boolean Views filters to "All".
2021-06-24 18:22:41 -04:00
Michael Stenta
454e1fe2bf
Only display the first image in asset and group member Views.
2021-06-24 18:09:37 -04:00
Michael Stenta
d39c27a71d
Issue #3196663 by paul121: Allow standard users to view entity type resources via JSONAPI
2021-06-24 14:46:46 -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
835c8602c1
Use the contrib entity access and permission_provider handlers for the tag_type config entity.
2021-06-24 12:38:45 -04:00
paul121
95d020ea18
Use the contrib entity access and permission_provider handlers for the flag config entity.
2021-06-24 12:38:45 -04:00
paul121
cbc04d65f5
Use the contrib entity access and permission_provider handlers for the structure_type config entity.
2021-06-24 12:38:45 -04:00
paul121
54f2b4c0cf
Use the contrib entity access and permission_provider handlers for the land_type config entity.
2021-06-24 12:38:45 -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
ddff82052a
Merge branch '2.x-dashboard_map_sub_types' into 2.x
2021-06-23 11:43:29 -04:00
Michael Stenta
e8715bc3a2
Move dashboard land/structure type layer logic to farm_land and farm_structure modules in their own onMapRender event subscribers.
2021-06-23 10:37:40 -04:00
Michael Stenta
cbf107e825
Change dashboard map layer group label from "Location assets" to "Locations".
2021-06-23 09:29:05 -04:00
Michael Stenta
651f8a5895
Add land/structure sub-type layers to dashboard map, in their own layer groups.
2021-06-23 09:28:45 -04:00
Michael Stenta
6f5ca98c0a
Add support for pre-defining layer groups in the asset_type_layers behavior.
2021-06-23 09:28:00 -04:00
paul121
808d73b62c
Remove unused asset and plan page include files. #433
2021-06-23 07:47:56 -04:00
Michael Stenta
893f74090c
Update dependencies #434
2021-06-23 07:28:07 -04:00
paul121
2658460d21
Bump drupal/gin to 3.0-alpha35
2021-06-22 17:20:58 -07:00
paul121
184c099d0c
Remove patch for drupal/views_geojson issue #3177013 . Included in 1.1 release.
2021-06-22 17:20:53 -07:00
paul121
8b24a2fc41
Bump drupal/entity_browser to ^2.6.
2021-06-22 17:11:00 -07:00
paul121
d31eb301a5
Update drupal/geofield minimum version.
2021-06-22 17:09:28 -07:00
Michael Stenta
a00edf93cd
Fix caching of the farm_people view. #432
2021-06-22 17:15:46 -04:00
paul121
fe3324abee
Render the last_access value with the timestamp_ago formatter.
...
This formatter sets a correct cache max-age so that displayed values
are up to date.
2021-06-22 17:13:48 -04:00
paul121
42bd131784
Disable caching for the farm_people display.
2021-06-22 17:13:48 -04:00
paul121
ed51e6c906
Display "Never" if the user's last_access value is 0.
...
Enabling the "Count the number 0 as empty" option is not sufficient here
because a last_access value of 0 is converted to a timestamp on 1970.
This requires a rewrite to return 0 or the rendered date so that the
configured "No results behavior" are actually triggered.
2021-06-22 17:13:48 -04:00
Michael Stenta
72297b6c97
Revert "Patch geofield to fix Issue #3216608 : GEOMETRYCOLLECTION EMPTY causes Error: Call to a member function getX() on null"
...
This reverts commit 463091fdad
.
Patch was committed upstream and released as 8.x-1.32!
2021-06-22 17:12:59 -04:00
Michael Stenta
463091fdad
Patch geofield to fix Issue #3216608 : GEOMETRYCOLLECTION EMPTY causes Error: Call to a member function getX() on null
2021-06-22 12:02:29 -04:00
Michael Stenta
f0bcc36491
Fix parent ID assignment in unit taxonomy term migrations.
...
Terms with parents were being assigned as their own parents (circular).
Updated it to be identical to the logic used in other term migrations.
2021-06-21 19:12:15 -04:00
Michael Stenta
1d2320355b
Issue #3219701 : Log migration of quantity reference Error: Unsupported operand types in SubProcess->transform()
2021-06-19 08:36:20 -04:00
Michael Stenta
dadb77e30f
Restore ID field (but hide it) in "upcoming" and "late tasks" log View displays to fix broken timestamp link.
2021-06-18 09:00:56 -04:00
Michael Stenta
81bb9552fc
Fix entity count query and metrics caching. #431
2021-06-17 15:37:42 -04:00
paul121
b2f8b9a9a5
Add config:entity_type_list cache tag to rebuild metrics when the bundle list changes.
2021-06-17 15:37:06 -04:00
paul121
b2ad523037
Use the count() method to create aggregated entity count queries.
2021-06-17 15:37:06 -04:00
paul121
48e5b86d7d
Add condition to limit count to the bundle.
2021-06-17 15:37:06 -04:00
Michael Stenta
380796b4c8
Move FarmBrowserTestBase to a farm_test module.
2021-06-17 09:42:43 -04:00
Michael Stenta
91c615c6e1
Remove state_machine patch (merged upstream).
2021-06-16 12:47:46 -04:00
Michael Stenta
1e73633e16
Display empty text in metrics block if no asset or log types exist.
2021-06-16 12:44:40 -04:00
Michael Stenta
d4532912a3
Fix metrics link to log bundles #430
2021-06-16 12:39:57 -04:00
paul121
5432134de0
Get entity counts with an entity aggregate query.
2021-06-15 18:11:57 -07:00
paul121
ed1ed131d2
Make class an array of multiple values.
2021-06-15 17:48:43 -07:00
paul121
f9e1140fb8
Build link to correct farm entity type page_type view.
2021-06-15 17:47:45 -07:00
paul121
d0be185d58
Append to the cache tags list.
2021-06-15 10:38:14 -07:00
paul121
23e9884260
Fix comment for stucture type field.
2021-06-14 14:15:25 -04:00