1. 03 Oct, 2019 2 commits
  2. 01 Oct, 2019 2 commits
  3. 30 Sep, 2019 1 commit
  4. 29 Sep, 2019 1 commit
  5. 26 Sep, 2019 3 commits
  6. 24 Sep, 2019 2 commits
  7. 20 Sep, 2019 4 commits
  8. 04 Sep, 2019 4 commits
  9. 02 Sep, 2019 2 commits
  10. 01 Sep, 2019 1 commit
  11. 30 Aug, 2019 2 commits
  12. 29 Aug, 2019 1 commit
    • Patrick Bajao's avatar
      Repurpose bin/authorized_keys script · 4cee52bd
      Patrick Bajao authored
      It's been replaced by `gitlab-shell-authorized-keys-check` and
      it's also calling the `/authorized_keys` endpoint via Ruby.
      
      Since they have the same functionality as the new binary, better
      to call that instead to make it SSOT for authorized keys requests.
      4cee52bd
  13. 20 Aug, 2019 4 commits
  14. 19 Aug, 2019 3 commits
  15. 15 Aug, 2019 2 commits
    • Nick Thomas's avatar
      Merge branch '206-quick-fix' into 'master' · 81f58545
      Nick Thomas authored
      Replace symlinks with actual binaries
      
      Closes #206
      
      See merge request gitlab-org/gitlab-shell!324
      81f58545
    • Patrick Bajao's avatar
      Replace symlinks with actual binaries · 41f919eb
      Patrick Bajao authored
      We had `gitlab-shell-authorized-keys-check` and
      `gitlab-shell-authorized-principals-check` as symlinks to
      `gitlab-shell` before.
      
      We determine the `Command` and `CommandArgs` that we build based
      on the `Name` of the `Executable`. We also use that to know which
      fallback ruby executable should we fallback to. We use
      `os.Executable()` to do that.
      
      `os.Executable()` behaves differently depending on OS. It may
      return the symlink or the target's name. That can result to a
      buggy behavior.
      
      The fix is to create binaries for each instead of using a symlink.
      That way we don't need to rely on `os.Executable()` to get the name.
      We pass the `Name` of the executable instead.
      41f919eb
  16. 14 Aug, 2019 1 commit
  17. 09 Aug, 2019 2 commits
  18. 08 Aug, 2019 1 commit
  19. 05 Aug, 2019 1 commit
  20. 02 Aug, 2019 1 commit
    • Patrick Bajao's avatar
      Add Executable struct · 3b6f9f75
      Patrick Bajao authored
      This struct is responsible for determining the name and
      root dir of the executable.
      
      The `RootDir` property will be used to find the config.
      
      The `Name` property will be used to determine what `Command`
      and `CommandArgs` to be built.
      3b6f9f75