An error occurred fetching the project authors.
  1. 10 May, 2016 1 commit
    • Sean McGivern's avatar
      Restrict starred projects to viewable ones · 97424ea5
      Sean McGivern authored
      `User#starred_projects` doesn't perform any visibility checks. This has
      a couple of problems:
      
      1. It assumes a user can always view all of their starred projects in
         perpetuity (project not changed to private, access revoked, etc.).
      2. It assumes that we'll only ever allow a user to star a project they
         can view. This is currently the case, but bugs happen.
      
      Add `User#viewable_starred_projects` to filter the starred projects by
      those the user either has explicit access to, or are public or
      internal. Then use that in all places where we list the user's starred
      projects.
      97424ea5
  2. 09 May, 2016 1 commit
  3. 29 Apr, 2016 1 commit
  4. 13 Apr, 2016 3 commits
  5. 24 Mar, 2016 1 commit
  6. 23 Mar, 2016 1 commit
  7. 13 Mar, 2016 1 commit
  8. 04 Feb, 2016 2 commits
  9. 29 Jan, 2016 1 commit
  10. 11 Jan, 2016 1 commit
  11. 07 Jan, 2016 2 commits
  12. 05 Jan, 2016 1 commit
  13. 03 Jan, 2016 1 commit
  14. 22 Dec, 2015 1 commit
  15. 16 Dec, 2015 1 commit
  16. 11 Dec, 2015 1 commit
  17. 06 Dec, 2015 1 commit
  18. 13 Nov, 2015 1 commit
  19. 14 Oct, 2015 1 commit
  20. 13 Oct, 2015 1 commit
  21. 15 Sep, 2015 1 commit
  22. 14 May, 2015 1 commit
  23. 29 Mar, 2015 1 commit
  24. 24 Mar, 2015 1 commit
  25. 08 Mar, 2015 1 commit
  26. 06 Feb, 2015 1 commit
  27. 22 Jan, 2015 1 commit
  28. 12 Jan, 2015 1 commit
  29. 30 Dec, 2014 1 commit
  30. 29 Dec, 2014 3 commits
  31. 14 Nov, 2014 1 commit
  32. 23 Oct, 2014 1 commit
  33. 07 Oct, 2014 1 commit
    • Vinnie Okada's avatar
      Add option to keep repo on project delete · 68b5ac7f
      Vinnie Okada authored
      Update the project API controller to use `Projects::DestroyService`
      instead of calling `Project#destroy` directly.
      
      Also add an optional parameter, `:keep_repo`, that allows a project to
      be deleted without deleting the repository, wiki, and satellite from
      disk.
      68b5ac7f
  34. 01 Oct, 2014 1 commit
    • Bernhard Kaindl's avatar
      API: Initial support for forking a project via the API · f030ee84
      Bernhard Kaindl authored
      This change adds POST /projects/fork/:id to the API for forking
      a project into the namespace of the authenticated user, like the
      "create fork" link in the GUI does. It also calls the same code.
      
      Failure and permission checks (except for conflict) are already
      implemented and handled in ForkService and the API, so the added
      code is simple and does not alter anything.
      f030ee84