1. 17 8月, 2016 6 次提交
    • A
    • Y
      Tracking of custom events · d345591f
      Yorick Peterse 提交于
      GitLab Performance Monitoring is now able to track custom events not
      directly related to application performance. These events include the
      number of tags pushed, repositories created, builds registered, etc.
      
      The use of these events is to get a better overview of how a GitLab
      instance is used and how that may affect performance. For example, a
      large number of Git pushes may have a negative impact on the underlying
      storage engine.
      
      Events are stored in the "events" measurement and are not prefixed with
      "rails_" or "sidekiq_", this makes it easier to query events with the
      same name triggered from different parts of the application. All events
      being stored in the same measurement also makes it easier to downsample
      data.
      
      Currently the following events are tracked:
      
      * Creating repositories
      * Removing repositories
      * Changing the default branch of a repository
      * Pushing a new tag
      * Removing an existing tag
      * Pushing a commit (along with the branch being pushed to)
      * Pushing a new branch
      * Removing an existing branch
      * Importing a repository (along with the URL we're importing)
      * Forking a repository (along with the source/target path)
      * CI builds registered (and when no build could be found)
      * CI builds being updated
      * Rails and Sidekiq exceptions
      
      Fixes gitlab-org/gitlab-ce#13720
      d345591f
    • P
      Move to project dropdown with infinite scroll for better performance · 03386633
      Paco Guzman 提交于
      Use just SQL to check is a user can admin_issue on a project
      
      Tradeoff
      
      - we duplicate how we check admin_issue in a SQL relation in the Ability class
      03386633
    • R
      Update CHANGELOG for 8.10.6, 8.9.7, and 8.8.8 · 5a1eff71
      Robert Speicher 提交于
      [ci skip]
      5a1eff71
    • W
      Add hover state to todos (!5361) · bd02aa19
      winniehell 提交于
      bd02aa19
    • F
      28726729
  2. 16 8月, 2016 1 次提交
  3. 15 8月, 2016 6 次提交
  4. 13 8月, 2016 1 次提交
  5. 12 8月, 2016 11 次提交
    • P
      Use cache for todos counter calling TodoService · 1f225354
      Paco Guzman 提交于
      1f225354
    • Y
      Instrument Project.visible_to_user · e0fc43eb
      Yorick Peterse 提交于
      Because this method is a Rails scope we have to instrument it manually
      as regular the instrumentation methods only instrument methods defined
      directly on a Class or Module.
      e0fc43eb
    • 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
    • U
      Update CHANGELOG · c5aca8b2
      ula budziszewska 提交于
      c5aca8b2
    • U
      render only commit title · 957632b7
      ubudzisz 提交于
      update CHANGELOG
      
      add auto-completion into pipeline
      
      add auto-completion into pipeline
      
      add auto-completion into pipeline
      
      update changelog
      
      modify tests
      
      remove empty lines
      
      add auto-completion into pipeline
      
      update changelog
      
      modify tests
      
      switch text_field_tag into text_field
      
      add test to new field
      
      switch context into describe
      
      Update CHANGELOG
      
      render only commit title
      
      update CHANGELOG
      
      add auto-completion into pipeline
      
      add auto-completion into pipeline
      
      add auto-completion into pipeline
      
      update changelog
      
      modify tests
      
      remove empty lines
      
      add auto-completion into pipeline
      
      update changelog
      
      modify tests
      
      update changelog
      
      Update CHANGELOG
      
      add indetation
      
      add tests to pipeline ref
      
      change file name for tests
      
      change file name for spec tests
      
      remove empty line
      
      rename test it
      
      rename test name
      
      removing unexpected changes
      
      removing unexpected changes2
      
      update changelog
      957632b7
    • Z
      Incorporate feedback · b497b0ce
      Z.J. van de Weg 提交于
      b497b0ce
    • Z
      Show deployment status on a MR view · 49f72e70
      Z.J. van de Weg 提交于
      49f72e70
    • Z
      Target 8.11 for CHANGELOG entry Ruby 2.3 · 3b973d18
      Z.J. van de Weg 提交于
      3b973d18
    • C
      Update currently supported Ruby version info. · 9f9e38ff
      Connor Shea 提交于
      9f9e38ff
    • S
      api for generating new merge request · 6109daf4
      Scott Le 提交于
      DRY code + fix rubocop
      
      Add more test cases
      
      Append to changelog
      
      DRY changes list
      
      find_url service for merge_requests
      
      use GET for getting merge request links
      
      remove files
      
      rename to get_url_service
      
      reduce loop
      
      add test case for cross project
      
      refactor tiny thing
      
      update changelog
      6109daf4
    • D
      Show member roles to all users on members page · 32b579e8
      Douwe Maan 提交于
      32b579e8
  6. 11 8月, 2016 13 次提交
  7. 10 8月, 2016 2 次提交
    • P
      Avoid commit lookup on diff_helper · 5689e8a0
      Paco Guzman 提交于
      5689e8a0
    • Y
      Remove trigram indexes for "ci_runners" · 17dd3e89
      Yorick Peterse 提交于
      These indexes are only used when you search for runners in the admin
      interface. This operation is so rarely used that it does not make sense
      to slow down every update in order to update the GIN trigram indexes.
      
      Removing these indexes should speed up queries such as those used for
      updating the last contact time of CI runners. Locally the timings of
      this query were reduced from ~50 ms to ~25 ms:
      
          UPDATE ci_runners SET updated_at = now(), contacted_at = now();
      17dd3e89