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

display error if token with same application name exists #27587

Closed
wants to merge 7 commits into from

Commits on Apr 6, 2017

  1. create authtoken table through migrations, added combined unique cons…

    …traint for uid and name so same device names result in unique constraint violation exceptions
    Philipp Schaffrath committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    e6bde0f View commit details
    Browse the repository at this point in the history
  2. removed unnecessary todo

    Philipp Schaffrath committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    4f3f110 View commit details
    Browse the repository at this point in the history
  3. catch unique constraint violation exception and return an error respo…

    …nse (409 for conflict)
    Philipp Schaffrath committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    29ecc6d View commit details
    Browse the repository at this point in the history
  4. display error message if response code is 409 (conflict)

    Philipp Schaffrath committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    d05245e View commit details
    Browse the repository at this point in the history
  5. used doctrine class constants for types, removed default and notnull …

    …from id because autoincrement already prevents empty ones
    Philipp Schaffrath committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    f7d8e52 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19431e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2017

  1. type should be a smallint and added missing primary key

    Philipp Schaffrath committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    d4eb109 View commit details
    Browse the repository at this point in the history