Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional app ID to builds #73

Merged
merged 7 commits into from
Sep 23, 2022
Merged

Commits on Sep 5, 2022

  1. Configuration menu
    Copy the full SHA
    9b73b07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75ef0d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    558f167 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    60596a9 View commit details
    Browse the repository at this point in the history
  5. Allow setting app ID on builds on creation

    You must have the necessary prefix to create a build with an app ID. It
    doesn't do anything yet, but in the future it will be used to control
    access to other APIs.
    jameswestman committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    6cb227e View commit details
    Browse the repository at this point in the history
  6. Check build token app prefixes

    For builds that have an app ID set, check that the presented build token
    has that app prefix. This covers the build management endpoints, but not
    yet build repo downloads or the status page.
    jameswestman committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    78a930d View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Allow builds to be private

    Allow build repos to be set as public or private. If no app ID is set,
    the default is public as before, but if an app ID *is* set, the default
    is private (but in either case can be overridden). flat-manager-client gains
    `--public_download`/`--no_public_download` flags to control this
    behavior.
    
    A private build requires a build token in order to download from it. A new scope
    is added, "download", which allows listing and downloading builds.
    jameswestman committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    5c8daf7 View commit details
    Browse the repository at this point in the history