Commit Graph

43 Commits

Author SHA1 Message Date
Zai Shi
2e6a04270c
Magic link dashboard toggle (#16)
* added magiclink dashboard toggle

* updated names on dashboard

* updated browser tab title
2024-04-23 15:24:42 +02:00
Stan Wohlwend
5e3004c18b Improved error handling 2024-04-23 12:02:18 +02:00
Zai Shi
96c26a7918
Magic link (#13)
* added magic link email, updated email template

* added magic link ui and db schema

* restructured sign in sign up page

* updated example custom button

* added joy tabs

* fixed bugs, added magic link errors, abstracted token creation

* added magic link callback

* fixed token bugs

* added more auth information to user object

* added changeset
2024-04-20 12:33:11 +02:00
Stan Wohlwend
02fe7bee2f StatusError name 2024-04-15 14:10:23 +02:00
Stan Wohlwend
ff3fb4a542 Remove unnecessary console.log 2024-04-14 21:54:44 +02:00
Zai Shi
3a55713b43 fixed access token parsing 2024-04-14 15:33:33 +02:00
Stan Wohlwend
6fe5ca45eb Report all errors to Sentry 2024-04-14 13:32:31 +02:00
Stan Wohlwend
3df1def41e Async onClick for button 2024-04-14 08:28:41 +02:00
Zai Shi
ed90a7efcf fixed error inheritance structure 2024-04-14 08:01:44 +02:00
Stan Wohlwend
23db888c90 Fix: "The provided app JSON does not match the configuration" 2024-04-13 17:52:33 +02:00
Zai Shi
2995d9662a
UserButton component and account setting page (#10)
* fixed sign in title bug

* addec changeset

* added popover

* added dropdown, improved user button

* improved user button

* added avatar, adding account setting

* added send verification email

* added plaintext to emails

* fixed select props

* added name update

* added password update

* added email password update

* only password update for accounts logged in credential

* fixed small errors in endpoints

* improved account setting page

* fixed types

* removed props export

* divider -> separator

* fixed accidently renamed dividers

* added changeset
2024-04-13 16:42:05 +02:00
Stan Wohlwend
673a8fae74 Add useful headers 2024-04-12 17:44:41 +02:00
Stan Wohlwend
244ac7c9e3 Decrease page load latency 2024-04-12 17:04:01 +02:00
Stan Wohlwend
0c24ed5f05 Fix auth error 2024-03-25 20:59:16 -07:00
Stan Wohlwend
33823065b6 Rework known errors 2024-03-25 20:59:16 -07:00
Stan Wohlwend
1774908984
Initiate backend rework (#6) 2024-03-18 01:40:40 -07:00
Zai Shi
c0151a8e5d removed redirectUrl in functions, added newUser attribute to signInWithOAuth, added after sign-in/up/out urls 2024-03-12 17:31:28 +08:00
Stan Wohlwend
df2130d36a Head tags 2024-03-08 06:23:02 +01:00
Stan Wohlwend
f5108bc53d Fix SSR error if Suspense is missing 2024-03-07 14:32:52 +01:00
Zai Shi
96d61ab216 improved type system 2024-03-06 21:38:49 +08:00
Zai Shi
397a4046ba Oauth -> OAuth 2024-03-06 21:17:14 +08:00
Zai Shi
8bbf4d2688 added more production check messages 2024-03-06 17:06:39 +08:00
Stan Wohlwend
db5a2c859e Remove most occurences of useStrictMemo 2024-03-06 05:39:11 +01:00
Zai Shi
3737f68e07 added allow localhost 2024-03-06 10:52:50 +08:00
Stan Wohlwend
939f50f75d AsyncCache cache strategies 2024-03-06 02:55:47 +01:00
Zai Shi
278a18a1ed added enabled to oauth config 2024-03-06 09:02:05 +08:00
Zai Shi
a66e32fef7 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 01:27:49 +08:00
Zai Shi
0eced1936b updated provider frontend 2024-03-06 01:27:45 +08:00
Stan Wohlwend
81760b87cd stack: Redirect to home on "Invalid API key" hack 2024-03-05 17:36:57 +01:00
Zai Shi
8ecba202cf made credential enabled work (both frontend and backend) 2024-03-05 23:08:16 +08:00
Zai Shi
cd152317de added project config update 2024-03-05 22:40:50 +08:00
Stan Wohlwend
f0dcc65b4b stack-shared: Add cacheFunction 2024-03-05 04:29:06 +01:00
Stan Wohlwend
f93858900f Fix "Invalid API key" bug with reload hack 2024-03-04 16:06:53 +01:00
Stan Wohlwend
8b25826652 Several small fixes on the dashboard 2024-03-04 14:29:29 +01:00
Zai Shi
85d6585664 Merge branch 'main' of https://github.com/stackframe-inc/stack 2024-03-04 06:24:44 +08:00
Zai Shi
6c8d5653f3 improved types for catch known error 2024-03-03 18:43:35 +01:00
Zai Shi
9bd2e26af0 fixed login token bug 2024-03-03 17:30:20 +01:00
Stan Wohlwend
489ef8bec3 Don't log SSR suspension error 2024-03-03 14:45:58 +01:00
Zai Shi
3a8b1041ae formatted code 2024-03-03 09:53:47 +01:00
Stan Wohlwend
e334df1a88 Fix use being called conditionally 2024-03-02 15:30:56 +01:00
Zai Shi
53f27b8758 added onboarding apikey dialog (doesn't quite work yet because of the root exit issue) 2024-03-01 13:56:17 +01:00
Zai Shi
f6e974a571 added user count, fixed display bug, renamed db projectUserPasswordResetCode 2024-03-01 11:20:45 +01:00
Stan Wohlwend
ced0be74b3 Move code (initial commit) 2024-02-28 14:35:30 +01:00