-
Notifications
You must be signed in to change notification settings - Fork 28
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
Environments (#51) #65
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix: misc fixes to schema * feat: update graphql schema and types * chore: update graphql schema export command * fix: add identity key to env model * fix: misc fixes and updates to schema * chore: regenerate frontend schema and types * feat: add frontend queries and mutations * feat: crypto utils for asymmetric encryption * feat: env key utils * feat: add string encrypt and decrypt utils * feat: add secrets page to app layout * fix: env secret format * fix: pss_env format * feat: add secrets serializer * feat: add util to infer env from token * feat: add rest api for secrets * fix: misc cleanup and fixes * feat: pass requests on /secrets to backend * fix: prefix and version ciphertexts * fix: update wrapped value max length * chore: format on save * fix: rename env secret model to env token, add user token model * chore: update types and schema to use environmen token * chore: regenerate types and schema * fix: update queries, mutations and utils for environment tokens * feat: add util to generate user token * feat: add schema, types and resolvers for user tokens * chore: regenerate schema.graphql and types * feat: query and mutation for user tokens * feat: test user tokens * feat: add user token kms api, misc fixes * fix: add app context to env keys in token auth * fix: use salt when hashing keys, encode hashes in hex * fix: secrets api POST * fix: secrets api DELETE * fix: don't return deleted secrets in graphql resolver * fix: secrets api PUT * feat: modified user token response * changed userId to snaky snakes * refactor: frontend graphql setup * feat: create input type for environment mutation * feat: setup all three envs for app * fix: default env names * fix: reset version * fix: dont return keys for deleted apps * feat: user keyring context * fix: check that all secrets to be deleted exist * fix: order of checks * fix: allow querying specific environment * fix: misc fixes for secret mutations * chore: regenerate types and schema * fix: update default input style * feat: add some utils * feat: add queries and mutations * feat: update secrets overvew page, add environment page * fix: encrypting string util * fix: create org operation name * fix: update models and schema for tags * feat: update secrets query for new tags schema * feat: mutation and query to create and fetch tags * fix: misc fixes for tags * feat: allow querying email and username for org members * fix: get secret history users * feat: added encryption key to user token response * feat: add warning button variant * feat: misc ui improvements to keyring unlock dialog * feat: misc ui improvements to secrets screen * fix: use full screen width for secrets * fix: misc improvements to secret row ui * fix: active search query causes secret to appear modified * fix: focus styles * fix: misc fixes for light theme * fix: correctly infer common secret names accross envs * fix: col gap * feat: add danger button variant * feat: use danger button variant for deletes * fix: use danger button variant for inline delete button * fix: delete button light theme * fix: input buttons overlapping text * feat: create new secrets client side only, add polling * fix: keep tags in single line * fix: handle deleting new secrets that aren't deployed yet * feat: secrets breadcrumbs * fix: replace orange shades with amber * feat: decrypt history * feat: show changed properties in history dialog * fix: input bg * fix: input change handler, tag selector ui * fix: remove unused util * feat: service tokens * fix: allow service tokens to fetch secrets * fix: only check user access for user tokens * fix: handle secret events for service tokens * refactor: tokens tab * fix: reset dialog state when closed * fix: history log for service tokens * fix: return 403 for revoked tokens * feat: token expiry * feat: update copy and text color for expired tokens * fix: radiogroup comparison function * test: print timestamps to debug * fix: check for expired tokens in kms views * fix: expiry check for tokens with no expiry * fix: future timestamp math * refactor: use single endpoint for secret tokens * fix: misc ui / ux improvements to tokens screen * fix: calculate token expiry when creating tokens * fix: remove 2min expiry option * feat: add invite model, schema, types and operations * chore: regenerate schema and types * feat: add invites query and mutation * feat: add organisation context * feat: increase free app limit to 5 * feat: add role to invite model * feat: add invite validation query * chore: regenerate schema and types * feat: members page * feat: invite page * fix: misc tweaks to organisation context * fix: redirect to callback url on signin * fix: button titles * feat: add apps, custom delete method to org member model * feat: add create and delete org member mutations * chore: regenerate graphql schema * feat: create and delete org member mutations * fix: input ring style * fix: account for repeated words in list index * fix: remove redundant border * fix: restyle password strength bar * feat: restyle dark mode toggle * feat: new user onboarding flow * feat: add delete handler and ui to members page * fix: org member queries to account for soft deletes * fix: org member queries * feat: improve mode toggle styling * fix: misc styling fixes to account password input * fix: restyle sidebar * fix: add icons to mode toggle in onboarding navbar * feat: allow copying invite link from history, light theme fixes * feat: add success pane * fix: only return apps that a user has access too * fix: icon button color * fix: disable deploy button while save operation is in progress * fix: update role mutation * feat: update org member resolvers, add full name and avatar url * chore: regenerate types * feat: update role mutation * feat: query user full name and avatar * feat: add referrer to head to fix google avatar 403s * feat: allow updating user roles inline, restyle user row * feat: avatar component * feat: show user fullname and avatar in history * feat: user app management * chore: remove commented code * feat: simplified nginx config * feat: only allow admins to update member access * fix: only allow admins to delete users * fix: set identity key for new env keys * fix: hide app member form when all org memebrs are added * fix: only show service tokens to admins * fix: create keys for all admins when creating envs * fix: disable action buttons for org owner * refactor: move invites to members screen * fix: vertical overflow * fix: disable word wrapping for key names * fix: misc tweaks to invites * fix: remove member table bg * fix: conditional logic to show app user action buttons * fix: clean up console.log * feat: grant user access to all envs when given admin role * feat: better colors for alert * feat: disallow changing env scope for admins * feat: misc improvements to alert style * fix: disable save button when user is admin * fix: dialog layout * fix: misc ui improvements * fix: ui fixes to tokens dialog * fix: misc ui fixes and cleanup * feat: user tokens page, misc styling improvements * fix: wire app new app dialog with keyring context * feat: added SMTP config * feat: added login alert email template * feat: dispatch emails on sso based logins * fix: graphql mutation operation name * fix: operation name * fix: veryify invite in useEffect hook * Multi user (#57) * fix: clean up console.log * feat: grant user access to all envs when given admin role * feat: better colors for alert * feat: disallow changing env scope for admins * feat: misc improvements to alert style * fix: disable save button when user is admin * fix: dialog layout * fix: misc ui improvements * fix: ui fixes to tokens dialog * fix: misc ui fixes and cleanup * feat: user tokens page, misc styling improvements * fix: wire app new app dialog with keyring context * fix: graphql mutation operation name * fix: operation name * fix: veryify invite in useEffect hook --------- Co-authored-by: rohan-chaturvedi <[email protected]> * refactor: emails * feat: grab client user agent and ip during login * fix: replace ph-backend with service * fix: typos * chore: removed applications from the license * fix: get encrypted keyring from backend * refactor: use org context to route user post login, correctly check local keyrings * fix: re-arrange providers * fix: validate org route param * feat: add organisation list and loading state to org context * feat: allow users with keyring on backend to login on new device with sudo pass * fix: allow all user roles to invite new members * fix: check local orgs by id and email * fix: misc bugfixes * feat: allow switching orgs * fix: styling fixes to user menu * fix: allow all users to revoke invites * fix: invite dialog max width * feat: encrypted recovery for new users * feat: restyle org selection screen * fix: invite dialog max width * feat: allow skipping recovery step for invited users * refactor: misc fixes, prevent duplicate local keyrings * fix: refactor settings page, allow viewing account recovery * fix: don't render account panel till activeOrg is truthy * fix: move service tokens above user tokens * feat: handle updating wrapped keyring and recovery * fix: validate localkeyring before mutation * fix: replace ad hoc queries with organisation context * fix: invite link * fix: check that apps is truthy before render * feat: increased nginx proxy buffer sizes * fix: not routing to onboard when logging in with no orgs * fix: misc bug fixes and UI for account recovery * fix: rename onboarding page to /signup * fix: misc ui fixes to sidebar * updated: signup and invite link recovery phase copy * fix: user token sorting * fix: user email for fallback when fullName is not available * fix: add app to creator app list * fix: wipe keyring context when switching between orgs * fix: remove user tokens from app tokens tab * feat: init app envs when creating app, correctly catch bad sudo pw exc * feat: add self property to org member type * fix: don't allow changing your own role when admin * fix: don't allow non admins to delete apps * fix: handle null selection in combobox * fix: hide settings tab for devs * fix: allow devs to view and create service tokens * fix: rename tokens in sidebar to user tokens * fix: render env listbox options in row * fix: workspace selection light theme * fix: horizontal attr for listbox * feat: secrets ui improvements (#61) * refactor: secrets overview page * chore: regenerate apollo types * feat: misc updates to secrets ui * fix: remove shadows * fix: bug when creating new secrets * fix: correctly update comment state when clicking out of dialog * fix: misc ui fixes * fix: value field z-index * fix: text area size * fix: only show envs menu when multiple envs are available * fix: add back logic to setup envs for legacy apps * feat: create example secrets by default for new apps * feat: add danger variant to alert * feat: update delete app dialog copy and ui * fix: misc cleanup * fix: only show invalid input ring when group-focused * feat: use secrets overview as app home * feat: show active env in breadcrumbs * fix: set starters switch default on only for first app * fix: upsell copy * feat: log read events with ip and user agent * refactor: app logs * fix: secret log paging * fix: env key query params * fix: only show KMS logs to org owners * fix: remove secret fields from log, link to secret in env * fix: bugs with app tabs * fix: scroll highlighted secret into view * fix: require one of envId or appId to query env keys * fix: link to highlight secret in env from overview page * fix: remove undefined query param * refactor: app card * fix: log when copying a value * fix: rest api secret reads * test: remove timestamp filter and sort from logs * test: print exceptions * test: print for debug * fix: logs null return in cloud hosted mode * fix: logs * feat: invite emails * feat: poll members and invites * fix: hostname * fix: invite link * fix: email invite link * fix: update email template * fix: invite link button style * feat: update starter secrets * fix: don't show reads in secret history * fix: rename user tokens to PATs --------- Co-authored-by: rohan-chaturvedi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix: misc fixes to schema
feat: update graphql schema and types
chore: update graphql schema export command
fix: add identity key to env model
fix: misc fixes and updates to schema
chore: regenerate frontend schema and types
feat: add frontend queries and mutations
feat: crypto utils for asymmetric encryption
feat: env key utils
feat: add string encrypt and decrypt utils
feat: add secrets page to app layout
fix: env secret format
fix: pss_env format
feat: add secrets serializer
feat: add util to infer env from token
feat: add rest api for secrets
fix: misc cleanup and fixes
feat: pass requests on /secrets to backend
fix: prefix and version ciphertexts
fix: update wrapped value max length
chore: format on save
fix: rename env secret model to env token, add user token model
chore: update types and schema to use environmen token
chore: regenerate types and schema
fix: update queries, mutations and utils for environment tokens
feat: add util to generate user token
feat: add schema, types and resolvers for user tokens
chore: regenerate schema.graphql and types
feat: query and mutation for user tokens
feat: test user tokens
feat: add user token kms api, misc fixes
fix: add app context to env keys in token auth
fix: use salt when hashing keys, encode hashes in hex
fix: secrets api POST
fix: secrets api DELETE
fix: don't return deleted secrets in graphql resolver
fix: secrets api PUT
feat: modified user token response
changed userId to snaky snakes
refactor: frontend graphql setup
feat: create input type for environment mutation
feat: setup all three envs for app
fix: default env names
fix: reset version
fix: dont return keys for deleted apps
feat: user keyring context
fix: check that all secrets to be deleted exist
fix: order of checks
fix: allow querying specific environment
fix: misc fixes for secret mutations
chore: regenerate types and schema
fix: update default input style
feat: add some utils
feat: add queries and mutations
feat: update secrets overvew page, add environment page
fix: encrypting string util
fix: create org operation name
fix: update models and schema for tags
feat: update secrets query for new tags schema
feat: mutation and query to create and fetch tags
fix: misc fixes for tags
feat: allow querying email and username for org members
fix: get secret history users
feat: added encryption key to user token response
feat: add warning button variant
feat: misc ui improvements to keyring unlock dialog
feat: misc ui improvements to secrets screen
fix: use full screen width for secrets
fix: misc improvements to secret row ui
fix: active search query causes secret to appear modified
fix: focus styles
fix: misc fixes for light theme
fix: correctly infer common secret names accross envs
fix: col gap
feat: add danger button variant
feat: use danger button variant for deletes
fix: use danger button variant for inline delete button
fix: delete button light theme
fix: input buttons overlapping text
feat: create new secrets client side only, add polling
fix: keep tags in single line
fix: handle deleting new secrets that aren't deployed yet
feat: secrets breadcrumbs
fix: replace orange shades with amber
feat: decrypt history
feat: show changed properties in history dialog
fix: input bg
fix: input change handler, tag selector ui
fix: remove unused util
feat: service tokens
fix: allow service tokens to fetch secrets
fix: only check user access for user tokens
fix: handle secret events for service tokens
refactor: tokens tab
fix: reset dialog state when closed
fix: history log for service tokens
fix: return 403 for revoked tokens
feat: token expiry
feat: update copy and text color for expired tokens
fix: radiogroup comparison function
test: print timestamps to debug
fix: check for expired tokens in kms views
fix: expiry check for tokens with no expiry
fix: future timestamp math
refactor: use single endpoint for secret tokens
fix: misc ui / ux improvements to tokens screen
fix: calculate token expiry when creating tokens
fix: remove 2min expiry option
feat: add invite model, schema, types and operations
chore: regenerate schema and types
feat: add invites query and mutation
feat: add organisation context
feat: increase free app limit to 5
feat: add role to invite model
feat: add invite validation query
chore: regenerate schema and types
feat: members page
feat: invite page
fix: misc tweaks to organisation context
fix: redirect to callback url on signin
fix: button titles
feat: add apps, custom delete method to org member model
feat: add create and delete org member mutations
chore: regenerate graphql schema
feat: create and delete org member mutations
fix: input ring style
fix: account for repeated words in list index
fix: remove redundant border
fix: restyle password strength bar
feat: restyle dark mode toggle
feat: new user onboarding flow
feat: add delete handler and ui to members page
fix: org member queries to account for soft deletes
fix: org member queries
feat: improve mode toggle styling
fix: misc styling fixes to account password input
fix: restyle sidebar
fix: add icons to mode toggle in onboarding navbar
feat: allow copying invite link from history, light theme fixes
feat: add success pane
fix: only return apps that a user has access too
fix: icon button color
fix: disable deploy button while save operation is in progress
fix: update role mutation
feat: update org member resolvers, add full name and avatar url
chore: regenerate types
feat: update role mutation
feat: query user full name and avatar
feat: add referrer to head to fix google avatar 403s
feat: allow updating user roles inline, restyle user row
feat: avatar component
feat: show user fullname and avatar in history
feat: user app management
chore: remove commented code
feat: simplified nginx config
feat: only allow admins to update member access
fix: only allow admins to delete users
fix: set identity key for new env keys
fix: hide app member form when all org memebrs are added
fix: only show service tokens to admins
fix: create keys for all admins when creating envs
fix: disable action buttons for org owner
refactor: move invites to members screen
fix: vertical overflow
fix: disable word wrapping for key names
fix: misc tweaks to invites
fix: remove member table bg
fix: conditional logic to show app user action buttons
fix: clean up console.log
feat: grant user access to all envs when given admin role
feat: better colors for alert
feat: disallow changing env scope for admins
feat: misc improvements to alert style
fix: disable save button when user is admin
fix: dialog layout
fix: misc ui improvements
fix: ui fixes to tokens dialog
fix: misc ui fixes and cleanup
feat: user tokens page, misc styling improvements
fix: wire app new app dialog with keyring context
feat: added SMTP config
feat: added login alert email template
feat: dispatch emails on sso based logins
fix: graphql mutation operation name
fix: operation name
fix: veryify invite in useEffect hook
Multi user (Multi user #57)
fix: clean up console.log
feat: grant user access to all envs when given admin role
feat: better colors for alert
feat: disallow changing env scope for admins
feat: misc improvements to alert style
fix: disable save button when user is admin
fix: dialog layout
fix: misc ui improvements
fix: ui fixes to tokens dialog
fix: misc ui fixes and cleanup
feat: user tokens page, misc styling improvements
fix: wire app new app dialog with keyring context
fix: graphql mutation operation name
fix: operation name
fix: veryify invite in useEffect hook
refactor: emails
feat: grab client user agent and ip during login
fix: replace ph-backend with service
fix: typos
chore: removed applications from the license
fix: get encrypted keyring from backend
refactor: use org context to route user post login, correctly check local keyrings
fix: re-arrange providers
fix: validate org route param
feat: add organisation list and loading state to org context
feat: allow users with keyring on backend to login on new device with sudo pass
fix: allow all user roles to invite new members
fix: check local orgs by id and email
fix: misc bugfixes
feat: allow switching orgs
fix: styling fixes to user menu
fix: allow all users to revoke invites
fix: invite dialog max width
feat: encrypted recovery for new users
feat: restyle org selection screen
fix: invite dialog max width
feat: allow skipping recovery step for invited users
refactor: misc fixes, prevent duplicate local keyrings
fix: refactor settings page, allow viewing account recovery
fix: don't render account panel till activeOrg is truthy
fix: move service tokens above user tokens
feat: handle updating wrapped keyring and recovery
fix: validate localkeyring before mutation
fix: replace ad hoc queries with organisation context
fix: invite link
fix: check that apps is truthy before render
feat: increased nginx proxy buffer sizes
fix: not routing to onboard when logging in with no orgs
fix: misc bug fixes and UI for account recovery
fix: rename onboarding page to /signup
fix: misc ui fixes to sidebar
updated: signup and invite link recovery phase copy
fix: user token sorting
fix: user email for fallback when fullName is not available
fix: add app to creator app list
fix: wipe keyring context when switching between orgs
fix: remove user tokens from app tokens tab
feat: init app envs when creating app, correctly catch bad sudo pw exc
feat: add self property to org member type
fix: don't allow changing your own role when admin
fix: don't allow non admins to delete apps
fix: handle null selection in combobox
fix: hide settings tab for devs
fix: allow devs to view and create service tokens
fix: rename tokens in sidebar to user tokens
fix: render env listbox options in row
fix: workspace selection light theme
fix: horizontal attr for listbox
feat: secrets ui improvements (feat: secrets ui improvements #61)
refactor: secrets overview page
chore: regenerate apollo types
feat: misc updates to secrets ui
fix: remove shadows
fix: bug when creating new secrets
fix: correctly update comment state when clicking out of dialog
fix: misc ui fixes
fix: value field z-index
fix: text area size
fix: only show envs menu when multiple envs are available
fix: add back logic to setup envs for legacy apps
feat: create example secrets by default for new apps
feat: add danger variant to alert
feat: update delete app dialog copy and ui
fix: misc cleanup
fix: only show invalid input ring when group-focused
feat: use secrets overview as app home
feat: show active env in breadcrumbs
fix: set starters switch default on only for first app
fix: upsell copy
feat: log read events with ip and user agent
refactor: app logs
fix: secret log paging
fix: env key query params
fix: only show KMS logs to org owners
fix: remove secret fields from log, link to secret in env
fix: bugs with app tabs
fix: scroll highlighted secret into view
fix: require one of envId or appId to query env keys
fix: link to highlight secret in env from overview page
fix: remove undefined query param
refactor: app card
fix: log when copying a value
fix: rest api secret reads
test: remove timestamp filter and sort from logs
test: print exceptions
test: print for debug
fix: logs null return in cloud hosted mode
fix: logs
feat: invite emails
feat: poll members and invites
fix: hostname
fix: invite link
fix: email invite link
fix: update email template
fix: invite link button style
feat: update starter secrets
fix: don't show reads in secret history
fix: rename user tokens to PATs
Description 📣
Type ✨
Tests 🛠️
# Here's some code block to paste some code snippets