Skip to content
Snippets Groups Projects
  1. Jan 06, 2017
  2. Jan 05, 2017
  3. Jan 04, 2017
  4. Dec 29, 2016
  5. Dec 28, 2016
  6. Dec 27, 2016
  7. Dec 26, 2016
  8. Dec 23, 2016
  9. Dec 21, 2016
    • Markus Koller's avatar
      Add more storage statistics · 3ef4f74b
      Markus Koller authored
      This adds counters for build artifacts and LFS objects, and moves
      the preexisting repository_size and commit_count from the projects
      table into a new project_statistics table.
      
      The counters are displayed in the administration area for projects
      and groups, and also available through the API for admins (on */all)
      and normal users (on */owned)
      
      The statistics are updated through ProjectCacheWorker, which can now
      do more granular updates with the new :statistics argument.
      Verified
      3ef4f74b
  10. Dec 20, 2016
  11. Dec 19, 2016
  12. Dec 16, 2016
    • Maxim Rydkin's avatar
    • Timothy Andrew's avatar
      Convert AccessTokenValidationService into a class. · b303948f
      Timothy Andrew authored
      - Previously, AccessTokenValidationService was a module, and all its  public
      methods accepted a token. It makes sense to convert it to a class which accepts
      a token during initialization.
      
      - Also rename the `sufficient_scope?` method to `include_any_scope?`
      
      - Based on feedback from @rymai
      b303948f
    • 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
    • Mark Fletcher's avatar
      Ensure issuable state changes only fire webhooks once · 9f97fa4d
      Mark Fletcher authored
      * Webhooks for close and reopen events now fired in respective services only
      * Prevents generic 'update' webhooks firing too
      9f97fa4d
  13. Dec 15, 2016
  14. Dec 14, 2016
  15. Dec 13, 2016
  16. Dec 10, 2016
  17. Dec 09, 2016
Loading