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
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
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
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
be045218cd
Use WebCrypto for UUID generation
2024-05-23 18:04:12 +02:00
Stan Wohlwend
5fb66aa13c
Compile-time import scrambling
2024-05-21 15:28:48 +02:00
Stan Wohlwend
237d9d6de5
Replace crypto-browserify with webcrypto
2024-05-21 12:23:51 +02:00
Stan Wohlwend
b3b576f4d7
Use crypto-browserify
2024-05-21 11:04:17 +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
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
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
Zai Shi
92a4a18632
fixed show configuration link
2024-05-17 16:13:15 +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
Konsti Wohlwend
a0dc6f6782
Prisma route handlers ( #34 )
2024-05-14 15:31:13 +02:00
Stan Wohlwend
25b5e0f5ef
Client version in header
2024-05-14 14:16:12 +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
dec622ed9e
CRUD schemas ( #28 )
2024-05-12 20:29:14 +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
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
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
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
406ad69ebb
Docker compose dependencies ( #20 )
2024-05-04 15:42:41 +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
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
9e0b3de21a
Improve some error messages
2024-04-28 10:16:39 +02:00
Stan Wohlwend
f71f2c74d2
Partial prerendering demo ( #21 )
2024-04-27 14:23:54 +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
5e3004c18b
Improved error handling
2024-04-23 12:02:18 +02:00
Zai Shi
96c26a7918
Magic link ( #13 )
...
* added magic link email, updated email template
* added magic link ui and db schema
* restructured sign in sign up page
* updated example custom button
* added joy tabs
* fixed bugs, added magic link errors, abstracted token creation
* added magic link callback
* fixed token bugs
* added more auth information to user object
* added changeset
2024-04-20 12:33:11 +02:00
Stan Wohlwend
02fe7bee2f
StatusError name
2024-04-15 14:10:23 +02:00
Stan Wohlwend
ff3fb4a542
Remove unnecessary console.log
2024-04-14 21:54:44 +02:00
Zai Shi
3a55713b43
fixed access token parsing
2024-04-14 15:33:33 +02:00
Stan Wohlwend
6fe5ca45eb
Report all errors to Sentry
2024-04-14 13:32:31 +02:00
Stan Wohlwend
3df1def41e
Async onClick for button
2024-04-14 08:28:41 +02:00
Zai Shi
ed90a7efcf
fixed error inheritance structure
2024-04-14 08:01:44 +02:00
Stan Wohlwend
23db888c90
Fix: "The provided app JSON does not match the configuration"
2024-04-13 17:52:33 +02:00
Zai Shi
2995d9662a
UserButton component and account setting page ( #10 )
...
* fixed sign in title bug
* addec changeset
* added popover
* added dropdown, improved user button
* improved user button
* added avatar, adding account setting
* added send verification email
* added plaintext to emails
* fixed select props
* added name update
* added password update
* added email password update
* only password update for accounts logged in credential
* fixed small errors in endpoints
* improved account setting page
* fixed types
* removed props export
* divider -> separator
* fixed accidently renamed dividers
* added changeset
2024-04-13 16:42:05 +02:00
Stan Wohlwend
673a8fae74
Add useful headers
2024-04-12 17:44:41 +02:00
Stan Wohlwend
244ac7c9e3
Decrease page load latency
2024-04-12 17:04:01 +02:00
Stan Wohlwend
0c24ed5f05
Fix auth error
2024-03-25 20:59:16 -07:00
Stan Wohlwend
33823065b6
Rework known errors
2024-03-25 20:59:16 -07:00
Stan Wohlwend
1774908984
Initiate backend rework ( #6 )
2024-03-18 01:40:40 -07:00
Zai Shi
c0151a8e5d
removed redirectUrl in functions, added newUser attribute to signInWithOAuth, added after sign-in/up/out urls
2024-03-12 17:31:28 +08:00
Stan Wohlwend
df2130d36a
Head tags
2024-03-08 06:23:02 +01:00
Stan Wohlwend
f5108bc53d
Fix SSR error if Suspense is missing
2024-03-07 14:32:52 +01:00
Zai Shi
96d61ab216
improved type system
2024-03-06 21:38:49 +08:00
Zai Shi
397a4046ba
Oauth -> OAuth
2024-03-06 21:17:14 +08:00
Zai Shi
8bbf4d2688
added more production check messages
2024-03-06 17:06:39 +08:00
Stan Wohlwend
db5a2c859e
Remove most occurences of useStrictMemo
2024-03-06 05:39:11 +01:00
Zai Shi
3737f68e07
added allow localhost
2024-03-06 10:52:50 +08:00
Stan Wohlwend
939f50f75d
AsyncCache cache strategies
2024-03-06 02:55:47 +01:00
Zai Shi
278a18a1ed
added enabled to oauth config
2024-03-06 09:02:05 +08:00
Zai Shi
a66e32fef7
Merge branch 'main' of github.com:stackframe-projects/stack
2024-03-06 01:27:49 +08:00
Zai Shi
0eced1936b
updated provider frontend
2024-03-06 01:27:45 +08:00
Stan Wohlwend
81760b87cd
stack: Redirect to home on "Invalid API key" hack
2024-03-05 17:36:57 +01:00
Zai Shi
8ecba202cf
made credential enabled work (both frontend and backend)
2024-03-05 23:08:16 +08:00
Zai Shi
cd152317de
added project config update
2024-03-05 22:40:50 +08:00
Stan Wohlwend
f0dcc65b4b
stack-shared: Add cacheFunction
2024-03-05 04:29:06 +01:00
Stan Wohlwend
f93858900f
Fix "Invalid API key" bug with reload hack
2024-03-04 16:06:53 +01:00
Stan Wohlwend
8b25826652
Several small fixes on the dashboard
2024-03-04 14:29:29 +01:00
Zai Shi
85d6585664
Merge branch 'main' of https://github.com/stackframe-inc/stack
2024-03-04 06:24:44 +08:00
Zai Shi
6c8d5653f3
improved types for catch known error
2024-03-03 18:43:35 +01:00
Zai Shi
9bd2e26af0
fixed login token bug
2024-03-03 17:30:20 +01:00
Stan Wohlwend
489ef8bec3
Don't log SSR suspension error
2024-03-03 14:45:58 +01:00
Zai Shi
3a8b1041ae
formatted code
2024-03-03 09:53:47 +01:00
Stan Wohlwend
e334df1a88
Fix use being called conditionally
2024-03-02 15:30:56 +01:00
Zai Shi
53f27b8758
added onboarding apikey dialog (doesn't quite work yet because of the root exit issue)
2024-03-01 13:56:17 +01:00
Zai Shi
f6e974a571
added user count, fixed display bug, renamed db projectUserPasswordResetCode
2024-03-01 11:20:45 +01:00
Stan Wohlwend
ced0be74b3
Move code (initial commit)
2024-02-28 14:35:30 +01:00