1. 18 Mar, 2019 1 commit
  2. 15 Mar, 2019 2 commits
  3. 14 Mar, 2019 1 commit
    • Bob Van Landuyt's avatar
      Detect user based on key, username or id · 53511f36
      Bob Van Landuyt authored
      This allows gitlab-shell to be called with an argument of the format
      `key-123` or `username-name`.
      
      When called in this way, `gitlab-shell` will call the GitLab internal
      API. If the API responds with user information, it will print a
      welcome message including the username.
      
      If the API responds with a successful but empty response, gitlab-shell
      will print a welcome message for an anonymous user.
      
      If the API response includes an error message in JSON, this message
      will be printed to stderr.
      
      If the API call fails, an error message including the status code will
      be printed to stderr.
      53511f36
  4. 13 Mar, 2019 3 commits
    • Nick Thomas's avatar
      Merge branch 'bvl-parse-secret' into 'master' · 049beb74
      Nick Thomas authored
      Get secret from config
      
      See merge request gitlab-org/gitlab-shell!284
      049beb74
    • Bob Van Landuyt's avatar
      Get secret from config · f9d3d8b3
      Bob Van Landuyt authored
      This adds parsing if the `secret_file` from YAML. And reads the
      contents of the configured file.
      
      If no file is configured, we fall back to the `.gitlab_shell_secret`
      in the root dir of the configuration.
      
      If the configured path does not start with a `/` we start looking for
      the file relative to the root dir of the configuration.
      f9d3d8b3
    • Bob Van Landuyt's avatar
      Vendor otiai10/copy · 2a51ab39
      Bob Van Landuyt authored
      2a51ab39
  5. 06 Mar, 2019 6 commits
  6. 04 Mar, 2019 1 commit
  7. 01 Mar, 2019 1 commit
  8. 28 Feb, 2019 2 commits
  9. 26 Feb, 2019 1 commit
  10. 25 Feb, 2019 1 commit
  11. 19 Feb, 2019 2 commits
  12. 18 Feb, 2019 1 commit
  13. 16 Feb, 2019 1 commit
    • Stan Hu's avatar
      Add support for using gl_project_path · ebedab83
      Stan Hu authored
      This will enable us to track the human-readable project path with SSH
      access in gitlab-shell. Currently the Gitaly logs will only show the
      hashed storage and gl_repository path (e.g. project-1234).
      ebedab83
  14. 14 Feb, 2019 3 commits
  15. 13 Feb, 2019 1 commit
  16. 15 Jan, 2019 3 commits
    • Nick Thomas's avatar
      Merge branch 'bvl-feature-flag-commands' into 'master' · 1fcb56f4
      Nick Thomas authored
      Parse commands to enable feature flags
      
      See merge request gitlab-org/gitlab-shell!270
      1fcb56f4
    • Bob Van Landuyt's avatar
      Don't fall back to ruby for non SSH connections · d762f4ec
      Bob Van Landuyt authored
      When SSH_CONNECTION is not set, we don't fall back to ruby, but
      instead fail directly in go writing the error to stderr.
      d762f4ec
    • Bob Van Landuyt's avatar
      Allow enabling gitlab-shell "discover"-feature · 7215126b
      Bob Van Landuyt authored
      This adds the possibility to enable features for GitLab shell.
      
      The first feature being recognized is "Discover": It's the command
      that is executed when running `ssh git@gitlab.example.com` and is
      called without a command.
      
      The gitlab key id or username is already parsed from the command line
      arguments.
      
      Currently we only support communicating with GitLab-rails using unix
      sockets. So features will not be enabled if the GitLab-url is using a
      different protocol. The url for this read from the config yaml.
      
      Pending ruby-specs have been added for the gitlab-shell command.
      
      Refactor to have separate command packages
      7215126b
  17. 14 Jan, 2019 1 commit
  18. 09 Jan, 2019 2 commits
  19. 07 Jan, 2019 1 commit
  20. 04 Jan, 2019 2 commits
  21. 21 Dec, 2018 2 commits
  22. 20 Dec, 2018 2 commits