1. 28 3月, 2019 1 次提交
    • N
      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
  2. 27 3月, 2019 2 次提交
    • O
      Prepare suggestion implementation for multi-line · 03e0604d
      Oswaldo Ferreira 提交于
      Adds the groundwork needed in order to persist multi-line suggestions,
      while providing the parsing strategy which will be reused for the
      **Preview** as well.
      03e0604d
    • O
      Add multi-line suggestion migrations · 1db3926d
      Oswaldo Ferreira 提交于
      Adds outdated, lines_above and lines_below columns to
      suggestions table.
      
      outdated - boolean which represents whether the suggestion
      is outdated or not. For instance, if any line changed after
      you left the multi-line suggestion, even though the note
      is not outdated, it helps tracking if the content has changed
      in the latest file. We cache this information in a column given
      it's not a cheap operation to do for every suggestion in the
      request time.
      lines_below, lines_above - persists the parsed arguments from
      `suggestion:-10+3` syntax, where `10` would be lines_above and
      3 lines_below. We need that to dynamically calculate which
      lines we should monitor for outdating / persisting the correct
      content in from_content column.
      1db3926d
  3. 26 3月, 2019 1 次提交
  4. 12 3月, 2019 1 次提交
  5. 08 3月, 2019 1 次提交
  6. 06 3月, 2019 1 次提交
  7. 01 3月, 2019 2 次提交
  8. 28 2月, 2019 3 次提交
    • S
      Add project level config for merge pipelines · 6bbc3801
      Shinya Maeda 提交于
      Add schema
      
      Add CE counter part
      
      Add default value for
      
      Add changelog
      
      Fix schema
      
      Add test
      
      Fix schema
      
      Fix schema version
      
      Remove default value for
      6bbc3801
    • A
      Show header and footer system messages in email · 77985826
      Alexandru Croitor 提交于
      * Add email_header_and_footer_enabled flag to appearances table
      * Set email_header_and_footer_enabled default value to false
      * Add checkbox to appearance to toggle show header and footer in emails
      * Add email_header_and_footer_enabled to allowed params in controller
      * Add header and footer messages to the html and text email layouts
      * Remove the color styling for emails header and footer
      * Add empty_mailer layout for emails without layout,
      to have the header and footer applied
      77985826
    • A
      add trigram database index on tags · 4667b20c
      Alexis Reigel 提交于
      4667b20c
  9. 27 2月, 2019 4 次提交
  10. 26 2月, 2019 1 次提交
  11. 21 2月, 2019 1 次提交
  12. 20 2月, 2019 1 次提交
  13. 09 2月, 2019 1 次提交
  14. 08 2月, 2019 1 次提交
  15. 07 2月, 2019 3 次提交
  16. 05 2月, 2019 2 次提交
  17. 04 2月, 2019 2 次提交
  18. 29 1月, 2019 1 次提交
    • M
      Save sorting preference for Issues/MRs in BE · 49c74068
      Mario de la Ossa 提交于
      In order to let users' sorting preferences transfer between devices, we
      save the preference for issues and MRs (one preference for issues, one
      for MRs) in the backend inside the UserPreference object
      49c74068
  19. 26 1月, 2019 1 次提交
  20. 23 1月, 2019 1 次提交
  21. 17 1月, 2019 1 次提交
    • S
      Cleanup legacy artifact background migration · ee79ee94
      Shinya Maeda 提交于
      Add migration and spec
      
      commit 3cc12e1268a6865f524d8fab1804f018312fdf5a
      Author: Shinya Maeda <shinya@gitlab.com>
      Date:   Tue Jan 8 19:34:31 2019 +0900
      
          Add changelog to this change
      
      commit 5006fc96e38db514956a35f53ae8ee536548a2e9
      Author: Shinya Maeda <shinya@gitlab.com>
      Date:   Tue Jan 8 19:32:56 2019 +0900
      
          Remove partial index from ci_builds artifact_file
      
          ok
      
          Update schema
      
      commit 3c956bdc02b195bc67d0327bf3748a631ea5466d
      Author: Shinya Maeda <shinya@gitlab.com>
      Date:   Mon Jan 7 21:41:27 2019 +0900
      
          Add frozen_string_literal: true
      
      commit 8c827cd616890160e6e8908843403a6f20c03236
      Author: Shinya Maeda <shinya@gitlab.com>
      Date:   Mon Jan 7 21:40:06 2019 +0900
      
          Set batch size 100
      
      commit aeee559777d3bdeadfd2b9bb61d460f2dc1fa8a6
      Author: Shinya Maeda <shinya@gitlab.com>
      Date:   Fri Jan 4 18:33:05 2019 +0900
      
          Cleanup legacy artifact background migration
      ee79ee94
  22. 15 1月, 2019 1 次提交
    • S
      Only send one notification for failed remote mirror · 6fbbd4ab
      Stan Hu 提交于
      Retries in Sidekiq and in the remote mirror scheduler can cause repeated
      attempts in quick succession if the sync fails. Each failure will then
      send an e-mail to all project maintainers, which can spam users
      unnecessarily.
      
      Modify the logic to send one notification the first time the mirror
      fails by setting `error_notification_sent` to `true` and reset the
      flag after a successful sync.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
      6fbbd4ab
  23. 08 1月, 2019 1 次提交
  24. 04 1月, 2019 6 次提交