Skip to content
Snippets Groups Projects
  1. Jan 14, 2016
  2. Jan 13, 2016
  3. Jan 12, 2016
  4. Jan 11, 2016
    • Daniel Wagner-Hall's avatar
      Merge pull request #478 from matrix-org/daniel/userobject · 42aa1f3f
      Daniel Wagner-Hall authored
      Introduce a User object
      
      I'm sick of passing around more and more things as tuple items around
      the whole world, and needing to edit every call site every time there is
      more information about a user. So pass them around together as an
      object.
      
      This object has incredibly poorly named fields because we have a
      convention that `user` indicates a UserID object, and `user_id`
      indicates a string. I tried to clean up the whole repo to fix this, but
      gave up. So instead, I introduce a second convention. A user_object is a
      User, and a user_id_object is a UserId. I may have cried a little bit.
      42aa1f3f
    • Daniel Wagner-Hall's avatar
      Introduce a Requester object · 2110e35f
      Daniel Wagner-Hall authored
      This tracks data about the entity which made the request. This is
      instead of passing around a tuple, which requires call-site
      modifications every time a new piece of optional context is passed
      around.
      
      I tried to introduce a User object. I gave up.
      2110e35f
    • David Baker's avatar
      Postgres doesn't like booleans · b5d33a65
      David Baker authored
      b5d33a65
    • David Baker's avatar
      Remove rogue 'admin' · fe561381
      David Baker authored
      fe561381
  5. Jan 08, 2016
  6. Jan 07, 2016
Loading