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

Deploy to prod #1812

Merged
merged 17 commits into from
Apr 26, 2022
Merged

Deploy to prod #1812

merged 17 commits into from
Apr 26, 2022

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    0cc7d14 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1805 from WPO-Foundation/admin-switch

    feat(settings): add admin switch for debugging boxes
    tkadlec authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    3a921fd View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

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

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    3e5fec3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1810 from WPO-Foundation/view-sqlite-admin

    fix(viewsqlite): only admins
    tkadlec authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    6710785 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7d4ad9 View commit details
    Browse the repository at this point in the history
  4. feat(login): login with openid auth code flow

    This changes handling our authentication via Catchpoint's OpenID-based
    service.
    
    - Introduces the library RandomLib (and its deps) for random string
    generation for nonces and code verifiers
    - Starts obscuring our cookie names via a hash and secret key. It's a
      bit of security through obscurity and it's not 100% great, but it's an
      additional line
    - Moves GetServerSecret's implementation to Util so I can use it within
      a Util setting
    - Creates an OAuth class tucked into the WebPageTest\Util namespace.
      This will likely change.
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    1bca09c View commit details
    Browse the repository at this point in the history
  5. fix(auth): pass authentication status along

    setting a cookie in one file does not mean it will be accessible with
    $_COOKIE in the same request. Let's add some state management within the
    client itself.
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    038007a View commit details
    Browse the repository at this point in the history
  6. fix(logout): update to reflect new login

    We switched the way we do login to work with the Catchpoint OAuth. This
    also involved obscuring some cookie names.
    
    I also cleaned up some of this code
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    9efd7a2 View commit details
    Browse the repository at this point in the history
  7. fix(auth): cookie-based redirect bug

    When a user's token has been revoked/is bad, but we still have it, we
    get into a state of endless redirects
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    43b5804 View commit details
    Browse the repository at this point in the history
  8. fix(logout): only pass a real token to revoke

    What if the cookie is not set, but somebody POSTs to logout anyway? Just
    go ahead and don't bother calling it.
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    eedafe4 View commit details
    Browse the repository at this point in the history
  9. fix(auth): handle unauthorized tokens

    What if the token is bad, but we want the user to have a nicer
    experience? Let's not just log them out, let's retry!
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    8490dd6 View commit details
    Browse the repository at this point in the history
  10. chore(linting): plus renaming

    Following conventions of PSR-12 for some existing things
    
    Also rewrite some tests to make sure they pass with the changing in
    functionality
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a58fef4 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #1808 from WPO-Foundation/new-login

    feat(login): login with openid auth code flow
    jefflembeck authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f2d774f View commit details
    Browse the repository at this point in the history
  12. Merge pull request #1809 from pmeenan/extensions-cache

    Allow for the extensions cache time to be configured in settings
    jefflembeck authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    6ea90d7 View commit details
    Browse the repository at this point in the history
  13. fix(admin): this needs to use the global admin

    This is a fix, for now
    jefflembeck committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    aa8d124 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #1811 from WPO-Foundation/viewsqlite

    fix(admin): this needs to use the global admin
    jefflembeck authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    17eca01 View commit details
    Browse the repository at this point in the history