Commit Graph

458 Commits

Author SHA1 Message Date
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
Mainak Mukherjee
7a7db9664e
Consistent file system between manual installation & wizard (#50)
Co-authored-by: mainak <heellomeelo@gmail.com>
2024-05-28 10:40:47 +02:00
Mainak Mukherjee
01fbe88664
Fix typo in docs (#55)
Fixes #53

Co-authored-by: mainak <heellomeelo@gmail.com>
2024-05-28 10:39:30 +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
f8de97a19d Fix build errors 2024-05-23 15:32:22 +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
Cole Robertson
b6f18d1992
Fix code example typo in getting-started (#45) 2024-05-23 09:52:50 +02:00
Cole Robertson
d657fddaee
Fix broken dashboard link on setup docs (#46) 2024-05-23 09:51:21 +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
21bc179347 Remove unnecessary log statement 2024-05-18 17:51:45 +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