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
Paul Weidner
7b8beddd9e
Use simple oauth static scope provider by default
2023-11-01 14:21:31 -04:00
Paul Weidner
4b54e4ddac
Remove deprecated global access_token_expiration config
2023-11-01 14:21:31 -04:00
Paul Weidner
e4b5695caf
Remove consumer bundle fields
2023-11-01 14:21:31 -04:00
Paul Weidner
81c70fd46c
Remove FarmScopeRepository service override
2023-11-01 14:21:31 -04:00
Paul Weidner
8121f8f3d3
Require simple_oauth 6.0.0-beta5
2023-11-01 14:21:31 -04:00
Michael Stenta
60f94cfc89
Fix 2.2.2 version annotation in CHANGELOG.md.
2023-11-01 14:21:12 -04:00
Sidharth Soman
158611e4c5
Issue #3197581 by sidharth_soman: Cache needs to be cleared after setting MapBox API key for the first time
2023-11-01 09:21:27 -04:00
Michael Stenta
d6e8718086
Issue #3330490 : Update Drupal core to 10.x in farmOS
2023-10-30 12:31:29 -04:00
Michael Stenta
2a7d572ab7
Add CHANGELOG.md line for Drupal 10 upgrade.
2023-10-30 12:30:32 -04:00
Michael Stenta
6a9c872e9b
Use phpunit instead of paratest.
...
PostgreSQL tests fail because Drupal core patch is trying to install pg_trgm
extension in parallel multiple times.
Failed to run installer database tasks: Drupal could not check for the pg_trgm extension: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "pg_extension_name_index"
DETAIL: Key (extname)=(pg_trgm) already exists.: CREATE EXTENSION IF NOT EXISTS pg_trgm;
2023-10-30 12:07:29 -04:00
Michael Stenta
7c73c28626
Ignore Symfony deprecations helper during tests.
2023-10-30 12:07:29 -04:00
Michael Stenta
4b0b1242a0
Patch drupal/entity_browser for Issue #3350169 : Fix PHP 8.2 deprecation issue with WidgetSelectorBase-class.
2023-10-30 12:07:29 -04:00
Michael Stenta
50803a5c83
Run PHPCompatibility sniff for PHP 8.2+.
2023-10-30 12:07:29 -04:00
Michael Stenta
3398eb0170
Implement NormalizerInterface::getSupportedTypes().
...
See https://symfony.com/doc/current/serializer/custom_normalizer.html#improving-performance-of-normalizers-denormalizers
2023-10-30 12:07:29 -04:00
Michael Stenta
81c3cd2ec0
Fix: Deprecated NULL placeholder value for key (%birth_label)
...
...in: "Birth log saved: <a href=":birth_url">%birth_label</a>". This will throw a PHP error in drupal:11.0.0. See https://www.drupal.org/node/3318826
2x in BirthTest::testBirthLogChildrenSync from Drupal\Tests\farm_birth\Kernel
1x in BirthTest::testUniqueBirthLogConstraint from Drupal\Tests\farm_birth\Kernel
2023-10-30 12:07:29 -04:00
Michael Stenta
5cc870c316
Fix: $modules property must be declared protected.
2023-10-30 12:07:29 -04:00
Michael Stenta
1b72dccb80
Fix: Call to deprecated function system_time_zones().
2023-10-30 12:07:29 -04:00
Michael Stenta
1693b5b0d5
Fix: Return type mixed of method Drupal\farm_kml\Encoder\Kml::encode() is not covariant with return type string of method Symfony\Component\Serializer\Encoder\EncoderInterface::encode().
2023-10-30 12:07:29 -04:00
Michael Stenta
6ad27c13e0
Fix: Call to deprecated function watchdog_exception().
2023-10-30 12:07:29 -04:00
Michael Stenta
50261de4b8
Fix: Call to an undefined static method Symfony\Component\HttpFoundation\Response::create().
2023-10-30 12:07:29 -04:00