1. 26 6月, 2019 2 次提交
  2. 25 6月, 2019 12 次提交
    • M
      Move Vuex action helper spec to Jest · 4e05f894
      Mark Florian 提交于
      This is largely a straight-forward copy of the Karma spec, with the
      usual Karma->Jest necessary changes.
      
      This also fixes a bug in the implementation that was causing the tests
      to fail, when run on Jest/node, whereby actions that return rejected
      promises would always fail the given test. This was due to those
      rejections not being caught in the same call stack in which they were
      created.
      4e05f894
    • G
      Fix broken worktree test · e7b54b9c
      GitalyBot 提交于
      The setup was wrong, and due to Gitaly being a bit more strict it had to
      match up. The test is now accurate and passing again.
      e7b54b9c
    • S
      Prevent EE backport migrations from running if CE is not migrated · 1b063778
      Stan Hu 提交于
      If a user upgraded to any GitLab 11.x EE version but switched
      back to CE, it's possible the state of the EE tables are not
      in the right state for the EE backport migration to work properly.
      In particular, there were three tables that had trouble:
      
      * epics
      * geo_event_log
      * vulnerability_feedback
      
      The EE backport migration would fail while trying to add foreign key
      constraints because a key didn't exist in the table. This happens
      because any EE migration that add or removed columns between v11.0.0 and
      v11.11.3 are not guaranteed to be applied in an CE installation. The EE
      backport schema does not individually backport these migrations.
      
      We now check if certain columns are present to determine whether
      the backport migration is in the proper state. CE users are required
      to upgrade to v11.11.3 EE if they ever installed EE previously before
      they can go back to v12.x CE.
      
      Tested via:
      
      ```
      git checkout -f v11.0.0-ee
      bundle exec rake db:reset
      git checkout .; git checkout -f v11.11.3
      bundle exec rake db:migrate
      git checkout .; git checkout -f v12.0.0
      bundle exec rake db:migrate
      <failure happens>
      ```
      1b063778
    • D
      Keep empty folders in the tree list · 875cba9d
      Denys Mishunov 提交于
      When removing the last file from a folder in WebIDE, do not remove the
      folder from the view. We keep those to give users possibility to
      re-upload files to the same folders.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60860
      875cba9d
    • M
      Allow autocompleting scoped labels · de7abc06
      Martin Hanzel 提交于
      The `:` key will no longer exit out of the autocomplete dialog,
      allowing auto-completion of labels with colons in them.
      de7abc06
    • F
      Require pipeline if "Pipeline must succeed" is set · a26916d1
      Fabio Pitino 提交于
      When a user sets only_allow_merge_if_pipeline_succeeds, also named
      as "Pipeline must succeed" project setting, we require the pipeline
      to be present.
      
      This solves race condition issues especially with external CI
      providers when a build is triggered externally but no pipelines are
      created in GitLab yet.
      
      Document that a head pipeline is expected when using "Pipeline
      must succeed" setting. Also explain limitations with the use of
      only/except where there may not be any jobs created and the merge
      request will not be allowed to be merged.
      a26916d1
    • V
      Use project depended feature flag for pages ssl · 432f2bbc
      Vladimir Shushlin 提交于
      Also add ::Gitlab::LetsEncrypt.enabled? shortcut
      and simplify it a lot
      432f2bbc
    • H
      Rename to time_tracking_limit_to_hours · 275a1758
      Heinrich Lee Yu 提交于
      Changes migration and all other places the attribute is used
      275a1758
    • S
      Change HTTP Status Code when repository disabled · 3457695b
      Sam Battalio 提交于
      3457695b
    • V
      Renew Let's Encrypt certificates · a7764d0e
      Vladimir Shushlin 提交于
      Add index for pages domain ssl auto renewal
      Add PagesDomain.needs_ssl_renewal scope
      Add cron worker for ssl renewal
      Add worker for ssl renewal
      Add pages ssl renewal worker queues settings
      a7764d0e
    • K
      Revert "Merge branch..." · e11feff9
      Kamil Trzciński 提交于
      This reverts merge request !29832
      e11feff9
    • S
      Eliminate N+1 queries in Dashboard::TodosController · 211a0047
      Stan Hu 提交于
      This appears to bring down the number of SQL queries on GitLab.com for
      my Todos page from 672 to 100.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/43042
      211a0047
  3. 24 6月, 2019 12 次提交
  4. 23 6月, 2019 1 次提交
    • S
      Enable Gitaly ref name caching for discussions.json · 30167193
      Stan Hu 提交于
      This eliminates many potential duplicate FindCommit RPCs for the same
      ref, which often occurs in the RelativeLinkFilter#current_commit call.
      On the GitLab 12.0 release post, for example, this would save close to
      400 RPC calls.
      30167193
  5. 22 6月, 2019 5 次提交
  6. 21 6月, 2019 8 次提交