1. 13 2月, 2020 1 次提交
  2. 01 2月, 2020 1 次提交
  3. 24 1月, 2020 1 次提交
  4. 21 1月, 2020 1 次提交
  5. 20 12月, 2019 1 次提交
  6. 25 11月, 2019 1 次提交
    • A
      Encrypt application settings with pre and post deployments · cc9a30c7
      Arturo Herrero 提交于
      We had concerns about the cached values on Redis with the previous two
      releases strategy:
      
      First release (this commit):
        - Create new encrypted fields in the database.
        - Start populating new encrypted fields, read the encrypted fields or
          fallback to the plaintext fields.
        - Backfill the data removing the plaintext fields to the encrypted
          fields.
      Second release:
        - Remove the virtual attribute (created in step 2).
        - Drop plaintext columns from the database (empty columns after
          step 3).
      
      We end up with a better strategy only using migration scripts in one
      release:
        - Pre-deployment migration: Add columns required for storing encrypted
          values.
        - Pre-deployment migration: Store the encrypted values in the new
          columns.
        - Post-deployment migration: Remove the old unencrypted columns
      cc9a30c7
  7. 21 11月, 2019 1 次提交
    • A
      Encrypt application setting tokens · 03ae7517
      Arturo Herrero 提交于
      This is the plan to encrypt the plaintext tokens:
      
      First release (this commit):
        1. Create new encrypted fields in the database.
        2. Start populating new encrypted fields, read the encrypted fields or
           fallback to the plaintext fields.
        3. Backfill the data removing the plaintext fields to the encrypted fields.
      
      Second release:
        4. Remove the virtual attribute (created in step 2).
        5. Drop plaintext columns from the database (empty columns after step 3).
      03ae7517
  8. 20 11月, 2019 1 次提交
  9. 04 11月, 2019 1 次提交
  10. 22 10月, 2019 1 次提交
  11. 20 9月, 2019 1 次提交
  12. 19 9月, 2019 1 次提交
  13. 18 9月, 2019 1 次提交
  14. 17 9月, 2019 2 次提交
  15. 16 9月, 2019 3 次提交
  16. 13 9月, 2019 1 次提交
  17. 12 9月, 2019 1 次提交
  18. 10 9月, 2019 3 次提交
  19. 05 9月, 2019 4 次提交
    • F
      CE port for pipelines for external pull requests · ca6a1f33
      Fabio Pitino 提交于
      Detect if pipeline runs for a GitHub pull request
      
      When using a mirror for CI/CD only we register a pull_request
      webhook. When a pull_request webhook is received, if the
      source branch SHA matches the actual head of the branch in the
      repository we create immediately a new pipeline for the
      external pull request. Otherwise we store the
      pull request info for when the push webhook is received.
      
      When using "only/except: external_pull_requests" we can detect
      if the pipeline has a open pull request on GitHub and create or
      not the job based on that.
      ca6a1f33
    • C
      New interruptible attribute supported in YAML parsing. · e195e486
      Cédric Tabin 提交于
      Since it is not possible to dynamically detect if a job is automatically
      cancellable or not, a this new attribute is necessary. Moreover, it let
      the maintainer of the repo to adjust the behaviour of the auto cancellation
      feature to match exactly what he needs.
      e195e486
    • K
      Add structure to support EE feature of COAR · 0e40b41e
      Kerri Miller 提交于
      These are the structural changes for supporting the EE feature of moving
      "code_owner_approval_required" state from existing on a project to being
      on the protected branches individually, allowing for CODEOWNER
      validation on push events.
      0e40b41e
    • A
      Create index for users.unconfirmed_email · 7a890ae9
      Andreas Brandl 提交于
      This speeds up the following query:
      
      ```sql
      SELECT  users.* FROM users WHERE users.unconfirmed_email = ? ORDER BY
      users.id ASC LIMIT 1
      ```
      
      Presumably, this is a query coming from Devise.
      
      Context is https://gitlab.com/gitlab-org/gitlab-ce/issues/66958.
      7a890ae9
  20. 04 9月, 2019 2 次提交
  21. 03 9月, 2019 3 次提交
  22. 02 9月, 2019 1 次提交
    • A
      Replace indexes for counting active users · 5b4108f0
      Andreas Brandl 提交于
      This adjusts the partial condition for an index. The index is intended
      to be used when counting active users with `ghost IS NOT TRUE AND
      bot_type IS NULL`.
      
      With the current index, this wasn't working as the partial condition
      didn't match the query: `ghost <> TRUE` is not semantically equivalent
      to `ghost IS NOT TRUE` (null semantics).
      
      The reason we add an index particularly intended for EE is that the EE
      query is going to have the additional part `AND bot_type IS NULL`
      whereas the CE query doesn't. Logically, it'd be enough to have an index
      for `ghost IS NOT TRUE`. However, on GitLab.com, the query planner makes
      poor choices when the additional `AND bot_type IS NULL` part is present:
      It goes for the index on `bot_type` and doesn't use the partial index.
      
      Note the existing index isn't being used at all according to GitLab.com
      index statistics. Hence we can first remove it and don't have to worry
      about the window of time without an index.
      
      Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/66770
      5b4108f0
  23. 30 8月, 2019 2 次提交
  24. 29 8月, 2019 3 次提交
  25. 28 8月, 2019 2 次提交