1. 20 8月, 2016 1 次提交
  2. 19 8月, 2016 10 次提交
  3. 18 8月, 2016 6 次提交
  4. 17 8月, 2016 7 次提交
    • Y
      Better formatting for downtime check messages · fa0624fc
      Yorick Peterse 提交于
      This removes excessive whitespace from the messages (e.g. leading
      whitespace) and ensures the message is more clearly visible.
      fa0624fc
    • Y
      Fixed downtime check label colouring · 88a0c984
      Yorick Peterse 提交于
      The colours were incorrect: offline was green and online was red,
      instead of the opposite.
      88a0c984
    • 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
    • D
      Fixed specs and fixes based on failing specs · 029b7d2e
      Douwe Maan 提交于
      029b7d2e
    • F
      28726729
    • P
    • P
      c5a7a70d
  5. 16 8月, 2016 7 次提交
    • T
      Fix failing tests relating to backporting ee!581. · dd3b738d
      Timothy Andrew 提交于
      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
    • T
      Improve EE compatibility with protected branch access levels. · 4ddbbcd1
      Timothy Andrew 提交于
      1. Change a few incorrect `access_level` to `access_levels.first` that
         were missed in e805a647.
      
      2. `API::Entities` can iterate over all access levels instead of just
         the first one. This makes no difference to CE, and makes it more compatible
         with EE.
      4ddbbcd1
    • T
      Backport changes from gitlab-org/gitlab-ee!581 to CE. · e805a647
      Timothy Andrew 提交于
      !581 has a lot of changes that would cause merge conflicts if not
      properly backported to CE. This commit/MR serves as a better
      foundation for gitlab-org/gitlab-ee!581.
      
      = Changes =
      
      1. Move from `has_one {merge,push}_access_level` to `has_many`, with the
         `length` of the association limited to `1`. This is _effectively_ a
         `has_one` association, but should cause less conflicts with EE, which
         is set to `has_many`. This has a number of related changes in the
         views, specs, and factories.
      
      2. Make `gon` variable loading more consistent (with EE!581) in the
         `ProtectedBranchesController`. Also use `::` to prefix the
         `ProtectedBranches` services, because this is required in EE.
      
      3. Extract a `ProtectedBranchAccess` concern from the two access level
         models. This concern only has a single `humanize` method here, but
         will have more methods in EE.
      
      4. Add `form_errors` to the protected branches creation form. This is
         not strictly required for EE compatibility, but was an oversight
         nonetheless.
      e805a647
    • P
      Refactored AkismetHelper into AkismetService and cleaned up `Spammable` · 43e756d4
      Patricio Cano 提交于
      - Refactored SpamCheckService into SpamService
      43e756d4
    • P
      Allow `SpamLog` to be submitted as ham · abf2dcd2
      Patricio Cano 提交于
      - Added `submitted_as_ham` to `SpamLog` to mark which logs have been submitted to Akismet.
      - Added routes and controller action.
      abf2dcd2
    • P
      Refactored spam related code even further · 64ab2b3d
      Patricio Cano 提交于
      - Removed unnecessary column from `SpamLog`
      - Moved creation of SpamLogs out of its own service and into SpamCheckService
      - Simplified code in SpamCheckService.
      - Moved move spam related code into Spammable concern
      64ab2b3d
    • P
      Complete refactor of the `Spammable` concern and tests: · 722fc84e
      Patricio Cano 提交于
      - Merged `AkismetSubmittable` into `Spammable`
      - Clean up `SpamCheckService`
      - Added tests for `Spammable`
      - Added submit (ham or spam) options to `AkismetHelper`
      722fc84e
  6. 15 8月, 2016 9 次提交