An error occurred fetching the project authors.
  1. 21 Sep, 2016 1 commit
    • Rémy Coutable's avatar
      Merge branch 'limit-number-of-shown-environments' into 'master' · b4dbc373
      Rémy Coutable authored
      Limit number of shown environments
      
      ## What does this MR do?
      
      This MR limits in context of Merge Request a list of shown environments. Previously we would show all environments containing the SHA of the head commit of Merge Request. However, with introducing of dynamically created environments this lead to a cases that we would show multiple review apps, for different branches, because these branches would contain a new questioned commit.
      
      This MR changes what environments we test against presence of the commit, to:
      1. We look for environments with deployments to source_branch of source_project: used for deployments to per-branch environments,
      2. We look for environments with deployments to target_branch of target_project: used for deployments to staging / production environments,
      3. We look for environments with deployments for tags on target_project: used for staging / production environments.
      
      ## Why was this MR needed?
      
      To improve a list of returned environments when we introduced ability to create dynamic environments for review apps:
      https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6323
      
      See merge request !6438
      b4dbc373
  2. 20 Sep, 2016 1 commit
  3. 15 Sep, 2016 1 commit
  4. 14 Sep, 2016 1 commit
    • ubudzisz's avatar
      add test about flash alert · a3100300
      ubudzisz authored
      add tests with dependent destroy
      
      add tests with dependent destroy
      
      add tests
      
      add tests to projects spec
      
      update it title  and remove let
      
      update it title  and remove let
      
      remove changes after rebase
      
      remove changes after rebase
      
      update changelog
      a3100300
  5. 13 Sep, 2016 1 commit
    • Yorick Peterse's avatar
      Move pushes_since_gc to Redis · 4e87c023
      Yorick Peterse authored
      This moves tracking of the pushes since the last Git GC from PostgreSQL
      to Redis. This reduces the number of writes on the "projects" table.
      This in turn reduces the vacuuming overhead.
      
      The lease used for incrementing the counter has been removed. This lease
      was mostly put in place to prevent high database load but this isn't
      needed anymore due to the counter now being stored in Redis.
      
      Fixes gitlab-org/gitlab-ce#22125
      4e87c023
  6. 01 Sep, 2016 1 commit
  7. 26 Aug, 2016 1 commit
  8. 25 Aug, 2016 1 commit
  9. 20 Aug, 2016 1 commit
  10. 17 Aug, 2016 1 commit
  11. 16 Aug, 2016 1 commit
    • Timothy Andrew's avatar
      Fix failing tests relating to backporting ee!581. · dd3b738d
      Timothy Andrew authored
      1. `GitPushService` was still using `{merge,push}_access_level_attributes` instead
         of `{merge,push}_access_levels_attributes`.
      
      2. The branches API creates access levels regardless of the state of the
         `developers_can_{push,merge}` parameters. This is in line with the UI,
         where Master access is the default for a new protected branch.
      
      3. Use `after(:build)` to create access levels in the
         `protected_branches` factory, so that `factories_spec` passes. It
         only builds records, so we need to create access levels on `build` as
         well.
      dd3b738d
  12. 11 Aug, 2016 2 commits
  13. 09 Aug, 2016 2 commits
  14. 04 Aug, 2016 1 commit
  15. 02 Aug, 2016 1 commit
  16. 29 Jul, 2016 1 commit
    • Timothy Andrew's avatar
      Fix all specs related to changes in !5081. · c647540c
      Timothy Andrew authored
      1. Remove `Project#developers_can_push_to_protected_branch?` since it
         isn't used anymore.
      
      2. Remove `Project#developers_can_merge_to_protected_branch?` since it
         isn't used anymore.
      c647540c
  17. 27 Jul, 2016 1 commit
  18. 26 Jul, 2016 1 commit
  19. 21 Jul, 2016 1 commit
  20. 20 Jul, 2016 11 commits
  21. 19 Jul, 2016 3 commits
  22. 18 Jul, 2016 1 commit
  23. 12 Jul, 2016 4 commits