Skip to content
Snippets Groups Projects
  1. Feb 18, 2020
  2. Jan 22, 2020
  3. Nov 29, 2018
  4. Oct 29, 2018
  5. Jun 29, 2018
  6. Apr 30, 2018
    • Bob Van Landuyt's avatar
      Define custom base controller for Doorkeeper · 0f593b1c
      Bob Van Landuyt authored
      Since we only need the `can?` view helpers there, it's better to
      include those in a separate controller.
      
      If we inherit from `ApplicationController` we also need to deal with
      authentication, that needs to be done in some, but not all doorkeeper controllers.
      0f593b1c
  7. Feb 28, 2018
  8. Sep 18, 2017
  9. Jul 27, 2017
  10. Jul 07, 2017
  11. Mar 07, 2017
  12. Mar 06, 2017
  13. Dec 16, 2016
    • Timothy Andrew's avatar
      Calls to the API are checked for scope. · 7fa06ed5
      Timothy Andrew authored
      - Move the `Oauth2::AccessTokenValidationService` class to
        `AccessTokenValidationService`, since it is now being used for
        personal access token validation as well.
      
      - Each API endpoint declares the scopes it accepts (if any). Currently,
        the top level API module declares the `api` scope, and the `Users` API
        module declares the `read_user` scope (for GET requests).
      
      - Move the `find_user_by_private_token` from the API `Helpers` module to
        the `APIGuard` module, to avoid littering `Helpers` with more
        auth-related methods to support `find_user_by_private_token`
      7fa06ed5
  14. Aug 18, 2016
  15. Jun 16, 2016
  16. Jun 10, 2016
  17. Jun 03, 2016
  18. Jun 02, 2016
  19. May 31, 2016
  20. May 30, 2016
  21. Apr 29, 2016
  22. Aug 31, 2015
  23. Jul 18, 2015
  24. Apr 17, 2015
  25. Feb 05, 2015
  26. Feb 03, 2015
  27. Jan 23, 2015
  28. Jan 17, 2015
  29. Jan 13, 2015
  30. Dec 24, 2014
Loading