Commit Graph

268 Commits

Author SHA1 Message Date
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
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
aa654ccdc1 Redirect user to correct page after sign-in (#151) 2024-07-26 16:06:59 -07:00
Stan Wohlwend
8cd0b1609f Impersonation 2024-07-26 16:06:59 -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
Stan Wohlwend
72aa86ace1 Rename CredentialSignInForm -> CredentialSignIn in code 2024-07-26 16:06:58 -07:00
Stan Wohlwend
56ab3bc022 Remove deprecated TeamSwitcher, use SelectedTeamSwitcher instead 2024-07-26 16:06:58 -07:00
Stan Wohlwend
1899a25efe Support moduleResolution: "node" 2024-07-26 16:06:58 -07:00
Stan Wohlwend
f812085420 chore: update package versions 2024-07-24 11:44:14 -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
ce109e8b0d chore: update package versions 2024-07-22 16:59:51 -07:00
Zai Shi
5d5acda209 fixed email verification bug 2024-07-22 15:12:59 -07:00
Stan Wohlwend
6124343893 chore: update package versions 2024-07-21 19:11:51 -07:00
Stan Wohlwend
8f4b888441 Update handler URLs 2024-07-20 13:13:00 -07:00
Stan Wohlwend
2eb33279db chore: update package versions 2024-07-20 13:07:29 -07:00
Zai Shi
d391e332e6 added enabled oauth providers 2024-07-20 12:58:42 -07:00
Stan Wohlwend
3ec7d865ea chore: update package versions 2024-07-20 11:11:37 -07:00
Zai Shi
54027d58a2
New client (#135)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-19 22:07:44 -07:00
Chenalejandro
a790dfa8de
Allowing passing a nonce to inline-scripts/inline-styles to have better support for csp (#134)
Signed-off-by: alejandro <chen.alejandro97@protonmail.com>
2024-07-16 13:16:29 -07:00
Stan Wohlwend
698964766f Disallow trailing spaces 2024-07-14 10:35:33 -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
Stan Wohlwend
4545e2ba8f chore: update package versions 2024-07-13 12:36:07 -07:00
Stan Wohlwend
8e8a1b1be1 Set target to ES2021 2024-07-07 17:28:14 -07:00
Stan Wohlwend
29a4330c9a chore: update package versions 2024-07-07 14:09:22 -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
Stan Wohlwend
f368255c46 chore: update package versions 2024-07-06 15:05:48 -07:00
Konsti Wohlwend
53450206f5
Create users & auth endpoints in backend (#85) 2024-07-01 22:42:08 -07:00
Stan Wohlwend
ac3ed1a0b3 chore: update package versions 2024-07-01 18:46:01 -07:00
Zai Shi
934eb78004
Fixed team selection (#124)
* fixed selected team switcher

* fixed selected team switcher

* updated lock files
2024-07-02 02:39:50 +02:00
Zai Shi
cbf409ab25
fixed oauth docs and or redirect (#123) 2024-07-02 01:17:11 +02:00
Zai Shi
436cd95bf2
New docs structures, added docs for OAuth providers and team selections (#116)
* new doc structure

* added domain docs

* added team selection

* added oauth page, improved navigation

* improved team-selection

* improved code styling, updated permissions docs

* improved wording in teams and overview

* added team switcher updates

* updated production docs

* added oauth provider docs

* updated docs navigation
2024-07-01 02:44:32 +02:00
Stan Wohlwend
e0477e1421 Fix OAuth redirect in dev mode 2024-06-26 04:47:48 +02:00
Zai Shi
fd40498116
Added SsrScript to work around suspended script (#99)
* simplified browser script

* improved code structure

* added ssr script
2024-06-25 17:07:22 +02:00
Zai Shi
e8e6f0f6cc
added loading to sign-in/sign-up/reset-password (#97) 2024-06-25 15:19:29 +02:00
Zai Shi
67ec223a94 un-renamed the form components 2024-06-25 14:20:40 +02:00
Zai Shi
d53c787ba3
fixed selected team style (#96) 2024-06-25 13:38:10 +02:00
Zai Shi
04f6b48a1a
fixed hover color (#94) 2024-06-24 21:13:37 +02:00
Zai Shi
5b46bd6f00
Added new theme config and docs (#93)
* updated customization docs

* fixed browser script

* added custom color to browser script

* added color palette to browser script

* fixed color script bug

* updated docs

* removed unused
2024-06-24 20:23:13 +02:00
Zai Shi
af9d811b28
Scope tailwind (#92)
* added scoped tailwind

* added same level scope

* added shadcn

* added watch css

* improved css processing

* fixed dark mode, migrated credential sign in component

* fixed export path

* fixed bugs

* migrated credential sign up

* migrated magic link sign in

* migrated auth page

* migrated forgot password

* migrated oauth group

* migrated oauth button

* improved password field

* fixed maybe full page

* migrated user button

* simplified user button structure

* fixed dark mode css process bug, migrated avatar

* migrated typography

* migrated message cards

* removed joy

* removed component context

* removed component core

* restructured components

* updated demo

* added new ui package

* added tailwind config to stack-ui

* moved stack components to stack-ui

* fixed demo ui components

* fixed demo dark mode

* fixed demo bugs

* updated dependencies

* fixed demo theme flash

* fixed styling bugs, removed breakpoints

* removed unused
2024-06-24 15:33:09 +02:00
Stan Wohlwend
a37674fa12 chore: update package versions 2024-06-20 17:16:33 +02: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
Konsti Wohlwend
6480667a97
Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00