Read about our upcoming Code of Conduct on this issue

  1. 21 Dec, 2016 1 commit
    • Markus Koller's avatar
      Add more storage statistics · 4571941f6307
      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.
      4571941f6307
  2. 08 Dec, 2016 1 commit
  3. 28 Sep, 2016 1 commit
  4. 15 Sep, 2016 2 commits
  5. 18 Aug, 2016 1 commit
  6. 11 Aug, 2016 1 commit
    • Stan Hu's avatar
      Fix bug where destroying a namespace would not always destroy projects · 4f8fa2dd763b
      Stan Hu authored
      There is a race condition in DestroyGroupService now that projects are deleted asynchronously:
      
      1. User attempts to delete group
      2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project
      3. DestroyGroupService destroys the Group, leaving all its projects without a namespace
      4. Projects::DestroyService runs later but the can?(current_user,
         :remove_project) is `false` because the user no longer has permission to
         destroy projects with no namespace.
      5. This leaves the project in pending_delete state with no namespace/group.
      
      Projects without a namespace or group also adds another problem: it's not possible to destroy the container
      registry tags, since container_registry_path_with_namespace is the wrong value.
      
      The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService.
      
      Closes #17893
      4f8fa2dd763b
  7. 20 Jul, 2016 1 commit
  8. 01 Jul, 2016 1 commit
  9. 21 Mar, 2016 1 commit
  10. 19 Mar, 2016 1 commit
  11. 08 Mar, 2016 1 commit
  12. 03 Jun, 2015 1 commit
  13. 20 Apr, 2015 1 commit
  14. 14 Apr, 2015 1 commit
  15. 15 Mar, 2015 1 commit
  16. 12 Mar, 2015 1 commit
  17. 06 Feb, 2015 1 commit
  18. 05 Feb, 2015 1 commit
  19. 22 Dec, 2014 1 commit
  20. 14 Sep, 2014 1 commit
  21. 26 Jun, 2014 1 commit
  22. 02 Jun, 2014 1 commit
  23. 19 Jan, 2014 1 commit
  24. 26 Sep, 2013 1 commit
  25. 26 Jun, 2013 1 commit
  26. 22 Jun, 2013 2 commits
  27. 20 Jun, 2013 1 commit
  28. 18 Jun, 2013 1 commit
  29. 17 Jun, 2013 1 commit
  30. 10 Jun, 2013 1 commit
  31. 10 Apr, 2013 1 commit
  32. 24 Jan, 2013 1 commit
  33. 30 Dec, 2012 1 commit
  34. 26 Dec, 2012 3 commits
  35. 10 Dec, 2012 1 commit
  36. 03 Dec, 2012 1 commit