1. 16 Aug, 2018 1 commit
  2. 06 Aug, 2018 1 commit
  3. 03 Aug, 2018 2 commits
  4. 01 Aug, 2018 1 commit
    • Zeger-Jan van de Weg's avatar
      Add repository languages for projects · fc85a3572af6
      Zeger-Jan van de Weg authored
      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.
      fc85a3572af6
  5. 30 Jul, 2018 1 commit
  6. 26 Jul, 2018 1 commit
  7. 25 Jul, 2018 1 commit
    • Yorick Peterse's avatar
      Remove code for dynamically generating routes · d9212d447768
      Yorick Peterse authored
      This adds a database migration that creates routes for any projects and
      namespaces that don't already have one. We also remove the runtime code
      for dynamically creating routes, as this is no longer necessary.
      d9212d447768
  8. 24 Jul, 2018 1 commit
  9. 23 Jul, 2018 1 commit
  10. 17 Jul, 2018 2 commits
  11. 15 Jul, 2018 1 commit
  12. 14 Jul, 2018 1 commit
  13. 12 Jul, 2018 1 commit
  14. 11 Jul, 2018 3 commits
  15. 06 Jul, 2018 1 commit
  16. 04 Jul, 2018 3 commits
  17. 03 Jul, 2018 1 commit
  18. 02 Jul, 2018 2 commits
  19. 30 Jun, 2018 2 commits
  20. 26 Jun, 2018 1 commit
  21. 25 Jun, 2018 1 commit
  22. 18 Jun, 2018 1 commit
  23. 14 Jun, 2018 1 commit
  24. 11 Jun, 2018 3 commits
    • Bob Van Landuyt's avatar
      Fixes rejected pushes from maintainers · acb2c56a0cd2
      Bob Van Landuyt authored
      Before the push git would make a call to
      `/:namespace/:project/git-receive-pack`. This would perform an access
      check without a ref. So the `Project#branch_allows_maintainer_push?`
      would return false.
      
      This adjusts `Project#branch_allows_maintainer_push?` to return true
      when passing no branch name if there are merge requests open that
      would allow the user to push.
      
      The actual check then happens when a call to
      `/api/v4/internal/allowed` is made from a git hook.
      acb2c56a0cd2
    • Stan Hu's avatar
      Expire Wiki content cache after importing a repository · 17f85c6cfea7
      Stan Hu authored
      The cache state for Wikis that were imported via GitHub or Bitbucket does
      not appear to have been flushed after a successful import.
      
      Closes #47546
      17f85c6cfea7
    • Francisco Javier López's avatar
      1f07bddc29b7
  25. 06 Jun, 2018 1 commit
  26. 04 Jun, 2018 1 commit
  27. 01 Jun, 2018 2 commits
  28. 31 May, 2018 1 commit
  29. 24 May, 2018 1 commit