Commit Graph

546 Commits

Author SHA1 Message Date
Stan Wohlwend
2ca5150b07 Fix typo 2024-08-10 09:45:47 -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
Stan Wohlwend
fdd81956b1 Update error message 2024-08-10 09:45:47 -07:00
Stan Wohlwend
25a2b04dbd Allow Next.js version latest in package.json 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
Stan Wohlwend
902973766c chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-08-04 13:01:11 -07:00
Konsti Wohlwend
dfb51b8346
Auth methods and connected accounts (#164) 2024-08-04 11:39:26 -07:00
Konsti Wohlwend
94a3edd77d
Svix concurrency workaround (#167)
Some checks are pending
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-03 21:05:24 -07:00
Stan Wohlwend
a86788d924 OAuth callback tests 2024-08-03 18:28:32 -07:00
Zai Shi
0c31d6a9ff fixed list current user team permission bug and permission editing bug
Some checks are pending
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
Stan Wohlwend
f549b95390 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (18.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-08-03 11:46:03 -07:00
Stan Wohlwend
4e267784f7 chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-08-02 15:49:42 -07:00
Zai Shi
dec7d7d74d fixed dropdown styles
Some checks are pending
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
2024-08-01 21:23:20 -07:00
Zai Shi
f7c10f7047
UI restructured (#161)
* removed dashboard ui folder

* fixed imports

* removed stack email ui

* fixed types

* removed unused

* removed unused deps

* fixed dependencies

* removed unused files
2024-08-02 01:03:01 +02:00
Zai Shi
fb31827dc3
Webhooks (#157)
Some checks are pending
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
976e3919ba chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (18.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-07-30 23:36:30 -07:00
Zai Shi
0392a7ca87 chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-07-29 21:59:32 -07:00
Zai Shi
52e37a18ba
Server-side connected account (#159)
Some checks are pending
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
Zai Shi
2715ab4eef added color scheme to browser script
Some checks are pending
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
2024-07-29 09:06:53 -07:00
Stan Wohlwend
3f19b8c4e7 chore: update package versions
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (18.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-07-28 06:42:58 -07:00
Stan Wohlwend
ec7e1c94ee Fix "forgot password" error 2024-07-28 06:27:41 -07:00
Stan Wohlwend
809f98dfce Fix sign up link 2024-07-28 06:21:49 -07:00
Stan Wohlwend
f21e17114a Fix password reset 2024-07-28 06:09:56 -07:00
Stan Wohlwend
51665a4162 OAuth callback no longer redirects to itself if things fail 2024-07-28 06:01:00 -07:00
Zai Shi
29a24dcf3b fixed message card style 2024-07-28 05:56:41 -07:00
Stan Wohlwend
79616af471 chore: update package versions 2024-07-28 05:19:15 -07:00
Konsti Wohlwend
2183c38f94
Update README (#158)
Some checks are pending
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
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-07-27 21:54:57 -07:00
Stan Wohlwend
b3ea2b0425 Fix server metadata
Some checks are pending
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
2024-07-27 15:43:13 -07:00
Stan Wohlwend
9ffad08783 chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-07-27 13:44:08 -07:00
Stan Wohlwend
3bebd3f4d1 Better RetryErrors 2024-07-27 13:24:42 -07:00
Stan Wohlwend
0aa5b11b9e More init script improvements
Some checks are pending
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
2024-07-27 00:06:56 -07:00
Stan Wohlwend
4cff31cf6f Even more init script improvements 2024-07-27 00:01:08 -07:00
Stan Wohlwend
d28827a4cf Improve Stack CLI 2024-07-26 23:34:08 -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
Stan Wohlwend
0124dfdb57 Fix user button 2024-07-26 16:17:33 -07:00
Stan Wohlwend
5279dee113 chore: update package versions
Some checks are pending
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Waiting to run
Publish Docs / run (push) Waiting to run
2024-07-26 16:07:01 -07:00
Stan Wohlwend
41999e2de1 Rename __STACK_AUTH__ global 2024-07-26 16:07:00 -07:00
Stan Wohlwend
cbe82fb00d _stackAuth global 2024-07-26 16:07:00 -07:00
Zai Shi
650a47c72f added shared spotify 2024-07-26 16:07:00 -07: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
989c75a8f4 improved types (#152) 2024-07-26 16:06:59 -07:00
Zai Shi
71a7fcd6de fixed send verification email 2024-07-26 16:06:59 -07:00
Konsti Wohlwend
088e980c38 Metadata fields should be set to null when left empty (#145) 2024-07-26 16:06:59 -07:00
Konsti Wohlwend
aa654ccdc1 Redirect user to correct page after sign-in (#151) 2024-07-26 16:06:59 -07:00
Stan Wohlwend
009f62bde8 Improved error messages 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