Commit Graph

1644 Commits

Author SHA1 Message Date
Zai Shi
a789929a74 fixed table ux problems 2024-05-16 15:37:35 +02:00
Zai Shi
26f24f3f22 added loading indicator 2024-05-16 14:31:33 +02:00
Zai Shi
13d0743d45 fixed oauth provider type bug 2024-05-16 10:13:11 +02:00
Zai Shi
037acb24ae
Full shadcn migration (#37)
* added data table

* removed tables

* added shadcn tasks table

* fixed command select bug

* added general toolbar

* added test user table

* added actions

* updated action cell

* added toolbar render

* added auth method filter

* removed unused

* improved layout

* improved layout

* added actions

* fixed bugs

* fixed button in button error

* added delete user action

* added verified switch field

* fixed label, added tooltips

* added verified email filter

* added table for domains page

* fixed dialog bugs

* removed button animation

* improved styling

* added api key table

* added status to api key table

* improved styling

* removed unused

* added team table

* new team table

* updated pagination message

* fixed pnpm lock

* added new permission field form

* added team permission table

* added permission edit

* improved view option styling

* improved email verification styling

* fixed bug

* migrate new team member table

* fixed bugs

* added remove user from team to member table

* removed old code

* improved code format

* migrated onboarding to shadcn

* fix navbar not sticky

* moved not-found page to shadcn

* fixed handler layout

* migrated congrats page

* removed unused, migrated logo

* removed unused, snack bar -> toast

* removed unused

* migrated api creation

* removed unused

* removed joy theme

* removed mui

* removed unused

* improved table layout
2024-05-15 19:10:21 +02:00
Zai Shi
f337b53293
Migrated user, api key, and team table to Shadcn (#36)
* added data table

* removed tables

* added shadcn tasks table

* fixed command select bug

* added general toolbar

* added test user table

* added actions

* updated action cell

* added toolbar render

* added auth method filter

* removed unused

* improved layout

* improved layout

* added actions

* fixed bugs

* fixed button in button error

* added delete user action

* added verified switch field

* fixed label, added tooltips

* added verified email filter

* added table for domains page

* fixed dialog bugs

* removed button animation

* improved styling

* added api key table

* added status to api key table

* improved styling

* removed unused

* added team table

* new team table

* updated pagination message

* fixed pnpm lock
2024-05-14 23:51:44 +02:00
Stan Wohlwend
7454bf6c9b Users bugfix 2024-05-14 15:34:57 +02:00
Stan Wohlwend
4028762201 Improve style 2024-05-14 15:32:48 +02:00
Konsti Wohlwend
a0dc6f6782
Prisma route handlers (#34) 2024-05-14 15:31:13 +02:00
Konsti Wohlwend
f5b83bfdfc
Delete packages/stack-server/src/route-handlers/prisma-handler.tsx 2024-05-14 14:21:29 +02:00
Stan Wohlwend
25b5e0f5ef Client version in header 2024-05-14 14:16:12 +02:00
Stan Wohlwend
7742a1d81a chore: update package versions 2024-05-14 13:59:10 +02:00
Zai Shi
04599b40e5
Moved dialogs to shadcn & Improved auth methods dashboard design (#35)
* added sidebar

* add side-bar layout

* fixed small bugs, adding mobile sidebar

* fixed mobile sidebar

* added mobile breadcrumb

* improved project switcher order

* fixed eslint

* added typography

* added page layout, removed unused data

* new page layout

* removed unused files

* updated urls dialog

* added async switch

* fixed display bug

* speed up animation, reduced card shadow

* AsyncSwitch -> Switch, AsyncButton -> Button

* updated page layout

* updated typography

* fixed bugs

* fixed bugs

* improved user page layout

* added link component

* removed page loading indicators

* moved avatar to top right

* providers->auth-methods

* removed loading indicator

* updated auth methods layout

* updated oauth provider styling

* added new oauth providers setting design

* updated confirmation dialog

* fixed documentation link

* switched zod to yup

* added provider setting dialog

* fixed create project bug

* updated provider settings

* added form dialog

* added form dialog to domains

* improved etam settings page

* updated production mode

* fixed bugs

* reduced transition speed
2024-05-13 17:52:21 +02:00
Stan Wohlwend
e54d5103b0 Fix CORS error 2024-05-13 11:51:54 +02:00
Stan Wohlwend
8c3e9ca05f Update GitHub link 2024-05-12 20:43:41 +02:00
Stan Wohlwend
dec622ed9e
CRUD schemas (#28) 2024-05-12 20:29:14 +02:00
Stan Wohlwend
03cc40bcfb chore: update package versions 2024-05-12 15:22:38 +02:00
Zai Shi
fddce41aa8
New page layout (#33)
* added sidebar

* add side-bar layout

* fixed small bugs, adding mobile sidebar

* fixed mobile sidebar

* added mobile breadcrumb

* improved project switcher order

* fixed eslint

* added typography

* added page layout, removed unused data

* new page layout

* removed unused files
2024-05-12 09:26:37 +02:00
Zai Shi
6f19e662df
Shadcn dashbaord layout (#32)
* added sidebar

* add side-bar layout

* fixed small bugs, adding mobile sidebar

* fixed mobile sidebar

* added mobile breadcrumb

* improved project switcher order

* fixed eslint
2024-05-11 19:24:10 +02:00
Stan Wohlwend
ff6e4540b4 chore: update package versions 2024-05-11 16:51:06 +02:00
Zai Shi
507b97f427
Migration to Shadcn UI (#31)
* fixed theme doesn't work when not signed in

* added tailwind

* use stack theme instead of stack joy theme for server

* added shadcn

* added shadcn components

* added new project page

* improved styling

* added footer

* added footer

* added new project page

* added project creation page

* made new project page interactive

* added project settings on create project endpoint

* added async button

* fixed small things

* data-theme -> data-stack-theme

* changed color scheme

* changed joy buttons to shadcn buttons

* fixed lint

* added redirect to create project page
2024-05-10 23:34:42 +02:00
Stan Wohlwend
dba19eb167 chore: update package versions 2024-05-10 17:11:53 +02:00
Zai Shi
458c6c0d01
fixed theme doesn't work when not signed in (#30) 2024-05-10 10:12:17 +02:00
Stan Wohlwend
4f439bf1eb chore: update package versions 2024-05-09 16:12:41 +02:00
Stan Wohlwend
beccddd38b Better random nonce 2024-05-09 16:12:11 +02:00
Stan Wohlwend
b2275484a7 Disable caching on requests 2024-05-09 16:00:12 +02:00
Stan Wohlwend
a3f3b09072 Fix lint error 2024-05-09 11:39:59 +02:00
Stan Wohlwend
7403e78251 Fix build errors 2024-05-09 11:38:55 +02:00
Stan Wohlwend
9f3502a76a Improved redirection loading indicator 2024-05-09 11:34:11 +02:00
Stan Wohlwend
89fc11d3a2 Disable fetch caching for client requests 2024-05-09 11:21:14 +02:00
Zai Shi
90ca97339d added team deletion 2024-05-08 16:39:54 +02:00
Stan Wohlwend
9ff2cff5c5
Organizations & RBAC (#22)
* added organizations route

* added orgganizations/[orgId] and orgganizations/[orgId]/users routes

* added more routes

* restructured dashboard pages, added organization page

* fixed redirect bug

* updated sidebar

* added mock orgnizations

* fixed breadcrumbs

* added edit org modal

* added memeber table

* added permission table

* Orgs & perms backend

* Fix build errors

* updated permission ui

* org -> team for frontend

* added enable team UI

* Stack App for teams

* formatted schema

* renamed all orgs to teams

* fixed docusaurus bug

* disabled docusaurus build progress bar

* added member profile and direct permission to profile

* removed dead code, memberProfile -> member

* removed teams attribute from the user object

* added /teams endpoint

* added create team endpoint

* added add-user endpoint

* moved add-user

* added server side get teams

* updated schema formatting

* added team enabled endpoints

* fixed type error

* moved get current teams to current-user/teams

* improved interface

* added create team

* hooked up team to frontend

* added hooked up team name with team member page

* added list team users

* added useUsers to team object

* fixed list team user bug

* added team update

* added list permissions and use permission on app

* added create permission

* list permission

* added permission list

* added inherited permission list

* add edit permission model

* restructured permission graph

* updated style

* added delete permission

* fixed delete permission bug

* added inheritence update

* fixed await bug

* fixed selection bug

* added permission update

* fixed update bug

* fixed team update refresh

* added remove user from team

* restructured permission and permission definition

* updated permission definition structure

* updated list permissions and grant permissions

* fixed list user permissions

* added grant permission

* fixed list permission

* added direct option to list team use permission

* fixed bugs

* fixed bugs

* added revoke permission

* inherited from -> contains

* added client list permission

* restructured stack-app teams and permissions

* fixed server teams and permissions

* fixed bug

* fixed bugs

* added teams pages to demo

* added styled component compiler

* added list teams

* added join and leave teams

* fixed prisma onDelete

* fixed type bugs

* removed on permission change for now

* added member

* fixed user and server user

* fixed imports

* added create team

* added more content to demo

* fixed recursion bug

* fixed recursion stack out of bound bug

* removed teamsEnabled

* added create team on sign-up options

* added create team on signup

* queriable -> queryable, fixed migration file

* fixed migration file

* fixed demo build error

* fixed license accidental change

* fixed tab styling

* added required to create permission id

* added more ui error hints

* fixed seed wrong setting

* default team name

* improved permission list ui

* improved demo display

* Update README.md

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-05-08 12:43:56 +02:00
Stan Wohlwend
1c58b49e8f chore: update package versions 2024-05-05 18:17:17 +02:00
Stan Wohlwend
1e6c961c0f Cookie max age 2024-05-05 17:53:36 +02:00
Stan Wohlwend
74f3fe2e49
Middleware support (#29) 2024-05-05 17:33:36 +02:00
Stan Wohlwend
dc6659131c
Auth for smartRouteHandler (#27) 2024-05-05 10:28:31 +02:00
Stan Wohlwend
c4fa6d93e7 chore: update package versions 2024-05-05 09:37:32 +02:00
Stan Wohlwend
406ad69ebb
Docker compose dependencies (#20) 2024-05-04 15:42:41 +02:00
Stan Wohlwend
bcce00ff59
Disable Sentry in dev mode (#26) 2024-05-04 15:04:54 +02:00
Stan Wohlwend
0eb7822569 chore: update package versions 2024-05-03 12:59:16 +02:00
Stan Wohlwend
80b743d146
CommonJS support (#25) 2024-05-03 12:37:14 +02:00
Zai Shi
8a0095f0b1
Fixed color mode and flashes (#24)
* fixed button

* removed link variant

* fixed input

* fixed label

* fixed separator

* fixed indicator

* fixed link

* fixed theme toggle

* fixed text

* fixed popover, updated link color

* fixed password field

* fixed avatar and card

* fixed dropdown

* fixed skeleton

* improved password field code

* fixed tabs

* fixed user button

* fixed demo header

* fixed demo select

* fixed theme provider

* fixed demo color mode

* fixed demo theme

* deleted dev app

* removed demo app loading indicator

* added description to demo app

* fixed small things

* updated server

* updated color mode doc

* updated docs

* removed unused dependencies
2024-04-30 14:30:36 +02:00
Stan Wohlwend
1adcaa5cd2 chore: update package versions 2024-04-28 12:02:53 +02:00
Stan Wohlwend
02be9268c0 Partial prerendering loading screen 2024-04-28 11:50:17 +02:00
Stan Wohlwend
94320b9435 Get rid of ReactPromiseErrorWrapper 2024-04-28 10:45:47 +02:00
Stan Wohlwend
8814052702 Clarity 2024-04-28 10:41:31 +02:00
Stan Wohlwend
293670c83b chore: update package versions 2024-04-28 10:25:52 +02:00
Stan Wohlwend
9e0b3de21a Improve some error messages 2024-04-28 10:16:39 +02:00
Stan Wohlwend
66b9998d5c Remove test code 2024-04-27 14:36:19 +02:00
Stan Wohlwend
f71f2c74d2
Partial prerendering demo (#21) 2024-04-27 14:23:54 +02:00
Stan Wohlwend
4e0755454e Update README 2024-04-26 23:58:49 +02:00
Stan Wohlwend
aff6e3abc2 chore: update package versions 2024-04-26 14:00:52 +02:00
Stan Wohlwend
27afc65670 Confetti promise 2024-04-26 09:59:51 +02:00
Stan Wohlwend
38365de971 Fix build error 2024-04-26 09:58:48 +02:00
Zai Shi
4a61b32c80 added readme to stack package 2024-04-25 11:12:07 +02:00
Zai Shi
66f6c86ddf
Basic Unit Tests (#15)
* added basic api testing framework

* added credential signup test

* added current user test

* added github action

* fixed bugs in action file

* updated action

* added pnpm setup

* added dependency install

* updated pnpm lock

* only run server tests

* added new package for e2e test

* removed unused tests

* updated action

* updated test command

* added env var reading

* fixed typo

* fixed typo

* fixed unit tests with staging

* added delay e2e test

* added start server to action

* fixed typo

* fix aciton

* updated github action

* fixed bugs

* fixed eslint error
2024-04-24 14:24:56 +02:00
Stan Wohlwend
8dae0fd60c Fix STACK-SERVER-Q 2024-04-24 14:18:40 +02:00
Stan Wohlwend
1f6ebac9b3 Wizard now suggests creating new API key 2024-04-24 13:58:47 +02:00
Stan Wohlwend
161f628f80 Update changelog 2024-04-24 12:39:05 +02:00
Stan Wohlwend
0ce01d8f79 chore: update package versions 2024-04-24 12:37:02 +02:00
Stan Wohlwend
c808c20f3d Delete package-lock.json 2024-04-24 12:20:31 +02:00
Stan Wohlwend
c33d9d7b2a Update setup wizard package.json 2024-04-24 12:20:31 +02:00
Stan Wohlwend
ae21d9d23c Setup wizard 2024-04-24 12:20:31 +02:00
Stan Wohlwend
083cccb511 chore: update package versions 2024-04-24 10:59:50 +02:00
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
628674ef90 Bump package versions 2024-04-23 12:11:26 +02:00
Stan Wohlwend
5e3004c18b Improved error handling 2024-04-23 12:02:18 +02:00
Stan Wohlwend
13cb201369 Add README to files on npm 2024-04-22 14:03:11 +02:00
Stan Wohlwend
de3054d21f Bump versions 2024-04-22 14:01:55 +02:00
Stan Wohlwend
28c5692d99 Log path name on timeout 2024-04-21 17:31:20 +02:00
Stan Wohlwend
f51da1b2fa Fix timeout on error 2024-04-21 17:28:47 +02:00
Stan Wohlwend
cc238f7045 Use same e-mail validation logic on front- and backend 2024-04-21 17:15:20 +02:00
Stan Wohlwend
6366d56b06 Increase function timeout 2024-04-21 16:47:23 +02:00
Stan Wohlwend
1a5ab65522 Bump package versions 2024-04-21 15:40:13 +02:00
Stan Wohlwend
deaa2b4172 Refer user to dashboard on demo 2024-04-21 15:16:21 +02:00
Stan Wohlwend
d6166a058b Improve 403 error messages 2024-04-20 16:04:50 +02:00
Stan Wohlwend
755b2322df Transparent background in Joy UI stack-ui templates 2024-04-20 15:52:46 +02:00
Stan Wohlwend
192cd256d8 Don't crash when trying to access a deleted user 2024-04-20 15:49:16 +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
a5f9587f22 current-user should be null if project ID is wrong 2024-04-19 19:14:50 +02:00
Stan Wohlwend
3b9e96e460 UX improvements 2024-04-19 18:52:01 +02:00
Zai Shi
dea8ad400b bumped version 2024-04-17 09:11:19 +02:00
Zai Shi
0ce85942fe trigger build 2024-04-16 18:11:26 +02:00
Zai Shi
c914682309 trigger build 2024-04-16 18:06:03 +02:00
Zai Shi
6a0114c431 fixed render order bug 2024-04-16 15:54:18 +02:00
Stan Wohlwend
1c93fe13ae suppressHydrationWarning for <body /> 2024-04-16 15:32:52 +02:00
Zai Shi
1ca01ca261
Moved ownedProjects related functionalities to the user (#11)
* moved owned projects to user

* added internal user type

* removed old comments

* fixed type bug
2024-04-16 15:23:53 +02:00
Zai Shi
246669d779 fixed vertical centering of stack server signin 2024-04-16 12:08:08 +02:00
Zai Shi
72711f758b await send email in signup 2024-04-16 09:10:50 +02:00
Zai Shi
d355f70916 added z index for user button 2024-04-15 19:21:31 +02:00
Zai Shi
f073de1691 added secure as a env var for email 2024-04-15 19:07:34 +02:00
Zai Shi
954260c28f updated email setting for compatibility 2024-04-15 18:12:59 +02:00
Zai Shi
b4677ff272 bumped version 2024-04-15 16:55:56 +02:00
Zai Shi
8823569e00 added better error message for wrong redirect url 2024-04-15 15:51:38 +02:00
Zai Shi
8352e2d8c6 fixed bug 2024-04-15 15:09:25 +02:00
Zai Shi
5bcf0b6624 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-15 14:44:27 +02:00
Zai Shi
8495bb0ae2 fixed 127.0.0.1 not recognized as localhost 2024-04-15 14:44:24 +02:00
Stan Wohlwend
02fe7bee2f StatusError name 2024-04-15 14:10:23 +02:00
Zai Shi
075ca1d303 fixed demo header scroll and card frame padding 2024-04-15 14:02:09 +02:00
Zai Shi
ead2ce23c3 added header for handlers 2024-04-15 11:03:14 +02:00
Zai Shi
06bba497ed fixed nodemailer setting 2024-04-15 10:12:09 +02:00
Zai Shi
cff003722f Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-15 09:27:03 +02:00
Zai Shi
419dfae590 made displayName validation optional in oauth 2024-04-15 09:27:01 +02:00
Stan Wohlwend
ff3fb4a542 Remove unnecessary console.log 2024-04-14 21:54:44 +02:00
Zai Shi
866c8e6aaf bumped version 2024-04-14 15:34:23 +02:00
Zai Shi
5c6cc90854 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 15:33:37 +02:00
Zai Shi
3a55713b43 fixed access token parsing 2024-04-14 15:33:33 +02:00
Stan Wohlwend
e842b57020 Add some periods to some texts 2024-04-14 15:31:48 +02:00
Stan Wohlwend
ad137a6c40 Add docs note when there's no users 2024-04-14 15:16:47 +02:00
Zai Shi
4ead6a73b4 fixed stack package imports 2024-04-14 14:55:53 +02:00
Zai Shi
76ad603d7d bumped version 2024-04-14 14:29:57 +02:00
Zai Shi
9e6e92bbb9 export joy from a different dir 2024-04-14 14:22:48 +02:00
Zai Shi
5c1aaa7350 bumped version 2024-04-14 13:52:32 +02:00
Zai Shi
d1bb1bf45d Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 13:51:31 +02:00
Zai Shi
a200451734 fixed dependency 2024-04-14 13:51:29 +02:00
Stan Wohlwend
f9bfe51f42 Convert global-error to TypeScript 2024-04-14 13:45:03 +02:00
Zai Shi
909afc1edf bumped version 2024-04-14 13:40:00 +02:00
Zai Shi
cf36798562 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 13:36:51 +02:00
Zai Shi
406913ca34 updated docs for user button 2024-04-14 13:36:48 +02:00
Stan Wohlwend
6a7647e998 Remove Sentry sample pages 2024-04-14 13:35:35 +02:00
Stan Wohlwend
6fe5ca45eb Report all errors to Sentry 2024-04-14 13:32:31 +02:00
Zai Shi
793575a119 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 12:53:00 +02:00
Zai Shi
4234a55b80 removed spinner dependency 2024-04-14 12:52:57 +02:00
Stan Wohlwend
52f36f8a09 Sentry for stack-server 2024-04-14 11:54:11 +02:00
Zai Shi
a21b2486b1 added show user info to user button, added user button to server sidebar 2024-04-14 11:51:00 +02:00
Zai Shi
5ae06585f2 added loading indicator, fixed loading buttons 2024-04-14 11:13:21 +02:00
Zai Shi
5dcc831f96 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 10:28:29 +02:00
Zai Shi
846b4514ba fixed ui bugs 2024-04-14 10:28:26 +02:00
Stan Wohlwend
9ac3926735 Add trailing slash to route handler redirect 2024-04-14 10:23:53 +02:00
Stan Wohlwend
97505250f1 Add UserButton to stack-server 2024-04-14 10:00:52 +02:00
Stan Wohlwend
23bdf623b6 Improved signin flow 2024-04-14 09:57:03 +02:00
Zai Shi
ad1f302ed3 Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 09:39:03 +02:00
Zai Shi
0129296424 added maxDuration for signup 2024-04-14 09:39:00 +02:00
Stan Wohlwend
dbc0381a8a Fix email verification errors 2024-04-14 09:21:17 +02:00
Zai Shi
59a9df90da send email async on signup 2024-04-14 09:10:28 +02:00
Stan Wohlwend
e86ee907aa Fix build errors 2024-04-14 08:32:42 +02:00
Stan Wohlwend
3df1def41e Async onClick for button 2024-04-14 08:28:41 +02:00
Zai Shi
677f39f786 fixed small things in documentation 2024-04-14 08:24:20 +02:00
Zai Shi
7fe12a54ed Merge branch 'main' of github.com:stackframe-projects/stack 2024-04-14 08:01:46 +02:00
Zai Shi
ed90a7efcf fixed error inheritance structure 2024-04-14 08:01:44 +02:00
Stan Wohlwend
b4d3612b33 EmailVerificationCodeError is now of type EmailVerificationError 2024-04-14 06:51:33 +02:00
Zai Shi
7c501bee3c updated favicon 2024-04-13 21:04:02 +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
961e6d62fe Update logos 2024-04-12 18:36:59 +02:00
Stan Wohlwend
9b87585e0c stackframe.co -> stack-auth.com 2024-04-12 18:29:02 +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
3613f30af3 Improved onboarding dialog 2024-04-12 10:27:17 +02:00
Stan Wohlwend
77da19ad20 Remove infinite loop in useFromNow 2024-04-12 09:08:56 +02:00
Stan Wohlwend
f444470a2c Remove CORS code that's not needed anymore 2024-04-11 17:59:38 +02:00
Stan Wohlwend
726d41da07 Align page loading indicator 2024-04-11 17:23:51 +02:00
Stan Wohlwend
bab6fd8d64 Disable link prefetch 2024-04-11 16:42:29 +02:00
Stan Wohlwend
80238c5e3e Fix CORS headers 2024-04-11 15:31:29 +02:00
Stan Wohlwend
8eadc24e99 Fix Prisma seed command 2024-04-11 14:32:03 +02:00
Stan Wohlwend
13177d0a95 Remove unnecessary util files 2024-04-05 20:23:28 +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
Zai Shi
66205229f4 bumped version 2024-03-22 16:18:03 +08:00
Zai Shi
4f985be35c
Fixed wrong Sign In page title (#8)
* fixed sign in title bug

* addec changeset
2024-03-22 09:17:26 +01:00
Zai Shi
7ef734981b bumped version 2024-03-22 11:28:25 +08:00
Zai Shi
2eda71b42b
Fixed UI bugs, added card component (#7)
* updated default divider to shadcn

* added card to signin page

* removed card content, card header, and card footer

* removed card from signin

* Update size of text in DividerWithText component

* added changeset
2024-03-22 04:27:43 +01:00
Zai Shi
693b058cc0 removed secondary background color 2024-03-21 20:48:19 +08:00
Zai Shi
29f909fa16 bumped version 2024-03-21 18:43:09 +08:00
Zai Shi
d172a0b084 removed input bg color 2024-03-21 18:41:47 +08:00
Zai Shi
9ca2789e42 fixed provider color bug 2024-03-21 18:31:09 +08:00
Zai Shi
63a90fed35 bumped version 2024-03-21 17:58:29 +08:00
Zai Shi
9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00
Stan Wohlwend
1774908984
Initiate backend rework (#6) 2024-03-18 01:40:40 -07:00
Stan Wohlwend
11c24b2d50 server: Remove PasswordTooWeak from backend design doc 2024-03-14 00:33:44 +01:00
Stan Wohlwend
26095f70e7 Backend design doc 2024-03-14 00:33:44 +01:00
Zai Shi
ed6b50d429 published new npm version 2024-03-13 11:13:16 +08:00
Zai Shi
a93b71fcb5 added migration file 2024-03-13 10:41:33 +08:00
Zai Shi
4135356423 fixed server urls bug 2024-03-13 10:28:01 +08:00
Zai Shi
9d50641a45 added redirect to default to sign-in/up/out 2024-03-13 10:17:48 +08: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
ab48b4f5a3 stack: Revert package.json change 2024-03-08 06:28:02 +01:00
Stan Wohlwend
df2130d36a Head tags 2024-03-08 06:23:02 +01:00
Stan Wohlwend
e1b188fede Minor clarity updates 2024-03-08 05:38:27 +01:00
Zai Shi
f649a4157c changed next.js to the first place in the onboarding dialog 2024-03-08 03:47:43 +08:00
Zai Shi
3e181bcb86 fixed email url bug 2024-03-07 23:03:21 +08:00
Zai Shi
27805d8dfb fixed project creation 2024-03-07 22:34:11 +08:00
Stan Wohlwend
f5108bc53d Fix SSR error if Suspense is missing 2024-03-07 14:32:52 +01:00
Zai Shi
89b688fd89 changed initial project creation params, added suspense to doc 2024-03-07 16:54:18 +08:00
Zai Shi
02c8503f29 fixed url on redirect message card 2024-03-07 16:25:04 +08:00
Zai Shi
1045c9e9b8 Add primary and secondary buttons to RedirectMessageCard 2024-03-07 16:23:50 +08:00
Zai Shi
e76a2cd5fa versuib bump 2024-03-06 23:46:39 +08:00
Zai Shi
9eab06c2ad fixed cross package imports 2024-03-06 23:44:56 +08:00
Zai Shi
491c245bf7 removed wrong cased files 2024-03-06 23:29:17 +08:00
Stan Wohlwend
be831c8b64 Prisma migration 2024-03-06 16:27:11 +01:00
Zai Shi
0520250438 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 23:21:47 +08:00
Zai Shi
2dad09377c fixed case 2024-03-06 23:21:42 +08:00
Stan Wohlwend
d233332300 psql npm command 2024-03-06 16:13:09 +01:00
Zai Shi
e2091fd872 fixed provider config case bug 2024-03-06 23:12:56 +08:00
Zai Shi
7ce58d3efb Bumped version 2024-03-06 22:44:43 +08:00
Zai Shi
e44054921e removed redundant readonly json 2024-03-06 21:40:02 +08: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
Stan Wohlwend
5671a1d7aa No longer export validateEmail 2024-03-06 12:59:21 +01:00
Zai Shi
8bbf4d2688 added more production check messages 2024-03-06 17:06:39 +08:00
Zai Shi
0b558186e1 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 14:15:19 +08:00
Zai Shi
32c16f0704 fixed domain and handler 2024-03-06 14:15:13 +08:00
Stan Wohlwend
0d3b7bf649 Fix null error 2024-03-06 06:23:28 +01:00
Stan Wohlwend
5840bcfa10 Fix users table UX 2024-03-06 06:01:50 +01: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
Zai Shi
9bdd34e1e7 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 10:09:11 +08:00
Zai Shi
9ef268dba9 added disable warning dialog 2024-03-06 10:09:06 +08:00
Stan Wohlwend
939f50f75d AsyncCache cache strategies 2024-03-06 02:55:47 +01:00
Zai Shi
e4fa0bea6d fixed bugs, provider frontend works now 2024-03-06 09:37:19 +08:00
Zai Shi
278a18a1ed added enabled to oauth config 2024-03-06 09:02:05 +08:00
Zai Shi
378a4b3e62 fixed typo 2024-03-06 01:29:56 +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
6091cab7e9 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-05 23:08:21 +08:00
Zai Shi
8ecba202cf made credential enabled work (both frontend and backend) 2024-03-05 23:08:16 +08:00
Stan Wohlwend
ff89714dcb Recreate initial migration 2024-03-05 15:52:07 +01:00
Zai Shi
cd152317de added project config update 2024-03-05 22:40:50 +08:00
Zai Shi
cda3a0066c changed to ms consumer for now 2024-03-05 16:16:43 +08:00
Zai Shi
1a623fd273 fix MS oauth email 2024-03-05 14:53:19 +08:00
Zai Shi
d81a19bb13 fix MS oauth email 2024-03-05 14:36:43 +08:00
Zai Shi
0f9c33ab71 fixing MS oauth error 2024-03-05 13:56:08 +08:00
Zai Shi
e1267890e5 fix MS no email problem 2024-03-05 13:50:52 +08:00
Zai Shi
e1a85e0ffc published stack-sc 2024-03-05 13:26:54 +08:00
Zai Shi
55150eab78 bumped versions 2024-03-05 13:23:08 +08:00
Zai Shi
6f4707afae Add "private" flag to stack-sc 2024-03-05 13:16:26 +08:00
Zai Shi
630a67bd56 updated MS get email method 2024-03-05 13:02:19 +08:00
Zai Shi
a0781f1e44 Merge branch 'main' of https://github.com/stackframe-inc/stack 2024-03-05 12:00:29 +08:00
Stan Wohlwend
f0dcc65b4b stack-shared: Add cacheFunction 2024-03-05 04:29:06 +01:00
Stan Wohlwend
bd65b2211a Fix SSR error when reading cookies in RSC 2024-03-05 03:22:32 +01:00
Zai Shi
9bf28ce4fe Merge branch 'main' of https://github.com/stackframe-inc/stack 2024-03-05 09:40:19 +08:00
Zai Shi
5391ac1868 removed unused version 2024-03-05 09:40:15 +08:00
Stan Wohlwend
686ae3f48a stack-sc: Add next-env.d.ts 2024-03-05 02:39:27 +01:00
Zai Shi
78aedf8ad8 added stack-sc 2024-03-05 09:25:29 +08:00
Stan Wohlwend
d2f4b4fd04 Create cookie-server.ts file 2024-03-05 01:24:45 +01:00
Stan Wohlwend
dbcacfbac1 Temporarily remove dynamic next/headers import 2024-03-05 01:07:05 +01:00
Stan Wohlwend
a9b62b25e6 stack-server: Automatically redirect to /projects 2024-03-04 23:24:16 +01:00
Stan Wohlwend
8fa3d5d00e Loading indicator 2024-03-04 23:03:57 +01:00
Stan Wohlwend
459fbdea5b Source maps 2024-03-04 22:46:07 +01:00
Stan Wohlwend
5689e4125f Don't require NEXT_PUBLIC_STACK_URL 2024-03-04 22:03:19 +01:00
Stan Wohlwend
32d67068ed Remove clean before build 2024-03-04 21:59:41 +01:00
Stan Wohlwend
f7380e041a Add React as dev dependency to stack-shared 2024-03-04 21:30:35 +01:00
Stan Wohlwend
6530d7e1bf Prisma migration 2024-03-04 21:21:14 +01:00
Stan Wohlwend
ac8bfe4845 Better clean script 2024-03-04 19:37:39 +01:00
Stan Wohlwend
3637918924 Fix some typos 2024-03-04 17:51:12 +01:00
Stan Wohlwend
f93858900f Fix "Invalid API key" bug with reload hack 2024-03-04 16:06:53 +01:00
Stan Wohlwend
7236186d92 Update TODOs 2024-03-04 15:51:33 +01:00
Stan Wohlwend
5069fb982e Remove unnecessary styling in DataGrid 2024-03-04 15:42:38 +01:00
Stan Wohlwend
7bc444dcff Use Geist font in DataGrid 2024-03-04 15:40:55 +01:00
Stan Wohlwend
b55344fcc6 Fix sidebar "signout" menu button 2024-03-04 15:33:48 +01:00
Stan Wohlwend
10057d2f10 Revert users-table and api-keys-table 2024-03-04 15:23:05 +01:00
Stan Wohlwend
15f92a6996 Improve EnvKeys component 2024-03-04 15:07:55 +01:00
Stan Wohlwend
8b25826652 Several small fixes on the dashboard 2024-03-04 14:29:29 +01:00
Zai Shi
5d43e48248 published npm pacakges 2024-03-04 21:20:59 +08:00
Zai Shi
32f7c6d9ef removed dashboard empty page 2024-03-04 17:38:49 +08:00
Zai Shi
756026434d added documentation link to dashboard 2024-03-04 17:32:42 +08:00
Zai Shi
7591a5c349 added profile image and display name to oauth info 2024-03-04 16:20:03 +08:00
Zai Shi
901ee43587 added env var rendering component 2024-03-04 15:35:47 +08:00
Zai Shi
37ba263d10 fixed onboarding 2024-03-04 13:57:16 +08:00
Zai Shi
800392ef23 fixed project page layout when cards are not enough 2024-03-04 07:22:41 +08: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
Zai Shi
690df088e5 fixed scroll issue for dashboard, improved code structure 2024-03-03 16:01:27 +01:00
Zai Shi
b550b18143 fixed table overflow 2024-03-03 15:45:01 +01:00
Zai Shi
a33e2833ae improved api key table page layout 2024-03-03 15:41:31 +01:00
Zai Shi
5cc3de24d1 restructured users table 2024-03-03 15:20:21 +01:00
Stan Wohlwend
489ef8bec3 Don't log SSR suspension error 2024-03-03 14:45:58 +01:00
Zai Shi
6329652a32 fixed signin button 2024-03-03 14:32:47 +01:00
Zai Shi
818dd4eee6 better user table display UI 2024-03-03 14:05:32 +01:00
Stan Wohlwend
5d90d162eb Update OAuth brand logos 2024-03-03 12:49:29 +01:00
Stan Wohlwend
c0d5166e8c Remove some commented code 2024-03-03 12:33:05 +01:00
Stan Wohlwend
dd4eaf507b Make OAuthBaseProvider abstract 2024-03-03 12:29:48 +01:00
Zai Shi
3a8b1041ae formatted code 2024-03-03 09:53:47 +01:00
Zai Shi
7f7d4c7cf4 fixed prop warning 2024-03-03 09:39:19 +01:00
Zai Shi
bdf49690a1 fixed navigationItems props warning 2024-03-03 08:26:50 +01:00
Stan Wohlwend
d0b2c8fd1c Redact URLs before logging 2024-03-02 15:56:53 +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
0124dffcec fixed api-key folder location 2024-03-01 11:44:38 +01:00
Zai Shi
f6e974a571 added user count, fixed display bug, renamed db projectUserPasswordResetCode 2024-03-01 11:20:45 +01:00
Zai Shi
b2b1fe2d1e improved dashboard project page and header styling, made description optional 2024-03-01 11:05:26 +01:00
Zai Shi
0c95b9d3e5 added header to projects 2024-03-01 10:55:42 +01:00
Zai Shi
4f94ac50f3 upgraded server @types/react 2024-02-29 11:35:02 +01:00
Zai Shi
5a772ee6c9 changed modal bg color added favicon to demo, fixed demo navbar bg 2024-02-29 10:40:47 +01:00
Zai Shi
0c6c43cddb fixed "use" hook not found problem 2024-02-29 09:51:08 +01:00
Zai Shi
7598511c31 moved baseUrl default to env var 2024-02-28 18:21:13 +01:00
Zai Shi
d37c3a206e fixed password field tab index 2024-02-28 18:01:35 +01:00
Zai Shi
d3a0349600 updated logo 2024-02-28 16:45:27 +01:00
Zai Shi
31fa48397e removed unused 2024-02-28 16:42:36 +01:00
Zai Shi
b7a2497cea Merge branch 'main' of https://github.com/stackframe-inc/stack 2024-02-28 16:32:16 +01:00
Zai Shi
9280955995 added header navigation 2024-02-28 16:31:41 +01:00
Stan Wohlwend
be8bb5b218 Licenses 2024-02-28 15:27:00 +01:00
Stan Wohlwend
ced0be74b3 Move code (initial commit) 2024-02-28 14:35:30 +01:00