1. 10 May, 2017 1 commit
  2. 05 May, 2017 4 commits
  3. 04 May, 2017 4 commits
  4. 03 May, 2017 1 commit
  5. 02 May, 2017 1 commit
  6. 01 May, 2017 1 commit
  7. 27 Apr, 2017 1 commit
  8. 18 Apr, 2017 1 commit
  9. 13 Apr, 2017 1 commit
  10. 04 Apr, 2017 1 commit
  11. 03 Apr, 2017 2 commits
  12. 31 Mar, 2017 1 commit
  13. 28 Mar, 2017 1 commit
  14. 24 Mar, 2017 2 commits
  15. 23 Mar, 2017 2 commits
  16. 21 Mar, 2017 1 commit
  17. 06 Mar, 2017 2 commits
    • Robert Speicher's avatar
      Fix Projects::UploadService spec · d078b4aa02a4
      Robert Speicher authored
      For reasons unknown, this spec was passing a project's repository as the
      first argument to `Projects::UploadService`, while it was expecting the
      project itself.
      
      Previously this wasn't a problem because `FileUploader` only needed the
      object to respond to `path_with_namespace`, which Repository and Project
      both did. But now because of `Upload` and its polymorphic association,
      it expects the object to respond to `primary_key`.
      d078b4aa02a4
    • Grzegorz Bizon's avatar
      301a8db128db
  18. 05 Mar, 2017 1 commit
  19. 23 Feb, 2017 3 commits
  20. 22 Feb, 2017 1 commit
  21. 19 Feb, 2017 1 commit
    • Stan Hu's avatar
      Prevent project team from being truncated too early during project destruction · ef8defda6ff9
      Stan Hu authored
      There are two issues with truncating the project team early:
      
      1. `Projects::UnlinkForkService` may not close merge requests properly since
         permissions may be revoked early.
      
      2. If an error is encountered during flushing of caches, then the user will
         lose all privileges, possibly causing an issue on deletion on retry.
      ef8defda6ff9
  22. 07 Feb, 2017 1 commit
    • Yorick Peterse's avatar
      Refresh authorizations when transferring projects · 71096bb0efc1
      Yorick Peterse authored
      This ensures that project authorizations are refreshed when moving a
      project from one namespace to another. When doing so the permissions for
      all users of both the old and new namespaces are refreshed.
      
      See #26194 for more information.
      71096bb0efc1
  23. 05 Feb, 2017 1 commit
  24. 03 Feb, 2017 2 commits
  25. 01 Feb, 2017 3 commits
    • Stan Hu's avatar
      Fix GitLab Pages not refreshing upon new content · 0def99aac42a
      Stan Hu authored
      Due to autoloading and Ruby scoping, the .update file was never being
      updated due to this error:
      
      ```
      NoMethodError: undefined method `pages' for Projects::Settings:Module
              from /opt/gitlab/embedded/service/gitlab-rails/app/services/projects/update_pages_configuration_service.rb:50:in `pages_update_file'
              from /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/instrumentation.rb:157:in `pages_update_file'
              from (irb):6
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:110:in `start'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/console.rb:9:in `start'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:68:in `console'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
              from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.7.1/lib/rails/commands.rb:17:in `<top (required)>'
              from bin/rails:9:in `require'
      ```
      
      This error was caught and discarded quietly. This fix exercises this code and fixes the scope problem.
      
      Closes gitlab-com/infrastructure#1058
      0def99aac42a
    • Yorick Peterse's avatar
      Fixed Rubocop deprecation warnings · c5d43568d3d3
      Yorick Peterse authored
      c5d43568d3d3
    • Grzegorz Bizon's avatar
      Fix Rubocop offenses · 23baadb285d3
      Grzegorz Bizon authored
      23baadb285d3