Zai Shi
fc9826aaa2
added create user button ( #173 )
2024-08-10 09:45:48 -07:00
Stan Wohlwend
5072f14891
OAuth token tests
2024-08-10 09:45:47 -07:00
Stan Wohlwend
29c488863f
Hide unsupported properties from docs
2024-08-10 09:45:47 -07:00
Stan Wohlwend
df7073c199
Remove unnecessary console.warn
2024-08-10 09:45:47 -07:00
Zai Shi
4bbead0ef9
Team invitation ( #171 )
...
* team invitation wip
* implemented handler
* team invitation callback wip
* added team invitation frontend
* fixed listCurrentUserTeamPermissions
* added team invitation email template
* fixed bugs
* fixed verification code handler
* added more checks to team invitation verification
* fixed team invitation page
* restructured verification code handler
* fixed frontend
* fixed team invitation tests
* added more team invitation test
* fixed bug
* added migration file
* removed unused code
2024-08-10 09:45:47 -07:00
Konsti Wohlwend
dfb51b8346
Auth methods and connected accounts ( #164 )
2024-08-04 11:39:26 -07:00
Zai Shi
0c31d6a9ff
fixed list current user team permission bug and permission editing bug
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-03 15:46:37 -07:00
Stan Wohlwend
e51d839a42
Retry OAuth endpoints
2024-08-03 13:13:23 -07:00
Zai Shi
fb31827dc3
Webhooks ( #157 )
...
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
* added svix to docker compose
* connect webhook sending with local svix
* added svix token endpoint
* added svix dashbaord
* added endpoint table
* updated danger items
* added more info on the webhook page
* added create endpoints dialog
* added edit and delete endpoint
* added log history
* added webhook secret
* updated sidebar layout
* fixed flashes
* updated webhook sending function
* removed unused imports
* updated endpoint code structure
* commented event types
* added webhooks docs
* added webhooks doc gen
* updated webhooks docs
* added webhook events
* updated teams docs
* fixed bugs
* fixed docker
2024-08-01 02:44:35 +02:00
Zai Shi
52e37a18ba
Server-side connected account ( #159 )
...
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
* added new connected account endpoint
* added server useTeams
* fixed bugs
* updated example
* fixed teams fetch bugs
* hide deprecated route
2024-07-30 06:45:15 +02:00
Stan Wohlwend
f21e17114a
Fix password reset
2024-07-28 06:09:56 -07:00
Stan Wohlwend
3bebd3f4d1
Better RetryErrors
2024-07-27 13:24:42 -07:00
Zai Shi
3bfff5215f
Facebook business config id ( #155 )
...
* Support moduleResolution: "node"
* Remove deprecated TeamSwitcher, use SelectedTeamSwitcher instead
* Rename CredentialSignInForm -> CredentialSignIn in code
* Improve KnownError messages
* Fix connected accounts (#148 )
* fixed endpoint
* fixed account linking
* fixed get access token
* fixed import bug
* Client team API (#149 )
* added transactions
* added client team update and delete
* added client side remove member
* allow user remove them selves from team
* fixed bug, fixed tests
* added client update test, fixed bugs
* added tests for team delete
* added more tests, fixed bugs
* fixed server example docs
* fixed broken doc link
* Impersonation
* do not create endpoint automatically
* removed unused property
* Team user profile API (#150 )
* added team member endpoints
* fixed circular dependency bug, added team member profiles tests
* added more tests
* added migration file
* Improved error messages
* Redirect user to correct page after sign-in (#151 )
* Metadata fields should be set to null when left empty (#145 )
* fixed send verification email
* added comments in prisma file
* improved types (#152 )
* added better messages for domains
* Added sentry headers to the allow list
* Optional shared keys (#153 )
* removed standard providers and shared providers
* added more types
* updated all providers imports
* fixed circular dependency
* updated dashboard for different shared keys
* fixed old dashboard
* added migration file
* added better oauth error message
* added facebookConfigId
* fixed types
* fixed for facebook config to be string bu
---------
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
2024-07-27 01:34:50 +02:00
Zai Shi
8d65f9b47b
Optional shared keys ( #153 )
...
* removed standard providers and shared providers
* added more types
* updated all providers imports
* fixed circular dependency
* updated dashboard for different shared keys
* fixed old dashboard
* added migration file
2024-07-26 16:07:00 -07:00
Zai Shi
71a7fcd6de
fixed send verification email
2024-07-26 16:06:59 -07:00
Zai Shi
15b96049ae
Team user profile API ( #150 )
...
* added team member endpoints
* fixed circular dependency bug, added team member profiles tests
* added more tests
* added migration file
2024-07-26 16:06:59 -07:00
Stan Wohlwend
8cd0b1609f
Impersonation
2024-07-26 16:06:59 -07:00
Zai Shi
6beed942e9
Client team API ( #149 )
...
* added transactions
* added client team update and delete
* added client side remove member
* allow user remove them selves from team
* fixed bug, fixed tests
* added client update test, fixed bugs
* added tests for team delete
* added more tests, fixed bugs
2024-07-26 16:06:58 -07:00
Zai Shi
547a29219e
Fix connected accounts ( #148 )
...
* fixed endpoint
* fixed account linking
* fixed get access token
* fixed import bug
2024-07-26 16:06:58 -07:00
Zai Shi
4ec03d0515
Improved documentation, fixed bugs ( #147 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-24 11:38:26 -07:00
Stan Wohlwend
af1563653a
Better params schema validation
2024-07-21 09:53:05 -07:00
Zai Shi
d391e332e6
added enabled oauth providers
2024-07-20 12:58:42 -07:00
Zai Shi
54027d58a2
New client ( #135 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-19 22:07:44 -07:00
Zai Shi
2b26e3cb44
Improve API docs ( #133 )
...
* added projects and admin docs
* added docs to team permissions
* renamed url params to snake case
* added team permission definitions to docs
* added more docs
* added more docs
* added more docs to the api
2024-07-15 18:04:52 +02:00
Zai Shi
039cce7a58
Fix backend endpoints ( #132 )
...
* More backend endpoint implementations
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
* Stuff
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
* fixed env docs and crud imports
* Fix type error
* fixed crud handler dependency issue with proxies
* fixed wrong test
* fixed is_paginated, added list project tests
* Error when request queries or body properties are unused
* Fix semicolon
* added create project tests
* Fix some type errors
* Fix lint config
* fixed project no auth bug
* Fix lint errors
* Make no-restricted-syntax an error
* fixed project create no owner bug
* fixed project domain config update
* added more tests
* Sign up tests
* fixed email config update, added more tests
* added more tests, strip uuid in tests
* added oauth config update, added more tests
* E-mail verification tests
* Strip fewer fields
* added updateProject function for testing
* fixed project creation error, added more tests
* Begin OAuth authorize tests
* added get current project info
* added test for project
* removed description from current-project
* added basic teams endpoint
* improved openapi docs, added object types
* improved docs, fixed docs bug
* added email template endpoint
* crudHandlers.xyzList
* imp
* Default values for Prisma handlers
* CRUD queries
* Fix PEitherWrite
* Queries
* added api keys endpoints
* Authorize tests
* Password sign-in endpoint
* Sessions endpoints
* added more tests for api keys
* Update password endpoint
* Hide x-stack-request-id header
* fixed api key endpoints, added more tests
* updated test messages
* Password reset
* implemented team crud
* check-feature-support endpoint
* added teams tests, updated project endpoint folder structure
* added more tests for team
* added team membership handler
* Fix errors
* Type fixes
* Update comment
* strings comment
* Fix users page
* added more tests to team membership
* Rename team-memberships test file
* removed test code
* added user filter
* added permission grant
* added team permission definitions
* added permission definition tests
* added more tests
* fixed permission definition
* Improve types
* More type fixes
* Fix more type errors
* Fix lint errors
* Fix build error
* updated permission code structure
* fixed types
* added recursive permission
* Always log E2E test GH Actions logs
* Internal server error messages are shown in test environments
* Print Docker Compose logs
* fix
* fix more
* Improve
* fixes
* fixes
* fix stuff
* Wait on more stuff
* more fixes gh actions
* Fix pnpm start:xyz
* pin v
* node env test
* log order
* test envvars
* test
* added default permissions
* Credential sign up form now loads correctly
* added default permission to create team and add user
* Safari passwords match sign up
* Add migration file
* Don't error on authorize if blah
* fix tests
* restructured project with createCrudHandler
* Account settings password repeat
* Update README
* fixed user permission listing
* added sorting for permission definitions
* fixed project default permission update
* restructured project urls
* fixed import error
* removed format changes
* removed format changes
* removed format changes
* removed unused route
---------
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-15 01:55:01 +02:00
Stan Wohlwend
580bd73348
Fix trailing space lint errors
2024-07-14 10:37:34 -07:00
Konsti Wohlwend
b0f233a44c
More backend endpoint implementations ( #126 )
...
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-13 22:04:53 -07:00
Zai Shi
06c71d1b9e
added team profile image url ( #130 )
...
* added team profile image url
* added migration file
* fixed eslint
* added next image to demo
* fixed build error
2024-07-07 06:58:29 +02:00
Konsti Wohlwend
53450206f5
Create users & auth endpoints in backend ( #85 )
2024-07-01 22:42:08 -07:00
Zai Shi
bd96da663b
Fix client side team bugs ( #86 )
...
* permission ids -> definition jsons
* fixed default permission update bug
* fixed set team default permission
* fixed handler edit dialog
2024-06-20 15:28:23 +02:00
Zai Shi
29bb31fdbc
added server user create team ( #84 )
2024-06-19 15:34:06 +02:00
Zai Shi
1f373846ab
System team permissions ( #82 )
...
* added default permissions to prisma
* added system team permission
* fixed permission update
* added system permission UI
* fixed permission update
* added create team client
* added client create team
* added client team create endpoint
* fixed user.createTeam, updated demo
* added default permissions for team creators and members
* added createTeamForUser
* added permission id format check
* updated db schema for default permission, added default perms when project is created
* fixed merge errors
2024-06-18 19:22:23 +02:00
Stan Wohlwend
a6c77899ed
Read doc endpoints from filesystem
2024-06-16 03:38:42 +02:00
Zai Shi
019738aa64
Added fern docs ( #76 )
...
* adding openapi generation
* added optional responses
* added path params
* added request body
* added full openapi file
* fixed crud bug
* fixed small bugs
* added generate-docs script
* added parameter example
* create docs from handler
* improved parse openapi interface
* removed unused
* added endpoint metadata
* added current user handler
* migrated old docs to fern
* 🌿 api set-up (#75 )
Co-authored-by: Catherine Deskur <chdeskur@gmail.com>
* added sdk docs
* updated tabs
* improved styling
* added header links
* added tags to docs
* added focus to docs
* added focus to team docs
* improved docs wording
* added discord link
* updated generate-keys docs
* fixed merge error
* added yaml package
* added github actions
* fixed doc gen bug
* added docs lint check
* added doc watch changes
* updated github actions
* fixed action file
* updated publish docs workflow
* added overview page
* fixed action bug
---------
Co-authored-by: fern <126544928+fern-bot@users.noreply.github.com>
Co-authored-by: Catherine Deskur <chdeskur@gmail.com>
2024-06-15 14:04:00 +02:00
Stan Wohlwend
3adf198275
selectedTeam on user CRUD
2024-06-12 17:04:51 +02:00
Stan Wohlwend
72eda48c55
Unify User and ServerUser
...
Fix #65
2024-06-12 15:14:47 +02:00
Zai Shi
617ccbed6f
Oauth scope ( #67 )
...
* removed openid for oauth providers, switch to pure oauth flow
* restructured files
* added project id to the env keys
* fixed tooltip display bug
* improved docs links
* removed old comments
* improved oauth code structure
* removed MS tenantID
* added linking account
* added access token endpoint
* fixed prisma schema
* added store refresh token
* fixed no refresh token error
* added authorize and link types to authorize endpoint
* added adding scope
* improved oauth provider code structure
* added additional scopes to db
* fixed sessions
* fixed oauth provider select bug
* added scopes to dashboard
* added get account
* added useAccount
* added useAccessToken
* fixed type errors
* fixed bug
* added oauth link failed page
* added error page
* fixed bugs
* updated error page
* added extra scope error
* fixed additional scope
* removed test code, fixed bug
* Throw error when accessing OAuth access token with shared OAuth keys
* removed additional scopes
* added scopes on sign in
* renamed errors
* added redirect URL for the oauth provider setting
* dynamic link
* added connect wrong account error
* added migration file, fixed useConnection bug
* added after callback redirect url
* fixed types
* fixed type error
* updated migration file
2024-06-08 16:26:50 +02:00
Stan Wohlwend
543eb0cefb
Expose Session in library
2024-06-08 14:55:05 +02:00
Stan Wohlwend
b0f1119a31
Fix dev builds
2024-06-06 16:29:30 +02:00
Stan Wohlwend
d95696ee96
Refactor TokenStore into Session
2024-06-06 12:30:17 +02:00
Zai Shi
53f7b71c8c
Spotify OAuth ( #59 )
...
* fixed style
* improved browser frame styling
* added spotify
* added prisma migration
2024-05-29 14:24:15 +02:00
Konsti Wohlwend
4415012f8c
Email template editor ( #54 )
...
* added email editor
* added theme
* improved styling
* removed unused
* added toolbar toggle
* fixed layout problems
* removed sample drawer
* added original license
* added template var matching
* renamed files
* added variable panel
* changed boxes to tailwind DIVs
* added save button
* added custom text-block
* removed avatar, change tab switching logic
* removed html component for now
* renamed folder
* moved download import to setting panel
* added prisma schema for email templates
* added mustache
* added cancel button
* added email templates crud
* removed email template id
* updated email template list page
* removed unused imports
* removed createEmailTemplate handler
* added reset button to email template
* added default templates structure
* added template default value
* moved email template location
* added template information
* added email template routes
* fixed types, added error page
* improved styles
* updated sidebar links
* added save and cancel functions
* wrapped router and link for leave confirmation
* changed disabled => needConfirm
* fixed link
* fixed styles
* fixed link
* fixed bugs
* fixed template editing bugs
* added reset confirmation
* fixed save button
* fixed type error, moved email util file
* moved constant, added prefetch to link
* restructured code
* added variable system
* added email verification default
* removed preview
* added templates for all emails, removed unused
* fixed import error
* migrate part of mui to shadcn
* migrated more to shadcn
* migrated more mui
* updated color picker
* migrate more to shadcn
* added shadcn toggle group
* removed editor provider
* updated slider
* migrated toggle group to shadcn
* moved block icons to lucide
* removed radio group
* fixed color picker
* migrated icons to shadcn
* change popup buttons to shadcn
* fixed create block button display bug
* changed import json to shadcn
* migrated block menu
* removed mui dependency
* render merged preview
* refactor: Replace deleteEmailTemplate with resetEmailTemplate for consistency
* chore: renamed delete email template and removed unused imports
* fixed add block button style
* changed button default style
* added subject
* added subject preview
* moved document-core into the repo
* moved all email components into the repo
* removed context in reader block
* restructured files
* moved components to react-email
* removed unused
* fixed magic link template
* fixed templates
* Mustache -> Handlebars, disabled escape
* fixed editor scrolling
* moved delete button location to inside the box
* fixed template rendering error, updated templates
* updated button text in email templates
* generated migration file
* fixed small bugs
* fixed handle bar import path
* removed all the double ;;
* fixed lint
* fixed inert with type extension
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-05-28 11:49:59 +02:00
Stan Wohlwend
2a6c4e9f34
Allow 127.X.X.X loopback hostnames
2024-05-25 18:37:07 +02:00
Stan Wohlwend
9653aca0d2
No more result strict mode
2024-05-25 18:14:48 +02:00
Stan Wohlwend
f261e18330
Fix yup JSON schema
2024-05-25 18:01:07 +02:00
Stan Wohlwend
5ca23d3623
Fix current-user-refresh bug
2024-05-25 15:39:37 +02:00
Stan Wohlwend
58db64b491
Skip credentials: "omit" in Cloudflare Workers
2024-05-25 13:25:01 +02:00
Stan Wohlwend
cf16c2f991
Remove unneccessary log statement
2024-05-25 12:09:57 +02:00
Stan Wohlwend
a28e3b381a
Admin access token expiration handling
2024-05-25 12:09:18 +02:00
Stan Wohlwend
93d7fa3f44
Add Next.js 15-related comment
2024-05-24 01:09:26 +02:00