Commit Graph

517 Commits

Author SHA1 Message Date
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
Stan Wohlwend
d95696ee96 Refactor TokenStore into Session 2024-06-06 12:30:17 +02:00
Stan Wohlwend
5b3db1a7ad Better domain description 2024-06-04 19:53:57 +02:00
Stan Wohlwend
035ba57d66 Show alert when there's an error in UI components 2024-06-04 19:45:13 +02:00
Stan Wohlwend
ba8de5c8f8 More permissive TokenStoreInit typing 2024-06-04 10:45:32 +02:00
Stan Wohlwend
30b9b07dfe chore: update package versions 2024-06-03 14:33:33 +02:00
Stan Wohlwend
be01a32f80 Improve comment in maybe-full-page 2024-06-03 14:31:58 +02:00
Stan Wohlwend
14c9a202b8 Improve developer setup 2024-06-03 01:36:17 +02:00
Stan Wohlwend
2d4d5df881 Only allow pnpm 2024-06-02 21:07:30 +02:00
Stan Wohlwend
a340bf6f8a Remove todo script from stack-server 2024-06-02 21:00:22 +02:00
Stan Wohlwend
59e5c95346 Mute MaybeFullPage error 2024-06-02 20:51:45 +02:00
Stan Wohlwend
f1906bc2b2 Fix rimraf order 2024-06-02 18:37:09 +02:00
Stan Wohlwend
2534b4e43a Update lock file 2024-06-02 18:32:37 +02:00
Stan Wohlwend
893a93da1e Add rimraf as dependency everywhere 2024-06-02 18:31:12 +02:00
Stan Wohlwend
4b4357ea46 chore: update package versions 2024-06-02 15:22:04 +02:00
Stan Wohlwend
003591e2ae Save -> Create on several form dialogs 2024-06-02 15:21:21 +02:00
Stan Wohlwend
c1f7bec6c7 Run GH Actions on PR 2024-06-02 12:31:30 +02:00
Stan Wohlwend
8c49724063 Update clean script 2024-06-02 12:29:09 +02:00
kabir chhabra
d996c388c6
Fix #60: Added an option to create teams on the dashboard's "Teams" section (#62)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-06-01 23:14:51 +02:00
Stan Wohlwend
9be378db4c Update init script to support cases where both src and app folders exist 2024-05-31 17:33:09 +02:00
Stan Wohlwend
3f314b062a Add a TODO note 2024-05-30 15:49:59 +02:00
Stan Wohlwend
9423a2dc1a Make fullPage actually fill the whole page
Fixes #52
2024-05-30 15:47:14 +02:00
Zai Shi
207d85f5d3 updated env var comments 2024-05-29 15:29:35 +02:00
Zai Shi
41df8e62c2 added more comments to the env vars 2024-05-29 15:28:24 +02:00
Zai Shi
87ef381df5 improved env file description 2024-05-29 15:05:53 +02:00