Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
  2. Feb 15, 2018
  3. Feb 12, 2018
  4. Feb 02, 2018
  5. Feb 01, 2018
  6. Dec 05, 2017
  7. Nov 16, 2017
    • Yorick Peterse's avatar
      Cache the number of user SSH keys · 3e561736
      Yorick Peterse authored
      By caching the number of personal SSH keys we reduce the number of
      queries necessary on pages such as ProjectsController#show (which can
      end up querying this data multiple times).
      
      The cache is refreshed/flushed whenever an SSH key is added, removed, or
      when a user is removed.
      Verified
      3e561736
  8. Oct 03, 2017
  9. Sep 20, 2017
    • Yorick Peterse's avatar
      Stop using Sidekiq for updating Key#last_used_at · b3566a01
      Yorick Peterse authored
      This makes things simpler as no scheduling is involved. Further we
      remove the need for running a SELECT + UPDATE just to get the key and
      update it, whereas we only need an UPDATE when setting last_used_at
      directly in a request.
      
      The added service class takes care of updating Key#last_used_at without
      using Sidekiq. Further it makes sure we only try to obtain a Redis lease
      if we're confident that we actually need to do so, instead of always
      obtaining it. We also make sure to _only_ update last_used_at instead of
      also updating updated_at.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
      Verified
      b3566a01
  10. Sep 15, 2017
  11. Aug 30, 2017
    • Nick Thomas's avatar
      Address review comments · b84ca08e
      Nick Thomas authored
      b84ca08e
    • Nick Thomas's avatar
      Rework the permissions model for SSH key restrictions · 68470602
      Nick Thomas authored
      `allowed_key_types` is removed and the `minimum_<type>_bits` fields are
      renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies
      that the key type is disabled.
      
      This also feeds through to the UI - checkboxes per key type are out, inline
      selection of "forbidden" and "allowed" (i.e., no restrictions) are in.
      
      As with the previous model, unknown key types are disallowed, even if the
      underlying ssh daemon happens to support them. The defaults have also been
      changed from the lowest known bit size to "no restriction". So if someone
      does happen to have a 768-bit RSA key, it will continue to work on upgrade, at
      least until the administrator restricts them.
      68470602
    • Nick Thomas's avatar
      Add settings for minimum key strength and allowed key type · b0f982fb
      Nick Thomas authored
      This is an amalgamation of:
      
      * Cory Hinshaw: Initial implementation !5552
      * Rémy Coutable: Updates !9350
      * Nick Thomas: Resolve conflicts and add ED25519 support !13712
      b0f982fb
  12. Aug 03, 2017
  13. Jun 02, 2017
  14. May 10, 2017
  15. Jan 20, 2017
  16. Jan 08, 2017
    • Vincent Wong's avatar
      Record and show last used date of SSH Keys · b6df93a5
      Vincent Wong authored
      Addresses: Issue #13810
      
      1. Adds a last_used_at attribute to the Key table/model
      2. Update a key's last_used_at whenever it gets used
      3. Display how long ago an ssh key was last used
      b6df93a5
  17. Dec 06, 2016
  18. Nov 17, 2016
  19. Nov 15, 2016
  20. Aug 02, 2016
  21. Jun 20, 2016
  22. Jun 03, 2016
  23. May 31, 2016
  24. May 09, 2016
  25. May 06, 2016
  26. Mar 15, 2016
  27. Aug 04, 2015
  28. Jul 11, 2015
  29. May 03, 2015
  30. Apr 14, 2015
  31. Mar 24, 2015
  32. Mar 23, 2015
  33. Feb 05, 2015
  34. Jan 18, 2015
    • Steven Burgart's avatar
      Fix various typos · 5c801602
      Steven Burgart authored
      signe-in -> signed-in
      go_to_gihub_for_permissions -> go_to_github_for_permissions
      descendand -> descendant
      behavour -> behaviour
      recepient_email -> recipient_email
      generate_fingerpint -> generate_fingerprint
      dependes -> depends
      Cant't -> Can't
      wisit -> visit
      notifcation -> notification
      sufficent_scope -> sufficient_scope?
      levet -> level
      5c801602
  35. Dec 28, 2014
  36. Sep 02, 2014
Loading