1. 10 7月, 2019 1 次提交
    • B
      Set the name of a user-namespace to the user name · 5f088300
      Bob Van Landuyt 提交于
      Instead of setting the name of the namespace to the user's username,
      set it to the user's name.
      
      This is more consistent with how we name the routes:
      The route-name of a namespace is the human name of the routable. In
      the case of a user-namespace, this is the owner's name.
      
      When we change a user's name (both on create and update), we now also
      update the namespace-name to the user's name. This will make sure that
      if we also correctly update all the nested routes.
      5f088300
  2. 02 7月, 2019 2 次提交
    • S
      Fix failing spec/models/user_spec.rb · 618fbde2
      Stan Hu 提交于
      618fbde2
    • S
      Use an uncached application setting for usage ping checks · 7db32c40
      Stan Hu 提交于
      The introduction of the in-memory cache for application settings had a
      side effect of making it harder to invalidate changes when the settings
      occur. We now bypass the cache because it's possible the admin enabled
      the usage ping, and we don't want to annoy the user again if they
      already set the value.
      
      To avoid causing significant load on the system, we add an extra check
      to ensure the user is an admin. and we don't want to annoy the user
      again if they already set the value. This is a bit of hack, but the
      alternative would be to put in a more complex cache invalidation
      step. Since this call only gets called in the uncommon situation where
      the user is an admin and the only user in the instance, this shouldn't
      cause too much load on the system.
      7db32c40
  3. 19 6月, 2019 1 次提交
  4. 13 6月, 2019 1 次提交
  5. 09 4月, 2019 1 次提交
  6. 05 4月, 2019 1 次提交
  7. 01 4月, 2019 1 次提交
  8. 22 3月, 2019 1 次提交
  9. 20 2月, 2019 1 次提交
    • S
      Make Admin::UsersController work with Ruby 2.6 · e87c255d
      Stan Hu 提交于
      Ruby 2.6 introduced `Enumerable#filter`, which takes no arguments.
      Attempting to call `filter` on an `ActiveRecord::Relation` with a scope
      will fail with a `wrong number of arguments (given 1, expected 0)`
      message because the `Enumerable#filter` implementation overrides the
      delegated `ActiveRecord::Relation#filter` method.
      
      To make Admin::UsersController compatible with Ruby 2.6, rename
      `User.filter` to `User.filter_items`.
      e87c255d
  10. 13 2月, 2019 1 次提交
    • L
      Improve the GitHub and Gitea import feature table interface · 534a6117
      Luke Bennett 提交于
      These are backend changes.
      Use Vue for the import feature UI for "githubish"
      providers (GitHub and Gitea).
      Add "Go to project" button after a successful import.
      Use CI-style status icons and improve spacing of the
      table and its component.
      Adds ETag polling to the github and gitea import
      jobs endpoint.
      534a6117
  11. 31 1月, 2019 1 次提交
  12. 21 1月, 2019 1 次提交
  13. 19 12月, 2018 1 次提交
  14. 13 12月, 2018 1 次提交
    • A
      Add name, author and sha to releases · b782ba11
      Alessio Caiazza 提交于
      This commit adds a name to each release, defaulting it to tag name,
      keeps track of the SHA when a new release is created and tracks the
      current user as release author.
      b782ba11
  15. 07 12月, 2018 1 次提交
    • J
      Use FastDestroy for deleting uploads · 239fdc78
      Jan Provaznik 提交于
      It gathers list of file paths to delete before destroying
      the parent object. Then after the parent_object is destroyed
      these paths are scheduled for deletion asynchronously.
      
      Carrierwave needed associated model for deleting upload file.
      To avoid this requirement, simple Fog/File layer is used directly
      for file deletion, this allows us to use just a simple list of paths.
      239fdc78
  16. 06 12月, 2018 1 次提交
  17. 03 12月, 2018 3 次提交
  18. 26 11月, 2018 1 次提交
  19. 19 11月, 2018 1 次提交
  20. 07 11月, 2018 1 次提交
    • T
      User can keep their commit email private · c239452b
      Tiago Botelho 提交于
      The private commit email is automatically generated in the format:
      id-username@noreply.HOSTNAME
      
      GitLab instance admins are able to change the HOSTNAME portion,
      that defaults to Gitlab's hostname, to whatever they prefer.
      c239452b
  21. 30 10月, 2018 1 次提交
  22. 23 10月, 2018 1 次提交
  23. 18 9月, 2018 1 次提交
  24. 14 9月, 2018 1 次提交
  25. 07 9月, 2018 1 次提交
  26. 06 9月, 2018 1 次提交
    • B
      Port changes for CODEOWNERS to CE · c826ecc3
      Bob Van Landuyt 提交于
      This ports the changes for the CODEOWNERS feature to CE:
      - It adds the CODEOWNERS file.
      - It adds the mention of the `with-codeowners` branch in TestEnv
      c826ecc3
  27. 21 8月, 2018 1 次提交
  28. 20 8月, 2018 1 次提交
    • Y
      Refactor AutocompleteController · 6f3c4901
      Yorick Peterse 提交于
      This refactors the AutocompleteController according to the guidelines
      and boundaries discussed in
      https://gitlab.com/gitlab-org/gitlab-ce/issues/49653. Specifically,
      ActiveRecord logic is moved to different finders, which are then used in
      the controller. View logic in turn is moved to presenters, instead of
      directly using ActiveRecord's "to_json" method.
      
      The finder MoveToProjectFinder is also adjusted according to the
      abstraction guidelines and boundaries, resulting in a much more simple
      finder.
      
      By using finders (and other abstractions) more actively, we can push a
      lot of logic out of the controller. We also remove the need for various
      "before_action" hooks, though this could be achieved without using
      finders as well.
      
      The various finders related to AutcompleteController have also been
      moved into a namespace. This removes the need for calling everything
      "AutocompleteSmurfFinder", instead you can use
      "Autocomplete::SmurfFinder".
      6f3c4901
  29. 30 7月, 2018 1 次提交
  30. 29 7月, 2018 1 次提交
  31. 11 7月, 2018 1 次提交
  32. 09 7月, 2018 1 次提交
  33. 08 7月, 2018 1 次提交
  34. 05 6月, 2018 1 次提交
  35. 31 5月, 2018 3 次提交