Commit Graph

221 Commits

Author SHA1 Message Date
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
543eb0cefb Expose Session in library 2024-06-08 14:55:05 +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
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
14c9a202b8 Improve developer setup 2024-06-03 01:36:17 +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
9423a2dc1a Make fullPage actually fill the whole page
Fixes #52
2024-05-30 15:47:14 +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
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
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
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
a28e3b381a Admin access token expiration handling 2024-05-25 12:09:18 +02:00
Stan Wohlwend
3c3b583efb Better request validation error message 2024-05-23 15:27:42 +02:00
Stan Wohlwend
16c1d8030c Global error uses JS redirect 2024-05-21 11:47:26 +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
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
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
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
Zai Shi
7a21ee2907 change emailVerified column to icon 2024-05-16 23:01:40 +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