1. 24 1月, 2017 1 次提交
  2. 21 12月, 2016 2 次提交
    • M
      Add more storage statistics · 3ef4f74b
      Markus Koller 提交于
      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.
      3ef4f74b
    • J
      b82fdf62
  3. 16 12月, 2016 1 次提交
  4. 13 12月, 2016 2 次提交
  5. 12 12月, 2016 1 次提交
  6. 08 12月, 2016 1 次提交
  7. 06 12月, 2016 1 次提交
  8. 24 11月, 2016 1 次提交
  9. 23 11月, 2016 1 次提交
  10. 08 10月, 2016 1 次提交
  11. 07 10月, 2016 1 次提交
    • N
      Add markdown cache columns to the database, but don't use them yet · e94cd6fd
      Nick Thomas 提交于
      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.
      e94cd6fd
  12. 16 9月, 2016 1 次提交
  13. 12 8月, 2016 1 次提交
    • S
      Fix bug where destroying a namespace would not always destroy projects · cb8a425b
      Stan Hu 提交于
      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
      cb8a425b
  14. 30 6月, 2016 1 次提交
  15. 03 6月, 2016 2 次提交
  16. 13 5月, 2016 2 次提交
  17. 10 5月, 2016 2 次提交
  18. 06 5月, 2016 1 次提交
  19. 12 3月, 2016 1 次提交
  20. 06 1月, 2016 1 次提交
  21. 15 12月, 2015 1 次提交
  22. 08 12月, 2015 2 次提交
  23. 14 11月, 2015 1 次提交
  24. 14 10月, 2015 1 次提交
  25. 01 10月, 2015 1 次提交
  26. 11 8月, 2015 2 次提交
  27. 06 8月, 2015 1 次提交
  28. 15 7月, 2015 1 次提交
  29. 03 6月, 2015 2 次提交
  30. 24 4月, 2015 3 次提交