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

Pass HTTP status code & errcode from CS-API errors #100

Merged
merged 12 commits into from
Nov 8, 2024

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    994a8b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. (De)serialize error response details

    Allow client widget drivers to serialize Matrix API error responses into
    JSON to be received by the requesting widget.
    AndrewFerr committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    6abf9f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8f86ef View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Disable babel's no-invalid-this rule

    because Typescript has its own version of that rule
    AndrewFerr committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    af38655 View commit details
    Browse the repository at this point in the history
  2. Increase test coverage

    Mock client-side responses to test deserializing them on the widget side
    AndrewFerr committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    3b69837 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc48df3 View commit details
    Browse the repository at this point in the history
  4. Accept more than just Matrix API error details

    As long as the error details payload is extensible, let drivers put more
    data in them than just the key for Matrix API error responses.
    AndrewFerr committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9ea19f6 View commit details
    Browse the repository at this point in the history
  5. Don't make error data payload extensible

    as this makes it too easy for drivers to put data in the wrong section.
    
    Still define the payload type as an interface so that it can be
    extended in a future version of the API.
    
    Also don't use a subfield now that non-extensibility makes the format of
    the details fields unambiguous.
    AndrewFerr committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    9341bf0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a5a2bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e993d32 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    2fa6ba1 View commit details
    Browse the repository at this point in the history
  2. Add missing license year

    AndrewFerr committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    4aa6538 View commit details
    Browse the repository at this point in the history