Commit Graph

541 Commits

Author SHA1 Message Date
Stan Wohlwend
9933ee593d Make @stackframe/docs private 2024-06-15 20:22:33 +02:00
Stan Wohlwend
08f036655b chore: update package versions 2024-06-15 20:20:09 +02:00
Stan Wohlwend
3f40f60e43 Docs now run in development with pnpm run dev 2024-06-15 20:05:06 +02:00
Stan Wohlwend
07920a4102 TeamSwitcher -> SelectedTeamSwitcher 2024-06-15 15:27:39 +02:00
Stan Wohlwend
3295b853b1 Update pnpm-lock.yaml 2024-06-15 14:59:04 +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
fb1255d550 Improved access token cookie handling 2024-06-12 21:16:07 +02:00
Stan Wohlwend
3adf198275 selectedTeam on user CRUD 2024-06-12 17:04:51 +02:00
Stan Wohlwend
b3f726dd40 Remove junk bundled file 2024-06-12 15:24:34 +02:00
Stan Wohlwend
72eda48c55 Unify User and ServerUser
Fix #65
2024-06-12 15:14:47 +02:00
Konsti Wohlwend
7901d87a12
Update CONTRIBUTING.md 2024-06-12 14:20:11 +02:00
Konsti Wohlwend
102da23d5e
Update CONTRIBUTING.md 2024-06-12 14:19:50 +02:00
Zai Shi
9979442949 added contributing.md 2024-06-11 11:28:56 +02:00
Zai Shi
12099d7fa1
Update README.md 2024-06-10 15:59:44 +02:00
Zai Shi
67aefdae98
Update README.md 2024-06-10 15:58:51 +02:00
Zai Shi
1b5428d5b3
Update README.md 2024-06-10 13:52:50 +02:00
Zai Shi
d6892f131b
Team Switcher UI (#71)
* added basic team switcher

* improved styling
2024-06-10 13:50:34 +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
8f181b1b26 Make ISE a common error 2024-06-09 18:26:33 +02:00
Stan Wohlwend
50b2b672eb Signout now works correctly with old cookies 2024-06-09 18:08:11 +02:00
Zai Shi
a44282239e Merge branch 'dev' of github.com:stackframe-projects/stack into dev 2024-06-09 18:02:17 +02:00
Zai Shi
6138a75932 added spotify example 2024-06-09 18:02:14 +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
0517c75141 Fix import 2024-06-09 17:37:07 +02:00
Stan Wohlwend
07d1169e84 chore: update package versions 2024-06-09 17:25:59 +02:00
Stan Wohlwend
ca5d0a6b90 getCrossOriginTokenObject() -> getAuthJson() 2024-06-09 17:19:05 +02:00
Stan Wohlwend
ac10cbb5c3 Improved CSR bailout error message 2024-06-09 15:50:19 +02:00
Zai Shi
99da7b8677
added posthog (#68) 2024-06-09 09:16:53 +02:00
Stan Wohlwend
3b9e54712c Improve unparsable-access-token console.warn 2024-06-08 18:53:59 +02:00
Stan Wohlwend
9cff30b440 Normal case for project card title 2024-06-08 18:52:55 +02:00
Stan Wohlwend
478fe39e32 Small improvements 2024-06-08 18:17:30 +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
fc30eaa743 Fix import bugs 2024-06-08 16:01:13 +02:00
Stan Wohlwend
12ad506699 chore: update package versions 2024-06-08 15:28:10 +02:00
Stan Wohlwend
1aefcf8568 Make stack-refresh cookie name depend on project ID 2024-06-08 15:12:13 +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
31db7ecc42 Fixed changesets versions 2024-06-07 13:30:07 +02:00
Stan Wohlwend
c16c13d2b6 chore: update package versions 2024-06-07 12:41:23 +02:00
Stan Wohlwend
5287b6e1b4 Better error messages for inner OAuth flow 2024-06-07 12:10:45 +02:00
Stan Wohlwend
8f015614ba Fix type error 2024-06-07 12:04: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
9d5fe95119 Enable await-thenable ESLint rule 2024-06-06 13:39:05 +02:00
Stan Wohlwend
dafe0dc1fb Fix lint errors 2024-06-06 13:35:29 +02:00