Commit Graph

83 Commits

Author SHA1 Message Date
Konsti Wohlwend
a0dc6f6782
Prisma route handlers (#34) 2024-05-14 15:31:13 +02:00
Stan Wohlwend
7742a1d81a chore: update package versions 2024-05-14 13:59:10 +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
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
Stan Wohlwend
dd2df94f1f Prepend @stackframe/ to all package names 2024-05-09 16:17:49 +02:00
Stan Wohlwend
4f439bf1eb chore: update package versions 2024-05-09 16:12:41 +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
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
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
5b3f46faf6 Update license files 2024-05-04 15:52:49 +02:00
Stan Wohlwend
406ad69ebb
Docker compose dependencies (#20) 2024-05-04 15:42:41 +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
89617e12ec Remove user button from partial prerendering demo 2024-04-28 11:57:54 +02:00
Stan Wohlwend
02be9268c0 Partial prerendering loading screen 2024-04-28 11:50:17 +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
0fa517a000 Update ESLint for partial prerendering demo 2024-04-27 14:30:04 +02:00
Stan Wohlwend
f71f2c74d2
Partial prerendering demo (#21) 2024-04-27 14:23:54 +02:00
Stan Wohlwend
aff6e3abc2 chore: update package versions 2024-04-26 14:00:52 +02:00
Stan Wohlwend
479c8ff528
GitHub actions linting (#17) 2024-04-24 15:37:30 +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
083cccb511 chore: update package versions 2024-04-24 10:59:50 +02:00
Stan Wohlwend
628674ef90 Bump package versions 2024-04-23 12:11:26 +02:00
Stan Wohlwend
de3054d21f Bump versions 2024-04-22 14:01:55 +02:00
Stan Wohlwend
1a5ab65522 Bump package versions 2024-04-21 15:40:13 +02:00
Stan Wohlwend
3cbc164f52 Fix typo 2024-04-21 15:25:54 +02:00
Stan Wohlwend
deaa2b4172 Refer user to dashboard on demo 2024-04-21 15:16:21 +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
44b14ec413 Add hint for demo 2024-04-18 17:44:28 +02:00
Zai Shi
dea8ad400b bumped version 2024-04-17 09:11:19 +02:00
Stan Wohlwend
1c93fe13ae suppressHydrationWarning for <body /> 2024-04-16 15:32:52 +02:00
Zai Shi
b4677ff272 bumped version 2024-04-15 16:55:56 +02:00
Zai Shi
075ca1d303 fixed demo header scroll and card frame padding 2024-04-15 14:02:09 +02:00
Zai Shi
866c8e6aaf bumped version 2024-04-14 15:34:23 +02:00
Zai Shi
c8d636b831 changed demo and dev resolution to bundler 2024-04-14 14:38:26 +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
909afc1edf bumped version 2024-04-14 13:40:00 +02:00