An error occurred fetching the project authors.
  1. 31 Dec, 2018 2 commits
    • Shinya Maeda's avatar
      Add spec for Release API · 8f1e96c8
      Shinya Maeda authored
      Add spec for all release API - GET, POST, PUT, DELETE.
      Also, fixes some minior bugs.
      8f1e96c8
    • Alessio Caiazza's avatar
      Add releases API · 1ea2d9fa
      Alessio Caiazza authored
      This commit introduces Releases API under /api/v4/projects/:id/releases
      
      * We are introducing release policies at project level.
      * We are deprecating releases changes from tags, both api and web
      interface.
      * Tags::CreateService no longer create a release
      
      This feature is controlled by :releases_page feature flag
      1ea2d9fa
  2. 24 Dec, 2018 1 commit
  3. 13 Nov, 2018 1 commit
  4. 12 Nov, 2018 1 commit
  5. 08 Nov, 2018 1 commit
  6. 05 Oct, 2018 1 commit
  7. 04 Oct, 2018 1 commit
    • Sean McGivern's avatar
      Fix N+1 for notification recipients on private projects · 28e6af88
      Sean McGivern authored
      If we don't call #to_a, we're relying on the members already being loaded from
      elsewhere. Otherwise we'll do a separate query for each user:
      
          [1] pry(main)> Project.first.team.members.include?(User.first)
            Project Load (0.7ms)  SELECT  "projects".* FROM "projects"  ORDER BY "projects"."id" ASC LIMIT 1
            ↳ (pry):3
            User Load (1.8ms)  SELECT  "users".* FROM "users"  ORDER BY "users"."id" ASC LIMIT 1
            ↳ (pry):3
            User Exists (0.6ms)  SELECT  1 AS one FROM "users" INNER JOIN "project_authorizations" ON "users"."id" = "project_authorizations"."user_id" WHERE "project_authorizations"."project_id" = $1 AND "users"."id" = $2 LIMIT 1  [["project_id", 1], ["id", 1]]
            ↳ (pry):3
          => true
          [2] pry(main)> Project.first.team.members.to_a.include?(User.first)
            Project Load (12.8ms)  SELECT  "projects".* FROM "projects"  ORDER BY "projects"."id" ASC LIMIT 1
            ↳ (pry):1
            User Load (9.6ms)  SELECT "users".* FROM "users" INNER JOIN "project_authorizations" ON "users"."id" = "project_authorizations"."user_id" WHERE "project_authorizations"."project_id" = $1  [["project_id", 1]]
            ↳ (pry):1
            User Load (0.6ms)  SELECT  "users".* FROM "users"  ORDER BY "users"."id" ASC LIMIT 1
            ↳ (pry):1
          => true
      28e6af88
  8. 11 Sep, 2018 1 commit
  9. 04 Sep, 2018 1 commit
  10. 22 Aug, 2018 1 commit
  11. 10 Aug, 2018 1 commit
  12. 24 Jul, 2018 1 commit
  13. 11 Jul, 2018 1 commit
  14. 20 Jun, 2018 1 commit
  15. 06 Jun, 2018 1 commit
  16. 15 May, 2018 1 commit
  17. 07 May, 2018 1 commit
  18. 11 Apr, 2018 3 commits
  19. 10 Apr, 2018 3 commits
  20. 07 Apr, 2018 2 commits
  21. 05 Apr, 2018 1 commit
    • Sean McGivern's avatar
      Fix N+1 in MergeRequestParser · e7b1d201
      Sean McGivern authored
      read_project can be prevented by a very expensive condition, which we want to
      avoid, while still not writing manual SQL queries. read_project_for_iids is used
      by read_issue_iid and read_merge_request_iid to satisfy both of those
      constraints, and allow the declarative policy runner to use its normal caching
      strategy.
      e7b1d201
  22. 07 Mar, 2018 3 commits
  23. 22 Feb, 2018 1 commit
  24. 09 Feb, 2018 1 commit
    • Douwe Maan's avatar
      Merge branch... · 5e9e5692
      Douwe Maan authored
      Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4'
      
      [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
      5e9e5692
  25. 05 Jan, 2018 1 commit
  26. 05 Oct, 2017 1 commit
  27. 03 Oct, 2017 1 commit
  28. 01 Oct, 2017 1 commit
  29. 18 Sep, 2017 1 commit
  30. 29 Aug, 2017 1 commit
  31. 24 Jul, 2017 2 commits