Commit Graph

7953 Commits

Author SHA1 Message Date
Michael Stenta a07a491903 farmOS 3.0.0-beta3 2023-11-27 14:42:12 -05:00
Michael Stenta 845ee7f6cb Update drupal/state_machine to ^1.9 and remove merged patch. 2023-11-27 13:59:03 -05:00
Michael Stenta 9d8dc8dd1f Only create releases on tag pushes to the official repository. 2023-11-27 13:40:49 -05:00
Michael Stenta 485908beb0 Fix composer require farmos/farmos version constraint in build-farmOS.sh. 2023-11-27 13:40:49 -05:00
Michael Stenta c0804bb22d Only add farmOS repository to composer.json for non-tag versions. 2023-11-27 13:40:23 -05:00
Michael Stenta 19f227a8f6 Fix KML serialization #753 2023-11-27 11:47:09 -05:00
Michael Stenta 7e3422cd4d Add CHANGELOG.md line for #753. 2023-11-27 11:44:53 -05:00
Paul Weidner b97184d165 Use ContentEntityInterface as type when normalizing to geometry_* formats 2023-11-27 11:44:53 -05:00
Paul Weidner 94c9fe9ed0 Use GeometryWrapper as type when normalizing to geometry_kml format 2023-11-27 11:44:53 -05:00
Michael Stenta 8f2efe2724 Add default view_builder handler for plan type, for consistency.
Both asset type and plan type use a "canonical" link.
2023-11-27 11:44:31 -05:00
Paul Weidner 808a6abb58 Add default view_builder handler for asset type #752
This fixes a potential bug where the canonical route is not created if a view_builder is not provided.
2023-11-27 10:28:55 -05:00
Michael Stenta 97cf31b5bd Remove unnecessary/incorrect consumer owner_id/user_id lines. 2023-11-06 11:51:21 -05:00
Michael Stenta 0df3970683 Create multi-stage dockerfile #734 2023-11-06 11:47:49 -05:00
AlMaVizca 9d5f8244ed Build PHP dependencies in one stage. 2023-11-06 09:55:22 -05:00
AlMaVizca e7774c5321 Use a multi-stage Docker image build process and clean up dependencies. 2023-11-06 09:55:09 -05:00
AlMaVizca eb52d4ff2d Move configuration to separate files to improve Dockerfile legibility. 2023-11-06 09:55:09 -05:00
AlMaVizca 949f69269d Use docker-php-ext-enable to enable XDebug extension. 2023-11-06 09:55:09 -05:00
AlMaVizca 3ffeabf862 Change mode of docker-entrypoint.sh to 755 in repo instead of using chown in Dockerfile. 2023-11-06 09:55:09 -05:00
AlMaVizca bd85806f5b No longer necessary to make /usr/share/man directories for postgresql-client. 2023-11-06 09:55:09 -05:00
Petru Paler a15521abe7
Minor typo fix. 2023-11-06 05:57:24 +00:00
Michael Stenta de889ac391 farmOS 3.0.0-beta2 2023-11-03 14:19:41 -04:00
Michael Stenta 89db531dab Fix warning message when rendering link to birth log #746 2023-11-03 14:16:55 -04:00
Michael Stenta a7bf168746 Add CHANGELOG.md line for #746. 2023-11-03 14:14:13 -04:00
Paul Weidner 51d943478d Build url from route instead of loading log entity 2023-11-03 14:13:28 -04:00
Paul Weidner ee6a7fb57c Use a link element to render link to birth log
The timestamp formatter changed and no longer uses #markup but
#text in the render array for the formatted timestamp. This causes
the following warning message:

Warning: Undefined array key "#markup" in farm_birth_asset_view_alter() (line 67 of profiles/farm/modules/log/birth/farm_birth.module).
2023-11-03 14:13:28 -04:00
Paul Weidner 6921832d25 Update csv_serialization dependency to ^4.0 #745 2023-11-03 14:12:01 -04:00
Michael Stenta 3d1f5ba984 Rearrange build-farmOS.js ${FARMOS_COMPOSER_VERSION} assignment logic.
There is no functional change. This just rearranges the if/elif/else
logic into a more intuitive order.
2023-11-03 13:13:38 -04:00
Michael Stenta a74ec6ad0c Fix issue with build-farmOS.sh tagged releases.
Previously ${FARMOS_COMPOSER_VERSION} was not being set for
tagged releases, causing `composer require farmos/farmos`
to run without a version constraint. This worked for 2.x
releases because it would default to the latest stable release.

This does not work for 3.0.0-betaX releases, because they are
not considered "stable" by Composer, so it falls back on the
latest stable 2.x release (2.2.2).
2023-11-03 11:18:17 -04:00
Michael Stenta 8d90aec7f2 farmOS 3.0.0-beta1 2023-11-01 15:16:46 -04:00
Michael Stenta 60c96013d3 Update Drupal core to 10.1.6. 2023-11-01 15:15:46 -04:00
Michael Stenta 413c7e24ae Patch jsonapi_schema for Issue #3397275: Use OptionsProviderInterface::getPossibleOptions() for allowed field values (anyOf / oneOf) 2023-11-01 15:04:09 -04:00
Michael Stenta 50f6a8cb8b Require log ^2.2 for Issue #3396419: Make timestamp required 2023-11-01 14:58:47 -04:00
Michael Stenta 28dcba091e Add some separation to 3.x API changes doc between OAuth2 changes and others. 2023-11-01 14:54:53 -04:00
Michael Stenta 69b36c065f Update Simple OAuth module to v6 #743 2023-11-01 14:41:47 -04:00
Michael Stenta 01a31518be Add CHANGELOG.md lines for #743. 2023-11-01 14:41:11 -04:00
Paul Weidner 04566c2010 Update API OAuth changes doc 2023-11-01 14:41:11 -04:00
Paul Weidner 48a55180d9 Update OAuth development docs 2023-11-01 14:41:11 -04:00
Paul Weidner e53ccd5fa8 Update information about scopes and clients 2023-11-01 14:41:11 -04:00
Paul Weidner f1bad9f163 Update information about legacy password credentials grant 2023-11-01 14:41:11 -04:00
Paul Weidner bc85b3518f Add options to kernel test 2023-11-01 14:41:11 -04:00
Paul Weidner 24b28fbf94 Update login test to use password grant 2023-11-01 14:41:11 -04:00
Paul Weidner 0673bebbda Set default scopes for fieldkit consumer 2023-11-01 14:41:11 -04:00
Paul Weidner 33f2805d3e Grant all users access to grant simple_oauth codes 2023-11-01 14:41:11 -04:00
Paul Weidner 93a4330a23 Use farm_api_default_consumer in test 2023-11-01 14:41:11 -04:00
Paul Weidner 073450cd2f Enable the password grant for static role scopes 2023-11-01 14:41:11 -04:00
Paul Weidner 49040c5882 Update default farm client to use authorization_code refresh_token and password grants 2023-11-01 14:21:32 -04:00
Paul Weidner c64247b966 Issue #3256745 by paul121: Move default farm OAuth2 client to a separate module 2023-11-01 14:21:32 -04:00
Paul Weidner 4226394e74 Update fieldkit consumer to only use refresh_token and password grants 2023-11-01 14:21:32 -04:00
Paul Weidner d0e305d0c1 Add simple_oauth_password_grant dependency for farm_fieldkit 2023-11-01 14:21:32 -04:00
Paul Weidner 66da1b7330 Add static scopes for farm_role_roles 2023-11-01 14:21:31 -04:00