Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Release v0.30.0 #203

Merged
merged 45 commits into from
Jul 8, 2020
Merged

Release v0.30.0 #203

merged 45 commits into from
Jul 8, 2020

Commits on Jun 9, 2020

  1. Merge pull request #192 from secrethub/release/v0.29.0

    v0.29.0 to develop
    jpcoenen authored Jun 9, 2020
    Configuration menu
    Copy the full SHA
    9277ea9 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. Merge pull request #194 from secrethub/fix/session-refresh

    Session refresh hotfix to develop
    jpcoenen authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    a528477 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. Add oauthorizer package to deal with OAuth2 authorization flow

    This allows you to set up a local listener that deals with the OAuth2 authorization callback.
    jpcoenen committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    df0d165 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a1f74d View commit details
    Browse the repository at this point in the history
  3. Add functions to extract project ID from a GCP SA email

    This will be used to verify the existence of a link between the GCP project and the namespace.
    jpcoenen committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    0f9a674 View commit details
    Browse the repository at this point in the history
  4. Update test for new GCP SA functions

    Behaviour of ValidateGCPServiceAccountEmail was changed to only accept user-managed service accounts and  ProjectIDFromGCPEmail did not yet have a test.
    jpcoenen committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    14e18ae View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Clarify invalid namespace error message

    Previous message was incomplete and could be confusing.
    jpcoenen committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    8ff147b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #196 from secrethub/feature/namespace-validation-err

    Clarify invalid namespace error message
    SimonBarendse authored Jun 24, 2020
    Configuration menu
    Copy the full SHA
    496b5da View commit details
    Browse the repository at this point in the history
  3. Refactor RequiredLinkedID to RequiredIDPLink

    By also return the required link type, the function can be more generally used to check the required preconditions.
    jpcoenen committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    bf459e5 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. Configuration menu
    Copy the full SHA
    77b44b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc8cf8a View commit details
    Browse the repository at this point in the history
  3. Fix typo

    jpcoenen committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    74355d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f305ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83c15e8 View commit details
    Browse the repository at this point in the history
  6. Make sure WaitForAuthorizationCode() always returns

    No longer mixing different channels, which made it very unclear what happened. By buffering the channels and doing best-effort sending to these channels, we prevent goroutines infinitely hanging on sending on a channel. It is possible that a channel ends up with an unread message after WaitForAuthorizationCode has returned, but that will be cleaned up by the GC.
    jpcoenen committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    93f560c View commit details
    Browse the repository at this point in the history
  7. Fix typo

    jpcoenen committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    c6ae5c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    f7c68f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. Redirect user to customizable page after authorization

    The somewhat complex system of having a callback function is needed to be able to pass any server errors while creating the link to the user in the redirect.
    jpcoenen committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    ae4c5a5 View commit details
    Browse the repository at this point in the history
  2. Move oauthorizer to internals

    It's not yet ready for public use.
    jpcoenen committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    09e2017 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9adfc0e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Configuration menu
    Copy the full SHA
    16a22d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2020

  1. Configuration menu
    Copy the full SHA
    d465926 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba04add View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ba7647 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a36573 View commit details
    Browse the repository at this point in the history
  5. Run linter in Docker

    This makes it possible to have different linter versions locally
    and makes sure "make lint" always runs with the version specified
    in the Makefile.
    SimonBarendse committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    d33c79f View commit details
    Browse the repository at this point in the history
  6. Run linter with the current user

    By running the linter as the current user instead of the root user,
    the files created (in the cache and module storage) are also owned
    by the user, so that they can still be used when running go as the
    current user.
    SimonBarendse committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    7649d68 View commit details
    Browse the repository at this point in the history
  7. Rename RedirectURL to ResultURL

    This to avoid confusion with the RedirectURL used in the OAuth spec.
    jpcoenen committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    2f54d22 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2020

  1. Configuration menu
    Copy the full SHA
    9f5d3de View commit details
    Browse the repository at this point in the history
  2. Remove GCP beta notices

    jpcoenen committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    ac3f9ef View commit details
    Browse the repository at this point in the history
  3. Fix typo

    jpcoenen committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    975b892 View commit details
    Browse the repository at this point in the history
  4. Remove non-functioning example and clarify on-GCP requirement

    The example did not work because an API key cannot be used for the used API calls.
    jpcoenen committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    d2966b1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #198 from secrethub/feature/remove-gcp-beta

    Remove GCP BETA notice and some minor comment changes
    SimonBarendse authored Jul 3, 2020
    Configuration menu
    Copy the full SHA
    c407db9 View commit details
    Browse the repository at this point in the history
  6. Also redirect errors in getting token to the custom result page

    Otherwise cancelling the OAuth process results in a lame text-only page.
    jpcoenen committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    b0214dd View commit details
    Browse the repository at this point in the history
  7. Merge pull request #199 from secrethub/feature/gcp-redirect-all-errors

    Also redirect errors in getting token to the custom result page
    SimonBarendse authored Jul 3, 2020
    Configuration menu
    Copy the full SHA
    411544a View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2020

  1. Configuration menu
    Copy the full SHA
    69d94e3 View commit details
    Browse the repository at this point in the history
  2. Explicitly mention GCP instead of just Google

    Co-authored-by: Joris Coenen <jpcoenen@users.noreply.github.com>
    florisvdg and jpcoenen authored Jul 6, 2020
    Configuration menu
    Copy the full SHA
    9955b8f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #200 from secrethub/feature/server-side-taken-serv…

    …ice-error
    
    Add server errors for taken service accounts
    florisvdg authored Jul 6, 2020
    Configuration menu
    Copy the full SHA
    18bbbcf View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Add a message to GCP errors without a message

    We should aim not to return these errors to the user, but when
    they do occur, a little bit extra context is very welcome for
    these already vague errors.
    
    To prevent these errors to be returned to the user, input should
    be validated before sending it to GCP.
    SimonBarendse committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    c83e021 View commit details
    Browse the repository at this point in the history
  2. Add more context to GCP error messages

    Co-authored-by: Floris van der Grinten <floris@grinten.com>
    SimonBarendse and florisvdg authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    a836d8a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #201 from secrethub/feature/gcp-error-messages

    Add a message to GCP errors without a message
    florisvdg authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    08657e1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #197 from secrethub/feature/lint-in-docker

    Run linter in Docker
    SimonBarendse authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    c91e33e View commit details
    Browse the repository at this point in the history
  5. Rename ValidateGCPServiceAccountEmail to ValidateGCPUserManagedServic…

    …eAccountEmail
    
    This better reflects what the function does.
    jpcoenen committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    5e56021 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #202 from secrethub/feature/clarify-user-managed

    Rename ValidateGCPServiceAccountEmail to ValidateGCPUserManagedServic…
    SimonBarendse authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    9000de5 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Configuration menu
    Copy the full SHA
    656e71c View commit details
    Browse the repository at this point in the history