Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds endpoint for retrieving email-templates incl. placeholders #2623

Merged
merged 9 commits into from
Oct 27, 2024

Commits on Oct 26, 2024

  1. Configuration menu
    Copy the full SHA
    cd931b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80300c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    760bdeb View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. Add REST endpoints for email templates:

    - GET /email/templates returns list of available templates
    - GET /email/{caseId}/{templateName} returns template with filled placeholders
    
    Refactor email template endpoints:
    - Split existing getEmailTemplates into two dedicated endpoints
    - Simplify template list to return only template names
    - Improve response structure by including placeholder values separately
    iradraconis committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    66950af View commit details
    Browse the repository at this point in the history
  2. Add Swagger documentation for email template endpoints:

    - Document template list endpoint with response codes
    - Document template detail endpoint with parameters and responses
    iradraconis committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    b2b2ccf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7abb96d View commit details
    Browse the repository at this point in the history
  4. - added support for lawyer / assistant / author placeholders

    - added support for forms placeholders
    - added mimetype to output, so that a client can determine whether it deals with plain text or HTML
    - refactored code to use existing logic / avoid duplication
    - issue #2623
    j-dimension committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    c716cb9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    113880c View commit details
    Browse the repository at this point in the history
  6. code cleanup. issue #2623

    j-dimension committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    5aca71f View commit details
    Browse the repository at this point in the history