Skip to content
Snippets Groups Projects
  1. Dec 31, 2019
  2. Dec 20, 2019
  3. Nov 19, 2019
  4. Oct 22, 2019
  5. Sep 24, 2019
  6. Sep 18, 2019
  7. Sep 10, 2019
  8. Sep 07, 2019
    • Jan Provaznik's avatar
      Use delete_all for deleting events · f2754e41
      Jan Provaznik authored
      Because we don't have any destroy callbacks (or other logic
      triggered on event destroy), there is no reason for deleting events
      inefficiently one by one, instead we can use :delete_all.
      f2754e41
  9. Aug 28, 2019
  10. Aug 26, 2019
  11. Aug 21, 2019
  12. Aug 05, 2019
  13. Jul 25, 2019
  14. Jul 23, 2019
  15. Jul 15, 2019
  16. Jul 09, 2019
    • Bob Van Landuyt's avatar
      Set the name of a user-namespace to the user name · 5f088300
      Bob Van Landuyt authored
      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
  17. Jul 02, 2019
    • Stan Hu's avatar
      Fix failing spec/models/user_spec.rb · 618fbde2
      Stan Hu authored
      618fbde2
    • Stan Hu's avatar
      Use an uncached application setting for usage ping checks · 7db32c40
      Stan Hu authored
      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
  18. Jun 18, 2019
  19. Jun 13, 2019
  20. Apr 08, 2019
  21. Apr 05, 2019
  22. Apr 01, 2019
  23. Mar 22, 2019
  24. Feb 19, 2019
    • Stan Hu's avatar
      Make Admin::UsersController work with Ruby 2.6 · e87c255d
      Stan Hu authored
      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
  25. Feb 13, 2019
  26. Jan 31, 2019
  27. Jan 21, 2019
  28. Dec 19, 2018
  29. Dec 13, 2018
  30. Dec 06, 2018
    • Jan Provaznik's avatar
      Use FastDestroy for deleting uploads · 239fdc78
      Jan Provaznik authored
      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
    • James Lopez's avatar
      Resolve "Can add an existing group member into a group project with new... · 64c11f10
      James Lopez authored
      Resolve "Can add an existing group member into a group project with new permissions but permissions are not overridden"
      64c11f10
  31. Dec 03, 2018
  32. Nov 26, 2018
  33. Nov 19, 2018
  34. Nov 07, 2018
    • Tiago Botelho's avatar
      User can keep their commit email private · c239452b
      Tiago Botelho authored
      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.
      Unverified
      c239452b
  35. Oct 29, 2018
  36. Oct 23, 2018
Loading