Commit Graph

170 Commits

Author SHA1 Message Date
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
Zai Shi
5b2a851f98 fixed email template not loading bug 2024-07-07 18:58:11 -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
fb825e66a5 Prefer getEnvVariable in stack-backend 2024-07-01 19:40:43 -07:00
Stan Wohlwend
ac3ed1a0b3 chore: update package versions 2024-07-01 18:46:01 -07:00
Stan Wohlwend
ab348af895 Prefix all environment variables with STACK_ 2024-07-01 17:30:35 -07:00
Zai Shi
cbf409ab25
fixed oauth docs and or redirect (#123) 2024-07-02 01:17:11 +02:00
Zai Shi
02568ba36d removed UserNotInTeam error 2024-06-25 15:44:40 +02:00
Kirat
69ff6a292e
Adds server and client side metadata (#87)
* Added server and client side metadata

* revert lint
2024-06-25 13:45:21 +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
Stan Wohlwend
e392684a3e Fix snapshot test class names 2024-06-20 00:48:19 +02:00
Stan Wohlwend
77229f4b2e Snapshot tests 2024-06-19 19:44:32 +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
Stan Wohlwend
02c19ecf6a chore: update package versions 2024-06-17 18:12:56 +02:00
Stan Wohlwend
4e7a2d4b53 chore: update package versions 2024-06-16 16:59:59 +02:00
Stan Wohlwend
2f43d0a329 Fix "A component was suspended by an uncached promise" 2024-06-16 16:43:35 +02:00
Stan Wohlwend
ace8497ca6 Reduce occurence of "A component was suspended by an uncached promise" 2024-06-16 15:55:37 +02:00
Konsti Wohlwend
5cf167b5c7
Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
Stan Wohlwend
a6c77899ed Read doc endpoints from filesystem 2024-06-16 03:38:42 +02:00
Stan Wohlwend
08f036655b chore: update package versions 2024-06-15 20:20:09 +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
856cfe115c chore: update package versions 2024-06-14 15:31:40 +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
ca22551db8
Optimized OAuth cookies (#70)
* reduced cookie size, added state to cookie name, remove cookie after finishing oauth

* added migration file

* changed remove cookie code location

* OAuthTimeout -> OuterOAuthTimeout

* fixed types
2024-06-10 11:29:22 +02:00
Stan Wohlwend
ad50465ba2 chore: update package versions 2024-06-09 17:48:17 +02:00
Stan Wohlwend
41e13bc0a3 No longer allow @stackframe/<package>/src/* imports 2024-06-09 17:46:32 +02:00
Stan Wohlwend
07d1169e84 chore: update package versions 2024-06-09 17:25:59 +02:00
Stan Wohlwend
ac10cbb5c3 Improved CSR bailout error message 2024-06-09 15:50:19 +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
e4bf35ecd9 chore: update package versions 2024-06-08 16:06:11 +02:00
Stan Wohlwend
12ad506699 chore: update package versions 2024-06-08 15:28:10 +02:00
Stan Wohlwend
543eb0cefb Expose Session in library 2024-06-08 14:55:05 +02:00
Stan Wohlwend
5f5b6d65b5 chore: update package versions 2024-06-07 13:32:12 +02:00
Stan Wohlwend
c16c13d2b6 chore: update package versions 2024-06-07 12:41:23 +02:00
Stan Wohlwend
7938ff6439 Whitespace ESLint rules 2024-06-07 11:55:46 +02:00
Stan Wohlwend
ca7da8dff7 Fix lint errors 2024-06-06 19:23:20 +02:00
Stan Wohlwend
55776dcff4 Fix double-redirect on signout 2024-06-06 17:50:01 +02:00
Stan Wohlwend
b0f1119a31 Fix dev builds 2024-06-06 16:29:30 +02:00
Stan Wohlwend
dafe0dc1fb Fix lint errors 2024-06-06 13:35:29 +02:00
Stan Wohlwend
d95696ee96 Refactor TokenStore into Session 2024-06-06 12:30:17 +02:00