Commit Graph

7969 Commits

Author SHA1 Message Date
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
Michael Stenta 67b22eee47 Issue #3270558: Install and create the postgres pg_trgm extension in docker container 2023-10-30 12:07:29 -04:00
Michael Stenta a183e648af Update PHPCodesniffer drupal_core_version to 10. 2023-10-30 12:07:29 -04:00
Michael Stenta c0f02dfc0e Update all core_version_requirement to ^10. 2023-10-30 12:07:29 -04:00
Michael Stenta ee2dab5f41 Update Issue #2909128 patch for Drupal 10.1.x. 2023-10-30 12:07:28 -04:00
Michael Stenta 97f453ca70 Update Issue #2339235 patch for Drupal 10.1.x. 2023-10-30 12:07:28 -04:00
Michael Stenta 5e6a428eb9 Update Drupal core to 10.1.5. 2023-10-30 12:07:28 -04:00
Michael Stenta f0f0b7fa1b Update drupal/log to ^2.1. 2023-10-30 12:07:28 -04:00
Michael Stenta fda8c92efc Specify PostgreSQL version and pg_trgm extension requirements for Drupal 10. 2023-10-30 12:07:28 -04:00
Michael Stenta cf4e91c8fb Update drupal/exif_orientation to ^1.2. 2023-10-30 12:07:28 -04:00
Michael Stenta 980acf7ba2 Update drupal/csv_serialization to ^3.0@beta. 2023-10-30 12:07:28 -04:00
Michael Stenta fc9a14aee0 Update drupal/config_update to ^2.0@alpha. 2023-10-30 12:07:28 -04:00
Michael Stenta 112948ee0a Update to Drupal 10.0.4. 2023-10-30 12:07:28 -04:00
Michael Stenta 1a158277f8 Update drupal/subrequests to ^3.0.6. 2023-10-30 12:07:12 -04:00
Michael Stenta 957963c102 Update drupal/token to ^1.11. 2023-10-27 13:27:01 -04:00