Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

A third batch of Pydantic validation for rest/client/account.py #13736

Merged
merged 11 commits into from
Sep 15, 2022

Commits on Sep 7, 2022

  1. Use consistent capitalisation of Threepid

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    f39bfc5 View commit details
    Browse the repository at this point in the history
  2. Pull out ClientSecretType for upcoming reuse

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    b854c09 View commit details
    Browse the repository at this point in the history
  3. PostBody for /account/3pid/add

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    cdeb0a3 View commit details
    Browse the repository at this point in the history
  4. PostBody for /account/3pid/bind

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    92f7f01 View commit details
    Browse the repository at this point in the history
  5. Define ThreepidMedium enum

    This one looks a bit magic, so I've added some extra tests for sanity's
    sake.
    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    e584fa0 View commit details
    Browse the repository at this point in the history
  6. PostBody for /account/3pid/unbind

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    76d615e View commit details
    Browse the repository at this point in the history
  7. PostBody for /account/3pid/delete

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    3defe6f View commit details
    Browse the repository at this point in the history
  8. Changelog

    David Robertson committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    35d664a View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Fix min length of client_secret

    David Robertson committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    8143310 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Opt for simpler Literal[...] type

    I would like to see a StrEnum but I am somewhat anxious of making that
    change right now. I think we should get validation in place first and
    then look at propagating better types into the application.
    David Robertson committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    38ae8c7 View commit details
    Browse the repository at this point in the history
  2. ClientSecretType -> ClientSecretStr

    David Robertson committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    a840e8c View commit details
    Browse the repository at this point in the history