Read about our upcoming Code of Conduct on this issue

  1. 07 Oct, 2016 1 commit
    • Nick Thomas's avatar
      Add markdown cache columns to the database, but don't use them yet · af001f6c6325
      Nick Thomas authored
      This commit adds a number of _html columns and, with the exception of Note,
      starts updating them whenever the content of their partner fields changes.
      
      Note has a collision with the note_html attr_accessor; that will be fixed later
      
      A background worker for clearing these cache columns is also introduced - use
      `rake cache:clear` to set it off. You can clear the database or Redis caches
      separately by running `rake cache:clear:db` or `rake cache:clear:redis`,
      respectively.
      af001f6c6325
  2. 15 Sep, 2016 1 commit
  3. 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
  4. 30 Jun, 2016 1 commit
  5. 03 Jun, 2016 2 commits
  6. 13 May, 2016 1 commit
  7. 12 May, 2016 1 commit
  8. 09 May, 2016 2 commits
  9. 06 May, 2016 1 commit
  10. 11 Mar, 2016 1 commit
  11. 06 Jan, 2016 1 commit
  12. 15 Dec, 2015 1 commit
  13. 07 Dec, 2015 2 commits
  14. 13 Nov, 2015 1 commit
  15. 14 Oct, 2015 1 commit
  16. 01 Oct, 2015 1 commit
  17. 11 Aug, 2015 2 commits
  18. 06 Aug, 2015 1 commit
  19. 15 Jul, 2015 1 commit
  20. 03 Jun, 2015 2 commits
  21. 24 Apr, 2015 4 commits
  22. 17 Apr, 2015 1 commit
  23. 08 Apr, 2015 3 commits
  24. 31 Mar, 2015 1 commit
  25. 27 Mar, 2015 3 commits
  26. 03 Mar, 2015 1 commit
  27. 13 Feb, 2015 1 commit
  28. 05 Feb, 2015 1 commit