BigW Consortium Gitlab

  1. 11 Aug, 2016 1 commit
    • Fix bug where destroying a namespace would not always destroy projects · cb8a425b
      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
  2. 20 Jul, 2016 1 commit
  3. 22 Jun, 2016 2 commits
  4. 14 Apr, 2016 1 commit
  5. 20 Mar, 2016 2 commits
  6. 19 Mar, 2016 1 commit
  7. 18 Mar, 2016 1 commit
  8. 17 Mar, 2016 1 commit
  9. 16 Mar, 2016 1 commit
  10. 11 Mar, 2016 2 commits
  11. 10 Mar, 2016 4 commits
  12. 04 Mar, 2016 1 commit
  13. 09 Feb, 2016 3 commits
  14. 04 Feb, 2016 1 commit
  15. 27 Jan, 2016 1 commit
  16. 26 Jan, 2016 3 commits
  17. 24 Jan, 2016 1 commit
    • Make the `/groups` route behave as expected · a7c4d0da
      Robert Speicher authored
      The route is supposed to redirect the Groups#index request based on
      whether or not a user was logged in. If they are, we redirect them to
      their groups dashboard; if they're not, we redirect them to the public
      Explore page.
      
      But due to overly aggressive `before_action`s that weren't excluding the
      `index` action, the request always resulted in a 404, whether a user was
      logged in or not.
      
      Closes #12660
  18. 17 Nov, 2015 1 commit
  19. 05 Nov, 2015 1 commit
  20. 12 Oct, 2015 2 commits
  21. 14 Sep, 2015 1 commit
  22. 08 Sep, 2015 2 commits
  23. 30 Jul, 2015 1 commit
  24. 29 Jul, 2015 1 commit
  25. 24 Jun, 2015 1 commit
  26. 03 Jun, 2015 1 commit
  27. 01 May, 2015 1 commit
  28. 30 Apr, 2015 1 commit