1. 08 9月, 2018 1 次提交
    • S
      Delete a container registry asynchronously · 5830d114
      Stan Hu 提交于
      When a container registry has many tags, it's easy for the DELETE call to take more
      than 60 seconds and fail. This can also leave the registry in a bad state with
      null bytes since some of the images have been deleted with tags still pointing to them.
      In addition, we have to prevent users from accidentally initiating the delete multiple
      times or this could leave the registry with orphaned tags.
      
      This commit also adds a flash message to notify the user the registry is scheduled
      for deletion.
      
      Closes #49926, #51063
      5830d114
  2. 07 9月, 2018 1 次提交
  3. 29 8月, 2018 1 次提交
  4. 28 8月, 2018 1 次提交
  5. 16 8月, 2018 2 次提交
  6. 13 8月, 2018 1 次提交
  7. 06 8月, 2018 2 次提交
    • Y
      Respond to DB health in background migrations · 91b752dc
      Yorick Peterse 提交于
      This changes the BackgroundMigration worker so it checks for the health
      of the DB before performing a background migration. This in turn allows
      us to reduce the minimum interval, without having to worry about blowing
      things up if we schedule too many migrations.
      
      In this setup, the BackgroundMigration worker will reschedule jobs as
      long as the database is considered to be in an unhealthy state. Once the
      database has recovered, the migration can be performed.
      
      To determine if the database is in a healthy state, we look at the
      replication lag of any replication slots defined on the primary. If the
      lag is deemed to great (100 MB by default) for too many slots, the
      migration is rescheduled for a later point in time.
      
      The health checking code is hidden behind a feature flag, allowing us to
      disable it if necessary.
      91b752dc
    • J
      Add changes from the EE · 6dc74907
      Jarka Kadlecová 提交于
      6dc74907
  8. 03 8月, 2018 2 次提交
  9. 02 8月, 2018 2 次提交
    • J
      Remove group todos when a users looses access · 4d4b8f8b
      Jarka Kadlecová 提交于
      4d4b8f8b
    • Z
      Add repository languages for projects · 79a5d768
      Zeger-Jan van de Weg 提交于
      Our friends at GitHub show the programming languages for a long time,
      and inspired by that this commit means to create about the same
      functionality.
      
      Language detection is done through Linguist, as before, where the
      difference is that we cache the result in the database. Also, Gitaly can
      incrementaly scan a repository. This is done through a shell out, which
      creates overhead of about 3s each run. For now this won't be improved.
      
      Scans are triggered by pushed to the default branch, usually `master`.
      However, one exception to this rule the charts page. If we're requesting
      this expensive data anyway, we just cache it in the database.
      
      Edge cases where there is no repository, or its empty are caught in the
      Repository model. This makes use of Redis caching, which is probably
      already loaded.
      
      The added model is called RepositoryLanguage, which will make it harder
      if/when GitLab supports multiple repositories per project. However, for
      now I think this shouldn't be a concern. Also, Language could be
      confused with the i18n languages and felt like the current name was
      suiteable too.
      
      Design of the Project#Show page is done with help from @dimitrieh. This
      change is not visible to the end user unless detections are done.
      79a5d768
  10. 31 7月, 2018 2 次提交
  11. 30 7月, 2018 1 次提交
  12. 23 7月, 2018 1 次提交
  13. 22 7月, 2018 1 次提交
  14. 21 7月, 2018 1 次提交
  15. 19 7月, 2018 1 次提交
    • G
      Improve email address parsing · 32401535
      George Thomas 提交于
      If you enter the following RFC 2822 compliant address:
      `John Doe <john@doe.com>`
      
      Gitlab will attempt to send three emails:
      1) John
      2) Doe
      3) john@doe.com
      
      With this change given the following:
      `John Doe <johndoe@example.com>`
      `Jane Doe <janedoe@example.com>`
      
      Gitlab will send emails to `johndoe@example.com` and `janedoe@example.com`
      32401535
  16. 18 7月, 2018 1 次提交
  17. 11 7月, 2018 2 次提交
  18. 09 7月, 2018 2 次提交
  19. 07 7月, 2018 1 次提交
  20. 06 7月, 2018 2 次提交
  21. 05 7月, 2018 4 次提交
  22. 04 7月, 2018 1 次提交
  23. 02 7月, 2018 1 次提交
  24. 30 6月, 2018 1 次提交
  25. 28 6月, 2018 5 次提交