1. 17 Nov, 2018 1 commit
    • ale's avatar
      Switch to really opaque ResourceIDs · 78d08eef
      ale authored
      The new ResourceID is really a database ID (in our case, a LDAP DN),
      and we have completely decoupled other request attributes like type
      and owner from it.
      Resource ownership checks are now delegated to the backend.
      Also change the backend CreateResource call to CreateResources, taking
      multiple resources at once, so we can perform user-level resource
      validation, and simplify the CreateUser code path.
  2. 16 Nov, 2018 1 commit
    • ale's avatar
      Add shard and status to the User type · c5d3b1a5
      ale authored
      The shard is kept in sync with the email resource shard. CreateUser
      validation enforces a single email resource per account.
  3. 14 Nov, 2018 6 commits
  4. 12 Nov, 2018 5 commits
  5. 11 Nov, 2018 3 commits
  6. 09 Nov, 2018 6 commits
    • ale's avatar
      Merge branch 'simpler-interfaces' into 'master' · 522d2760
      ale authored
      Simpler interfaces
      See merge request !2
    • ale's avatar
      Rename PasswordRecovery to AccountRecovery · ec82ed43
      ale authored
      Referring to the account is clearer. Also add account recovery
      integration tests, and a test fixture with encryption keys.
    • ale's avatar
      Fix lint warnings · da2e38da
      ale authored
    • ale's avatar
      Move code around to improve readability · 28476a76
      ale authored
    • ale's avatar
      Log resource creation · ab294a25
      ale authored
    • ale's avatar
      First stage of refactor targeting simplicity · 4e34034b
      ale authored
      Structure flow around requests themselves and composition rather than
      handlers and wrappers, the results are likely more readable (and
      Move all the user auth management business logic to a smart RawUser
      object, to separate it from details of API handling. The result should
      be more understandable: all critical changes are contained within a
      single type.
      Also, with all the workflow driven by Requests, we can get rid of the
      boilerplate in the HTTP API server and replace it with a tiny tiny
      layer of reflection.
  7. 01 Nov, 2018 3 commits
  8. 31 Oct, 2018 1 commit
  9. 29 Oct, 2018 3 commits
  10. 28 Oct, 2018 1 commit
  11. 27 Oct, 2018 2 commits
  12. 28 Aug, 2018 1 commit
  13. 17 Aug, 2018 3 commits
  14. 26 Jul, 2018 2 commits
  15. 19 Jul, 2018 2 commits