Een hart voor de Drupal Community

Bij make it fly geloven we sterk in Drupal en Open Source software in het algemeen. We maken dagelijks gebruik van vele open source componenten en de vele Drupal modules die beschikbaar zijn. We dragen actief ons steentje bij aan de community door zelf patches, modules en documentatie te voorzien, daarnaast zijn enkele teamleden ook actief in de Drupal User Group vzw.

Een overzicht van onze bijdragen aan de Drupal community vind je terug op onze Drupal.org pagina. Naast het actief meerwerken aan de Drupal community, zetten we ook andere ontwikkelaars op weg door vragen te beantwoorden op Drupal Answers.

  1. The translation submodule does not respect the content translation module permissions

    Sven Decabooter

    Tested this MR.

    I removed all content_translation permissions from a given user. They could no longer see the "Translations" tab in that case.

    However, when given the "Create AI translation" permission, they could still access the translation URL directly, and a translation was added. Not sure if this is desired behaviour, or if it should be an AND operation: only create AI content translations when you have "create ai content translation" permission + the appropriate content_translation permission as well.

    So the original issue raised in this topic was not yet fixed, AFAIK.

    The improved logic to hide the AI Translation column when not relevant, seems to work and is definitely an improvement.

  2. AI Translate default configuration is not valid

    Sven Decabooter

    I also took the opportunity to add extra config validation to the schema. This is useful for when ai_translate settings get set via another means than the settings form, e.g. via a recipe.

    This also lays the groundwork for simplifying the settings form, by using #config_target for all / relevant form elements.

  3. AI Translate default configuration is not valid

    Sven Decabooter
    • Fixed the entity_reference_depth that was wrongly positioned in the default config
    • Added missing language_settings default value
    • Updated default reference_defaults values. Now it defaults to empty, since it was referencing entity types that might not even exist on a given site, making the configuration valid more of a challenge.

    The last change might be debatable...

  4. AI Translate default configuration is not valid

    Sven Decabooter

    Problem/Motivation

    The config schema for ai_translate module is defined in modules/ai_translate/config/schema/ai_translate.schema.yml.

    The default config upon installation of the module is defined in modules/ai_translate/config/install/ai_translate.settings.yml, but does not follow the exact schema.

    Noteably, the option `entity_reference_depth` is added within the reference_defaults array, instead of on its own.

  5. Pass AI token usage data to the events

    Sven Decabooter

    Deprecation warnings have been fixed in the new OpenAiBasedProviderClientBase class. Pipeline still gives a PHPUnit error in Drupal\Tests\ai\Kernel\Utility\TextChunkerTest Not sure how this is related to this issue...

  6. Provide service aliases for autowiring

    Sven Decabooter

    Thanks, that seems like a good addition.

    Could we also take the opportunity to set autowire: true in the services defined in externalauth.services.yml? Autowiring is supported since 9.3, and since our min. required version is 9.5, that should work.

  7. Support OOP hooks

    Sven Decabooter

    It is made backwards compatible from Drupal 10.1 on, with the #[LegacyHook] attribute. See https://www.drupal.org/node/3442349#hook_convert That's already added in this MR - so could still go into 3.2.x if desired.

  8. Integrate with the Key module

    Sven Decabooter

    Rebasing / fixing of merge conflict causes a new issue in test Drupal\Tests\openid_connect\Functional\Update\IssAllowedSchemaUpdate30004Test::testUpdateHook30003

    Not sure how this is related, except that earlier hook also updated plugin config. Maybe it now fails because in our update hook we also update the plugin config further. Any insights from maintainers as to how to solve this would be appreciated.

  9. Implement OOP preprocess hook

    Sven Decabooter

    Problem/Motivation

    Add support for Preprocess OOP hooks. See https://www.drupal.org/node/3496491 Add backwards compatibility.

Sven Decabooter - Drupal Developer

"Onze teamleden bouwen zelf ook mee aan ons geliefde Drupal, en daar zijn we trots op"

Sven Decabooter
Drupal developer

Betrouwbare technologie, naadloze prestaties. Dat zijn onze Drupal-oplossingen.