Commit Graph

79 Commits

Author SHA1 Message Date
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
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
ad50465ba2 chore: update package versions 2024-06-09 17:48:17 +02:00
Stan Wohlwend
07d1169e84 chore: update package versions 2024-06-09 17:25:59 +02:00
Zai Shi
99da7b8677
added posthog (#68) 2024-06-09 09:16:53 +02:00
Stan Wohlwend
e4bf35ecd9 chore: update package versions 2024-06-08 16:06:11 +02:00
Stan Wohlwend
12ad506699 chore: update package versions 2024-06-08 15:28:10 +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
30b9b07dfe chore: update package versions 2024-06-03 14:33:33 +02:00
Stan Wohlwend
a340bf6f8a Remove todo script from stack-server 2024-06-02 21:00:22 +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
Zai Shi
586ee79664 chore: update package versions 2024-05-29 14:40:38 +02:00
Zai Shi
e98d730108 chore: update package versions 2024-05-28 12:07:22 +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
8aa2021f92 chore: update package versions 2024-05-25 16:10:26 +02:00
Stan Wohlwend
ed2ac2f5bd chore: update package versions 2024-05-23 18:22:05 +02:00
Stan Wohlwend
1a2b504d71 chore: update package versions 2024-05-23 18:05:03 +02:00
Stan Wohlwend
0b941799f8 chore: update package versions 2024-05-23 15:39:34 +02:00
Stan Wohlwend
52ad3c8ccf chore: update package versions 2024-05-21 12:27:06 +02:00
Stan Wohlwend
9c0e56520f chore: update package versions 2024-05-21 11:28:07 +02:00
Stan Wohlwend
c1e9c4478b chore: update package versions 2024-05-17 11:59:46 +02:00
Stan Wohlwend
ca5dab17fa chore: update package versions 2024-05-16 22:26:39 +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
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
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
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
Stan Wohlwend
4f439bf1eb chore: update package versions 2024-05-09 16:12:41 +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
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
0eb7822569 chore: update package versions 2024-05-03 12:59:16 +02:00
Stan Wohlwend
1adcaa5cd2 chore: update package versions 2024-04-28 12:02:53 +02:00
Stan Wohlwend
293670c83b chore: update package versions 2024-04-28 10:25:52 +02:00
Stan Wohlwend
aff6e3abc2 chore: update package versions 2024-04-26 14:00:52 +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
1f6ebac9b3 Wizard now suggests creating new API key 2024-04-24 13:58:47 +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