Commit Graph

1644 Commits

Author SHA1 Message Date
Stan Wohlwend
4386b7c96b Improve KnownError messages 2024-07-26 16:06:58 -07:00
Stan Wohlwend
72aa86ace1 Rename CredentialSignInForm -> CredentialSignIn in code 2024-07-26 16:06:58 -07:00
Stan Wohlwend
56ab3bc022 Remove deprecated TeamSwitcher, use SelectedTeamSwitcher instead 2024-07-26 16:06:58 -07:00
Stan Wohlwend
1899a25efe Support moduleResolution: "node" 2024-07-26 16:06:58 -07:00
Stan Wohlwend
f812085420 chore: update package versions 2024-07-24 11:44:14 -07:00
Zai Shi
4ec03d0515
Improved documentation, fixed bugs (#147)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-24 11:38:26 -07:00
Stan Wohlwend
ce109e8b0d chore: update package versions 2024-07-22 16:59:51 -07:00
Zai Shi
5d5acda209 fixed email verification bug 2024-07-22 15:12:59 -07:00
Stan Wohlwend
6124343893 chore: update package versions 2024-07-21 19:11:51 -07:00
Stan Wohlwend
edf66ab0d4 Better error alert 2024-07-21 19:09:23 -07:00
Zai Shi
0147213003
Better errors for crud handlers (#143)
* added more errors to team creation

* check teams in client get

* added db checks
2024-07-22 03:45:30 +02:00
Konsti Wohlwend
7cca092c82
Events (#142) 2024-07-21 18:31:42 -07:00
Stan Wohlwend
af1563653a Better params schema validation 2024-07-21 09:53:05 -07:00
Konsti Wohlwend
84960ec9ca
Mock OAuth server (#138) 2024-07-20 17:29:04 -07:00
Stan Wohlwend
8f4b888441 Update handler URLs 2024-07-20 13:13:00 -07:00
Stan Wohlwend
2eb33279db chore: update package versions 2024-07-20 13:07:29 -07:00
Zai Shi
d391e332e6 added enabled oauth providers 2024-07-20 12:58:42 -07:00
Stan Wohlwend
3ec7d865ea chore: update package versions 2024-07-20 11:11:37 -07:00
Zai Shi
54027d58a2
New client (#135)
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-07-19 22:07:44 -07:00
Chenalejandro
a790dfa8de
Allowing passing a nonce to inline-scripts/inline-styles to have better support for csp (#134)
Signed-off-by: alejandro <chen.alejandro97@protonmail.com>
2024-07-16 13:16:29 -07:00
Stan Wohlwend
66d0f704ff Docs updates 2024-07-15 14:38:36 -07:00
Zai Shi
2b26e3cb44
Improve API docs (#133)
* added projects and admin docs

* added docs to team permissions

* renamed url params to snake case

* added team permission definitions to docs

* added more docs

* added more docs

* added more docs to the api
2024-07-15 18:04:52 +02:00
Zai Shi
039cce7a58
Fix backend endpoints (#132)
* More backend endpoint implementations

Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>

* Stuff

Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>

* fixed env docs and crud imports

* Fix type error

* fixed crud handler dependency issue with proxies

* fixed wrong test

* fixed is_paginated, added list project tests

* Error when request queries or body properties are unused

* Fix semicolon

* added create project tests

* Fix some type errors

* Fix lint config

* fixed project no auth bug

* Fix lint errors

* Make no-restricted-syntax an error

* fixed project create no owner bug

* fixed project domain config update

* added more tests

* Sign up tests

* fixed email config update, added more tests

* added more tests, strip uuid in tests

* added oauth config update, added more tests

* E-mail verification tests

* Strip fewer fields

* added updateProject function for testing

* fixed project creation error, added more tests

* Begin OAuth authorize tests

* added get current project info

* added test for project

* removed description from current-project

* added basic teams endpoint

* improved openapi docs, added object types

* improved docs, fixed docs bug

* added email template endpoint

* crudHandlers.xyzList

* imp

* Default values for Prisma handlers

* CRUD queries

* Fix PEitherWrite

* Queries

* added api keys endpoints

* Authorize tests

* Password sign-in endpoint

* Sessions endpoints

* added more tests for api keys

* Update password endpoint

* Hide x-stack-request-id header

* fixed api key endpoints, added more tests

* updated test messages

* Password reset

* implemented team crud

* check-feature-support endpoint

* added teams tests, updated project endpoint folder structure

* added more tests for team

* added team membership handler

* Fix errors

* Type fixes

* Update comment

* strings comment

* Fix users page

* added more tests to team membership

* Rename team-memberships test file

* removed test code

* added user filter

* added permission grant

* added team permission definitions

* added permission definition tests

* added more tests

* fixed permission definition

* Improve types

* More type fixes

* Fix more type errors

* Fix lint errors

* Fix build error

* updated permission code structure

* fixed types

* added recursive permission

* Always log E2E test GH Actions logs

* Internal server error messages are shown in test environments

* Print Docker Compose logs

* fix

* fix more

* Improve

* fixes

* fixes

* fix stuff

* Wait on more stuff

* more fixes gh actions

* Fix pnpm start:xyz

* pin v

* node env test

* log order

* test envvars

* test

* added default permissions

* Credential sign up form now loads correctly

* added default permission to create team and add user

* Safari passwords match sign up

* Add migration file

* Don't error on authorize if blah

* fix tests

* restructured project with createCrudHandler

* Account settings password repeat

* Update README

* fixed user permission listing

* added sorting for permission definitions

* fixed project default permission update

* restructured project urls

* fixed import error

* removed format changes

* removed format changes

* removed format changes

* removed unused route

---------

Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-15 01:55:01 +02:00
Stan Wohlwend
eaa0930617 Disallow unused expressions 2024-07-14 10:41:20 -07:00
Stan Wohlwend
580bd73348 Fix trailing space lint errors 2024-07-14 10:37:34 -07:00
Stan Wohlwend
698964766f Disallow trailing spaces 2024-07-14 10:35:33 -07:00
Stan Wohlwend
d94377d258 Organize imports on save 2024-07-14 10:34:29 -07:00
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
Zai Shi
554b60551d skipped password eye button 2024-07-01 18:19:21 -07:00
Zai Shi
934eb78004
Fixed team selection (#124)
* fixed selected team switcher

* fixed selected team switcher

* updated lock files
2024-07-02 02:39:50 +02: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
436cd95bf2
New docs structures, added docs for OAuth providers and team selections (#116)
* new doc structure

* added domain docs

* added team selection

* added oauth page, improved navigation

* improved team-selection

* improved code styling, updated permissions docs

* improved wording in teams and overview

* added team switcher updates

* updated production docs

* added oauth provider docs

* updated docs navigation
2024-07-01 02:44:32 +02:00
Stan Wohlwend
e0477e1421 Fix OAuth redirect in dev mode 2024-06-26 04:47:48 +02:00
Zai Shi
fd40498116
Added SsrScript to work around suspended script (#99)
* simplified browser script

* improved code structure

* added ssr script
2024-06-25 17:07:22 +02:00
Zai Shi
02568ba36d removed UserNotInTeam error 2024-06-25 15:44:40 +02:00
Zai Shi
e8e6f0f6cc
added loading to sign-in/sign-up/reset-password (#97) 2024-06-25 15:19:29 +02:00
Zai Shi
d185216271 Merge branch 'dev' of github.com:stackframe-projects/stack into dev 2024-06-25 14:20:43 +02:00
Zai Shi
67ec223a94 un-renamed the form components 2024-06-25 14:20: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
d53c787ba3
fixed selected team style (#96) 2024-06-25 13:38:10 +02:00
Zai Shi
04f6b48a1a
fixed hover color (#94) 2024-06-24 21:13:37 +02:00
Zai Shi
5b46bd6f00
Added new theme config and docs (#93)
* updated customization docs

* fixed browser script

* added custom color to browser script

* added color palette to browser script

* fixed color script bug

* updated docs

* removed unused
2024-06-24 20:23:13 +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
Zai Shi
02ed529fff exported magic link signIn 2024-06-17 18:05:38 +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
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
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
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
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
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
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
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
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
Zai Shi
586ee79664 chore: update package versions 2024-05-29 14:40:38 +02:00
Zai Shi
53f7b71c8c
Spotify OAuth (#59)
* fixed style

* improved browser frame styling

* added spotify

* added prisma migration
2024-05-29 14:24:15 +02:00
Zai Shi
f2aec9cc74 shortened example url 2024-05-28 20:21:10 +02:00
Zai Shi
9b77b77c05 Improved create new project screen with browser frame 2024-05-28 20:19:53 +02:00
Zai Shi
74eaedf30e improved style 2024-05-28 19:26:41 +02:00
Zai Shi
aec9af84ca
Make the components styles more align to the original Shadcn UI (#58)
* updated button and account setting styles, changed default theme color

* updated button style

* removed react-icons, updated tabs style

* make setting section title medium
2024-05-28 17:46:23 +02:00
Zai Shi
6f3e67a5fb
Use forms in the login components (#57)
* added react-hook-form and yup, migrated credential sign-in/up

* migrated magic link form to react hook form

* migrated forgot password to react-hook-form

* migrated password reset to react-hook-form
2024-05-28 15:33:33 +02:00
Zai Shi
e98d730108 chore: update package versions 2024-05-28 12:07:22 +02:00
Zai Shi
2cb958a790 updated sidebar style 2024-05-28 12:06:21 +02:00
Konsti Wohlwend
4415012f8c
Email template editor (#54)
* added email editor

* added theme

* improved styling

* removed unused

* added toolbar toggle

* fixed layout problems

* removed sample drawer

* added original license

* added template var matching

* renamed files

* added variable panel

* changed boxes to tailwind DIVs

* added save button

* added custom text-block

* removed avatar, change tab switching logic

* removed html component for now

* renamed folder

* moved download import to setting panel

* added prisma schema for email templates

* added mustache

* added cancel button

* added email templates crud

* removed email template id

* updated email template list page

* removed unused imports

* removed createEmailTemplate handler

* added reset button to email template

* added default templates structure

* added template default value

* moved email template location

* added template information

* added email template routes

* fixed types, added error page

* improved styles

* updated sidebar links

* added save and cancel functions

* wrapped router and link for leave confirmation

* changed disabled => needConfirm

* fixed link

* fixed styles

* fixed link

* fixed bugs

* fixed template editing bugs

* added reset confirmation

* fixed save button

* fixed type error, moved email util file

* moved constant, added prefetch to link

* restructured code

* added variable system

* added email verification default

* removed preview

* added templates for all emails, removed unused

* fixed import error

* migrate part of mui to shadcn

* migrated more to shadcn

* migrated more mui

* updated color picker

* migrate more to shadcn

* added shadcn toggle group

* removed editor provider

* updated slider

* migrated toggle group to shadcn

* moved block icons to lucide

* removed radio group

* fixed color picker

* migrated icons to shadcn

* change popup buttons to shadcn

* fixed create block button display bug

* changed import json to shadcn

* migrated block menu

* removed mui dependency

* render merged preview

* refactor: Replace deleteEmailTemplate with resetEmailTemplate for consistency

* chore: renamed delete email template and removed unused imports

* fixed add block button style

* changed button default style

* added subject

* added subject preview

* moved document-core into the repo

* moved all email components into the repo

* removed context in reader block

* restructured files

* moved components to react-email

* removed unused

* fixed magic link template

* fixed templates

* Mustache -> Handlebars, disabled escape

* fixed editor scrolling

* moved delete button location to inside the box

* fixed template rendering error, updated templates

* updated button text in email templates

* generated migration file

* fixed small bugs

* fixed handle bar import path

* removed all the double ;;

* fixed lint

* fixed inert with type extension

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-05-28 11:49:59 +02:00
Zai Shi
8160521a95 chore: update package versions 2024-05-25 19:11:29 +02:00
Stan Wohlwend
2a6c4e9f34 Allow 127.X.X.X loopback hostnames 2024-05-25 18:37:07 +02:00
Stan Wohlwend
9653aca0d2 No more result strict mode 2024-05-25 18:14:48 +02:00
Stan Wohlwend
f261e18330 Fix yup JSON schema 2024-05-25 18:01:07 +02:00
Stan Wohlwend
8aa2021f92 chore: update package versions 2024-05-25 16:10:26 +02:00
Stan Wohlwend
17a05d4cd1 Add CHANGELOG to published packages 2024-05-25 15:44:43 +02:00
Stan Wohlwend
5ca23d3623 Fix current-user-refresh bug 2024-05-25 15:39:37 +02:00
Stan Wohlwend
58db64b491 Skip credentials: "omit" in Cloudflare Workers 2024-05-25 13:25:01 +02:00
Stan Wohlwend
cf16c2f991 Remove unneccessary log statement 2024-05-25 12:09:57 +02:00
Stan Wohlwend
a28e3b381a Admin access token expiration handling 2024-05-25 12:09:18 +02:00
Stan Wohlwend
93d7fa3f44 Add Next.js 15-related comment 2024-05-24 01:09:26 +02:00
Stan Wohlwend
ed2ac2f5bd chore: update package versions 2024-05-23 18:22:05 +02:00
Stan Wohlwend
7dd16937e3 Cloudflare worker support 2024-05-23 18:21:09 +02:00
Stan Wohlwend
1a2b504d71 chore: update package versions 2024-05-23 18:05:03 +02:00
Stan Wohlwend
be045218cd Use WebCrypto for UUID generation 2024-05-23 18:04:12 +02:00
Stan Wohlwend
0b941799f8 chore: update package versions 2024-05-23 15:39:34 +02:00
Stan Wohlwend
3c3b583efb Better request validation error message 2024-05-23 15:27:42 +02:00
Stan Wohlwend
e4a8e2f841 useUser now takes tokenStore option 2024-05-23 15:24:06 +02:00
Stan Wohlwend
ae5ff58175 OAuth button alignment improvements 2024-05-21 17:31:28 +02:00
Stan Wohlwend
fd5af14faa redirectToX works in server components 2024-05-21 16:35:31 +02:00
Stan Wohlwend
5fb66aa13c Compile-time import scrambling 2024-05-21 15:28:48 +02:00
Stan Wohlwend
52ad3c8ccf chore: update package versions 2024-05-21 12:27:06 +02:00
Stan Wohlwend
eeadf5f7c6 Remove unnecessary import 2024-05-21 12:25:23 +02:00
Stan Wohlwend
237d9d6de5 Replace crypto-browserify with webcrypto 2024-05-21 12:23:51 +02:00
Stan Wohlwend
23fd2519f4 init-stack for TS 2024-05-21 11:53:19 +02:00
Stan Wohlwend
16c1d8030c Global error uses JS redirect 2024-05-21 11:47:26 +02:00
Stan Wohlwend
9c0e56520f chore: update package versions 2024-05-21 11:28:07 +02:00
Stan Wohlwend
b3b576f4d7 Use crypto-browserify 2024-05-21 11:04:17 +02:00
Stan Wohlwend
adcdd8ca2c Global error page redirect 2024-05-21 10:09:07 +02:00
Stan Wohlwend
221341a732 "If you weren't redirected, click here" 2024-05-21 09:56:09 +02:00
Zai Shi
8e0eb8f472
Added selected team to the user object (#42)
* added selected team

* fixed hooks order bug

* fixed bug

* removed test code

* fixed db schema
2024-05-21 08:11:28 +02:00
Stan Wohlwend
982fbb7f61 DevErrorNotifier 2024-05-20 12:55:27 +02:00
Stan Wohlwend
cddf16fa3d Fix build errors 2024-05-20 12:33:37 +02:00
Stan Wohlwend
c1e2b5d741 Fix color mode switcher when switching from system 2024-05-20 12:26:10 +02:00
Stan Wohlwend
6234b28b60 Slightly improved reload management 2024-05-20 12:19:16 +02:00
Zai Shi
af1f0fe649
automatically redirect for sign-in/sign-up when a user already exists (#41) 2024-05-20 11:16:11 +02:00
Zai Shi
c5ec7633e7
Updated docs, added why stack, completed custom sign-in/sign-up examples (#40)
* fixed color theme

* put two setup methods into tabs

* added why stack

* re-ordered files

* updated why stack

* added custom user information section

* updated signup docs

* added example custom pages

* updated sign up docs

* updated custom magic link docs

* added redirect comments

* updated doc links

* fixed lint

* fixed loading indicator types
2024-05-20 09:56:02 +02:00
Stan Wohlwend
36752d2d39 Slightly improve error handling 2024-05-20 01:49:10 +02:00
Zai Shi
040ec072f3
Added dashboard email configuration & user permission edit (#39)
* added form setting card

* removed unused code

* added custom email server page

* added email configuration dialog

* added sender name

* Update email server settings labels for clarity

* added email config update endpoint

* fixed update bugs

* fixed bugs

* fixed type errors

* moved senderName to standard config, check secure setting by port

* fixed duplicate settings

* fixed build errors, added migration

* updated tooltips

* fixed tooltip display bug

* added user permission edit
2024-05-18 19:32:27 +02:00
Stan Wohlwend
be7dc37a02 Fix switch & button loading 2024-05-18 17:51:18 +02:00
Stan Wohlwend
fa1f2a73a9 Improved dashboard descriptions 2024-05-18 13:43:30 +02:00
Stan Wohlwend
04cc355087 More SmartForms 2024-05-18 11:26:54 +02:00
Stan Wohlwend
baa8d70a14 Trusted domains SmartForm 2024-05-18 11:13:46 +02:00
Stan Wohlwend
c4a16ad2a9 SmartForm 2024-05-18 10:51:55 +02:00
Zai Shi
92a4a18632 fixed show configuration link 2024-05-17 16:13:15 +02:00
Zai Shi
8848adf5cb
Added project settings & fixed api key generation bug (#38)
* added project setting page, restructured tooltip

* removed danger zone

* updated page structures, moved environments to project setting

* renamed pages and page-clients

* fixed meta data, added emails page

* fixed api key projectId bug
2024-05-17 16:08:07 +02:00
Stan Wohlwend
393c0a2721 Make whitespace between checkbox and label clickable 2024-05-17 13:43:42 +02:00
Stan Wohlwend
59f831def5 Table hover only if row is clickable 2024-05-17 13:09:29 +02:00
Stan Wohlwend
db54bede80 Better small display support 2024-05-17 12:46:46 +02:00
Stan Wohlwend
04c233adaa Remove transitions 2024-05-17 12:18:13 +02:00
Stan Wohlwend
c1e9c4478b chore: update package versions 2024-05-17 11:59:46 +02:00
Zai Shi
7a21ee2907 change emailVerified column to icon 2024-05-16 23:01:40 +02:00
Stan Wohlwend
ca5dab17fa chore: update package versions 2024-05-16 22:26:39 +02:00
Zai Shi
cee5fbfb2a updated logo 2024-05-16 22:05:44 +02:00
Zai Shi
ef56a417b2 fixed permission edit ui 2024-05-16 17:35:11 +02:00
Zai Shi
a8a7fb3886 removed badge hover 2024-05-16 17:25:50 +02:00
Zai Shi
08d0d0769f capitalized shared keys tag 2024-05-16 17:07:19 +02:00
Zai Shi
034bbf5d9c fixed layout bug 2024-05-16 16:57:59 +02:00
Zai Shi
4176b6588e fixed type errors 2024-05-16 16:46:28 +02:00
Zai Shi
4d3500141a improved styling 2024-05-16 16:37:25 +02:00
Zai Shi
85d167ed3c added default sorting to tables 2024-05-16 16:20:07 +02:00
Zai Shi
372bd3296a fixed ux problems 2024-05-16 16:13:18 +02:00
Zai Shi
82e3e43655 fixed ux problems 2024-05-16 16:09:01 +02:00
Zai Shi
ff8a98f9f0 fixed ux problems 2024-05-16 16:05:35 +02:00
Zai Shi
2e3fcb1dfd fixed ux problems 2024-05-16 15:48:57 +02:00
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