1. 20 Oct, 2016 16 commits
    • Airat Shigapov's avatar
    • Rémy Coutable's avatar
      Merge branch 'project-cache-worker-lease' into 'master' · 8e218edb
      Rémy Coutable authored
      Restrict ProjectCacheWorker jobs to one per 15 min
      
      ## What does this MR do?
      
      This restricts performing ProjectCacheWorker jobs to once every 15 minutes per project. The goal of this is to reduce disk load in the event of a lot of pushes happening in a short period of time. 
      
      The impact is that cached data (e.g. commit count) may be updated less frequently. Furthermore it could mean that separate push payloads won't lead to e.g. READMEs being updated. Most of the cached data isn't updated very frequently, so this trade off should be worth it considering the alternative is a burning storage layer. 
      
      In the future we'll have to flush caches in a smarter way. For example, refreshing the README cache could probably be done separately from the other caches with its own lease and such. See https://gitlab.com/gitlab-org/gitlab-ce/issues/23550 for more information.
      
      See merge request !7017
      8e218edb
    • Dmitriy Zaporozhets's avatar
      Merge branch 'remove-unused-code-project-members-controller' into 'master' · 9180bdd4
      Dmitriy Zaporozhets authored
      Removed code from project members controller
      
      ## What does this MR do?
      
      Removes code that was meant to be added to a different branch as an experiment.
      
      See merge request !7012
      9180bdd4
    • Douwe Maan's avatar
      Merge branch 'fix-label-api-spec' into 'master' · b1df8c4e
      Douwe Maan authored
      Make label API spec independent of order
      
      See merge request !7013
      b1df8c4e
    • Yorick Peterse's avatar
      Restrict ProjectCacheWorker jobs to one per 15 min · bc31a489
      Yorick Peterse authored
      This ensures ProjectCacheWorker jobs for a given project are performed
      at most once per 15 minutes. This should reduce disk load a bit in cases
      where there are multiple pushes happening (which should schedule
      multiple ProjectCacheWorker jobs).
      bc31a489
    • Sean McGivern's avatar
      Merge branch 'issue_22944' into 'master' · ded1e2f6
      Sean McGivern authored
      Create project feature when project is created
      
      closes #22944
      
      See merge request !6908
      ded1e2f6
    • Sean McGivern's avatar
      Merge branch 'refactoring_find_commits_method' into 'master' · 6f875903
      Sean McGivern authored
      Refactoring find_commits method
      
      It's possible that `find_commits_by_message` return nil in array which is not OK. We have different checks outside of this method. This MR places all checks inside the method.
      
      See merge request !7000
      6f875903
    • Phil Hughes's avatar
      Removed code from project members controller · 50288a6a
      Phil Hughes authored
      This code was meant to be added to another branch as an expirement, but instead was commited to wrong branch
      50288a6a
    • Douwe Maan's avatar
      Make label API spec independent of order · d9d0b81b
      Douwe Maan authored
      d9d0b81b
    • Rémy Coutable's avatar
      Merge branch '23555-project-api-doc' into 'master' · ba28a64e
      Rémy Coutable authored
      Resolve "Breaking a parameter table in Projects API doc"
      
      ## What does this MR do?
      
      - A broken markdown in `Search for projects by name` is fixed.
          - cf. !6681
      - Pagination is removed from `Search for projects by name` like other docs as it is shown in [/api/README.html](https://docs.gitlab.com/ce/api/README.html)
      
      ## Moving docs to a new location?
      
      No.
      
      ## What are the relevant issue numbers?
      
      Closes #23555
      
      See merge request !7007
      ba28a64e
    • Valery Sizov's avatar
      Refactoring find_commits functionality · fd2c3a3d
      Valery Sizov authored
      fd2c3a3d
    • Douwe Maan's avatar
      Merge branch '6967-toggle_award_url' · 1f949c0a
      Douwe Maan authored
      1f949c0a
    • Sean McGivern's avatar
      Merge branch 'add_user_expire_leave_event' into 'master' · b5cee666
      Sean McGivern authored
      Differentiate the expire from leave event
      
      At the moment we cannot see whether a user left a project due to their
      membership expiring or if they themselves opted to leave the project.
      This adds a new event type that allows us to make this differentiation.
      Note that is not really feasible to go back and reliably fix up the
      previous events. As a result the events for previous expire removals
      will remain the same however events of this nature going forward will be
      correctly represented.
      
      Closes #22611 
      
      ![Screen_Shot_2016-10-06_at_09.27.52](/uploads/e4de7bd2cdedc64a9b19e56fefa21314/Screen_Shot_2016-10-06_at_09.27.52.png)
      
      See merge request !6717
      b5cee666
    • Fatih Acet's avatar
      Merge branch 'boards-blank-state-size-fix' into 'master' · 192a6eaf
      Fatih Acet authored
      Fixed height of issue board blank state
      
      ## What does this MR do?
      
      The height of the issue board blank state was causing some weird scrolling issues. This MR changes the height of the blank state.
      
      See merge request !6960
      192a6eaf
    • Fatih Acet's avatar
      Merge branch '23346-pipeline-buttons-cutoff' into 'master' · 8608beed
      Fatih Acet authored
      Smaller min-width for MR pipeline table
      
      ## What does this MR do?
      Nests class under `.tab-pane` to make sure buttons don't get cut off
      
      ## Screenshots (if relevant)
      ![Screen_Shot_2016-10-14_at_11.00.02_AM](/uploads/6e19e0375721f2cb58223c2e7ed89308/Screen_Shot_2016-10-14_at_11.00.02_AM.png)
      
      ## What are the relevant issue numbers?
      Closes #23346
      
      See merge request !6893
      8608beed
    • Callum Dryden's avatar
      Differentiate the expire from leave event · 9124310f
      Callum Dryden authored
      At the moment we cannot see weather a user left a project due to their
      membership expiring of if they themselves opted to leave the project.
      This adds a new event type that allows us to make this differentiation.
      Note that is not really feasable to go back and reliably fix up the
      previous events. As a result the events for previous expire removals
      will remain the same however events of this nature going forward will be
      correctly represented.
      9124310f
  2. 19 Oct, 2016 24 commits