Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 3月 29, 2019
  2. 3月 28, 2019
    • Nick Thomas's avatar
      Allow external diffs to be used conditionally · 0e831b0b
      Nick Thomas 创作于
      Since external diffs are likely to be a bit slower than in-database
      ones, add a mode that makes diffs external after they've been obsoleted
      by events. This should strike a balance between performance and disk
      space.
      
      A background cron drives the majority of migrations, since diffs become
      outdated through user actions.
      未验证
      0e831b0b
  3. 3月 27, 2019
  4. 3月 22, 2019
  5. 3月 19, 2019
    • Sean McGivern's avatar
      Send schema cache to Sentry on MissingAttributeError · 58643cd5
      Sean McGivern 创作于
      We don't know why this happens, so this is an attempt to debug the
      issue by sending a full list of all columns ActiveRecord knows about
      when the error is raised.
      58643cd5
    • Patrick Bajao's avatar
      Integrate Gitlab::Keys with Gitlab::Shell · 26dadbc9
      Patrick Bajao 创作于
      In this commit, some methods that aren't being used
      are removed from `Gitlab::Shell`. They are the ff:
      - `#remove_keys_not_found_in_db`
      - `#batch_read_key_ids`
      - `#list_key_ids`
      
      The corresponding methods in `Gitlab::Keys` have been
      removed as well.
      26dadbc9
  6. 3月 14, 2019
  7. 3月 13, 2019
  8. 3月 12, 2019
    • Mayra Cabrera's avatar
      Enable/disable Auto DevOps at Group level · 7e9348f3
      Mayra Cabrera 创作于
      - Includes instance methods on Group model to detect when a group has
      AutoDevOps explicitly/implicitly enabled/disabled.
      - Includes migration to add a new column to namespaces table
      - Add UI necessary modifications
      - Add service and controller to update auto devops
      related instances
      - Updates project and groups auto devops badges
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
      7e9348f3
    • Stan Hu's avatar
      Batch insert CI rspec_profiling data · f1103017
      Stan Hu 创作于
      Instead of inserting a row after each example to an external database,
      we save the CI profiling reports into the `rspec_profiling` directory
      and insert the data in the update-tests-metadata CI stage.  This should
      make each spec run faster and also reduce the number of PostgreSQL
      connections needed by concurrent CI builds.
      
      `scripts/insert-rspec-profiling-data` also inserts one file at a time
      via the PostgreSQL COPY command for faster inserts. The one side effect
      is that the `created_at` and `updated_at` timestamps aren't available
      since they aren't generated in the CSV.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10154
      f1103017
    • Mike Greiling's avatar
      Remove node 6 trailing comma support · c46b7919
      Mike Greiling 创作于
      This removes trailing commas from node scripts which previously
      omitted them for compatiblity with node 6
      未验证
      c46b7919
  9. 3月 11, 2019
  10. 3月 09, 2019
  11. 3月 07, 2019
  12. 3月 05, 2019
    • João Cunha's avatar
      Creates Clusterss::ApplciationsController update endpoint · f8234d9a
      João Cunha 创作于
      - Creates new route
      - Creates new controller action
      - Creates call stack:
        Clusterss::ApplciationsController calls -->
        Clusters::Applications::UpdateService calls -->
        Clusters::Applications::ScheduleUpdateService calls -->
        ClusterUpdateAppWorker calls -->
        Clusters::Applications::PatchService -->
        ClusterWaitForAppInstallationWorker
      
      DRY req params
      
      Adds gcp_cluster:cluster_update_app queue
      
      Schedule_update_service is uneeded
      
      Extract common logic to a parent class (UpdateService will need it)
      
      Introduce new UpdateService
      
      Fix rescue class namespace
      
      Fix RuboCop offenses
      
      Adds BaseService for create and update services
      
      Remove request_handler code duplication
      
      Fixes update command
      
      Move update_command to ApplicationCore so all apps can use it
      
      Adds tests for Knative update_command
      
      Adds specs for PatchService
      
      Raise error if update receives an unistalled app
      
      Adds update_service spec
      
      Fix RuboCop offense
      
      Use subject in favor of go
      
      Adds update endpoint specs for project namespace
      
      Adds update endpoint specs for group namespace
      f8234d9a
    • Nick Thomas's avatar
      sidekiq: terminate child processes at shutdown · f0c52df5
      Nick Thomas 创作于
      Sidekiq jobs frequently spawn long-lived child processes to do work.
      In some circumstances, these can be reparented to init when sidekiq is
      terminated, leading to duplication of work and strange concurrency
      problems.
      
      This commit changes sidekiq so that, if run as a process group leader,
      it will forward `INT` and `TERM` signals to the whole process group. If
      the memory killer is active, it will also use the process group when
      resorting to `kill -9` to shut down.
      
      These changes mean that a naive `kill <pid-of-sidekiq>` will now do the
      right thing, killing any child processes spawned by sidekiq, as long as
      the process supervisor placed it in its own process group.
      
      If sidekiq isn't a process group leader, this new code is skipped.
      f0c52df5
    • Drew Blessing's avatar
      Allow raw `tls_options` to be passed in LDAP configuration · f6350fac
      Drew Blessing 创作于
      We've previously exposed ca_file and ssl_version but there are many
      possible options that can be used inside tls_options. Instead of
      exposing individual ones, simply expose the entire hash so it can
      be passed in and we won't have to add things in the future.
      f6350fac
  13. 3月 04, 2019
    • Bob Van Landuyt's avatar
      Types::BaseField accepts authorize after reload · 58aaa766
      Bob Van Landuyt 创作于
      When working on files in `app/graphql` the code correctly gets
      autoloaded.
      
      However, the redefined `Types::BaseField` would never receive the
      `.accepts_definition` call, causing all queries after a reload to
      fail. Calling `.accepts_definition` on its superclass makes sure the
      reloaded version also has the `authorize` definition specified.
      58aaa766
  14. 3月 01, 2019
  15. 2月 28, 2019
  16. 2月 27, 2019
  17. 2月 26, 2019
    • Luke Duncalfe's avatar
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe 创作于
      Previously GraphQL field authorization happened like this:
      
          class ProjectType
            field :my_field, MyFieldType do
              authorize :permission
            end
          end
      
      This change allowed us to authorize like this instead:
      
          class ProjectType
            field :my_field, MyFieldType, authorize: :permission
          end
      
      A new initializer registers the `authorize` metadata keyword on GraphQL
      Schema Objects and Fields, and we can collect this data within the
      context of Instrumentation like this:
      
          field.metadata[:authorize]
      
      The previous functionality of authorize is still being used for
      mutations, as the #authorize method here is called at during the code
      that executes during the mutation, rather than when a field resolves.
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/57828
      ccb4edbc
  18. 2月 25, 2019
  19. 2月 22, 2019
加载中