1. 01 Feb, 2013 3 commits
    • Felix Gilcher's avatar
      update api documentation for delete team member · 566de5ab
      Felix Gilcher authored
      correctly describes the new behavior
      566de5ab
    • Felix Gilcher's avatar
      Don't crash when removing a user that's not project member · ce6436b9
      Felix Gilcher authored
      The attempt to revoke project access for a user that was not member of the
      project results in a 500 Internal Server error where it actually should
      result in a 200 OK since after the operation, the user is not member of
      the project. This turns the operation into an idempotent call that can
      be repeated with no ill effects.
      
      Updated the spec and changed the code accordingly. However, the result differs
      slightly, as we can't return the users project access level if the user was not
      member. I'm not aware if anybody relies on the result of this call.
      
      Fixes #2832
      ce6436b9
    • Felix Gilcher's avatar
      log fatal errors that we catch · c72910a8
      Felix Gilcher authored
      In case we rescue from a fatal error, we want the error and the backtrace to
      the error logged, so we can debug later on. This change injects the configured
      logger from the rails app to the grape API and logs error as well as backtrace
      in a rails-like fashion.
      c72910a8
  2. 29 Jan, 2013 5 commits
  3. 28 Jan, 2013 14 commits
  4. 27 Jan, 2013 12 commits
  5. 26 Jan, 2013 4 commits
  6. 25 Jan, 2013 2 commits