1. 17 7月, 2019 1 次提交
  2. 16 7月, 2019 2 次提交
  3. 14 7月, 2019 1 次提交
  4. 12 7月, 2019 1 次提交
  5. 05 7月, 2019 1 次提交
  6. 04 7月, 2019 3 次提交
  7. 03 7月, 2019 2 次提交
  8. 02 7月, 2019 2 次提交
  9. 27 6月, 2019 1 次提交
    • T
      Add cluster_id to deployments table as an FK · 525edec7
      Thong Kuah 提交于
      We nullify when cluster is deleted as we want to keep the deployment
      record around.
      
      Add cluster as an optional association
      
      We will have only cluster for deployments where the build deploys to a
      kubernetes cluster
      525edec7
  10. 26 6月, 2019 2 次提交
  11. 25 6月, 2019 5 次提交
  12. 21 6月, 2019 1 次提交
    • V
      Don't show private keys for letsencrypt certs · 6119d5ad
      Vladimir Shushlin 提交于
      Adds enum certificate_source to pages_domains table
      with default manually_uploaded
      
      Mark certificates as 'gitlab_provided'
      if the were obtained through Let's Encrypt
      
      Mark certificates as 'user_provided' if they were uploaded through
      controller or api
      
      Only show private key in domain edit form if it is 'user_provided'
      
      Only show LetsEncrypt option if is enabled by application settings
      (and feature flag)
      
      Refactor and fix some specs to match new logic
      
      Don't show Let's Encrypt certificates as well
      6119d5ad
  13. 20 6月, 2019 2 次提交
    • O
      Automatically update MR merge-ref along merge status · 3af348b6
      Oswaldo Ferreira 提交于
      This couples the code that transitions the `MergeRequest#merge_status`
      and refs/merge-requests/:iid/merge ref update.
      
      In general, instead of directly telling `MergeToRefService` to update
      the merge ref, we should rely on `MergeabilityCheckService` to keep
      both the merge status and merge ref synced. Now, if the merge_status is
      `can_be_merged` it means the merge-ref is also updated to the latest.
      
      We've also updated the logic to be more systematic and less user-based.
      3af348b6
    • S
      Remove import columns from projects table · 6c0bc9ab
      Stan Hu 提交于
      In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21497, we
      migrated all project import data into a separate table,
      `project_import_data`.  In addition, we also added:
      
      ```
      ignore_column :import_status, :import_jid, :import_error
      ```
      
      In https://gitlab.com/gitlab-com/gl-infra/production/issues/908, we
      observed some of these `import_error` columns consumed megabytes of
      error backtraces and caused slow loading of projects whenever a `SELECT
      * from projects` query loaded the row into memory.
      
      Since we have long migrated away from these columns, we can now drop
      these columns entirely.
      6c0bc9ab
  14. 19 6月, 2019 2 次提交
  15. 18 6月, 2019 6 次提交
  16. 17 6月, 2019 3 次提交
    • I
      CE port of IP address restriction for groups · 1ac1f1f6
      Imre Farkas 提交于
      1ac1f1f6
    • Y
      Backport the EE schema and migrations to CE · 8469f59d
      Yorick Peterse 提交于
      This backports all EE schema changes to CE, including EE migrations,
      ensuring both use the same schema.
      
      == Updated tests
      
      A spec related to ghost and support bot users had to be modified to make
      it pass. The spec in question assumes that the "support_bot" column
      exists when defining the spec. In the single codebase setup this is not
      the case, as the column is backported in a later migration. Any attempt
      to use a different schema version or use of "around" blocks to
      conditionally disable specs won't help, as reverting the backport
      migration would also drop the "support_bot" column. Removing the
      "support_bot" tests entirely appears to be the only solution.
      
      We also need to update some foreign key tests now that we have
      backported the EE columns. Fortunately, these changes are very minor.
      
      == Backporting migrations
      
      This commit moves EE specific migrations (except those for the Geo
      tracking database) and related files to CE, and also removes any traces
      of the ee/db directory.
      
      Some migrations had to be modified or removed, as they no longer work
      with the schema being backported. These migrations were all quite old,
      so we opted for removing them where modifying them would take too much
      time and effort.
      
      Some old migrations were modified in EE, while also existing in CE. In
      these cases we took the EE code, and in one case removed them entirely.
      It's not worth spending time trying to merge these changes somehow as we
      plan to remove old migrations around the release of 12.0, see
      https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
      8469f59d
    • L
      CE backport for changes in EE MR 13894 · f7163afb
      Luke Duncalfe 提交于
      This backports to CE changes that allow the recording of the
      repository_type in the table lfs_objects_projects.
      
      This is in order to allow future pruning of unreferenced LFS objects,
      as we will need to know which repository to look in for the LFS pointer
      file.
      
      The EE MR that contains the original code and a full explanation of the
      changes is
      https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894
      
      EE Issue https://gitlab.com/gitlab-org/gitlab-ee/issues/9490
      
      Note that there was a lot of CE code changed in the EE MR because we
      want to allow the wiki repository to also use LFS. See
      https://gitlab.com/gitlab-org/gitlab-ce/issues/43721. As the wiki is
      an unlicensed feature, a full backport is required to enable this.
      f7163afb
  17. 14 6月, 2019 2 次提交
  18. 13 6月, 2019 2 次提交
  19. 11 6月, 2019 1 次提交