Use a service for all interactions with CaptchEtat API

Created on 25 May 2024, about 1 month ago
Updated 31 May 2024, about 1 month ago

Problem/Motivation

- Centralize all calls to CaptchEtat API in a service using the Drupal Guzzle http client instead of direct curl commands.

- Store the CaptchEtat access token in Drupal cache to avoid unnecessary authorize requests.

- Remove two unused routes: healthcheck and validatecaptcha.

- Add a requirements hook in install file to display CaptchEtat API status on Drupal status report page:

- Use README.me for module help page, will display nicely if markdown or markdown_easy module is installed:

- Remove LICENSE.txt file

- And other small fixes.

Proposed resolution

See MR.

Remaining tasks

Validate MR.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France mably

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @mably
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 18s
    #182238
  • Pipeline finished with Success
    about 1 month ago
    Total: 139s
    #182239
  • Pipeline finished with Success
    about 1 month ago
    #182248
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #182249
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #182250
  • Pipeline finished with Success
    about 1 month ago
    #182252
  • Pipeline finished with Running
    about 1 month ago
    #182262
  • Status changed to Needs review about 1 month ago
  • Pipeline finished with Success
    about 1 month ago
    Total: 138s
    #182498
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #182548
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 69s
    #182549
  • Pipeline finished with Success
    about 1 month ago
    Total: 139s
    #182550
  • Pipeline finished with Success
    about 1 month ago
    Total: 195s
    #182621
  • Pipeline finished with Success
    about 1 month ago
    Total: 142s
    #182653
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #182660
  • Pipeline finished with Success
    about 1 month ago
    Total: 137s
    #182661
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 15s
    #182667
  • Pipeline finished with Success
    about 1 month ago
    Total: 137s
    #182669
  • Pipeline finished with Success
    about 1 month ago
    Total: 138s
    #182675
  • Pipeline finished with Success
    about 1 month ago
    Total: 139s
    #182678
  • Pipeline finished with Success
    about 1 month ago
    Total: 138s
    #182808
  • Pipeline finished with Success
    about 1 month ago
    Total: 133s
    #182815
  • Pipeline finished with Success
    about 1 month ago
    Total: 142s
    #182817
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #182820
  • Pipeline finished with Success
    about 1 month ago
    Total: 199s
    #182839
  • Pipeline finished with Success
    about 1 month ago
    Total: 143s
    #183067
  • Pipeline finished with Success
    about 1 month ago
    Total: 440s
    #183105
  • Pipeline finished with Success
    about 1 month ago
    Total: 138s
    #183237
  • Pipeline finished with Success
    about 1 month ago
    Total: 272s
    #183347
  • Pipeline finished with Success
    about 1 month ago
    Total: 143s
    #183352
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 32s
    #183475
  • Pipeline finished with Success
    about 1 month ago
    Total: 138s
    #183476
  • Pipeline finished with Success
    about 1 month ago
    Total: 142s
    #183478
  • Pipeline finished with Success
    about 1 month ago
    Total: 140s
    #183494
  • Pipeline finished with Success
    about 1 month ago
    Total: 139s
    #183496
  • Pipeline finished with Success
    about 1 month ago
    Total: 139s
    #183843
  • Status changed to RTBC about 1 month ago
  • 🇱🇧Lebanon ewehbe

    I have thoroughly tested the changes, and it works as expected. The following tests were conducted:

    • Basic functionality tests
    • Compatibility tests with other modules

    No issues were found, and the changes are ready to be merged.

  • Pipeline finished with Skipped
    about 1 month ago
    #183968
  • Status changed to Fixed about 1 month ago
  • Status changed to Fixed about 1 month ago
Production build 0.69.0 2024