1. 07 May, 2019 1 commit
  2. 01 May, 2019 3 commits
  3. 30 Apr, 2019 1 commit
  4. 24 Apr, 2019 2 commits
  5. 17 Apr, 2019 2 commits
  6. 12 Apr, 2019 3 commits
  7. 11 Apr, 2019 3 commits
  8. 04 Apr, 2019 8 commits
  9. 03 Apr, 2019 2 commits
  10. 01 Apr, 2019 2 commits
  11. 31 Mar, 2019 1 commit
  12. 28 Mar, 2019 3 commits
  13. 21 Mar, 2019 2 commits
  14. 19 Mar, 2019 1 commit
  15. 18 Mar, 2019 1 commit
  16. 15 Mar, 2019 2 commits
  17. 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
  18. 13 Mar, 2019 2 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